/* 华博小程序 UI v2 - 三色斜切主题 + 白底卡片布局 */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,500&display=swap");

:root {
  --hb-blue: #7ec4e3;
  --hb-blue-deep: #4a9fc4;
  --hb-blue-soft: #e8f6fc;
  --hb-yellow: #ede08a;
  --hb-yellow-deep: #a8923a;
  --hb-yellow-soft: #faf6e4;
  --hb-green: #94a876;
  --hb-green-deep: #5f7348;
  --hb-green-soft: #eef3e8;
  --hb-white: #ffffff;
  --hb-bg: #ffffff;
  --hb-surface: #f7f9fb;
  --hb-text: #243044;
  --hb-text-secondary: #6b768a;
  --hb-text-tertiary: #9aa3b5;
  --hb-border: #e8ecf2;
  --hb-shadow-sm: 0 4px 14px rgba(36, 48, 68, 0.05);
  --hb-shadow-md: 0 10px 32px rgba(36, 48, 68, 0.08);
  --hb-shadow-lg: 0 18px 48px rgba(36, 48, 68, 0.1);
  --hb-radius-xl: 24px;
  --hb-radius-lg: 18px;
  --hb-radius-md: 14px;
  --hb-radius-sm: 10px;
  --hb-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --phone-w: 390px;
  --phone-h: 844px;
  --tab-h: 58px;
  --safe-top: 48px;
  --space-page: 16px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #dfe4ec;
  color: var(--hb-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 预览外壳 ---------- */
.preview-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(126, 196, 227, 0.18), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(148, 168, 118, 0.14), transparent 40%),
    #dfe4ec;
}

.phone {
  width: var(--phone-w);
  min-height: var(--phone-h);
  background: var(--hb-bg);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    var(--hb-shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  border-radius: 999px;
  background: #101820;
  z-index: 30;
  opacity: 0.92;
}

.phone-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: calc(var(--tab-h) + 16px);
  scroll-behavior: smooth;
}

.phone-scroll.no-tab {
  padding-bottom: 28px;
}

.page-enter {
  animation: pageIn 0.55s var(--hb-ease) both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 三色斜切顶栏（对齐图一） ---------- */
.hero-header {
  position: relative;
  padding: calc(var(--safe-top) + 8px) var(--space-page) 88px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg,
      var(--hb-blue) 0%,
      var(--hb-blue) 34%,
      var(--hb-yellow) 34%,
      var(--hb-yellow) 62%,
      var(--hb-green) 62%,
      var(--hb-green) 100%);
  z-index: -2;
}

.hero-header::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 42px;
  background: var(--hb-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: -1;
}

.hero-header.compact {
  padding-bottom: 72px;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.brand-cn {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.brand-en {
  display: block;
  font-size: 9px;
  opacity: 0.88;
  letter-spacing: 0.18em;
  margin-top: 4px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--hb-ease), background 0.2s var(--hb-ease);
  backdrop-filter: blur(6px);
}

.icon-btn:active {
  transform: scale(0.96);
}

.icon-btn svg {
  stroke: #fff;
}

.greeting {
  font-size: 13px;
  opacity: 0.92;
  font-weight: 500;
}

.hero-title {
  display: block;
  font-size: clamp(24px, 6vw, 28px);
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-wrap: pretty;
}

.hero-sub {
  display: block;
  font-size: 13px;
  opacity: 0.9;
  margin-top: 8px;
  max-width: 28ch;
  line-height: 1.5;
}

.page-title-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--safe-top) + 44px);
  padding: var(--safe-top) 48px 12px;
  font-size: 17px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--hb-border);
  backdrop-filter: blur(12px);
}

.page-title-bar.gradient {
  color: #fff;
  border: none;
  background: transparent;
}

.page-title-bar.gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(118deg,
      var(--hb-blue) 0%,
      var(--hb-blue) 40%,
      var(--hb-yellow) 40%,
      var(--hb-yellow) 68%,
      var(--hb-green) 68%,
      var(--hb-green) 100%);
}

