:root {
  --page-max: 480px;
  --bg: #fff8f1;
  --card: #fffdf9;
  --card-2: #fff7ee;
  --line: rgba(113, 61, 17, 0.1);
  --text: #342115;
  --muted: #8d7667;
  --brown: #71370c;
  --brown-2: #4b2408;
  --gold: #b97427;
  --orange: #f06a2b;
  --green: #46a83f;
  --shadow: 0 7px 20px rgba(91, 50, 19, 0.07);
  --radius: clamp(12px, 3.2vw, 18px);
  --gap: clamp(7px, 2vw, 11px);
  --pad: clamp(10px, 2.8vw, 14px);
  --nav-h: clamp(66px, 17vw, 82px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: clamp(13px, 3.4vw, 16px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: #f4eee7;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial,
    sans-serif;
  font-size: var(--font);
  color: var(--text);
  background: #f4eee7;
}

button {
  font: inherit;
}

button,
.action-btn {
  border: 0;
  color: inherit;
  background: none;
  padding: 0;
  cursor: pointer;
}

.app-shell {
  width: min(100%, var(--page-max));
  min-height: 100vh;
  margin: 2px auto 0;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 221, 178, 0.24), transparent 28%),
    linear-gradient(180deg, #fffaf5 0%, #fff8f1 100%);
  box-shadow: 0 0 50px rgba(50, 26, 8, 0.08);
  overflow-x: hidden;
}

.topbar {
  height: clamp(58px, 15vw, 72px);
  padding: calc(env(safe-area-inset-top, 0px) + 8px) var(--pad) 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  background: rgba(255, 251, 246, 0.96);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar__location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  font-size: 0.86em;
  font-weight: 700;
  white-space: nowrap;
}

.topbar__brand strong {
  font-size: clamp(19px, 5.6vw, 29px);
  letter-spacing: 0.04em;
  font-family: 'Songti SC', 'STSong', serif;
}

.topbar__menu {
  justify-self: end;
  width: clamp(56px, 15vw, 76px);
  height: clamp(31px, 8vw, 40px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(96, 55, 21, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brown-2);
}

.css-icon--pin {
  width: 14px;
  height: 18px;
  border-radius: 9px 9px 12px 12px;
  background: var(--gold);
  position: relative;
  transform: rotate(-2deg);
}

.css-icon--pin::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff8f1;
  top: 4px;
  left: 4.5px;
}

.chevron {
  display: inline-block;
  width: 0.52em;
  height: 0.52em;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
}

.chevron--right {
  transform: rotate(45deg);
}

.chevron--down {
  transform: rotate(135deg) translateY(2px);
}

.page {
  /* 最后一张内容卡片始终停在底部导航上方，不被导航覆盖 */
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 24px);
}

.card {
  margin: var(--gap);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  margin-top: 0;
  min-height: 0;
  aspect-ratio: 5 / 3;
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(255, 244, 226, 0.98) 0%,
      rgba(255, 239, 215, 0.88) 48%,
      rgba(206, 138, 70, 0.24) 100%
    ),
    linear-gradient(180deg, #ffe8ca 0%, #f6c787 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 58%;
  padding: clamp(18px, 5vw, 28px) 0 clamp(20px, 5vw, 28px) clamp(16px, 4.5vw, 24px);
}

.hero__eyebrow {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #86572e;
  font-size: 0.69em;
  font-weight: 700;
}

.hero h1 {
  margin: 9px 0 4px;
  font-size: clamp(24px, 7vw, 36px);
  line-height: 1.08;
  font-family: 'Songti SC', 'STSong', serif;
  color: #5e300f;
  letter-spacing: 0.04em;
}

.hero p {
  margin: 0 0 14px;
  color: #644126;
  font-size: clamp(14px, 4vw, 20px);
  font-family: 'Songti SC', 'STSong', serif;
}

.primary-btn {
  min-width: 108px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7e420f, #542604);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(91, 45, 8, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-art__sun {
  position: absolute;
  right: 5%;
  top: 7%;
  width: 44%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 229, 183, 0.95) 0 20%,
    rgba(229, 160, 90, 0.45) 47%,
    transparent 69%
  );
  filter: blur(2px);
}

.hero-art__candle {
  position: absolute;
  bottom: 15%;
  width: 9%;
  height: 24%;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(#f7e7ce, #d8a979);
  opacity: 0.58;
}

.hero-art__candle::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 17px;
  top: -15px;
  left: 50%;
  border-radius: 70% 30% 65% 35%;
  background: #ffb54d;
  transform: translateX(-50%) rotate(10deg);
  filter: blur(0.4px);
}

.hero-art__candle--1 {
  left: 49%;
  height: 18%;
}
.hero-art__candle--2 {
  left: 57%;
  height: 12%;
  width: 7%;
}

