/* 会员管理 — SaaS 定价页风格（主题色 --primary） */

.membership-page {
  --vip-radius: 16px;
  --vip-radius-lg: 20px;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Hiragino Sans GB',
    'Microsoft YaHei UI',
    'Microsoft YaHei',
    sans-serif;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0 72px;
  scroll-margin-top: 24px;
}

/* ── 居中营销 Hero（极简） ── */
.vip-marketing {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
  padding: 16px 12px 4px;
}

.vip-marketing__pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.vip-marketing__pill--active {
  color: var(--primary-active);
  background: var(--primary-light);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

.vip-marketing__pill--inactive {
  color: var(--text-tertiary);
  background: var(--bg);
  border-color: var(--border-light);
}

.vip-marketing__pill--preview {
  color: #9a6700;
  background: var(--warning-bg);
  border-color: color-mix(in srgb, var(--warning) 30%, transparent);
}

.vip-marketing__title {
  font-size: clamp(1.625rem, 4.8vw + 0.35rem, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 auto 20px;
  max-width: none;
  white-space: nowrap;
}

/* 与参考一致：主句深色 + 中间词主题色渐变（跟随 data-theme 的 --primary） */
.vip-marketing__title .vip-marketing__accent {
  font-weight: 800;
  color: var(--primary);
  background-image: none;
  -webkit-text-fill-color: currentColor;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .vip-marketing__title .vip-marketing__accent {
    background-image: none;
    -webkit-text-fill-color: currentColor;
    color: var(--primary);
  }
}

.vip-marketing__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vip-marketing__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.vip-marketing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform 0.2s var(--ease-spring),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.vip-marketing__btn--primary {
  color: var(--text-inverse);
  background: var(--primary);
  box-shadow:
    0 4px 14px -4px color-mix(in srgb, var(--primary) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary) 20%, transparent);
}

.vip-marketing__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px -8px color-mix(in srgb, var(--primary) 50%, transparent),
    0 0 0 1px color-mix(in srgb, var(--primary) 25%, transparent);
}

.vip-marketing__btn--ghost {
  color: var(--text-secondary);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.vip-marketing__btn--ghost:hover {
  color: var(--primary-active);
  background: color-mix(in srgb, var(--primary-light) 45%, transparent);
}

/* ── Tabs ── */
.vip-tabs--pill {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 28px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border-light);
  max-width: fit-content;
  overflow-x: auto;
}

.vip-tabs--pill .vip-tabs__btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.vip-tabs--pill .vip-tabs__btn:hover {
  color: var(--text);
}

.vip-tabs--pill .vip-tabs__btn.is-active {
  color: var(--primary-active);
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.vip-tabs--pill .vip-tabs__btn.is-active::after {
  display: none;
}

.vip-panel {
  display: none;
}

.vip-panel.is-active {
  display: block;
  animation: vip-panel-in 0.35s var(--ease-expo-out);
}

#memPricing {
  scroll-margin-top: 88px;
}

@keyframes vip-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── 方案区标题 ── */
.vip-plans-intro {
  text-align: center;
  margin-bottom: 24px;
}

.vip-plans-intro__title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0;
}

/* ── 权益胶囊条 ── */
.vip-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.vip-perks__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: color-mix(in srgb, var(--bg) 65%, var(--surface));
  border: 1px solid var(--border-light);
}

.vip-perks__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--primary-active);
  background: var(--primary-light);
}

/* ── 定价卡片 ── */
.vip-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .vip-plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .vip-plan-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

.vip-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 0;
  border-radius: var(--vip-radius-lg);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  box-shadow:
    0 8px 28px -24px rgba(15, 23, 42, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.988);
  transition:
    transform 0.42s var(--ease-expo-out),
    box-shadow 0.35s var(--ease),
    border-color 0.25s var(--ease),
    opacity 0.35s var(--ease);
  will-change: transform, box-shadow;
}

