/* =========================
   拼拼回flyshare — Global UI
   Modern mobile-first styles
   ========================= */

/* Optional font stack without external import */
:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface-2: #f5f5f5;

  --text: #142033;
  --text-muted: #6b778c;
  --text-soft: #8d96a8;

  --primary: #2f6bff;
  --primary-dark: #1f53d8;
  --secondary: #ff8a1f;    /* orange */
  --secondary-dark: #e26f00;

  --success: #20b26b;
  --warning: #f5a623;
  --danger: #ea4d4d;
  --info: #3aa0ff;

  --border: rgba(20, 32, 51, 0.06);
  --shadow-sm: 0 1px 3px rgba(20, 32, 51, 0.05);
  --shadow-md: 0 3px 8px rgba(20, 32, 51, 0.08);
  --shadow-lg: 0 8px 18px rgba(20, 32, 51, 0.10);

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  --tap: 48px;
  --transition-fast: 140ms ease;
  --transition: 220ms ease;
  --transition-slow: 320ms ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 107, 255, 0.10), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 138, 31, 0.10), transparent 34%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: rgba(47, 107, 255, 0.18);
  color: var(--text);
}

/* =========================
   App shell
   ========================= */

.app {
  width: 100%;
  max-width: min(100vw, 480px);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page {
  width: 100%;
  max-width: min(100vw, 480px);
  margin: 0 auto;
  min-height: 100vh;
  background: #f7f7f7;
  box-shadow: 0 0 0 1px rgba(20, 32, 51, 0.03);
  position: relative;
  overflow: hidden;
}

.page-content {
  padding: calc(var(--space-5) + env(safe-area-inset-top)) var(--space-4)
           calc(96px + env(safe-area-inset-bottom)) var(--space-4);
}

.section {
  margin-bottom: var(--space-6);
}

.container {
  width: 100%;
  padding: 0 var(--space-4);
}

.stack {
  display: grid;
  gap: var(--space-4);
}

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

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.center {
  display: grid;
  place-items: center;
}

/* =========================
   Typography
   ========================= */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: 28px; font-weight: 800; }
h2 { font-size: 22px; font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; }

p {
  margin: 0;
  color: var(--text-muted);
}

.text-muted { color: var(--text-muted); }
.text-soft { color: var(--text-soft); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

.title {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.title .subtitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================
   Header
   ========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.header-inner {
  width: 100%;
  box-sizing: border-box;
  padding: calc(var(--space-3) + env(safe-area-inset-top)) var(--space-4) var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.header-title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-sm);
}

.header-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  box-shadow: var(--shadow-sm);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.icon-btn:active {
  transform: scale(0.94);
  box-shadow: none;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* =========================
   Cards
   ========================= */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  border-color: rgba(47, 107, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.card:active {
  transform: translateY(1px) scale(0.995);
}

.card-header,
.card-body,
.card-footer {
  padding: var(--space-4);
}

.card-header {
  padding-bottom: var(--space-2);
}

.card-footer {
  padding-top: 0;
}

.card-title {
  font-size: 16px;
  font-weight: 750;
}

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

.card-soft {
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.05), rgba(255, 138, 31, 0.04));
}

.card-gradient {
  background:
    linear-gradient(135deg, rgba(47, 107, 255, 0.98), rgba(255, 138, 31, 0.96));
  color: #fff;
  border: none;
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.22);
}

.card-gradient p,
.card-gradient .card-meta {
  color: rgba(255,255,255,0.88);
}

/* =========================
   Buttons
   ========================= */

.btn {
  min-height: var(--tap);
  padding: 0 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  user-select: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    opacity var(--transition-fast);
  position: relative;
  overflow: hidden;
}

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

.btn:focus-visible,
.icon-btn:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: 3px solid rgba(47, 107, 255, 0.22);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), #ffb24e);
  box-shadow: 0 12px 24px rgba(255, 138, 31, 0.20);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.btn-light {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  color: var(--primary);
  background: transparent;
  border: 1.5px solid rgba(47, 107, 255, 0.22);
}

.btn-ghost {
  color: var(--text);
  background: rgba(20, 32, 51, 0.04);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 22px;
  font-size: 16px;
}

.btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Press ripple feel */
.btn::after,
.touch-ripple::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  transform: translate(-50%, -50%);
  transition: width var(--transition), height var(--transition), opacity var(--transition);
  opacity: 0;
  pointer-events: none;
}

.btn:active::after,
.touch-ripple:active::after {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* =========================
   Inputs / forms
   ========================= */

.form {
  display: grid;
  gap: var(--space-4);
}

.field {
  display: grid;
  gap: 8px;
}

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

.helper {
  font-size: 12px;
  color: var(--text-soft);
}

.input,
.textarea,
.select {
  width: 100%;
  min-height: var(--tap);
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 51, 0.10);
  background: #fff;
  color: var(--text);
  padding: 0 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    background var(--transition-fast);
}

.textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: #a4afbf;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(47, 107, 255, 0.38);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.10);
  background: #fff;
}

.input-group {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 51, 0.10);
  background: #fff;
}