.hero-art__towel {
  position: absolute;
  right: 3%;
  bottom: 2%;
  width: 31%;
  height: 23%;
  border-radius: 50% 50% 34% 34%;
  background:
    repeating-linear-gradient(0deg, rgba(98, 52, 18, 0.05) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #c58c51, #9e6331);
  transform: rotate(-7deg);
}

.hero-art__towel--2 {
  right: 14%;
  bottom: 9%;
  transform: rotate(7deg);
  background:
    repeating-linear-gradient(0deg, rgba(98, 52, 18, 0.04) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #dfb781, #bd8051);
}

.hero-art__flower {
  position: absolute;
  right: 5%;
  bottom: 11%;
  width: 52px;
  height: 52px;
  z-index: 3;
}

.hero-art__flower i {
  position: absolute;
  width: 18px;
  height: 30px;
  background: #fffef2;
  border-radius: 60% 40% 55% 45%;
  left: 17px;
  top: 2px;
  transform-origin: 9px 24px;
  box-shadow: inset 0 -6px 8px rgba(239, 196, 99, 0.16);
}
.hero-art__flower i:nth-child(2) {
  transform: rotate(72deg);
}
.hero-art__flower i:nth-child(3) {
  transform: rotate(144deg);
}
.hero-art__flower i:nth-child(4) {
  transform: rotate(216deg);
}
.hero-art__flower i:nth-child(5) {
  transform: rotate(288deg);
}
.hero-art__flower b {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f1b33b;
  left: 20px;
  top: 19px;
}

.hero-art__foot {
  position: absolute;
  right: 14%;
  top: 15%;
  width: 27%;
  height: 66%;
  border-radius: 48% 42% 52% 45%;
  background: linear-gradient(110deg, #f2b27f 0%, #ffc89a 52%, #d77d4d 100%);
  transform: rotate(13deg);
  box-shadow:
    inset -12px -18px 30px rgba(145, 59, 24, 0.12),
    0 18px 35px rgba(120, 55, 19, 0.15);
  z-index: 2;
}

.toe {
  position: absolute;
  top: -5%;
  border-radius: 50%;
  background: linear-gradient(150deg, #fbc498, #dd8758);
}
.toe--1 {
  width: 25%;
  height: 18%;
  left: 0;
}
.toe--2 {
  width: 23%;
  height: 16%;
  left: 18%;
  top: -10%;
}
.toe--3 {
  width: 21%;
  height: 14%;
  left: 37%;
  top: -11%;
}
.toe--4 {
  width: 19%;
  height: 13%;
  left: 54%;
  top: -8%;
}
.toe--5 {
  width: 17%;
  height: 12%;
  left: 68%;
  top: -3%;
}

.hero-art__hand {
  position: absolute;
  right: -3%;
  width: 34%;
  height: 15%;
  border-radius: 50px;
  background: linear-gradient(180deg, #d98b5a, #f1ae7b);
  z-index: 4;
  box-shadow: inset 0 -8px 14px rgba(105, 47, 17, 0.09);
}
.hero-art__hand--1 {
  top: 36%;
  transform: rotate(-18deg);
}
.hero-art__hand--2 {
  top: 54%;
  transform: rotate(10deg);
}

.hero__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(91, 49, 16, 0.16);
}
.hero__dots span {
  width: 7px;
  height: 7px;
  border: 1.4px solid #fff;
  border-radius: 50%;
}
.hero__dots .is-active {
  background: #fff;
}

.section {
  padding: var(--pad);
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.section__title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.section__num {
  color: #a15b1e;
  font-family: Georgia, serif;
  font-size: 1.1em;
  font-weight: 700;
}

.section__title h2 {
  margin: 0;
  font-size: 1.08em;
  white-space: nowrap;
}

.section__title small {
  padding: 4px 7px;
  background: #fff1df;
  color: #9a6b45;
  border-radius: 999px;
  font-size: 0.66em;
  white-space: nowrap;
}

.text-btn {
  color: #855a39;
  font-size: 0.78em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tech-scroll {
  --tech-gap: clamp(6px, 1.6vw, 8px);
  display: flex;
  gap: var(--tech-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1px 1px 6px;
}

.tech-scroll::-webkit-scrollbar {
  display: none;
}

/* 关键：首屏严格 3 张卡片 */
.tech-card {
  flex: 0 0 calc((100% - (var(--tech-gap) * 2)) / 3);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: clamp(11px, 3vw, 15px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 14px rgba(89,48,16,.10);
  transform: translateY(0) scale(1);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
  will-change: transform;
  cursor: pointer;
}

.tech-card:focus-visible {
  outline: 3px solid rgba(185, 116, 39, 0.42);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .tech-card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 12px 26px rgba(89,48,16,.18);
    filter: brightness(1.015);
  }
}

.tech-card:active {
  transform: translateY(-1px) scale(.985);
  transition-duration: .09s;
}

.tech-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
  display: block;
  background:
    radial-gradient(circle at 50% 22%, #ead6c3 0 13%, transparent 13.4%),
    linear-gradient(180deg, #e8d7c5 0%, #f6eee5 55%, #d6b28f 100%);
}

/* HOME TECH IMAGE HOVER */
.tech-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform .32s ease,
    filter .32s ease;
}

@media (hover: hover) and (pointer: fine) {
  .tech-card:hover .tech-photo img {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.02);
  }
}

.avatar-placeholder {
  position: absolute;
  inset: 14% 14% 0;
}

.avatar-placeholder::before {
  content: '';
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  left: 27%;
  top: 6%;
  border-radius: 50%;
  background: linear-gradient(160deg, #5b3522 0 32%, #f0bc96 33% 78%, #6a3b24 79%);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.16);
}

.avatar-placeholder::after {
  content: '';
  position: absolute;
  width: 86%;
  height: 62%;
  left: 7%;
  bottom: -4%;
  border-radius: 46% 46% 10% 10%;
  background:
    linear-gradient(78deg, transparent 46%, rgba(152, 95, 52, 0.32) 47% 49%, transparent 50%),
    linear-gradient(102deg, transparent 46%, rgba(152, 95, 52, 0.32) 47% 49%, transparent 50%),
    linear-gradient(180deg, #e6c9aa 0%, #cfaa83 100%);
}

.avatar-placeholder i {
  position: absolute;
  width: 24%;
  height: 10%;
  background: #5b3423;
  border-radius: 50%;
  top: 4%;
  left: 38%;
  z-index: 3;
}

.status {
  position: absolute;
  z-index: 5;
  left: 6px;
  top: 6px;
  padding: 3px 6px;
  border-radius: 7px;
  color: #fff;
  font-size: clamp(8px, 2.1vw, 11px);
  font-weight: 700;
}

.status--online {
  background: var(--green);
}
.status--busy {
  background: var(--orange);
}
.status--offline {
  background: #8d8580;
}

.tech-card__body {
  padding: clamp(6px, 1.6vw, 8px);
}

.tech-card__name {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: center;
}

.tech-card__name strong {
  font-size: 0.86em;
  white-space: nowrap;
}

.tech-card__name span {
  color: #eb6b32;
  font-size: 0.69em;
  font-weight: 800;
  white-space: nowrap;
}

.tech-card p {
  margin: 4px 0 4px;
  color: #795d48;
  font-size: clamp(8px, 2.2vw, 11px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tech-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #e75e21;
}
.tech-card__price b {
  font-size: 1em;
}
.tech-card__price small {
  font-size: 0.62em;
  color: #98765e;
}

.tech-book {
  width: 100%;
  margin-top: 5px;
  padding: clamp(5px, 1.4vw, 7px) 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7a3c0b, #4e2507);
  color: #fff;
  font-size: clamp(9px, 2.45vw, 12px);
  font-weight: 800;
}

.technician-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  padding: max(18px, env(safe-area-inset-top, 0px)) 12px
    max(18px, env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
}

.technician-detail-modal[hidden] {
  display: none;
}

.technician-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(31, 16, 7, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.technician-detail {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid rgba(125, 72, 27, 0.12);
  border-radius: 24px;
  background: #fffaf5;
  box-shadow: 0 24px 70px rgba(41, 20, 7, 0.3);
  animation: technician-detail-in 0.2s ease-out;
}

@keyframes technician-detail-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.technician-detail__close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(40, 21, 9, 0.62);
  color: #fff;
  box-shadow: 0 5px 16px rgba(35, 17, 6, 0.2);
}

.technician-detail__close span {
  margin-top: -2px;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

.technician-detail__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #ead6c3, #c69d76);
}

.technician-detail__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.technician-detail__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(43, 22, 8, 0.25));
  pointer-events: none;
}

.technician-detail__status {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(45, 22, 8, 0.2);
}

.technician-detail__content {
  padding: 18px;
}

.technician-detail__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.technician-detail__heading small {
  color: #aa7b52;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.technician-detail__heading h2 {
  margin: 3px 0 0;
  color: #3f2615;
  font-size: 24px;
}

.technician-detail__heading > strong {
  color: #e66a31;
  font-size: 15px;
  white-space: nowrap;
}

.technician-detail__experience {
  margin: 9px 0 13px;
  color: #8c7462;
  font-size: 13px;
}

.technician-detail__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.technician-detail__skills span {
  padding: 6px 10px;
  border: 1px solid rgba(133, 81, 37, 0.12);
  border-radius: 999px;
  background: #fff2e3;
  color: #75421e;
  font-size: 12px;
  font-weight: 700;
}

.technician-detail__footer {
  margin-top: 18px;
  padding-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(113, 61, 17, 0.1);
}

.technician-detail__footer > div {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.technician-detail__footer span {
  margin-right: 4px;
  color: #907868;
  font-size: 11px;
}

.technician-detail__footer strong {
  color: #e65e22;
  font-size: 22px;
}

.technician-detail__footer small {
  color: #98765e;
  font-size: 11px;
}

.technician-detail__book {
  min-width: 128px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7a3c0b, #4e2507);
  color: #fff;
  box-shadow: 0 7px 17px rgba(81, 39, 7, 0.24);
  font-size: 14px;
  font-weight: 800;
}

.has-technician-detail {
  overflow: hidden;
}

@media (max-width: 480px) {
  .technician-detail-modal {
    padding: max(12px, env(safe-area-inset-top, 0px)) 8px
      max(8px, env(safe-area-inset-bottom, 0px));
    align-items: end;
  }

  .technician-detail {
    max-height: calc(100vh - max(20px, env(safe-area-inset-top, 0px)));
    border-radius: 22px 22px 14px 14px;
  }

  .technician-detail__photo {
    aspect-ratio: 16 / 11;
  }
}


/* =========================================================
   HOME TECH SHOWCASE CSS START
   服务保障下方技师展示
========================================================= */

.home-tech-showcase {
  position: relative;

  margin:
    12px -6px 0;

  padding-top: 12px;

  border-top:
    1px solid rgba(123, 73, 34, .08);

  overflow: visible;
}

.home-tech-grid {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 6px;

  width: 100%;
}

.home-tech-grid .tech-card {
  width: 100%;
  min-width: 0;

  flex: none;

  scroll-snap-align: unset;

  border-radius:
    clamp(12px, 3.2vw, 16px);

  box-shadow:
    0 6px 16px
    rgba(89, 48, 16, .11);
}

.home-tech-grid
.tech-card__body {
  padding:
    clamp(9px, 2.4vw, 12px);
}

.home-tech-grid
.tech-card__name strong {
  font-size: .95em;
}

.home-tech-grid
.tech-card__name span {
  font-size: .76em;
}

.home-tech-grid
.tech-card p {
  margin:
    6px 0 7px;

  font-size:
    clamp(9px, 2.45vw, 12px);
}

.home-tech-grid
.tech-card__price b {
  font-size: 1.08em;
}

.home-tech-grid
.tech-card__price small {
  font-size: .68em;
}

.home-tech-grid
.tech-book {
  margin-top: 8px;

  padding:
    clamp(7px, 2vw, 9px) 4px;

  font-size:
    clamp(10px, 2.6vw, 13px);
}


/* =========================================================
   查看更多 / 收起
========================================================= */

.home-tech-toggle-wrap {
  display: flex;

  justify-content: center;

  margin:
    11px 0 1px;
}

.home-tech-toggle-wrap[hidden] {
  display: none !important;
}

.home-tech-toggle {
  min-width: 112px;

  height: 36px;

  padding:
    0 23px;

  border:
    1px solid rgba(117, 59, 17, .22);

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.98),
      #f7e5ce
    );

  color: #71370c;

  box-shadow:
    0 5px 15px
    rgba(93, 50, 19, .15);

  font-size:
    clamp(12px, 3.1vw, 14px);

  font-weight: 800;

  cursor: pointer;

  transition:
    transform .16s ease,
    box-shadow .18s ease,
    background .18s ease;
}


/* =========================================================
   折叠状态

   遮罩上边缘：
   第二行卡片实际高度 50% 处。

   遮罩下边缘：
   向下延伸 16px，
   衔接固定底部导航栏上沿。
========================================================= */

.home-tech-showcase.is-collapsed
.home-tech-toggle-wrap {
  position: absolute;

  left: 0;
  right: 0;

  top:
    var(
      --home-tech-mask-top,
      68%
    );

  bottom: -16px;

  z-index: 12;

  margin: 0;

  display: flex;

  align-items: flex-start;
  justify-content: center;

  pointer-events: none;

  /*
   * 上沿完全透明，
   * 向下逐渐形成羽化遮罩。
   */
  background:
    linear-gradient(
      180deg,
      rgba(255, 249, 242, 0)
        0%,

      rgba(255, 249, 242, .10)
        10%,

      rgba(255, 249, 242, .30)
        22%,

      rgba(255, 249, 242, .58)
        36%,

      rgba(255, 249, 242, .82)
        52%,

      rgba(255, 249, 242, .95)
        72%,

      #fff9f2
        100%
    );

  -webkit-backdrop-filter:
    blur(1.2px);

  backdrop-filter:
    blur(1.2px);
}


/*
 * 按钮中心恰好落在
 * 第二行技师卡片垂直中心线上。
 */
.home-tech-showcase.is-collapsed
.home-tech-toggle {
  position: absolute;

  z-index: 3;

  top: 0;
  left: 50%;

  pointer-events: auto;

  transform:
    translate(
      -50%,
      -50%
    );

  box-shadow:
    0 7px 20px
    rgba(91, 47, 17, .19);
}


/* =========================================================
   展开状态

   遮罩完全消失，
   收起按钮回到底部正常位置。
========================================================= */

.home-tech-showcase.is-expanded
.home-tech-toggle-wrap {
  position: relative;

  margin:
    12px 0 1px;

  background: none;

  pointer-events: auto;
}

.home-tech-showcase.is-expanded
.home-tech-toggle {
  position: static;

  transform: none;
}


/* =========================================================
   按钮交互
========================================================= */

@media (hover: hover)
and (pointer: fine) {

  .home-tech-showcase.is-expanded
  .home-tech-toggle:hover {
    transform:
      translateY(-2px);

    background:
      #fff4e6;

    box-shadow:
      0 7px 16px
      rgba(93, 50, 19, .14);
  }

  .home-tech-showcase.is-collapsed
  .home-tech-toggle:hover {
    transform:
      translate(
        -50%,
        calc(-50% - 2px)
      );

    box-shadow:
      0 9px 22px
      rgba(91, 47, 17, .23);
  }
}

.home-tech-showcase.is-expanded
.home-tech-toggle:active {
  transform:
    scale(.95);
}

.home-tech-showcase.is-collapsed
.home-tech-toggle:active {
  transform:
    translate(
      -50%,
      -50%
    )
    scale(.95);
}


/* =========================================================
   卡片交互
========================================================= */

@media (hover: hover)
and (pointer: fine) {

  .home-tech-grid
  .tech-card:hover {
    transform:
      translateY(-4px)
      scale(1.008);

    box-shadow:
      0 12px 25px
      rgba(89, 48, 16, .16);
  }
}

.home-tech-grid
.tech-card:active {
  transform:
    scale(.985);
}

.home-tech-empty,
.home-tech-grid
.loading-card {
  grid-column:
    1 / -1;
}


/* =========================================================
   首页右下角返回顶部
========================================================= */

.home-back-top {
  position: fixed;

  right: 15px;

  bottom:
    calc(
      var(--nav-h, 62px) +
      env(
        safe-area-inset-bottom,
        0px
      ) +
      15px
    );

  z-index: 90;

  width: 43px;
  height: 43px;

  padding: 0;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  background: #8a4517;

  color: #fff;

  box-shadow:
    0 6px 17px
    rgba(87, 43, 15, .28);

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform:
    translateY(8px);

  transition:
    opacity .18s ease,
    visibility .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.home-back-top.is-visible {
  opacity: .94;
  visibility: visible;
  pointer-events: auto;

  transform:
    translateY(0);
}

.home-back-top svg {
  width: 25px;
  height: 25px;

  fill: none;

  stroke: currentColor;

  stroke-width: 3.6;

  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover)
and (pointer: fine) {

  .home-back-top:hover {
    opacity: 1;

    transform:
      translateY(-3px);

    box-shadow:
      0 9px 21px
      rgba(87, 43, 15, .34);
  }
}

.home-back-top:active {
  transform:
    scale(.91);
}

/* HOME TECH SHOWCASE CSS END */

.more-card {
  flex: 0 0 27%;
  min-width: 84px;
  scroll-snap-align: start;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff8ef, #faead7);
  box-shadow: inset 0 0 0 1px rgba(135, 78, 31, 0.08);
  color: #70401d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.more-card__icon {
  font-weight: 900;
  letter-spacing: 3px;
}

.more-card__arrow {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f8ddb9;
  display: grid;
  place-items: center;
}

.swipe-hint {
  margin: 2px auto 0;
  width: max-content;
  max-width: 100%;
  color: #c29367;
  font-size: 0.72em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-arrow {
  font-size: 1.35em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.6vw, 9px);
}

.project-card {
  display: block;
  min-width: 0;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(84,45,16,.08);
  padding-bottom: 9px;
  transform: translateY(0) scale(1);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    transform: translateY(-4px) scale(1.018);
    box-shadow: 0 11px 24px rgba(84,45,16,.16);
    filter: brightness(1.015);
  }
}

.project-card:active {
  transform: translateY(-1px) scale(.97);
  transition-duration: .09s;
}

.project-art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #f2c28e, #9c6038);
}

/* HOME PROJECT IMAGE HOVER */
.project-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform .32s ease,
    filter .32s ease;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-art img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.02);
  }
}

.project-card strong,
.project-card small,
.project-card > span:last-child {
  display: block;
  padding-left: 7px;
  padding-right: 5px;
}

.project-card__prices > span {
  display: block;
}

.project-card__member-price {
  margin-top: 2px;
  color: #9a623a;
  font-weight: 700;
}

.project-card strong {
  margin-top: 6px;
  font-size: clamp(10px, 2.75vw, 14px);
  white-space: nowrap;
}

.project-card small {
  margin-top: 4px;
  color: #8b7667;
  font-size: clamp(8px, 2.15vw, 11px);
}

.project-card > span:last-child {
  margin-top: 4px;
  color: #8f705a;
  font-size: clamp(8px, 2vw, 10px);
  white-space: nowrap;
}

.project-card b {
  color: #e85d21;
  font-size: 1.35em;
}

.project-card em {
  color: #f05c29;
  font-style: normal;
  font-size: 0.82em;
  margin-left: 3px;
}

.foot-shape {
  position: absolute;
  width: 31%;
  height: 78%;
  border-radius: 48% 44% 42% 51%;
  background: linear-gradient(180deg, #f6c49e, #e98e61);
  left: 37%;
  top: 11%;
  transform: rotate(17deg);
  box-shadow: inset -5px -7px 10px rgba(118, 54, 25, 0.1);
}

.foot-shape::before {
  content: '';
  position: absolute;
  width: 33%;
  height: 18%;
  border-radius: 50%;
  left: -3%;
  top: -7%;
  background: #f4bd94;
  box-shadow:
    10px -5px 0 -1px #f2b68d,
    19px -5px 0 -2px #f0b086,
    27px -1px 0 -3px #eeaa80;
}

.massage-hand {
  position: absolute;
  width: 49%;
  height: 23%;
  border-radius: 999px;
  background: #f0ac81;
  right: 5%;
  top: 47%;
  transform: rotate(-13deg);
}

.project-art--press .press-dot {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(121, 57, 22, 0.25);
  left: 46%;
  top: 51%;
}

.back-shape {
  position: absolute;
  width: 78%;
  height: 60%;
  left: 8%;
  bottom: -6%;
  border-radius: 48% 48% 8% 8%;
  background: linear-gradient(180deg, #edb386, #d98454);
}

.oil-drop {
  position: absolute;
  width: 20%;
  height: 30%;
  left: 42%;
  top: 22%;
  background: #f4d386;
  border-radius: 70% 30% 55% 45%;
  transform: rotate(45deg);
}

.head-shape {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  right: 14%;
  top: 20%;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(160deg, #6c3b25 0 34%, #efb78e 35%);
}

.wave-line,
.wave-line::before,
.wave-line::after {
  position: absolute;
  content: '';
  width: 34%;
  height: 11%;
  border-top: 3px solid rgba(255, 239, 208, 0.8);
  border-radius: 50%;
  left: 10%;
  top: 35%;
}
.wave-line::before {
  left: 7%;
  top: 10px;
  width: 100%;
}
.wave-line::after {
  left: 14%;
  top: 22px;
  width: 84%;
}

.vip-banner {
  min-height: clamp(85px, 23vw, 112px);
  padding: clamp(12px, 3vw, 18px);
  background:
    radial-gradient(circle at 11% 90%, rgba(255, 201, 118, 0.3), transparent 35%),
    linear-gradient(100deg, #63330d, #4a2208 70%, #7d4210);
  color: #ffe3b2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.vip-card-icon {
  width: clamp(67px, 18vw, 88px);
  height: clamp(47px, 12vw, 62px);
  border-radius: 9px;
  position: relative;
  display: grid;
  place-items: center;
  color: #ffd68e;
  background: linear-gradient(135deg, #6d3e19, #9a5b1d);
  border: 1px solid rgba(255, 218, 151, 0.28);
  transform: rotate(-5deg);
  box-shadow: 0 8px 18px rgba(20, 9, 2, 0.18);
}
.vip-card-icon span {
  font-family: Georgia, serif;
  font-size: 1.3em;
}
.vip-card-icon i {
  position: absolute;
  width: 13px;
  height: 9px;
  top: -9px;
  left: 12px;
  background: #f6c75f;
  clip-path: polygon(0 100%, 18% 0, 50% 55%, 82% 0, 100% 100%);
}

.vip-banner__content h2 {
  margin: 0 0 6px;
  font-size: clamp(14px, 4vw, 20px);
}
.vip-banner__content p {
  margin: 0;
  font-size: clamp(8px, 2.2vw, 11px);
  color: #e4c292;
}

.vip-btn {
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe5b2, #f4c77d);
  color: #5e2b08;
  font-weight: 900;
  white-space: nowrap;
  font-size: 0.78em;
}

.vip-pricing-modal {
  position: fixed;
  inset: 0 0 calc(var(--nav-h) + var(--safe-bottom)) 0;
  z-index: 180;
  padding: max(12px, env(safe-area-inset-top, 0px)) 10px 10px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.vip-pricing-modal[hidden] {
  display: none;
}

.vip-pricing-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(28, 13, 5, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: default;
}

.vip-pricing {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 20px), 440px);
  min-width: 0;
  max-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 123, 0.42);
  border-radius: 24px;
  color: #fff6e7;
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 197, 86, 0.2), transparent 24%),
    radial-gradient(circle at 88% 92%, rgba(210, 99, 26, 0.24), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 10px),
    linear-gradient(145deg, #351805 0%, #160b06 52%, #482507 100%);
  box-shadow:
    0 28px 70px rgba(20, 7, 1, 0.6),
    0 8px 22px rgba(255, 175, 62, 0.12),
    inset 0 1px 0 rgba(255, 239, 203, 0.2);
  animation: vip-pricing-rise 0.22s ease-out both;
}

.vip-pricing::before,
.vip-pricing::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 205, 107, 0.12);
  transform: rotate(45deg);
  pointer-events: none;
}

.vip-pricing::before {
  left: -92px;
  top: 74px;
}

.vip-pricing::after {
  right: -102px;
  bottom: 55px;
}

.vip-pricing__scroll {
  position: relative;
  z-index: 1;
  max-height: calc(100dvh - var(--nav-h) - var(--safe-bottom) - 24px);
  padding: 22px 15px 17px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 205, 115, 0.5) transparent;
}

.vip-pricing__close {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 224, 168, 0.34);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 228, 180, 0.2), rgba(87, 38, 5, 0.5));
  color: #fff4dd;
  box-shadow: 0 8px 18px rgba(12, 5, 1, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 25px;
  line-height: 1;
}