.page-back {
  position: absolute;
  left: 12px;
  top: calc(var(--safe-top) + 6px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hb-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title-bar.gradient .page-back {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

.page-title-bar.gradient .page-back svg {
  stroke: #fff;
}

/* ---------- 内容区 ---------- */
.body-wrap {
  padding: 0 var(--space-page) 20px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

.body-wrap.flat {
  margin-top: 0;
  padding-top: var(--space-page);
}

.card {
  background: var(--hb-white);
  border-radius: var(--hb-radius-lg);
  border: 1px solid rgba(232, 236, 242, 0.9);
  padding: 18px;
  margin-bottom: 14px;
}

.card.shadow {
  box-shadow: var(--hb-shadow-md);
}

.card.lift {
  transition: transform 0.22s var(--hb-ease), box-shadow 0.22s var(--hb-ease);
}

.card.lift:active {
  transform: translateY(1px) scale(0.995);
}

/* 会员卡 */
.member-card {
  padding: 20px 18px 16px;
}

.member-card .member-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--hb-blue-soft), #fff);
  border: 1.5px solid var(--hb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--hb-shadow-sm);
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.member-desc {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-top: 4px;
}

.btn-gold {
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3e89a 0%, var(--hb-yellow) 100%);
  color: #3d3420;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(168, 146, 58, 0.35);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(168, 146, 58, 0.18);
  transition: transform 0.2s var(--hb-ease);
}

.btn-gold:active {
  transform: scale(0.98);
}

.btn-green {
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a4ba86 0%, var(--hb-green) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  box-shadow: 0 6px 16px rgba(95, 115, 72, 0.28);
  transition: transform 0.2s var(--hb-ease);
}

.btn-green:active {
  transform: scale(0.98);
}

.btn-outline {
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--hb-green-deep);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid rgba(95, 115, 72, 0.45);
  transition: background 0.2s var(--hb-ease), transform 0.2s var(--hb-ease);
}

.btn-outline:active {
  transform: scale(0.98);
  background: var(--hb-green-soft);
}

.level-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--hb-yellow-soft);
  color: var(--hb-yellow-deep);
  border: 1px solid rgba(168, 146, 58, 0.28);
}

.member-meta {
  display: flex;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hb-border);
}

.meta-item {
  flex: 1;
  text-align: center;
}

.meta-label {
  display: block;
  font-size: 11px;
  color: var(--hb-text-secondary);
}

.meta-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-top: 5px;
  color: var(--hb-text);
}

.meta-divider {
  width: 1px;
  background: var(--hb-border);
}

/* 区块标题 */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 12px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-link {
  font-size: 12px;
  color: var(--hb-text-secondary);
  font-weight: 500;
}

.section-meta {
  font-size: 12px;
  color: var(--hb-text-secondary);
}

/* 四宫格 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--hb-text);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--hb-ease);
}

.service-item:active {
  transform: scale(0.96);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: box-shadow 0.2s var(--hb-ease);
}

.service-icon.blue {
  background: var(--hb-blue-soft);
  border-color: rgba(126, 196, 227, 0.35);
}

.service-icon.yellow {
  background: var(--hb-yellow-soft);
  border-color: rgba(237, 224, 138, 0.45);
}

.service-icon.green {
  background: var(--hb-green-soft);
  border-color: rgba(148, 168, 118, 0.35);
}

/* 公告 */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: var(--hb-surface);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  margin: 16px 0 4px;
  transition: background 0.2s var(--hb-ease);
}

.notice-bar:active {
  background: #fff;
}

.notice-tag {
  flex-shrink: 0;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--hb-green-deep);
  background: var(--hb-green-soft);
  border-radius: 8px;
  border: 1px solid rgba(148, 168, 118, 0.3);
}

.notice-text {
  flex: 1;
  font-size: 13px;
  color: var(--hb-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 订单统计 */
.order-stats {
  display: flex;
  padding: 6px 0 2px;
}

.stat-item {
  flex: 1;
  text-align: center;
  position: relative;
  color: inherit;
  text-decoration: none;
}

a.hot-card,
a.event-banner,
a.notice-bar {
  text-decoration: none;
  color: inherit;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--hb-border);
}

.stat-icon-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: var(--hb-surface);
  border: 1px solid var(--hb-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--hb-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  border: 2px solid #fff;
}

.stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--hb-text);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--hb-text-secondary);
  margin-top: 6px;
}

