:root {
  --page-bg: #f5f4ef;
  --surface: #fbfaf6;
  --surface-strong: #ffffff;
  --text-primary: #171717;
  --text-secondary: #6a6a63;
  --text-tertiary: #9a9a92;
  --accent: #1f4d3a;
  --accent-soft: #e7efe9;
  --warm: #b65318;
  --warm-soft: #ffefe1;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  padding: 0;
  font: inherit;
}

input {
  border: 0;
  outline: none;
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(env(safe-area-inset-bottom) + 40px);
  background: var(--page-bg);
}

.page-shell {
  padding: 8px 16px 32px;
}

.page-top-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top) + 8px) 8px 0;
}

.gate-top-action,
.detail-top-action {
  padding: calc(env(safe-area-inset-top) + 22px) 16px 0;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 30px;
  padding: 0 10px;
  cursor: pointer;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 8px 20px;
}

.hero-title {
  display: block;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 2px;
}

.hero-caption,
.pill {
  display: inline-block;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 11px;
}

.intro-card,
.panel,
.preview-panel {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.intro-card {
  padding: 18px 16px;
}

.intro-title {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.intro-desc,
.panel-desc,
.summary {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.72;
}

.section-head {
  padding: 10px 8px 8px;
}

.section-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.section-meta {
  display: block;
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 11px;
}

.meeting-card {
  margin-bottom: 12px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.card-top,
.meta-row,
.tag-row,
.tab-row,
.keyword-row,
.unlock-includes,
.upsell-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-top {
  align-items: center;
  justify-content: space-between;
}

.card-time,
.gate-time {
  font-size: 11px;
  color: var(--text-secondary);
}

.card-duration,
.gate-duration {
  font-size: 11px;
  color: var(--text-tertiary);
}

.card-title {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.card-summary {
  display: block;
  margin-top: 7px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.keyword-row {
  margin-top: 12px;
}

.keyword,
.include-pill,
.mind-child,
.mind-preview-node,
.upsell-perk {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.045);
  color: var(--text-secondary);
  font-size: 11px;
}

.gate-bookmark {
  position: fixed;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 34px);
  z-index: 40;
  display: flex;
  align-items: center;
  width: 193px;
  padding: 6px 7px 6px 11px;
  border-radius: 999px 0 0 999px;
  background: var(--accent);
  color: #fff;
}

.bookmark-main {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 3px 0;
  cursor: pointer;
}

.bookmark-line {
  width: 4px;
  height: 23px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  flex: none;
}

.bookmark-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.bookmark-subtitle {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.2;
}

.bookmark-close {
  width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  text-align: center;
  line-height: 22px;
  cursor: pointer;
  flex: none;
}

.gate-hero,
.detail-hero {
  padding: 8px 8px 6px;
}

.gate-kicker {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
}

.gate-title,
.detail-title {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 800;
}

.gate-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.preview-panel,
.panel {
  margin-top: 12px;
  padding: 14px;
}

.panel-eyebrow,
.preview-kicker,
.panel-label {
  display: block;
  color: var(--text-tertiary);
  font-size: 11px;
  letter-spacing: 2px;
}

.panel-title,
.preview-title {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
}

.preview-panel > div:first-child .preview-title {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px 6px;
  border-radius: 13px 18px 12px 18px;
  background: rgba(31, 77, 58, 0.1);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: var(--accent);
  transform: rotate(-1.4deg);
}

.preview-panel > div:first-child .preview-title::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: var(--warm-soft);
  transform: rotate(18deg);
}

.preview-card,
.mini-preview,
.action-card,
.speech-card,
.user-card,
.mindmap-branch {
  padding: 10px;
  border-radius: 12px;
  background: rgba(23, 23, 23, 0.035);
}

.preview-card {
  margin-top: 7px;
}

.preview-card.main {
  background: rgba(31, 77, 58, 0.08);
}

.preview-card-title,
.mini-title,
.mind-title,
.speech-speaker,
.user-name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.preview-panel .preview-card-title,
.preview-panel .mini-title {
  position: relative;
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.4px;
  color: var(--text-primary);
  transform: skewX(-5deg);
}

.preview-panel .preview-card-title::after,
.preview-panel .mini-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: -4px;
  bottom: 1px;
  z-index: -1;
  height: 7px;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.12);
}