.input-group .input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.input-prefix,
.input-suffix {
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  background: rgba(20, 32, 51, 0.03);
  font-weight: 600;
  white-space: nowrap;
}

textarea:disabled,
input:disabled,
select:disabled,
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================
   Tags / badges
   ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge-primary {
  color: var(--primary-dark);
  background: rgba(47, 107, 255, 0.10);
}

.badge-secondary {
  color: #b85d00;
  background: rgba(255, 138, 31, 0.14);
}

.badge-success {
  color: #0f7d47;
  background: rgba(32, 178, 107, 0.12);
}

.badge-danger {
  color: #c93131;
  background: rgba(234, 77, 77, 0.12);
}

.chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(20, 32, 51, 0.05);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.chip.active {
  background: rgba(47, 107, 255, 0.12);
  color: var(--primary-dark);
}

.chip:active {
  transform: scale(0.97);
}

/* =========================
   Lists
   ========================= */

.list {
  display: grid;
  gap: 10px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 64px;
  padding: 0 var(--space-4);
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.list-item:active {
  transform: scale(0.99);
}

.list-item-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.15), rgba(255, 138, 31, 0.18));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary-dark);
  flex: 0 0 auto;
}

.list-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  flex: 0 0 auto;
}

/* Chat list: empty state & unread dot */
.chat-list-empty {
  text-align: center;
  padding: 36px 20px 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.chat-list-empty p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.chat-list-empty .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.list-item.chat-item {
  position: relative;
}

.avatar.chat-avatar-owner {
  background: linear-gradient(135deg, var(--secondary), #ffb24e) !important;
  color: #fff !important;
  font-weight: 800;
}

.list-item.chat-item.chat-item-unread::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

.modal-header-chat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header-chat .modal-group-name {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-leave-btn {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
  padding: 6px 4px;
  white-space: nowrap;
}

.modal-close-btn {
  flex: 0 0 auto;
  padding: 6px;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close-btn:active {
  opacity: 0.7;
}

/* =========================
   Navigation bar (mobile)
   ========================= */

.navbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 10px var(--space-4) calc(10px + env(safe-area-inset-bottom));
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(20, 32, 51, 0.06);
}

.adm-tabbar-shell {
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: var(--adm-color-background, rgba(255, 255, 255, 0.98));
}

.adm-tabbar-inner {
  background: rgba(247, 248, 250, 0.85);
  border-radius: 14px;
  padding: 4px;
}

.adm-tabbar-item {
  border-radius: 12px;
}

.navbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.nav-item {
  min-height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  gap: 4px;
  color: var(--text-soft);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.nav-item svg {
  width: 22px;
  height: 22px;
}

.adm-tabbar-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.entry-splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
}

.entry-splash-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.entry-splash-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(47, 107, 255, 0.18);
  border-top-color: var(--primary);
  animation: flyshare-spin 0.85s linear infinite;
}

.entry-splash-text {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 1px;
}

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

.auth-page {
  padding-top: calc(var(--space-8) + env(safe-area-inset-top));
}

.auth-brand {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.auth-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.auth-form-card {
  max-width: 380px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.auth-gender-checks {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.auth-check-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.auth-check-option:hover {
  background: #fff;
  border-color: #999;
}

.auth-check-option input[type="checkbox"] {
  display: none;
}

.auth-check-option:has(input:checked) {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.auth-check-option:has(input:checked)::before {
  content: '✓';
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 12px;
  margin-right: 4px;
}

#genderMale:checked + span {
  color: #fff;
}

#genderFemale:checked + span {
  color: #fff;
}

.adm-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 6px 4px;
}

.adm-stepper-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.nav-item span {
  font-size: 11px;
  font-weight: 700;
}

.nav-item.active {
  color: var(--primary-dark);
  background: rgba(47, 107, 255, 0.12);
}

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

/* =========================
   Hero / banner
   ========================= */

.hero {
  border-radius: 16px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4f82ff);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  filter: blur(2px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  left: -30px;
  bottom: -50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero-title-row .hero-title {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.hero-route-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-title {
  font-size: 26px;
  font-weight: 850;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  max-width: 28ch;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* =========================
   Search / filters
   ========================= */

.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 18px;
  padding: 0 14px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: var(--shadow-sm);
}

.searchbar input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
}

.searchbar .search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-soft);
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

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

/* =========================
   Tabs
   ========================= */

.tabs {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: rgba(20, 32, 51, 0.05);
  border-radius: 18px;
}

.tab {
  flex: 1;
  min-height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.tab.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.tab:active {
  transform: scale(0.98);
}

/* =========================
   Modal / sheet
   ========================= */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 16, 28, 0.48);
  backdrop-filter: blur(4px);
  display: none;
}

.overlay.show {
  display: block;
  animation: fadeIn var(--transition) both;
}

.modal,
.sheet {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 480px;
  z-index: 90;
  background: var(--surface);
  border-radius: 28px 28px 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sheet {
  bottom: 0;
  padding-bottom: env(safe-area-inset-bottom);
  animation: slideUp var(--transition-slow) both;
}

.modal {
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  animation: popIn var(--transition-slow) both;
}

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.15);
  margin: 12px auto 0;
}

.sheet-header,
.modal-header {
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.sheet-body,
.modal-body {
  padding: 18px;
}

.sheet-footer,
.modal-footer {
  padding: 0 18px 18px;
  display: flex;
  gap: 10px;
}

/* =========================
   Progress / stats
   ========================= */

.progress {
  width: 100%;
  height: 10px;
  background: rgba(20, 32, 51, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width var(--transition-slow);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 22px;
  font-weight: 850;
  margin-top: 6px;
}

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

/* =========================
   Toast / alerts
   ========================= */

.alert {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
}

.alert-info {
  color: #0f5d8f;
  background: rgba(58, 160, 255, 0.10);
  border-color: rgba(58, 160, 255, 0.18);
}

.alert-success {
  color: #0f7d47;
  background: rgba(32, 178, 107, 0.12);
  border-color: rgba(32, 178, 107, 0.18);
}

.alert-warning {
  color: #9c6500;
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.18);
}

.alert-danger {
  color: #a93030;
  background: rgba(234, 77, 77, 0.12);
  border-color: rgba(234, 77, 77, 0.18);
}

/* =========================
   Divider / utilities
   ========================= */

.divider {
  width: 100%;
  height: 1px;
  background: rgba(20, 32, 51, 0.08);
}

.hr {
  width: 100%;
  height: 1px;
  background: rgba(20, 32, 51, 0.08);
}

.hidden {
  display: none !important;
}

/* 个人中心头像（本地上传） */
.user-avatar-trigger {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.15), rgba(255, 138, 31, 0.18));
  border: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.user-avatar-trigger:active {
  transform: scale(0.97);
}

.card-gradient .user-avatar-trigger {
  width: 50px;
  height: 50px;
  min-width: 50px;
  font-size: 14px;
}

.user-avatar-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* 「我的」页头像仅展示，不可点击上传 */
.user-avatar-readonly {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.15), rgba(255, 138, 31, 0.18));
  flex-shrink: 0;
}

