    :root {
      --bg: #020617;
      --bg-elevated: #0f172a;
      --text: #f0f9ff;
      --text-muted: #94a3b8;
      --text-soft: #94a3b8;
      --accent-cyan: #0ea5e9;
      --accent-blue: #3b82f6;
      --border: rgba(14, 165, 233, 0.08);
      --price-red: #f87171;
      --wechat-green: #4ade80;
      --alipay-blue: #1677ff;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    html, body { min-height: 100%; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      background: #020617;
      color: var(--text);
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── 导航 ── */
    .top-nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 48px; height: 68px;
      background: rgba(15, 23, 42, 0.85);
      backdrop-filter: blur(20px) saturate(1.4);
      border-bottom: 1px solid var(--border);
    }
    .nav-brand {
      display: flex; align-items: center; gap: 12px;
      font-size: 20px; font-weight: 800; letter-spacing: 2px;
      text-decoration: none;
      color: #f0f9ff;
      filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.1));
    }
    .nav-logo {
      width: 36px; height: 36px; flex-shrink: 0;
      animation: logoPulse 4s ease-in-out infinite;
      transition: transform .35s ease;
    }
    @keyframes logoPulse {
      0%, 100% { filter: drop-shadow(0 0 4px rgba(0, 242, 255, 0.25)); }
      50% { filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.5)); }
    }
    .nav-brand:hover .nav-logo {
      filter: drop-shadow(0 0 14px rgba(0, 242, 255, 0.7));
      transform: scale(1.06);
    }
    .nav-links {
      display: flex; align-items: center; gap: 36px;
      list-style: none;
    }
    .nav-links a {
      color: var(--text-muted); text-decoration: none; font-size: 14px;
      font-weight: 600; letter-spacing: .5px; transition: color .25s;
      position: relative;
    }
    .nav-links a::after {
      content: ""; position: absolute; bottom: -6px; left: 0;
      width: 0; height: 2px; border-radius: 2px;
      background: var(--accent-cyan);
      transition: width .3s;
    }
    .nav-links a:hover, .nav-links a.active {
      color: var(--text);
    }
    .nav-links a:hover::after, .nav-links a.active::after {
      width: 100%;
    }
    .nav-login {
      padding: 8px 20px; border-radius: 10px;
      border: 1px solid rgba(14, 165, 233, 0.4);
      background: rgba(14, 165, 233, 0.12);
      color: var(--accent-cyan); font-size: 13px; font-weight: 700;
      text-decoration: none; letter-spacing: .5px;
      transition: all .25s;
    }
    .nav-login:hover {
      background: rgba(14, 165, 233, 0.25);
      border-color: var(--accent-cyan);
      box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
    }

    .store-page { flex: 1 0 auto; width: 100%; max-width: 960px; margin: 0 auto; padding: 82px 24px 42px; }

    /* ── 产品头部 ── */
    .product-head {
      text-align: center; margin-bottom: 18px;
    }
    .product-head h1 {
      font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: 2px; margin-bottom: 8px;
      color: var(--text);
    }
    .product-head p {
      color: var(--text-muted); font-size: clamp(12px, 1.8vw, 15px); line-height: 1.6; white-space: nowrap;
    }

    /* ── Grid ── */
    .purchase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }

    /* ── Card ── */
    .purchase-card {
      border: 1px solid var(--border); border-radius: 20px;
      background: var(--bg-elevated); backdrop-filter: blur(16px);
      padding: 28px;
      transition: border-color .3s;
      display: flex; flex-direction: column;
    }
    .purchase-card:hover { border-color: rgba(14, 165, 233, 0.35); }

    /* ── Block Title ── */
    .block-title {
      margin: 0 0 16px; color: var(--text); font-size: 14px; font-weight: 800;
      letter-spacing: 1px;
    }

    /* ── Plan Options ── */
    .plan-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
    .plan-option {
      position: relative; min-height: 52px; display: grid; place-items: center;
      border: 1px solid rgba(14, 165, 233, 0.2); border-radius: 12px;
      background: rgba(14, 165, 233, 0.03); color: var(--text); cursor: pointer;
      font-weight: 700; font-size: 14px; transition: all .25s ease;
      padding: 12px 6px;
    }
    .plan-option input { position: absolute; opacity: 0; pointer-events: none; }
    .plan-option:hover { border-color: rgba(14, 165, 233, 0.5); background: rgba(14, 165, 233, 0.08); }
    .plan-option.selected {
      border-color: #38bdf8;
      background: linear-gradient(135deg, #0284c7, #0ea5e9);
      color: #ffffff;
      box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 8px 28px rgba(14, 165, 233, 0.35);
    }

    /* ── FIX: 主打推荐方案样式 ── */
    .plan-option.featured {
      border-color: rgba(14, 165, 233, 0.45);
      background: rgba(14, 165, 233, 0.08);
      box-shadow: 0 0 12px rgba(14, 165, 233, 0.1);
    }
    .plan-option.featured:hover {
      border-color: rgba(14, 165, 233, 0.6);
      background: rgba(14, 165, 233, 0.12);
      box-shadow: 0 0 18px rgba(14, 165, 233, 0.15);
    }
    .plan-option.featured.selected {
      border-color: #38bdf8;
      background: linear-gradient(135deg, #0284c7, #0ea5e9);
      color: #ffffff;
      box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 8px 28px rgba(14, 165, 233, 0.35);
    }
    .featured-badge {
      position: absolute; top: -8px; right: -6px;
      padding: 2px 8px; border-radius: 999px;
      background: var(--accent-cyan); color: #ffffff;
      font-size: 10px; font-weight: 800; letter-spacing: 1px;
      line-height: 1.6; pointer-events: none;
      box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
    }
    .plan-option.selected .featured-badge {
      background: rgba(255, 255, 255, 0.3);
      box-shadow: none;
    }

    /* ── Pricing Box ── */
    .pricing-box {
      margin-top: auto; border-radius: 16px;
      border: 1px solid var(--border);
      background: rgba(14, 165, 233, 0.06);
      padding: 24px;
      text-align: center;
    }
    .discount-badge {
      display: inline-block;
      padding: 5px 14px;
      border-radius: 999px;
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #f87171;
      font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
      margin-bottom: 14px;
    }
    .discount-badge.hidden { display: none; }
    .price-main {
      display: flex; align-items: baseline; justify-content: center; gap: 14px;
      margin-bottom: 14px;
    }
    .list-price {
      color: var(--text-muted); text-decoration: line-through;
      font-size: 16px; font-weight: 500;
    }
    .total-price {
      font-size: 36px; font-weight: 900; letter-spacing: -1px;
      color: #f87171;
    }
    .price-meta {
      display: flex; justify-content: space-between;
      color: var(--text-muted); font-size: 13px;
    }
    .price-meta strong { color: var(--text-soft); font-weight: 600; }
    .unit-price { color: var(--accent-cyan); font-weight: 700; }

    /* ── Send Section ── */
    .send-title { margin: 0 0 16px; }
    .send-title h2 { margin: 0; color: var(--text); font-size: 14px; font-weight: 800; letter-spacing: 1px; }
    .send-title span { display: block; color: var(--text-muted); font-size: 13px; margin-top: 4px; }
    .field-row { display: grid; gap: 8px; }
    .field-row label { color: var(--text-soft); font-weight: 700; font-size: 13px; }
    .field-row input {
      border: 1px solid var(--border); border-radius: 10px;
      background: rgba(15, 23, 42, 0.6); color: var(--text);
      padding: 12px 14px; outline: none; font-size: 14px;
      transition: border-color .25s, box-shadow .25s;
    }
    .field-row input:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15); }
    .field-row input::placeholder { color: var(--text-muted); }
    .bound-device { margin-top: 10px; color: var(--text-soft); font-size: 13px; line-height: 1.6; word-break: break-all; }

    /* ── Payment Options ── */
    .payment-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
    .pay-option {
      min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
      border: 1px solid var(--border); border-radius: 12px;
      background: rgba(14, 165, 233, 0.03); color: var(--text);
      cursor: pointer; font-weight: 700; font-size: 13px;
      transition: all .25s ease; position: relative; overflow: hidden;
    }
    .pay-option::before {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
      background: transparent; transition: background .25s;
    }
    .pay-option:hover { border-color: rgba(14, 165, 233, 0.4); background: rgba(14, 165, 233, 0.06); }

    .pay-option.selected {
      border-color: #38bdf8;
      background: linear-gradient(135deg, #0284c7, #0ea5e9);
      box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.35), 0 8px 28px rgba(14, 165, 233, 0.35);
      color: #ffffff;
    }
    .pay-option.selected::before { background: rgba(255, 255, 255, 0.45); }
    .pay-option.selected .pay-icon { background: rgba(255, 255, 255, 0.25); }
    .pay-option.selected .pay-sublabel { color: rgba(255, 255, 255, 0.85); }

    /* ── Payment Icons ── */
    .pay-icon {
      width: 36px; height: 36px; border-radius: 10px;
      display: grid; place-items: center;
      background: rgba(14, 165, 233, 0.08); transition: background .25s, transform .2s;
    }
    .pay-icon svg { width: 22px; height: 22px; fill: #fff; }
    .pay-option:hover .pay-icon { transform: scale(1.08); }
    .pay-label { font-size: 13px; font-weight: 700; letter-spacing: .3px; }
    .pay-sublabel { font-size: 11px; color: var(--text-muted); margin-top: -4px; }

    /* ── Pay Button ── */
    .pay-now {
      width: 100%; margin-top: 24px;
      background: rgba(14, 165, 233, 0.12);
      border: 1px solid rgba(14, 165, 233, 0.4);
      color: #f0f9ff;
      padding: 14px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
      border-radius: 999px;
      box-shadow: 0 0 0 rgba(14, 165, 233, 0);
      transition: all .45s cubic-bezier(0.23, 1, 0.32, 1);
      letter-spacing: 2px;
    }
    .pay-now:hover:not(:disabled) {
      background: rgba(14, 165, 233, 0.2);
      border-color: rgba(14, 165, 233, 0.7);
      box-shadow: 0 0 36px rgba(14, 165, 233, 0.2);
      transform: translateY(-2px);
    }
    .pay-now:active:not(:disabled) { transform: translateY(0); }
    .pay-now:disabled { opacity: .45; cursor: not-allowed; }

    .secure-note { margin: 14px 0 0; color: var(--text-muted); font-size: 12px; text-align: center; }
    .secure-note a { color: var(--accent-cyan); text-decoration: none; }
    .secure-note a:hover { text-decoration: underline; }

    /* ── Result / Activation ── */
    .payment-result, .activation-box { margin-top: 18px; }
    .result-card, .activation-box {
      border: 1px solid var(--border); border-radius: 14px;
      background: rgba(14, 165, 233, 0.03); padding: 20px;
    }
    .result-card h3, .activation-box h3 { margin: 0 0 10px; color: var(--accent-cyan); font-size: 16px; }
    .result-card p, .activation-box p { margin: 0 0 12px; color: var(--text-soft); line-height: 1.7; font-size: 14px; }
    .qr-box { display: flex; justify-content: center; align-items: center; min-height: 200px; }
    .qr-box img { width: 200px; height: 200px; background: #fff; padding: 10px; border-radius: 10px; }
    .redirect-link, #activationCode {
      display: inline-block; color: var(--accent-cyan); background: rgba(14, 165, 233, 0.12);
      border: 1px solid rgba(14, 165, 233, 0.25); padding: 10px 16px; text-decoration: none;
      word-break: break-all; border-radius: 10px; font-size: 14px;
      transition: background .2s;
    }
    .redirect-link:hover, #activationCode:hover { background: rgba(14, 165, 233, 0.18); }

    /* ── Notice Band ── */
    .notice-band {
      margin-top: 40px; padding: 28px 0 0; border: none; border-radius: 0;
      background: none; backdrop-filter: none;
      border-top: 1px solid var(--border);
    }
    .notice-title {
      display: inline-block;
      margin: 0 0 16px; padding: 10px 18px;
      border: 2px solid rgba(56, 189, 248, 0.7);
      border-radius: 10px;
      background: rgba(14, 165, 233, 0.08);
      box-shadow: 0 0 18px rgba(14, 165, 233, 0.12);
      font-size: 14px; font-weight: 800; letter-spacing: 2px; color: #38bdf8;
    }
    .notice-title::before {
      content: "";
      display: inline-block;
      width: 3px; height: 14px; border-radius: 2px;
      background: var(--accent-cyan);
      margin-right: 10px; vertical-align: middle;
    }
    .notice-grid { display: grid; gap: 0; }
    .notice-item {
      padding: 14px 0; border-bottom: 1px solid var(--border);
    }
    .notice-item:last-child { border-bottom: none; }
    .notice-item strong {
      display: block; color: var(--text); margin-bottom: 4px;
      font-size: 13px; font-weight: 700;
    }
    .notice-item p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: 13px; }

    /* ── Payment Success ── */
    .activation-box { border-color: rgba(34, 197, 96, 0.3); background: rgba(34, 197, 96, 0.06); }
    .activation-box h3 { color: var(--wechat-green); }
    #activationCode { color: var(--wechat-green); border-color: rgba(34, 197, 96, 0.25); background: rgba(34, 197, 96, 0.1); }

    .hidden { display: none; }

    /* ═══════════ V5 弹窗体系（购买说明 / 支付结果 / 邮箱提示） ═══════════ */
    .modal-overlay {
      position: fixed; inset: 0; z-index: 2000;
      display: grid; place-items: center; padding: 24px;
      background:
        radial-gradient(90% 70% at 50% 30%, rgba(10, 14, 28, 0.28), rgba(5, 8, 15, 0.72)),
        linear-gradient(180deg, rgba(5, 8, 15, 0.42), rgba(5, 8, 15, 0.62));
      backdrop-filter: blur(10px);
      opacity: 0; pointer-events: none;
      transition: opacity 0.28s ease;
      --v5-txt: #eef2fb;
      --v5-txt-2: #a3aecb;
      --v5-txt-3: #6d7994;
      --v5-line: rgba(148, 170, 255, 0.14);
    }
    .modal-overlay.open { opacity: 1; pointer-events: auto; }
    .modal-overlay.hidden { display: none; }

    .modal-stage { position: relative; width: 100%; max-width: var(--stage-w, 472px); }
    .modal-stage .halo {
      position: absolute; left: 50%; bottom: -14%; transform: translateX(-50%);
      width: 78%; height: 46%; border-radius: 50%;
      background: radial-gradient(ellipse at center, var(--a-glow), transparent 70%);
      filter: blur(46px); opacity: .55; pointer-events: none;
    }
    .modal-card {
      position: relative; border-radius: 22px; overflow: hidden;
      padding: var(--card-pad, 44px 44px 36px);
      background:
        radial-gradient(130% 90% at 50% -24%, rgba(130, 155, 255, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(23, 31, 55, 0.90), rgba(12, 17, 33, 0.95));
      border: 1px solid var(--v5-line);
      box-shadow:
        0 44px 110px -26px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
      color: var(--v5-txt);
      max-height: 86vh; overflow-y: auto;
    }
    .modal-card::before {
      content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
      width: 58%; height: 2px; border-radius: 0 0 4px 4px;
      background: linear-gradient(90deg, transparent, var(--a1), transparent);
      filter: drop-shadow(0 0 8px var(--a-soft));
    }
    .modal-card::after {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(60% 40% at 50% 0%, var(--a-bg), transparent 70%); opacity: .5;
    }
    .modal-card > * { position: relative; z-index: 1; }

    /* 色调 */
    .tone-amber { --a1:#fcd34d; --a2:#f59e0b; --a-soft:rgba(251,191,36,.55); --a-glow:rgba(245,158,11,.38); --a-bg:rgba(251,191,36,.08); --a-line:rgba(251,191,36,.26); }
    .tone-blue  { --a1:#8ab8ff; --a2:#3b82f6; --a-soft:rgba(125,180,255,.5);  --a-glow:rgba(59,130,246,.40); --a-bg:rgba(125,180,255,.08); --a-line:rgba(125,180,255,.28); }
    .tone-green { --a1:#6ee7b7; --a2:#10b981; --a-soft:rgba(52,211,153,.5);  --a-glow:rgba(16,185,129,.42); --a-bg:rgba(52,211,153,.08); --a-line:rgba(52,211,153,.28); }

    /* 入场动画 */
    .modal-overlay.open .modal-card { animation: v5pop .55s cubic-bezier(.18,1.35,.3,1) both; }
    @keyframes v5pop { from { opacity: 0; transform: translateY(18px) scale(.93); } to { opacity: 1; transform: none; } }
    .modal-overlay.open .rise { animation: v5rise .5s cubic-bezier(.2,.9,.3,1) both; }
    .modal-overlay.open .d1 { animation-delay: .08s; }
    .modal-overlay.open .d2 { animation-delay: .16s; }
    .modal-overlay.open .d3 { animation-delay: .24s; }
    .modal-overlay.open .d4 { animation-delay: .32s; }
    .modal-overlay.open .d5 { animation-delay: .40s; }
    @keyframes v5rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

    /* 图标宝珠 */
    .v5-orb { position: relative; width: 94px; height: 94px; margin: 4px auto 22px; }
    .v5-orb::before {
      content: ""; position: absolute; inset: -16px; border-radius: 50%;
      background: radial-gradient(circle, var(--a-glow), transparent 68%);
      filter: blur(14px); animation: v5breathe 3.2s ease-in-out infinite;
    }
    @keyframes v5breathe { 0%,100% { opacity:.75; transform:scale(1); } 50% { opacity:1; transform:scale(1.08); } }
    .v5-orb .ring {
      position: absolute; inset: 0; border-radius: 50%; padding: 1.6px;
      background: conic-gradient(from 200deg, transparent 0 18%, var(--a1), var(--a2), transparent 82% 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude; animation: v5spin 9s linear infinite;
    }
    @keyframes v5spin { to { transform: rotate(360deg); } }
    .v5-orb .pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--a-soft); animation: v5pulse 2.4s ease-out infinite; }
    .v5-orb .pulse.p2 { animation-delay: 1.2s; }
    @keyframes v5pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.65); opacity: 0; } }
    .v5-orb .disc {
      position: absolute; inset: 8px; border-radius: 50%; display: grid; place-items: center;
      background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
      border: 1px solid rgba(255,255,255,.10);
      box-shadow: inset 0 0 26px var(--a-glow), 0 6px 18px -6px rgba(0,0,0,.6);
    }
    .v5-orb svg { width: 37px; height: 37px; stroke: var(--a1); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 8px var(--a-glow)); }
    .v5-orb .check path { stroke-dasharray: 32; stroke-dashoffset: 32; }
    .modal-overlay.open .v5-orb .check path { animation: v5draw .55s .38s ease-out forwards; }
    @keyframes v5draw { to { stroke-dashoffset: 0; } }
    .mail-badge {
      position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
      display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #3a2703;
      background: linear-gradient(135deg, var(--a1), var(--a2));
      box-shadow: 0 4px 10px -2px var(--a-glow), inset 0 1px 0 rgba(255,255,255,.5);
    }

    /* 文案 */
    .v5-title { font-size: 20px; font-weight: 700; letter-spacing: .08em; text-align: center; }
    .v5-msg { margin: 14px 0 30px; font-size: 14px; line-height: 1.8; color: var(--v5-txt-2); text-align: center; white-space: nowrap; }
    .v5-center { text-align: center; }
    .modal-card em.hl { font-style: normal; color: var(--a1); font-weight: 600; }

    /* 按钮 */
    .v5-btn { appearance: none; border: 0; cursor: pointer; font-family: inherit; padding: 12px 30px; border-radius: 13px; font-size: 14px; font-weight: 600; letter-spacing: .08em; transition: transform .18s, filter .18s, box-shadow .18s; }
    .v5-btn-primary {
      position: relative; overflow: hidden; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.22);
      background: linear-gradient(135deg, var(--a1), var(--a2));
      box-shadow: 0 10px 26px -10px var(--a-glow), inset 0 1px 0 rgba(255,255,255,.35);
    }
    .v5-btn-primary::after {
      content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
      background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
      transform: skewX(-20deg); transition: left .5s;
    }
    .v5-btn-primary:hover { transform: translateY(-1.5px); filter: brightness(1.07); box-shadow: 0 14px 32px -10px var(--a-glow), inset 0 1px 0 rgba(255,255,255,.4); }
    .v5-btn-primary:hover::after { left: 130%; }
    .v5-btn-primary:active { transform: translateY(0); }
    .v5-btn-ghost { color: var(--v5-txt-2); background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.11); }
    .v5-btn-ghost:hover { color: var(--v5-txt); background: rgba(255,255,255,.08); transform: translateY(-1.5px); }

    /* ── 邮箱提示弹窗（缺少邮箱地址 / 邮箱地址错误） ── */
    #emailPromptModal .modal-stage, #emailErrorModal .modal-stage { --stage-w: 472px; }
    .v5-mail-card { text-align: center; }

    /* ── 购买补充说明弹窗 ── */
    #payModal .modal-stage { --stage-w: 572px; }
    #payModal .v5-btn { padding: 10px 26px; }
    #payModal .modal-card { --card-pad: 22px 30px 18px; }
    .v5-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
    .v5-head .v5-badge {
      flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
      background: linear-gradient(150deg, rgba(138,184,255,.20), rgba(59,130,246,.08));
      border: 1px solid var(--a-line); box-shadow: inset 0 0 16px var(--a-glow);
    }
    .v5-head .v5-badge svg { width: 19px; height: 19px; stroke: var(--a1); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 6px var(--a-glow)); }
    .v5-head h3 { font-size: 16.5px; font-weight: 700; letter-spacing: .05em; }
    .v5-head p { margin-top: 2px; font-size: 11.5px; color: var(--v5-txt-3); letter-spacing: .03em; }
    .v5-terms { border-top: 1px solid rgba(148,170,255,.10); }
    .v5-term { display: grid; grid-template-columns: 24px 1fr; gap: 11px; padding: 9px 2px; }
    .v5-term + .v5-term { border-top: 1px dashed rgba(148,170,255,.10); }
    .v5-term .no {
      width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; display: grid; place-items: center;
      font-size: 12px; font-weight: 700; color: var(--a1);
      background: linear-gradient(180deg, rgba(138,184,255,.16), rgba(59,130,246,.05));
      border: 1px solid var(--a-line);
    }
    .v5-term h4 { font-size: 13.5px; font-weight: 600; letter-spacing: .02em; margin-bottom: 2px; }
    .v5-term p { font-size: 12px; line-height: 1.55; color: var(--v5-txt-2); }
    .v5-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(148,170,255,.10); }

    /* ── 支付进度 / 支付成功弹窗 ── */
    #paymentModal .modal-stage { --stage-w: 460px; }
    #paymentModal .modal-card { --card-pad: 24px 30px 20px; }
    #paymentModal .v5-orb { width: 68px; height: 68px; margin: 0 auto 12px; }
    #paymentModal .v5-orb::before { inset: -12px; }
    #paymentModal .v5-orb .disc { inset: 6px; }
    #paymentModal .v5-orb svg { width: 30px; height: 30px; }
    #paymentModal .v5-title { font-size: 18px; }
    .v5-wait-head h3 { font-size: 18px; font-weight: 700; letter-spacing: .05em; text-align: center; }
    #paymentModalHint { text-align: center; font-size: 14px; color: var(--v5-txt-2); margin: 8px 0 18px; }
    #paymentModalDiscount {
      text-align: center; margin: -6px auto 16px; padding: 9px 12px; max-width: 420px;
      border-radius: 10px; color: #a7f3d0;
      background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
      font-size: 13px; line-height: 1.6; font-weight: 700;
    }
    #paymentModalDiscount.hidden { display: none; }
    #paymentModalQrBox { min-height: 220px; }
    #paymentModalQrBox .redirect-link { display: inline-block; color: var(--a1); background: var(--a-bg); border: 1px solid var(--a-line); padding: 10px 16px; border-radius: 10px; text-decoration: none; word-break: break-all; }
    .v5-amount {
      display: inline-flex; align-items: baseline; gap: 8px; margin: 10px auto 2px; padding: 5px 14px;
      border-radius: 999px; background: var(--a-bg); border: 1px solid var(--a-line);
      box-shadow: inset 0 0 18px rgba(52,211,153,.05);
    }
    .v5-amount i { font-style: normal; font-size: 11.5px; color: var(--v5-txt-2); letter-spacing: .06em; }
    .v5-amount b { font-size: 15.5px; font-weight: 700; color: var(--a1); letter-spacing: .02em; text-shadow: 0 0 14px var(--a-glow); }
    .v5-key-label { margin: 12px 0 8px; font-size: 12px; color: var(--v5-txt-2); text-align: center; }
    .v5-key-well {
      display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border-radius: 13px;
      background: rgba(3,7,16,.62); border: 1px solid var(--a-line);
      box-shadow: inset 0 2px 10px rgba(0,0,0,.5), 0 0 0 4px rgba(16,185,129,.045);
    }
    .v5-key-text {
      flex: 1; font-family: "JetBrains Mono","SF Mono",Consolas,monospace;
      font-size: 14px; letter-spacing: .08em; color: #a7f3d0; text-shadow: 0 0 14px rgba(52,211,153,.4);
      user-select: all; white-space: nowrap; cursor: pointer; outline: none;
    }
    .v5-copy {
      flex: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
      padding: 7px 12px; border-radius: 9px; border: 1px solid var(--a-line);
      background: rgba(52,211,153,.10); color: var(--a1); font-size: 12.5px; font-weight: 600;
      font-family: inherit; transition: all .2s;
    }
    .v5-copy:hover { background: rgba(52,211,153,.18); transform: translateY(-1px); }
    .v5-copy svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .v5-notes { margin-top: 12px; display: grid; gap: 8px; }
    .v5-note { display: flex; gap: 9px; align-items: flex-start; padding: 8px 12px; border-radius: 11px; font-size: 12px; line-height: 1.5; text-align: left; }
    .v5-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .v5-note-ok { background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.17); color: #c4ead9; }
    .v5-note-ok svg { stroke: #5eead4; }
    .v5-note-warn { background: rgba(251,191,36,.06); border: 1px solid rgba(251,191,36,.17); color: #eee0ba; }
    .v5-note-warn svg { stroke: #fcd34d; }
    .v5-note b { font-weight: 600; color: #fff; }
    .v5-note.hidden { display: none; }
    .v5-close-wide { width: 100%; margin-top: 14px; padding: 11px; }

    /* ── 弹窗响应式 ── */
    @media (max-width: 640px) {
      .modal-overlay { padding: 14px; }
      .modal-card { padding: 30px 20px 24px; }
      .v5-msg { white-space: normal; }
      .v5-key-text { font-size: 12.5px; letter-spacing: .05em; }
      .v5-foot { flex-wrap: wrap; }
      .v5-foot .v5-btn { flex: 1; }
    }

    /* ── Footer ── */
    .site-footer {
      flex-shrink: 0;
      padding: 24px;
      border-top: 1px solid var(--border);
      background: var(--record-footer-bg, #030712);
      text-align: center;
    }
    .site-footer p {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      flex-wrap: nowrap;
      color: var(--record-footer-color, #030712);
      font-size: 12px;
      letter-spacing: 0;
      margin: 0;
      max-width: 100%;
      overflow-x: auto;
      white-space: nowrap;
    }
    .site-footer a { color: inherit; text-decoration: none; }
    .site-footer a:hover { color: inherit; opacity: 0.8; }
    .gongan-record {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: inherit;
      text-decoration: none;
      font-size: inherit;
      flex: 0 0 auto;
      white-space: nowrap;
    }
    .gongan-record img {
      width: 14px;
      height: 14px;
      display: inline-block;
      flex: 0 0 auto;
      object-fit: contain;
      vertical-align: -2px;
    }
    .gongan-record .gongan-badge {
      width: 14px;
      height: 14px;
      display: inline-block;
      flex: 0 0 auto;
      vertical-align: -2px;
      background-color: var(--badge-color, currentColor);
      -webkit-mask: url("/static/gongan.png") no-repeat center / contain;
      mask: url("/static/gongan.png") no-repeat center / contain;
    }

    /* ── Responsive ── */
    @media (max-width: 960px) {
      .purchase-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 640px) {
      .top-nav { padding: 0 20px; }
      .nav-links { gap: 20px; }
      .nav-links a { font-size: 13px; }
      .plan-options, .payment-options { grid-template-columns: 1fr; }
      .purchase-card { padding: 22px; }
    }
