:root {
  --g: #22a75e;
  --g2: #1a8f4f;
  --g-soft: #e9f8ef;
  --mint: #d9f3e4;
  --ink: #1f2428;
  --sub: #8a9298;
  --line: #eef2f0;
  --page: #f3f6f4;
  --font: "Noto Sans SC", "PingFang SC", sans-serif;
  --num: "Manrope", "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(34, 167, 94, 0.16), transparent 55%),
    linear-gradient(165deg, #e8f2ec, #dce7e1);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; border: 0; background: none; }
input { outline: none; }
img { display: block; max-width: 100%; }

.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 32px 20px;
}

.note { max-width: 240px; color: #3d4a42; }
.note-logo { width: 220px; height: auto; margin-bottom: 14px; }
.note-lead { font-size: 14px; color: #667069; }

.phone {
  width: 390px;
  height: min(844px, calc(100vh - 36px));
  background: #111;
  border-radius: 42px;
  padding: 10px;
  position: relative;
  box-shadow: 0 36px 90px rgba(18, 40, 28, 0.28);
}

.app {
  height: 100%;
  border-radius: 32px;
  overflow: auto;
  background: #fff;
  scrollbar-width: none;
}
.app::-webkit-scrollbar { display: none; }

/* —— 参考图头部：浅绿一体 —— */
.hero {
  position: relative;
  padding: 14px 0 88px;
  background: linear-gradient(180deg, #dff7ea 0%, #c8efd8 48%, #d7f2e4 82%, #ffffff 100%);
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.55), transparent 28%),
    radial-gradient(circle at 8% 72%, rgba(34, 167, 94, 0.12), transparent 34%);
  pointer-events: none;
}
.hero-deco::before,
.hero-deco::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 167, 94, 0.12);
}
.hero-deco::before {
  width: 160px;
  height: 160px;
  right: -40px;
  top: 40px;
}
.hero-deco::after {
  width: 90px;
  height: 90px;
  left: -20px;
  bottom: 60px;
  border-color: rgba(34, 167, 94, 0.16);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 14px 0;
}

.loc {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #1b6f42;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  flex-shrink: 0;
}

.search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 4px 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #9aa3a8;
  box-shadow: 0 6px 18px rgba(20, 90, 50, 0.08);
}
.search input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--ink);
}
.search input::placeholder { color: #a8b0b5; }
.search-btn {
  flex-shrink: 0;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(160deg, #34c56f, var(--g2));
  color: #fff;
  font-size: 12px;
  font-weight: 650;
}

.capsule {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #4a5550;
  flex-shrink: 0;
}
.capsule i {
  width: 14px;
  height: 3px;
  background: radial-gradient(circle, #4a5550 1.1px, transparent 1.15px) 0 50% / 5px 3px repeat-x;
}
.capsule .ring {
  width: 12px;
  height: 12px;
  border: 1.4px solid #4a5550;
  border-radius: 50%;
  background: none;
}

.promo {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  min-height: 148px;
  padding: 8px 16px 0;
}

.promo-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
  padding-top: 10px;
}
.promo-copy h1 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--g);
  text-shadow: 0 8px 24px rgba(34, 167, 94, 0.18);
}
.promo-sub {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 650;
  color: #2a3338;
}
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #4a5550;
  font-size: 11px;
  backdrop-filter: blur(6px);
}

.promo-person {
  position: absolute;
  right: 4px;
  bottom: -6px;
  width: 168px;
  height: 168px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 12px 24px rgba(20, 80, 40, 0.18));
  animation: floaty 4.8s ease-in-out infinite;
}

.promo-dots {
  position: absolute;
  left: 16px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.promo-dots span {
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: rgba(34, 167, 94, 0.28);
}
.promo-dots .on { background: var(--g); width: 18px; }

.sheet {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  padding: 18px 16px 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
}

.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  row-gap: 16px;
  column-gap: 2px;
  padding: 2px 0 4px;
  background: transparent;
}
.cats a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #2b3236;
  font-weight: 500;
}
.ci {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ci svg { width: 22px; height: 22px; }
.c1 { color: #1aa86a; background: #eef9f3; }
.c2 { color: #3b8fe0; background: #eef5fc; }
.c3 { color: #e08a2b; background: #faf3eb; }
.c4 { color: #5b6ee8; background: #f1f2fb; }
.c5 { color: #1aa8a0; background: #eef8f7; }
.c6 { color: #e25b7a; background: #faf0f3; }
.c7 { color: #d59a1a; background: #faf5eb; }
.c8 { color: #7a62d8; background: #f4f1fa; }
.c9 { color: #1aaa7a; background: #eef8f3; }
.c0 { color: var(--g); background: #eef9f3; }

.ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  background: transparent;
  color: var(--g);
  font-size: 12px;
}
.ticker-mask {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-mask p {
  white-space: nowrap;
  width: max-content;
  color: #556066;
  animation: marquee 16s linear infinite;
}

.sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
}
.sec h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 750;
}
.sec a { font-size: 12px; color: var(--sub); }
.thumb-up { font-size: 14px; }

.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.rec {
  background: #f7faf8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  min-width: 0;
}
.rec img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}
.rec-body { padding: 6px 7px 8px; }
.rec-body h4 { font-size: 12px; font-weight: 700; }
.rec-body > p {
  margin-top: 2px;
  font-size: 10px;
  color: var(--sub);
}
.rec-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  margin: 5px 0 6px;
}
.rec-meta em {
  font-style: normal;
  color: #e24b3a;
  font-family: var(--num);
  font-size: 10px;
}
.rec-meta b { font-size: 14px; font-weight: 750; }
.rec-meta span { font-size: 10px; color: #9aa3aa; }
.rec-body button {
  width: 100%;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(160deg, #34c56f, var(--g2));
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.shops { margin-top: 2px; }
.shop {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  margin-bottom: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
.shop:last-of-type { border-bottom: 0; }
.shop > img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.shop-body { flex: 1; min-width: 0; }
.shop-title {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.shop-title strong { font-size: 14px; font-weight: 700; }
.badge {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #e8f6ee;
  color: var(--g2);
}
.badge.gold {
  background: #fff3d9;
  color: #c48a12;
}
.shop-tags {
  margin-top: 4px;
  font-size: 11px;
  color: var(--sub);
}
.shop-stat {
  margin-top: 4px;
  font-size: 11px;
  color: #6a7378;
}
.shop-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.shop-side span { font-size: 11px; color: var(--sub); }
.shop-side em {
  font-style: normal;
  font-size: 11px;
  color: var(--g2);
  border: 1px solid rgba(34, 167, 94, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
}

.safe { height: 88px; }

.tabbar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: 0 0 32px 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 0 2px 10px;
  z-index: 8;
}
.tabbar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: #9aa3aa;
}
.tabbar .on { color: var(--g); font-weight: 650; }
.tabbar .fab { position: relative; top: -14px; }
.tabbar .fab span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #35e074, var(--g2));
  color: #fff;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(34, 167, 94, 0.35);
  margin-bottom: 2px;
}
.tabbar .dot {
  position: absolute;
  top: 0;
  right: calc(50% - 14px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4d4f;
  border: 1.5px solid #fff;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-45%); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 820px) {
  .stage { flex-direction: column; gap: 16px; }
  .note { display: none; }
  .phone { width: min(390px, 100%); }
}
@media (max-width: 430px) {
  body { background: #111; }
  .stage { padding: 0; }
  .phone {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .app, .tabbar { border-radius: 0; }
  .tabbar { left: 0; right: 0; bottom: 0; }
}