.card-gradient .user-avatar-readonly {
  width: 50px;
  height: 50px;
  min-width: 50px;
  font-size: 14px;
}

.user-avatar-readonly img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-pill { border-radius: var(--radius-pill); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }

/* =========================
   Animations
   ========================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100%); }
  to { transform: translateX(-50%) translateY(0); }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.92; }
}

.pulse {
  animation: pulseSoft 1.8s ease-in-out infinite;
}

/* =========================
   Mobile tuning
   ========================= */

@media (max-width: 360px) {
  h1 { font-size: 24px; }
  .hero-title { font-size: 22px; }
  .page-content { padding-left: 12px; padding-right: 12px; }
  .header-inner { padding-left: 12px; padding-right: 12px; }
  .navbar { padding-left: 12px; padding-right: 12px; }
}

/* Portrait only: phones and tablets adapt by width */
@media (orientation: portrait) and (max-width: 480px) {
  .publish-grid,
  .car-model-options,
  .publish-filters {
    grid-template-columns: 1fr;
  }

  .ride-card-actions.double {
    grid-template-columns: 1fr;
  }
}

@media (orientation: portrait) and (min-width: 481px) {
  body {
    display: flex;
    justify-content: center;
  }

  .app,
  .page,
  .navbar {
    max-width: min(92vw, 760px);
  }

  .page {
    min-height: 100vh;
    border-left: 1px solid rgba(20, 32, 51, 0.04);
    border-right: 1px solid rgba(20, 32, 51, 0.04);
  }

  .page-content {
    padding-left: clamp(18px, 3vw, 26px);
    padding-right: clamp(18px, 3vw, 26px);
  }

  .publish-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .publish-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .btn {
    min-height: clamp(46px, 5.6vw, 52px);
    font-size: clamp(14px, 2vw, 16px);
  }
}

/* Landscape: keep compact vertical layout, no wide adaptation */
@media (orientation: landscape) {
  body {
    display: flex;
    justify-content: center;
  }

  .app,
  .page,
  .navbar {
    max-width: 420px;
  }

  .page-content {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Reduce motion */
@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;
  }
}

/* 已发布行程 — 大卡列表 */
.ride-card-list {
  display: grid;
  gap: 14px;
}

.ride-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.ride-card:hover {
  border-color: rgba(47, 107, 255, 0.14);
}

