.prem-page, .bill, .pay-return { --pm-g1: #f0cf63; --pm-g2: #f08bb8; --pm-g3: #b9a0f2;
--pm-grad: linear-gradient(120deg, var(--pm-g1), var(--pm-g2) 55%, var(--pm-g3)); }
.prem-head { --pm-grad: linear-gradient(120deg, #f0cf63, #f08bb8 55%, #b9a0f2); }
.prem-head .pm-shine { background: var(--pm-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bill-shine 5s ease-in-out infinite; }
@keyframes bill-shine { 50% { background-position: 100% 0; } }
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.plans:has(.plan-info[open]) { align-items: start; }
.plans-lg { margin-top: 22px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px;
border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--glass); transition: border-color .2s, transform .2s var(--ease), background .2s; }
.plan:hover { border-color: var(--line-3); background: var(--glass-2); transform: translateY(-2px); }
.plan.best { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--pm-grad) border-box; box-shadow: 0 18px 50px -24px rgba(240, 139, 184, .45); }
.plan h3 { margin: 0; font-size: 15px; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 34px; font-weight: 750; letter-spacing: -.03em; color: var(--text); }
.plan-price small { color: var(--faint); font-size: 13.5px; }
.plan-sub { margin: -4px 0 0; min-height: 20px; color: var(--muted); font-size: 13.5px; }
.plan-save { color: var(--live); font-weight: 600; }
.plan-points { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); flex: 1; }
.plan-points li { display: flex; gap: 8px; align-items: flex-start; }
.plan-points .ico { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--text); }
.plan-ribbon { position: absolute; top: -11px; left: 18px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px;
background: var(--pm-grad); color: #1a1020; font-size: 11.5px; font-weight: 700; }
.plan-ribbon .ico { width: 12px; height: 12px; }
.plan-ribbon.soft { background: var(--surface-3); color: var(--text); border: 1px solid var(--line-3); }
.plan .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.plan-points { margin-bottom: 0; align-content: start; }
.plan-info { margin: 0 0 6px; border-top: 1px solid var(--line); padding-top: 8px; }
.plan-info summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; list-style: none; color: var(--muted); font-size: 13px; font-weight: 600; border-radius: 6px; }
.plan-info summary::-webkit-details-marker { display: none; }
.plan-info summary:hover { color: var(--text); }
.plan-info summary:focus-visible { outline: 2px solid var(--pm-g2); outline-offset: 3px; }
.plan-info summary .ico { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.plan-info[open] summary .ico { transform: rotate(180deg); }
.plan-info dl { margin: 10px 0 2px; display: grid; gap: 10px; animation: bill-in .25s var(--ease); }
.plan-info dt { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 13px; font-weight: 600; }
.plan-info dt .ico { width: 13px; height: 13px; color: var(--muted); }
.plan-info dd { margin: 2px 0 0 19px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.plan-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--faint); font-size: 13px; text-align: center; }
.plan-trust .ico { width: 14px; height: 14px; flex: none; }
.bill-msg { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--r); border: 1px solid rgba(240, 113, 113, .3); background: rgba(240, 113, 113, .06); color: #f3b9b9; font-size: 14px; }
.prem-head .eyebrow .ico { width: 14px; height: 14px; }
.prem-page { padding-bottom: 40px; }
.prem-flash { margin-bottom: 18px; }
.prem-server { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 760px; margin: 0 auto; padding: 14px 16px;
border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.prem-server > div, .prem-server > label { flex: 1; min-width: 180px; display: grid; gap: 2px; }
.prem-server small { color: var(--faint); font-size: 13px; }
.prem-step { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--pm-grad); color: #1a1020; font-weight: 750; font-size: 14px; }
.prem-select { position: relative; flex: 1.2; min-width: 220px; }
.prem-select select { width: 100%; height: 42px; padding: 0 38px 0 14px; appearance: none; border-radius: 99px; border: 1px solid var(--line-3);
background: var(--surface-2); color: var(--text); font: inherit; font-size: 14.5px; cursor: pointer; }
.prem-select select:focus-visible { outline: 2px solid var(--pm-g2); outline-offset: 2px; }
.prem-select .ico { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.prem-select.sp select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.prem-select.sp .ico { z-index: 1; }
.sp-btn { width: 100%; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 40px 0 8px; border-radius: 99px;
border: 1px solid var(--line-3); background: var(--surface-2); color: var(--text); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.sp-btn:focus-visible { outline: 2px solid var(--pm-g2, var(--accent)); outline-offset: 2px; }
.prem-select.open .sp-btn { border-color: var(--pm-g2, var(--accent)); }
.sp-ph { padding-left: 6px; color: var(--muted); }
.sp-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
background: var(--surface-3); color: var(--muted); font-size: 12px; font-weight: 700; }
.sp-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-tag { flex: none; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--faint); font-size: 11.5px; }
.sp-pop { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: max(100%, 320px); max-width: calc(100vw - 32px); border-radius: 16px; border: 1px solid var(--line-2);
background: var(--surface); box-shadow: 0 18px 44px rgba(0, 0, 0, .22); overflow: hidden; }
.sp-search { padding: 8px; border-bottom: 1px solid var(--line); }
.sp-search input { width: 100%; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2);
color: var(--text); font: inherit; font-size: 14px; outline: none; }
.sp-search input:focus { border-color: var(--pm-g2, var(--accent)); }
.sp-list { max-height: 340px; overflow-y: auto; padding: 4px 6px 8px; }
.sp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 12px 10px 6px; color: var(--muted); font-size: 11.5px; font-weight: 700;
letter-spacing: .06em; text-transform: uppercase; }
.sp-head + .sp-opt { margin-top: 2px; }
.sp-opt + .sp-head { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.sp-head small { order: 3; flex-basis: 100%; color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.sp-count { margin-left: auto; color: var(--faint); font-weight: 600; letter-spacing: 0; }
.sp-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 10px; background: none;
color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.sp-opt:hover, .sp-opt:focus-visible { background: var(--surface-2); outline: none; }
.sp-opt.sel::after { content: "✓"; margin-left: auto; color: var(--pm-g2, var(--accent)); font-weight: 700; }
.sp-opt.absent .sp-name { color: var(--muted); }
.sp-opt.absent .sp-ic { opacity: .75; }
.sp-empty { padding: 16px; text-align: center; color: var(--faint); font-size: 13.5px; }
.prem-server.need { animation: bill-nudge .5s var(--ease); border-color: var(--pm-g2); }
@keyframes bill-nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.prem-feats, .prem-faq { margin-top: 72px; }
.prem-feats h2, .prem-faq h2 { text-align: center; margin: 0 0 24px; font-size: clamp(24px, 3vw, 32px); }
.prem-feat h3 { margin: 12px 0 6px; font-size: 16px; }
.prem-feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
.prem-feat-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--line-2); }
.prem-feat-ico .ico { width: 19px; height: 19px; }
.bill { margin: 18px 0 22px; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--glass); }
.bill h2 { margin: 8px 0 4px; font-size: 22px; }
.bill-head { margin-bottom: 18px; }
.bill-head p, .bill-now p { margin: 0; font-size: 14.5px; }
.bill-guild { background: var(--pm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bill-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 650; border: 1px solid var(--line-3); color: var(--muted); }
.bill-badge .ico { width: 13px; height: 13px; }
.bill-badge.ok { color: var(--live); border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .06); }
.bill-badge.warn { color: var(--warn); border-color: rgba(231, 205, 109, .3); background: rgba(231, 205, 109, .05); }
.bill-now { display: grid; grid-template-columns: 1fr auto; gap: 16px 22px; align-items: center; }
.bill-days { position: relative; min-width: 120px; padding: 12px 16px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); text-align: center; }
.bill-days b { display: block; font-size: 30px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.bill-days small { color: var(--faint); font-size: 12.5px; }
.bill-days i { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bill-days i::after { content: ""; position: absolute; inset: 0; width: var(--pct, 0%); border-radius: inherit; background: var(--pm-grad); transition: width .6s var(--ease); }
.bill-acts { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.bill-acts .ico { width: 15px; height: 15px; }
.bill-more { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.bill-more > p { margin: 0 0 16px; font-size: 14px; }
.bill-move { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.bill-move h3 { margin: 0; font-size: 16px; }
.bill-move-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.bill-move-facts li { display: flex; gap: 8px; align-items: flex-start; }
.bill-move-facts .ico { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--text); }
.bill-move-facts b { color: var(--text); }
.bill-move-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bill-move-row .prem-select { flex: 1; min-width: 220px; max-width: 380px; }
.bill-move-row .btn .ico { width: 15px; height: 15px; }
.bill-move-hint { margin: -4px 0 0; font-size: 13px; }
.bill-move-hint b { color: var(--text); }
.bill-move-done { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r);
border: 1px solid rgba(74, 222, 128, .3); background: rgba(74, 222, 128, .05); font-size: 14.5px; }
.bill-move-done > span { flex: 1; min-width: 200px; }
.bill-move-done .ico { width: 16px; height: 16px; }
.bill-hist { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.bill-hist summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; list-style: none; }
.bill-hist summary::-webkit-details-marker { display: none; }
.bill-hist summary .ico { width: 16px; height: 16px; }
.bill-hist summary small { padding: 1px 7px; border-radius: 99px; background: var(--surface-3); font-size: 11.5px; }
.bill-hist table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13.5px; }
.bill-hist th { text-align: left; color: var(--faint); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.bill-hist td { padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.bill-hist td:nth-child(4) { color: var(--text); font-variant-numeric: tabular-nums; }
.bill-hist tr.bad td { color: var(--bad); }
.bill-hist em { font-style: normal; font-size: 12px; }
.bill-hist .faint { margin: 12px 0 0; font-size: 13px; }
.pay-return { min-height: 62vh; display: grid; place-content: center; justify-items: center; padding: 64px 24px; }
.pay-card { width: min(540px, 100%); padding: 32px 30px 28px; text-align: center; border-radius: var(--r-xl); border: 1px solid transparent;
background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--pm-grad) border-box; box-shadow: 0 30px 80px -40px rgba(240, 139, 184, .5); }
.pay-card h1 { margin: 16px 0 8px; font-size: 28px; }
.pay-card p { margin: 0 0 6px; font-size: 15px; }
.pay-guild { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; }
.pay-guild img, .pay-guild-ph { width: 26px; height: 26px; border-radius: 50%; }
.pay-guild-ph { display: grid; place-items: center; background: var(--surface-3); font-size: 12px; }
.pay-state { display: none; margin-top: 18px; }
[data-state="wait"] [data-show="wait"], [data-state="ok"] [data-show="ok"], [data-state="none"] [data-show="none"], [data-state="failed"] [data-show="failed"] { display: block; animation: bill-in .35s var(--ease); }
@keyframes bill-in { from { opacity: 0; transform: translateY(6px); } }
.pay-spin { display: inline-block; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--pm-g2); animation: bill-spin .9s linear infinite; }
@keyframes bill-spin { to { transform: rotate(360deg); } }
.pay-tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pm-grad); color: #1a1020; }
.pay-tick .ico { width: 28px; height: 28px; stroke-width: 2.6; }
.pay-tick.neutral { background: var(--surface-3); color: var(--muted); }
.pay-what { display: inline-block; margin: 10px 0 0 !important; padding: 4px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2);
font-size: 13.5px !important; font-weight: 600; color: var(--text); }
.pay-steps { width: fit-content; margin: 22px auto 0; padding: 0; list-style: none; text-align: left; }
.pay-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--faint); }
.pay-steps li + li::before { content: ""; position: absolute; left: 10px; top: -7px; width: 2px; height: 14px; border-radius: 2px; background: var(--line-2); }
.pay-steps i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); }
.pay-steps .ico { width: 12px; height: 12px; stroke-width: 3; }
.pay-steps li.done { color: var(--muted); }
.pay-steps li.done i { border: 0; background: var(--pm-grad); color: #1a1020; }
.pay-steps li.now { color: var(--text); font-weight: 600; }
.pay-steps li.now i { border-color: var(--pm-g2) var(--line-2) var(--line-2); animation: bill-spin .9s linear infinite; }
.pay-slow { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0 !important; padding: 12px 14px; text-align: left; border-radius: var(--r);
background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13.5px !important; color: var(--muted); }
.pay-slow[hidden] { display: none; }
.pay-slow > .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--warn); }
.pay-slow b { color: var(--text); }
.pay-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pay-acts .ico { width: 16px; height: 16px; }
.pay-foot { margin-top: 18px; font-size: 13px; text-align: center; text-wrap: balance; }
.pay-foot .ico { width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }
.pay-return { position: relative; isolation: isolate; }
.pay-return::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
background: radial-gradient(closest-side at 50% 44%, rgba(240, 139, 184, .16), rgba(185, 160, 242, .07) 55%, transparent); }
.pay-return[data-state="ok"]::before { animation: pw-aura 1.8s .3s var(--ease) forwards; }
@keyframes pw-aura { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.pay-return[data-state="ok"] .pay-card { animation: pw-card 1.6s .4s ease-out both; }
@keyframes pw-card { 0% { box-shadow: 0 30px 80px -40px rgba(240, 139, 184, .5); }
25% { box-shadow: 0 0 0 1px rgba(240, 207, 99, .35), 0 30px 110px -30px rgba(240, 139, 184, .85); }
100% { box-shadow: 0 30px 80px -40px rgba(240, 139, 184, .5); } }
.pw-badge { position: relative; display: inline-block; width: 68px; height: 68px; }
.pw-badge svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.pw-ring { transform: rotate(-90deg); transform-origin: 32px 32px; stroke-dasharray: 176; stroke-dashoffset: 176; stroke-linecap: round;
animation: pw-draw .5s cubic-bezier(.6, 0, .3, 1) forwards; }
.pw-fill { transform-origin: 32px 32px; transform: scale(.4); opacity: 0;
animation: pw-pop .55s .42s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.pw-check { stroke-dasharray: 34; stroke-dashoffset: 34; animation: pw-draw .32s .62s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes pw-draw { to { stroke-dashoffset: 0; } }
@keyframes pw-pop { to { transform: none; opacity: 1; } }
.pw-wave { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(240, 139, 184, .6); opacity: 0;
animation: pw-wave .9s .45s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes pw-wave { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(2.6); border-width: .5px; } }
.pw-kicker { margin: 16px 0 0 !important; font-size: 11.5px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
opacity: 0; animation: pw-up .45s .7s var(--ease) forwards; }
.pay-win h1 { margin-top: 6px; opacity: 0; animation: pw-up .5s .78s var(--ease) forwards; }
.pw-shine { background: linear-gradient(100deg, var(--text) 35%, #f7e7b4 45%, #f08bb8 50%, #c9b4f7 55%, var(--text) 65%);
background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
animation: pw-sweep 1.3s 1s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes pw-sweep { to { background-position: 0 0; } }
.pw-line { opacity: 0; animation: pw-up .5s .9s var(--ease) forwards; }
.pw-days { display: inline-block; font-variant-numeric: tabular-nums; color: var(--text); }
.pw-days.pw-bump { animation: pw-bump .35s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pw-bump { 40% { transform: scale(1.22); color: #f7e7b4; } }
@keyframes pw-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pw-receipt { margin: 24px 0 0; padding: 4px 18px; text-align: left; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-2);
opacity: 0; animation: pw-up .5s 1.05s var(--ease) forwards; }
.pw-receipt dl { margin: 0; }
.pw-receipt dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.pw-receipt dt { color: var(--muted); }
.pw-receipt dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.pw-receipt dd small { font-size: 12.5px; font-weight: 500; color: var(--faint); }
.pay-card .pw-paid { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 11px 0 12px;
font-size: 13px; color: var(--faint); }
.pw-acts { opacity: 0; animation: pw-up .5s 1.25s var(--ease) forwards; }
.pw-burst { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; }
.pay-win { animation: none !important; }
@media (max-width: 640px) {
.pay-return { padding: 40px 16px; }
.pay-card { padding: 28px 18px; }
.pay-card h1 { font-size: 24px; }
.pw-receipt { padding: 2px 14px; }
.pw-receipt dl > div { font-size: 14px; }
.pay-acts .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
.pay-return[data-state="ok"]::before { animation: none; opacity: 1; }
.pay-return[data-state="ok"] .pay-card, .pw-wave { animation: none !important; }
.pw-ring, .pw-fill, .pw-check, .pw-kicker, .pay-win h1, .pw-shine, .pw-line, .pw-receipt, .pw-acts, .pw-days.pw-bump {
animation: none !important; opacity: 1; transform: none; stroke-dashoffset: 0; }
.pw-shine { background: none; color: inherit; }
.pay-spin, .pay-steps li.now i { animation-duration: 2.4s; }
}
.demo-co .bill-badge { margin-bottom: 4px; }
.demo-co-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 12px; padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-2); }
.demo-co-total b { font-size: 24px; }
@media (max-width: 640px) {
.bill { padding: 18px 16px; }
.bill-now { grid-template-columns: 1fr; }
.bill-hist th:nth-child(5), .bill-hist td:nth-child(5), .bill-hist th:nth-child(3), .bill-hist td:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.prem-head .pm-shine, .pay-spin, .prem-server.need, .pay-state { animation: none !important; }
.plan:hover { transform: none; }
}
.bill.flash { animation: bill-flash 1.2s var(--ease); }
@keyframes bill-flash { 30% { box-shadow: 0 0 0 2px var(--pm-g2), 0 20px 60px -30px rgba(240, 139, 184, .7); } }
[data-billing]:not([data-pay="crypto"]) [data-m="crypto"],
[data-billing][data-pay="crypto"] [data-m="card"] { display: none; }
.pay-pick { display: grid; justify-items: center; gap: 12px; margin: 22px auto 0; max-width: 760px; }
.bill .pay-pick { justify-items: start; margin: 0 0 14px; }
.pay-switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); }
.pay-switch button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border: 0; border-radius: 99px;
background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.pay-switch button .ico { width: 16px; height: 16px; }
.pay-switch button:hover { color: var(--text); }
.pay-switch button[aria-checked="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-3); }
.pay-switch button:focus-visible { outline: 2px solid var(--pm-g2); outline-offset: 2px; }
.pay-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 14px; border-radius: var(--r);
border: 1px solid rgba(240, 207, 99, .35); background: rgba(240, 207, 99, .07); color: #f3dfa0; font-size: 13.5px; line-height: 1.5; }
.pay-note .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.pay-note b { color: #f7e7b4; }
[data-pay="crypto"] .plan:not([data-crypto]) { opacity: .45; }
[data-pay="crypto"] .plan:not([data-crypto]) .btn { pointer-events: none; }
.co-panel { margin: 18px auto 0; max-width: 760px; padding: 18px; border: 1px solid var(--line-3); border-radius: var(--r-xl); background: var(--surface);
animation: bill-in .35s var(--ease); scroll-margin-top: 90px; }
.bill .co-panel { max-width: none; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.co-head > div { display: grid; gap: 2px; }
.co-head b { font-size: 16px; }
.co-head small { color: var(--faint); font-size: 13px; }
.co-emo .ico { stroke-width: 1.6; color: var(--muted); vertical-align: -0.14em; }
.co-head .btn .ico { width: 16px; height: 16px; }
.co-panel > .pay-note { margin-bottom: 12px; }
.co-mount { min-height: 120px; display: grid; }
.co-mount:empty::before { content: ""; place-self: center; width: 26px; height: 26px; border-radius: 50%;
border: 3px solid var(--line-3); border-top-color: var(--pm-g2); animation: co-spin .8s linear infinite; }
.co-demo { display: grid; justify-items: start; gap: 10px; }
.co-demo .muted { margin: 0; }
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-wallets { display: grid; gap: 8px; margin-bottom: 14px; animation: bill-in .3s var(--ease); }
.co-applepay { display: block; width: 100%; height: 44px; border: 0; border-radius: 10px; cursor: pointer;
-webkit-appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: white; }
.co-wal { border: 1px solid var(--line-3); border-radius: var(--r); background: var(--surface-2, rgba(255,255,255,.02)); overflow: hidden; }
.co-wal-row { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; cursor: pointer; }
.co-wal-row:hover { background: rgba(255, 255, 255, .03); }
.co-wal-row:focus-visible { outline: 2px solid var(--pm-g2); outline-offset: -2px; }
.co-wal-mark { flex: none; width: 56px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.co-wal-mark svg { display: block; width: 100%; height: 100%; }
.co-wal-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; }
.co-wal-list li { padding: 7px 10px; border-radius: 9px; background: rgba(255, 255, 255, .035); }
.co-trust { margin: 12px 0 0; text-align: center; color: var(--faint); font-size: 12.5px; }
.co-wal { transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.co-wal:has([aria-expanded="true"]) { border-color: color-mix(in srgb, var(--pm-g2) 45%, var(--line-3)); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.co-wal-txt { display: grid; gap: 1px; flex: 1; min-width: 0; }
.co-wal-txt b { font-size: 14.5px; }
.co-wal-txt small { color: var(--faint); font-size: 12.5px; }
.co-wal-chev .ico { width: 16px; height: 16px; color: var(--faint); transition: transform .2s var(--ease); }
.co-wal-row[aria-expanded="true"] .co-wal-chev .ico { transform: rotate(180deg); }
.co-wal-body { display: flex; gap: 16px; align-items: center; padding: 4px 14px 14px; animation: bill-in .25s var(--ease); }
.co-qr { flex: none; width: 148px; height: 148px; border-radius: 10px; overflow: hidden; background: #fff; }
.co-qr svg { display: block; width: 100%; height: 100%; }
.co-wal-steps { display: grid; gap: 10px; min-width: 0; }
.co-wal-steps p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted, var(--text)); }
.co-wal-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.co-wal-btns .ico { width: 14px; height: 14px; }
.co-wal-steps .co-wal-wait { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12.5px; }
.co-wal-wait i { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid var(--line-3); border-top-color: var(--pm-g2); animation: co-spin .8s linear infinite; }
.co-or { display: flex; align-items: center; gap: 12px; margin-top: 4px; color: var(--faint); font-size: 12.5px; }
.co-or::before, .co-or::after { content: ""; flex: 1; height: 1px; background: var(--line-3); }
@media (max-width: 560px) {
.co-wal-body { flex-direction: column; align-items: stretch; }
.co-qr { align-self: center; }
}
@media (max-width: 560px) {
.pay-switch { width: 100%; }
.pay-switch button { flex: 1; justify-content: center; padding: 0 10px; font-size: 13px; }
}
[data-billing] [hidden] { display: none !important; }
.prem-prebuy { max-width: 760px; margin: 12px auto 0; }
