/* Reseller VPN — публичные страницы /m /r /help */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}

:root {
    --rv-ink: #0b1220;
    --rv-muted: #64748b;
    --rv-line: rgba(15, 23, 42, 0.08);
    --rv-card: rgba(255, 255, 255, 0.86);
    --rv-accent: #4f46e5;
    --rv-accent-2: #6366f1;
    --rv-accent-ink: #312e81;
    --rv-ok: #059669;
    --rv-danger: #dc2626;
    --rv-radius: 1.25rem;
    --rv-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --rv-btn-2: #7c3aed;
    --rv-mark-bg: rgba(79, 70, 229, 0.1);
    --rv-glow: rgba(79, 70, 229, 0.28);
    --rv-glow-soft: rgba(79, 70, 229, 0.14);
    --rv-chip-line: #c7d2fe;
    --rv-ghost-border: #c7d2fe;
    --rv-ghost-hover: #eef2ff;
    --rv-soft-bg: rgba(79, 70, 229, 0.08);
    --rv-soft-bg-hover: rgba(79, 70, 229, 0.14);
    --rv-wash-1: rgba(99, 102, 241, 0.18);
    --rv-wash-2: rgba(14, 165, 233, 0.12);
    --rv-wash-3: rgba(79, 70, 229, 0.08);
    --rv-canvas: #f8fafc;
    --rv-canvas-mid: #eef2ff;
    --rv-canvas-end: #f1f5f9;
    --rv-surface: #f8fafc;
    --rv-surface-ink: #0f172a;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.rv-body,
.lk-rv-preview.rv-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', ui-sans-serif, sans-serif;
    color: var(--rv-ink);
    background:
        radial-gradient(1200px 600px at 10% -10%, var(--rv-wash-1), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, var(--rv-wash-2), transparent 50%),
        radial-gradient(800px 400px at 50% 100%, var(--rv-wash-3), transparent 55%),
        linear-gradient(180deg, var(--rv-canvas) 0%, var(--rv-canvas-mid) 45%, var(--rv-canvas-end) 100%);
}

body.rv-body { background-attachment: fixed; }

.lk-rv-preview.rv-body { min-height: 0; background-attachment: scroll; }

.rv-wrap {
    width: min(100% - 1.5rem, 28rem);
    margin: 0 auto;
    padding: 1.75rem 0 2.5rem;
}

.rv-brand {
    margin: 0 0 1.25rem;
    text-align: center;
}