.ride-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.ride-card-route {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.ride-route-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.ride-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.ride-card-body {
  display: grid;
  gap: 10px;
}

.ride-card-body-cols {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ride-card-col {
  display: grid;
  gap: 10px;
}

.ride-card-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.ride-card-row i.fa {
  margin-top: 3px;
  color: var(--primary);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.ride-card-row strong {
  color: var(--text);
  font-weight: 700;
}

.ride-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 32, 51, 0.08);
}

.ride-card-actions.double {
  grid-template-columns: 1fr 1fr;
}

.ride-card-actions .btn {
  min-height: 46px;
  font-size: 14px;
}

.btn-join-wide {
  min-height: 48px;
  font-size: 15px;
}

/* 发布行程模块（首页） */
.publish-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: left;
  padding: 16px;
  border-radius: var(--radius-md);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.publish-toggle-btn:hover {
  opacity: 0.9;
}

.publish-toggle-btn:active {
  transform: scale(0.98);
}

.publish-toggle-btn .card-title {
  margin: 0;
}

.publish-toggle-meta {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

#publishToggleIcon {
  font-size: 18px;
}

.publish-form-wrap {
  margin-top: 10px;
  padding: 0 16px 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.adm-publish-card {
  background: linear-gradient(145deg, #2f6bff, #5f84f8 55%, #ff8a1f);
}

.adm-publish-body {
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.adm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}

.adm-form-grid .input,
.adm-form-grid .select {
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  background: rgba(255, 255, 255, 0.95);
}

.adm-input-mobile {
  -webkit-appearance: none;
  appearance: none;
}

.publish-grid .adm-btn {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.publish-grid .adm-btn:active {
  background: rgba(255, 255, 255, 0.25);
}

.publish-grid .adm-stepper {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.publish-grid .adm-stepper-btn {
  color: #fff;
}

.publish-grid .adm-stepper-value {
  color: #fff;
}

.publish-grid .adm-select-trigger {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: #fff;
}

.publish-grid .adm-select-trigger-value {
  color: #fff;
}

.publish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}

.publish-grid .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.publish-grid .field .label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.publish-grid .field > div {
  width: 100%;
  min-height: 44px;
}

.publish-grid .field > div :deep(*) {
  box-sizing: border-box;
}

.publish-grid .field input[type="hidden"] {
  display: none;
}

.publish-span-2 {
  grid-column: 1 / -1;
}

.car-model-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.car-model-item {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
}

.car-model-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.car-model-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.car-model-item i {
  opacity: 0.7;
}

.car-model-item:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
}

.car-model-item:has(input:checked) i {
  opacity: 1;
}

/* 已发布行程筛选 */
.publish-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.04) 0%, rgba(255, 138, 31, 0.04) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(47, 107, 255, 0.08);
}

.publish-filters .input,
.publish-filters .select {
  min-height: 44px;
  font-size: 13px;
  border-radius: 12px;
  border: 1px solid rgba(47, 107, 255, 0.15);
  background: #fff;
  box-shadow: 0 2px 6px rgba(47, 107, 255, 0.06);
}

.publish-filters .input:focus,
.publish-filters .select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

#dateFilterMount {
  min-height: 44px;
}

#dateFilterMount .adm-btn {
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid rgba(47, 107, 255, 0.15);
  background: #fff;
  box-shadow: 0 2px 6px rgba(47, 107, 255, 0.06);
}

#applyFilterBtn {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.ride-star-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #c9c9c9;
  font-size: 16px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}

.ride-star-btn.is-favorite {
  color: #f5a623;
  border-color: rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.12);
}

/* 互评拼友 */
.peer-rating-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.peer-rating-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn-rating-like {
  flex: 1;
  min-width: 120px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--success), #2d9f6a);
  box-shadow: 0 8px 18px rgba(32, 178, 107, 0.25);
}

.btn-rating-dislike {
  flex: 1;
  min-width: 120px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: var(--danger);
  background: rgba(234, 77, 77, 0.08);
  border: 1.5px solid rgba(234, 77, 77, 0.35);
}

.btn-rating-like:active,
.btn-rating-dislike:active {
  transform: scale(0.97);
}

.btn-rating-like.is-active {
  box-shadow: 0 0 0 3px rgba(32, 178, 107, 0.35);
}

.btn-rating-dislike.is-active {
  background: rgba(234, 77, 77, 0.18);
  box-shadow: 0 0 0 3px rgba(234, 77, 77, 0.2);
}

/* =============================================================
   行程页 — Itinerary Page  ✦ Premium Redesign
   高级感 · 年轻化 · 玻璃拟态 + 丰富色调
   ============================================================= */

/* ---------- 新增设计 token ---------- */
:root {
  /* 行程专属配色 — 紫霞渐变系 */
  --trip-start:   #6c63ff;   /* 深紫 */
  --trip-mid:     #a855f7;   /* 玫瑰紫 */
  --trip-end:     #ec4899;   /* 粉红 */
  --trip-accent:  #f97316;   /* 活力橙点缀 */
  --trip-sky:     #38bdf8;   /* 天空蓝 */

  /* 玻璃拟态 */
  --glass-bg:      rgba(255, 255, 255, 0.55);
  --glass-border:  rgba(255, 255, 255, 0.70);
  --glass-shadow:  0 8px 32px rgba(108, 99, 255, 0.13);

  /* 时间轴 */
  --timeline-line: rgba(168, 85, 247, 0.22);
  --timeline-dot-size: 38px;

  /* 卡片层次 */
  --trip-card-radius: 20px;
  --trip-card-shadow: 0 4px 24px rgba(108, 99, 255, 0.10), 0 1px 3px rgba(0,0,0,0.04);
  --trip-card-hover:  0 12px 36px rgba(108, 99, 255, 0.18), 0 2px 8px rgba(0,0,0,0.06);
}

