@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #6BCB77;
  --primary-light: #E8F9EE;
  --primary-dark: #4CAF50;
  --accent: #FF6B6B;
  --bg: #F7F9F8;
  --card: #FFFFFF;
  --text: #1A1C1E;
  --text-2: #7A8580;
  --text-3: #B0B8B3;
  --border: #E8ECE9;
  --shadow-sm: 0 4px 16px rgba(107,203,119,0.1);
  --shadow-md: 0 8px 28px rgba(107,203,119,0.16);
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --nav-h: 80px;
  --safe-top: 44px;
  --font: 'Noto Sans SC', -apple-system, sans-serif;
  --grad-primary: linear-gradient(135deg, #7ED957 0%, #4CD964 100%);
  --grad-hero: linear-gradient(165deg, #D4F5DC 0%, #F0FFF4 45%, #FFFFFF 100%);
  --promo-bg: linear-gradient(120deg, #2D4A32, #4A7C59);
  --img-placeholder: linear-gradient(135deg, #E8F9EE, #F5FFF8);
  --nav-dark: #1C2124;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  background: #E8ECE9;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.app {
  max-width: 430px; margin: 0 auto; min-height: 100vh;
  background: var(--bg); position: relative;
}
.app.has-nav { padding-bottom: var(--nav-h); }

.status-bar {
  height: var(--safe-top); padding: 14px 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600; background: inherit;
}
.status-bar.light { color: var(--text); }
.status-bar-icons { font-size: 13px; color: var(--text-2); }

.page-header {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 20px 16px; background: var(--card);
}
.page-header h1 {
  font-size: 17px; font-weight: 700; flex: 1; text-align: center; margin-right: 36px;
}
.back-btn {
  width: 40px; height: 40px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary-dark);
  font-size: 18px; flex-shrink: 0;
}
.back-btn:active { transform: scale(0.95); }

/* 对标风格：深色悬浮底栏 + 绿色中心 FAB */
.bottom-nav {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: 402px;
  height: 60px; background: rgba(28,32,36,0.94);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 12px; z-index: 100;
  border-radius: 30px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255,255,255,0.45); font-size: 10px; font-weight: 600;
  padding: 6px 16px;
}
.nav-item i { font-size: 22px; }
.nav-item.active { color: white; }
.nav-fab {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--nav-dark); font-size: 24px;
  box-shadow: 0 6px 20px rgba(107,203,119,0.55);
  margin-top: -18px;
  border: 3px solid var(--nav-dark);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 50px; font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s; font-family: var(--font);
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--grad-primary); color: var(--nav-dark); font-weight: 700; box-shadow: 0 4px 14px rgba(107,203,119,0.4); }
.btn-dark { background: var(--nav-dark); color: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.btn-outline { background: white; border: 2px solid var(--border); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 50px;
  background: var(--primary-light); color: var(--primary-dark);
}
.tag-pink { background: #FFF0F5; color: #FF6B9D; }
.tag-blue { background: #E8F4FD; color: #4A9EFF; }
.tag-orange { background: #FFF5E6; color: #FF9F43; }

.card {
  background: var(--card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}

.list-group { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; }
.list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.list-item:last-child { border-bottom: none; }
.list-item:active { background: var(--primary-light); }
.list-item .sub { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.list-item .right { color: var(--text-2); font-size: 13px; }
.list-item .arrow { color: var(--text-3); }

.guide-row {
  display: flex; gap: 14px; padding: 16px 20px;
  background: var(--card); margin: 0 16px 12px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.guide-row:active { transform: scale(0.98); }
.guide-photo {
  width: 100px; height: 128px; border-radius: 16px;
  object-fit: cover; flex-shrink: 0;
}
.guide-photo-wrap { position: relative; flex-shrink: 0; }
.guide-photo-badge {
  position: absolute; bottom: 6px; left: 6px; right: 6px;
  background: rgba(28,32,36,0.72); color: white;
  font-size: 10px; text-align: center; padding: 3px 6px;
  border-radius: 50px; font-weight: 600;
}
.guide-info { flex: 1; min-width: 0; }
.guide-name { font-size: 16px; font-weight: 700; }
.guide-city { font-size: 12px; color: var(--text-2); }
.guide-stats { font-size: 12px; color: var(--text-2); margin: 4px 0 8px; }
.guide-stats strong { color: var(--accent); font-weight: 700; }
.guide-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.guide-footer { display: flex; justify-content: space-between; align-items: center; }
.guide-price { font-size: 17px; font-weight: 800; color: var(--text); }
.guide-price small { font-size: 12px; font-weight: 500; color: var(--text-2); }

.circle-post {
  padding: 16px 20px; background: var(--card);
  margin: 0 16px 12px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.circle-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  width: 140px; flex-shrink: 0;
}
.circle-grid img {
  width: 68px; height: 68px; object-fit: cover; border-radius: 12px;
}
.circle-grid img:first-child { grid-row: span 2; width: 140px; height: 140px; border-radius: 16px; }
.circle-body { display: flex; gap: 12px; }
.circle-user { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.circle-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); }
.circle-actions {
  display: flex; align-items: center; gap: 14px; margin-top: 10px;
  font-size: 12px; color: var(--text-2);
}
.btn-meet {
  margin-left: auto; background: var(--nav-dark); color: white;
  padding: 7px 18px; border-radius: 50px; font-size: 12px; font-weight: 700;
}

.section-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 20px 12px;
}
.section-head h2 { font-size: 18px; font-weight: 800; }
.section-head h2 em { color: var(--accent); font-style: normal; }
.section-head a { font-size: 13px; color: var(--primary-dark); font-weight: 600; }

.chip {
  padding: 9px 16px; border-radius: 50px; font-size: 13px;
  border: 2px solid var(--border); background: var(--card);
  color: var(--text-2); cursor: pointer; display: inline-block; margin: 4px;
  font-weight: 500;
}
.chip.active, .chip.selected {
  background: var(--primary-light); border-color: var(--primary);
  color: var(--primary-dark); font-weight: 600;
}

.settings-group { margin: 12px 0; }
.settings-group-title { padding: 8px 20px; font-size: 13px; color: var(--text-2); font-weight: 600; }

.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--nav-dark); color: white;
  padding: 14px 28px; border-radius: 50px; font-size: 14px; font-weight: 600;
  z-index: 9999; box-shadow: var(--shadow-md);
}
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { scrollbar-width: none; }
