/* C端页面样式 · 轻奢康养 */

/* ===== TabBar ===== */
.cc-tabbar {
  height: 62px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-divider);
  display: flex;
  flex-shrink: 0;
  padding-bottom: 4px;
  z-index: 10;
}
.cc-tabbar__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border: none; background: transparent; cursor: pointer;
  color: var(--c-text-3); font-family: inherit; position: relative; padding: 6px 0;
}
.cc-tabbar__item.is-active { color: var(--c-primary); }
.cc-tabbar__icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.cc-tabbar__icon svg { width: 22px; height: 22px; }
.cc-tabbar__label { font-size: 10px; font-weight: 550; letter-spacing: 0.04em; }
.cc-tabbar__item.is-active .cc-tabbar__label { font-weight: 650; }
.cc-tabbar__dot {
  position: absolute; top: 4px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-gold);
}

/* ===== Home ===== */
.home-hero {
  padding: 20px 18px 8px;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(196, 165, 116, 0.16), transparent 50%),
    radial-gradient(ellipse 70% 60% at 0% 20%, rgba(123, 196, 168, 0.14), transparent 45%),
    linear-gradient(180deg, #FAF7F2 0%, var(--c-bg) 100%);
}
.home-hero__brand {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.home-hero__name {
  font-size: 26px; font-weight: 700; color: var(--c-primary);
  letter-spacing: 0.06em;
}
.home-hero__slogan {
  margin-top: 4px; font-size: 13px; color: var(--c-text-2); letter-spacing: 0.04em;
}
.home-hero__loc {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--c-border);
  font-size: 12px; color: var(--c-text-2);
  backdrop-filter: blur(6px);
}
.home-quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin: 18px 0 6px;
}
.home-quick__item {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 14px 6px 12px;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 226, 217, 0.7);
  transition: transform 0.15s;
}
.home-quick__item:active { transform: scale(0.96); }
.home-quick__ico {
  width: 36px; height: 36px; margin: 0 auto 8px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(47,93,74,0.1), rgba(123,196,168,0.16));
  color: var(--c-primary);
}
.home-quick__ico svg { width: 20px; height: 20px; }
.home-quick__txt { font-size: 12px; font-weight: 560; color: var(--c-text); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 8px 0 12px;
}
.section-head__title {
  font-size: 17px; font-weight: 650; color: var(--c-text);
  letter-spacing: -0.01em;
}
.section-head__more {
  font-size: 12px; color: var(--c-gold-deep); cursor: pointer; font-weight: 550;
}

.store-card__cover {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  flex-shrink: 0; background: var(--c-divider);
}
.store-card__name { font-size: 15px; font-weight: 620; color: var(--c-text); line-height: 1.35; }
.store-card__meta { margin-top: 4px; font-size: 12px; color: var(--c-text-2); }
.store-card__tags { margin-top: 8px; }
.store-card__tenant { margin-top: 8px; font-size: 11px; color: var(--c-text-3); font-family: var(--font-num); }

.media-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.media-rail::-webkit-scrollbar { display: none; }
.media-tile { min-width: 128px; cursor: pointer; }
.media-tile__img {
  width: 128px; height: 168px; border-radius: var(--r-lg); object-fit: cover;
  display: block; box-shadow: var(--shadow-soft);
}
.media-tile__live {
  width: 128px; height: 168px; border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(47,93,74,0.92), rgba(196,165,116,0.75)),
    #2F5D4A;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; gap: 8px;
  box-shadow: var(--shadow);
}
.media-tile__live-badge {
  padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.2); font-size: 11px; font-weight: 650;
  letter-spacing: 0.08em; border: 1px solid rgba(255,255,255,0.3);
}
.media-tile__title {
  margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== Video — glassmorphism ===== */
.video-page {
  position: relative; height: 100%; background: #1A1814; color: #fff;
}
.video-page__cover {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.88;
}
.video-page__top {
  position: absolute; top: 36px; left: 14px; right: 14px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
}
.video-page__top-btn {
  padding: 7px 12px; border-radius: var(--r-full);
  background: rgba(0,0,0,0.28); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: #fff; cursor: pointer;
}
.video-actions {
  position: absolute; right: 12px; bottom: 210px; z-index: 3;
  display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.video-action {
  text-align: center; cursor: pointer;
}
.video-action__ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
  color: #fff;
}
.video-action__ico svg { width: 20px; height: 20px; }
.video-action__count { font-size: 11px; opacity: 0.9; }

.video-glass {
  position: absolute; left: 12px; right: 12px; bottom: 72px; z-index: 3;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-xl);
  padding: 14px 14px 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.video-glass__author { font-weight: 650; font-size: 14px; }
.video-glass__title { margin-top: 6px; font-size: 13px; line-height: 1.45; opacity: 0.95; }
.video-glass__store { margin-top: 6px; font-size: 12px; opacity: 0.75; }
.video-glass__product {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.16);
  border-radius: var(--r-md);
  padding: 10px 12px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
}
.video-glass__price {
  font-family: var(--font-num); font-weight: 700; color: #E8D5B0; font-size: 15px;
}
.video-glass__cta { margin-top: 10px; display: flex; gap: 8px; }