.preview-text,
.mini-text,
.mini-desc,
.speech-preview-speaker,
.panel-text,
.list-content,
.soft-text,
.action-task,
.speech-text,
.user-role,
.user-panel-desc {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
}

.panel-text {
  display: block;
  margin-top: 8px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.8;
}

.preview-text {
  display: block;
  margin-top: 6px;
}

.preview-panel .speech-preview-speaker {
  display: block;
  margin-top: 7px;
  clear: both;
}

.clamp {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.preview-row {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}

.mini-preview {
  flex: 1;
  min-width: 0;
}

.mini-line,
.soft-row,
.list-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 7px;
}

.mini-dot,
.soft-dot {
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.mind-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.mind-preview-node,
.include-pill {
  background: rgba(31, 77, 58, 0.08);
  color: var(--accent);
}

.unlock-includes {
  margin-top: 10px;
}

.primary-button,
.primary-action {
  width: 100%;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 44px;
  cursor: pointer;
}

.login-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(23, 23, 23, 0.18);
  overscroll-behavior: contain;
}

.phone-login-sheet {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px calc(env(safe-area-inset-bottom) + 16px);
  border-radius: 22px 22px 18px 18px;
  background: var(--surface-strong);
}

/* 登录提示弹窗样式 */
.login-prompt-sheet {
  width: 100%;
  max-width: 400px;
  padding: 24px 20px calc(env(safe-area-inset-bottom) + 20px);
  border-radius: 22px;
  background: var(--surface-strong);
  text-align: center;
}

.prompt-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
}

.prompt-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
}

.prompt-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 20%);
  width: 44px;
  height: 22px;
  border-radius: 22px 22px 0 0;
  background: var(--accent);
}

.prompt-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.prompt-desc {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.prompt-actions {
  display: flex;
  gap: 12px;
}

.prompt-btn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.prompt-btn.secondary {
  background: rgba(23, 23, 23, 0.06);
  color: var(--text-primary);
}

.prompt-btn.primary {
  background: var(--accent);
  color: white;
}

.sheet-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.14);
}

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

.sheet-title {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}

.sheet-close {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(23, 23, 23, 0.045);
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding-top: 3px;
}

.sheet-desc {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.65;
}

.phone-form {
  margin-top: 14px;
}

.phone-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 13px;
  background: rgba(23, 23, 23, 0.04);
  color: var(--text-primary);
  font-size: 16px;
}

.phone-input::placeholder {
  color: var(--text-tertiary);
}

.code-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.code-input {
  flex: 1;
  min-width: 0;
}

.code-button {
  width: 104px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.code-button.is-sent {
  color: var(--text-tertiary);
}

.phone-submit {
  margin-top: 14px;
}

.unlock-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 16px;
  padding: 30px 12px 10px;
  border-radius: 14px;
  background: rgba(23, 23, 23, 0.035);
  overflow: hidden;
}

.unlock-option.featured {
  background: linear-gradient(135deg, rgba(31, 77, 58, 0.14), rgba(31, 77, 58, 0.06));
}

.promo-badge,
.upsell-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 9px;
  border-radius: 0 0 9px 0;
  background: rgba(31, 77, 58, 0.1);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.promo-badge.hot,
.upsell-badge {
  background: var(--warm-soft);
  color: var(--warm);
}

.unlock-copy {
  flex: 1;
}

.unlock-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.unlock-desc,
.promo-note {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.5;
}

.promo-note {
  display: inline-block;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  font-size: 10px;
}

.unlock-action {
  width: 76px;
  flex: none;
  text-align: center;
}

.origin-price,
.upsell-origin {
  position: relative;
  display: inline-block;
  color: var(--text-tertiary);
  font-size: 10px;
}

