:root {
  --jade-950: #102d25;
  --jade-900: #173a30;
  --jade-800: #224b3e;
  --jade-700: #315f50;
  --jade-100: #dce9df;
  --ivory-50: #fdfaf4;
  --ivory-100: #f7f2e8;
  --ivory-200: #eee5d5;
  --gold: #c3a265;
  --gold-light: #ead7a8;
  --rose: #c88f83;
  --rose-soft: #f1ddd7;
  --ink: #1d332c;
  --muted: #738078;
  --line: rgba(23, 58, 48, 0.12);
  --shadow-soft: 0 22px 60px rgba(42, 57, 48, 0.1);
  --shadow-card: 0 14px 34px rgba(44, 61, 51, 0.08);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ivory-100);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(234, 215, 168, 0.4), transparent 28rem),
    radial-gradient(circle at 92% 22%, rgba(200, 143, 131, 0.16), transparent 30rem),
    linear-gradient(145deg, #f9f4e9 0%, #f5efe4 58%, #f7f1e6 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* 花瓣和光斑只在页面背景缓慢漂移。 */
.ambient-flight {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-flight i {
  position: absolute;
  width: 22px;
  height: 11px;
  border-radius: 90% 10% 90% 10%;
  background: linear-gradient(135deg, rgba(200, 143, 131, 0.28), rgba(234, 215, 168, 0.08));
  filter: blur(0.2px);
  animation: petal-drift 18s linear infinite;
}

.ambient-flight i:nth-child(1) {
  top: 12%;
  left: -4%;
  --turn: 24deg;
  animation-delay: -2s;
}

.ambient-flight i:nth-child(2) {
  top: 28%;
  left: 74%;
  width: 14px;
  height: 8px;
  --turn: -40deg;
  animation-delay: -8s;
  animation-duration: 24s;
}

.ambient-flight i:nth-child(3) {
  top: 65%;
  left: 45%;
  width: 16px;
  height: 8px;
  --turn: 82deg;
  animation-delay: -12s;
}

.ambient-flight i:nth-child(4) {
  top: 82%;
  left: 9%;
  --turn: -14deg;
  animation-delay: -15s;
  animation-duration: 26s;
}

.ambient-flight i:nth-child(5) {
  top: 8%;
  left: 91%;
  width: 12px;
  height: 7px;
  --turn: 62deg;
  animation-delay: -4s;
}

.ambient-flight i:nth-child(6) {
  top: 52%;
  left: 96%;
  --turn: -88deg;
  animation-delay: -11s;
}

.ambient-flight i:nth-child(7) {
  top: 72%;
  left: 69%;
  width: 10px;
  height: 6px;
  --turn: 34deg;
  animation-delay: -7s;
  animation-duration: 22s;
}

.ambient-flight i:nth-child(8) {
  top: 38%;
  left: 21%;
  width: 12px;
  height: 7px;
  --turn: -50deg;
  animation-delay: -18s;
}

/* 顶部预览切换器 */
.studio-bar {
  position: relative;
  z-index: 50;
  display: grid;
  height: 78px;
  padding: 0 clamp(20px, 3vw, 48px);
  border-bottom: 1px solid rgba(23, 58, 48, 0.09);
  background: rgba(253, 250, 244, 0.76);
  backdrop-filter: blur(20px);
  grid-template-columns: minmax(210px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.studio-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(195, 162, 101, 0.36);
  border-radius: 50%;
  object-fit: contain;
}

.studio-brand span {
  display: grid;
  gap: 3px;
}

.studio-brand b {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.16em;
}

.studio-brand small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.client-switch {
  display: flex;
  padding: 5px;
  border: 1px solid rgba(23, 58, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 8px 24px rgba(42, 57, 48, 0.05);
}

.client-switch button {
  display: flex;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #66746d;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.client-switch__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9b4ae;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.client-switch button:hover {
  color: var(--jade-900);
}

.client-switch button.is-active {
  background: var(--jade-900);
  box-shadow: 0 8px 20px rgba(23, 58, 48, 0.2);
  color: #fffaf0;
}

.client-switch button.is-active .client-switch__dot {
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(234, 215, 168, 0.12);
}

.studio-meta {
  display: flex;
  justify-content: flex-end;
  color: #68766f;
  font-size: 10px;
  letter-spacing: 0.08em;
  align-items: center;
  gap: 18px;
}

.studio-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-meta span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6eaa83;
  box-shadow: 0 0 0 5px rgba(110, 170, 131, 0.1);
}

.studio-meta em {
  max-width: 140px;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-logout {
  padding: 5px 9px;
  border: 1px solid rgba(23, 58, 48, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #68766f;
  font-size: 9px;
  cursor: pointer;
}

.studio-logout:hover {
  border-color: rgba(195, 162, 101, 0.48);
  color: var(--jade-900);
}

.studio-meta b {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(195, 162, 101, 0.44);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  place-items: center;
}

.studio-main {
  position: relative;
  height: calc(100vh - 78px);
  height: calc(100svh - 78px);
  padding: clamp(14px, 2vw, 28px) clamp(16px, 3vw, 44px) clamp(16px, 2vw, 28px);
}

.studio-surface {
  width: 100%;
  height: 100%;
  animation: surface-in 420ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

/* 共享按钮和表单 */
.primary-btn,
.soft-button,
.text-button {
  border: 0;
  cursor: pointer;
}

.primary-btn {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--jade-900);
  box-shadow: 0 10px 22px rgba(23, 58, 48, 0.18);
  color: #fffaf0;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-btn svg {
  width: 16px;
  height: 16px;
}

.primary-btn:hover {
  background: var(--jade-800);
  box-shadow: 0 14px 26px rgba(23, 58, 48, 0.24);
  transform: translateY(-1px);
}

.soft-button {
  display: inline-flex;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(23, 58, 48, 0.13);
  border-radius: 11px;
  background: #fffdf8;
  color: #44554d;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.soft-button svg {
  width: 15px;
  height: 15px;
}

.soft-button:hover {
  border-color: rgba(195, 162, 101, 0.5);
  color: var(--jade-900);
}

.text-button {
  padding: 0;
  background: transparent;
  color: #6f806f;
  font-size: 11px;
}

.text-button:hover {
  color: var(--jade-900);
}

.icon-button {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.66);
  color: #53635b;
  cursor: pointer;
  place-items: center;
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

input,
select,
textarea {
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #a6afa9;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(49, 95, 80, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(49, 95, 80, 0.07);
}

.section-kicker {
  display: flex;
  margin: 0 0 8px;
  color: #829087;
  font-size: 8px;
  letter-spacing: 0.2em;
  align-items: center;
  gap: 8px;
}

.section-kicker span {
  width: 22px;
  height: 1px;
  background: var(--gold);
}

/* 电脑后台整体框架 */
.admin-surface {
  max-width: 1540px;
  margin: 0 auto;
}

.admin-app {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(23, 58, 48, 0.11);
  border-radius: 25px;
  background: #fbfaf6;
  box-shadow: 0 28px 80px rgba(42, 57, 48, 0.13);
  grid-template-columns: 236px minmax(0, 1fr);
}

.admin-sidebar {
  position: relative;
  display: flex;
  padding: 23px 18px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 4%, rgba(234, 215, 168, 0.2), transparent 14rem),
    linear-gradient(172deg, #173a30 0%, #122f26 100%);
  color: #f8f4e9;
  flex-direction: column;
}

.admin-sidebar::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(234, 215, 168, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(234, 215, 168, 0.035),
    0 0 0 64px rgba(234, 215, 168, 0.02);
  content: "";
}

.admin-sidebar__brand {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 0 6px 22px;
  align-items: center;
  gap: 11px;
}

.admin-sidebar__brand img {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(234, 215, 168, 0.38);
  border-radius: 50%;
  object-fit: contain;
}

.admin-sidebar__brand div {
  display: grid;
  gap: 3px;
}

.admin-sidebar__brand strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.16em;
}

.admin-sidebar__brand span {
  color: rgba(248, 244, 233, 0.46);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.admin-nav-label {
  margin: 7px 11px 7px;
  color: rgba(248, 244, 233, 0.31);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.admin-nav-item {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 43px;
  margin-bottom: 3px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: rgba(248, 244, 233, 0.62);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  align-items: center;
  gap: 11px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.admin-nav-item svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
}

.admin-nav-item em {
  min-width: 20px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(234, 215, 168, 0.12);
  color: var(--gold-light);
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.admin-nav-item:hover,
.admin-nav-item.is-active {
  background: rgba(248, 244, 233, 0.09);
  color: #fffaf0;
}

.admin-nav-item.is-active::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 2px;
  border-radius: 4px;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(234, 215, 168, 0.45);
  content: "";
}

.admin-sidebar__note {
  position: relative;
  z-index: 1;
  margin: auto 2px 15px;
  padding: 16px 15px;
  border: 1px solid rgba(234, 215, 168, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
}

.admin-sidebar__note svg {
  width: 19px;
  height: 19px;
  margin-bottom: 10px;
  color: var(--gold-light);
}

.admin-sidebar__note b {
  display: block;
  font-size: 11px;
}

.admin-sidebar__note p {
  margin: 7px 0 10px;
  color: rgba(248, 244, 233, 0.46);
  font-size: 9px;
  line-height: 1.7;
}

.admin-sidebar__note button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 9px;
  cursor: pointer;
}

.admin-profile {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 52px;
  padding: 8px;
  border-top: 1px solid rgba(248, 244, 233, 0.09);
  align-items: center;
  gap: 10px;
}

.admin-profile > div {
  display: grid;
  gap: 3px;
}

.admin-profile b {
  font-size: 11px;
}

.admin-profile small {
  color: rgba(248, 244, 233, 0.38);
  font-size: 8px;
}

.admin-profile > svg {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: rgba(248, 244, 233, 0.35);
}

.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--serif);
  font-size: 13px;
  place-items: center;
}

.avatar--owner {
  background: linear-gradient(145deg, #d7bb79, #9e7b3f);
}

.avatar--peach {
  background: linear-gradient(145deg, #e2b2a5, #b97867);
}

.avatar--sage {
  background: linear-gradient(145deg, #9eb6a6, #648172);
}

.avatar--rose {
  background: linear-gradient(145deg, #dac0b8, #aa7770);
}

.avatar--blue {
  background: linear-gradient(145deg, #b3c2c4, #748d90);
}

.avatar--sand {
  background: linear-gradient(145deg, #d8c49a, #a58a58);
}

.admin-workspace {
  display: grid;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(circle at 94% 0%, rgba(234, 215, 168, 0.16), transparent 22rem),
    #f8f6f0;
  grid-template-rows: 66px minmax(0, 1fr);
}

.admin-topbar {
  display: flex;
  padding: 0 28px;
  border-bottom: 1px solid rgba(23, 58, 48, 0.08);
  background: rgba(253, 251, 246, 0.86);
  align-items: center;
  justify-content: space-between;
}

.admin-breadcrumb {
  display: flex;
  color: #8a958f;
  font-size: 10px;
  align-items: center;
  gap: 9px;
}

.admin-breadcrumb i {
  color: #c3cbc6;
  font-style: normal;
}

.admin-breadcrumb b {
  color: #3e5148;
  font-weight: 600;
}

.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-search {
  display: flex;
  width: 202px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.66);
  align-items: center;
  gap: 8px;
}

.top-search svg {
  width: 14px;
  height: 14px;
  color: #89958e;
}

.top-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #405149;
  font-size: 10px;
}

.top-search kbd {
  padding: 2px 4px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 4px;
  color: #9ba59f;
  font-family: var(--sans);
  font-size: 7px;
  white-space: nowrap;
}

.admin-topbar .icon-button i {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border: 1px solid #fffaf0;
  border-radius: 50%;
  background: var(--rose);
}

.admin-scroll {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 30px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 58, 48, 0.15) transparent;
}

.admin-page {
  max-width: 1280px;
  margin: 0 auto;
  animation: page-fade 300ms ease both;
}

.admin-page-head {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-page-head h1 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.admin-page-head > div > p:last-child {
  margin: 0;
  color: #809088;
  font-size: 11px;
  line-height: 1.7;
}

.admin-page-head__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* 数据指标 */
.metric-grid {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  position: relative;
  min-height: 125px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(42, 57, 48, 0.035);
}

.metric-card > span,
.metric-card__top span {
  color: #7d8c85;
  font-size: 10px;
}

.metric-card > strong {
  display: block;
  margin: 13px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.metric-card > p {
  margin: 0;
  color: #9aa49e;
  font-size: 9px;
}

.metric-card > p b {
  color: #5c8a6d;
  font-weight: 700;
}

.metric-card--featured {
  background:
    radial-gradient(circle at 88% 0%, rgba(234, 215, 168, 0.3), transparent 9rem),
    linear-gradient(145deg, #1c4337, #17362c);
  color: #fffaf0;
}

.metric-card--featured > span,
.metric-card--featured > p {
  color: rgba(255, 250, 240, 0.48);
}

.metric-card__top {
  display: flex;
  justify-content: space-between;
}

.metric-card__top small {
  color: var(--gold-light);
  font-size: 9px;
}

.metric-card--featured > strong {
  margin: 8px 0 4px;
  font-size: 30px;
}

.metric-card--rose {
  background:
    radial-gradient(circle at 100% 100%, rgba(200, 143, 131, 0.16), transparent 9rem),
    #fffaf7;
}

.metric-card--rose > strong {
  color: #a8665d;
}

.mini-bars {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  width: 72px;
  height: 35px;
  align-items: flex-end;
  gap: 4px;
}

.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: rgba(234, 215, 168, 0.38);
}

/* 用户表格 */
.data-panel {
  overflow: hidden;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
}

.data-panel__head {
  display: flex;
  padding: 18px 20px 12px;
  align-items: center;
  justify-content: space-between;
}

.data-panel__head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.data-panel__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.data-panel__head span {
  color: #9aa49f;
  font-size: 9px;
}

.user-toolbar {
  display: flex;
  padding: 6px 20px 14px;
  align-items: center;
  gap: 9px;
}

.field-search {
  display: flex;
  width: min(300px, 30%);
  min-width: 190px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(23, 58, 48, 0.11);
  border-radius: 10px;
  background: #fffdf9;
  align-items: center;
  gap: 8px;
}

.field-search svg {
  width: 14px;
  height: 14px;
  color: #8d9992;
}

.field-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #405149;
  font-size: 10px;
}

.select-wrap select {
  height: 38px;
  padding: 0 29px 0 12px;
  border: 1px solid rgba(23, 58, 48, 0.11);
  border-radius: 10px;
  background-color: #fffdf9;
  color: #617068;
  font-size: 10px;
  cursor: pointer;
}

.toolbar-result {
  margin-left: auto;
  color: #9aa49e;
  font-size: 9px;
}

.selection-bar {
  display: flex;
  min-height: 38px;
  margin: 0 20px 10px;
  padding: 0 12px;
  border-radius: 9px;
  background: #edf3ee;
  color: #5e7067;
  font-size: 10px;
  align-items: center;
  gap: 10px;
}

.selection-bar b {
  color: var(--jade-900);
}

.selection-bar button {
  padding: 4px 9px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--jade-700);
  font-size: 9px;
  cursor: pointer;
}

.selection-bar button:first-of-type {
  margin-left: auto;
}

.user-table-wrap {
  overflow-x: auto;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.user-table th {
  height: 35px;
  padding: 0 12px;
  border-top: 1px solid rgba(23, 58, 48, 0.07);
  border-bottom: 1px solid rgba(23, 58, 48, 0.07);
  background: rgba(246, 243, 236, 0.7);
  color: #98a29c;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
}

.user-table th:first-child,
.user-table td:first-child {
  width: 40px;
  padding-left: 20px;
}

.user-table th:last-child,
.user-table td:last-child {
  width: 54px;
  text-align: center;
}

.user-table td {
  height: 57px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(23, 58, 48, 0.065);
  color: #66756d;
  white-space: nowrap;
}

.user-table tbody tr {
  transition: background 160ms ease;
}

.user-table tbody tr:hover {
  background: rgba(242, 238, 228, 0.48);
}

input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--jade-700);
  cursor: pointer;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-cell .avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.user-cell div {
  display: grid;
  gap: 3px;
}

.user-cell b {
  color: #30443b;
  font-size: 11px;
  font-weight: 650;
}

.user-cell small {
  color: #9aa49e;
  font-size: 8px;
}

.level-pill,
.status-pill {
  display: inline-flex;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 7px;
  align-items: center;
}

.level-pill {
  background: #eff2ef;
  color: #6c7972;
  font-size: 9px;
}

.level-pill--gold {
  background: #f5ecd7;
  color: #93722f;
}

.level-pill--rose {
  background: #f7e9e5;
  color: #a8695f;
}

.status-pill {
  gap: 5px;
  font-size: 9px;
}

.status-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.status-pill--active {
  background: #edf5ef;
  color: #5d876c;
}

.status-pill--active i {
  background: #75a786;
}

.status-pill--warm {
  background: #fbf1e3;
  color: #a67c42;
}

.status-pill--warm i {
  background: #d2a25e;
}

.status-pill--muted {
  background: #f0f1f0;
  color: #8d9691;
}

.status-pill--muted i {
  background: #adb5b0;
}

.row-action {
  display: inline-grid;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #8d9992;
  cursor: pointer;
  place-items: center;
}

.row-action svg {
  width: 14px;
  height: 14px;
}

.row-action:hover {
  border-color: rgba(23, 58, 48, 0.1);
  background: #fff;
  color: var(--jade-900);
}

.table-footer {
  display: flex;
  min-height: 52px;
  padding: 0 20px;
  color: #99a39d;
  font-size: 9px;
  align-items: center;
  justify-content: space-between;
}

.table-footer > div {
  display: flex;
  gap: 4px;
}

.table-footer button {
  min-width: 27px;
  height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 7px;
  background: #fffdf9;
  color: #6f7e77;
  font-size: 8px;
  cursor: pointer;
}

.table-footer button.is-current {
  border-color: var(--jade-900);
  background: var(--jade-900);
  color: #fff;
}

.table-footer button:disabled {
  opacity: 0.45;
}

/* 系统设置 */
.settings-layout {
  display: grid;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
  grid-template-columns: 218px minmax(0, 1fr);
}

.settings-tabs {
  padding: 17px 12px;
  border-right: 1px solid rgba(23, 58, 48, 0.08);
  background:
    radial-gradient(circle at 0% 100%, rgba(200, 143, 131, 0.08), transparent 14rem),
    rgba(247, 244, 237, 0.72);
}

.settings-tabs button {
  display: flex;
  width: 100%;
  min-height: 58px;
  margin-bottom: 5px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #75837c;
  text-align: left;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.settings-tabs button > svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.settings-tabs button span {
  display: grid;
  gap: 4px;
}

.settings-tabs button b {
  color: inherit;
  font-size: 11px;
  font-weight: 600;
}

.settings-tabs button small {
  color: #a0aaa4;
  font-size: 8px;
}

.settings-tabs button.is-active {
  background: #fffdf9;
  box-shadow: 0 8px 20px rgba(45, 60, 51, 0.07);
  color: var(--jade-900);
}

.settings-tabs button.is-active > svg {
  color: #9b7840;
}

.settings-content {
  min-width: 0;
  padding: clamp(22px, 2.5vw, 34px);
}

.settings-panel {
  animation: page-fade 280ms ease both;
}

.settings-panel__head {
  display: flex;
  margin-bottom: 19px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.settings-panel__head > div > span,
.settings-panel__head > span:first-child {
  color: #b0945d;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.settings-panel__head h2 {
  margin: 6px 0 5px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.settings-panel__head p {
  margin: 0;
  color: #8b9891;
  font-size: 10px;
}

.save-state {
  color: #9ea8a2;
  font-size: 8px;
  white-space: nowrap;
}

.settings-card {
  margin-bottom: 13px;
  padding: 20px;
  border: 1px solid rgba(23, 58, 48, 0.085);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.79);
}

.brand-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 215, 168, 0.14), transparent 16rem),
    rgba(255, 253, 248, 0.82);
}

.brand-uploader {
  display: flex;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23, 58, 48, 0.075);
  align-items: center;
  gap: 16px;
}

.brand-uploader__preview {
  display: grid;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(195, 162, 101, 0.25);
  border-radius: 18px;
  background: #f4eee2;
  place-items: center;
}

.brand-uploader__preview img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-uploader > div:last-child {
  flex: 1;
}

.brand-uploader b {
  font-size: 12px;
}

.brand-uploader p {
  margin: 5px 0 10px;
  color: #929e97;
  font-size: 9px;
}

.brand-uploader > div:last-child > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-grid {
  display: grid;
  padding-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field > span {
  color: #68776f;
  font-size: 9px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(23, 58, 48, 0.105);
  border-radius: 9px;
  background: #fffefb;
  color: #34493f;
  font-size: 10px;
}

.form-field textarea {
  min-height: 70px;
  line-height: 1.7;
  resize: vertical;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.share-settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr);
  align-items: start;
  gap: 14px;
}

.share-settings-layout > div {
  min-width: 0;
}

.share-copy-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 143, 131, 0.09), transparent 13rem),
    rgba(255, 253, 248, 0.84);
}

.auto-generate-switch {
  display: flex;
  flex: 0 0 auto;
  color: #60746a;
  font-size: 9px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.auto-generate-switch .toggle-input {
  position: absolute;
  opacity: 0;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-label .field-count {
  color: #a0aaa4;
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
}

.share-copy-tip {
  display: flex;
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4eee2;
  color: #81755f;
  align-items: flex-start;
  gap: 8px;
}

.share-copy-tip svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: #a4864f;
}

.share-copy-tip p {
  margin: 0;
  font-size: 8px;
  line-height: 1.7;
}

.share-image-status {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: #edf5ef;
  color: #5f816e;
  font-size: 8px;
  align-items: center;
}

.share-image-editor {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 1.1fr);
  align-items: center;
  gap: 16px;
}

.share-image-frame {
  position: relative;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid rgba(23, 58, 48, 0.1);
  border-radius: 12px;
  background: #dfe9e2;
}

.share-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-image-frame span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(15, 28, 22, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 7px;
  backdrop-filter: blur(5px);
}

.share-image-actions {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.share-image-actions b {
  overflow: hidden;
  color: #40544a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-image-actions p {
  margin: 0;
  color: #98a39d;
  font-size: 8px;
  line-height: 1.6;
}

.share-image-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-image-actions .text-button {
  justify-self: start;
}

.wechat-preview-card {
  position: sticky;
  top: 0;
  padding: 16px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 215, 168, 0.2), transparent 13rem),
    #f7f4ed;
  box-shadow: 0 14px 32px rgba(39, 57, 47, 0.06);
}

.wechat-preview-card__head {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wechat-preview-card__head span {
  display: inline-flex;
  color: #40544a;
  font-size: 10px;
  font-weight: 600;
  align-items: center;
  gap: 6px;
}

.wechat-preview-card__head span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72aa7d;
  box-shadow: 0 0 0 4px rgba(114, 170, 125, 0.1);
}

.wechat-preview-card__head small {
  color: #9aa69f;
  font-size: 8px;
}

.wechat-chat-stage {
  display: grid;
  min-height: 282px;
  padding: 14px 11px;
  border: 1px solid rgba(23, 58, 48, 0.06);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.8), transparent 11rem),
    #e9e9e7;
  grid-template-columns: 29px minmax(0, 1fr);
  align-content: start;
  gap: 8px;
}