.rv-brand__mark {
    display: inline-flex;
    margin: 0 0 0.45rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: var(--rv-mark-bg);
    color: var(--rv-accent-ink);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.rv-brand__name {
    margin: 0;
    font-size: clamp(1.75rem, 6vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--rv-ink);
}

.rv-brand__sub {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
    color: var(--rv-muted);
    line-height: 1.45;
}

.rv-deck {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}
.rv-deck::-webkit-scrollbar { display: none; }
.rv-pane {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.rv-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    margin: 1rem auto 0;
    padding: 0.25rem;
    max-width: 18rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.rv-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
}
.rv-switch a.is-on {
    background: #fff;
    color: var(--rv-accent-ink);
    box-shadow: 0 4px 14px var(--rv-glow-soft);
}

.rv-access-list { display: grid; gap: 0.75rem; }
.rv-access-wrap { display: grid; gap: 0.35rem; }
.rv-access-unit {
    display: flex;
    flex-direction: column;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid transparent;
}
.rv-access-unit > .rv-access {
    border: 0;
    border-radius: 0;
}
.rv-access-unit > .rv-renew {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.rv-access-sub {
    display: block;
    padding: 0.55rem 0.95rem;
    border-radius: 0.8rem;
    background: #fff;
    border: 1px solid var(--rv-line);
    color: var(--rv-accent-ink);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}
.rv-access-sub:hover { border-color: rgba(79, 70, 229, 0.35); }
.rv-renew {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.22rem 0.22rem 0.22rem 0.6rem;
    border-radius: 0.7rem;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.rv-renew__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.rv-renew__text::before {
    content: "";
    flex: 0 0 auto;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.72);
}
.rv-renew__btn {
    flex: 0 0 auto;
    padding: 0.22rem 0.55rem;
    border-radius: 0.5rem;
    background: currentColor;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.rv-renew__btn,
.rv-renew__btn:visited { color: #fff; }
.rv-renew__hide {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 0.05rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    opacity: 0.55;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
}
.rv-renew--notice {
    color: #0369a1;
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(2, 132, 199, 0.18);
}
.rv-renew--notice .rv-renew__btn { background: #0284c7; }
.rv-access-unit--notice { border-color: rgba(2, 132, 199, 0.38); }
.rv-renew--warn {
    color: #c2410c;
    background: rgba(251, 146, 60, 0.18);
    border-color: rgba(234, 88, 12, 0.22);
}
.rv-renew--warn .rv-renew__btn { background: #ea580c; }
.rv-access-unit--warn { border-color: rgba(234, 88, 12, 0.4); }
.rv-renew--err {
    color: #be123c;
    background: rgba(244, 63, 94, 0.14);
    border-color: rgba(225, 29, 72, 0.2);
}
.rv-renew--err .rv-renew__btn { background: #e11d48; }
.rv-access-unit--err { border-color: rgba(225, 29, 72, 0.4); }
.ss-access:has(> .rv-renew) { overflow: hidden; }
.ss-access .rv-renew {
    margin: 0.45rem -1rem -0.95rem;
    padding-left: 0.75rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}
.rv-access {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 6.2rem 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    background: rgba(79, 70, 229, 0.06);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.rv-access--active {
    background: rgba(5, 150, 105, 0.09);
    border-color: rgba(5, 150, 105, 0.22);
}
.rv-access--expired {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.28);
    color: #334155;
}
.rv-access--pending {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.28);
}
.rv-access--failed {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.22);
}
.rv-access__title { font-weight: 600; font-size: 0.95rem; }
.rv-access__meta { color: inherit; opacity: 0.72; font-size: 0.8rem; }
.rv-access__go {
    position: absolute;
    right: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    opacity: 0.9;
    white-space: nowrap;
}
.rv-access__go::after { content: " →"; }

.rv-card {
    background: var(--rv-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--rv-radius);
    box-shadow: var(--rv-shadow);
    padding: 1.35rem 1.35rem 1.45rem;
    margin-bottom: 0.9rem;
}

.rv-card--flush { padding: 0; overflow: hidden; }

.rv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--rv-accent-ink);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rv-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.rv-muted {
    margin: 0.35rem 0 0;
    color: var(--rv-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.rv-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
    margin: 1rem 0 0;
    padding: 0;
}
.rv-facts > div {
    margin: 0;
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
    color: var(--rv-surface-ink);
}
.rv-facts dt {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
}
.rv-facts dd {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--rv-surface-ink);
    line-height: 1.3;
}
.rv-facts__wide {
    grid-column: 1 / -1;
}

.rv-device-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}
.rv-device-list li {
    padding: 0.75rem 0.95rem;
    border-radius: 0.9rem;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
    color: var(--rv-surface-ink);
    font-size: 0.92rem;
    font-weight: 600;
}

.rv-banner {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.rv-banner--ok {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.rv-banner--warn {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.rv-banner--err {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.rv-toast-host {
    position: fixed;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    width: min(100% - 1.5rem, 26rem);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    pointer-events: none;
}
.rv-toast {
    pointer-events: auto;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    cursor: pointer;
    animation: rv-toast-in 0.22s ease;
}
.rv-toast.is-out {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.rv-toast--err {
    background: #fff1f2;
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.28);
}
.rv-toast--warn {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.rv-toast--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.28);
}
@keyframes rv-toast-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rv-field { margin-top: 1rem; position: relative; }

.rv-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--rv-muted);
    letter-spacing: 0.02em;
}

.rv-input,
.rv-select {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--rv-line);
    border-radius: 0.9rem;
    background: #fff;
    color: var(--rv-ink);
    font: inherit;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.rv-input:focus,
.rv-select:focus {
    outline: none;
    border-color: var(--rv-accent);
    box-shadow: 0 0 0 4px var(--rv-glow-soft);
}

.rv-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234f46e5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.rv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.rv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.rv-chip {
    appearance: none;
    border: 1px solid var(--rv-line);
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
}

.rv-chip:hover { border-color: var(--rv-chip-line); color: var(--rv-accent-ink); }

.rv-chip.is-on {
    border-color: transparent;
    background: linear-gradient(135deg, var(--rv-accent), var(--rv-accent-2));
    color: #fff;
    box-shadow: 0 8px 18px var(--rv-glow);
}

.rv-price {
    margin: 1.15rem 0 0;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.rv-price__value {
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--rv-ink);
}

.rv-price__hint {
    font-size: 0.85rem;
    color: var(--rv-muted);
}

.rv-slider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}
.rv-slider-head strong {
    min-width: 1.75rem;
    text-align: right;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}
.rv-slider {
    width: 100%;
    height: 1.5rem;
    margin: 0;
    accent-color: var(--rv-accent);
    cursor: pointer;
}
.rv-slider-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 0.2rem;
    color: var(--rv-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.rv-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.1rem;
}
#trial-form { margin-top: 0.55rem; }

.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rv-accent), var(--rv-btn-2));
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 28px var(--rv-glow);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.rv-btn:hover { filter: brightness(1.05); box-shadow: 0 14px 32px var(--rv-glow); }
.rv-btn:active { transform: translateY(1px); }
.rv-btn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; filter: none; }

