/* ============================================================
   会员权益正式页：状态卡 / 试用横幅 / 定价 / 金币中心 / 权益对比 / FAQ / 下单弹层 / 庆祝浮层
   ============================================================ */

.membership-page {
  padding: 12px 16px 60px;
  max-width: 720px; margin: 0 auto; width: 100%;
  animation: rise 0.4s ease both;
}
@media (min-width: 1160px) { .membership-page { padding: 18px 28px 60px; } }
@media (max-width: 400px) { .membership-page { padding: 10px 12px 60px; } }

body.mp-noscroll { overflow: hidden; }

/* ---------- 品牌 Hero ---------- */
.mp-hero {
  text-align: center;
  padding: 34px 24px 30px;
  border-radius: var(--r-xl);
  background: var(--grad-gold);
  color: #3A2A08;
  box-shadow: var(--shadow-float);
  position: relative;
  overflow: hidden;
}
.mp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% -10%, rgba(255,255,255,0.5) 0%, transparent 55%);
  pointer-events: none;
}
[data-theme="dark"] .mp-hero { color: #241A05; }
.mp-hero-orb {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.28);
  filter: blur(2px);
  animation: mp-orb 7s ease-in-out infinite;
  pointer-events: none;
}
.mp-hero-orb.o1 { width: 130px; height: 130px; top: -55px; right: -35px; }
.mp-hero-orb.o2 { width: 90px; height: 90px; bottom: -40px; left: -25px; animation-delay: -3.5s; }
@keyframes mp-orb {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-14px) scale(1.12); opacity: 0.85; }
}
.mp-hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 900; letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 14px;
  position: relative;
}
.mp-hero-badge svg { width: 14px; height: 14px; }
.mp-hero h2 {
  font-size: 27px; font-weight: 900; letter-spacing: 0.02em;
  color: #3A2A08; position: relative;
}
[data-theme="dark"] .mp-hero h2 { color: #241A05; }
.mp-hero > p {
  font-size: 13.5px; opacity: 0.82; margin-top: 8px; line-height: 1.7;
  position: relative;
}

/* ---------- 状态卡（三态） ---------- */
.mp-state-card {
  margin: 22px auto 0;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-pop);
  text-align: center;
  color: var(--ink-1);
  position: relative;
}
[data-theme="dark"] .mp-state-card { background: rgba(18, 24, 52, 0.92); color: var(--ink-1); }
.mp-state-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 900;
  background: var(--bg-soft); border: 1px solid var(--line-strong);
  padding: 6px 15px; border-radius: 999px; color: var(--ink-2);
}
.mp-state-badge svg { width: 13px; height: 13px; }
[data-mp-state="pro"] .mp-state-badge {
  background: var(--grad-gold); color: #3A2A08; border-color: transparent;
}
[data-mp-state="pro"] .mp-state-badge.trial {
  background: linear-gradient(135deg, #6EE7B7, #34D399); color: #053B2A;
}
.mp-state-title { font-size: 16px; font-weight: 900; margin-top: 12px; }
.mp-state-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.mp-state-card .mp-btn { margin-top: 14px; width: 100%; }
.mp-state-link {
  display: block; margin: 10px auto 0;
  background: none; border: none; cursor: pointer;
  font-size: 12.5px; font-weight: 800; color: var(--ink-3);
  padding: 4px 10px; border-radius: 8px;
}
.mp-state-link:hover { color: var(--c-gold); }

/* ---------- 按钮 ---------- */
.mp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 900;
  background: var(--grad-brand);
  color: #fff;
  border: none; cursor: pointer;
  padding: 13px 24px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(247, 169, 37, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.mp-btn:hover { transform: translateY(-2px); }
.mp-btn:active { transform: translateY(0); }
.mp-btn:disabled {
  opacity: 0.55; cursor: not-allowed; transform: none;
  box-shadow: none;
}
.mp-btn svg { width: 16px; height: 16px; }
.mp-btn.ghost {
  background: var(--bg-soft); color: var(--ink-2);
  box-shadow: none; border: 1px solid var(--line-strong);
}

/* ---------- 区块 ---------- */
.mp-sec { margin-top: 30px; }
.mp-sec-title {
  font-size: 17px; font-weight: 900; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mp-sec-title svg { width: 19px; height: 19px; color: var(--c-gold); }
.mp-sec-sub {
  font-size: 12.5px; color: var(--ink-3); text-align: center;
  margin-top: 6px; line-height: 1.7;
}

/* ---------- 试用横幅 ---------- */
.mp-trial-banner {
  margin-top: 16px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(247, 169, 37, 0.16) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid rgba(247, 169, 37, 0.35);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.mp-trial-glow {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(247, 169, 37, 0.10) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: mp-shimmer 3.2s linear infinite;
  pointer-events: none;
}
@keyframes mp-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.mp-trial-icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(247, 169, 37, 0.4);
}
.mp-trial-icon svg { width: 23px; height: 23px; color: #3A2A08; }
.mp-trial-body { flex: 1; min-width: 0; position: relative; }
.mp-trial-title { font-size: 15px; font-weight: 900; }
.mp-trial-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.5; }
.mp-trial-btn {
  flex: none;
  background: var(--grad-brand); color: #fff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 900;
  padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(247, 169, 37, 0.35);
  transition: transform 0.2s;
  position: relative;
}
.mp-trial-btn:hover { transform: translateY(-2px); }
@media (max-width: 460px) {
  .mp-trial-banner { flex-wrap: wrap; }
  .mp-trial-btn { width: 100%; }
}

/* ---------- 定价卡 ---------- */
.mp-plans {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 18px;
}
@media (max-width: 480px) {
  .mp-plans { grid-template-columns: 1fr; gap: 12px; }
}
.mp-plan {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 22px 18px 18px;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.mp-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mp-plan.hot {
  border: 1.5px solid var(--c-gold);
  box-shadow: var(--shadow-pop);
  animation: mp-hot-glow 2.6s ease-in-out infinite;
}
@keyframes mp-hot-glow {
  0%, 100% { box-shadow: var(--shadow-pop); }
  50% { box-shadow: 0 0 0 1px rgba(247, 169, 37, 0.35), 0 10px 34px rgba(247, 169, 37, 0.28); }
}
.mp-plan.used, .mp-plan.locked { opacity: 0.62; }
.mp-plan.used:hover, .mp-plan.locked:hover { transform: none; }
.mp-plan-ribbon {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--grad-gold); color: #3A2A08;
  font-size: 10.5px; font-weight: 900;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(247, 169, 37, 0.4);
  max-width: 92%;
  overflow: hidden; text-overflow: ellipsis;
}
.mp-plan-name { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.mp-plan-price {
  margin: 10px 0 12px; display: flex; align-items: baseline; justify-content: center; gap: 5px;
}
.mp-plan-price b { font-size: 32px; font-weight: 900; color: var(--ink-1); font-family: var(--font-num); }
.mp-plan-price span { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.mp-plan-price del { font-size: 12.5px; color: var(--ink-3); opacity: 0.7; margin-left: 4px; }
.mp-plan-perks { text-align: left; margin-bottom: 14px; flex: 1; }
.mp-plan-perk {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--ink-2); padding: 4px 0;
}
.mp-plan .mp-btn { width: 100%; padding: 11px 16px; font-size: 13.5px; }

.mp-price-note {
  font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 12px; line-height: 1.7;
}

/* ---------- 金币中心 ---------- */
.mp-coins {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .mp-coins { grid-template-columns: 1fr; }
}
.mp-coin-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
}
.mp-coin-head { display: flex; gap: 12px; align-items: center; }
.mp-coin-ico {
  width: 42px; height: 42px; flex: none;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(247, 169, 37, 0.18), rgba(247, 169, 37, 0.08));
  border: 1px solid rgba(247, 169, 37, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.mp-coin-ico svg { width: 21px; height: 21px; color: var(--c-gold); }
.mp-coin-name { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.mp-coin-balance { font-size: 22px; font-weight: 900; font-family: var(--font-num); margin-top: 1px; }
.mp-coin-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; line-height: 1.5; }
.mp-coin-streak {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: var(--c-gold);
}
.mp-coin-streak svg { width: 14px; height: 14px; }
.mp-coin-card .mp-btn { width: 100%; padding: 11px 16px; font-size: 13px; }
.mp-coin-card .mp-btn:disabled { opacity: 0.75; }
.mp-invite-code {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.mp-invite-code-text {
  font-family: var(--font-num);
  font-size: 15px; font-weight: 900; letter-spacing: 0.06em;
}
.mp-copy-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 800; color: var(--c-gold);
  padding: 3px 8px; border-radius: 8px; flex: none;
}
.mp-copy-btn:hover { background: rgba(247, 169, 37, 0.12); }
.mp-copy-btn svg { width: 13px; height: 13px; }
.mp-invite-apply { display: flex; gap: 8px; }
.mp-invite-input {
  flex: 1; min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  color: var(--ink-1);
  font-size: 13px; font-weight: 700;
  padding: 10px 12px;
  outline: none;
}
.mp-invite-input:focus { border-color: var(--c-gold); }
.mp-invite-input::placeholder { color: var(--ink-3); font-weight: 500; }
.mp-apply-btn {
  flex: none;
  background: var(--grad-brand); color: #fff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 900;
  padding: 10px 18px; border-radius: var(--r-md);
}
.mp-apply-btn:hover { opacity: 0.92; }

/* ---------- 权益对比清单 ---------- */
.mp-perk-group {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-top: 14px;
  box-shadow: var(--shadow-card);
}
.mp-perk-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.mp-perk-head > svg {
  width: 22px; height: 22px; color: var(--c-gold); flex: none; margin-top: 2px;
}
.mp-perk-head h4 { font-size: 15px; font-weight: 900; }
.mp-perk-head p { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.6; }
.mp-perk-cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px;
  font-size: 11.5px; font-weight: 800; color: var(--ink-3);
  padding: 8px 0 6px; border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.mp-perk-cols span:first-child { text-align: left; }
.mp-perk-cols .pro { color: var(--c-gold); }
.mp-perk-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px; line-height: 1.6; text-align: center; align-items: center;
}
.mp-perk-row:last-child { border-bottom: none; }
.mp-perk-name { font-weight: 700; color: var(--ink-2); text-align: left; }
.mp-perk-free { color: var(--ink-3); font-weight: 600; }
.mp-perk-pro { color: var(--c-gold); font-weight: 900; }
@media (max-width: 560px) {
  .mp-perk-cols, .mp-perk-row { grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; font-size: 11.5px; }
  .mp-perk-group { padding: 14px; }
}

/* ---------- FAQ ---------- */
.mp-faq { margin-top: 16px; }
.mp-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.mp-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13.5px; font-weight: 800; color: var(--ink-1);
  padding: 14px 16px; cursor: pointer; list-style: none;
}
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-chev { color: var(--ink-3); transition: transform 0.25s; flex: none; }
.mp-faq-chev svg { width: 15px; height: 15px; }
.mp-faq-item[open] .mp-faq-chev { transform: rotate(180deg); }
.mp-faq-a {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.9;
  padding: 2px 16px 15px;
}

/* ---------- 协议链接 ---------- */
.mp-legal {
  display: flex; justify-content: center; gap: 22px;
  font-size: 12px;
}
.mp-legal a { color: var(--ink-3); cursor: pointer; }
.mp-legal a:hover { color: var(--ink-1); }

/* ============================================================
   下单弹层（底部抽屉 / 桌面居中卡片）
   ============================================================ */
.mp-sheet-overlay {
  position: fixed; inset: 0; z-index: 9600;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(10, 17, 48, 0.55);
  backdrop-filter: blur(3px);
  animation: mp-fade 0.2s ease both;
}
@keyframes mp-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 640px) {
  .mp-sheet-overlay { align-items: center; padding: 20px; }
}
.mp-sheet-card {
  background: var(--bg-card);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  width: 100%; max-width: 460px;
  max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow-float);
  animation: mp-sheet-up 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (min-width: 640px) {
  .mp-sheet-card { border-radius: var(--r-xl); }
}
@keyframes mp-sheet-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mp-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 4px;
  position: sticky; top: 0; z-index: 2;
}
.mp-sheet-title { font-size: 16px; font-weight: 900; }
.mp-sheet-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-soft); border: none; cursor: pointer;
  font-size: 17px; color: var(--ink-3); line-height: 1;
  transition: transform 0.2s;
}
.mp-sheet-close:hover { color: var(--ink-1); transform: rotate(90deg); }
.mp-sheet-inner { padding: 10px 20px 24px; }