.vip-plan-card--in {
  opacity: 1;
  transform: none;
}

.vip-plan-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--primary) 26%, var(--border));
  box-shadow:
    0 24px 50px -30px color-mix(in srgb, var(--primary) 42%, rgba(15, 23, 42, 0.28)),
    0 0 0 1px color-mix(in srgb, var(--primary) 16%, transparent);
}

.vip-plan-card--featured {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
  background: color-mix(in srgb, var(--primary-light) 22%, var(--surface));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--primary) 24%, transparent),
    0 28px 58px -30px color-mix(in srgb, var(--primary) 38%, transparent);
  z-index: 1;
  animation: vip-featured-float 4.2s ease-in-out infinite;
}

.vip-plan-card--featured:hover {
  transform: translateY(-10px);
}

.vip-plan-card--guide {
  animation: vip-guide-card-pulse 1.6s ease-in-out infinite;
}

.vip-plan-card--guide .vip-plan-card__cta:not(:disabled) {
  animation: vip-guide-cta-nudge 1.6s ease-in-out infinite;
}

.vip-plan-card--current {
  border-color: color-mix(in srgb, var(--primary) 44%, var(--border));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent),
    0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent),
    0 18px 42px -30px color-mix(in srgb, var(--primary) 32%, transparent);
  animation: vip-current-ring-pulse 2.8s ease-in-out infinite;
}

.vip-plan-card__glow {
  position: absolute;
  inset: -35% -25% auto;
  height: 68%;
  pointer-events: none;
  opacity: 0.75;
  background: none;
  transform-origin: center top;
  animation: vip-card-glow-float 7.2s ease-in-out infinite;
}

.vip-plan-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: 24px 20px 16px;
}

.vip-plan-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-active);
  background: color-mix(in srgb, var(--primary-light) 75%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 34%, transparent);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.28s var(--ease), border-color 0.25s var(--ease);
}

.vip-plan-card__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
}

.vip-plan-card__badge--hot {
  color: var(--text-inverse);
  background: var(--primary);
  border-color: transparent;
  box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--primary) 55%, transparent);
}

.vip-plan-card__badge--current {
  color: color-mix(in srgb, var(--text) 72%, var(--primary-active));
  background: color-mix(in srgb, var(--surface) 88%, var(--primary-light));
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  animation: vip-badge-pop 2.4s ease-in-out infinite;
}

.vip-plan-card__badge--muted {
  color: var(--text-secondary);
  background: var(--bg);
  border-color: var(--border-light);
}

.vip-plan-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vip-plan-card__name {
  font-size: 1.55rem;
  font-weight: 760;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.vip-plan-card__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  color: color-mix(in srgb, var(--text) 70%, var(--primary-active));
  background: color-mix(in srgb, var(--surface) 86%, var(--primary-light));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
  animation: vip-save-tag-breathe 3.6s ease-in-out infinite;
}

.vip-plan-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 8px;
}

.vip-plan-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin: 0;
}

.vip-plan-card__price {
  font-size: clamp(2.35rem, 1.9rem + 1vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: transform 0.32s var(--ease-expo-out), text-shadow 0.32s var(--ease);
}

.vip-plan-card--current .vip-plan-card__price {
  animation: vip-current-price-pulse 2.8s ease-in-out infinite;
}

.vip-plan-card__currency {
  font-size: 1.125rem;
  font-weight: 700;
  margin-right: 2px;
  color: var(--text-secondary);
}

.vip-plan-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vip-plan-card__period {
  font-size: 0.88rem;
  font-weight: 640;
  color: var(--text-tertiary);
}

.vip-plan-card__equiv {
  margin: 0;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary-active);
  letter-spacing: 0.01em;
}

.vip-plan-card__equiv--empty {
  visibility: hidden;
}

.vip-plan-card__feats {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-plan-card__feats li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.42;
  color: color-mix(in srgb, var(--text) 80%, var(--text-secondary));
}