.wechat-chat-stage__avatar {
  display: grid;
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: linear-gradient(145deg, #315c4c, #173a30);
  color: #f7e8bd;
  font-family: var(--serif);
  font-size: 12px;
  place-items: center;
}

.wechat-chat-stage__message {
  min-width: 0;
}

.wechat-chat-stage__meta {
  display: flex;
  margin: 1px 0 6px;
  color: #909994;
  font-size: 7px;
  align-items: center;
  gap: 7px;
}

.wechat-chat-stage__meta b {
  color: #76827c;
  font-size: 8px;
  font-weight: 500;
}

.wechat-link-card {
  position: relative;
  width: 100%;
  max-width: 252px;
  overflow: hidden;
  border: 1px solid rgba(25, 39, 31, 0.08);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(31, 42, 36, 0.05);
}

.wechat-link-card__copy {
  padding: 11px 11px 9px;
}

.wechat-link-card__copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #303632;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wechat-link-card__copy p {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: #8c938f;
  font-size: 8px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wechat-link-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: #eef1ee;
}

.wechat-link-card__source {
  display: flex;
  min-height: 28px;
  padding: 6px 9px;
  border-top: 1px solid #f0f1f0;
  color: #a1a7a3;
  font-size: 7px;
  align-items: center;
  justify-content: space-between;
}

.wechat-link-card__source b {
  color: #b2b7b4;
  font-size: 13px;
  font-weight: 400;
}

.wechat-preview-note {
  margin: 12px 0;
  padding: 10px 11px;
  border: 1px solid rgba(195, 162, 101, 0.14);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.75);
}

.wechat-preview-note b {
  color: #6b5b3e;
  font-size: 9px;
}

.wechat-preview-note p {
  margin: 4px 0 0;
  color: #8e958f;
  font-size: 8px;
  line-height: 1.65;
}

.wechat-copy-link {
  width: 100%;
  min-height: 38px;
  justify-content: center;
}

.settings-card__title {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.settings-card__title h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.05em;
}