/* 热门双列 */
.hot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hot-card {
  padding: 16px;
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  transition: transform 0.22s var(--hb-ease), box-shadow 0.22s var(--hb-ease);
}

.hot-card:active {
  transform: scale(0.98);
  box-shadow: var(--hb-shadow-sm);
}

.hot-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hot-icon.blue { background: var(--hb-blue-soft); }
.hot-icon.yellow { background: var(--hb-yellow-soft); }

.hot-title {
  font-size: 14px;
  font-weight: 700;
}

.hot-sub {
  font-size: 11px;
  color: var(--hb-text-secondary);
  margin-top: 5px;
  line-height: 1.45;
}

.hot-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--hb-green-deep);
  font-weight: 600;
}

/* 活动横幅 */
.event-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: var(--hb-radius-lg);
  background:
    linear-gradient(125deg, var(--hb-green-deep) 0%, #7a9460 55%, var(--hb-green) 100%);
  color: #fff;
  margin-top: 16px;
  box-shadow: 0 10px 28px rgba(95, 115, 72, 0.28);
}

.event-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.86;
  font-weight: 600;
}

.event-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-top: 5px;
}

.event-sub {
  display: block;
  font-size: 11px;
  opacity: 0.88;
  margin-top: 5px;
}

.event-link {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.action-row {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}

.action-row .btn-outline {
  flex: 1;
}

/* Tab 筛选 */
.tab-scroll {
  overflow-x: auto;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-scroll::-webkit-scrollbar {
  display: none;
}

.tab-row {
  display: flex;
  gap: 8px;
  padding-bottom: 2px;
}

.tab-pill {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--hb-text-secondary);
  background: var(--hb-surface);
  border: 1px solid var(--hb-border);
  transition: all 0.2s var(--hb-ease);
  cursor: pointer;
}

.tab-pill.active {
  background: #fff;
  color: var(--hb-green-deep);
  font-weight: 700;
  border-color: rgba(95, 115, 72, 0.55);
  box-shadow: var(--hb-shadow-sm);
}

/* 列表 */
.list-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  margin-bottom: 10px;
  transition: transform 0.2s var(--hb-ease);
}

.list-card:active {
  transform: scale(0.99);
}

.list-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.list-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--hb-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.list-main {
  flex: 1;
  min-width: 0;
}

.list-title {
  font-size: 15px;
  font-weight: 700;
}

.list-sub {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-top: 4px;
}

.status-pill {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.status-pill.pending {
  background: var(--hb-yellow-soft);
  color: var(--hb-yellow-deep);
}

.status-pill.serving {
  background: var(--hb-green-soft);
  color: var(--hb-green-deep);
}

.status-pill.done {
  background: var(--hb-blue-soft);
  color: var(--hb-blue-deep);
}

.list-meta {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hb-border);
  font-size: 12px;
  color: var(--hb-text-secondary);
  line-height: 1.5;
}

/* 菜单 */
.menu-group {
  padding: 2px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  transition: background 0.2s var(--hb-ease);
  text-decoration: none;
  color: inherit;
}

.menu-item:active {
  background: var(--hb-surface);
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.menu-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--hb-surface);
  border: 1px solid var(--hb-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-highlight {
  border: 1.5px solid rgba(148, 168, 118, 0.45);
  background: linear-gradient(135deg, var(--hb-green-soft), #fff);
}

/* 工作台 */
.verify-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--hb-radius-lg);
  background: linear-gradient(135deg, var(--hb-yellow-soft) 0%, #fff 72%);
  border: 1.5px solid rgba(168, 146, 58, 0.38);
  margin-bottom: 14px;
  box-shadow: var(--hb-shadow-sm);
  transition: transform 0.2s var(--hb-ease);
}

.verify-banner:active {
  transform: scale(0.99);
}

.verify-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f3e89a, var(--hb-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(168, 146, 58, 0.22);
}

.verify-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-yellow-deep);
}

.verify-sub {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-top: 4px;
  line-height: 1.45;
}

.stat-banner {
  padding: 20px;
  border-radius: var(--hb-radius-lg);
  background:
    linear-gradient(118deg,
      var(--hb-blue) 0%,
      var(--hb-blue) 38%,
      var(--hb-green) 100%);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: var(--hb-shadow-md);
}