.vip-plan-card__check {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: var(--primary);
}

.vip-plan-card__tagline {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  line-height: 1.3;
  color: color-mix(in srgb, var(--primary-active) 88%, #fff);
}

.vip-plan-card--featured .vip-plan-card__tagline {
  color: color-mix(in srgb, var(--primary) 90%, #fff);
}

.vip-plan-card__foot {
  padding: 0 20px 20px;
}

.vip-plan-card__cta {
  width: 100%;
  margin-top: auto;
  padding: 13px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 730;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  background: var(--surface);
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.26s var(--ease-spring),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}

.vip-plan-card__cta:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
  color: var(--primary-active);
  background: color-mix(in srgb, var(--primary-light) 45%, var(--surface));
  transform: translateY(-1px);
}

.vip-plan-card__cta--solid,
.vip-plan-card--featured .vip-plan-card__cta:not(:disabled) {
  border-color: transparent;
  color: var(--text-inverse);
  background: var(--primary);
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--primary) 60%, transparent);
  animation: vip-cta-energy 2.2s ease-in-out infinite;
}

.vip-plan-card__cta--solid::before,
.vip-plan-card--featured .vip-plan-card__cta:not(:disabled)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 38%;
  display: none;
}

.vip-plan-card__cta--solid:hover:not(:disabled),
.vip-plan-card--featured .vip-plan-card__cta:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--primary) 62%, transparent);
}

.vip-plan-card__cta--solid:hover:not(:disabled)::before,
.vip-plan-card--featured .vip-plan-card__cta:not(:disabled):hover::before {
  left: 122%;
}

.vip-plan-card:hover .vip-plan-card__badge {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -20px color-mix(in srgb, var(--primary) 58%, transparent);
}

.vip-plan-card:hover .vip-plan-card__price {
  transform: translateY(-1px) scale(1.03);
}

.vip-plan-card:hover .vip-plan-card__badge::after {
  transform: translateX(130%);
}

@keyframes vip-card-glow-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.72; }
  50% { transform: translateY(-6px) scale(1.02); opacity: 0.92; }
}

@keyframes vip-current-ring-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--primary) 26%, transparent),
      0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent),
      0 18px 42px -30px color-mix(in srgb, var(--primary) 30%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--primary) 36%, transparent),
      0 0 0 7px color-mix(in srgb, var(--primary) 14%, transparent),
      0 20px 46px -30px color-mix(in srgb, var(--primary) 38%, transparent);
  }
}

@keyframes vip-save-tag-breathe {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
  50% { transform: translateY(-1px); box-shadow: 0 8px 20px -18px color-mix(in srgb, var(--primary) 48%, transparent); }
}

@keyframes vip-guide-card-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--primary) 24%, transparent),
      0 16px 34px -28px color-mix(in srgb, var(--primary) 28%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--primary) 42%, transparent),
      0 0 0 8px color-mix(in srgb, var(--primary) 16%, transparent),
      0 22px 40px -26px color-mix(in srgb, var(--primary) 38%, transparent);
  }
}

@keyframes vip-guide-cta-nudge {
  0%, 100% { transform: translateY(0) scale(1); }
  22% { transform: translateY(-2px) scale(1.015); }
  38% { transform: translateY(0) scale(1); }
  56% { transform: translateY(-1px) scale(1.01); }
}

@keyframes vip-featured-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes vip-badge-pop {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1px) scale(1.05); }
}

@keyframes vip-current-price-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(0, 0, 0, 0); }
  50% { text-shadow: 0 0 18px color-mix(in srgb, var(--primary) 25%, transparent); }
}