/* =============================================================
   行程页背景 — 柔和彩虹晕染
   ============================================================= */

.page-itinerary {
  background:
    radial-gradient(ellipse 80% 40% at 10% 0%,   rgba(108,  99, 255, 0.12), transparent),
    radial-gradient(ellipse 60% 30% at 90% 5%,   rgba(236,  72, 153, 0.09), transparent),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba( 56, 189, 248, 0.08), transparent),
    linear-gradient(180deg, #faf9ff 0%, #f5f3ff 40%, #fdf4ff 100%);
  min-height: 100vh;
}

/* =============================================================
   行程 Hero Banner — 沉浸式大图头部
   ============================================================= */

.trip-hero {
  position: relative;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  padding: 28px 20px 36px;
  margin-bottom: -16px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(145deg, var(--trip-start) 0%, var(--trip-mid) 52%, var(--trip-end) 100%);
  box-shadow: 0 20px 48px rgba(108, 99, 255, 0.28);
}

/* 背景装饰泡泡 */
.trip-hero::before,
.trip-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.trip-hero::before {
  width: 220px; height: 220px;
  right: -70px; top: -70px;
  background: rgba(255, 255, 255, 0.12);
}
.trip-hero::after {
  width: 140px; height: 140px;
  left: -40px; bottom: -60px;
  background: rgba(255, 255, 255, 0.08);
}

.trip-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.trip-hero-title {
  font-size: 28px;
  font-weight: 850;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.trip-hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  z-index: 1;
}

/* 行程概览 pill 条 */
.trip-hero-pills {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.trip-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.trip-pill svg {
  width: 13px;
  height: 13px;
  opacity: 0.9;
}

/* =============================================================
   行程概览卡片 — 玻璃拟态风格
   ============================================================= */

.trip-summary-card {
  position: relative;
  z-index: 2;
  margin: 0 var(--space-4);
  border-radius: var(--trip-card-radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
  padding: 18px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trip-summary-item {
  text-align: center;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.trip-summary-icon {
  font-size: 22px;
  margin-bottom: 5px;
  display: block;
}

.trip-summary-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--trip-start);
  line-height: 1;
}

.trip-summary-lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

/* =============================================================
   行程日期选择器 — 横向滚动胶囊
   ============================================================= */

.trip-date-strip {
  display: flex;
  gap: 8px;
  padding: 12px var(--space-4) 14px;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.03) 0%, rgba(255, 138, 31, 0.03) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}
.trip-date-strip::-webkit-scrollbar { display: none; }

.trip-date-tab {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 10px 12px;
  border-radius: 14px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(47, 107, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(47, 107, 255, 0.05);
}

.trip-date-tab .day-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.trip-date-tab .day-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trip-date-tab .day-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  margin: 5px auto 0;
  transition: background var(--transition-fast);
}

.trip-date-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.35);
  transform: translateY(-1px);
}

.trip-date-tab.active .day-num,
.trip-date-tab.active .day-label {
  color: #fff;
}

.trip-date-tab.active .day-dot {
  background: rgba(255, 255, 255, 0.75);
}

.trip-date-tab:not(.active):hover {
  border-color: rgba(108, 99, 255, 0.22);
  transform: translateY(-1px);
}

.trip-date-tab {
  border: 0;
  font: inherit;
}

/* =============================================================
   时间轴 — 核心设计升级
   ============================================================= */

.timeline {
  position: relative;
  padding: 4px var(--space-4) var(--space-6);
}

/* 竖线 */
.timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--space-4) + var(--timeline-dot-size) / 2);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--trip-start) 8%,
    var(--trip-mid) 50%,
    var(--trip-end) 92%,
    transparent 100%
  );
  opacity: 0.28;
  border-radius: 999px;
}

/* ---------- 时间轴条目 ---------- */