.settings-card__title p {
  margin: 0;
  color: #98a39d;
  font-size: 8px;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-swatch {
  position: relative;
  display: grid;
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  grid-template-columns: 25px 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 8px;
}

.color-swatch input {
  position: absolute;
  opacity: 0;
}

.color-swatch i {
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.color-swatch span {
  color: #66756d;
  font-size: 9px;
}

.color-swatch.is-selected {
  border-color: rgba(195, 162, 101, 0.7);
  box-shadow: 0 0 0 3px rgba(195, 162, 101, 0.09);
}

.secure-pill {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf5ef;
  color: #5c856f;
  font-size: 9px;
  align-items: center;
  gap: 6px;
}

.secure-pill svg {
  width: 13px;
  height: 13px;
}

.preference-list {
  display: grid;
}

.preference-row {
  position: relative;
  display: flex;
  min-height: 60px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 58, 48, 0.07);
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.preference-row:last-child {
  border-bottom: 0;
}

.preference-row > span {
  display: grid;
  gap: 5px;
}

.preference-row b {
  color: #3f5148;
  font-size: 10px;
}

.preference-row small {
  color: #98a39d;
  font-size: 8px;
  line-height: 1.5;
}

.toggle-input {
  position: absolute;
  opacity: 0;
}

.toggle {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 35px;
  height: 20px;
  border-radius: 99px;
  background: #d9dedb;
  transition: background 180ms ease;
}

.toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(31, 45, 37, 0.15);
  content: "";
  transition: transform 180ms ease;
}

.toggle-input:checked + .toggle {
  background: var(--jade-700);
}

.toggle-input:checked + .toggle::after {
  transform: translateX(15px);
}

.inline-action {
  display: flex;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 58, 48, 0.07);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.inline-action b {
  font-size: 10px;
}

.inline-action p {
  margin: 5px 0 0;
  color: #98a39d;
  font-size: 8px;
}

.data-status-card {
  display: flex;
  margin-bottom: 13px;
  padding: 22px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 30%, rgba(234, 215, 168, 0.24), transparent 14rem),
    #fffdf9;
  align-items: center;
  gap: 18px;
}

.data-orbit {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 1px dashed rgba(195, 162, 101, 0.45);
  border-radius: 50%;
  color: var(--gold);
  place-items: center;
}

.data-orbit svg {
  width: 23px;
  height: 23px;
}

.data-status-card > div:nth-child(2) {
  flex: 1;
}

.data-status-card span {
  color: #8d9992;
  font-size: 8px;
}

.data-status-card strong {
  display: block;
  margin: 5px 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.data-status-card p {
  margin: 0;
  color: #98a39d;
  font-size: 8px;
}

.placeholder-page {
  display: grid;
  height: 100%;
  place-items: center;
}

.placeholder-card {
  max-width: 520px;
  padding: 48px;
  border: 1px solid rgba(23, 58, 48, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.placeholder-orbit {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border: 1px dashed rgba(195, 162, 101, 0.6);
  border-radius: 50%;
  color: var(--gold);
  place-items: center;
}

.placeholder-orbit svg {
  width: 28px;
  height: 28px;
}

.placeholder-card .section-kicker {
  justify-content: center;
}

.placeholder-card h1 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
}

.placeholder-card > p:last-of-type {
  margin: 0 auto 22px;
  color: #839089;
  font-size: 12px;
  line-height: 1.8;
}

/* 手机端预览 */
.client-surface {
  display: grid;
  max-width: 1380px;
  margin: 0 auto;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
}

.client-story {
  max-width: 520px;
  justify-self: end;
  animation: story-in 480ms 80ms ease both;
}

.client-story .section-kicker b {
  color: #99804f;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.client-story h1 {
  margin: 16px 0 19px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.3vw, 76px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.025em;
}

/* 微信浏览器标题字数较多，略收字号以保持完整的两行节奏。 */
body[data-preview-mode="wechat"] .client-story h1 {
  font-size: clamp(42px, 4.5vw, 64px);
}

.client-story > p:nth-of-type(2) {
  max-width: 390px;
  margin: 0;
  color: #77877e;
  font-size: 13px;
  line-height: 1.9;
}

.client-notes {
  display: grid;
  margin-top: 26px;
  gap: 10px;
}

.client-notes article {
  display: flex;
  max-width: 410px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 58, 48, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.4);
  gap: 13px;
}

.client-notes article > span {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(195, 162, 101, 0.28);
  border-radius: 50%;
  color: #a1834f;
  font-family: var(--serif);
  font-size: 8px;
  place-items: center;
}

.client-notes b {
  font-size: 10px;
}

.client-notes p {
  margin: 4px 0 0;
  color: #8d9992;
  font-size: 8px;
  line-height: 1.6;
}

.client-palette {
  display: flex;
  margin-top: 23px;
  color: #8d9992;
  font-size: 8px;
  align-items: center;
  gap: 7px;
}

.client-palette i {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 50%;
  background: var(--c);
}

.device-stage {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
}

.device-stage::before {
  position: absolute;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 255, 255, 0.82), transparent 55%),
    rgba(235, 225, 207, 0.52);
  box-shadow:
    0 0 0 1px rgba(195, 162, 101, 0.12),
    0 0 0 42px rgba(255, 255, 255, 0.13);
  content: "";
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(195, 162, 101, 0.15);
  border-radius: 50%;
}

.stage-orbit--one {
  width: min(44vw, 620px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: slow-spin 60s linear infinite;
}

.stage-orbit--two {
  width: min(33vw, 460px);
  aspect-ratio: 1;
}

.stage-petal {
  position: absolute;
  width: 36px;
  height: 16px;
  border-radius: 90% 10% 90% 10%;
  background: linear-gradient(135deg, rgba(200, 143, 131, 0.46), rgba(234, 215, 168, 0.1));
  filter: blur(0.3px);
}

.stage-petal--one {
  top: 16%;
  right: 13%;
  transform: rotate(36deg);
  animation: petal-float 7s ease-in-out infinite;
}

.stage-petal--two {
  bottom: 18%;
  left: 8%;
  width: 22px;
  height: 10px;
  transform: rotate(-42deg);
  animation: petal-float 9s -3s ease-in-out infinite reverse;
}

.device-frame {
  position: relative;
  z-index: 2;
  display: flex;
  width: auto;
  height: min(780px, calc(100svh - 118px));
  aspect-ratio: 390 / 800;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 45px;
  background:
    linear-gradient(145deg, #3b4c44, #111d19 38%, #263a32 70%, #0f1916);
  box-shadow:
    0 38px 90px rgba(32, 48, 40, 0.27),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 3px rgba(11, 21, 17, 0.9);
  flex-direction: column;
}

.device-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ivory-50);
}

.device-frame {
  --skin-paper: #faf6ed;
  --skin-wash-a: rgba(234, 215, 168, 0.3);
  --skin-wash-b: rgba(200, 143, 131, 0.17);
  --skin-pattern: rgba(41, 74, 62, 0.045);
  --skin-card: rgba(255, 255, 255, 0.58);
  --skin-card-strong: rgba(255, 252, 246, 0.93);
  --skin-border: rgba(23, 58, 48, 0.09);
  --skin-hero-a: #214c3e;
  --skin-hero-b: #15362c;
  --skin-hero-glow: rgba(234, 215, 168, 0.24);
  --skin-avatar-a: #e3c7a2;
  --skin-avatar-b: #b27b69;
  --skin-member-a: rgba(255, 250, 240, 0.94);
  --skin-member-b: rgba(246, 236, 215, 0.94);
  --skin-member-ink: #54462f;
  --skin-tabbar: rgba(255, 252, 246, 0.91);
  --skin-sheet: #fffaf3;
  --skin-on-hero: #fffaf0;
}

.device-frame[data-client-skin="peach"] {
  --jade-950: #4a2836;
  --jade-900: #69394b;
  --jade-800: #7b4659;
  --jade-700: #956174;
  --jade-100: #f0dce2;
  --gold: #c88f79;
  --gold-light: #f1d1bf;
  --rose: #d29aa4;
  --rose-soft: #f7e6e4;
  --ink: #4f3540;
  --muted: #927983;
  --skin-paper: #fbf1ef;
  --skin-wash-a: rgba(242, 198, 188, 0.42);
  --skin-wash-b: rgba(202, 134, 151, 0.22);
  --skin-pattern: rgba(132, 63, 83, 0.055);
  --skin-card: rgba(255, 250, 249, 0.67);
  --skin-card-strong: rgba(255, 247, 245, 0.95);
  --skin-border: rgba(105, 57, 75, 0.1);
  --skin-hero-a: #7b4658;
  --skin-hero-b: #542e3e;
  --skin-hero-glow: rgba(248, 207, 189, 0.28);
  --skin-avatar-a: #f0cabc;
  --skin-avatar-b: #bd7680;
  --skin-member-a: rgba(255, 249, 246, 0.96);
  --skin-member-b: rgba(246, 220, 215, 0.94);
  --skin-member-ink: #6e4650;
  --skin-tabbar: rgba(255, 248, 245, 0.93);
  --skin-sheet: #fff7f5;
}

.device-frame[data-client-skin="moon"] {
  --jade-950: #213a44;
  --jade-900: #294b57;
  --jade-800: #365d68;
  --jade-700: #4d7480;
  --jade-100: #dce9eb;
  --gold: #aa9b76;
  --gold-light: #e8dec4;
  --rose: #91aab5;
  --rose-soft: #deeaed;
  --ink: #263f49;
  --muted: #71868d;
  --skin-paper: #f2f7f7;
  --skin-wash-a: rgba(216, 230, 229, 0.5);
  --skin-wash-b: rgba(154, 180, 189, 0.18);
  --skin-pattern: rgba(43, 81, 91, 0.05);
  --skin-card: rgba(250, 254, 254, 0.67);
  --skin-card-strong: rgba(249, 253, 253, 0.95);
  --skin-border: rgba(41, 75, 87, 0.09);
  --skin-hero-a: #446c76;
  --skin-hero-b: #294c57;
  --skin-hero-glow: rgba(232, 222, 196, 0.28);
  --skin-avatar-a: #d9e2dd;
  --skin-avatar-b: #8ba7a8;
  --skin-member-a: rgba(249, 253, 252, 0.97);
  --skin-member-b: rgba(224, 235, 232, 0.94);
  --skin-member-ink: #405c61;
  --skin-tabbar: rgba(248, 252, 252, 0.93);
  --skin-sheet: #f8fcfc;
}

.device-frame[data-client-skin="wisteria"] {
  --jade-950: #3b2b48;
  --jade-900: #4f3b5c;
  --jade-800: #624b70;
  --jade-700: #7d6788;
  --jade-100: #e8dfea;
  --gold: #bda276;
  --gold-light: #ead9ba;
  --rose: #b48fa9;
  --rose-soft: #eedfea;
  --ink: #40334b;
  --muted: #85768e;
  --skin-paper: #f6f1f7;
  --skin-wash-a: rgba(222, 207, 229, 0.47);
  --skin-wash-b: rgba(179, 143, 170, 0.2);
  --skin-pattern: rgba(88, 61, 104, 0.055);
  --skin-card: rgba(254, 251, 254, 0.66);
  --skin-card-strong: rgba(253, 249, 253, 0.95);
  --skin-border: rgba(79, 59, 92, 0.1);
  --skin-hero-a: #654d73;
  --skin-hero-b: #43334f;
  --skin-hero-glow: rgba(235, 215, 185, 0.26);
  --skin-avatar-a: #dfc8d3;
  --skin-avatar-b: #936f8c;
  --skin-member-a: rgba(254, 250, 253, 0.96);
  --skin-member-b: rgba(232, 219, 234, 0.94);
  --skin-member-ink: #5a435f;
  --skin-tabbar: rgba(253, 249, 253, 0.92);
  --skin-sheet: #fcf8fc;
}

.device-frame[data-client-skin="amber"] {
  --jade-950: #3f2b20;
  --jade-900: #533a29;
  --jade-800: #684b35;
  --jade-700: #836449;
  --jade-100: #eee0cf;
  --gold: #c99f54;
  --gold-light: #f0d99f;
  --rose: #c68f73;
  --rose-soft: #f2e1d7;
  --ink: #49372b;
  --muted: #8d7a69;
  --skin-paper: #faf1e4;
  --skin-wash-a: rgba(240, 213, 166, 0.46);
  --skin-wash-b: rgba(199, 143, 105, 0.2);
  --skin-pattern: rgba(93, 61, 38, 0.055);
  --skin-card: rgba(255, 251, 244, 0.67);
  --skin-card-strong: rgba(255, 251, 244, 0.95);
  --skin-border: rgba(83, 58, 41, 0.1);
  --skin-hero-a: #755239;
  --skin-hero-b: #4d3425;
  --skin-hero-glow: rgba(244, 214, 154, 0.28);
  --skin-avatar-a: #ebcaa3;
  --skin-avatar-b: #b87956;
  --skin-member-a: rgba(255, 251, 243, 0.97);
  --skin-member-b: rgba(242, 222, 190, 0.94);
  --skin-member-ink: #684b31;
  --skin-tabbar: rgba(255, 249, 239, 0.93);
  --skin-sheet: #fff9ef;
}

