:root {
  --mp-bg: #f4f7fb;
  --mp-surface: #ffffff;
  --mp-text: #0f172a;
  --mp-muted: #64748b;
  --mp-line: #e2e8f0;
  --mp-primary: #2563eb;
  --mp-primary-hover: #1d4ed8;
  --mp-primary-soft: #eff6ff;
  --mp-radius: 14px;
  --mp-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --mp-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.mp-body {
  font-family: var(--mp-font);
  color: var(--mp-text);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dbeafe 0%, transparent 55%),
    radial-gradient(900px 420px at 90% 0%, #e0f2fe 0%, transparent 50%),
    var(--mp-bg);
  min-height: 100vh;
}

.mp-wrap { width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 20px 0 48px; }

.mp-top {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; margin-bottom: 22px; flex-wrap: nowrap;
}
.mp-brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: inherit; text-decoration: none; font-weight: 700; font-size: 16px;
  flex: 0 0 auto; white-space: nowrap;
}
.mp-brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(145deg, #3b82f6, #0ea5e9);
  display: grid; place-items: center; color: #fff; font-size: 14px;
}

.mp-nav { flex: 1 1 auto; min-width: 0; position: relative; }
.mp-nav-toggle {
  display: none; border: 1px solid var(--mp-line); background: #fff;
  border-radius: 10px; padding: 8px 12px; font-size: 13px; cursor: pointer;
}
.mp-nav-list {
  display: flex; flex-wrap: nowrap; gap: 2px; align-items: center;
  justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.mp-nav-list::-webkit-scrollbar { display: none; }
.mp-nav-item {
  display: inline-flex; align-items: center;
  color: #475569; text-decoration: none; font-size: 12px; font-weight: 600;
  padding: 6px 8px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto;
}
.mp-nav-item:hover { background: rgba(255,255,255,0.85); color: var(--mp-text); }
.mp-nav-item.is-on {
  background: #fff; color: var(--mp-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  border: 1px solid #dbeafe;
}
@media (max-width: 1100px) {
  .mp-nav-toggle { display: inline-flex; }
  .mp-nav { flex: 0 0 auto; }
  .mp-nav-list {
    display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 30;
    width: min(320px, calc(100vw - 40px));
    background: #fff; border: 1px solid var(--mp-line); border-radius: 12px;
    box-shadow: var(--mp-shadow); padding: 8px; flex-direction: column;
    align-items: stretch; gap: 2px; overflow: visible;
  }
  .mp-nav.open .mp-nav-list { display: flex; }
  .mp-nav-item { border-radius: 8px; justify-content: flex-start; font-size: 13px; }
}

.mp-top-right {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: auto;
}
.mp-auth-slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mp-auth-btn {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--mp-line); background: #fff; color: var(--mp-text);
  border-radius: 10px; padding: 7px 10px; cursor: pointer; font-size: 12px;
  text-decoration: none; font-weight: 600; font-family: inherit;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); white-space: nowrap;
}
.mp-auth-btn:hover { border-color: #93c5fd; color: var(--mp-primary); background: var(--mp-primary-soft); }
.mp-auth-btn.is-user { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
.mp-auth-btn.is-out { color: #64748b; font-weight: 500; padding: 7px 8px; }
.mp-vip-btn {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: #f58220; color: #fff;
  border-radius: 8px; padding: 7px 14px; cursor: pointer; font-size: 12px;
  text-decoration: none; font-weight: 700; font-family: inherit;
  box-shadow: 0 1px 2px rgba(245, 130, 32, 0.35); white-space: nowrap;
}
.mp-vip-btn:hover { background: #e07012; color: #fff; }
.mp-vip-btn.is-on { box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.28); }
.mp-lang { position: relative; flex: 0 0 auto; }
.mp-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--mp-line); background: #fff; color: var(--mp-text);
  border-radius: 10px; padding: 7px 10px; cursor: pointer; font-size: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); white-space: nowrap;
}
.mp-lang-btn:hover { border-color: #cbd5e1; }
.mp-lang-btn svg { width: 16px; height: 16px; opacity: 0.75; }
.mp-lang-btn .chev { width: 12px; height: 12px; opacity: 0.55; }
.mp-lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  width: 280px; max-height: min(70vh, 480px); overflow: auto;
  background: #fff; border: 1px solid var(--mp-line); border-radius: 12px;
  box-shadow: var(--mp-shadow); padding: 6px;
}
.mp-lang.open .mp-lang-menu { display: block; }
.mp-lang-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; width: 100%; border: 0; background: transparent; cursor: pointer;
  text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 13px;
  color: var(--mp-text);
}
.mp-lang-item .en { color: #94a3b8; font-size: 12px; }
.mp-lang-item:hover { background: #f8fafc; }
.mp-lang-item.is-on { background: var(--mp-primary-soft); color: var(--mp-primary); }
.mp-lang-item.is-on .en { color: #60a5fa; }

.mp-hero { text-align: center; margin-bottom: 22px; }
.mp-plat-tags {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 10px;
}
.mp-plat-tag {
  font-size: 11px; font-weight: 650; color: #334155;
  background: rgba(255,255,255,0.85); border: 1px solid var(--mp-line);
  border-radius: 999px; padding: 4px 10px;
}
.mp-hero h1 {
  margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; line-height: 1.2;
}
.mp-hero p { margin: 0 auto; max-width: 640px; color: var(--mp-muted); font-size: 15px; line-height: 1.6; }
.mp-supported {
  display: inline-block; margin-top: 12px; font-size: 12px; color: #475569;
  background: rgba(255,255,255,0.7); border: 1px solid var(--mp-line);
  border-radius: 999px; padding: 6px 12px;
}

.mp-plat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
@media (max-width: 900px) { .mp-plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mp-plat-grid { grid-template-columns: 1fr; } }
.mp-plat-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--mp-surface); border: 1px solid var(--mp-line);
  border-radius: 14px; padding: 16px; text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  min-height: 148px;
}
.mp-plat-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}
.mp-plat-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 700;
  background: var(--tone, #2563eb);
}
.mp-plat-card strong { font-size: 15px; line-height: 1.35; }
.mp-plat-desc {
  color: var(--mp-muted); font-size: 12px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.mp-box {
  background: var(--mp-surface); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); box-shadow: var(--mp-shadow);
  padding: 16px; margin-bottom: 22px;
}
.mp-form { display: flex; flex-direction: column; gap: 12px; }
.mp-input {
  width: 100%; min-height: 96px; resize: vertical;
  border: 1px solid var(--mp-line); border-radius: 12px;
  padding: 14px 16px; font: inherit; font-size: 15px; line-height: 1.5;
  outline: none; background: #f8fafc;
}
.mp-input:focus { border-color: #93c5fd; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.mp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mp-btn {
  appearance: none; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--mp-primary); color: #fff; font-weight: 650; font-size: 14px;
  padding: 12px 18px; transition: background .15s ease;
}
.mp-btn:hover { background: var(--mp-primary-hover); }
.mp-btn:disabled { opacity: 0.65; cursor: wait; }
.mp-err {
  display: none; margin-top: 10px; color: #b91c1c; background: #fef2f2;
  border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 13px;
}
.mp-err.show { display: block; }