.vip-pricing__close:focus-visible {
  outline: 2px solid #ffd17b;
  outline-offset: 2px;
}

.vip-pricing__title {
  min-height: 38px;
  padding: 1px 40px 0 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.vip-pricing__title h2 {
  margin: 0;
  color: #fff8ea;
  font-family: 'Songti SC', 'STSong', serif;
  font-size: clamp(22px, 6.8vw, 31px);
  letter-spacing: 0.04em;
  text-shadow: 0 3px 2px rgba(0, 0, 0, 0.72), 0 0 14px rgba(255, 196, 89, 0.22);
}

.vip-pricing__title small {
  color: #f6d4a0;
  font-size: clamp(9px, 2.8vw, 12px);
  font-weight: 700;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.68);
}

.vip-pricing__slogan {
  margin: 13px 0 14px;
  padding: 9px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 180, 50, 0.24);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(92, 42, 3, 0.65), rgba(137, 68, 7, 0.84), rgba(92, 42, 3, 0.65));
  color: #ffb427;
  box-shadow: 0 8px 18px rgba(10, 4, 1, 0.3), inset 0 1px 0 rgba(255, 212, 128, 0.12);
  font-size: clamp(11px, 3.2vw, 15px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 2px 2px rgba(47, 18, 0, 0.9), 0 0 10px rgba(255, 174, 31, 0.28);
}