.device-frame .phone-screen {
  background:
    radial-gradient(circle at 0 2%, var(--skin-wash-a), transparent 14rem),
    radial-gradient(circle at 100% 12%, var(--skin-wash-b), transparent 16rem),
    radial-gradient(ellipse 74px 26px at 88% 30%, transparent 67%, var(--skin-pattern) 68% 69%, transparent 70%),
    radial-gradient(ellipse 48px 18px at 12% 68%, transparent 67%, var(--skin-pattern) 68% 69%, transparent 70%),
    repeating-linear-gradient(118deg, transparent 0 27px, var(--skin-pattern) 28px 28.5px, transparent 29px 58px),
    var(--skin-paper);
  transition: background 320ms ease, color 220ms ease;
}

.device-frame .mini-hero,
.device-frame .wechat-hero,
.device-frame .profile-hero {
  background:
    radial-gradient(circle at 84% 12%, var(--skin-hero-glow), transparent 9rem),
    linear-gradient(142deg, var(--skin-hero-a), var(--skin-hero-b));
  color: var(--skin-on-hero);
  transition: background 320ms ease, box-shadow 220ms ease;
}

.device-frame .wechat-card {
  background:
    radial-gradient(circle at 90% 10%, var(--skin-hero-glow), transparent 8rem),
    linear-gradient(145deg, var(--skin-hero-a), var(--skin-hero-b));
}

.device-frame .profile-avatar {
  background: linear-gradient(145deg, var(--skin-avatar-a), var(--skin-avatar-b));
}

.device-frame .app-member-card {
  background: linear-gradient(120deg, var(--skin-member-a), var(--skin-member-b));
  color: var(--skin-member-ink);
  transition: background 280ms ease, color 220ms ease;
}

.device-frame .quick-grid button,
.device-frame .content-card,
.device-frame .app-menu {
  border-color: var(--skin-border);
  background: var(--skin-card);
  transition: background 280ms ease, border-color 220ms ease;
}

.device-frame .mini-nav button,
.device-frame .app-topline button {
  border-color: var(--skin-border);
  background: var(--skin-card-strong);
}

.device-frame .phone-tabbar {
  border-color: var(--skin-border);
  background: var(--skin-tabbar);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    background 280ms ease;
}

.device-frame .wechat-hero > button {
  background: var(--skin-card-strong);
}

.device-homebar {
  flex: 0 0 14px;
  align-self: end;
  justify-self: center;
  width: 105px;
  height: 4px;
  margin-bottom: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.84);
}

.phone-screen {
  position: relative;
  height: 100%;
  padding-bottom: 68px;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--jade-900);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 215, 168, 0.26), transparent 12rem),
    #faf6ed;
  scrollbar-width: none;
  animation: phone-in 360ms ease both;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

.phone-screen button {
  cursor: pointer;
}

.mini-nav {
  display: flex;
  padding: 16px 17px 13px;
  align-items: center;
  justify-content: space-between;
}

.mini-nav > div {
  display: grid;
  gap: 4px;
}

.mini-nav small {
  color: #87938c;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.mini-nav strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.mini-nav button,
.app-topline button {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(23, 58, 48, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  color: var(--jade-900);
  place-items: center;
}

.mini-nav button svg,
.app-topline button svg {
  width: 17px;
  height: 17px;
}

.mini-nav button i,
.app-topline button i {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border: 1px solid #faf6ed;
  border-radius: 50%;
  background: var(--rose);
}

.mini-hero {
  position: relative;
  display: flex;
  min-height: 160px;
  margin: 0 15px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 14%, rgba(234, 215, 168, 0.23), transparent 7rem),
    linear-gradient(138deg, #214c3e, #15362c);
  box-shadow: 0 18px 38px rgba(23, 58, 48, 0.2);
  color: #fffaf0;
  justify-content: space-between;
}

.mini-hero::after {
  position: absolute;
  right: -38px;
  bottom: -55px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(234, 215, 168, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(234, 215, 168, 0.04);
  content: "";
}

.mini-hero__leaf {
  position: absolute;
  top: 22px;
  right: 100px;
  width: 40px;
  height: 17px;
  border: 1px solid rgba(234, 215, 168, 0.27);
  border-radius: 100% 0 100% 0;
  transform: rotate(-28deg);
}

.mini-hero > div {
  position: relative;
  z-index: 2;
}

.mini-hero small {
  color: var(--gold-light);
  font-size: 7px;
  letter-spacing: 0.22em;
}

.mini-hero h2 {
  margin: 13px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.04em;
}

.mini-hero p {
  margin: 0;
  color: rgba(255, 250, 240, 0.5);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.mini-hero img {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(234, 215, 168, 0.4);
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.quick-grid {
  display: grid;
  margin: 14px 15px 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.quick-grid button {
  display: grid;
  min-width: 0;
  padding: 12px 3px 10px;
  border: 1px solid rgba(23, 58, 48, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  justify-items: center;
}

.quick-grid span {
  display: grid;
  width: 33px;
  height: 33px;
  margin-bottom: 7px;
  border: 1px solid rgba(195, 162, 101, 0.3);
  border-radius: 50%;
  background: #f5ede0;
  color: #9b793f;
  font-family: var(--serif);
  font-size: 14px;
  place-items: center;
}

.quick-grid button:nth-child(2) span {
  background: #f6e9e5;
  color: #a86e63;
}

.quick-grid button:nth-child(3) span {
  background: #e8f0e9;
  color: #557a63;
}

.quick-grid button:nth-child(4) span {
  background: #edf0ef;
  color: #687b72;
}

.quick-grid b {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.quick-grid small {
  margin-top: 3px;
  color: #9ba59f;
  font-size: 6px;
  white-space: nowrap;
}

.mini-section {
  padding: 19px 15px 0;
}

.mini-section__head {
  display: flex;
  margin-bottom: 10px;
  align-items: flex-end;
  justify-content: space-between;
}

.mini-section__head small {
  color: #b0925c;
  font-size: 6px;
  letter-spacing: 0.2em;
}

.mini-section__head h3 {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.mini-section__head button {
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8d9992;
  font-size: 8px;
  align-items: center;
  gap: 1px;
}

.mini-section__head button svg {
  width: 11px;
  height: 11px;
}

.content-card {
  display: grid;
  margin-bottom: 9px;
  padding: 8px;
  border: 1px solid rgba(23, 58, 48, 0.075);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.54);
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 11px;
}

.content-card > div:last-child {
  padding: 5px 2px;
}

.content-art {
  position: relative;
  display: grid;
  height: 76px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 30%, rgba(234, 215, 168, 0.42), transparent 4rem),
    linear-gradient(135deg, #8fa899, #315c4d);
  color: #fff8eb;
  place-items: center;
}

.content-art::before,
.content-art::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.content-art::before {
  width: 72px;
  height: 72px;
  right: -28px;
  bottom: -32px;
}

.content-art::after {
  width: 40px;
  height: 40px;
  right: -10px;
  bottom: -16px;
}

.content-art span {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

.content-art i {
  position: absolute;
  top: 11px;
  left: 10px;
  width: 16px;
  height: 7px;
  border-radius: 90% 10%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(-28deg);
}

.content-art--rose {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 4rem),
    linear-gradient(145deg, #d3aba1, #925f56);
}

.mini-tag {
  display: inline-block;
  padding: 3px 6px;
  border-radius: 4px;
  background: #eaf1eb;
  color: #5b816a;
  font-size: 6px;
}

.mini-tag--rose {
  background: #f6e8e4;
  color: #a76d63;
}

.content-card h4 {
  margin: 7px 0 6px;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.content-card p {
  margin: 0;
  color: #9ca59f;
  font-size: 7px;
}

.phone-tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  min-height: 60px;
  padding: 7px 10px 5px;
  border-top: 1px solid rgba(23, 58, 48, 0.08);
  background: rgba(255, 252, 246, 0.9);
  backdrop-filter: blur(16px);
  grid-template-columns: repeat(4, 1fr);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.phone-screen > .phone-tabbar {
  display: none;
}

.phone-tabbar--fixed {
  z-index: 30;
}

body[data-navigation-hidden="true"] .phone-tabbar--fixed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}

.phone-tabbar button {
  display: grid;
  border: 0;
  background: transparent;
  color: #98a29c;
  font-size: 7px;
  justify-items: center;
  align-content: center;
  gap: 3px;
}

.phone-tabbar button svg {
  width: 17px;
  height: 17px;
}

.phone-tabbar button.is-active {
  color: var(--jade-900);
  font-weight: 600;
}

.phone-tabbar button.is-active::before {
  position: absolute;
  top: 0;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--gold);
  content: "";
}

/* 底部页签切换后的模拟手机页面 */
.simulated-tab-page {
  position: absolute;
  inset: 0;
  z-index: 22;
  padding: 10px 15px 82px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 2% 0%, var(--skin-wash-a), transparent 14rem),
    radial-gradient(circle at 100% 10%, var(--skin-wash-b), transparent 15rem),
    radial-gradient(ellipse 72px 24px at 90% 26%, transparent 67%, var(--skin-pattern) 68% 69%, transparent 70%),
    repeating-linear-gradient(118deg, transparent 0 29px, var(--skin-pattern) 30px 30.5px, transparent 31px 60px),
    var(--skin-paper);
  color: var(--jade-900);
  scrollbar-width: none;
  animation: simulated-page-in 260ms ease both;
}

.simulated-tab-page[hidden] {
  display: none;
}

.simulated-tab-page::-webkit-scrollbar {
  display: none;
}

.sim-page-head {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 12px 1px 14px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
}

.sim-page-head > div {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: calc(100% - 52px);
  gap: 3px;
}

.sim-page-head small {
  color: var(--gold);
  font-size: 6px;
  letter-spacing: 0.19em;
}

.sim-page-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.sim-page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 7px;
}

.sim-page-head__mark {
  position: absolute;
  top: -3px;
  right: 38px;
  color: var(--skin-pattern);
  font-family: var(--serif);
  font-size: 76px;
  line-height: 1;
  pointer-events: none;
}

.sim-page-head > button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 35px;
  height: 35px;
  border: 1px solid var(--skin-border);
  border-radius: 50%;
  background: var(--skin-card-strong);
  color: var(--jade-900);
  place-items: center;
}

.sim-page-head > button svg {
  width: 16px;
  height: 16px;
}

.sim-page-head > button i {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--skin-paper);
  border-radius: 50%;
  background: var(--rose);
}

.sim-feature-card {
  position: relative;
  min-height: 164px;
  padding: 19px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, var(--skin-hero-glow), transparent 9rem),
    linear-gradient(142deg, var(--skin-hero-a), var(--skin-hero-b));
  box-shadow: 0 16px 34px var(--skin-pattern);
  color: var(--skin-on-hero);
}

.sim-feature-card > small {
  position: relative;
  z-index: 2;
  color: var(--gold-light);
  font-size: 6px;
  letter-spacing: 0.16em;
}

.sim-feature-card h3 {
  position: relative;
  z-index: 2;
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.04em;
}

.sim-feature-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 250, 240, 0.58);
  font-size: 7px;
  line-height: 1.7;
}

.sim-feature-card > button {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 250, 240, 0.19);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.1);
  color: var(--gold-light);
  font-size: 7px;
}

.sim-feature-card > button span {
  margin-left: 8px;
}

.sim-feature-card__orb {
  position: absolute;
  top: -42px;
  right: -28px;
  display: grid;
  width: 126px;
  height: 126px;
  border: 1px solid rgba(234, 215, 168, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(234, 215, 168, 0.035),
    0 0 0 36px rgba(234, 215, 168, 0.02);
  color: rgba(234, 215, 168, 0.25);
  font-family: var(--serif);
  font-size: 25px;
  place-items: center;
}

.sim-feature-card--growth {
  min-height: 203px;
}

.sim-feature-card--growth p {
  max-width: 220px;
}

.sim-progress {
  position: relative;
  z-index: 2;
  height: 3px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 250, 240, 0.12);
}

.sim-progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 12px rgba(234, 215, 168, 0.4);
}

.sim-progress-copy {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.48);
  font-size: 6px;
  align-items: center;
  justify-content: space-between;
}

.sim-progress-copy button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 7px;
}

.sim-feature-card--goods {
  display: flex;
  min-height: 172px;
  align-items: center;
  justify-content: space-between;
}

.sim-feature-card--goods > div {
  position: relative;
  z-index: 2;
  width: calc(100% - 76px);
}

.sim-feature-card--goods h3 {
  font-size: 21px;
}

.sim-gift {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  margin-left: 9px;
  border: 1px solid rgba(234, 215, 168, 0.35);
  border-radius: 19px;
  background: rgba(255, 250, 240, 0.09);
  color: var(--gold-light);
  font-family: var(--serif);
  place-items: center;
  transform: rotate(5deg);
}

.sim-gift::before,
.sim-gift::after {
  position: absolute;
  border: 1px solid rgba(234, 215, 168, 0.2);
  border-radius: 100% 0 100% 0;
  content: "";
}

.sim-gift::before {
  top: 17px;
  left: 11px;
  width: 18px;
  height: 7px;
  transform: rotate(31deg);
}

.sim-gift::after {
  right: 10px;
  bottom: 14px;
  width: 15px;
  height: 6px;
  transform: rotate(-32deg);
}