.timeline-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* 时间点图标 */
.timeline-dot {
  flex: 0 0 var(--timeline-dot-size);
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  font-size: 17px;
  box-shadow: 0 3px 12px rgba(108, 99, 255, 0.20);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* 每种类型配独立色 */
.timeline-dot.type-flight {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}
.timeline-dot.type-hotel {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}
.timeline-dot.type-food {
  background: linear-gradient(135deg, #f97316, #facc15);
}
.timeline-dot.type-spot {
  background: linear-gradient(135deg, #10b981, #38bdf8);
}
.timeline-dot.type-transport {
  background: linear-gradient(135deg, #6c63ff, #38bdf8);
}
.timeline-dot.type-free {
  background: linear-gradient(135deg, #f9a8d4, #c084fc);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.10);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.30);
}

/* 时间列 */
.timeline-time {
  position: absolute;
  left: calc(var(--timeline-dot-size) + 14px);
  top: -18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--trip-start);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 内容卡片 */
.timeline-card {
  flex: 1;
  min-width: 0;
  border-radius: var(--trip-card-radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--trip-card-shadow);
  padding: 14px 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--trip-card-hover);
}

.timeline-card:active {
  transform: translateY(0) scale(0.99);
}

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

.timeline-card-title {
  font-size: 15px;
  font-weight: 750;
  color: var(--text);
  line-height: 1.3;
}

.timeline-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 行程类型徽章 */
.trip-type-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.trip-type-badge.type-flight    { background: rgba( 56, 189, 248, 0.14); color: #0369a1; }
.trip-type-badge.type-hotel     { background: rgba(168,  85, 247, 0.13); color: #7e22ce; }
.trip-type-badge.type-food      { background: rgba(249, 115,  22, 0.13); color: #c2410c; }
.trip-type-badge.type-spot      { background: rgba( 16, 185, 129, 0.13); color: #065f46; }
.trip-type-badge.type-transport { background: rgba(108,  99, 255, 0.12); color: #4338ca; }
.trip-type-badge.type-free      { background: rgba(249, 168, 212, 0.20); color: #9d174d; }

/* 卡片信息行 */
.timeline-card-info {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.timeline-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.timeline-info-chip svg {
  width: 13px;
  height: 13px;
  color: var(--trip-mid);
  flex: 0 0 auto;
}

/* 费用 tag */
.timeline-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--trip-start);
  background: rgba(108, 99, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 卡片底部操作区 */
.timeline-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(108, 99, 255, 0.08);
}

.timeline-action-btn {
  flex: 1;
  min-height: 34px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(108, 99, 255, 0.15);
  background: rgba(108, 99, 255, 0.06);
  color: var(--trip-start);
}

.timeline-action-btn:hover {
  background: rgba(108, 99, 255, 0.14);
  border-color: rgba(108, 99, 255, 0.28);
}

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

.timeline-action-btn.primary {
  background: linear-gradient(135deg, var(--trip-start), var(--trip-mid));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.25);
}

/* 时间轴"过渡节点" — 城市转换 */
.timeline-transfer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(108, 99, 255, 0.06),
    rgba(236, 72, 153, 0.06));
  border: 1px dashed rgba(108, 99, 255, 0.22);
  margin-bottom: 20px;
  margin-left: calc(var(--timeline-dot-size) + 14px);
  font-size: 13px;
  font-weight: 700;
  color: var(--trip-mid);
}

.timeline-transfer svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* =============================================================
   费用汇总卡 — 渐变光晕风格
   ============================================================= */

.trip-budget-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  padding: 22px 20px;
  background: linear-gradient(145deg,
    var(--trip-start) 0%,
    var(--trip-mid) 55%,
    var(--trip-end) 100%);
  box-shadow: 0 16px 40px rgba(108, 99, 255, 0.28);
  color: #fff;
}

.trip-budget-card::before {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -50px; top: -60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.trip-budget-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.trip-budget-amount {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin: 6px 0 4px;
  position: relative;
  z-index: 1;
}

.trip-budget-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

/* 费用进度条 */
.trip-budget-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.trip-budget-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  position: relative;
  transition: width var(--transition-slow);
}

.trip-budget-bar-fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(108,99,255,0.30);
}

/* 费用分类网格 */
.trip-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.trip-cost-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
}

.trip-cost-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}

.trip-cost-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.trip-cost-amount {
  font-size: 17px;
  font-weight: 850;
  color: var(--text);
  margin-top: 4px;
}

/* =============================================================
   参与者 / 同行人卡片
   ============================================================= */

.trip-members {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px var(--space-4);
  scrollbar-width: none;
}
.trip-members::-webkit-scrollbar { display: none; }

.trip-member-card {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.trip-member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.14);
}

.trip-member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.trip-member-avatar::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--trip-start), var(--trip-end));
  z-index: -1;
}

/* 在线状态 */
.trip-member-avatar .status-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid #fff;
}

.trip-member-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 72px;
}

.trip-member-cost {
  font-size: 11px;
  color: var(--trip-mid);
  font-weight: 700;
}

/* "添加成员"按钮 */
.trip-member-add {
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 18px;
  background: transparent;
  border: 1.5px dashed rgba(108, 99, 255, 0.25);
  cursor: pointer;
  color: var(--trip-start);
  transition: all var(--transition-fast);
}

.trip-member-add:hover {
  background: rgba(108, 99, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.40);
}

.trip-member-add .add-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(108, 99, 255, 0.08);
  font-size: 22px;
  font-weight: 300;
  color: var(--trip-start);
}

/* =============================================================
   地图预览卡 — 迷你地图占位
   ============================================================= */

.trip-map-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  height: 160px;
  background:
    radial-gradient(circle at 35% 40%, rgba(56, 189, 248, 0.30), transparent 55%),
    radial-gradient(circle at 75% 60%, rgba(108,  99, 255, 0.20), transparent 50%),
    linear-gradient(160deg, #e0f2fe 0%, #ede9fe 60%, #fce7f3 100%);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: var(--trip-card-shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.trip-map-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--trip-card-hover);
}

/* 地图点位 */
.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
}

.map-pin-bubble {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--trip-start), var(--trip-mid));
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.30);
}

.map-pin-tail {
  width: 2px;
  height: 8px;
  background: var(--trip-mid);
  border-radius: 999px;
}

.map-pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--trip-mid);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.20);
}

.trip-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(15, 10, 40, 0.35), transparent 60%);
}