.mp-sheet-plan {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.mp-sheet-plan-ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
}
.mp-sheet-plan-ico svg { width: 20px; height: 20px; color: #3A2A08; }
.mp-sheet-plan-name { font-size: 14.5px; font-weight: 900; }
.mp-sheet-plan-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }

.mp-sheet-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mp-sheet-row.muted { opacity: 0.65; }
.mp-sheet-row-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 800;
}
.mp-sheet-row-label svg { width: 16px; height: 16px; color: var(--c-gold); }
.mp-sheet-row-sub { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }

/* iOS 风格开关 */
.mp-toggle { position: relative; flex: none; cursor: pointer; }
.mp-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.mp-toggle i {
  display: block; width: 44px; height: 26px;
  background: var(--line-strong);
  border-radius: 999px;
  transition: background 0.25s;
  position: relative;
}
.mp-toggle i::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.mp-toggle input:checked + i { background: var(--c-gold); }
.mp-toggle input:checked + i::after { transform: translateX(18px); }

.mp-sheet-break {
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin: 14px 0;
}
.mp-sheet-break-row {
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--ink-2); font-weight: 700;
  padding: 3px 0;
}
.mp-sheet-break-row.discount { color: var(--c-gold); }
.mp-sheet-break-row.total {
  font-size: 15px; font-weight: 900; color: var(--ink-1);
  border-top: 1px dashed var(--line-strong);
  margin-top: 7px; padding-top: 10px;
}
.mp-sheet-pay { width: 100%; padding: 14px 20px; font-size: 15px; }
.mp-sheet-note { font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 10px; }