.sim-gift i {
  position: absolute;
  width: 2px;
  height: 50px;
  background: rgba(234, 215, 168, 0.13);
}

.sim-gift i:first-child {
  transform: rotate(45deg);
}

.sim-gift i:nth-child(2) {
  transform: rotate(-45deg);
}

.sim-gift b {
  font-size: 18px;
  font-weight: 500;
}

.sim-quick-grid {
  display: grid;
  margin-top: 13px;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.sim-quick-grid button {
  display: grid;
  padding: 11px 2px 9px;
  border: 1px solid var(--skin-border);
  border-radius: 14px;
  background: var(--skin-card);
  justify-items: center;
  gap: 2px;
}

.sim-quick-grid span {
  display: grid;
  width: 31px;
  height: 31px;
  margin-bottom: 4px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--skin-card-strong);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  place-items: center;
}

.sim-quick-grid button:nth-child(2) span {
  color: var(--rose);
}

.sim-quick-grid button:nth-child(3) span {
  color: var(--jade-700);
}

.sim-quick-grid b {
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
}

.sim-quick-grid small {
  color: var(--muted);
  font-size: 6px;
  white-space: nowrap;
}

.sim-stat-row {
  display: grid;
  min-height: 60px;
  margin-top: 11px;
  border: 1px solid var(--skin-border);
  border-radius: 16px;
  background: var(--skin-card);
  grid-template-columns: repeat(3, 1fr);
}

.sim-stat-row div {
  display: grid;
  border-right: 1px solid var(--skin-border);
  place-items: center;
  align-content: center;
  gap: 2px;
}

.sim-stat-row div:last-child {
  border-right: 0;
}

.sim-stat-row b {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.sim-stat-row span {
  color: var(--muted);
  font-size: 6px;
}

.sim-section {
  margin-top: 17px;
}

.sim-section-head {
  display: flex;
  margin-bottom: 9px;
  align-items: flex-end;
  justify-content: space-between;
}

.sim-section-head > div {
  display: grid;
  gap: 1px;
}

.sim-section-head small {
  color: var(--gold);
  font-size: 6px;
  letter-spacing: 0.16em;
}

.sim-section-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.sim-section-head > button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 7px;
}

.sim-reading-card {
  display: grid;
  width: 100%;
  min-height: 83px;
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid var(--skin-border);
  border-radius: 15px;
  background: var(--skin-card);
  color: var(--jade-900);
  text-align: left;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.sim-reading-card__visual {
  display: grid;
  width: 68px;
  height: 65px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.17), transparent 26px),
    linear-gradient(145deg, #7d998d, #476b5b);
  color: #f8edcf;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.12em;
  place-items: center;
}

.sim-reading-card__visual--rose {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.17), transparent 26px),
    linear-gradient(145deg, #c7948d, #955e5a);
}

.sim-reading-card > span:last-child {
  display: grid;
  gap: 4px;
}

.sim-reading-card small {
  justify-self: start;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 5px;
}

.sim-reading-card b {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.sim-reading-card em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.sim-course-list {
  display: grid;
  gap: 7px;
}

.sim-course {
  display: grid;
  width: 100%;
  min-height: 70px;
  padding: 8px;
  border: 1px solid var(--skin-border);
  border-radius: 15px;
  background: var(--skin-card);
  color: var(--jade-900);
  text-align: left;
  grid-template-columns: 48px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
}

.sim-cover {
  display: grid;
  width: 48px;
  height: 52px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 22px),
    linear-gradient(145deg, #789789, #426353);
  color: #f4e7ca;
  font-family: var(--serif);
  font-size: 12px;
  place-items: center;
}

.sim-cover--rose {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 22px),
    linear-gradient(145deg, #c99791, #8f5b58);
}

.sim-cover--gold {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.22), transparent 22px),
    linear-gradient(145deg, #c9b48b, #8c7653);
}

.sim-course > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.sim-course small {
  color: var(--gold);
  font-size: 6px;
}

.sim-course b {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.sim-course em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.sim-course__arrow {
  color: var(--muted);
  font-size: 12px;
}

.sim-chip-row {
  display: flex;
  margin-top: 12px;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
}

.sim-chip-row::-webkit-scrollbar {
  display: none;
}

.sim-chip-row button {
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid var(--skin-border);
  border-radius: 999px;
  background: var(--skin-card);
  color: var(--muted);
  font-size: 7px;
}

.sim-chip-row button.is-active {
  border-color: var(--jade-900);
  background: var(--jade-900);
  color: var(--skin-on-hero);
}

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

.sim-product {
  display: grid;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--skin-border);
  border-radius: 14px;
  background: var(--skin-card);
  color: var(--jade-900);
  text-align: left;
  gap: 4px;
}

.sim-product__visual {
  position: relative;
  display: grid;
  height: 82px;
  margin-bottom: 3px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 23%, rgba(255, 255, 255, 0.34), transparent 24px),
    linear-gradient(145deg, #d9c6a0, #9c835a);
  color: rgba(255, 250, 240, 0.87);
  font-family: var(--serif);
  font-size: 17px;
  place-items: center;
}

.sim-product__visual::after {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.sim-product__visual--blue {
  background:
    radial-gradient(circle at 28% 23%, rgba(255, 255, 255, 0.34), transparent 24px),
    linear-gradient(145deg, #b8cac8, #748f8d);
}

.sim-product__visual--rose {
  background:
    radial-gradient(circle at 28% 23%, rgba(255, 255, 255, 0.34), transparent 24px),
    linear-gradient(145deg, #dbb4ae, #a16f6a);
}

.sim-product__visual--gold {
  background:
    radial-gradient(circle at 28% 23%, rgba(255, 255, 255, 0.34), transparent 24px),
    linear-gradient(145deg, #d8c39a, #a48957);
}

.sim-product small {
  color: var(--gold);
  font-size: 5px;
}

.sim-product b {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-product em {
  color: var(--rose);
  font-size: 8px;
  font-style: normal;
}

.sim-mood-card {
  position: relative;
  min-height: 218px;
  padding: 23px 20px;
  overflow: hidden;
  border: 1px solid var(--skin-border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, var(--skin-card-strong), var(--skin-card));
  box-shadow: 0 15px 34px var(--skin-pattern);
}

.sim-mood-card__moon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 74px;
  height: 74px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow:
    inset 18px -8px 0 var(--skin-paper),
    0 0 0 12px var(--skin-pattern);
  transform: rotate(-17deg);
}

.sim-mood-card > small {
  color: var(--gold);
  font-size: 6px;
  letter-spacing: 0.14em;
}

.sim-mood-card h3 {
  margin: 22px 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
}

.sim-mood-card p {
  margin: 0;
  color: var(--muted);
  font-size: 7px;
}

.sim-mood-card > button {
  margin-top: 18px;
  padding: 7px 11px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--jade-700);
  font-size: 7px;
}

.sim-section--discover {
  margin-top: 19px;
}

.sim-story-card {
  display: grid;
  width: 100%;
  min-height: 67px;
  margin-bottom: 7px;
  padding: 9px;
  border: 1px solid var(--skin-border);
  border-radius: 15px;
  background: var(--skin-card);
  color: var(--jade-900);
  text-align: left;
  grid-template-columns: 39px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 9px;
}

.sim-story-card__avatar {
  display: grid;
  width: 39px;
  height: 39px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--skin-avatar-a), var(--skin-avatar-b));
  color: var(--skin-on-hero);
  font-family: var(--serif);
  font-size: 11px;
  place-items: center;
}

.sim-story-card__avatar--rose {
  background: linear-gradient(145deg, #dfb8b2, #a46c6c);
}

.sim-story-card__avatar--gold {
  background: linear-gradient(145deg, #ddc79b, #a2844f);
}

.sim-story-card > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.sim-story-card small {
  color: var(--gold);
  font-size: 5px;
}

.sim-story-card b {
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
}

.sim-story-card em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.sim-story-card > i {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.sim-profile-card {
  display: grid;
  min-height: 110px;
  padding: 17px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 21px;
  background:
    radial-gradient(circle at 90% 10%, var(--skin-hero-glow), transparent 9rem),
    linear-gradient(142deg, var(--skin-hero-a), var(--skin-hero-b));
  box-shadow: 0 16px 34px var(--skin-pattern);
  color: var(--skin-on-hero);
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.sim-profile-card__avatar {
  display: grid;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(234, 215, 168, 0.5);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--skin-avatar-a), var(--skin-avatar-b));
  font-family: var(--serif);
  font-size: 17px;
  place-items: center;
}

.sim-profile-card > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.sim-profile-card small {
  color: var(--gold-light);
  font-size: 6px;
}

.sim-profile-card b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.sim-profile-card em {
  color: rgba(255, 250, 240, 0.5);
  font-size: 6px;
  font-style: normal;
}

.sim-profile-card button {
  padding: 5px 8px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.07);
  color: var(--gold-light);
  font-size: 6px;
}

.sim-list {
  margin-top: 12px;
  padding: 7px 13px;
  border: 1px solid var(--skin-border);
  border-radius: 16px;
  background: var(--skin-card);
}

.sim-list > p {
  margin: 7px 3px 4px;
  color: var(--muted);
  font-size: 7px;
}

.sim-list > button {
  display: grid;
  width: 100%;
  min-height: 48px;
  padding: 6px 3px;
  border: 0;
  border-bottom: 1px solid var(--skin-border);
  background: transparent;
  color: var(--jade-900);
  text-align: left;
  grid-template-columns: 29px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 8px;
}

.sim-list > button:last-child {
  border-bottom: 0;
}

.sim-list > button > span {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--skin-card-strong);
  color: var(--jade-700);
  font-family: var(--serif);
  font-size: 9px;
  place-items: center;
}

.sim-list > button > b,
.sim-list > button > small {
  grid-column: 2;
}

.sim-list > button > b {
  align-self: end;
  font-size: 9px;
}

.sim-list > button > small {
  align-self: start;
  color: var(--muted);
  font-size: 6px;
}

.sim-list > button > small em {
  font-style: normal;
}

.sim-list > button > i {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

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

/* 微信浏览器落地页 */
.wechat-screen {
  padding-bottom: 68px;
  background: #f7f2e8;
}

.wechat-hero {
  position: relative;
  min-height: 290px;
  padding: 27px 22px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(234, 215, 168, 0.23), transparent 10rem),
    radial-gradient(circle at 7% 85%, rgba(200, 143, 131, 0.17), transparent 12rem),
    linear-gradient(148deg, #173a30, #265345);
  color: #fffaf0;
}

.wechat-hero::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(234, 215, 168, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(234, 215, 168, 0.03),
    0 0 0 52px rgba(234, 215, 168, 0.02);
  content: "";
}

.wechat-kicker {
  position: relative;
  z-index: 2;
  color: var(--gold-light);
  font-size: 6px;
  letter-spacing: 0.24em;
}

.wechat-hero h2 {
  position: relative;
  z-index: 2;
  margin: 10px 0 9px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.05em;
}

.wechat-hero > p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 250, 240, 0.55);
  font-size: 9px;
}

.wechat-hero > button {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 156px;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 6px 0 15px;
  border: 0;
  border-radius: 999px;
  background: #f3ead9;
  color: var(--jade-900);
  font-size: 9px;
  align-items: center;
  justify-content: space-between;
}

.wechat-hero > button span {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-light);
  font-size: 13px;
  place-items: center;
}

.wechat-flower {
  position: absolute;
  width: 24px;
  height: 10px;
  border: 1px solid rgba(234, 215, 168, 0.24);
  border-radius: 100% 0;
}

.wechat-flower--one {
  top: 88px;
  right: 23px;
  transform: rotate(34deg);
}

.wechat-flower--two {
  top: 116px;
  right: 56px;
  width: 15px;
  height: 7px;
  transform: rotate(-49deg);
}

.wechat-page {
  padding: 0 16px 72px;
}

.trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  margin: -17px 0 21px;
  padding: 14px 8px;
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 12px 30px rgba(23, 58, 48, 0.11);
  grid-template-columns: repeat(3, 1fr);
}

.trust-row div {
  display: grid;
  border-right: 1px solid rgba(23, 58, 48, 0.08);
  text-align: center;
  gap: 4px;
}

.trust-row div:last-child {
  border-right: 0;
}

.trust-row strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.trust-row span {
  color: #9ba59f;
  font-size: 7px;
}

.wechat-section__title {
  display: grid;
  margin-bottom: 10px;
  gap: 3px;
}

.wechat-section__title span {
  color: #ac8e58;
  font-size: 6px;
  letter-spacing: 0.18em;
}

.wechat-section__title b {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.wechat-story {
  display: grid;
  margin-bottom: 10px;
  padding: 7px;
  border: 1px solid rgba(23, 58, 48, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
  grid-template-columns: 83px 1fr;
  gap: 11px;
}

.wechat-story__visual {
  position: relative;
  display: grid;
  height: 86px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.35), transparent 4rem),
    linear-gradient(145deg, #b7c6b8, #6d907d);
  color: rgba(255, 255, 255, 0.88);
  place-items: center;
}

.wechat-story__visual::after {
  position: absolute;
  right: -20px;
  bottom: -23px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
}

.wechat-story__visual--gold {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.35), transparent 4rem),
    linear-gradient(145deg, #c6ad80, #866e48);
}