.rv-btn--ghost {
    background: #fff;
    color: var(--rv-accent-ink);
    border: 1px solid var(--rv-ghost-border);
    box-shadow: none;
}

.rv-btn--ghost:hover { background: var(--rv-ghost-hover); filter: none; box-shadow: none; }

.rv-btn--soft {
    background: var(--rv-soft-bg);
    color: var(--rv-accent-ink);
    box-shadow: none;
}

.rv-btn--soft:hover { background: var(--rv-soft-bg-hover); filter: none; box-shadow: none; }

.rv-link {
    color: var(--rv-accent);
    text-decoration: none;
    font-weight: 600;
}
.rv-link:hover { text-decoration: underline; }

.rv-foot {
    text-align: center;
    margin-top: 0.35rem;
    font-size: 0.88rem;
    color: var(--rv-muted);
}

.rv-announce {
    margin: 1rem 0 0;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--rv-soft-bg), var(--rv-wash-2));
    border: 1px solid var(--rv-ghost-border);
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: pre-line;
}

.rv-sub {
    margin-top: 1.1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid var(--rv-line);
}

.rv-sub code {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    word-break: break-all;
    color: #334155;
    line-height: 1.45;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rv-copied {
    display: none;
    margin: 0.45rem 0 0;
    color: var(--rv-ok);
    font-size: 0.82rem;
    font-weight: 600;
}

.rv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0.25rem;
}

.rv-tabs a {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--rv-line);
    text-decoration: none;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    background: #fff;
}

.rv-tabs a.is-on {
    border-color: transparent;
    background: linear-gradient(135deg, var(--rv-accent), var(--rv-accent-2));
    color: #fff;
}

.rv-steps {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.rv-steps li {
    position: relative;
    margin: 0 0 0.65rem;
    padding: 0.85rem 0.95rem 0.85rem 3rem;
    border-radius: 0.95rem;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
    color: var(--rv-surface-ink);
    font-size: 0.92rem;
    line-height: 1.45;
    counter-increment: step;
}

.rv-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--rv-soft-bg-hover);
    color: var(--rv-accent-ink);
    font-size: 0.75rem;
    font-weight: 700;
}

.rv-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: var(--rv-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}
.rv-back:hover { color: var(--rv-accent); }

.rv-platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0 0.25rem;
}

.rv-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--rv-line);
    background: #fff;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
}

.rv-platform.is-on {
    border-color: transparent;
    background: linear-gradient(135deg, var(--rv-accent), var(--rv-accent-2));
    color: #fff;
}

.rv-platform__emoji { font-size: 1rem; line-height: 1; }

.rv-help-platform {
    margin: 1.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.rv-trouble {
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.rv-trouble li {
    position: relative;
    margin: 0 0 0.55rem;
    padding: 0.75rem 0.95rem 0.75rem 2.6rem;
    border-radius: 0.95rem;
    background: var(--rv-surface);
    border: 1px solid var(--rv-line);
    color: var(--rv-surface-ink);
    font-size: 0.9rem;
    line-height: 1.45;
}

.rv-trouble li::before {
    content: "✓";
    position: absolute;
    left: 0.85rem;
    top: 0.75rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(5, 150, 105, 0.18);
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
}

.rv-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.7rem 0 0;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
    font-size: 0.8rem;
    font-weight: 600;
}
.rv-status--expired {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
}
.rv-status--pending {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
}
.rv-status--failed {
    background: rgba(220, 38, 38, 0.1);
    color: #991b1b;
}

.rv-status::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
}

.rv-busy {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(11, 18, 32, 0.45);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}
.rv-body.is-busy .rv-busy { display: flex; }
.rv-busy::before {
    content: "";
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 999px;
    animation: rv-spin 0.7s linear infinite;
}
@keyframes rv-spin { to { transform: rotate(360deg); } }

@media (max-width: 420px) {
    .rv-row { grid-template-columns: 1fr; }
    .rv-price__value { font-size: 2rem; }
}

.rv-body[data-theme="2"] {
    --rv-accent: #059669;
    --rv-accent-2: #10b981;
    --rv-accent-ink: #065f46;
    --rv-btn-2: #34d399;
    --rv-mark-bg: rgba(5, 150, 105, 0.12);
    --rv-glow: rgba(5, 150, 105, 0.28);
    --rv-glow-soft: rgba(5, 150, 105, 0.16);
    --rv-chip-line: #a7f3d0;
    --rv-ghost-border: #a7f3d0;
    --rv-ghost-hover: #ecfdf5;
    --rv-soft-bg: rgba(5, 150, 105, 0.1);
    --rv-soft-bg-hover: rgba(5, 150, 105, 0.16);
    --rv-wash-1: rgba(16, 185, 129, 0.22);
    --rv-wash-2: rgba(45, 212, 191, 0.16);
    --rv-wash-3: rgba(5, 150, 105, 0.1);
    --rv-canvas: #f4fbf7;
    --rv-canvas-mid: #ecfdf5;
    --rv-canvas-end: #f0fdf4;
}