@keyframes vip-cta-energy {
  0%, 100% {
    box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--primary) 60%, transparent);
  }
  50% {
    box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--primary) 76%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vip-plan-card__glow,
  .vip-plan-card__save,
  .vip-plan-card--current,
  .vip-plan-card--featured,
  .vip-plan-card--guide,
  .vip-plan-card__badge--current,
  .vip-plan-card--current .vip-plan-card__price,
  .vip-plan-card--guide .vip-plan-card__cta:not(:disabled),
  .vip-plan-card__cta--solid,
  .vip-plan-card--featured .vip-plan-card__cta:not(:disabled) {
    animation: none !important;
  }
  .vip-plan-card__badge,
  .vip-plan-card__badge::after,
  .vip-plan-card__cta--solid::before {
    transition: none !important;
  }
}

.vip-plan-card__cta:disabled {
  opacity: 0.62;
  cursor: default;
  background: color-mix(in srgb, var(--bg) 90%, #fff);
  border-color: var(--border-light);
  color: var(--text-tertiary);
  box-shadow: none;
}

.vip-empty--inline {
  padding: 32px 16px;
  border: none;
  background: transparent;
}

/* ── 设置 / 时间线（保留简洁卡片） ── */
.vip-settings-card {
  border-radius: var(--vip-radius);
  border: 1px solid var(--border-light);
  background: var(--surface);
  overflow: hidden;
}

.vip-settings-card__head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  background: color-mix(in srgb, var(--bg) 40%, var(--surface));
}

.vip-settings-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.vip-settings-card__sub {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 6px 0 0;
}

.vip-setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
}

.vip-setting-item:last-child {
  border-bottom: none;
}

.vip-setting-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.vip-setting-item__desc {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.45;
}

.vip-switch {
  position: relative;
  width: 50px;
  height: 30px;
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--border) 88%, var(--text-tertiary));
  cursor: pointer;
  transition:
    background 0.32s var(--ease-spring),
    transform 0.22s var(--ease-spring),
    box-shadow 0.32s;
}

.vip-switch[aria-checked="true"] {
  background: var(--primary);
  box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--primary) 55%, transparent);
}

.vip-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
  transition: transform 0.34s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.vip-switch[aria-checked="true"]::after {
  transform: translateX(20px);
}

.vip-switch.is-tapping {
  transform: scale(0.94);
}

.vip-switch:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.vip-select {
  min-width: 132px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
}

.vip-timeline-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.vip-timeline-toolbar__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.vip-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.vip-filter-chip:has(input:checked) {
  color: var(--primary-active);
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  background: var(--primary-light);
}

.vip-event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-event {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.vip-event:hover {
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  box-shadow: 0 8px 20px -14px color-mix(in srgb, var(--primary) 20%, transparent);
}

@media (max-width: 640px) {
  .vip-event {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .vip-event__time {
    order: -1;
  }
}

.vip-event__time {
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-tertiary);
}

.vip-event__main {
  min-width: 0;
}

.vip-event__row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.vip-event__type {
  font-size: 0.625rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.vip-event__type--投递 {
  background: var(--info-bg);
  color: var(--info);
}
.vip-event__type--笔试 {
  background: var(--round-written-bg);
  color: var(--round-written);
}
.vip-event__type--面试 {
  background: var(--round-first-bg);
  color: var(--round-first);
}
.vip-event__type--其他 {
  background: var(--bg);
  color: var(--text-tertiary);
}

.vip-event__src {
  font-size: 0.625rem;
  color: var(--text-tertiary);
}

.vip-event__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.vip-empty {
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--vip-radius);
  border: 1px dashed color-mix(in srgb, var(--primary) 20%, var(--border-light));
  background: color-mix(in srgb, var(--primary-light) 22%, var(--surface));
}

.vip-empty__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--primary);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--primary) 30%, transparent);
}

.vip-empty__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.vip-empty__text {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin: 0 0 14px;
  line-height: 1.55;
}

.vip-footnote {
  margin-top: 32px;
  padding: 14px 18px;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.55;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border-light);
}