.wechat-story__visual span {
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-align: center;
}

.wechat-story > div:last-child {
  padding: 7px 2px 4px;
}

.wechat-story > div:last-child > span {
  color: #ac8e58;
  font-size: 6px;
}

.wechat-story h3 {
  margin: 6px 0;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.55;
}

.wechat-story p {
  margin: 0;
  color: #9ba59f;
  font-size: 6px;
}

.wechat-card {
  position: relative;
  margin-top: 18px;
  padding: 20px 18px;
  overflow: hidden;
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 10%, rgba(234, 215, 168, 0.3), transparent 8rem),
    #1a3e32;
  color: #fffaf0;
}

.wechat-card::after {
  position: absolute;
  right: -35px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(234, 215, 168, 0.16);
  border-radius: 50%;
  content: "";
}

.wechat-card > span {
  color: var(--gold-light);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.wechat-card h3 {
  margin: 8px 0 7px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.wechat-card p {
  margin: 0;
  color: rgba(255, 250, 240, 0.5);
  font-size: 7px;
}

.wechat-card button {
  margin-top: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(234, 215, 168, 0.32);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  font-size: 7px;
}

/* 原生 APP 的“我的”页面 */
.app-screen {
  padding: 0 15px 70px;
  background:
    radial-gradient(circle at 0 0, rgba(200, 143, 131, 0.2), transparent 14rem),
    radial-gradient(circle at 100% 8%, rgba(234, 215, 168, 0.25), transparent 16rem),
    #f8f3e9;
}

.app-topline {
  display: flex;
  padding: 17px 2px 13px;
  align-items: center;
  justify-content: space-between;
}

.app-topline > div {
  display: grid;
  gap: 4px;
}

.app-topline small {
  color: #a38653;
  font-size: 6px;
  letter-spacing: 0.2em;
}

.app-topline h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.profile-hero {
  position: relative;
  display: grid;
  padding: 18px 16px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 10%, rgba(234, 215, 168, 0.28), transparent 10rem),
    linear-gradient(145deg, #1c4538, #15342a);
  box-shadow: 0 17px 36px rgba(23, 58, 48, 0.18);
  color: #fffaf0;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.profile-glow {
  position: absolute;
  right: -55px;
  bottom: 12px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(234, 215, 168, 0.1);
  border-radius: 50%;
}

.profile-avatar {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(234, 215, 168, 0.54);
  background: linear-gradient(145deg, #e3c7a2, #b27b69);
  font-size: 19px;
}

.profile-copy {
  display: grid;
  gap: 3px;
}

.profile-copy small {
  color: rgba(255, 250, 240, 0.48);
  font-size: 7px;
}

.profile-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.profile-copy span {
  color: var(--gold-light);
  font-size: 7px;
}

.profile-hero > button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 250, 240, 0.76);
  place-items: center;
}

.profile-hero > button svg {
  width: 14px;
  height: 14px;
}

.profile-stats {
  display: grid;
  grid-column: 1 / -1;
  min-height: 62px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 250, 240, 0.1);
  grid-template-columns: repeat(3, 1fr);
}

.profile-stats div {
  display: grid;
  border-right: 1px solid rgba(255, 250, 240, 0.09);
  place-items: center;
  align-content: center;
  gap: 3px;
}

.profile-stats div:last-child {
  border-right: 0;
}

.profile-stats b {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.profile-stats span {
  color: rgba(255, 250, 240, 0.45);
  font-size: 6px;
}

.app-member-card {
  position: relative;
  display: flex;
  margin: 12px 0 16px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(195, 162, 101, 0.24);
  border-radius: 17px;
  background:
    linear-gradient(120deg, rgba(255, 250, 240, 0.9), rgba(246, 236, 215, 0.9));
  color: #54462f;
  align-items: center;
  justify-content: space-between;
}

.app-member-card::after {
  position: absolute;
  top: -40px;
  right: 52px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(195, 162, 101, 0.14);
  border-radius: 50%;
  content: "";
}

.app-member-card > div {
  position: relative;
  z-index: 2;
}

.app-member-card span {
  color: #a48550;
  font-size: 6px;
  letter-spacing: 0.18em;
}

.app-member-card h3 {
  margin: 6px 0 5px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.app-member-card p {
  margin: 0;
  color: #978767;
  font-size: 7px;
}

.app-member-card img {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(195, 162, 101, 0.35);
  border-radius: 50%;
  object-fit: contain;
}

.skin-picker-entry {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 66px;
  margin: 0 0 12px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid var(--skin-border);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 62px 22px at 92% 8%, transparent 67%, var(--skin-pattern) 68% 69%, transparent 70%),
    var(--skin-card);
  color: var(--jade-900);
  text-align: left;
  grid-template-columns: 36px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 9px;
}

.skin-picker-entry::after {
  position: absolute;
  right: -15px;
  bottom: -27px;
  width: 78px;
  height: 78px;
  border: 1px solid var(--skin-pattern);
  border-radius: 50%;
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--skin-pattern) 65%, transparent);
  content: "";
}

.skin-picker-entry__mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 35px;
  height: 35px;
  border: 1px solid var(--gold-light);
  border-radius: 52% 48% 44% 56%;
  background: linear-gradient(145deg, var(--skin-hero-a), var(--skin-hero-b));
  box-shadow: 0 7px 16px var(--skin-pattern);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 12px;
  place-items: center;
  transform: rotate(-5deg);
}

.skin-picker-entry__copy {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 0;
  gap: 2px;
}

.skin-picker-entry__copy small {
  color: var(--gold);
  font-size: 6px;
  letter-spacing: 0.12em;
}

.skin-picker-entry__copy b {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.skin-picker-entry__copy em {
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.skin-picker-entry__copy em span {
  color: var(--jade-700);
}

.skin-picker-entry__colors {
  position: relative;
  z-index: 2;
  display: flex;
  padding-left: 8px;
}

.skin-picker-entry__colors i {
  width: 17px;
  height: 17px;
  margin-left: -7px;
  border: 1.5px solid var(--skin-sheet);
  border-radius: 50%;
  box-shadow: 0 2px 7px rgba(39, 46, 42, 0.12);
}

.skin-picker-entry__colors i:nth-child(1) {
  background: var(--skin-hero-a);
}

.skin-picker-entry__colors i:nth-child(2) {
  background: var(--gold);
}

.skin-picker-entry__colors i:nth-child(3) {
  background: var(--rose);
}

.skin-picker-entry > svg {
  position: relative;
  z-index: 2;
  width: 12px;
  height: 12px;
  color: var(--muted);
}

.skin-sheet-layer[hidden] {
  display: none;
}

.skin-sheet-layer {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
}

.skin-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(25, 32, 28, 0.34);
  backdrop-filter: blur(5px);
  animation: skin-fade-in 180ms ease both;
}

.skin-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: calc(100% - 16px);
  padding: 17px 14px max(14px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid var(--skin-border);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background:
    radial-gradient(circle at 100% 0%, var(--skin-wash-a), transparent 14rem),
    var(--skin-sheet);
  box-shadow: 0 -20px 50px rgba(34, 40, 36, 0.16);
  scrollbar-width: none;
  animation: skin-sheet-up 280ms cubic-bezier(0.22, 0.8, 0.32, 1) both;
}

.skin-sheet::-webkit-scrollbar {
  display: none;
}

.skin-sheet::before {
  position: absolute;
  top: -35px;
  right: 8px;
  color: var(--skin-pattern);
  content: "悦";
  font-family: var(--serif);
  font-size: 94px;
  line-height: 1;
  pointer-events: none;
}

.skin-sheet > header {
  position: relative;
  z-index: 1;
  display: flex;
  margin-bottom: 13px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.skin-sheet > header > div {
  display: grid;
  gap: 3px;
}

.skin-sheet > header small {
  color: var(--gold);
  font-size: 6px;
  letter-spacing: 0.17em;
}

.skin-sheet > header h2 {
  margin: 1px 0 0;
  color: var(--jade-900);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.skin-sheet > header p {
  margin: 0;
  color: var(--muted);
  font-size: 7px;
}

.skin-sheet__close {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--skin-border);
  border-radius: 50%;
  background: var(--skin-card);
}

.skin-sheet__close span {
  position: absolute;
  top: 13px;
  left: 8px;
  width: 11px;
  height: 1px;
  background: var(--jade-700);
  transform: rotate(45deg);
}

.skin-sheet__close span:last-child {
  transform: rotate(-45deg);
}

.skin-sheet__options {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.skin-option {
  --option-a: #173a30;
  --option-b: #315f50;
  --option-accent: #ead7a8;
  display: grid;
  width: 100%;
  min-height: 55px;
  padding: 7px 9px 7px 7px;
  border: 1px solid var(--skin-border);
  border-radius: 15px;
  background: var(--skin-card);
  color: var(--jade-900);
  text-align: left;
  grid-template-columns: 43px minmax(0, 1fr) 21px 18px;
  align-items: center;
  gap: 9px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.skin-option[data-skin-option="peach"] {
  --option-a: #69394b;
  --option-b: #a56274;
  --option-accent: #f1d1bf;
}

.skin-option[data-skin-option="moon"] {
  --option-a: #294b57;
  --option-b: #6f9299;
  --option-accent: #e8dec4;
}

.skin-option[data-skin-option="wisteria"] {
  --option-a: #4f3b5c;
  --option-b: #90749c;
  --option-accent: #ead9ba;
}

.skin-option[data-skin-option="amber"] {
  --option-a: #533a29;
  --option-b: #9b6b45;
  --option-accent: #f0d99f;
}

.skin-option:hover {
  transform: translateX(2px);
}

.skin-option.is-selected {
  border-color: var(--gold);
  background: var(--skin-card-strong);
  box-shadow: inset 3px 0 0 var(--gold);
}

.skin-option__preview {
  position: relative;
  display: block;
  width: 43px;
  height: 41px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background:
    radial-gradient(circle at 76% 18%, var(--option-accent), transparent 13px),
    linear-gradient(145deg, var(--option-a), var(--option-b));
  box-shadow: 0 5px 12px rgba(38, 43, 39, 0.12);
}

.skin-option__preview i {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.skin-option__preview i:nth-child(1) {
  right: -10px;
  bottom: -13px;
  width: 35px;
  height: 35px;
}

.skin-option__preview i:nth-child(2) {
  top: 8px;
  right: 11px;
  width: 13px;
  height: 5px;
  border-radius: 100% 0 100% 0;
  transform: rotate(-29deg);
}

.skin-option__preview i:nth-child(3) {
  bottom: 8px;
  left: 7px;
  width: 14px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.32);
}

.skin-option__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.skin-option__copy b {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.skin-option__copy small {
  color: var(--muted);
  font-size: 7px;
}

.skin-option__seal {
  display: grid;
  width: 20px;
  height: 20px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 8px;
  place-items: center;
  transform: rotate(-3deg);
}

.skin-option__check {
  display: grid;
  width: 17px;
  height: 17px;
  border: 1px solid var(--skin-border);
  border-radius: 50%;
  color: transparent;
  font-size: 8px;
  place-items: center;
}

.skin-option.is-selected .skin-option__check {
  border-color: var(--gold);
  background: var(--gold);
  color: #fffaf0;
}

@keyframes skin-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes skin-sheet-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-menu {
  margin-bottom: 12px;
  padding: 7px 13px;
  border: 1px solid rgba(23, 58, 48, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.app-menu > p {
  margin: 7px 3px 4px;
  color: #9ba59f;
  font-size: 7px;
  letter-spacing: 0.07em;
}

.app-menu button {
  display: grid;
  width: 100%;
  min-height: 48px;
  padding: 7px 3px;
  border: 0;
  border-bottom: 1px solid rgba(23, 58, 48, 0.06);
  background: transparent;
  text-align: left;
  grid-template-columns: 31px 1fr 14px;
  align-items: center;
  gap: 9px;
}

.app-menu button:last-child {
  border-bottom: 0;
}

.app-menu button > svg {
  width: 12px;
  height: 12px;
  color: #a2aba6;
}

.app-menu button > div {
  display: grid;
  gap: 3px;
}

.app-menu b {
  color: #405248;
  font-size: 9px;
}

.app-menu small {
  color: #a0aaa4;
  font-size: 6px;
}

.menu-icon {
  display: grid;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #eff2eb;
  color: #6c8877;
  font-family: var(--serif);
  font-size: 10px;
  place-items: center;
}

.app-menu--settings .menu-icon {
  background: #f4ebe7;
  color: #a7786d;
}

.phone-tabbar--app {
  background: rgba(253, 250, 244, 0.91);
}

.stage-caption {
  position: absolute;
  bottom: 2%;
  z-index: 3;
  display: flex;
  margin: 0;
  color: #8e9a93;
  font-size: 8px;
  letter-spacing: 0.1em;
  align-items: center;
  gap: 9px;
}

.stage-caption span {
  width: 20px;
  height: 1px;
  background: rgba(195, 162, 101, 0.46);
}

.stage-caption b {
  font-weight: 500;
}

.client-admin-entry {
  display: grid;
  width: calc(100% - 30px);
  margin: 12px 15px 18px;
  padding: 12px 14px;
  border: 1px solid rgba(195, 162, 101, 0.32);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(241, 228, 204, 0.82));
  color: #4e4431;
  text-align: left;
  cursor: pointer;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  gap: 3px 9px;
}

.client-admin-entry span {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.client-admin-entry small {
  overflow: hidden;
  color: #8e8065;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-admin-entry svg {
  width: 14px;
  height: 14px;
  grid-column: 2;
  grid-row: 1 / 3;
}

.client-admin-entry:hover {
  border-color: rgba(195, 162, 101, 0.62);
  box-shadow: 0 8px 20px rgba(81, 63, 31, 0.07);
}

#topAdminButton[hidden],
.studio-logout[hidden],
.client-admin-entry[hidden],
.auth-layer[hidden] {
  display: none !important;
}

/* 新增与编辑用户抽屉 */
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(13, 31, 25, 0.38);
  backdrop-filter: blur(5px);
  animation: backdrop-in 200ms ease both;
}

.edit-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 94vw);
  height: 100%;
  padding: 28px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 215, 168, 0.28), transparent 18rem),
    #fbf8f1;
  box-shadow: -24px 0 80px rgba(23, 41, 33, 0.18);
  animation: drawer-in 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.edit-drawer header {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.edit-drawer header > div > span {
  color: #aa8a50;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.edit-drawer h2 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.edit-drawer header p {
  margin: 0;
  color: #8c9991;
  font-size: 9px;
}

.edit-drawer .form-grid {
  padding-top: 0;
  gap: 16px;
}

.edit-drawer .form-field > span {
  font-size: 10px;
}

.edit-drawer .form-field input,
.edit-drawer .form-field select,
.edit-drawer .form-field textarea {
  min-height: 45px;
  font-size: 12px;
}

.drawer-tip {
  display: flex;
  margin-top: 18px;
  padding: 13px;
  border-radius: 11px;
  background: #eef3ed;
  color: #6d7d74;
  gap: 9px;
}

.drawer-tip svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #5f806c;
}

.drawer-tip p {
  margin: 0;
  font-size: 9px;
  line-height: 1.65;
}

.edit-drawer form footer {
  display: flex;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 58, 48, 0.09);
  justify-content: flex-end;
  gap: 10px;
}

.edit-drawer .primary-btn,
.edit-drawer .soft-button {
  min-height: 44px;
  padding: 0 22px;
}

/* 登录验证 */
.auth-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  padding: 24px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 16% 18%, rgba(234, 215, 168, 0.2), transparent 24rem),
    radial-gradient(circle at 84% 82%, rgba(200, 143, 131, 0.16), transparent 22rem),
    linear-gradient(145deg, rgba(12, 31, 25, 0.96), rgba(27, 63, 51, 0.94));
  place-items: center;
  animation: backdrop-in 220ms ease both;
}