.vip-pricing__slogan span {
  font-size: 1.35em;
}

.vip-pricing__columns,
.vip-pricing__item {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 0.78fr 1fr 0.86fr;
  align-items: center;
  gap: 5px;
}

.vip-pricing__columns {
  padding: 0 10px 6px;
  color: #e9c995;
  font-size: clamp(9px, 2.5vw, 11px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
}

.vip-pricing__columns span:not(:first-child),
.vip-pricing__item > :not(:first-child) {
  text-align: center;
}

.vip-pricing__columns span:last-child,
.vip-pricing__item > :last-child {
  text-align: right;
}

.vip-pricing__list {
  display: grid;
  gap: 7px;
}

.vip-pricing__item {
  min-height: 45px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 222, 165, 0.12);
  border-radius: 13px;
  background: linear-gradient(105deg, rgba(255, 247, 228, 0.1), rgba(255, 193, 94, 0.045));
  box-shadow: 0 9px 18px rgba(9, 3, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  font-size: clamp(10px, 2.8vw, 12.5px);
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.68);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.vip-pricing__item strong {
  min-width: 0;
  color: #fff8ea;
  line-height: 1.35;
}

.vip-pricing__item span {
  color: #ead9c1;
  white-space: nowrap;
}

.vip-pricing__item b {
  color: #ffd16f;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 2px 2px rgba(64, 24, 0, 0.9), 0 0 10px rgba(255, 190, 59, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .vip-pricing__item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 210, 127, 0.3);
  }
}