/* —— 客服人工开通视图 —— */
.mp-cs-head {
  width: 56px; height: 56px; margin: 6px auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(247, 169, 37, 0.18), rgba(247, 169, 37, 0.06));
  border: 1px solid rgba(247, 169, 37, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.mp-cs-head svg { width: 27px; height: 27px; color: var(--c-gold); }
.mp-cs-title { font-size: 17px; font-weight: 900; text-align: center; }
.mp-cs-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.8; margin-top: 8px; text-align: center; }
.mp-order-chip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
  font-size: 12.5px; color: var(--ink-3);
  background: var(--bg-soft); border: 1px dashed var(--line-strong);
  border-radius: var(--r-md); padding: 12px 14px;
}
.mp-order-chip b { color: var(--ink-1); font-family: var(--font-num); font-size: 13.5px; }
.mp-kf-id {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 10px 0 14px;
  font-size: 13.5px; color: var(--ink-2);
  background: var(--bg-soft); border: 1px dashed var(--line-strong);
  border-radius: var(--r-md); padding: 12px 14px;
}
.mp-kf-id b { color: var(--ink-1); font-size: 15px; letter-spacing: 0.02em; }
.mp-cs-keep { font-size: 11.5px; color: var(--ink-3); line-height: 1.7; text-align: center; margin-bottom: 14px; }
.mp-sheet-inner .mp-btn { width: 100%; }
.mp-cancel-link {
  display: block; margin: 12px auto 0;
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--ink-3);
  padding: 5px 12px;
}
.mp-cancel-link:hover { color: var(--c-red, #E5484D); }

/* —— 订单记录视图 —— */
.mp-order-list { display: flex; flex-direction: column; }
.mp-order-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.mp-order-item:last-child { border-bottom: none; }
.mp-order-name { font-size: 13.5px; font-weight: 800; }
.mp-order-date { font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.mp-order-right { text-align: right; }
.mp-order-amount { font-size: 14px; font-weight: 900; font-family: var(--font-num); }
.mp-order-status { font-size: 11px; font-weight: 800; margin-top: 3px; color: var(--ink-3); }
.mp-order-status.granted, .mp-order-status.paid { color: var(--c-gold); }
.mp-order-status.cancelled, .mp-order-status.expired, .mp-order-status.refunded { opacity: 0.7; }
.mp-order-empty {
  text-align: center; padding: 34px 0 20px; color: var(--ink-3);
}
.mp-order-empty svg { width: 30px; height: 30px; opacity: 0.5; }
.mp-order-empty p { font-size: 12.5px; margin-top: 10px; }

/* ============================================================
   庆祝浮层
   ============================================================ */
.mp-celebrate {
  position: fixed; inset: 0; z-index: 9800;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.mp-celebrate-mask {
  position: absolute; inset: 0;
  background: rgba(10, 17, 48, 0.62);
  backdrop-filter: blur(5px);
  animation: mp-fade 0.3s ease both;
}
.mp-celebrate-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: 40px 30px 28px;
  width: 100%; max-width: 330px;
  text-align: center;
  box-shadow: var(--shadow-float);
  animation: mp-celebrate-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  overflow: visible;
}
@keyframes mp-celebrate-in {
  from { transform: scale(0.8) translateY(24px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.mp-celebrate-burst { position: absolute; inset: 0; pointer-events: none; }
.mp-celebrate-burst i {
  position: absolute; left: 50%; top: 40%;
  width: 7px; height: 7px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--c-gold);
  opacity: 0;
  animation: mp-burst 1.1s ease-out infinite;
}
@keyframes mp-burst {
  0% { transform: translate(0, 0) scale(1); opacity: 0.95; }
  70% { opacity: 0.5; }
  100% { transform: translate(calc(var(--bx, 0) * 1px), calc(var(--by, 0) * 1px)) scale(0.3); opacity: 0; }
}
.mp-celebrate-ring {
  width: 84px; height: 84px; margin: 0 auto 16px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #F7A925, #FFD98A, #F7A925, #FFD98A, #F7A925);
  display: flex; align-items: center; justify-content: center;
  animation: mp-ring-spin 3s linear infinite;
  position: relative;
}
.mp-celebrate-ring::before {
  content: ''; position: absolute; inset: 5px;
  border-radius: 50%;
  background: var(--bg-card);
}
.mp-celebrate-ring svg {
  width: 36px; height: 36px; color: #F7A925; position: relative;
  animation: mp-ring-spin-rev 3s linear infinite;
}
@keyframes mp-ring-spin { to { transform: rotate(360deg); } }
@keyframes mp-ring-spin-rev { to { transform: rotate(-360deg); } }
.mp-celebrate-title { font-size: 20px; font-weight: 900; }
.mp-celebrate-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.7; }
.mp-celebrate-card .mp-btn { width: 100%; margin-top: 20px; }