.auth-scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.auth-scene::before,
.auth-scene::after {
  position: absolute;
  border: 1px solid rgba(234, 215, 168, 0.13);
  border-radius: 50%;
  content: "";
}

.auth-scene::before {
  top: -180px;
  right: -80px;
  width: 520px;
  height: 520px;
  box-shadow:
    0 0 0 42px rgba(234, 215, 168, 0.025),
    0 0 0 84px rgba(234, 215, 168, 0.018);
}

.auth-scene::after {
  bottom: -260px;
  left: -140px;
  width: 600px;
  height: 600px;
}

.auth-scene i {
  position: absolute;
  width: 42px;
  height: 18px;
  border-radius: 90% 10% 90% 10%;
  background: linear-gradient(135deg, rgba(234, 215, 168, 0.24), rgba(200, 143, 131, 0.08));
  animation: petal-float 8s ease-in-out infinite;
}

.auth-scene i:nth-child(1) {
  top: 14%;
  left: 12%;
  transform: rotate(38deg);
}

.auth-scene i:nth-child(2) {
  right: 13%;
  bottom: 18%;
  width: 28px;
  height: 12px;
  transform: rotate(-42deg);
  animation-delay: -3s;
}

.auth-scene i:nth-child(3) {
  top: 26%;
  right: 20%;
  width: 18px;
  height: 8px;
  transform: rotate(72deg);
  animation-delay: -5s;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  max-height: calc(100svh - 48px);
  padding: 29px 31px 25px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 215, 168, 0.28), transparent 17rem),
    #fbf8f1;
  box-shadow:
    0 34px 90px rgba(5, 18, 13, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.54);
  animation: surface-in 360ms 80ms ease both;
}

.auth-brand {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  gap: 11px;
}

.auth-brand img {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(195, 162, 101, 0.38);
  border-radius: 50%;
  object-fit: contain;
}

.auth-brand div {
  display: grid;
  gap: 2px;
}

.auth-brand small {
  color: #aa8a50;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.auth-brand strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.auth-kicker {
  margin: 0 0 8px;
  color: #9c7d48;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.auth-card h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.03em;
}

.auth-description {
  margin: 10px 0 20px;
  color: #7f8e86;
  font-size: 10px;
  line-height: 1.75;
}

.auth-methods {
  display: grid;
  margin-bottom: 19px;
  padding: 4px;
  border: 1px solid rgba(23, 58, 48, 0.09);
  border-radius: 13px;
  background: #f2eee5;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.auth-methods button {
  min-height: 38px;
  padding: 0 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #7c8982;
  font-size: 10px;
  cursor: pointer;
}

.auth-methods button.is-active {
  background: #fffdf8;
  box-shadow: 0 5px 14px rgba(23, 58, 48, 0.08);
  color: var(--jade-900);
  font-weight: 700;
}