.rv-body[data-theme="3"] {
    --rv-accent: #d97706;
    --rv-accent-2: #f59e0b;
    --rv-accent-ink: #92400e;
    --rv-btn-2: #fbbf24;
    --rv-mark-bg: rgba(217, 119, 6, 0.12);
    --rv-glow: rgba(217, 119, 6, 0.28);
    --rv-glow-soft: rgba(217, 119, 6, 0.16);
    --rv-chip-line: #fde68a;
    --rv-ghost-border: #fde68a;
    --rv-ghost-hover: #fffbeb;
    --rv-soft-bg: rgba(217, 119, 6, 0.1);
    --rv-soft-bg-hover: rgba(217, 119, 6, 0.16);
    --rv-wash-1: rgba(245, 158, 11, 0.22);
    --rv-wash-2: rgba(251, 191, 36, 0.14);
    --rv-wash-3: rgba(217, 119, 6, 0.1);
    --rv-canvas: #fffaf3;
    --rv-canvas-mid: #fff7ed;
    --rv-canvas-end: #fffbeb;
}

.rv-body[data-theme="4"] {
    --rv-accent: #e11d48;
    --rv-accent-2: #fb7185;
    --rv-accent-ink: #9f1239;
    --rv-btn-2: #fb7185;
    --rv-mark-bg: rgba(225, 29, 72, 0.1);
    --rv-glow: rgba(225, 29, 72, 0.26);
    --rv-glow-soft: rgba(225, 29, 72, 0.14);
    --rv-chip-line: #fecdd3;
    --rv-ghost-border: #fecdd3;
    --rv-ghost-hover: #fff1f2;
    --rv-soft-bg: rgba(225, 29, 72, 0.08);
    --rv-soft-bg-hover: rgba(225, 29, 72, 0.14);
    --rv-wash-1: rgba(244, 63, 94, 0.18);
    --rv-wash-2: rgba(251, 113, 133, 0.12);
    --rv-wash-3: rgba(225, 29, 72, 0.08);
    --rv-canvas: #fff7f8;
    --rv-canvas-mid: #fff1f2;
    --rv-canvas-end: #fff5f7;
}

.rv-body[data-theme="5"] {
    --rv-ink: #e8eefc;
    --rv-muted: #b6c2d6;
    --rv-card: rgba(22, 28, 48, 0.92);
    --rv-line: rgba(255, 255, 255, 0.12);
    --rv-accent: #9aa8ff;
    --rv-accent-2: #7c8cff;
    --rv-accent-ink: #dbe4ff;
    --rv-btn-2: #6366f1;
    --rv-mark-bg: rgba(154, 168, 255, 0.16);
    --rv-glow: rgba(99, 102, 241, 0.4);
    --rv-glow-soft: rgba(99, 102, 241, 0.22);
    --rv-chip-line: rgba(154, 168, 255, 0.45);
    --rv-ghost-border: rgba(154, 168, 255, 0.35);
    --rv-ghost-hover: rgba(255, 255, 255, 0.06);
    --rv-soft-bg: rgba(154, 168, 255, 0.14);
    --rv-soft-bg-hover: rgba(154, 168, 255, 0.22);
    --rv-wash-1: rgba(99, 102, 241, 0.38);
    --rv-wash-2: rgba(56, 189, 248, 0.16);
    --rv-wash-3: rgba(79, 70, 229, 0.22);
    --rv-canvas: #0b1020;
    --rv-canvas-mid: #12182c;
    --rv-canvas-end: #0c1224;
    --rv-surface: rgba(255, 255, 255, 0.08);
    --rv-surface-ink: #f4f7ff;
}

.rv-body[data-theme="5"] .rv-switch,
.rv-body[data-theme="5"] .rv-chip,
.rv-body[data-theme="5"] .rv-btn--ghost,
.rv-body[data-theme="5"] .rv-access-sub {
    background: rgba(255, 255, 255, 0.06);
    color: var(--rv-ink);
}

.rv-body[data-theme="5"] .rv-switch a { color: #cbd5e1; }
.rv-body[data-theme="5"] .rv-switch a.is-on {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.rv-body[data-theme="5"] .rv-chip.is-on { color: #fff; }
.rv-body[data-theme="5"] .rv-input,
.rv-body[data-theme="5"] .rv-select { background: rgba(255, 255, 255, 0.06); }