.vip-pricing__notes {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.vip-pricing__notes section {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 220, 157, 0.15);
  border-radius: 15px;
  background: rgba(255, 242, 217, 0.075);
  box-shadow: 0 10px 22px rgba(8, 3, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-pricing__notes h3 {
  margin: 0 0 9px;
  color: #ffd48a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
}

.vip-pricing__notes ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.vip-pricing__notes li,
.vip-pricing__notes p {
  margin: 0;
  color: #eadbc6;
  font-size: clamp(10px, 2.7vw, 12px);
  line-height: 1.55;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.62);
}

.vip-pricing__notes li {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.vip-pricing__notes strong {
  color: #ffe19f;
  white-space: nowrap;
}

.has-vip-pricing {
  overflow: hidden;
}

.has-vip-pricing > .app-shell {
  pointer-events: none;
  user-select: none;
}

@keyframes vip-pricing-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.965);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vip-pricing {
    animation: none;
  }
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  padding: 9px;
  border-radius: 13px;
  background: #fff9f2;
}

.guarantee-item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  align-items: center;
  padding: 7px;
  text-align: left;
  border-right: 1px solid rgba(112, 63, 22, 0.07);
}

.guarantee-item:last-child {
  border-right: 0;
}

.guarantee-item strong,
.guarantee-item small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guarantee-item strong {
  font-size: clamp(8px, 2.3vw, 12px);
}