.auth-client-return {
  margin: -9px 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8b82;
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

#authClientReturn[hidden],
#authCodeRow[hidden],
#authPasswordRow[hidden],
#passwordSetup[hidden] {
  display: none !important;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field > span {
  color: #52645b;
  font-size: 9px;
  font-weight: 600;
}

.auth-field > input,
.auth-phone-field {
  width: 100%;
  min-height: 47px;
  border: 1px solid rgba(23, 58, 48, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
}

.auth-field > input {
  padding: 0 13px;
  color: #2f443a;
  font-size: 12px;
}

.auth-phone-field {
  display: flex;
  align-items: center;
}

.auth-phone-field b {
  padding: 0 12px;
  border-right: 1px solid rgba(23, 58, 48, 0.1);
  color: #51645a;
  font-size: 11px;
}

.auth-phone-field input {
  width: 100%;
  min-width: 0;
  height: 45px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #2f443a;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.auth-code-row {
  display: grid;
  margin-top: 14px;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: end;
  gap: 9px;
}

.auth-code-button {
  min-height: 47px;
  padding: 0 10px;
  border: 1px solid rgba(23, 58, 48, 0.13);
  border-radius: 12px;
  background: #eef2eb;
  color: #456555;
  font-size: 9px;
  cursor: pointer;
}

.auth-code-button:disabled {
  color: #9ba49e;
  cursor: default;
}

.auth-password-row {
  display: grid;
  margin-top: 14px;
  gap: 8px;
}

.auth-forgot-button {
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  color: #98733d;
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-preview-tip {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4eee2;
  color: #88795f;
  font-size: 8px;
  line-height: 1.65;
}

.auth-preview-tip b {
  color: #7c5f2f;
}

.auth-error {
  margin: 9px 0 0;
  color: #b45d52;
  font-size: 9px;
  line-height: 1.5;
}

.auth-error:empty {
  display: none;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #214d3e, #14372c);
  box-shadow: 0 14px 28px rgba(23, 58, 48, 0.2);
  color: #fffaf0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.auth-submit:hover {
  background: linear-gradient(135deg, #2b5b4a, #173e32);
}

.auth-card.is-password-setup > :not(.auth-brand):not(.password-setup) {
  display: none !important;
}

.password-setup {
  display: grid;
  gap: 13px;
}

.password-setup__back {
  justify-self: start;
  margin: -7px 0 1px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8b82;
  font-size: 9px;
  cursor: pointer;
}

.password-setup .auth-kicker {
  margin-bottom: -5px;
}

.password-setup h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.3;
}

.password-setup > p:nth-of-type(2) {
  margin: -4px 0 2px;
  color: #7f8e86;
  font-size: 9px;
  line-height: 1.7;
}

.auth-security-note {
  display: flex;
  margin: 17px 0 0;
  color: #8b9891;
  font-size: 8px;
  line-height: 1.6;
  align-items: flex-start;
  gap: 7px;
}

.auth-security-note svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: #6e8b7a;
}

/* 轻提示 */
.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 200;
  display: flex;
  min-width: 190px;
  min-height: 52px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(234, 215, 168, 0.26);
  border-radius: 15px;
  background: rgba(23, 58, 48, 0.96);
  box-shadow: 0 20px 50px rgba(13, 31, 25, 0.26);
  color: #fffaf0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  align-items: center;
  gap: 11px;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast > span {
  display: grid;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--jade-900);
  font-size: 14px;
  place-items: center;
}

.toast p {
  margin: 0;
  font-size: 11px;
}

@keyframes petal-drift {
  0% {
    opacity: 0;
    transform: translate3d(-10vw, 20px, 0) rotate(var(--turn));
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate3d(112vw, -90px, 0) rotate(calc(var(--turn) + 220deg));
  }
}

@keyframes petal-float {
  0%,
  100% {
    transform: translateY(0) rotate(36deg);
  }
  50% {
    transform: translateY(-14px) rotate(48deg);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes story-in {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* 中等桌面尺寸 */
@media (max-width: 1180px) {
  .studio-bar {
    grid-template-columns: 190px 1fr 80px;
  }

  .studio-meta span {
    display: none;
  }

  .admin-app {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card--featured {
    grid-column: span 2;
  }

  .client-surface {
    grid-template-columns: minmax(270px, 0.72fr) minmax(390px, 1.28fr);
    gap: 32px;
  }

  .client-notes article {
    max-width: 340px;
  }

  .device-frame {
    height: min(730px, calc(100svh - 120px));
  }
}

/* 平板和较窄窗口 */
@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .studio-bar {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 70px;
    padding: 13px 18px;
    grid-template-columns: 1fr auto;
    row-gap: 10px;
  }

  .studio-brand small,
  .studio-meta {
    display: none;
  }

  .client-switch {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
  }

  .client-switch button {
    flex: 1 0 auto;
    justify-content: center;
  }

  .studio-main {
    height: auto;
    min-height: calc(100svh - 118px);
    padding: 12px;
  }

  .admin-surface,
  .client-surface {
    height: auto;
    min-height: calc(100svh - 142px);
  }

  .admin-app {
    min-height: calc(100svh - 142px);
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding-right: 10px;
    padding-left: 10px;
  }

  .admin-sidebar__brand {
    justify-content: center;
  }

  .admin-sidebar__brand div,
  .admin-nav-label,
  .admin-nav-item span,
  .admin-nav-item em,
  .admin-sidebar__note,
  .admin-profile > div,
  .admin-profile > svg {
    display: none;
  }

  .admin-nav-item {
    justify-content: center;
    padding: 0;
  }

  .admin-profile {
    justify-content: center;
  }

  .settings-layout {
    grid-template-columns: 1fr;
  }

  .settings-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 58, 48, 0.08);
  }

  .settings-tabs button {
    flex: 0 0 150px;
  }

  .client-surface {
    display: block;
    padding-top: 18px;
  }

  .client-story {
    max-width: 620px;
    margin: 0 auto 30px;
    text-align: center;
  }

  .client-story .section-kicker {
    justify-content: center;
  }

  .client-story h1 {
    font-size: clamp(36px, 8vw, 52px);
  }

  .client-story > p:nth-of-type(2) {
    margin: 0 auto;
  }

  .client-notes {
    display: none;
  }

  .client-palette {
    justify-content: center;
  }

  .device-stage {
    min-height: 760px;
  }
}

/* 手机直接打开预览页 */
@media (max-width: 620px) {
  body {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }

  .studio-bar {
    display: none;
  }

  .studio-brand {
    display: none;
  }

  .client-switch {
    grid-column: 1;
    width: 100%;
    padding: 4px;
    overflow: hidden;
  }

  .client-switch button {
    flex: 1 1 0;
    min-height: 35px;
    padding: 0 4px;
    font-size: 9px;
    white-space: nowrap;
  }

  .client-switch__dot {
    display: none;
  }

  .studio-main {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    padding: 0;
  }

  .admin-app {
    display: flex;
    width: 100%;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex-direction: column;
  }

  .admin-sidebar {
    z-index: 2;
    display: flex;
    min-height: 57px;
    padding: 6px 7px;
    overflow-x: auto;
    background:
      radial-gradient(circle at 20% 5%, rgba(234, 215, 168, 0.16), transparent 12rem),
      var(--jade-950);
    flex-direction: row;
  }

  .admin-sidebar::after,
  .admin-sidebar__brand,
  .admin-sidebar__note,
  .admin-profile {
    display: none;
  }

  .admin-nav-item {
    flex: 1 0 57px;
    min-height: 44px;
    margin: 0 1px;
    border-radius: 9px;
    flex-direction: column;
    gap: 2px;
  }

  .admin-nav-item span {
    display: block;
    font-size: 7px;
    white-space: nowrap;
  }

  .admin-nav-item svg {
    width: 15px;
    height: 15px;
  }

  .admin-nav-item.is-active::before {
    top: auto;
    right: 18px;
    bottom: 2px;
    left: 18px;
    width: auto;
    height: 2px;
  }

  .admin-workspace {
    min-height: calc(100svh - 112px);
    grid-template-rows: 56px minmax(0, 1fr);
  }

  .admin-topbar {
    padding: 0 15px;
  }

  .top-search {
    display: none;
  }

  .admin-scroll {
    padding: 18px 14px 28px;
  }

  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page-head__actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page-head__actions > button {
    width: 100%;
    min-width: 0;
    padding-right: 9px;
    padding-left: 9px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card--featured {
    grid-column: 1 / -1;
  }

  .metric-card {
    padding: 15px;
  }

  .user-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .field-search {
    width: 100%;
  }

  .select-wrap {
    flex: 1;
  }

  .select-wrap select {
    width: 100%;
  }

  .toolbar-result {
    display: none;
  }

  .user-table {
    min-width: 720px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .settings-content {
    padding: 18px 13px;
  }

  .settings-tabs {
    padding: 8px;
  }

  .settings-tabs button {
    flex-basis: 132px;
  }

  .settings-tabs button small {
    display: none;
  }

  .brand-uploader {
    align-items: flex-start;
  }

  .swatch-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .color-swatch {
    min-width: 0;
  }

  .data-status-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .data-status-card > div:nth-child(2) {
    flex-basis: calc(100% - 80px);
  }

  .client-surface {
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  .client-story,
  .stage-orbit,
  .stage-petal,
  .stage-caption,
  .device-stage::before {
    display: none;
  }

  .device-stage {
    display: block;
    height: 100%;
    min-height: 0;
  }

  .device-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    aspect-ratio: auto;
  }

  .device-homebar {
    display: none;
  }

  .device-viewport {
    border-radius: 0;
  }

  .auth-layer {
    padding: 9px;
  }

  .auth-card {
    width: 100%;
    max-height: calc(100svh - 18px);
    padding: 21px 19px 19px;
    border-radius: 21px;
  }

  .auth-brand {
    margin-bottom: 21px;
  }

  .auth-card h1 {
    font-size: 26px;
  }

  .auth-code-row {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .auth-methods button {
    min-height: 36px;
    font-size: 9px;
  }

  .edit-drawer {
    width: 100%;
    padding: 20px 17px;
  }

  .edit-drawer .form-grid {
    grid-template-columns: 1fr;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

/* 客户端字号可读性优化：按主流女性生活方式 App 的字号层级统一放大。 */
.device-frame .phone-screen {
  padding-bottom: 76px;
  font-size: 13px;
}

.device-frame .phone-screen p,
.device-frame .skin-sheet-layer p {
  font-size: 12px;
  line-height: 1.65;
}

.device-frame .phone-screen small,
.device-frame .skin-sheet-layer small {
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.device-frame .phone-screen button,
.device-frame .skin-sheet-layer button {
  font-size: 11.5px;
}

.device-frame .mini-nav {
  padding-top: 17px;
  padding-bottom: 14px;
}

.device-frame .mini-nav small {
  color: #6f7f76;
}

.device-frame .mini-hero {
  min-height: 172px;
}

.device-frame .mini-hero h2 {
  margin-top: 15px;
}

.device-frame .mini-hero p {
  max-width: 195px;
  color: rgba(255, 250, 240, 0.7);
}

.device-frame .quick-grid {
  margin-top: 16px;
  gap: 8px;
}

.device-frame .quick-grid button {
  min-height: 84px;
  padding: 12px 3px 11px;
}

.device-frame .quick-grid b {
  font-size: 12px;
}

.device-frame .quick-grid small {
  margin-top: 4px;
  color: #7f8d85;
  font-size: 10px;
}

.device-frame .mini-section {
  padding-top: 22px;
}

.device-frame .mini-section__head {
  margin-bottom: 12px;
}

.device-frame .mini-section__head h3 {
  margin-top: 5px;
  font-size: 19px;
}

.device-frame .mini-tag {
  padding: 4px 7px;
  font-size: 10px;
}

.device-frame .content-card {
  min-height: 102px;
  padding: 10px;
  gap: 12px;
}

.device-frame .content-card > div:last-child {
  padding: 7px 2px;
}

.device-frame .content-card h4 {
  margin: 8px 0 7px;
  font-size: 14px;
  line-height: 1.55;
}

.device-frame .content-card p {
  color: #7d8b83;
}

.device-frame .phone-tabbar {
  min-height: 68px;
  padding: 8px 10px 6px;
}

.device-frame .phone-tabbar button {
  gap: 4px;
  font-size: 10.5px;
}

.device-frame .phone-tabbar button svg {
  width: 19px;
  height: 19px;
}

.device-frame .simulated-tab-page {
  padding: 12px 15px 94px;
}

.device-frame .sim-page-head {
  min-height: 84px;
  padding-top: 14px;
  padding-bottom: 16px;
}

.device-frame .sim-page-head h2 {
  font-size: 24px;
}

.device-frame .sim-page-head p {
  color: #697a71;
}

.device-frame .sim-feature-card {
  min-height: 176px;
  padding: 21px 19px;
}

.device-frame .sim-feature-card h3 {
  margin-top: 11px;
  font-size: 23px;
}

.device-frame .sim-feature-card p {
  color: rgba(255, 250, 240, 0.72);
}

.device-frame .sim-feature-card > button {
  margin-top: 16px;
}

.device-frame .sim-progress-copy {
  color: rgba(255, 250, 240, 0.68);
}

.device-frame .sim-stat-row {
  min-height: 68px;
}

.device-frame .sim-stat-row div {
  gap: 3px;
}

.device-frame .sim-stat-row b {
  font-size: 18px;
}

.device-frame .sim-section {
  margin-top: 19px;
}

.device-frame .sim-section-head {
  margin-bottom: 11px;
}

.device-frame .sim-section-head h3 {
  font-size: 18px;
}

.device-frame .sim-reading-card {
  min-height: 96px;
  padding: 10px;
}

.device-frame .sim-reading-card b {
  font-size: 13.5px;
}

.device-frame .sim-reading-card em {
  color: #74837b;
  font-size: 10.5px;
}

.device-frame .sim-course {
  min-height: 82px;
  padding: 10px;
}

.device-frame .sim-course b {
  font-size: 13px;
}

.device-frame .sim-course em {
  color: #74837b;
  font-size: 10.5px;
}

.device-frame .sim-chip-row {
  gap: 8px;
}

.device-frame .sim-chip-row button {
  padding: 8px 13px;
}

.device-frame .sim-product {
  padding: 9px;
  gap: 6px;
}

.device-frame .sim-product b {
  font-size: 12.5px;
}

.device-frame .sim-product em {
  font-size: 11px;
}

.device-frame .sim-mood-card {
  min-height: 230px;
}

.device-frame .sim-mood-card h3 {
  margin-top: 25px;
}

.device-frame .sim-mood-card > button {
  padding: 9px 13px;
}

.device-frame .sim-story-card {
  min-height: 78px;
  padding: 11px;
}

.device-frame .sim-story-card b {
  font-size: 12.5px;
}

.device-frame .sim-story-card em {
  color: #74837b;
  font-size: 10.5px;
}

.device-frame .sim-profile-card {
  min-height: 122px;
  padding: 19px 16px;
}

.device-frame .sim-profile-card b {
  font-size: 18px;
}

.device-frame .sim-profile-card button {
  padding: 7px 10px;
}

.device-frame .sim-list {
  padding-top: 9px;
  padding-bottom: 9px;
}

.device-frame .sim-list > button {
  min-height: 55px;
}

.device-frame .sim-list > button > b {
  font-size: 12px;
}

.device-frame .wechat-page {
  padding-bottom: 84px;
}

.device-frame .wechat-kicker,
.device-frame .wechat-section__title span {
  font-size: 10px;
}

.device-frame .wechat-hero p {
  color: rgba(255, 250, 240, 0.72);
}

.device-frame .wechat-hero > button {
  min-height: 42px;
  margin-top: 22px;
  padding: 0 8px 0 16px;
}

.device-frame .trust-row {
  padding-top: 15px;
  padding-bottom: 15px;
}

.device-frame .trust-row div {
  gap: 5px;
}

.device-frame .trust-row strong {
  font-size: 18px;
}

.device-frame .trust-row span {
  color: #77867e;
  font-size: 10px;
}

.device-frame .wechat-section__title {
  margin-bottom: 12px;
  gap: 5px;
}

.device-frame .wechat-story {
  min-height: 104px;
  padding: 9px;
  gap: 12px;
}

.device-frame .wechat-story__visual {
  height: 94px;
}

.device-frame .wechat-story__visual span {
  font-size: 12px;
}

.device-frame .wechat-story > div:last-child > span {
  color: #8c7346;
  font-size: 10px;
}

.device-frame .wechat-story h3 {
  margin: 7px 0;
  font-size: 13.5px;
}

.device-frame .wechat-story p {
  color: #78877f;
  font-size: 10.5px;
}

.device-frame .wechat-card {
  padding: 22px 19px;
}

.device-frame .wechat-card > span {
  color: #ead7a8;
  font-size: 10.5px;
}

.device-frame .wechat-card p {
  color: rgba(255, 250, 240, 0.68);
}

.device-frame .wechat-card button {
  padding: 8px 12px;
}

.device-frame .app-topline {
  padding-top: 19px;
  padding-bottom: 15px;
}

.device-frame .profile-hero {
  padding-top: 20px;
}

.device-frame .profile-copy {
  gap: 4px;
}

.device-frame .profile-copy span,
.device-frame .profile-stats span {
  color: rgba(255, 250, 240, 0.66);
  font-size: 10.5px;
}

.device-frame .profile-stats {
  min-height: 70px;
}

.device-frame .app-member-card {
  padding: 18px 17px;
}

.device-frame .app-member-card span {
  color: #84682f;
  font-size: 10px;
}

.device-frame .app-member-card p {
  color: #76684f;
}

.device-frame .skin-picker-entry {
  min-height: 76px;
  padding: 12px;
}

.device-frame .skin-picker-entry__copy {
  gap: 3px;
}

.device-frame .skin-picker-entry__copy b {
  font-size: 12.5px;
}

.device-frame .skin-picker-entry__copy em {
  color: #6f7f76;
  font-size: 10.5px;
}

.device-frame .skin-option {
  min-height: 64px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.device-frame .skin-option__copy {
  gap: 3px;
}

.device-frame .skin-option__copy b {
  font-size: 12.5px;
}

.device-frame .skin-option__copy small {
  color: #6f7f76;
}

.device-frame .skin-sheet > header {
  margin-bottom: 15px;
}

.device-frame .skin-sheet__options {
  gap: 8px;
}

.device-frame .app-menu {
  padding: 9px 14px;
}

.device-frame .app-menu > p {
  margin-top: 9px;
  margin-bottom: 6px;
  color: #74837b;
}

.device-frame .app-menu button {
  min-height: 58px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.device-frame .app-menu b {
  font-size: 12px;
}

.device-frame .app-menu small {
  color: #7d8b83;
}

.device-frame .client-admin-entry {
  min-height: 68px;
  padding: 14px;
}

.device-frame .client-admin-entry span {
  font-size: 13px;
}

/* 登录页同步放大辅助文字和操作控件，避免手机端再次出现极小字号。 */
.auth-brand small,
.auth-kicker,
.auth-client-return,
.auth-field > span,
.auth-forgot-button,
.auth-preview-tip,
.auth-error,
.password-setup__back,
.password-setup > p:nth-of-type(2),
.auth-security-note {
  font-size: 11px;
}

.auth-description {
  font-size: 12px;
}

.auth-methods button,
.auth-code-button,
.auth-submit,
.auth-field > input,
.auth-phone-field input {
  font-size: 13px;
}

@media (max-width: 1180px) {
  .share-settings-layout {
    grid-template-columns: 1fr;
  }

  .wechat-preview-card {
    position: static;
    width: min(100%, 430px);
  }
}

@media (max-width: 620px) {
  .auto-generate-switch {
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
  }

  .share-image-editor {
    grid-template-columns: 1fr;
  }

  .share-image-actions {
    padding: 0 2px;
  }

  .wechat-preview-card {
    width: 100%;
    padding: 13px;
  }

  .wechat-chat-stage {
    min-height: 260px;
    padding: 12px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