.stat-banner .stat-row-inner {
  display: flex;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-banner .stat-num {
  color: var(--hb-yellow);
}

.stat-banner .stat-label {
  color: rgba(255, 255, 255, 0.84);
}

.quick-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.quick-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s var(--hb-ease);
}

.quick-chip:active {
  background: var(--hb-surface);
}

/* 表单 */
.form-card {
  padding: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-sm);
  font-size: 14px;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color 0.2s var(--hb-ease), box-shadow 0.2s var(--hb-ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--hb-green);
  box-shadow: 0 0 0 3px rgba(148, 168, 118, 0.18);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 44px 24px;
}

.empty-icon-lg {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--hb-blue-soft);
  border: 1px solid rgba(126, 196, 227, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-title {
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
}

.empty-tip {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 26ch;
  margin-inline: auto;
}

/* TabBar */
.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--tab-h);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--hb-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 25;
  backdrop-filter: blur(14px);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--hb-text-tertiary);
  flex: 1;
  padding: 7px 0 5px;
  position: relative;
  transition: color 0.2s var(--hb-ease);
}

.tab-item.active {
  color: var(--hb-green-deep);
  font-weight: 700;
}

.tab-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--hb-green);
}

.tab-item svg {
  stroke: currentColor;
}

/* 索引页 */
.index-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.index-hero {
  margin-bottom: 36px;
}

.index-page h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.index-page .lead {
  color: var(--hb-text-secondary);
  margin-top: 10px;
  max-width: 62ch;
  font-size: 15px;
}

.palette {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 36px;
}

.swatch {
  height: 72px;
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.swatch.blue { background: var(--hb-blue); color: #fff; }
.swatch.yellow { background: var(--hb-yellow); color: #3d3420; }
.swatch.green { background: var(--hb-green); color: #fff; }

.index-section {
  margin-bottom: 32px;
}

.index-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.page-link {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: 14px;
  transition: border-color 0.22s var(--hb-ease), box-shadow 0.22s var(--hb-ease), transform 0.22s var(--hb-ease);
}

.page-link:hover {
  border-color: rgba(95, 115, 72, 0.45);
  box-shadow: var(--hb-shadow-sm);
  transform: translateY(-2px);
}

.page-link strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.page-link span {
  font-size: 12px;
  color: var(--hb-text-secondary);
  line-height: 1.45;
}

.page-link.featured {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(126, 196, 227, 0.12), rgba(148, 168, 118, 0.1)),
    #fff;
}

.index-footer {
  margin-top: 40px;
  font-size: 12px;
  color: var(--hb-text-secondary);
}

/* SVG */
svg.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--hb-green-deep);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.icon.white { stroke: #fff; }
svg.icon.navy { stroke: var(--hb-text); }
svg.icon.gold { stroke: var(--hb-yellow-deep); }
svg.icon.blue { stroke: var(--hb-blue-deep); }
svg.icon.sm { width: 18px; height: 18px; }
svg.icon.lg { width: 28px; height: 28px; }
svg.icon.xl { width: 36px; height: 36px; }

/* 会员套餐 */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-card {
  padding: 18px;
  border-radius: var(--hb-radius-lg);
  border: 1.5px solid var(--hb-border);
  background: #fff;
  box-shadow: var(--hb-shadow-sm);
  transition: transform 0.2s var(--hb-ease), box-shadow 0.2s var(--hb-ease);
}

.tier-card:active {
  transform: scale(0.99);
}

.tier-card.featured {
  border-color: rgba(95, 115, 72, 0.55);
  background: linear-gradient(160deg, var(--hb-green-soft) 0%, #fff 48%);
  box-shadow: var(--hb-shadow-md);
}

.tier-card.warm {
  border-color: rgba(168, 146, 58, 0.35);
  background: linear-gradient(160deg, var(--hb-yellow-soft) 0%, #fff 55%);
}

.tier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tier-name {
  font-size: 18px;
  font-weight: 700;
}

.tier-desc {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-top: 6px;
  line-height: 1.45;
}

.tier-price-wrap {
  text-align: right;
  flex-shrink: 0;
}

.tier-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--hb-green-deep);
  line-height: 1;
}

.tier-unit {
  font-size: 11px;
  color: var(--hb-text-secondary);
  margin-top: 4px;
}

.tier-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--hb-green);
  border-radius: 999px;
  vertical-align: middle;
}

.tier-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.benefit-chip {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hb-green-deep);
  background: var(--hb-green-soft);
  border: 1px solid rgba(148, 168, 118, 0.28);
  border-radius: 999px;
}