@media (prefers-reduced-motion: reduce) {
  .vip-marketing__progress-fill,
  .vip-plan-card,
  .vip-panel.is-active,
  .vip-marketing__btn {
    transition: none;
    animation: none;
  }
  .vip-plan-card:hover,
  .vip-plan-card--featured {
    transform: none;
  }
}

/* ── 提醒设置（会员 · 通知 Tab） ── */
.vip-notify {
  --notify-accent: var(--primary-active);
  --notify-accent-bg: var(--primary-light);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Hero 横幅 */
.vip-notify__hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  padding: 28px 32px;
  border-radius: var(--vip-radius-lg);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border-light));
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary-light) 55%, var(--surface)) 0%,
    var(--surface) 52%,
    color-mix(in srgb, var(--bg) 40%, var(--surface)) 100%
  );
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s var(--ease-expo-out),
    transform 0.5s var(--ease-expo-out),
    box-shadow 0.35s var(--ease);
}

.vip-notify__hero.is-visible {
  opacity: 1;
  transform: none;
}

.vip-notify__hero-glow {
  position: absolute;
  top: -40%;
  right: -8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--primary) 18%, transparent) 0%,
    transparent 68%
  );
  pointer-events: none;
  animation: vip-notify-glow-drift 8s ease-in-out infinite;
}

@keyframes vip-notify-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(-12px, 8px) scale(1.06); opacity: 1; }
}

.vip-notify__hero-copy {
  position: relative;
  flex: 1;
  min-width: 0;
}

.vip-notify__hero-icon {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--surface) 70%, var(--primary-light));
  border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
  box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--primary) 35%, transparent);
  animation: vip-notify-icon-float 4s ease-in-out infinite;
}

@keyframes vip-notify-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.vip-notify__eyebrow {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-active);
}

.vip-notify__title {
  margin: 0;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.vip-notify__sub {
  margin: 10px 0 0;
  max-width: 52em;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.vip-notify__sub strong {
  font-weight: 700;
  color: var(--text);
}

/* 流程步骤条 */
.vip-notify__flow {
  list-style: none;
  margin: 0 0 28px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: var(--vip-radius);
  border: 1px solid var(--border-light);
  background: color-mix(in srgb, var(--bg) 42%, var(--surface));
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease-expo-out),
    transform 0.45s var(--ease-expo-out);
}

.vip-notify__flow.is-visible {
  opacity: 1;
  transform: none;
}

.vip-notify__flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  text-align: center;
}

.vip-notify__flow-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.vip-notify__flow-step--accent .vip-notify__flow-label {
  color: var(--primary-active);
}

.vip-notify__flow-connector {
  flex: 1;
  min-width: 48px;
  max-width: 120px;
  height: 2px;
  margin: 0 12px;
  margin-bottom: 28px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    var(--border) 0%,
    color-mix(in srgb, var(--primary) 30%, var(--border)) 50%,
    var(--border) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease-expo-out);
}

.vip-notify__flow.is-visible .vip-notify__flow-connector {
  transform: scaleX(1);
}

.vip-notify__flow.is-visible .vip-notify__flow-connector:nth-of-type(2) {
  transition-delay: 0.15s;
}

.vip-notify__flow.is-visible .vip-notify__flow-connector:nth-of-type(4) {
  transition-delay: 0.3s;
}

.vip-notify__flow-dot {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-tertiary);
  background: var(--surface);
  border: 1.5px solid var(--border);
  transition:
    transform 0.3s var(--ease-spring),
    border-color 0.3s,
    box-shadow 0.3s,
    color 0.3s,
    background 0.3s;
}

.vip-notify__flow.is-visible .vip-notify__flow-dot {
  animation: vip-notify-dot-pop 0.5s var(--ease-spring) backwards;
}