.guarantee-item small {
  margin-top: 3px;
  color: #9a8878;
  font-size: clamp(6px, 1.7vw, 9px);
}

.guarantee-icon {
  width: clamp(24px, 6.5vw, 32px);
  aspect-ratio: 1;
  position: relative;
  display: block;
}

.guarantee-icon--shield {
  border: 2px solid #b56d29;
  border-radius: 11px 11px 16px 16px;
}
.guarantee-icon--shield::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #b56d29;
  font-weight: 900;
}

.guarantee-icon--bottle {
  width: 20px;
  margin-inline: 3px;
  border: 2px solid #b56d29;
  border-radius: 5px 5px 8px 8px;
}
.guarantee-icon--bottle::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 6px;
  left: 4px;
  top: -6px;
  border: 2px solid #b56d29;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.guarantee-icon--leaf::before,
.guarantee-icon--leaf::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 23px;
  border: 2px solid #b56d29;
  border-radius: 100% 0 100% 0;
  top: 3px;
}
.guarantee-icon--leaf::before {
  left: 3px;
  transform: rotate(-28deg);
}
.guarantee-icon--leaf::after {
  right: 3px;
  transform: scaleX(-1) rotate(-28deg);
}

.guarantee-icon--heart::before {
  content: '♡';
  position: absolute;
  inset: -6px 0 0;
  color: #b56d29;
  font-size: 38px;
  line-height: 1;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.promo-card {
  min-height: clamp(92px, 25vw, 122px);
  border-radius: 14px;
  padding: 13px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  text-align: left;
  overflow: hidden;
}

.promo-card--new {
  background: linear-gradient(120deg, #fff1df, #ffd9ba);
}
.promo-card--invite {
  background: linear-gradient(120deg, #fff0e5, #ffcfc0);
}

.promo-card__text strong,
.promo-card__text small {
  display: block;
}

.promo-card__text strong {
  color: #e24e20;
  font-family: 'Songti SC', 'STSong', serif;
  font-size: clamp(15px, 4vw, 20px);
}

.promo-card__text small {
  margin: 4px 0 9px;
  color: #c97550;
  font-size: clamp(8px, 2.2vw, 11px);
}

.promo-card__text em {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: #ef6c31;
  font-style: normal;
  font-size: clamp(8px, 2.1vw, 10px);
  font-weight: 800;
}

.gift-art,
.coupon-art {
  position: relative;
  height: 72px;
}

.gift-box {
  position: absolute;
  width: 58px;
  height: 48px;
  right: 7px;
  bottom: 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff834e, #e94b22);
  box-shadow: 0 10px 18px rgba(209, 76, 28, 0.18);
}

.gift-ribbon {
  position: absolute;
  width: 10px;
  height: 60px;
  right: 31px;
  bottom: 0;
  background: #ffb044;
  z-index: 2;
}

.gift-bow::before,
.gift-bow::after {
  content: '';
  position: absolute;
  width: 29px;
  height: 18px;
  right: 29px;
  top: 5px;
  border: 7px solid #ffad38;
  border-radius: 50% 50% 50% 0;
  transform: rotate(20deg);
}
.gift-bow::after {
  right: 5px;
  border-radius: 50% 50% 0 50%;
  transform: scaleX(-1) rotate(20deg);
}

.coupon-art i {
  position: absolute;
  width: 47px;
  height: 58px;
  right: 7px;
  bottom: 3px;
  border-radius: 8px;
  background: linear-gradient(155deg, #ff774c, #e54828);
  transform: rotate(6deg);
  box-shadow: 0 9px 15px rgba(199, 64, 33, 0.12);
}
.coupon-art i:nth-child(2) {
  right: 27px;
  bottom: 0;
  transform: rotate(-7deg);
  background: #f4613b;
}
.coupon-art i:nth-child(3) {
  right: 47px;
  bottom: 4px;
  transform: rotate(-15deg);
  background: #f78853;
}
.coupon-art i::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd99b;
  left: 17px;
  top: 10px;
}

.bottom-nav {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--page-max));
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding: 7px 9px var(--safe-bottom);
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  /* 关键修复：使用完全不透明背景，页面内容不会透过导航显示 */
  background: #fffdf9;
  border-top: 1px solid rgba(95, 51, 16, 0.1);
  box-shadow: 0 -7px 20px rgba(75, 40, 16, 0.08);

  /* 防止底部导航内部或后方内容从圆角/边缘穿出 */
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.nav-icon-img {
  width: 25px;
  height: 25px;

  display: block;

  object-fit: contain;

  flex: 0 0 25px;

  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.nav-item:hover .nav-icon-img {
  transform: translateY(-1px) scale(1.05);
}

.nav-item:active .nav-icon-img {
  transform: scale(0.92);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #7f6a59;
  font-size: clamp(10px, 2.7vw, 13px);
}

.nav-item.is-active {
  color: #71370c;
  font-weight: 800;
}

.nav-icon {
  width: clamp(23px, 6vw, 30px);
  height: clamp(23px, 6vw, 30px);
  position: relative;
  display: block;
}

.nav-icon--home::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 18px;
  height: 15px;
  background: currentColor;
  border-radius: 2px;
}
.nav-icon--home::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 17px;
  height: 17px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 2px;
}

.nav-icon--foot {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  margin-top: 1px;
  border: 0;
  transform: none;
}

.nav-icon--foot::before,
.nav-icon--foot::after {
  content: '';
  display: none;
}

.nav-icon--foot {
  background:
    linear-gradient(currentColor, currentColor) left top / 9px 9px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 9px 9px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 9px 9px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 9px 9px no-repeat;
  border-radius: 3px;
}

.nav-icon--foot::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  left: -3px;
  top: -7px;
  box-shadow:
    5px -3px 0 -1px currentColor,
    10px -2px 0 -1.3px currentColor;
}

