:root {
  color-scheme: light;
  --ink: #2a1d16;
  --brown: #59483d;
  --gold: #a1846d;
  --muted: #8c7c72;
  --line: rgba(188, 151, 86, 0.18);
  --paper: #fffdf9;
  --cream: #fbf7f0;
  --shadow: 0 14px 42px rgba(72, 52, 34, 0.07);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eee8df;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf7f0 0%, #fffdf9 46%, #f6efe6 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

.app-shell {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fbf7f0 0%, #fffdf9 46%, #f6efe6 100%);
  box-shadow: 0 0 50px rgba(58, 33, 20, 0.08);
  overflow-x: hidden;
}

.app-content {
  min-height: 100vh;
  padding: 12px 14px calc(94px + env(safe-area-inset-bottom));
}

.page {
  animation: page-in 220ms ease-out;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.logo {
  display: block;
  width: 250px;
  max-width: calc(100% - 100px);
  height: auto;
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 590px;
  padding: 22px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 241, 231, 0.96));
  border: 1px solid rgba(188, 151, 86, 0.22);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(72, 52, 34, 0.09);
}

.hero::before,
.header-card::after,
.summary-card::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: rgba(188, 151, 86, 0.1);
}

.hero::before {
  top: 90px;
  right: -120px;
  width: 330px;
  height: 330px;
}

.hero-nav {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 70px;
  align-items: flex-start;
  justify-content: center;
}

.status-pill {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 10px;
  color: var(--brown);
  font-size: 11px;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid rgba(190, 157, 96, 0.24);
  border-radius: 999px;
}

.hero-copy,
.hero-panel,
.hero-actions {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 350px;
  margin-top: 28px;
}

.eyebrow {
  color: #a3846a;
  font-size: 11px;
  letter-spacing: 2px;
}

.hero h1,
.page-title,
.service-name,
.artist-name,
.success-title,
.section-title h2 {
  font-family: "STFangsong", "FangSong", "STKaiti", "KaiTi", "Songti SC", serif;
  font-weight: 300;
}

.hero h1 {
  max-width: 390px;
  margin: 17px 0 0;
  color: #57463c;
  font-size: clamp(34px, 8.5vw, 41px);
  font-weight: 300;
  line-height: 1.28;
  letter-spacing: 0.035em;
}

.hero-subtitle {
  max-width: 350px;
  margin: 18px 0 0;
  color: #6f6258;
  font-size: 15px;
  line-height: 1.7;
}

.hero-panel {
  display: flex;
  width: fit-content;
  align-items: center;
  margin-top: 25px;
  padding: 13px 16px;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(190, 157, 96, 0.2);
  border-radius: 16px;
}

.hero-number {
  font-family: Georgia, serif;
  font-size: 32px;
}

.hero-panel small {
  display: block;
  color: var(--muted);
}

.panel-divider {
  width: 1px;
  height: 36px;
  margin: 0 18px;
  background: rgba(74, 44, 29, 0.16);
}