.vip-notify__flow-step:nth-child(1) .vip-notify__flow-dot { animation-delay: 0.1s; }
.vip-notify__flow-step:nth-child(3) .vip-notify__flow-dot { animation-delay: 0.25s; }
.vip-notify__flow-step:nth-child(5) .vip-notify__flow-dot { animation-delay: 0.4s; }

@keyframes vip-notify-dot-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.vip-notify__flow-dot--accent {
  color: var(--primary);
  background: var(--primary-light);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--primary) 40%, transparent);
  animation: vip-notify-dot-glow 3s ease-in-out infinite;
}

@keyframes vip-notify-dot-glow {
  0%, 100% { box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--primary) 40%, transparent); }
  50% { box-shadow: 0 8px 24px -6px color-mix(in srgb, var(--primary) 55%, transparent); }
}

/* 主体卡片区 — 左右双栏 */
.vip-notify__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.vip-notify__card {
  border-radius: var(--vip-radius-lg);
  border: 1px solid var(--border-light);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 12px 40px -28px rgba(15, 23, 42, 0.14);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.48s var(--ease-expo-out),
    transform 0.48s var(--ease-expo-out),
    box-shadow 0.32s var(--ease),
    border-color 0.32s;
}

.vip-notify__card.is-visible {
  opacity: 1;
  transform: none;
}

.vip-notify__card:hover {
  border-color: color-mix(in srgb, var(--primary) 12%, var(--border-light));
  box-shadow: 0 16px 48px -24px color-mix(in srgb, var(--primary) 18%, rgba(15, 23, 42, 0.12));
}

.vip-notify__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-areas: "icon copy action";
  align-items: center;
  gap: 14px 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease-expo-out),
    transform 0.45s var(--ease-expo-out),
    background 0.28s;
}

.vip-notify__row.is-visible {
  opacity: 1;
  transform: none;
}

.vip-notify__row:hover {
  background: color-mix(in srgb, var(--bg) 35%, transparent);
}

.vip-notify__row:last-child {
  border-bottom: none;
}

.vip-notify__row--hours {
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-areas: "icon copy";
  align-items: start;
  padding-bottom: 24px;
  flex: 1;
}

.vip-notify__row--hours.is-muted {
  opacity: 0.5;
  pointer-events: none;
}

.vip-notify__row-icon {
  grid-area: icon;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  transition: transform 0.3s var(--ease-spring);
}

.vip-notify__row:hover .vip-notify__row-icon {
  transform: scale(1.05);
}

.vip-notify__row-copy {
  grid-area: copy;
  min-width: 0;
}

.vip-notify__row .vip-switch {
  grid-area: action;
  align-self: center;
}

.vip-notify__row-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.vip-notify__row-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-tertiary);
}

/* 小时选择 — 双栏卡片内 3×2 网格 */
.vip-notify__hours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.vip-notify__hour {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.28s var(--ease-spring),
    border-color 0.24s,
    color 0.24s,
    background 0.24s,
    box-shadow 0.24s;
}

.vip-notify__hour:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  color: var(--text);
  transform: translateY(-2px);
}

.vip-notify__hour.is-active {
  color: var(--primary-active);
  background: var(--primary-light);
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--primary) 35%, transparent);
}

.vip-notify__hour.is-picking {
  transform: scale(0.94);
}

.vip-notify__hour:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.vip-notify__hours-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 手机号验证卡片 */
.vip-notify__card--phone {
  padding: 0;
}

.vip-notify__phone-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "icon copy"
    ". badge";
  gap: 12px 14px;
  align-items: start;
  padding: 20px 22px 0;
  text-align: left;
}

.vip-notify__phone-icon {
  grid-area: icon;
}

.vip-notify__phone-copy {
  grid-area: copy;
}

.vip-notify__phone-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}

.vip-notify__phone-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.vip-notify__phone-desc {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-tertiary);
}

.vip-notify__phone-badge {
  grid-area: badge;
  justify-self: start;
  margin-left: 54px;
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-active);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
  background: var(--primary-light);
  animation: vip-notify-badge-pulse 2.8s ease-in-out infinite;
}

