* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ffc300;
  --primary-dark: #e6b000;
  --primary-light: #fff9e6;
  --primary-text: #222;
  --accent: #ff4d4f;
  --orange: #ff6633;
  --gold: #ff9800;
  --text: #333;
  --text-secondary: #666;
  --text-light: #999;
  --bg: #fff;
  --surface: #f7f7f7;
  --white: #fff;
  --border: #eee;
  --price: #ff4d4f;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: 70px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.location-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
  transition: color var(--transition);
}

.location-btn:active {
  color: var(--primary);
}

.icon-arrow {
  color: var(--text-secondary);
}

.header-intro {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* Banner */
.banner {
  margin: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe066 0%, #ffc300 50%, #ffb300 100%);
  overflow: hidden;
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.45) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.2) 0%, transparent 40%);
  pointer-events: none;
}

.banner-content {
  position: relative;
  padding: 20px 16px 16px;
  text-align: center;
}

.banner-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-text);
  line-height: 1.4;
  margin-bottom: 14px;
}

.banner-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: 8px 6px 8px 14px;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wechat-icon {
  flex-shrink: 0;
}

.banner-search-text {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.banner-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.banner-tag {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.65);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 12px;
}

/* Platform Stats */
.platform-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px 12px 0;
  padding: 14px 8px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.stat-item strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.stat-item span {
  font-size: 11px;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: #eee;
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  padding: 14px 8px;
  background: var(--white);
  margin: 12px 12px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text);
}

.feature-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #996600;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Promo Banner */
.promo-banner {
  padding: 14px 12px 0;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
  color: var(--white);
  gap: 12px;
  box-shadow: 0 4px 16px rgba(255, 77, 79, 0.25);
}

.promo-label {
  display: inline-block;
  font-size: 10px;
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.promo-text h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.promo-text p {
  font-size: 11px;
  opacity: 0.85;
}

.promo-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--primary-text);
  border: none;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.promo-btn:active {
  opacity: 0.9;
}

/* Stores Section */
.stores {
  padding: 12px 12px 4px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 2px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-divider {
  color: #e0e0e0;
  font-weight: 300;
  font-size: 14px;
}

.section-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
}

.store-list {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Store loading */
.store-loading {
  padding: 0;
}

.store-loading .store-skeleton-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.store-loading-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0 18px;
}

.store-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: store-spin 0.8s linear infinite;
}

.store-loading-text {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.loading-dots::after {
  content: '';
  animation: loading-dots 1.4s steps(4, end) infinite;
}

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

@keyframes loading-dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

.store-skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-skeleton-card {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
}

.store-skeleton-card:last-child {
  border-bottom: none;
}

.skeleton-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}