.hero-actions,
.action-stack {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.hero-actions {
  grid-template-columns: 1fr 1fr;
}

.primary-btn,
.ghost-btn,
.small-btn {
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 0;
}

.hero-actions > button {
  width: 100%;
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
}

.primary-btn {
  color: #fffaf3;
  background: linear-gradient(135deg, #675247, #9d7e65);
  box-shadow: 0 10px 24px rgba(89, 72, 61, 0.15);
}

.ghost-btn {
  color: var(--brown);
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid rgba(188, 151, 86, 0.28);
}

.studio-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.studio-strip > div {
  min-width: 0;
  padding: 15px 6px;
  text-align: center;
}

.studio-strip strong,
.studio-strip span {
  display: block;
}

.studio-strip strong {
  font-size: 18px;
}

.studio-strip span {
  margin-top: 5px;
  color: #91867d;
  font-size: 11px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 2px 14px;
}

.section-title h2 {
  margin: 0;
  color: #5d4d43;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.section-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.text-btn {
  padding: 4px;
  color: var(--gold);
  white-space: nowrap;
  background: none;
  border: 0;
}

.preview-list,
.service-list,
.artist-list,
.booking-list {
  display: grid;
  gap: 12px;
}

.preview-card,
.service-card,
.artist-card,
.booking-card {
  padding: 18px;
}

.preview-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.preview-card small,
.service-card small {
  color: var(--gold);
  letter-spacing: 1px;
}

.preview-card h3,
.service-card h3 {
  margin: 8px 0 5px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 21px;
  font-weight: 400;
}

.preview-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.price {
  margin-left: 12px;
  color: var(--brown);
  font-family: Georgia, serif;
  font-size: 22px;
}

.header-card,
.summary-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #fffdf9, #f3e8d9);
}

.header-card::after,
.summary-card::after {
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
}

.step-number {
  position: absolute;
  top: 12px;
  right: 20px;
  color: rgba(188, 151, 86, 0.2);
  font-size: 72px;
}

.page-title {
  position: relative;
  z-index: 1;
  margin: 30px 0 0;
  color: #57463c;
  font-size: 33px;
  letter-spacing: 0.035em;
}

.page-subtitle {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: #6f6258;
  font-size: 14px;
  line-height: 1.65;
}

.service-list,
.artist-list {
  margin-top: 16px;
  padding-bottom: 74px;
}

.selectable {
  position: relative;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
}

.selectable.active {
  border-color: rgba(154, 111, 53, 0.65);
  box-shadow: 0 16px 42px rgba(72, 52, 34, 0.1);
}

.service-top,
.artist-top,
.booking-head,
.detail-row,
.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  padding: 5px 9px;
  color: var(--brown);
  font-size: 11px;
  background: #f7ecdd;
  border-radius: 999px;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.service-meta div {
  padding: 9px 5px;
  text-align: center;
  background: rgba(188, 151, 86, 0.08);
  border-radius: 10px;
}

.service-meta span,
.service-meta strong {
  display: block;
}

.service-meta span {
  color: #9c8f88;
  font-size: 9px;
}

.service-meta strong {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
}

.artist-card {
  display: flex;
  gap: 16px;
  align-items: center;
}

.portrait {
  display: flex;
  flex: 0 0 82px;
  width: 82px;
  height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(180deg, #fff8eb, #d7b66f);
  border: 1px solid rgba(188, 151, 86, 0.22);
  border-radius: 44px 44px 14px 14px;
}

.avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  background: rgba(255, 253, 249, 0.9);
  border-radius: 50%;
}

.portrait small {
  max-width: 72px;
  color: var(--brown);
  text-align: center;
  font-size: 9px;
}

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

.artist-name {
  font-size: 23px;
}

.artist-role,
.artist-specialty,
.artist-slots {
  display: block;
}

.artist-role {
  color: var(--gold);
  font-size: 12px;
}

.artist-specialty {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.artist-slots {
  margin-top: 14px;
  font-size: 12px;
}

.date-list {
  display: flex;
  gap: 9px;
  padding-bottom: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.date-list::-webkit-scrollbar {
  display: none;
}

.date-item,
.slot {
  flex: 0 0 auto;
  color: var(--muted);
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.date-item {
  width: 72px;
  height: 78px;
}

.date-item span,
.slot span {
  display: block;
}

.date-item span + span {
  margin-top: 7px;
  color: var(--ink);
}

.date-item.active,
.slot.active {
  color: #fffaf3;
  background: linear-gradient(135deg, #675247, #9d7e65);
}

.date-item.active span {
  color: #fffaf3;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.slot {
  min-height: 72px;
}

.slot span:first-child {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 17px;
}

.slot small {
  display: block;
  margin-top: 5px;
}

.slot.active span,
.slot.active small {
  color: white;
}

.slot.busy {
  color: #b3a79f;
  background: #ece5de;
  cursor: not-allowed;
}

.slot.busy span {
  color: #aaa099;
}

.notice {
  margin-top: 18px;
  padding: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.sticky-action {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 14px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(251, 247, 240, 0), #fbf7f0 28%);
}

.sticky-action button {
  width: 100%;
}

.summary-card h2 {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  font-weight: 400;
}

.detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.detail-box {
  padding: 12px;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.detail-box span,
.detail-box strong {
  display: block;
}

.detail-box span {
  color: #91867d;
  font-size: 10px;
}

.detail-box strong {
  margin-top: 6px;
  font-size: 13px;
}

.pay-row {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding-top: 16px;
  font-family: Georgia, serif;
  font-size: 24px;
  border-top: 1px solid var(--line);
}

.form-card {
  padding: 4px 18px;
}

.field {
  padding: 16px 0;
  border-bottom: 1px solid rgba(77, 48, 43, 0.1);
}

.field:last-child {
  border-bottom: 0;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 13px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.success-card {
  padding: 34px 22px;
  text-align: center;
  background: linear-gradient(145deg, #fffdf9, #f3e8d9);
}

.success-logo {
  width: 250px;
  max-width: 100%;
}

.check {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 20px auto 0;
  place-items: center;
  color: white;
  font-size: 30px;
  background: linear-gradient(135deg, #675247, #a1846d);
  border-radius: 50%;
}

.success-title {
  margin: 18px 0 0;
  font-size: 32px;
}

.success-card p {
  color: var(--muted);
}

.booking-code {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding: 14px;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.booking-card {
  background: linear-gradient(145deg, #fffdf9, #f8efe4);
}

.booking-head strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 400;
}

.booking-details {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-row {
  color: var(--muted);
  font-size: 13px;
}

.detail-row strong {
  color: var(--ink);
  font-weight: 500;
}

.empty {
  padding: 52px 24px;
  text-align: center;
}

.empty h2 {
  font-family: Georgia, "Songti SC", serif;
  font-weight: 400;
}

.empty p {
  color: var(--muted);
  line-height: 1.6;
}

.tab-bar {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 520px;
  min-height: calc(63px + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 250, 246, 0.96);
  border-top: 1px solid rgba(188, 151, 86, 0.16);
  backdrop-filter: blur(12px);
}

.tab-bar[hidden] {
  display: none !important;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #91867d;
  font-size: 11px;
  background: none;
  border: 0;
}

.tab.active {
  color: var(--brown);
}

.tab-icon {
  font-size: 19px;
}

.toast {
  position: fixed;
  z-index: 100;
  top: 22px;
  left: 50%;
  max-width: calc(100vw - 40px);
  padding: 10px 16px;
  color: white;
  font-size: 13px;
  background: rgba(42, 29, 22, 0.9);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: 180ms ease;
}

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

@media (min-width: 700px) {
  body {
    padding: 24px 0;
  }

  .app-shell {
    min-height: calc(100vh - 48px);
    border-radius: 28px;
    overflow: hidden;
  }
}

/* 2026 visual redesign */
:root {
  --ink: #302925;
  --brown: #51443d;
  --gold: #9b8172;
  --muted: #8f837c;
  --line: rgba(77, 62, 54, 0.11);
  --paper: #fffdf9;
  --cream: #f7f3ed;
  --rose: #c9a99b;
  --shadow: 0 18px 50px rgba(64, 50, 42, 0.065);
}

html,
body,
.app-shell {
  background: #f8f5f0;
}

.app-shell {
  box-shadow: 0 0 60px rgba(56, 44, 37, 0.07);
}

.app-content {
  padding: 0 20px calc(92px + env(safe-area-inset-bottom));
}

.home-page {
  padding-top: 0;
}

.brand-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand-header .logo {
  width: 194px;
  max-width: 54%;
  margin: 0;
}

.header-booking {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  color: #776b64;
  font-size: 11px;
  background: transparent;
  border: 0;
}

.header-booking > span {
  width: 5px;
  height: 5px;
  background: var(--rose);
  border-radius: 50%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.92fr);
  column-gap: 2px;
  align-items: center;
  margin: 0 -20px;
  padding: 36px 0 30px 24px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero::before {
  display: none;
}

.hero-copy {
  z-index: 2;
  max-width: none;
  margin: 0;
}

.eyebrow,
.section-kicker {
  color: #9a8477;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.1px;
}

.hero h1 {
  max-width: 290px;
  margin: 27px 0 0;
  color: #3d342f;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(36px, 9vw, 45px);
  font-weight: 300;
  line-height: 1.34;
  letter-spacing: 0.025em;
}

.hero-subtitle {
  max-width: 295px;
  margin-top: 24px;
  color: #81756e;
  font-size: 13px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 20px;
  margin-top: 31px;
}

.hero-actions .primary-btn {
  width: 132px;
  min-height: 48px;
  padding: 0 17px;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
  background: #55463f;
  border-radius: 2px;
  box-shadow: none;
}

.hero-actions .primary-btn span {
  margin-left: 12px;
  font-size: 17px;
  font-weight: 300;
}

.quiet-link {
  padding: 8px 0;
  color: #786b64;
  font-size: 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #a8978e;
}

.availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -20px;
  padding: 20px;
  color: #514842;
  background: #eee6df;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #a58172;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(165, 129, 114, 0.12);
}

.availability strong,
.availability small {
  display: block;
}

.availability strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 14px;
  font-weight: 400;
}

.availability small {
  margin-top: 4px;
  color: #91847c;
  font-size: 10px;
}

.availability-meta {
  display: flex;
  gap: 13px;
  color: #776c66;
  font-size: 10px;
}

.availability-meta span + span {
  padding-left: 13px;
  border-left: 1px solid rgba(78, 61, 52, 0.14);
}

.section-title {
  margin: 50px 0 20px;
}

.section-title h2 {
  margin-top: 9px;
  color: #413833;
  font-family: "Songti SC", "STSong", serif;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.text-btn {
  color: #88776d;
  font-size: 11px;
}

.service-editorial {
  border-top: 1px solid var(--line);
}

.editorial-service {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 22px 2px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  color: #b2a49c;
  font-family: Georgia, serif;
  font-size: 11px;
}

.service-copy small {
  color: #a28a7c;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.service-copy h3 {
  margin: 7px 0 0;
  color: #443a35;
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 300;
}

.service-copy p {
  margin: 7px 0 0;
  color: #968b84;
  font-size: 10px;
}

.service-price {
  color: #5d4f47;
  font-family: Georgia, serif;
  font-size: 18px;
}

.artist-heading {
  margin-top: 55px;
}

.featured-artist {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  background: #e9dfd7;
}

.featured-monogram {
  display: grid;
  place-items: center;
  color: rgba(255, 253, 249, 0.88);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 66px;
  font-weight: 300;
  background: linear-gradient(155deg, #c6a99a, #9f7c6b);
}

.featured-copy {
  padding: 27px 22px;
}

.featured-copy small {
  color: #9b8275;
  font-size: 8px;
  letter-spacing: 1.4px;
}

.featured-copy h3 {
  margin: 12px 0 0;
  color: #433833;
  font-family: "Songti SC", "STSong", serif;
  font-size: 26px;
  font-weight: 300;
}

.featured-copy p {
  margin: 13px 0 0;
  color: #7f7169;
  font-size: 11px;
  line-height: 1.75;
}

.featured-copy button {
  margin-top: 18px;
  padding: 0 0 4px;
  color: #5e5048;
  font-size: 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #9f8b80;
}

/* Booking flow */
.page:not(.home-page) {
  padding-top: 18px;
}

.card {
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(57, 45, 39, 0.045);
}

.header-card,
.summary-card {
  padding: 30px 25px;
  background: #eee6df;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
}

.header-card::after,
.summary-card::after {
  width: 165px;
  height: 165px;
  background: rgba(255, 255, 255, 0.22);
}

.page-title,
.summary-card h2 {
  color: #443a35;
  font-family: "Songti SC", "STSong", serif;
  font-weight: 300;
}

.schedule-service {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 17px;
  padding: 7px 10px;
  color: #765f53;
  font-size: 10px;
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid rgba(118, 95, 83, 0.1);
  border-radius: 2px;
}

.page-title {
  margin-top: 35px;
  font-size: 32px;
}

.step-number {
  color: rgba(106, 82, 70, 0.1);
  font-family: Georgia, serif;
  font-size: 66px;
}

.service-list,
.artist-list {
  gap: 10px;
  margin-top: 20px;
}

.service-card,
.artist-card,
.booking-card {
  border-radius: 5px;
  box-shadow: none;
}

.service-card {
  padding: 21px;
}

.selectable.active {
  background: #faf5f1;
  border-color: #b89484;
  box-shadow: inset 3px 0 #b89484;
}

.tag {
  color: #775e52;
  background: #eee2da;
}

.service-meta div {
  background: #f6f1ec;
  border-radius: 3px;
}

.artist-card {
  padding: 15px;
}

.portrait {
  height: 104px;
  background: linear-gradient(155deg, #e9ddd4, #c7a89a);
  border: 0;
  border-radius: 45px 45px 6px 6px;
}

.avatar {
  color: #6b5448;
  background: rgba(255, 253, 249, 0.76);
}

.artist-name {
  color: #443a35;
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
}

.date-item,
.slot {
  border-radius: 4px;
  box-shadow: none;
}

.date-item.active,
.slot.active {
  background: #655149;
}

.notice {
  background: #eee6df;
  border: 0;
  box-shadow: none;
}

.primary-btn {
  background: #594940;
  border-radius: 3px;
  box-shadow: none;
}

.ghost-btn {
  border-radius: 3px;
}

.sticky-action {
  padding-right: 20px;
  padding-left: 20px;
  background: linear-gradient(180deg, rgba(248, 245, 240, 0), #f8f5f0 32%);
}

.tab-bar {
  background: rgba(250, 247, 243, 0.96);
  border-color: var(--line);
}

/* Member center */
.member-page {
  padding-top: 0 !important;
}

.member-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.member-header .logo {
  width: 184px;
  max-width: 55%;
  margin: 0;
}

.member-setting {
  padding: 8px 0;
  color: #8c7f77;
  font-size: 11px;
  background: transparent;
  border: 0;
}

.member-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 31px 2px 25px;
}

.member-avatar {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  color: white;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 27px;
  background: linear-gradient(145deg, #c6a89a, #9a7767);
  border-radius: 50%;
}

.member-level {
  color: #a08475;
  font-family: Georgia, serif;
  font-size: 8px;
  letter-spacing: 1.7px;
}

.member-identity h1 {
  margin: 7px 0 0;
  color: #3f3631;
  font-family: "Songti SC", "STSong", serif;
  font-size: 25px;
  font-weight: 300;
}

.member-identity p {
  margin: 6px 0 0;
  color: #91857e;
  font-size: 11px;
}

.wallet-card {
  padding: 25px 23px 0;
  overflow: hidden;
  color: #fffaf6;
  background:
    radial-gradient(circle at 93% 8%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #54443d, #80685c);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(70, 51, 42, 0.15);
}

.wallet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.wallet-head span,
.wallet-head strong {
  display: block;
}

.wallet-head span {
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.wallet-head strong {
  margin-top: 9px;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .02em;
}

.wallet-head button {
  padding: 8px 13px;
  color: #5e4b42;
  font-size: 10px;
  background: #f5ece6;
  border: 0;
  border-radius: 2px;
}

.wallet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px -23px 0;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.1);
}

.wallet-stats button {
  padding: 15px 5px 16px;
  color: white;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.09);
}

.wallet-stats button:last-child {
  border-right: 0;
}

.wallet-stats strong,
.wallet-stats span {
  display: block;
}

.wallet-stats strong {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.wallet-stats span {
  margin-top: 5px;
  color: rgba(255,255,255,.62);
  font-size: 9px;
}

.member-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.member-shortcuts button {
  position: relative;
  padding: 17px;
  text-align: left;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.member-shortcuts button > span {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #b39687;
  font-family: Georgia, serif;
  font-size: 19px;
}

.member-shortcuts strong,
.member-shortcuts small {
  display: block;
}

.member-shortcuts strong {
  color: #554840;
  font-family: "Songti SC", "STSong", serif;
  font-size: 15px;
  font-weight: 400;
}

.member-shortcuts small {
  margin-top: 8px;
  color: #9b9089;
  font-size: 9px;
}

.care-list {
  display: grid;
  gap: 10px;
}

.care-card {
  padding: 20px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.care-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.care-category {
  color: #a08779;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.care-card h3 {
  margin: 8px 0 0;
  color: #493e38;
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 300;
}

.care-due {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: #775f54;
  font-size: 10px;
  background: #eee1d9;
  border-radius: 999px;
}

.care-stage {
  margin-top: 17px;
}

.care-stage strong {
  color: #62534b;
  font-size: 12px;
  font-weight: 500;
}

.care-stage p {
  margin: 7px 0 0;
  color: #938780;
  font-size: 10px;
  line-height: 1.65;
}

.care-progress {
  height: 3px;
  margin-top: 18px;
  overflow: hidden;
  background: #ece6e1;
  border-radius: 999px;
}

.care-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #b89584, #80665a);
  border-radius: inherit;
}

.care-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 9px;
  color: #b1a7a1;
  font-size: 8px;
}

.care-steps span:nth-child(2) {
  text-align: center;
}

.care-steps span:last-child {
  text-align: right;
}

.care-steps .done {
  color: #78675e;
}

.care-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.care-actions button {
  min-height: 40px;
  color: #796b63;
  font-size: 10px;
  background: transparent;
  border: 1px solid #ddd2cb;
  border-radius: 2px;
}

.care-actions .care-primary {
  color: white;
  background: #615048;
  border-color: #615048;
}

.member-section-title {
  align-items: flex-end;
  margin-top: 42px;
}

.section-count {
  color: #a0948d;
  font-size: 10px;
}

.member-bookings {
  gap: 9px;
}

.member-bookings .booking-card {
  padding: 18px;
}

.member-bookings .booking-head {
  align-items: flex-start;
}

.member-bookings .booking-head small,
.member-bookings .booking-head strong {
  display: block;
}

.member-bookings .booking-head small {
  color: #a08475;
  font-size: 9px;
  letter-spacing: .08em;
}

.member-bookings .booking-head strong {
  margin-top: 7px;
  color: #473c36;
  font-family: "Songti SC", "STSong", serif;
  font-size: 19px;
  font-weight: 300;
}

.member-bookings .booking-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #8e827b;
  font-size: 10px;
}

.booking-code-small {
  color: #b0a49d;
  font-family: Georgia, serif;
}

.referral-card {
  position: relative;
  padding: 27px 23px;
  overflow: hidden;
  background: #eae0d8;
  border-radius: 5px;
}

.referral-card::after {
  position: absolute;
  top: -50px;
  right: -45px;
  width: 145px;
  height: 145px;
  content: "";
  border: 1px solid rgba(112, 82, 68, 0.11);
  border-radius: 50%;
}

.referral-label {
  color: #a18475;
  font-size: 8px;
  letter-spacing: 1.6px;
}

.referral-card > strong {
  display: block;
  margin-top: 11px;
  color: #493d37;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: .08em;
}

.referral-card p {
  max-width: 290px;
  margin: 14px 0 0;
  color: #84766e;
  font-size: 11px;
  line-height: 1.7;
}

.referral-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.referral-actions button {
  min-height: 43px;
  font-size: 11px;
}

.member-note {
  margin: 17px 0 8px;
  color: #aaa09a;
  font-size: 9px;
  text-align: center;
}

/* ============================================================
   Liquid Glass v2 — 玻璃只做悬浮层（底栏 / 操作条 / Toast），
   页面内容保持编辑风，统一圆角刻度；
   光斑固定在视口上，玻璃浮层下永远有色彩可折射。
   纯增量覆盖，删除本段即可回退
   ============================================================ */

/* 1. 视口光斑层：fixed 伪元素，不随页面高度摊薄，
      iOS Safari 不支持 background-attachment: fixed，必须这样做 */
html {
  background: #f3ede5;
}

body,
.app-shell {
  background: transparent;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(42% 30% at 12% 6%, rgba(201, 169, 155, 0.4), transparent 72%),
    radial-gradient(38% 26% at 90% 18%, rgba(199, 158, 112, 0.32), transparent 72%),
    radial-gradient(46% 32% at 24% 58%, rgba(222, 196, 180, 0.28), transparent 74%),
    radial-gradient(52% 34% at 62% 98%, rgba(166, 134, 116, 0.3), transparent 72%),
    linear-gradient(180deg, #f9f6f1 0%, #f4eee6 100%);
}

/* 2. 底部导航：真玻璃（内容从下面滚过）+ 激活药丸 */
.tab-bar {
  background: rgba(250, 247, 243, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 -10px 30px rgba(64, 50, 42, 0.07);
}

.tab {
  position: relative;
}

.tab::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 46px;
  content: "";
  background: transparent;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.tab > span {
  position: relative;
  z-index: 1;
}

.tab.active {
  color: #46382f;
}

.tab.active::before {
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(64, 50, 42, 0.1);
}

.tab-icon {
  display: flex;
  line-height: 0;
}

/* 3. 预约流程底部操作条：与导航同一块玻璃 */
.sticky-action {
  padding-top: 14px;
  background: rgba(250, 247, 243, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 -10px 30px rgba(64, 50, 42, 0.07);
}

/* 4. Toast：深色玻璃 */
.toast {
  background: rgba(42, 29, 22, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* 5. 页面内半透元素：背后是静态光斑，blur 无意义，
      靠半透底色 + 白色高光"演"玻璃，省性能 */
.header-booking {
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.availability {
  background: rgba(238, 230, 223, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.live-dot {
  box-shadow:
    0 0 0 5px rgba(165, 129, 114, 0.14),
    0 0 10px rgba(165, 129, 114, 0.5);
}

.featured-artist {
  background: rgba(236, 226, 218, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 44px rgba(64, 50, 42, 0.09);
}

/* 6. 一笔画女性形体（用户提供的插画，骨架矢量化为 59 段路径）：
      SVG 内部做逐段描线动画（像一支笔连续画完），页面侧只做呼吸浮动 */
.hero-figure {
  position: absolute;
  z-index: 1;
  top: 30px;
  right: -24px;
  width: min(310px, 81vw);
  pointer-events: none;
}

.figure-art {
  position: relative;
  z-index: 1;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  opacity: 0.68;
  animation: figure-float 9.8s ease-in-out 4.6s infinite;
}

@keyframes figure-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(11px); }
}

.twinkle {
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 2;
  background: #c98f54;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter:
    drop-shadow(0 0 2px rgba(255, 244, 214, 0.9))
    drop-shadow(0 0 7px rgba(106, 77, 55, 0.42));
  opacity: 0;
}

.tw-1 {
  top: 9%;
  right: 14%;
  background: #c98f54;
  animation: twinkle 8.8s ease-in-out 3.2s infinite;
}

.tw-2 {
  top: 62%;
  left: 4%;
  width: 8px;
  height: 8px;
  background: #d7a08f;
  animation: twinkle 10.2s ease-in-out 5s infinite;
}

.tw-3 {
  top: 24%;
  left: 13%;
  width: 6px;
  height: 6px;
  background: #b9845f;
  animation: twinkle 9.4s ease-in-out 4.1s infinite;
}

.tw-4 {
  top: 39%;
  right: 4%;
  width: 7px;
  height: 7px;
  background: #d8b56a;
  animation: twinkle 10.8s ease-in-out 5.8s infinite;
}

.tw-5 {
  top: 75%;
  right: 19%;
  width: 9px;
  height: 9px;
  background: #c17b6f;
  animation: twinkle 10.4s ease-in-out 6.6s infinite;
}

.tw-6 {
  top: 52%;
  left: 20%;
  width: 5px;
  height: 5px;
  background: #ad7b52;
  animation: twinkle 11.2s ease-in-out 7.2s infinite;
}

.tw-7 {
  top: 17%;
  right: 34%;
  width: 5px;
  height: 5px;
  background: #d0a15f;
  animation: twinkle 9.8s ease-in-out 2.4s infinite;
}

.tw-8 {
  top: 47%;
  right: 23%;
  width: 6px;
  height: 6px;
  background: #c89382;
  animation: twinkle 11.6s ease-in-out 4.9s infinite;
}

.tw-9 {
  top: 84%;
  left: 27%;
  width: 5px;
  height: 5px;
  background: #b98258;
  animation: twinkle 10.6s ease-in-out 6.1s infinite;
}

@keyframes twinkle {
  0%, 46%, 100% { opacity: 0; transform: scale(0.34) rotate(0deg); }
  58% { opacity: 0.92; transform: scale(0.92) rotate(16deg); }
  70% { opacity: 0.95; transform: scale(1) rotate(24deg); }
  84% { opacity: 0.26; transform: scale(0.72) rotate(36deg); }
}

@media (prefers-reduced-motion: reduce) {
  .figure-art,
  .twinkle {
    animation: none;
  }

  .figure-art {
    -webkit-mask-position: 0 0%;
    mask-position: 0 0%;
  }
}

/* 7. slogan 字体：超细字重无衬线，与线稿笔触同粗细，
      hero 只留 slogan + 人物两个元素 */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero .eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: #b59d8e;
}

.hero h1 {
  max-width: none;
  color: #51453c;
  font-family: "Avenir Next", "Futura", "Helvetica Neue", sans-serif;
  font-size: clamp(25px, 7vw, 31px);
  font-weight: 200;
  line-height: 1.44;
  letter-spacing: 0.045em;
}

.hero h1 em {
  font-style: italic;
}

/* slogan 缓缓浮现 */
.hero .eyebrow,
.hero h1 {
  opacity: 0;
  animation: rise-in 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.hero .eyebrow { animation-delay: 0.4s; }
.hero h1 { animation-delay: 0.8s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow,
  .hero h1 {
    animation: none;
    opacity: 1;
  }
}

/* 8. 圆角刻度统一：胶囊 999 / 卡片 14–16 / 按钮 12 / chip 10 */
.card,
.service-card,
.artist-card,
.booking-card,
.member-shortcuts button,
.care-card {
  border-radius: 14px;
}

.header-card,
.summary-card,
.referral-card {
  border-radius: 16px;
}

.wallet-card {
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(70, 51, 42, 0.15);
}

.primary-btn,
.ghost-btn {
  border-radius: 12px;
}

.hero-actions .primary-btn {
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 24px rgba(64, 50, 42, 0.18);
}

.wallet-head button,
.care-actions button {
  border-radius: 10px;
}

.date-item,
.slot,
.service-meta div {
  border-radius: 10px;
}

.schedule-service {
  border-radius: 8px;
}

/* 9. 按压反馈：凝胶感 */
button {
  transition: transform 130ms ease, filter 130ms ease;
}

button:active {
  transform: scale(0.97);
  filter: brightness(0.97);
}

.tab:active,
.slot.busy:active {
  transform: none;
  filter: none;
}

/* 10. 桌面端：壳体做成一片淡玻璃卡 */
@media (min-width: 700px) {
  .app-shell {
    background: rgba(255, 253, 249, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
  }
}

/* 11. 不支持 backdrop-filter 时退回半透明纯色，不会发灰塌陷 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tab-bar,
  .sticky-action {
    background: rgba(250, 247, 243, 0.97);
  }

  .toast {
    background: rgba(42, 29, 22, 0.92);
  }
}