.tier-card.warm .benefit-chip {
  color: var(--hb-yellow-deep);
  background: rgba(237, 224, 138, 0.35);
  border-color: rgba(168, 146, 58, 0.25);
}

.tier-card .btn-green,
.tier-card .btn-outline {
  width: 100%;
  margin-top: 16px;
  height: 44px;
  font-size: 14px;
}

.tier-compare {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--hb-radius-md);
  background: var(--hb-surface);
  border: 1px solid var(--hb-border);
  font-size: 12px;
  color: var(--hb-text-secondary);
  line-height: 1.55;
}

/* 抽奖转盘 */
.lottery-stage {
  padding: 8px 0 4px;
  text-align: center;
}

.lottery-wheel-wrap {
  position: relative;
  width: 248px;
  height: 248px;
  margin: 0 auto;
}

.lottery-pointer {
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 22px;
  height: 22px;
  background: var(--hb-yellow-deep);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.lottery-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 7px solid var(--hb-yellow);
  box-shadow: var(--hb-shadow-md);
  background: conic-gradient(
    from -90deg,
    var(--hb-blue) 0deg 60deg,
    var(--hb-yellow) 60deg 120deg,
    var(--hb-green) 120deg 180deg,
    #c5e4f3 180deg 240deg,
    #dce8c8 240deg 300deg,
    #f5ebb5 300deg 360deg
  );
  transition: transform 4.2s cubic-bezier(0.12, 0.85, 0.22, 1);
  will-change: transform;
}

.lottery-hub {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--hb-border);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--hb-green-deep);
  box-shadow: var(--hb-shadow-sm);
}

.lottery-chance {
  margin-top: 14px;
  font-size: 12px;
  color: var(--hb-text-secondary);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.prize-cell {
  padding: 14px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  box-shadow: var(--hb-shadow-sm);
}

.prize-cell-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prize-cell-icon.blue { background: var(--hb-blue-soft); }
.prize-cell-icon.yellow { background: var(--hb-yellow-soft); }
.prize-cell-icon.green { background: var(--hb-green-soft); }

.prize-cell-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

/* 详情页 */
.detail-hero {
  padding: 20px;
  border-radius: var(--hb-radius-lg);
  background: var(--hb-hero-gradient);
  color: #fff;
  margin-bottom: 14px;
  box-shadow: var(--hb-shadow-md);
}

.detail-hero-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.detail-hero-sub {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.5;
}

.detail-block {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-md);
  margin-bottom: 10px;
  box-shadow: var(--hb-shadow-sm);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--hb-border);
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-row:first-child {
  padding-top: 0;
}

.detail-label {
  color: var(--hb-text-secondary);
  flex-shrink: 0;
}

.detail-value {
  text-align: right;
  font-weight: 600;
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.detail-actions .btn-green,
.detail-actions .btn-outline {
  flex: 1;
  height: 44px;
}

.timeline-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--hb-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--hb-green-soft);
}

.timeline-body {
  flex: 1;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hb-border);
}

.timeline-item:last-child .timeline-body {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-title {
  font-size: 14px;
  font-weight: 600;
}

.timeline-sub {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-top: 4px;
  line-height: 1.45;
}

.coupon-face {
  padding: 22px 20px;
  border-radius: var(--hb-radius-lg);
  background: linear-gradient(135deg, var(--hb-yellow-soft), #fff 60%);
  border: 1.5px dashed rgba(168, 146, 58, 0.45);
  position: relative;
  overflow: hidden;
}

.coupon-face::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hb-bg);
}

.coupon-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--hb-yellow-deep);
}

.coupon-name {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
}

.coupon-rule {
  margin-top: 10px;
  font-size: 12px;
  color: var(--hb-text-secondary);
  line-height: 1.5;
}

.sticky-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--hb-border);
  z-index: 20;
}