.trip-map-label {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =============================================================
   行程空状态
   ============================================================= */

.trip-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  text-align: center;
}

.trip-empty-icon {
  font-size: 52px;
  margin-bottom: 14px;
  animation: pulseSoft 2.5s ease-in-out infinite;
}

.trip-empty-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.trip-empty-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 26ch;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* =============================================================
   快速添加 FAB 按钮 (行程页专属)
   ============================================================= */

.trip-fab {
  position: fixed;
  right: 20px;
  bottom: calc(90px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--trip-start), var(--trip-mid));
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.38);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  z-index: 25;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
}

.trip-fab:hover {
  transform: scale(1.07);
  box-shadow: 0 14px 36px rgba(108, 99, 255, 0.46);
}

.trip-fab:active {
  transform: scale(0.96);
  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.30);
}

/* =============================================================
   图片画廊网格 (行程回忆)
   ============================================================= */

.trip-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.trip-gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(108, 99, 255, 0.10),
    rgba(236,  72, 153, 0.10));
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.trip-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 16px;
}

.trip-gallery-item:hover {
  transform: scale(0.98);
}

.trip-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================
   section 标题 — 行程页风格
   ============================================================= */

.trip-section-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trip-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(108, 99, 255, 0.18),
    transparent);
  border-radius: 999px;
}

/* =============================================================
   响应式微调
   ============================================================= */

@media (max-width: 360px) {
  .trip-hero-title { font-size: 23px; }
  .trip-summary-card { margin: 0 12px; }
  .trip-date-strip, .trip-members { padding-left: 12px; padding-right: 12px; }
  .timeline { padding-left: 12px; padding-right: 12px; }
  .trip-budget-amount { font-size: 30px; }
}
#quick-phrases-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display: none;
}
#quick-phrases-overlay.show {
  display: block;
}

#quick-phrases-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  z-index: 100000;
  /* ОЧЕНЬ МАЛЕНЬКАЯ ВЫСОТА */
  max-height: 380px !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#quick-phrases-modal .modal-header {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#quick-phrases-modal .modal-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

/* Прокрутка только внутри — окно не растягивается */
.quick-phrases-wrapper {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 280px !important;
  padding: 4px 0;
}

.quick-phrase-item {
  padding: 9px 14px;
  border-bottom: 1px solid #f6f6f6;
  font-size: 14px;
  cursor: pointer;
}
.quick-phrase-item:hover {
  background: #f8f8f8;
}

/* =============================================================
   关于我们页面样式
   ============================================================= */

.about-hero {
  text-align: center;
  padding: 30px 20px 20px;
}

.about-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.15);
}

.about-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
}

.about-tagline {
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
}

.about-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.about-list-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  flex-shrink: 0;
}

.about-list-item strong {
  color: var(--text);
}

.about-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}

.about-card p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card strong {
  color: var(--text);
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
}

.about-card li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.about-card-warning {
  border-left: 4px solid var(--warning);
  background: rgba(245, 166, 35, 0.05);
}

.about-card-warning h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--warning);
  margin: 0 0 10px;
}

.about-card-success {
  border-left: 4px solid var(--success);
  background: rgba(32, 178, 107, 0.05);
}

.about-card-success h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--success);
  margin: 0 0 10px;
}

.about-card-success p {
  font-size: 15px;
  font-weight: 600;
  color: var(--success);
}

.about-principles {
  display: grid;
  gap: 14px;
}

.about-principle {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.about-principle-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
}

.about-principle h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

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

.about-team {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-team-member {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.about-member-avatar {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
}

.about-member-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.about-member-role {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.about-member-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.about-contact {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.08) 0%, rgba(255, 138, 31, 0.08) 100%);
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(47, 107, 255, 0.1);
}

.text-center {
  text-align: center;
}

/* =============================================================
   自定义下拉选择器样式
   ============================================================= */

.dropdown-picker-wrap {
  position: relative;
  width: 100%;
}

.dropdown-picker-btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-picker-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.dropdown-picker-btn:active {
  transform: scale(0.98);
}

.dropdown-picker-label {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-picker-btn i {
  font-size: 14px;
  opacity: 0.8;
  margin-left: 8px;
}

.dropdown-picker-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 100;
  overflow: hidden;
  animation: dropdownSlideDown 0.2s ease;
}

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

.dropdown-picker-title {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.dropdown-picker-options {
  max-height: 220px;
  overflow-y: auto;
}

.dropdown-picker-option {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.dropdown-picker-option:hover {
  background: var(--bg-secondary);
}

.dropdown-picker-option.active {
  background: rgba(47, 107, 255, 0.1);
  color: var(--primary);
  font-weight: 600;
}

/* 日期选择菜单 */
.dropdown-date-menu {
  max-height: 280px;
}

.dropdown-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px;
}

.dropdown-date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dropdown-date-item:hover {
  background: var(--bg-secondary);
}

.dropdown-date-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
}

.dropdown-date-day {
  font-size: 14px;
  font-weight: 600;
}

.dropdown-date-weekday {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

/* 时间选择菜单 */
.dropdown-time-menu {
  max-height: 280px;
}

.dropdown-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
}

.dropdown-time-item {
  padding: 10px 6px;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dropdown-time-item:hover {
  background: var(--bg-secondary);
}

.dropdown-time-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
  font-weight: 600;
}

/* =============================================================
   自定义步进器样式
   ============================================================= */

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

.stepper-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.stepper-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stepper-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
}