.origin-price::after,
.upsell-origin::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1px;
  background: rgba(154, 154, 146, 0.78);
  transform: rotate(-8deg);
}

.unlock-price,
.upsell-current {
  display: block;
  color: var(--accent);
  font-size: 15px;
  font-weight: 800;
}

.option-button {
  width: 66px;
  height: 32px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  cursor: pointer;
}

.option-button.dark {
  background: var(--accent);
  color: #fff;
}

.option-button.is-disabled {
  opacity: 0.55;
}

.success-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 44px;
}

.access-method {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.access-label {
  color: var(--text-secondary);
  font-size: 11px;
}

.access-value {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.member-upsell {
  position: relative;
  margin-top: 12px;
  padding: 36px 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 239, 225, 0.96), rgba(31, 77, 58, 0.12));
  overflow: hidden;
}

.upsell-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.upsell-copy {
  flex: 1;
  min-width: 0;
}

.upsell-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.upsell-desc {
  display: block;
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.6;
}

.upsell-price {
  width: 76px;
  flex: none;
  text-align: right;
}

.upsell-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.upsell-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.tab-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding: 0 4px;
}

.tab-item {
  flex: 1;
  padding: 9px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

.tab-item.active {
  background: var(--accent);
  color: #fff;
}

.content-block {
  padding-top: 6px;
}

.panel-label {
  margin-bottom: 8px;
}

.list-index {
  min-width: 22px;
  color: var(--text-tertiary);
  font-size: 11px;
  line-height: 1.8;
}

.action-card,
.speech-card,
.user-card,
.mindmap-branch {
  margin-top: 7px;
}

.action-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.action-deadline,
.speech-time,
.user-tag {
  color: var(--text-tertiary);
  font-size: 11px;
}

.mindmap-root {
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(31, 77, 58, 0.08);
}

.mindmap-root-label {
  display: block;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
}

.mindmap-root-title {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.mindmap-trunk {
  width: 1px;
  height: 22px;
  margin: 0 auto;
  background: rgba(23, 23, 23, 0.1);
}

.mindmap-branches {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mindmap-branch-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mindmap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mindmap-branch-line {
  width: 14px;
  height: 1px;
  background: rgba(23, 23, 23, 0.14);
}

.mind-children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  padding-left: 13px;
}

.speech-head,
.user-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.speech-text {
  display: block;
  margin-top: 6px;
}

.user-panel-desc {
  display: block;
  margin-bottom: 12px;
}

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

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 36px;
}

.user-main {
  flex: 1;
}

.user-tag {
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff;
}

.dev-tools {
  margin-top: 32px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(23, 23, 23, 0.15);
}

.dev-clear-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(23, 23, 23, 0.06);
  color: var(--text-tertiary);
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  border: none;
}

.dev-clear-btn:active {
  background: rgba(23, 23, 23, 0.1);
}

/* 个人中心页面样式 */
.profile-page {
  padding: 8px 16px 32px;
}

.hero-avatar {
  cursor: pointer;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px 6px;
}

.profile-avatar-large {
  position: relative;
  flex-shrink: 0;
}

.avatar-preview-trigger {
  cursor: pointer;
}

.avatar-circle-large {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 60px;
}

.avatar-image {
  display: block;
  object-fit: cover;
}

.avatar-edit-chip {
  position: absolute;
  right: -6px;
  bottom: -4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.avatar-file-input {
  display: none;
}

.avatar-preview-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
}

.avatar-preview-image {
  max-width: min(78vw, 360px);
  max-height: 70vh;
  border-radius: 28px;
  object-fit: contain;
}

.avatar-preview-close {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 20px);
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 26px;
  line-height: 36px;
  cursor: pointer;
}

.profile-info {
  flex: 1;
}

.profile-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.profile-role {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
}