.phone.has-sticky .phone-scroll.no-tab {
  padding-bottom: 88px;
}

.support-card {
  text-align: center;
  padding: 32px 24px;
}

.support-phone {
  display: block;
  margin-top: 12px;
  font-size: 26px;
  font-weight: 700;
  color: var(--hb-green-deep);
}

.location-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.location-map {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--hb-blue-soft), var(--hb-green-soft));
  border: 1px solid var(--hb-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .lottery-wheel {
    transition: none;
  }
}

/* 活动日期卡 */
.activity-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.activity-date {
  width: 52px;
  flex-shrink: 0;
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  background: var(--hb-blue-soft);
  border: 1px solid rgba(126, 196, 227, 0.35);
}

.activity-date-day {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--hb-blue-deep);
  line-height: 1;
}

.activity-date-mon {
  display: block;
  font-size: 10px;
  color: var(--hb-text-secondary);
  margin-top: 4px;
  font-weight: 600;
}

a.list-card,
a.activity-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* 公告正文 */
.article-meta {
  font-size: 12px;
  color: var(--hb-text-secondary);
  margin-bottom: 14px;
}

.article-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--hb-text);
}

.article-body p + p {
  margin-top: 12px;
}

/* 评价星级 */
.star-row {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
}

.star-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--hb-surface);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s var(--hb-ease), transform 0.15s var(--hb-ease);
}

.star-btn.active {
  background: var(--hb-yellow-soft);
  transform: scale(1.05);
}

.review-textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-sm);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 14px;
}

.review-textarea:focus {
  outline: none;
  border-color: var(--hb-green);
  box-shadow: 0 0 0 3px rgba(148, 168, 118, 0.18);
}

/* 未登录引导 */
.login-gate {
  text-align: center;
  padding: 48px 28px;
  margin-top: 8px;
}

.login-gate .empty-icon-lg {
  margin-bottom: 4px;
}

/* 二维码 */
.qr-card-center {
  text-align: center;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-sm);
}

.qr-placeholder {
  width: 168px;
  height: 168px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #111 0 12px, transparent 12px 20px) 0 0 / 20px 20px,
    linear-gradient(#111 0 0) 50% / 40px 40px no-repeat,
    #fff;
  border: 1px solid var(--hb-border);
}

.qr-code-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.qr-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--hb-text-secondary);
}

/* 弹窗 */
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 74, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.modal-dialog {
  width: 100%;
  max-width: 300px;
  padding: 22px 20px;
  background: #fff;
  border-radius: var(--hb-radius-lg);
  box-shadow: var(--hb-shadow-md);
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.modal-actions .btn-outline,
.modal-actions .btn-green {
  flex: 1;
  height: 40px;
  line-height: 40px;
  padding: 0;
}

.phone.has-modal {
  position: relative;
}

/* 成功页 */
.success-page {
  text-align: center;
  padding: 48px 28px 32px;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--hb-green-soft);
  border: 2px solid rgba(148, 168, 118, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 18px;
}

.success-sub {
  font-size: 13px;
  color: var(--hb-text-secondary);
  margin-top: 10px;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding: 0 8px;
}

/* 计划 Tab · 叠加轮播（三卡同屏堆叠） */
.phone.plan-phone .phone-scroll {
  display: none;
}

.plan-stack-stage {
  position: absolute;
  inset: 0 0 var(--tab-h) 0;
  padding: 0;
  background: #e3e7ed;
  overflow: hidden;
  /* 底部叠卡预留：第二层约 100px + 第三层约 56px + 间距 */
  --stack-peek-1: 100px;
  --stack-peek-2: 56px;
  --stack-gap: 10px;
  --stack-inset-x: 8px;
  --stack-deck: calc(var(--stack-peek-1) + var(--stack-peek-2) + var(--stack-gap));
}

.plan-stack {
  position: absolute;
  inset: 0;
}

.plan-card {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  transition:
    top 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    bottom 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    left 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    right 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    border-radius 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.45s ease;
  will-change: top, bottom, transform;
}

/* 主卡：顶到屏幕上方，底留叠卡区 */
.plan-card[data-pos="0"] {
  top: 0;
  bottom: var(--stack-deck);
  left: 0;
  right: 0;
  height: auto;
  z-index: 30;
  transform: scale(1);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

/* 第二层：露出标题 + 按钮条 */
.plan-card[data-pos="1"] {
  top: auto;
  bottom: calc(var(--stack-peek-2) + var(--stack-gap));
  left: calc(var(--stack-inset-x) + 7px);
  right: calc(var(--stack-inset-x) + 7px);
  height: calc(100% - 8px);
  z-index: 20;
  transform: scale(0.994);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

/* 第三层：最底彩色条 */
.plan-card[data-pos="2"] {
  top: auto;
  bottom: 0;
  left: calc(var(--stack-inset-x) + 16px);
  right: calc(var(--stack-inset-x) + 16px);
  height: calc(100% - 8px);
  z-index: 10;
  transform: scale(0.988);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  cursor: pointer;
}

/* 堆叠条之间的细缝，强化「多张卡」层次 */
.plan-card[data-pos="1"]::after,
.plan-card[data-pos="2"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.55);
  z-index: 4;
  pointer-events: none;
}

.plan-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.plan-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.32) 100%);
}