/* ===== Live ===== */
.live-page {
  position: relative; height: 100%; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(196,165,116,0.25), transparent 55%),
    linear-gradient(180deg, #1E3D32 0%, #152820 40%, #0F1410 100%);
}
.live-page__bg-deco {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background:
    url('https://picsum.photos/seed/wellness-live/750/1334') center/cover no-repeat;
  mix-blend-mode: soft-light;
}
.live-page__header {
  position: relative; z-index: 2;
  padding: 40px 16px 12px;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(196, 165, 116, 0.9);
  color: #2C2A26; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.live-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #2F5D4A; animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.live-page__title {
  margin-top: 12px; font-size: 20px; font-weight: 700; letter-spacing: 0.02em;
}
.live-page__sub { margin-top: 6px; font-size: 12px; opacity: 0.7; }
.live-page__close {
  position: absolute; top: 40px; right: 14px; z-index: 3;
  padding: 7px 12px; border-radius: var(--r-full);
  background: rgba(0,0,0,0.28); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px; color: #fff; cursor: pointer;
}

.live-products {
  position: absolute; left: 0; right: 0; bottom: 78px; z-index: 2;
  display: flex; gap: 10px; overflow-x: auto;
  padding: 0 14px;
}
.live-products::-webkit-scrollbar { display: none; }
.live-product {
  min-width: 200px;
  display: flex; gap: 10px; align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 10px;
  color: var(--c-text);
  cursor: pointer;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.5);
}
.live-product__img {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
  background: var(--c-divider);
}
.live-product__name { font-size: 13px; font-weight: 620; line-height: 1.3; }
.live-product__price {
  margin-top: 4px; font-family: var(--font-num);
  font-size: 15px; font-weight: 700; color: var(--c-primary);
}
.live-footer {
  position: absolute; left: 14px; right: 14px; bottom: 18px; z-index: 2;
  display: flex; gap: 10px;
}

/* ===== Mine — luxury health ===== */
.mine-hero {
  padding: 28px 18px 24px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(196,165,116,0.22), transparent 50%),
    linear-gradient(160deg, #FAF7F2 0%, #F0EBE3 100%);
  border-bottom: 1px solid var(--c-divider);
}
.mine-hero__avatar {
  width: 60px; height: 60px; border-radius: 20px;
  background: linear-gradient(145deg, #2F5D4A, #7BC4A8);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(47, 93, 74, 0.2);
}
.mine-hero__name { font-size: 20px; font-weight: 680; color: var(--c-text); }
.mine-hero__phone { margin-top: 4px; font-size: 13px; color: var(--c-text-2); font-family: var(--font-num); }
.mine-hero__tag {
  margin-top: 10px;
  display: inline-flex; padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(196, 165, 116, 0.18); color: var(--c-gold-deep);
  font-size: 11px; font-weight: 560;
}

.mine-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: var(--space-md);
}
.mine-grid__item {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 16px 6px 14px;
  text-align: center; cursor: pointer;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 226, 217, 0.7);
}
.mine-grid__ico {
  width: 36px; height: 36px; margin: 0 auto 8px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-bg-warm); color: var(--c-primary);
}
.mine-grid__ico svg { width: 20px; height: 20px; }
.mine-grid__txt { font-size: 12px; font-weight: 560; color: var(--c-text); }

.mine-menu__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-divider);
  cursor: pointer; font-size: 14px; color: var(--c-text);
}
.mine-menu__item:last-child { border-bottom: none; }
.mine-menu__left { display: flex; align-items: center; gap: 12px; }
.mine-menu__ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(47,93,74,0.08), rgba(196,165,116,0.12));
  color: var(--c-primary);
}
.mine-menu__ico svg { width: 16px; height: 16px; }
.mine-menu__arrow { color: var(--c-text-3); font-size: 14px; }

/* ===== Report / Health ===== */
.report-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px;
}
.report-cell {
  background: var(--c-bg-warm);
  border-radius: var(--r-md);
  padding: 14px;
}
.report-cell__label { font-size: 11px; color: var(--c-text-3); margin-bottom: 6px; }
.report-cell__val { font-size: 18px; font-weight: 680; color: var(--c-primary); font-family: var(--font-num); }
.report-summary {
  margin-top: 14px; padding: 14px;
  background: linear-gradient(135deg, rgba(123,196,168,0.12), rgba(196,165,116,0.1));
  border-radius: var(--r-md);
  border-left: 3px solid var(--c-mint);
  font-size: 13px; color: var(--c-text-2); line-height: 1.6;
}

.svc-price {
  font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--c-primary);
}