.skeleton-action-block {
  width: 48px;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f5f5f5 25%, #ececec 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.skeleton-line.w35 { width: 35%; }
.skeleton-line.w30 { width: 30%; }
.skeleton-line.w55 { width: 55%; }
.skeleton-line.w60 { width: 60%; }

.skeleton-thumb,
.skeleton-line {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
}

.skeleton-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.skeleton-line {
  height: 14px;
}

.skeleton-line.w90 { width: 90%; }
.skeleton-line.w85 { width: 85%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w45 { width: 45%; }
.skeleton-line.w40 { width: 40%; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.store-card-enter {
  animation: store-card-in 0.45s ease both;
}

.store-card-enter:nth-child(2) { animation-delay: 0.08s; }
.store-card-enter:nth-child(3) { animation-delay: 0.16s; }
.store-card-enter:nth-child(4) { animation-delay: 0.24s; }

@keyframes store-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.store-card {
  display: flex;
  align-items: stretch;
  padding: 14px 12px;
  gap: 10px;
  cursor: pointer;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.store-card:last-child {
  border-bottom: none;
}

.store-card:active {
  background: var(--surface);
}

.card-left {
  flex-shrink: 0;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.store-thumb {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface);
  display: block;
}

.status-badge {
  font-size: 10px;
  color: #996600;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.card-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 10px;
  border-right: 1px solid #f0f0f0;
}

.card-name {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.stat-dot {
  color: #ddd;
  font-size: 10px;
}

.rating {
  color: var(--accent);
  font-weight: 600;
}

.served {
  color: var(--text-secondary);
}

.card-hours {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.4;
}

.distance-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-top: auto;
  padding: 3px 20px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  background: var(--surface);
}

.distance-badge strong {
  color: var(--text);
  font-weight: 600;
  margin-left: 2px;
}

.card-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 2px;
}

.card-action-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 48px;
}

.action-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}

.action-line + .action-line {
  border-top: 1px solid #f5f5f5;
}

.action-line:active {
  color: var(--accent);
  background: var(--primary-light);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.empty-state-icon {
  font-size: 36px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  display: flex;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0));
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 0;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.2;
  transition: color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-item svg {
  fill: none;
  stroke: currentColor;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active svg {
  fill: currentColor;
  stroke: none;
}

.nav-item[data-tab="rank"].active svg,
.nav-item[data-tab="service"].active svg {
  fill: none;
  stroke: currentColor;
}

/* Sub Pages */
.sub-header {
  padding: 16px 16px 12px;
  background: var(--white);
}

.sub-header h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sub-header p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Rank Page */
.rank-hero {
  background: linear-gradient(135deg, #ffc300 0%, #ffb300 50%, #e6a800 100%);
  padding: 24px 20px 48px;
  position: relative;
  overflow: hidden;
}

.rank-hero::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

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

.rank-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.rank-hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.rank-hero h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rank-hero p {
  font-size: 13px;
  opacity: 0.85;
}

.rank-tabs {
  display: flex;
  gap: 8px;
  margin: -28px 12px 0;
  padding: 6px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.rank-tab {
  flex: 1;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.rank-tab.active {
  background: var(--primary);
  color: var(--primary-text);
  font-weight: 600;
}

.rank-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 24px 16px 8px;
}

.podium-item {
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}

.podium-item:active {
  transform: scale(0.96);
}

.podium-item.empty {
  visibility: hidden;
}

.podium-item.gold {
  order: 2;
  padding-bottom: 0;
}

.podium-item.silver {
  order: 1;
  padding-bottom: 16px;
}

.podium-item.bronze {
  order: 3;
  padding-bottom: 24px;
}

.podium-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.gold .podium-rank {
  background: linear-gradient(135deg, #ffd700, #ffb800);
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
}

.silver .podium-rank {
  background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.bronze .podium-rank {
  background: linear-gradient(135deg, #cd9b5a, #b8860b);
}

.podium-avatar-wrap {
  padding: 3px;
  border-radius: 14px;
  margin-bottom: 8px;
}

.gold .podium-avatar-wrap {
  background: linear-gradient(135deg, #ffd700, #ffb800);
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.35);
}

.silver .podium-avatar-wrap {
  background: linear-gradient(135deg, #d0d0d0, #a8a8a8);
}

.bronze .podium-avatar-wrap {
  background: linear-gradient(135deg, #cd9b5a, #b8860b);
}

.podium-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  border: 2px solid var(--white);
}

.gold .podium-avatar {
  width: 76px;
  height: 76px;
}

.podium-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.podium-score {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 2px;
}

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

.rank-section {
  padding: 8px 12px 0;
}

.rank-section-title {
  font-size: 15px;
  font-weight: 700;
  padding: 8px 4px 12px;
  color: var(--text);
}

.rank-list {
  padding-bottom: 8px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.rank-item:active {
  transform: scale(0.985);
  box-shadow: var(--shadow-md);
}

.rank-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.rank-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

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

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

.rank-name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-tag {
  flex-shrink: 0;
  font-size: 10px;
  color: #996600;
  background: var(--primary-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.rank-arrow {
  flex-shrink: 0;
  color: var(--text-light);
}

.rank-empty {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Join Page */
.service-hero {
  background: linear-gradient(135deg, #ffc300 0%, #ffb300 50%, #e6a800 100%);
  padding: 28px 20px 56px;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -20px;
  right: 10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.service-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.service-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fff7f;
  box-shadow: 0 0 6px rgba(127, 255, 127, 0.8);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.service-hero h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-hero p {
  font-size: 13px;
  opacity: 0.85;
}

.service-panel {
  margin: -36px 12px 0;
  position: relative;
  z-index: 2;
}

.service-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.service-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  background: var(--white);
  border: none;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition);
}

.service-action-item:active {
  transform: scale(0.96);
}

.service-action-item.primary {
  background: linear-gradient(180deg, #fff 0%, var(--primary-light) 100%);
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.action-icon.chat {
  background: var(--primary);
  color: var(--primary-text);
}

.action-icon.phone {
  background: linear-gradient(135deg, #5b9cf5, #3b7ddd);
}

.action-icon.wechat {
  background: linear-gradient(135deg, #07c160, #06ad56);
}

.service-action-item strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.service-action-item span:last-child {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.service-contact-btn {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 12px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: var(--primary-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 195, 0, 0.35);
  transition: transform var(--transition), background var(--transition);
}

.service-contact-btn:active {
  transform: scale(0.96);
  background: var(--primary-dark);
}

.service-section {
  padding: 20px 12px 0;
}

.service-section-title {
  font-size: 15px;
  font-weight: 700;
  padding: 0 4px 12px;
}

.faq-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform var(--transition);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

.service-hours-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hours-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.hours-info {
  flex: 1;
}

.hours-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.hours-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.hours-tag {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--accent);
  background: #fff1f0;
  padding: 4px 10px;
  border-radius: 10px;
}

/* Join Page */
.join-header {
  padding: 16px 16px 8px;
  background: var(--white);
  text-align: center;
}

.join-header h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.join-header p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.join-banner {
  margin: 8px 12px 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffc300 0%, #ffb300 100%);
}

.join-banner-inner {
  padding: 20px 16px;
  color: var(--primary-text);
}

.join-banner-inner h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.join-banner-inner p {
  font-size: 12px;
  opacity: 0.9;
}

.join-benefits {
  margin: 12px 12px 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 4px 14px;
  box-shadow: var(--shadow);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

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

.benefit-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  color: #996600;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item strong {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.join-steps {
  margin: 12px 12px 0;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.join-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--primary-light);
  margin: 0 8px;
  margin-bottom: 22px;
}

.join-form-section {
  margin: 12px 12px 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.join-form .form-group {
  margin-bottom: 14px;
}

.join-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.join-form label em {
  color: #ff4d4f;
  font-style: normal;
}

.join-form input[type="text"],
.join-form input[type="tel"],
.join-form select,
.join-form textarea {
  width: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.join-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.join-form textarea {
  resize: none;
  line-height: 1.5;
}

.upload-box {
  position: relative;
  border: 1px dashed #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 12px;
}

.upload-placeholder svg {
  color: var(--primary);
}

.upload-box.has-file .upload-placeholder span {
  color: var(--primary);
}

.form-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  cursor: pointer;
}

.form-agree input {
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-agree a {
  color: var(--primary);
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 23px;
  background: var(--primary);
  color: var(--primary-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 14px rgba(255, 195, 0, 0.35);
}

.submit-btn:active {
  opacity: 0.92;
  transform: scale(0.98);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