.mp-result { display: none; margin-bottom: 22px; }
.mp-result.show { display: block; }
.mp-result .mp-box { padding: 18px; }
.mp-result-head { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.mp-cover {
  width: 160px; max-width: 40%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 10px; background: #e2e8f0; border: 1px solid var(--mp-line);
}
.mp-meta { flex: 1; min-width: 200px; }
.mp-meta h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; }
.mp-meta .sub { color: var(--mp-muted); font-size: 13px; margin: 0 0 4px; }
.mp-player {
  width: 100%; aspect-ratio: 16/9; background: #0f172a; border-radius: 12px;
  margin: 12px 0; overflow: hidden;
}
.mp-player video { width: 100%; height: 100%; display: block; background: #000; }
.mp-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mp-btn-ghost {
  appearance: none; font-family: inherit;
  background: #fff; color: var(--mp-primary); border: 1px solid #bfdbfe;
  border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 13px;
  text-decoration: none; display: inline-flex; align-items: center; cursor: pointer;
}
.mp-btn-ghost:hover { background: var(--mp-primary-soft); }
.mp-images {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px; margin-top: 14px;
}
.mp-images figure {
  margin: 0; background: #f8fafc; border: 1px solid var(--mp-line);
  border-radius: 10px; overflow: hidden;
}
.mp-images img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.mp-images figcaption { padding: 8px; }
.mp-images a { font-size: 12px; }

.mp-section { margin-bottom: 28px; }
.mp-section h3 { margin: 0 0 8px; font-size: 20px; }
.mp-section > .lead { margin: 0 0 14px; color: var(--mp-muted); font-size: 14px; line-height: 1.6; }

.mp-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
@media (max-width: 720px) { .mp-cards { grid-template-columns: 1fr; } }
.mp-card {
  background: var(--mp-surface); border: 1px solid var(--mp-line);
  border-radius: 12px; padding: 14px 16px;
}
.mp-card h4 { margin: 0 0 6px; font-size: 15px; }
.mp-card p { margin: 0; color: var(--mp-muted); font-size: 13px; line-height: 1.55; }

.mp-steps { display: grid; gap: 10px; }
.mp-step {
  background: var(--mp-surface); border: 1px solid var(--mp-line);
  border-radius: 12px; padding: 14px 16px;
}
.mp-step strong { display: block; margin-bottom: 4px; }
.mp-step span { color: var(--mp-muted); font-size: 13px; line-height: 1.55; }

.mp-faq details {
  background: var(--mp-surface); border: 1px solid var(--mp-line);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}
.mp-faq summary {
  cursor: pointer; font-weight: 600; font-size: 14px; list-style: none;
}
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq details p {
  margin: 10px 0 0; color: var(--mp-muted); font-size: 13px; line-height: 1.65;
}

.mp-footer {
  margin-top: 36px; text-align: center; color: #94a3b8; font-size: 12px; line-height: 1.5;
}

/* API 申请控制台（TapSave 风格落地页） */
body.is-api-console {
  background:
    radial-gradient(900px 420px at 12% -8%, #dbeafe 0%, transparent 55%),
    radial-gradient(800px 380px at 88% 8%, #e0e7ff 0%, transparent 50%),
    #f8fafc;
}
.is-api-console .mp-auth-btn.is-primary {
  background: var(--mp-primary); color: #fff; border-color: var(--mp-primary);
  gap: 6px;
}
.is-api-console .mp-auth-btn.is-primary:hover {
  background: var(--mp-primary-hover); border-color: var(--mp-primary-hover); color: #fff;
}
.is-api-console .mp-auth-btn.is-primary svg { width: 14px; height: 14px; }
.is-api-console .mp-lang-btn .globe { width: 14px; height: 14px; opacity: .75; }

.mp-api-hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px; align-items: center; margin: 8px 0 28px;
}
.mp-api-hero-copy h1 {
  margin: 10px 0 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
}
.mp-api-hero-copy > p {
  margin: 0 0 18px; color: var(--mp-muted); font-size: 15px; line-height: 1.65; max-width: 36em;
}
.mp-api-eyebrow {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #64748b;
  background: rgba(255,255,255,.85); border: 1px solid var(--mp-line);
  border-radius: 999px; padding: 5px 10px;
}
.mp-api-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.mp-btn-icon {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  text-decoration: none; padding: 11px 16px; border-radius: 12px;
}
.mp-btn-icon svg { width: 16px; height: 16px; }
.mp-btn-outline {
  display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 12px;
  background: #fff; border: 1px solid var(--mp-line); color: var(--mp-text);
  text-decoration: none; font-size: 14px; font-weight: 600;
}
.mp-btn-outline:hover { border-color: #93c5fd; color: var(--mp-primary); background: var(--mp-primary-soft); }
.mp-api-tech {
  display: flex; flex-wrap: wrap; gap: 12px 16px;
  color: #64748b; font-size: 12px; font-weight: 600;
}

.mp-api-window {
  background: #0b1220; color: #e2e8f0; border-radius: 18px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
  overflow: hidden; border: 1px solid #1e293b;
}
.mp-api-window-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; background: #111827; border-bottom: 1px solid #1f2937;
}
.mp-api-window-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.mp-api-window-bar .d1 { background: #f87171; }
.mp-api-window-bar .d2 { background: #fbbf24; }
.mp-api-window-bar .d3 { background: #34d399; }
.mp-api-window-path {
  margin-left: auto; font-size: 11px; color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.mp-api-window-body {
  padding: 16px 18px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; line-height: 1.65;
}
.mp-api-window-body .cmt { color: #64748b; margin-top: 8px; }
.mp-api-window-body .cmt:first-child { margin-top: 0; }
.mp-api-window-body .line { word-break: break-all; }
.mp-api-window-body .k { color: #93c5fd; }
.mp-api-window-body .v { color: #4ade80; }
.mp-api-json {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 10px;
  background: #111827; border: 1px solid #1f2937; color: #cbd5e1;
  white-space: pre-wrap;
}
.mp-api-window-foot {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 16px 14px; font-size: 11px; color: #94a3b8;
}
.mp-api-window-foot .ok { color: #4ade80; font-weight: 650; }

.mp-api-feat-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin: 0 0 22px;
}
.mp-api-feat-card {
  background: #fff; border: 1px solid var(--mp-line); border-radius: 16px;
  padding: 16px 14px; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  min-height: 140px;
}
.mp-api-feat-card .ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--mp-primary-soft); color: var(--mp-primary); margin-bottom: 10px;
}
.mp-api-feat-card .ico svg { width: 18px; height: 18px; }
.mp-api-feat-card .num {
  color: var(--mp-primary); font-size: 12px; font-weight: 800; margin-bottom: 6px;
}
.mp-api-feat-card p {
  margin: 0; color: #334155; font-size: 13px; line-height: 1.5; font-weight: 600;
}

.mp-api-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; border-radius: 18px; margin-bottom: 22px;
  background:
    linear-gradient(120deg, rgba(219, 234, 254, 0.95), rgba(224, 231, 255, 0.9) 55%, rgba(239, 246, 255, 0.95));
  border: 1px solid #dbeafe;
}
.mp-api-cta-copy h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.mp-api-cta-copy p { margin: 0; color: #475569; font-size: 14px; line-height: 1.6; max-width: 42em; }
.mp-api-cta-user { margin-top: 8px !important; font-size: 13px !important; }
.mp-api-cta-action .mp-btn { white-space: nowrap; }

.mp-api-howto { margin-top: 8px; }
.mp-api-meta { margin: 14px 0 0; font-size: 12px; color: #64748b; word-break: break-all; }
.mp-api-meta a { color: var(--mp-primary); }

@media (max-width: 960px) {
  .mp-api-hero { grid-template-columns: 1fr; gap: 18px; }
  .mp-api-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mp-api-feat-grid { grid-template-columns: 1fr; }
  .mp-api-cta { flex-direction: column; align-items: flex-start; }
  .mp-api-cta-action { width: 100%; }
  .mp-api-cta-action .mp-btn { width: 100%; justify-content: center; }
}

/* 弹窗登录 */
.mp-login-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.mp-login-modal[hidden] { display: none !important; }
.mp-login-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}
.mp-login-card {
  position: relative; z-index: 1;
  width: min(400px, 100%);
  background: #fff; border: 1px solid var(--mp-line);
  border-radius: 16px; box-shadow: var(--mp-shadow);
  padding: 20px 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.mp-login-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.mp-login-head h2 { margin: 0; font-size: 18px; font-weight: 700; }
.mp-login-close {
  border: 0; background: transparent; color: #64748b;
  font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px;
  border-radius: 8px;
}
.mp-login-close:hover { background: #f1f5f9; color: var(--mp-text); }
.mp-login-err {
  margin: 0; padding: 8px 10px; border-radius: 10px;
  background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
  font-size: 13px; line-height: 1.45;
}
.mp-login-err[hidden] { display: none !important; }
.mp-login-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #334155; }
.mp-login-field input {
  border: 1px solid var(--mp-line); border-radius: 10px;
  padding: 10px 12px; font-size: 14px; color: var(--mp-text);
  outline: none; background: #fff;
}
.mp-login-field input:focus { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.mp-login-captcha-row { display: flex; gap: 8px; align-items: center; }
.mp-login-captcha-row input { flex: 1; min-width: 0; }
.mp-login-captcha-row img {
  height: 40px; width: auto; border-radius: 8px; border: 1px solid var(--mp-line);
  cursor: pointer; background: #f8fafc;
}
.mp-login-remember {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #475569; cursor: pointer; user-select: none;
}
.mp-login-submit { width: 100%; border: 0; cursor: pointer; padding: 11px 14px; border-radius: 12px; }
.mp-login-submit:disabled { opacity: 0.7; cursor: wait; }
.mp-login-foot {
  margin: 4px 0 0; text-align: center; font-size: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.mp-login-foot a { color: var(--mp-primary); text-decoration: none; }
.mp-login-foot a:hover { text-decoration: underline; }
.mp-login-switch {
  border: 0; background: transparent; color: var(--mp-primary);
  font-size: 13px; font-family: inherit; cursor: pointer; padding: 0;
}
.mp-login-switch:hover { text-decoration: underline; }
.mp-login-switch-main {
  width: 100%; text-align: center; padding: 4px 0 2px;
  font-weight: 600;
}
.mp-login-sep { color: #cbd5e1; }
.mp-login-reg-only[hidden],
.mp-login-only[hidden],
.mp-login-captcha[hidden] { display: none !important; }
body.mp-login-open { overflow: hidden; }

/* 会员页 */
body.is-vip-page { background: #f8fafc; }
.mp-vip-banner {
  background: linear-gradient(135deg, #1c1917 0%, #292524 45%, #44403c 100%);
  color: #fff; padding: 28px 0 34px; margin-bottom: 28px;
}
.mp-vip-banner-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px; align-items: stretch;
}
.mp-vip-tag {
  display: inline-flex; font-size: 12px; font-weight: 700; color: #fdba74;
  margin-bottom: 8px;
}
.mp-vip-banner-copy h1 {
  margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); font-weight: 800; line-height: 1.2;
}
.mp-vip-banner-copy p { margin: 0 0 14px; color: #d6d3d1; font-size: 14px; line-height: 1.65; max-width: 36em; }
.mp-vip-quota {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; color: #e7e5e4;
}
.mp-vip-steps {
  background: rgba(0,0,0,0.28); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 16px 18px;
}
.mp-vip-steps h2 { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.mp-vip-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mp-vip-steps li {
  display: flex; align-items: center; gap: 10px; color: #e7e5e4; font-size: 13px;
}
.mp-vip-steps li span {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: #f59e0b; color: #fff; flex: 0 0 auto;
}
.mp-vip-plans { margin-bottom: 28px; }
.mp-vip-plans-head { margin-bottom: 14px; }
.mp-vip-plans-head .sub { color: #f59e0b; font-size: 12px; font-weight: 700; }
.mp-vip-plans-head h2 { margin: 4px 0 0; font-size: 24px; font-weight: 800; }
.mp-vip-plan-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px;
}
.mp-vip-plan {
  position: relative; text-align: left;
  background: #fff; border: 2px solid var(--mp-line); border-radius: 16px;
  padding: 16px 14px 14px; cursor: pointer; font-family: inherit; color: inherit;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}
.mp-vip-plan.is-on { border-color: #f59e0b; box-shadow: 0 10px 24px rgba(245, 158, 11, 0.18); }
.mp-vip-plan .check {
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px;
  border-radius: 50%; background: #f59e0b; color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.mp-vip-plan .quota { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.mp-vip-plan .days { color: #64748b; font-size: 13px; margin-bottom: 10px; }
.mp-vip-plan .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.mp-vip-plan .price strong { font-size: 28px; font-weight: 800; color: #0f172a; }
.mp-vip-plan .price s { color: #94a3b8; font-size: 13px; }
.mp-vip-plan .badge {
  display: inline-flex; background: #fff7ed; color: #c2410c;
  border: 1px solid #fed7aa; border-radius: 999px; padding: 3px 8px;
  font-size: 11px; font-weight: 700; margin-bottom: 10px;
}
.mp-vip-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.mp-vip-plan li { color: #475569; font-size: 12px; }
.mp-vip-plan li::before { content: "• "; color: #f59e0b; font-weight: 800; }
.mp-vip-checkout { display: grid; gap: 8px; }
.mp-vip-buy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; border: 0; border-radius: 14px; padding: 14px 18px;
  background: #f59e0b; color: #fff; font-size: 16px; font-weight: 800;
  text-decoration: none; cursor: pointer; font-family: inherit;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}
.mp-vip-buy:hover { background: #d97706; color: #fff; }
.mp-vip-buy:disabled { opacity: 0.65; cursor: not-allowed; }
.mp-vip-hint { margin: 0; text-align: center; color: #64748b; font-size: 12px; }

/* 支付二维码弹窗 */
.mp-pay-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.mp-pay-modal[hidden] { display: none !important; }
.mp-pay-backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(2px);
}
.mp-pay-card {
  position: relative; z-index: 1; width: min(360px, 100%);
  background: #fff; border-radius: 16px; border: 1px solid var(--mp-line);
  box-shadow: var(--mp-shadow); padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.mp-pay-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.mp-pay-head h2 { margin: 0; font-size: 17px; font-weight: 750; }
.mp-pay-close {
  border: 0; background: transparent; color: #64748b; font-size: 22px;
  line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 8px;
}
.mp-pay-close:hover { background: #f1f5f9; color: var(--mp-text); }
.mp-pay-amount { margin: 0; font-size: 20px; font-weight: 800; color: #0f172a; }
.mp-pay-qr-wrap {
  padding: 10px; background: #fff; border: 1px solid var(--mp-line); border-radius: 12px;
}
.mp-pay-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.mp-pay-qr img,
.mp-pay-qr canvas,
.mp-pay-qr svg {
  display: block;
  width: 220px !important;
  height: 220px !important;
}
.mp-pay-status { margin: 0; text-align: center; color: #64748b; font-size: 13px; line-height: 1.5; }
.mp-pay-status.is-ok { color: #059669; font-weight: 650; }
.mp-pay-status.is-err { color: #b91c1c; font-weight: 650; }
.mp-pay-actions { margin: 0; }
body.mp-pay-open { overflow: hidden; }
@media (max-width: 900px) {
  .mp-vip-banner-inner { grid-template-columns: 1fr; }
  .mp-vip-plan-grid { grid-template-columns: 1fr; }
}
