/*
    Visual lock for #vipOverlay (CMS-safe):
    gold system only; 2px plan border always; no lift / foil / panel serif;
    reco = flame + 推荐; CTA keeps sheen, glow, arrow.
  */
  #vipOverlay {
    --ink: #141820;
    --ink-2: #3d4553;
    --mute: #5c6573;
    --paper: #ffffff;
    --paper-2: #f7f6f3;
    --select: #fffaf3;
    --hair: #e4e0da;
    --card-line: #eceef2;
    --tick-line: #d4d7de;
    --gold: #f0a500;
    --gold-mid: #f5b423;
    --gold-deep: #e08900;
    --gold-ink: #3d2408;
    --gold-text: #b15c00;
    --gold-wash: #fff6e4;
    --gold-soft: rgba(240, 165, 0, .12);
    --save: #c43c36;
    --save-line: #f0c7c2;
    --wechat: #07c160;
    --mask: rgba(5, 8, 14, .56);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
    --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    position: fixed !important;
    left: 0 !important; top: 0 !important; right: 0 !important; bottom: 0 !important;
    width: auto !important; height: auto !important;
    max-width: none !important; max-height: none !important;
    margin: 0 !important; transform: none !important;
    z-index: 200000 !important;
    display: grid !important; place-items: center;
    padding: 24px !important;
    background: rgba(5, 8, 14, .56) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    font-family: var(--sans);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    isolation: isolate;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .32s ease, visibility .32s;
  }
  #vipOverlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
  #vipOverlay *,
  #vipOverlay *::before,
  #vipOverlay *::after { box-sizing: border-box; }
  #vipOverlay h1, #vipOverlay h2, #vipOverlay h3,
  #vipOverlay p, #vipOverlay ul, #vipOverlay li {
    margin: 0; padding: 0;
    font-size: inherit; font-weight: inherit; line-height: inherit;
    color: inherit;
  }
  #vipOverlay ul { list-style: none; }
  #vipOverlay button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
  #vipOverlay button:focus { outline: none; }
  #vipOverlay button:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 2px;
  }
  #vipOverlay svg { display: block; max-width: none; }
  #vipOverlay .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }

  #vipOverlay .vip-dialog {
    width: min(900px, 92vw);
    max-height: calc(100vh - 48px);
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.08fr) !important;
    gap: 6px;
    padding: 6px;
    background: var(--paper);
    border-radius: 18px;
    box-shadow:
      0 8px 24px rgba(0, 0, 0, .22),
      0 36px 90px rgba(0, 0, 0, .45);
    transform: translateY(16px) scale(.975);
    opacity: .7;
    transition: transform .42s var(--ease), opacity .32s ease;
  }
  #vipOverlay .vip-dialog:focus { outline: none; }
  #vipOverlay.show .vip-dialog { transform: none; opacity: 1; }

  #vipOverlay .vip-visual {
    position: relative !important;
    left: auto !important; top: auto !important; right: auto !important; bottom: auto !important;
    width: auto !important; max-width: none !important;
    min-width: 0 !important;
    min-height: 320px;
    height: auto !important;
    float: none !important;
    display: block !important;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    isolation: isolate;
  }
  #vipOverlay .vip-visual::before {
    content: "";
    position: absolute; inset: -8%;
    background: url("https://www.toopic.cn/templets/images/login-bg.jpg") 62% center / cover;
    animation: vipKen 18s ease-in-out infinite alternate;
  }
  #vipOverlay .vip-visual::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,12,20,.18) 0%, rgba(8,12,20,.08) 38%, rgba(8,12,20,.78) 100%);
    pointer-events: none;
  }
  @keyframes vipKen {
    from { transform: scale(1); }
    to { transform: scale(1.07) translate(-1.4%, 1%); }
  }
  #vipOverlay .visual-grain {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    opacity: .16; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  #vipOverlay .visual-inner {
    position: relative; z-index: 3;
    height: 100%; min-height: 0;
    padding: 32px 28px 86px;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  #vipOverlay .visual-kicker {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
    font-size: 11px; font-weight: 500;
    letter-spacing: .22em;
    color: rgba(255,255,255,.78);
  }
  #vipOverlay .visual-kicker::after {
    content: "";
    width: 36px; height: 1px;
    background: linear-gradient(90deg, rgba(255,211,106,.85), transparent);
  }
  #vipOverlay .visual-title {
    font-family: var(--serif);
    color: #fff;
    text-shadow: 0 12px 32px rgba(0,0,0,.5);
  }
  #vipOverlay .visual-line {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .08em;
    color: rgba(255,255,255,.88);
  }
  #vipOverlay .visual-line-hero {
    margin-top: 2px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: .04em;
    color: #fff;
  }
  #vipOverlay .visual-title em {
    font-style: normal;
    background: linear-gradient(90deg, #ffe9a8, #ffc44a, #fff6d0, #f0a500, #ffe9a8);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffd36a;
    -webkit-text-fill-color: transparent;
    animation: vipGoldText 3.6s linear infinite;
  }
  @keyframes vipGoldText {
    from { background-position: 0 50%; }
    to { background-position: 220% 50%; }
  }
  #vipOverlay .visual-rule {
    width: 28px; height: 1px; border: 0; margin: 18px 0 12px;
    background: rgba(255,211,106,.7);
  }
  #vipOverlay .visual-lead {
    font-size: 13px; line-height: 1.75;
    color: rgba(255,255,255,.84);
    letter-spacing: .06em;
  }
  #vipOverlay.show .visual-kicker { animation: vipRise .55s var(--ease) both; }
  #vipOverlay.show .visual-title { animation: vipRise .6s .06s var(--ease) both; }
  #vipOverlay.show .visual-lead { animation: vipRise .6s .12s var(--ease) both; }
  @keyframes vipRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }

  #vipOverlay .vip-panel {
    position: relative;
    display: flex; flex-direction: column;
    min-width: 0; min-height: 0;
    padding: 16px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--paper);
    border-radius: 12px;
  }
  #vipOverlay .vip-close {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #8a8176;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .2s, color .2s, transform .28s var(--ease);
  }
  #vipOverlay .vip-close:hover {
    background: var(--gold-wash); color: #8a4a00;
    transform: rotate(90deg);
  }

  #vipOverlay .steps { display: grid; flex: 1; min-height: 0; position: relative; z-index: 1; }
  #vipOverlay .step-choose,
  #vipOverlay .step-pay {
    grid-area: 1 / 1;
    display: flex; flex-direction: column;
    min-height: 0;
    transition: opacity .34s var(--ease), transform .34s var(--ease), visibility .34s;
  }
  #vipOverlay .step-choose { gap: 12px; }
  #vipOverlay .step-pay { padding: 4px 0 0; gap: 0; }
  #vipOverlay .vip-panel[data-step="choose"] .step-pay,
  #vipOverlay .vip-panel[data-step="pay"] .step-choose {
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 0;
  }
  #vipOverlay .vip-panel[data-step="choose"] .step-pay { transform: translateX(24px); }
  #vipOverlay .vip-panel[data-step="pay"] .step-choose { transform: translateX(-24px); }
  #vipOverlay .vip-panel[data-step="choose"] .step-choose,
  #vipOverlay .vip-panel[data-step="pay"] .step-pay {
    opacity: 1; visibility: visible; transform: none; z-index: 1;
  }

  #vipOverlay .vip-head {
    display: flex;
    align-items: center;
    padding: 2px 40px 2px 0;
  }
  #vipOverlay .vip-title,
  #vipOverlay .vip-heading {
    display: block !important;
    background: none !important;
    background-image: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: auto !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  #vipOverlay .vip-title h2,
  #vipOverlay .vip-heading h2 {
    display: flex; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: .06em;
    color: #1a1f28;
  }
  #vipOverlay .vip-title h2::before,
  #vipOverlay .vip-heading h2::before {
    content: "";
    width: 2px; height: 14px; flex-shrink: 0;
    border-radius: 99px;
    background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, #e07a00);
    box-shadow: 0 0 8px rgba(240, 165, 0, .35);
  }
  #vipOverlay.show .vip-head { animation: vipRise .55s var(--ease) both; }
  #vipOverlay.show .offer { animation: vipRise .58s .05s var(--ease) both; }
  #vipOverlay.show .vip-perks { animation: vipRise .62s .1s var(--ease) both; }
  #vipOverlay.show .vip-cta { animation: vipRise .64s .16s var(--ease) both; }

  #vipOverlay .offer {
    min-width: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hair);
  }
  #vipOverlay .plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-width: 0;
    align-items: stretch;
  }
  #vipOverlay .plan {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 2px solid var(--card-line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    cursor: pointer;
    text-align: left;
    transform: none;
    transition: background .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  }
  #vipOverlay .plan:hover { border-color: #e2e4ea; }
  #vipOverlay .plan[aria-checked="true"] {
    background: var(--select);
    border-color: var(--gold);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .9),
      0 8px 18px var(--gold-soft);
    z-index: 1;
  }
  #vipOverlay .plan[aria-checked="true"]:hover {
    background: var(--select);
    border-color: var(--gold-deep);
  }
  #vipOverlay .plan:active,
  #vipOverlay .plan[aria-checked="true"]:active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  }
  #vipOverlay .plan:focus-visible { outline: none; }

  #vipOverlay .plan-tick {
    position: absolute;
    top: 12px; right: 12px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1.5px solid var(--tick-line);
    background: var(--paper);
    color: transparent;
    pointer-events: none;
    transition: border-color .2s, background .2s, color .2s;
  }
  #vipOverlay .plan[aria-checked="true"] .plan-tick {
    border-color: #e89b00;
    background: var(--gold);
    color: #fff;
  }
  #vipOverlay .plan-tick svg { width: 10px; height: 10px; }

  #vipOverlay .plan-head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 18px;
    padding: 14px 40px 0 16px;
  }
  #vipOverlay .plan-label {
    font-size: 12px; font-weight: 600; line-height: 1.2;
    letter-spacing: .12em;
    color: #7a828e;
  }
  #vipOverlay .plan[aria-checked="true"] .plan-label { color: #3d3428; }
  #vipOverlay .plan-tag,
  #vipOverlay .reco-tag {
    display: inline-flex; align-items: center;
    gap: 3px;
    height: 18px; padding: 0 7px 0 5px;
    border-radius: 999px;
    color: #c05600;
    font-size: 10px; font-weight: 700;
    letter-spacing: .1em;
    line-height: 1;
    background: #fff4e5;
    border: 1px solid rgba(232, 120, 40, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  }
  #vipOverlay .reco-flame {
    width: 11px; height: 11px;
    flex-shrink: 0;
    transform-origin: 50% 88%;
    animation: vipFlame 1.5s ease-in-out infinite;
  }
  @keyframes vipFlame {
    0%, 100% { transform: scaleY(1) translateY(0); }
    40% { transform: scaleY(1.08) translateY(-0.4px); }
    70% { transform: scaleY(.96) translateY(0); }
  }
  #vipOverlay .plan[aria-checked="true"] .reco-tag {
    background: #fff;
    border-color: rgba(232, 120, 40, .35);
    color: #c05600;
  }

  #vipOverlay .plan-price {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px;
    min-height: 36px;
    padding: 8px 16px 12px;
  }
  #vipOverlay .plan-now {
    display: flex; align-items: baseline; gap: 1px;
    font-size: 32px; font-weight: 700;
    letter-spacing: -.05em; line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
  }
  #vipOverlay .plan-now em {
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    margin-right: 1px;
    position: relative;
    top: -1px;
    color: #9a9288;
  }
  #vipOverlay .plan-unit {
    font-size: 12px; font-weight: 500; letter-spacing: .02em;
    color: #9a9288;
    transform: translateY(-1px);
  }
  #vipOverlay .plan-old {
    font-size: 12px;
    font-weight: 500;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    color: #b0b6be;
  }
  #vipOverlay .plan-save {
    display: inline-flex; align-items: center;
    height: 18px; padding: 0 7px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--save-line);
    font-size: 10px;
    color: var(--save);
    font-weight: 700;
    letter-spacing: .04em;
  }
  #vipOverlay .plan[aria-checked="true"] .plan-now { color: #1a1f28; }
  #vipOverlay .plan[aria-checked="true"] .plan-now em,
  #vipOverlay .plan[aria-checked="true"] .plan-unit { color: #9a9288; }
  #vipOverlay .plan[aria-checked="true"] .plan-old { color: #c4b8a8; }
  #vipOverlay .plan[aria-checked="true"] .plan-save {
    background: #fff;
    border-color: #ebb7b1;
    color: var(--save);
  }

  #vipOverlay .plan-limit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 16px 11px;
    background: var(--paper-2);
    border-top: 1px solid rgba(20, 24, 32, .06);
  }
  #vipOverlay .plan-limit b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px; font-weight: 600; line-height: 1.3;
    letter-spacing: .02em;
    color: #2a3038;
  }
  #vipOverlay .plan-limit b::after {
    content: "";
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #d0d4dc;
  }
  #vipOverlay .plan-limit span {
    font-size: 11px; font-weight: 500; line-height: 1.3;
    color: #7a828e;
  }
  #vipOverlay .plan[aria-checked="true"] .plan-limit {
    background: rgba(240, 165, 0, .07);
    border-top-color: rgba(240, 165, 0, .16);
  }
  #vipOverlay .plan[aria-checked="true"] .plan-limit b::after { background: #e0c48a; }

  #vipOverlay .vip-perks { padding-top: 2px; }
  #vipOverlay .perks-head { margin-bottom: 10px; }
  #vipOverlay .perks-head h3 {
    font-size: 12px; font-weight: 600;
    color: #8a8176;
    letter-spacing: .1em;
  }
  #vipOverlay .perk-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }
  #vipOverlay .perk-card {
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    min-width: 0;
    padding: 8px;
    border-radius: 10px;
    background: var(--paper-2);
  }
  #vipOverlay .perk-ico {
    width: 16px; height: 16px; flex-shrink: 0;
    color: #9a7b3a;
  }
  #vipOverlay .perk-ico svg { width: 16px; height: 16px; }
  #vipOverlay .perk-copy { min-width: 0; overflow: hidden; }
  #vipOverlay .perk-copy b {
    display: block;
    font-size: 12px; font-weight: 600; line-height: 1.3;
    color: #2a3038;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #vipOverlay .perk-copy span {
    display: block;
    margin-top: 1px;
    font-size: 11px; font-weight: 400; line-height: 1.3;
    color: #8a8176;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #vipOverlay .vip-cta {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid var(--hair);
  }
  #vipOverlay .btn-open {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 48px; border-radius: 999px;
    color: var(--gold-ink);
    background: linear-gradient(135deg, #ffd56a, var(--gold) 46%, #ff8a00);
    font-size: 15px; font-weight: 700; letter-spacing: .08em;
    cursor: pointer;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .28),
      0 8px 20px rgba(240, 165, 0, .32);
    transition: transform .22s var(--ease), filter .22s;
    animation: vipBtnGlow 2.8s ease-in-out infinite;
  }
  #vipOverlay .btn-open::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.42) 50%, transparent 72%);
    transform: translateX(-130%);
    pointer-events: none;
    z-index: 0;
    animation: vipSheen 3.4s ease-in-out infinite;
  }
  #vipOverlay .btn-open-label,
  #vipOverlay .btn-open-arrow,
  #vipOverlay .btn-open-spin {
    position: relative;
    z-index: 1;
  }
  #vipOverlay .btn-open-arrow { animation: vipBtnArrow 2.4s ease-in-out infinite; }
  #vipOverlay .btn-open-spin {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid rgba(61, 36, 8, .22);
    border-top-color: var(--gold-ink);
    border-radius: 50%;
    animation: vipBtnSpin .6s linear infinite;
  }
  @keyframes vipBtnSpin { to { transform: rotate(360deg); } }
  @keyframes vipSheen {
    0% { transform: translateX(-130%); }
    42% { transform: translateX(130%); }
    100% { transform: translateX(130%); }
  }
  @keyframes vipBtnGlow {
    0%, 100% {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        0 8px 20px rgba(240, 165, 0, .32);
    }
    50% {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .36),
        0 12px 30px rgba(255, 138, 0, .52);
    }
  }
  @keyframes vipBtnArrow {
    0%, 62%, 100% { transform: translateX(0); }
    72% { transform: translateX(4px); }
    84% { transform: translateX(0); }
  }
  #vipOverlay .btn-open:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    animation: vipBtnGlow 1.6s ease-in-out infinite;
  }
  #vipOverlay .btn-open:hover::before { animation: vipSheen 1.6s ease-in-out infinite; }
  #vipOverlay .btn-open:hover .btn-open-arrow { animation: vipBtnArrow 1.2s ease-in-out infinite; }
  #vipOverlay .btn-open:active {
    filter: brightness(.97);
    transform: translateY(1px);
  }
  #vipOverlay .btn-open:focus-visible { outline-offset: 3px; }
  #vipOverlay .btn-open.loading {
    pointer-events: none;
    filter: saturate(.85);
    letter-spacing: .04em;
    animation: none;
  }
  #vipOverlay .btn-open.loading::before { animation: none; opacity: 0; }
  #vipOverlay .btn-open.loading .btn-open-arrow { display: none; animation: none; }
  #vipOverlay .btn-open.loading .btn-open-spin { display: block; }

  #vipOverlay .pay-back {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 4px;
    margin: 0 0 4px;
    color: var(--ink-2); font-size: 13px; cursor: pointer;
    border-radius: 6px; padding: 4px 6px 4px 2px;
    transition: color .2s;
  }
  #vipOverlay .pay-back:hover { color: var(--ink); }
  #vipOverlay .pay-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    gap: 18px;
    padding: 8px 0 16px;
  }
  #vipOverlay .pay-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
  }
  #vipOverlay .pay-title svg { flex-shrink: 0; }
  #vipOverlay .qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  #vipOverlay .qr {
    position: relative;
    width: 220px; height: 220px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--card-line);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(20, 24, 32, .07);
    overflow: hidden;
  }
  #vipOverlay .qr canvas { width: 100%; height: 100%; }
  #vipOverlay .qr-mark { display: none !important; }
  #vipOverlay .scan {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .04em;
    color: #6b7380;
  }
  #vipOverlay .scan svg { flex-shrink: 0; }

  @media (max-width: 860px) {
    #vipOverlay { padding: 12px;}
    #vipOverlay .vip-dialog {
      width: 100%;
      max-height: calc(100vh - 16px);
      grid-template-columns: 1fr !important;
      border-radius: 16px 16px 12px 12px;
    }
    #vipOverlay .vip-visual {display:none!important}
    #vipOverlay .vip-visual::before { animation: none; }
    #vipOverlay .visual-inner { min-height: 176px; padding: 18px 20px 28px; }
    #vipOverlay .visual-kicker { margin-bottom: 8px; letter-spacing: .16em; }
    #vipOverlay .visual-line { font-size: 14px; }
    #vipOverlay .visual-line-hero { font-size: 24px; }
    #vipOverlay .visual-lead { display: none; }
    #vipOverlay .visual-rule { margin: 10px 0 0; }
    #vipOverlay .vip-panel { padding: 14px 16px 12px; overflow: auto; }
    #vipOverlay .vip-head { padding: 0 40px 2px 0; }
    #vipOverlay .vip-cta { padding-top: 12px; }
    #vipOverlay .step-pay { padding: 0; }
    #vipOverlay .qr { width: 188px; height: 188px; padding: 14px; }
    #vipOverlay .qr img { width: 160px !important; height: 160px !important; }
    #vipOverlay .plans { gap: 8px; }
    #vipOverlay .plan-head { padding: 12px 36px 0 12px; }
    #vipOverlay .plan-price { padding: 6px 12px 10px; }
    #vipOverlay .plan-limit { padding: 9px 12px 10px; }
    #vipOverlay .vip-title h2,
    #vipOverlay .vip-heading h2 { font-size: 18px; }
    #vipOverlay .plan-now { font-size: 28px; }
    #vipOverlay .perk-list { gap: 6px; }
    #vipOverlay .perk-card { padding: 7px; gap: 7px; }
    #vipOverlay .btn-open { height: 46px; letter-spacing: .12em; font-size: 14px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #vipOverlay,
    #vipOverlay .vip-dialog,
    #vipOverlay .plan,
    #vipOverlay .btn-open,
    #vipOverlay .btn-open-arrow,
    #vipOverlay .step-choose,
    #vipOverlay .step-pay { transition: none; }
    #vipOverlay .vip-visual::before,
    #vipOverlay .visual-title em,
    #vipOverlay .btn-open,
    #vipOverlay .btn-open-arrow,
    #vipOverlay .vip-close,
    #vipOverlay .visual-kicker,
    #vipOverlay .visual-title,
    #vipOverlay .visual-lead,
    #vipOverlay .vip-head,
    #vipOverlay .offer,
    #vipOverlay .vip-perks,
    #vipOverlay .vip-cta,
    #vipOverlay .reco-flame {
      animation: none;
      transform: none;
    }
    #vipOverlay .btn-open::before { animation: none; transform: translateX(-130%); }
    #vipOverlay .visual-title em { -webkit-text-fill-color: #ffd36a; color: #ffd36a; }
  }

  #vipOverlay .qr img {
    width: 188px !important;
    height: 188px !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    image-rendering: auto;
  }
  #vipOverlay .pay-qr,
  #vipOverlay .pay-fail,
  #vipOverlay .pay-ok {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: center;
  }
  #vipOverlay .pay-stage[data-pay="qr"] .pay-qr,
  #vipOverlay .pay-stage[data-pay="fail"] .pay-fail,
  #vipOverlay .pay-stage[data-pay="ok"] .pay-ok { display: flex; }
  #vipOverlay .pay-msg {
    font-size: 14px; font-weight: 500; line-height: 1.65;
    color: #5c6573; max-width: 16em;
  }
  #vipOverlay .pay-ok-title {
    font-size: 18px; font-weight: 700; letter-spacing: .04em; color: #1a1f28;
  }
  #vipOverlay .pay-retry {
    height: 40px; padding: 0 18px; border-radius: 999px;
    background: #fff4e5; color: #c05600;
    font-size: 13px; font-weight: 700; cursor: pointer;
  }
  #vipOverlay .pay-retry:hover { background: #ffecd2; }

  body.auth-modal-open .v6-dock {
    z-index: 1 !important;
    pointer-events: none !important;
    transition: opacity .32s ease, transform .32s ease !important;
  }
  body.auth-modal-open .v6-dock:not(.is-collapsed):not(.is-collapsing) {
    left: calc(50% - var(--auth-sb-half, 0px));
  }
  body.auth-modal-open .v6-dock.is-collapsed,
  body.auth-modal-open .v6-dock.is-collapsing {
    right: calc(20px + var(--auth-sb, 0px));
  }
  html.auth-dock-freeze .v6-dock {
    transition: none !important;
  }