@keyframes vip-notify-badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.vip-notify__phone-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 18px 22px 6px;
  box-sizing: border-box;
  flex: 1;
}

.vip-notify__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-notify__field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.vip-notify__input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9375rem;
  transition:
    border-color 0.24s,
    box-shadow 0.24s,
    background 0.24s,
    transform 0.24s var(--ease-spring);
}

.vip-notify__input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.vip-notify__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 10%, transparent);
  background: var(--surface);
  transform: translateY(-1px);
}

.vip-notify__code-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.vip-notify__code-row .vip-notify__input {
  flex: 1;
  min-width: 0;
}

.vip-notify__code-btn {
  flex-shrink: 0;
  min-width: 100px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    transform 0.24s var(--ease-spring),
    border-color 0.22s,
    color 0.22s,
    background 0.22s;
}

.vip-notify__code-btn:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--primary-active);
  transform: translateY(-1px);
}

.vip-notify__code-btn.is-counting {
  color: var(--text-tertiary);
  background: var(--bg);
  cursor: default;
}

.vip-notify__code-btn.is-nudge {
  animation: vip-notify-nudge 0.42s var(--ease-spring);
}

@keyframes vip-notify-nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.vip-notify__bind-btn {
  align-self: flex-start;
  min-width: 140px;
  margin-top: auto;
  min-height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  transition:
    transform 0.26s var(--ease-spring),
    box-shadow 0.26s,
    opacity 0.2s;
}

.vip-notify__bind-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.vip-notify__bind-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--primary) 55%, transparent);
}

.vip-notify__phone-note {
  margin: 4px 22px 20px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-tertiary);
  background: color-mix(in srgb, var(--bg) 60%, var(--surface));
  border: 1px solid var(--border-light);
}

@media (max-width: 860px) {
  .vip-notify__body {
    grid-template-columns: 1fr;
  }

  .vip-notify__hours {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .vip-notify__phone-head {
    grid-template-areas:
      "icon copy"
      "badge badge";
  }

  .vip-notify__phone-badge {
    margin-left: 54px;
  }
}

@media (max-width: 640px) {
  .vip-notify__hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }

  .vip-notify__flow {
    flex-direction: column;
    padding: 20px 24px;
    gap: 0;
  }

  .vip-notify__flow-connector {
    flex: none;
    width: 2px;
    height: 24px;
    min-width: 0;
    max-width: none;
    margin: 4px 0;
    margin-bottom: 0;
    transform: scaleY(0);
    transform-origin: top center;
    background: linear-gradient(
      180deg,
      var(--border) 0%,
      color-mix(in srgb, var(--primary) 30%, var(--border)) 50%,
      var(--border) 100%
    );
  }

  .vip-notify__flow.is-visible .vip-notify__flow-connector {
    transform: scaleY(1);
  }

  .vip-notify__flow-step {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    text-align: left;
  }

  .vip-notify__flow-label {
    white-space: normal;
  }

  .vip-notify__row,
  .vip-notify__phone-head {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .vip-notify__row .vip-switch {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 56px;
  }

  .vip-notify__row--hours {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .vip-notify__phone-head .vip-notify__phone-badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 56px;
  }

  .vip-notify__phone-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .vip-notify__phone-note {
    margin-left: 20px;
    margin-right: 20px;
  }

  .vip-notify__hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .vip-notify__hero,
  .vip-notify__hero-glow,
  .vip-notify__hero-icon,
  .vip-notify__flow,
  .vip-notify__flow-connector,
  .vip-notify__flow-dot,
  .vip-notify__flow-dot--accent,
  .vip-notify__card,
  .vip-notify__row,
  .vip-notify__hour,
  .vip-notify__phone-badge,
  .vip-switch,
  .vip-notify__code-btn,
  .vip-notify__row-icon {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