.profile-stats {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.stat-card {
  flex: 1;
  padding: 14px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 11px;
}

.profile-section {
  margin-top: 8px;
}

.profile-card {
  padding: 6px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
  background: transparent;
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.profile-value {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.profile-action-row {
  cursor: pointer;
}

.profile-arrow {
  color: var(--text-tertiary);
}

.about-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: rgba(23, 23, 23, 0.18);
}

.about-sheet {
  width: 100%;
  padding: 10px 14px calc(env(safe-area-inset-bottom) + 16px);
  border-radius: 22px 22px 18px 18px;
  background: var(--surface-strong);
}

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

.about-title {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
}

.about-menu-list {
  margin-top: 14px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(23, 23, 23, 0.035);
}

.about-menu-item {
  display: block;
  width: 100%;
  padding: 13px 12px;
  border-radius: 12px;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.about-menu-item:active,
.about-menu-item:hover {
  background: rgba(31, 77, 58, 0.08);
  color: var(--accent);
}

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

.legal-hero {
  padding: 18px 8px 12px;
}

.legal-kicker {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
}

.legal-title {
  display: block;
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
}

.legal-subtitle,
.legal-date {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.legal-date {
  color: var(--text-tertiary);
  font-size: 12px;
}

.legal-card {
  margin-top: 10px;
  padding: 4px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.legal-section {
  padding: 16px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.legal-section-text {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.status-active {
  color: var(--accent);
}

.status-inactive {
  color: var(--text-tertiary);
}

.logout-section {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.logout-button {
  padding: 8px 24px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(23, 23, 23, 0.1);
}

.logout-button:active {
  background: rgba(23, 23, 23, 0.04);
}

/* 订阅引导区域样式 */
.subscribe-promo-section {
  margin-top: 8px;
}

.subscribe-promo-card {
  position: relative;
  padding: 28px 16px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 239, 225, 0.96), rgba(31, 77, 58, 0.08));
  overflow: hidden;
}

.promo-badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 12px;
  border-radius: 0 0 10px 0;
  background: #b65318;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.promo-content {
  position: relative;
  z-index: 1;
}

.promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-top: 4px;
}

.promo-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.promo-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-original {
  position: relative;
  color: var(--text-tertiary);
  font-size: 13px;
}

.price-original::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1px;
  background: rgba(154, 154, 146, 0.78);
  transform: rotate(-8deg);
}

.price-current {
  color: #b65318;
  font-size: 18px;
  font-weight: 800;
}

.promo-benefits {
  margin-bottom: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.benefit-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.benefit-text {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.promo-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.subscribe-promo-btn {
  width: auto;
  min-width: auto;
  padding: 8px 20px;
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.subscribe-promo-btn:active {
  background: rgba(31, 77, 58, 0.08);
}

@media (min-width: 720px) {
  body {
    display: flex;
    justify-content: center;
  }

  .app-shell {
    width: 520px;
    min-height: 100vh;
  }
}

.list-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 16px;
}

.footer-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(23, 23, 23, 0.08);
  border-top-color: var(--text-tertiary);
  border-radius: 50%;
  animation: footer-spin 0.8s linear infinite;
}

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

.footer-text {
  color: var(--text-tertiary);
  font-size: 12px;
}

/* 支付弹窗样式 */
.pay-center-mask {
  align-items: center;
  padding: 20px;
}

.pay-modal {
  width: 100%;
  max-width: 420px;
  padding: 10px 14px 16px;
  border-radius: 22px;
  background: var(--surface-strong);
}

.pay-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pay-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.035);
}

.pay-tab {
  flex: 1;
  padding: 8px 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
}

.pay-tab.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pay-panel {
  margin-top: 14px;
}

.pay-panel.hidden {
  display: none;
}

.pay-iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 12px;
  background: #f5f5f5;
}

.pay-hint {
  margin: 8px 0 16px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.pay-btn {
  margin-top: 0;
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.pay-method-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
}

.pay-method-btn:active {
  transform: scale(0.985);
}

.pay-method-btn.alipay {
  background: #2563eb;
  color: #ffffff;
}

.pay-method-btn.wechat {
  background: #16a34a;
  color: #ffffff;
}

.pay-method-btn.cancel {
  background: rgba(23, 23, 23, 0.04);
  color: var(--text-primary);
  font-weight: 600;
}

.pay-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