.nav-icon--calendar {
  border: 2px solid currentColor;
  border-radius: 4px;
  margin-top: 3px;
}
.nav-icon--calendar::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.nav-icon--gift {
  border: 2px solid currentColor;
  border-radius: 4px;
  margin-top: 6px;
}
.nav-icon--gift::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  background: currentColor;
}
.nav-icon--gift::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 50%;
  left: 4px;
  top: -7px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px);
  transform: translate(-50%, 14px);
  max-width: min(84vw, 360px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(49, 28, 14, 0.9);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 360px) {
  .section__title small {
    display: none;
  }
  .vip-banner {
    gap: 8px;
  }
  .vip-banner__content p {
    display: none;
  }
}

@media (min-width: 481px) {
  body {
    padding: 18px 0;
  }
  .app-shell {
    min-height: calc(100vh - 36px);
    border-radius: 28px;
    overflow: hidden;
  }
  .bottom-nav {
    bottom: 18px;
    border-radius: 0 0 28px 28px;
    background: #fffdf9;
  }
  .vip-pricing-modal {
    bottom: calc(18px + var(--nav-h) + var(--safe-bottom));
  }
  .vip-pricing__scroll {
    max-height: calc(100dvh - 18px - var(--nav-h) - var(--safe-bottom) - 24px);
  }
}