.plan-card.outdoor .plan-card-bg {
  background-image: url("../assets/plan/slide-outdoor.png");
}

.plan-card-bg.it {
  background: linear-gradient(165deg, #8ecae8 0%, var(--hb-blue) 55%, #5ba8cc 100%);
}

.plan-card-bg.it::after,
.plan-card-bg.health::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.plan-card-bg.health {
  background: linear-gradient(165deg, #f3e89a 0%, var(--hb-yellow) 50%, #d9c96a 100%);
}

.plan-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 28px 20px 32px;
  text-align: center;
  box-sizing: border-box;
  gap: 18px;
}

/* 下层堆叠条：内容靠上，露出标题与按钮 */
.plan-card[data-pos="1"] .plan-card-inner {
  justify-content: flex-start;
  padding: 14px 16px 0;
  gap: 10px;
}

.plan-card[data-pos="2"] .plan-card-inner {
  justify-content: flex-start;
  padding: 10px 16px 0;
  gap: 0;
}

.plan-card[data-pos="1"] .plan-headline-top {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  font-size: 26px;
  margin: 0;
}

.plan-card[data-pos="2"] .plan-headline-top {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  font-size: 20px;
  margin: 0;
  white-space: nowrap;
}

.plan-card[data-pos="1"] .plan-cta {
  transform: scale(0.92);
  margin-top: 2px;
  min-width: 140px;
  height: 40px;
  font-size: 13px;
}

.plan-card[data-pos="2"] .plan-cta,
.plan-card[data-pos="2"] .plan-headline-bottom,
.plan-card[data-pos="1"] .plan-headline-bottom,
.plan-card[data-pos="1"] .plan-figure,
.plan-card[data-pos="2"] .plan-figure {
  display: none;
}

.plan-card[data-pos="0"] .plan-headline-bottom {
  display: block;
}

.plan-card:not([data-pos="0"]) .plan-headline-bottom {
  display: none;
}

.plan-headline-top {
  position: absolute;
  top: 28px;
  left: 20px;
  right: 20px;
  margin: 0;
}

.plan-headline-bottom {
  position: absolute;
  bottom: 32px;
  left: 20px;
  right: 20px;
  margin: 0;
}

.plan-card .plan-cta {
  margin-top: 0;
}

.plan-headline {
  font-size: clamp(34px, 9vw, 42px);
  font-weight: 800;
  font-style: italic;
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.plan-headline em {
  font-style: italic;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 46px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.plan-card.it .plan-cta {
  background: rgba(255, 255, 255, 0.22);
}

.plan-card.health .plan-cta {
  background: rgba(255, 255, 255, 0.28);
  color: #3d3420;
  border-color: rgba(255, 255, 255, 0.7);
}

.plan-card.outdoor .plan-cta {
  background: var(--hb-green);
  border-color: rgba(255, 255, 255, 0.55);
}

.plan-card[data-pos="1"] .plan-cta,
.plan-card[data-pos="2"] .plan-cta {
  pointer-events: none;
}

.plan-card[data-pos="0"] .plan-cta {
  pointer-events: auto;
}

.plan-figure {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  opacity: 0.95;
  pointer-events: none;
}

.plan-figure.it {
  bottom: 108px;
  width: 200px;
  height: 260px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 110px 110px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.plan-figure.health {
  bottom: 112px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.35), transparent 68%);
}

.tabbar.tabbar-5 .tab-item {
  font-size: 9px;
  gap: 3px;
}

.tabbar.tabbar-5 .tab-item svg {
  width: 20px;
  height: 20px;
}

/* 计划服务落地页 */
.plan-service-page {
  background: #f5f6f8;
  min-height: 100%;
}

.plan-service-top {
  padding: 14px 16px 0;
  background: #fff;
}

.plan-calendar {
  --cal-accent: var(--hb-blue);
}

.plan-calendar[data-accent="yellow"] {
  --cal-accent: var(--hb-yellow);
}

.plan-calendar[data-accent="green"] {
  --cal-accent: var(--hb-green);
}

.plan-month-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
}

.plan-month-toggle {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--hb-text);
  cursor: pointer;
  border-radius: 10px;
}