.stepper-btn:active:not(:disabled) {
  transform: scale(0.9);
}

.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper-value {
  min-width: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* =============================================================
   滚轮式选择器样式
   ============================================================= */

.wheel-picker-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  z-index: 200;
  overflow: hidden;
  animation: dropdownSlideDown 0.25s ease;
  max-height: 450px;
}

.wheel-time-menu {
  max-height: 400px;
}

.wheel-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
}

.wheel-picker-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wheel-picker-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.wheel-picker-arrow:active {
  transform: scale(0.9);
}

.wheel-picker-date-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.wheel-picker-year {
  font-size: 20px;
  font-weight: 700;
}

.wheel-picker-month {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 2px;
}

.wheel-picker-time-display {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  min-width: 70px;
  text-align: center;
}

.wheel-picker-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-secondary);
}

.wheel-picker-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 60px;
}

.wheel-picker-column:hover {
  background: rgba(47, 107, 255, 0.08);
}

.wheel-picker-column.active {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.15) 0%, rgba(74, 125, 255, 0.15) 100%);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}

.wheel-picker-column-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.wheel-picker-column-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.wheel-picker-separator {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0 2px;
}

.wheel-picker-columns-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: var(--bg-secondary);
}

.wheel-picker-column-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 100px;
}

.wheel-picker-column-vertical:hover {
  background: rgba(47, 107, 255, 0.08);
}

.wheel-picker-column-vertical.active {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.15) 0%, rgba(74, 125, 255, 0.15) 100%);
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}

.wheel-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.wheel-picker-weekdays div {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.wheel-picker-calendar {
  padding: 12px 16px;
}

.wheel-picker-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}

.wheel-picker-week:last-child {
  margin-bottom: 0;
}

.wheel-picker-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wheel-picker-day.empty {
  cursor: default;
}

.wheel-picker-day:hover:not(.empty) {
  background: var(--bg-secondary);
}

.wheel-picker-day.today {
  background: rgba(47, 107, 255, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.wheel-picker-day.selected {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
  font-weight: 700;
}

.wheel-picker-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 16px;
  max-height: 180px;
  overflow-y: auto;
}

.wheel-picker-time-item {
  padding: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wheel-picker-time-item:hover {
  background: var(--bg-secondary);
}

.wheel-picker-time-item.selected {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
  font-weight: 600;
}

.wheel-picker-footer {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  box-sizing: border-box;
  width: 100%;
}

.wheel-picker-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* =============================================================
   滚轮式时间选择器样式
   ============================================================= */

.wheel-time-scroll-menu {
  max-height: 320px;
}

.wheel-scroll-container {
  display: flex;
  justify-content: center;
  padding: 16px 0;
  gap: 40px;
}

.wheel-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 200px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.wheel-column::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 32px;
  transform: translateY(-50%);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  pointer-events: none;
}

.wheel-item {
  padding: 8px 0;
  text-align: center;
  color: #999;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wheel-item.active {
  color: #333;
  font-weight: 700;
}

.wheel-item.hidden {
  display: none;
}

.wheel-item:hover {
  color: #2f6bff;
}

.wheel-footer-green {
  background: #fff;
  border-top: 1px solid #eee;
}

.wheel-btn-cancel {
  background: #f5f5f5;
  color: #666;
}

.wheel-btn-cancel:hover {
  background: #eee;
}

.wheel-btn-confirm {
  background: linear-gradient(135deg, #52c41a 0%, #39ad00 100%);
  color: #fff;
}

.wheel-btn-confirm:hover {
  opacity: 0.9;
}

.wheel-picker-cancel {
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.wheel-picker-cancel:hover {
  background: var(--bg-secondary);
}

.wheel-picker-confirm {
  background: linear-gradient(135deg, var(--primary) 0%, #4a7dff 100%);
  color: #fff;
}

.wheel-picker-confirm:hover {
  opacity: 0.9;
}

.wheel-picker-confirm:active {
  transform: scale(0.98);
}

.publish-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.publish-filters .dropdown-picker-wrap {
  flex: 1;
  min-width: 140px;
}

.publish-filters .dropdown-picker-btn-light {
  background: #fff;
  border: 1px solid rgba(20, 32, 51, 0.15);
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.publish-filters .dropdown-picker-btn-light:hover {
  border-color: rgba(47, 107, 255, 0.4);
  background: #fff;
}

.publish-filters .dropdown-picker-btn-light i {
  color: #666;
}

.publish-filters .filter-select-wrap {
  flex: 1;
  min-width: 120px;
}

.publish-filters .filter-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(20, 32, 51, 0.15);
  border-radius: 12px;
  background: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.publish-filters .filter-select:focus {
  outline: none;
  border-color: rgba(47, 107, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.1);
}