.plan-month-toggle:hover {
  background: var(--hb-surface);
}

.plan-month-chevron {
  width: 16px;
  height: 16px;
  stroke: var(--hb-text-secondary);
  stroke-width: 2;
  fill: none;
  transition: transform 0.28s ease;
}

.plan-calendar.expanded .plan-month-chevron {
  transform: rotate(180deg);
}

.plan-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding-bottom: 14px;
  transition: opacity 0.25s ease, max-height 0.3s ease;
}

.plan-calendar.expanded .plan-week {
  opacity: 0.35;
  pointer-events: none;
}

.plan-month-grid {
  display: none;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
  padding: 0 0 14px;
  animation: planCalIn 0.28s ease;
}

.plan-calendar.expanded .plan-month-grid {
  display: grid;
}

@keyframes planCalIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-month-weekday {
  text-align: center;
  font-size: 10px;
  color: var(--hb-text-secondary);
  padding: 4px 0 8px;
  font-weight: 600;
}

.plan-month-day {
  text-align: center;
  padding: 7px 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hb-text);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

.plan-month-day.muted {
  color: #c2c8d0;
}

.plan-month-day.active {
  background: var(--cal-accent);
  color: #fff;
}

.plan-calendar[data-accent="yellow"] .plan-month-day.active {
  color: #3d3420;
}

.plan-day {
  text-align: center;
  font-size: 10px;
  color: var(--hb-text-secondary);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
}

.plan-day-num {
  display: block;
  margin-top: 6px;
  padding: 8px 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hb-text);
}

.plan-day.active .plan-day-num {
  background: var(--cal-accent);
  color: #fff;
}

.plan-calendar[data-accent="yellow"] .plan-day.active .plan-day-num {
  color: #3d3420;
}

.plan-service-bar {
  margin: 0 12px;
  padding: 14px 12px;
  border-radius: 18px 18px 0 0;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.plan-service-bar.yellow {
  background: var(--hb-yellow);
  color: #3d3420;
}

.plan-service-bar.green {
  background: var(--hb-green);
}

.plan-quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
  background: #fff;
}

.plan-quick-item {
  text-align: center;
  font-size: 11px;
  color: var(--hb-text);
}

.plan-quick-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hb-surface);
  border: 1px solid var(--hb-border);
}

.plan-quick-icon.featured.yellow {
  background: var(--hb-yellow);
  border-color: transparent;
}

.plan-quick-icon.featured.green {
  background: var(--hb-green);
  border-color: transparent;
}

.plan-map {
  margin: 0 12px 12px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hb-border);
  background:
    linear-gradient(135deg, #dce8ef 0%, #eef3e8 100%);
  position: relative;
}

.plan-map-route {
  position: absolute;
  inset: 18% 12% 22% 18%;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 49%, #6ba3ff 49%, #6ba3ff 51%, transparent 51%),
    linear-gradient(#e8edf2 1px, transparent 1px),
    linear-gradient(90deg, #e8edf2 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
}

.plan-map-pin {
  position: absolute;
  right: 22%;
  top: 34%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.25);
}

.plan-map-tip {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translateX(-10%);
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: var(--hb-shadow-sm);
}
