/**
 * check-you.to — Premium & Billing page styles
 * Generated: 2026-05-25
 *
 * Uses design tokens from modern.css / cy-session.css.
 * BEM-like: .cy-premium-* and .cy-billing-*
 */

/* ─── Shared utils ─────────────────────────────────────────────────────────── */

.cy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    padding: .55em 1.3em;
    border-radius: var(--c-radius-md, 10px);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .18s, border-color .18s, color .18s, transform .1s, box-shadow .18s;
    white-space: nowrap;
}
.cy-btn:active { transform: scale(.97); }

.cy-btn--primary {
    background: var(--c-primary, #f47a6d);
    color: #fff;
    border-color: var(--c-primary, #f47a6d);
}
.cy-btn--primary:hover {
    background: var(--c-primary-hover, #e8665a);
    border-color: var(--c-primary-hover, #e8665a);
    box-shadow: 0 4px 12px var(--c-primary-ring, rgba(244,122,109,.35));
    color: #fff;
}

.cy-btn--outline {
    background: transparent;
    color: var(--c-primary, #f47a6d);
    border-color: var(--c-primary, #f47a6d);
}
.cy-btn--outline:hover {
    background: var(--c-primary-soft, rgba(244,122,109,.1));
}

/* ─── Pricing page (.cy-premium-*) ────────────────────────────────────────── */

.cy-premium-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* Hero */
.cy-premium-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
}

/* ── Animated logo ────────────────────────────────────────────────────── */
.cy-premium-hero__logo-wrap {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;            /* don't bleed glow into parents */
}
.cy-premium-hero__logo {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(254, 64, 141, .35));
    animation: cy-premium-float 4.5s ease-in-out infinite;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    will-change: transform;
}
.cy-premium-hero__logo-wrap:hover .cy-premium-hero__logo {
    transform: scale(1.08) rotate(-4deg);
    animation-play-state: paused;
}

/* Concentric pulse rings (AirDrop-style) */
.cy-premium-hero__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle,
                rgba(254, 64, 141, .38) 0%,
                rgba(254, 64, 141, .15) 45%,
                rgba(254, 64, 141, 0)   70%);
    animation: cy-premium-pulse 2.6s cubic-bezier(.4, 0, .2, 1) infinite;
    z-index: 1;
    pointer-events: none;
    transform-origin: center;
}
.cy-premium-hero__pulse--delay {
    animation-delay: 1.3s;
}

@keyframes cy-premium-float {
    0%, 100% { transform: translateY(0)    rotate(0deg); }
    33%      { transform: translateY(-5px) rotate(1.5deg); }
    66%      { transform: translateY(-3px) rotate(-1.5deg); }
}
@keyframes cy-premium-pulse {
    0%   { transform: scale(0.85); opacity: .85; }
    80%  { opacity: .05; }
    100% { transform: scale(2);    opacity: 0; }
}

/* Accessibility: kill motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .cy-premium-hero__logo  { animation: none; }
    .cy-premium-hero__pulse { animation: none; opacity: 0; }
}

.cy-premium-hero__badge {
    display: inline-block;
    background: linear-gradient(135deg, #f47a6d 0%, #e8665a 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3em .9em;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.cy-premium-hero__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    margin: 0 0 .5rem;
    line-height: 1.2;
}
.cy-premium-hero__sub {
    font-size: 1.05rem;
    color: var(--c-text-muted, #6b7280);
    margin: 0;
}

/* Notice */
.cy-premium-notice {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.25rem;
    border-radius: var(--c-radius-md, 10px);
    margin-bottom: 2rem;
    font-size: .95rem;
}
.cy-premium-notice--active {
    background: var(--c-primary-soft, rgba(244,122,109,.1));
    border: 1px solid var(--c-primary, #f47a6d);
    color: var(--c-text, #1a1d21);
}
.cy-premium-notice a { color: var(--c-primary, #f47a6d); }

/* Section title */
.cy-premium-section__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    margin: 0 0 1.25rem;
}

/* Benefits */
.cy-premium-benefits {
    margin-bottom: 2.5rem;
}
.cy-premium-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.cy-premium-benefit {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.1rem;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-md, 10px);
}
.cy-premium-benefit__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: .05rem;
}
.cy-premium-benefit__title {
    font-weight: 600;
    font-size: .9rem;
    color: var(--c-text, #1a1d21);
    margin-bottom: .2rem;
}
.cy-premium-benefit__desc {
    font-size: .82rem;
    color: var(--c-text-muted, #6b7280);
    line-height: 1.4;
}

/* ── Видео-превью premium-контента (буст конверсии, после hero) ─────────── */
/* Видео 1280×720 (16:9). На ПК — крупное, в премиум-оправе с градиентным
   кольцом и коралловым свечением. Размер тянется до ширины контент-колонки. */
.cy-premium-preview {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.cy-premium-preview__caption {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    margin-bottom: 1rem;
    line-height: 1.35;
}
/* Оправа = градиентное кольцо (коралл → шампань) + всестороннее свечение */
.cy-premium-preview__frame {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;                   /* видео клипается под скругление */
    background: #000;
    /* спокойная нейтральная тень-глубина, без цветного свечения */
    box-shadow: 0 14px 34px rgba(0, 0, 0, .20), 0 2px 6px rgba(0, 0, 0, .12);
    line-height: 0;
    transition: transform .22s ease, box-shadow .22s ease;
}
.cy-premium-preview__frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .24), 0 3px 8px rgba(0, 0, 0, .14);
}
.cy-premium-preview__video {
    display: block;
    width: 100%;
    height: auto;                       /* 16:9 → высота сама */
    border-radius: 16px;
    background: #000;
}
.cy-premium-preview__badge {
    position: absolute;
    top: .8rem;
    left: .8rem;
    z-index: 2;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(20, 18, 22, .68);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: .34em .8em;
    border-radius: 999px;
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
@media (max-width: 600px) {
    .cy-premium-preview { margin-bottom: 1.75rem; }
    .cy-premium-preview__caption { font-size: .95rem; }
    .cy-premium-preview__frame { border-radius: 14px; }
    .cy-premium-preview__video { border-radius: 14px; }
}

/* Plans grid */
.cy-premium-plans {
    margin-bottom: 2.5rem;
}
.cy-premium-plans__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.cy-premium-plan {
    position: relative;
    display: flex;                 /* card = flex column so CTA can stick to bottom */
    flex-direction: column;
    background: var(--c-surface, #fff);
    border: 2px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-lg, 14px);
    padding: 1.4rem 1.1rem 1.1rem;
    text-align: center;
    transition: border-color .18s, box-shadow .18s;
    min-height: 100%;              /* fill grid row height (old-Chrome safe) */
}
.cy-premium-plan:hover {
    border-color: var(--c-primary, #f47a6d);
    box-shadow: 0 4px 18px var(--c-primary-ring, rgba(244,122,109,.2));
}
.cy-premium-plan--popular {
    border-color: var(--c-primary, #f47a6d);
    box-shadow: 0 4px 18px var(--c-primary-ring, rgba(244,122,109,.2));
}
.cy-premium-plan__badge-popular {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-primary, #f47a6d);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .2em .8em;
    border-radius: 0 0 8px 8px;
}
.cy-premium-plan__period {
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-text-muted, #6b7280);
    margin-bottom: .5rem;
}
.cy-premium-plan__price {
    margin-bottom: .3rem;   /* вплотную к строке валюты ниже */
    line-height: 1;
}
.cy-premium-plan__rub {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
}
.cy-premium-plan__currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text-muted, #6b7280);
}
/* Цена в валюте (≈ $/€ по курсу ЦБ) — там, где раньше была цена за день */
.cy-premium-plan__fx {
    margin-top: .25rem;       /* сразу под ценой в рублях */
    margin-bottom: .6rem;     /* воздух до плашек преимуществ */
    font-size: .82rem;
    font-weight: 600;
    color: var(--c-text-soft, #9aa0a6);
    letter-spacing: .01em;
}
/* Per-plan perks: full-width centered badges (no overflow, always centered) */
.cy-premium-plan__perks {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: 100%;
    margin: 0 0 .4rem;        /* минимум воздуха снизу — карточка не растягивается зря */
}
.cy-premium-plan__perk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 100%;
    box-sizing: border-box;
    padding: .42rem .55rem;
    border-radius: 9px;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: normal;      /* перенос вместо вылезания за рамки */
    text-align: center;
    word-break: break-word;
}
.cy-premium-plan__perk svg { flex-shrink: 0; }
.cy-premium-plan__perk--face {
    background: rgba(255, 42, 95, .10);
    color: var(--pr-btn-neon, #ff2a5f);
}
.cy-premium-plan__perk--access {
    background: rgba(22, 163, 74, .10);
    color: #15a05a;
}
html[data-theme="dark"] .cy-premium-plan__perk--face   { background: rgba(255, 42, 95, .16); }
html[data-theme="dark"] .cy-premium-plan__perk--access { background: rgba(22, 163, 74, .18); color: #3ddc84; }
.cy-premium-plan__per-day {
    font-size: .78rem;
    color: var(--c-text-soft, #9aa0a6);
    margin-bottom: 1rem;
}
.cy-premium-plan__cta,
.cy-premium-plan__cta-soon {
    width: 100%;
    margin-top: auto;              /* pin CTA to bottom of flex column */
}
.cy-premium-plan__form {
    margin: 0;
    margin-top: auto;              /* same: form (with button) sticks to bottom */
    width: 100%;
}

/* ── Selectable plan card (radio-card pattern) ─────────────────────────── */
.cy-premium-plan--selectable {
    cursor: pointer;
    user-select: none;
}
.cy-premium-plan--selectable > input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
    pointer-events: none;
    margin: 0;
}
.cy-premium-plan--selectable:has(input:checked) {
    border-color: var(--c-primary, #f47a6d);
    box-shadow: 0 0 0 3px var(--c-primary-ring, rgba(244,122,109,.25)),
                0 8px 22px rgba(244,122,109,.18);
    transform: translateY(-1px);
}
.cy-premium-plan__check {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 1.5rem; height: 1.5rem;
    border-radius: 50%;
    background: var(--c-primary, #f47a6d);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .15s, transform .15s;
    pointer-events: none;
}
.cy-premium-plan--selectable:has(input:checked) .cy-premium-plan__check {
    opacity: 1;
    transform: scale(1);
}

/* ── Buy form (unified) ────────────────────────────────────────────────── */
.cy-premium-buy { display: block; margin: 0; }
.cy-premium-buy__btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 1rem;
    border-radius: var(--c-radius-md, 10px);
}

/* ── Shared gateway selector (single block, 2-column grid on desktop) ──── */
.cy-premium-gateways--shared {
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.2rem;
    background: var(--c-surface-2, #fafbfc);
    border: 1px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-lg, 14px);
}
.cy-premium-gateways--shared .cy-premium-gateways__title {
    margin-bottom: .65rem;
}
.cy-premium-gateways__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .55rem;
}
[data-theme="dark"] .cy-premium-gateways--shared {
    background: var(--c-surface-2, #20232c);
    border-color: var(--c-border, #2a2e38);
}

.cy-premium-plan__cta-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    border-radius: var(--c-radius-md, 10px);
    background: var(--c-surface-2, #fafbfc);
    border: 1px solid var(--c-border, #e6e8ec);
    color: var(--c-text-muted, #6b7280);
    font-size: .85rem;
}

.cy-premium-plans__note {
    font-size: .85rem;
    color: var(--c-text-muted, #6b7280);
    background: var(--c-surface-2, #fafbfc);
    border: 1px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-md, 10px);
    padding: .9rem 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Error */
.cy-premium-error {
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-lg, 14px);
    padding: 2rem;
    text-align: center;
    max-width: 480px;
    margin: 2rem auto;
}
.cy-premium-error h2 {
    color: var(--c-danger, #e0452a);
    margin-bottom: .75rem;
}

/* FAQ */
.cy-premium-faq { margin-bottom: 2rem; }
.cy-premium-faq__list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.cy-premium-faq__item {
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-md, 10px);
    padding: 0;
    overflow: hidden;
}
.cy-premium-faq__item summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--c-text, #1a1d21);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.cy-premium-faq__item summary::-webkit-details-marker { display: none; }
.cy-premium-faq__item summary::after {
    content: "＋";
    font-size: .9rem;
    color: var(--c-text-muted, #6b7280);
    transition: transform .2s;
}
.cy-premium-faq__item[open] summary::after {
    content: "－";
}
.cy-premium-faq__item p {
    margin: 0;
    padding: 0 1.25rem 1rem;
    font-size: .88rem;
    color: var(--c-text-muted, #6b7280);
    line-height: 1.6;
}

/* ─── Billing page (.cy-billing-*) ────────────────────────────────────────── */

.cy-billing-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.cy-billing__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    margin: 0 0 1.5rem;
}

/* Status card */
.cy-billing-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--c-radius-lg, 14px);
    border: 2px solid var(--c-border, #e6e8ec);
    background: var(--c-surface, #fff);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.cy-billing-status--active {
    border-color: var(--c-primary, #f47a6d);
    background: var(--c-primary-soft, rgba(244,122,109,.06));
}
.cy-billing-status__icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.cy-billing-status__body {
    flex: 1;
    min-width: 0;
}
.cy-billing-status__label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    margin-bottom: .2rem;
}
.cy-billing-status__sub {
    font-size: .88rem;
    color: var(--c-text-muted, #6b7280);
}
.cy-billing-status__days {
    font-size: .82rem;
    color: var(--c-text-soft, #9aa0a6);
    margin-left: .35rem;
}
.cy-billing-status__actions {
    flex-shrink: 0;
}

/* Payment redirect notice (success/fail from gateway) */
.cy-billing-notice {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--c-radius-lg, 14px);
    border: 1.5px solid;
    margin-bottom: 1.5rem;
    font-size: .92rem;
    line-height: 1.5;
}
.cy-billing-notice--success {
    border-color: #3daa6e;
    background: rgba(61,170,110,.07);
    color: var(--c-text, #1a1d21);
}
.cy-billing-notice--fail {
    border-color: #e05555;
    background: rgba(224,85,85,.07);
    color: var(--c-text, #1a1d21);
}
.cy-billing-notice__icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1.3;
}

/* Section title */
.cy-billing-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    margin: 0 0 1rem;
}

/* Quick buy */
.cy-billing-buy { margin-bottom: 2rem; }
.cy-billing-plans {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.cy-billing-plan { margin: 0; }
.cy-billing-plan__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .65rem 1.25rem;
    background: var(--c-surface, #fff);
    border: 2px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-md, 10px);
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s;
}
.cy-billing-plan__btn:hover {
    border-color: var(--c-primary, #f47a6d);
    box-shadow: 0 2px 10px var(--c-primary-ring, rgba(244,122,109,.2));
}
.cy-billing-plan__btn--popular {
    border-color: var(--c-primary, #f47a6d);
}
.cy-billing-plan__period {
    font-size: .78rem;
    color: var(--c-text-muted, #6b7280);
    font-weight: 600;
}
.cy-billing-plan__price {
    font-size: .95rem;
    font-weight: 700;
    color: var(--c-text, #1a1d21);
}

/* History */
.cy-billing-history { margin-bottom: 3rem; }
.cy-billing-history__empty {
    color: var(--c-text-muted, #6b7280);
    font-size: .9rem;
}
.cy-billing-table-wrap {
    overflow-x: auto;
    border-radius: var(--c-radius-md, 10px);
    border: 1px solid var(--c-border, #e6e8ec);
}
.cy-billing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}
.cy-billing-table th,
.cy-billing-table td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--c-border, #e6e8ec);
}
.cy-billing-table th {
    background: var(--c-surface-2, #fafbfc);
    font-weight: 600;
    color: var(--c-text-muted, #6b7280);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.cy-billing-table tr:last-child td { border-bottom: none; }
.cy-billing-table tbody tr:hover { background: var(--c-surface-2, #fafbfc); }

/* Status badges */
.cy-status {
    display: inline-block;
    padding: .2em .65em;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
}
.cy-status--ok {
    background: rgba(61, 191, 160, .15);
    color: #1a8a6e;
}
.cy-status--warn {
    background: rgba(232, 160, 32, .15);
    color: #a06010;
}
.cy-status--err {
    background: rgba(224, 69, 42, .15);
    color: #b02810;
}

/* ─── Dark theme overrides ─────────────────────────────────────────────────── */

[data-theme="dark"] .cy-premium-benefit,
[data-theme="dark"] .cy-premium-plan,
[data-theme="dark"] .cy-premium-faq__item,
[data-theme="dark"] .cy-premium-plans__note,
[data-theme="dark"] .cy-billing-status,
[data-theme="dark"] .cy-billing-plan__btn {
    background: var(--c-surface, #1a1d24);
    border-color: var(--c-border, #2a2e38);
}

/* ═══════════════════════════════════════════════════════════════════════
   LIGHT THEME — Premium polish (refined glass, soft shadows)
   Mirror of the dark-theme block tuned for white backgrounds.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Page-level ambient (soft warm tints in corners) ────────────────── */
.cy-premium-wrap {
    position: relative;
    isolation: isolate;
}
.cy-premium-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 92% 35%, rgba(91, 108, 255, .025) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 8% 75%,  rgba(244, 122, 109, .02)  0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

/* ── 2. Hero — NO backlight on light theme (pink wash on white = ugly) ──
   The pulse rings around the logo already provide localized pink accent. */

/* ── 3. Glass cards — soft gradient + subtle border ────────────────────── */
.cy-premium-plan,
.cy-premium-benefit,
.cy-billing-status,
.cy-premium-faq__item,
.cy-premium-plans__note {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 1px 2px rgba(15, 23, 42, .04),
        0 4px 14px rgba(15, 23, 42, .05);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cy-premium-plan:hover,
.cy-premium-benefit:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 23, 42, .14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 2px 4px rgba(15, 23, 42, .05),
        0 12px 28px rgba(15, 23, 42, .08);
}

/* ── 4. Popular plan — refined coral border + ambient glow ─────────────── */
.cy-premium-plan--popular {
    border: 1px solid rgba(244, 122, 109, .4);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 1px 2px rgba(244, 122, 109, .08),
        0 10px 28px rgba(244, 122, 109, .18),
        0 4px 14px rgba(15, 23, 42, .04);
}
.cy-premium-plan--popular:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 122, 109, .6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 14px 36px rgba(244, 122, 109, .24),
        0 4px 14px rgba(15, 23, 42, .06);
}

/* ── 5. Selected radio plan — accented border + interior tint ──────────── */
.cy-premium-plan--selectable:has(input:checked) {
    border: 1.5px solid rgba(244, 122, 109, .65);
    background:
        linear-gradient(180deg, rgba(244, 122, 109, .045) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 1px 2px rgba(244, 122, 109, .12),
        0 12px 32px rgba(244, 122, 109, .2);
    transform: translateY(-1px);
}

/* ── 6. Buy button — Stripe-style multi-layer material ─────────────────── */
.cy-premium-buy__btn {
    background: linear-gradient(180deg, #f88a7d 0%, #ec6f62 50%, #e15a4d 100%);
    border: 0;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .15),
        0 1px 2px rgba(244, 90, 77, .25),
        0 6px 18px rgba(254, 64, 141, .22),
        0 14px 30px rgba(244, 122, 109, .15);
    transition: transform .15s ease, box-shadow .25s ease, filter .2s;
}
.cy-premium-buy__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -1px 0 rgba(0, 0, 0, .15),
        0 1px 2px rgba(244, 90, 77, .25),
        0 10px 26px rgba(254, 64, 141, .32),
        0 18px 40px rgba(244, 122, 109, .2);
}
.cy-premium-buy__btn:active {
    transform: translateY(0);
    filter: brightness(.97);
}

/* ── 7. Gateway picker — refined glass on white ────────────────────────── */
.cy-premium-gateway,
.cy-billing-gateway {
    background: #ffffff;
    border-color: rgba(15, 23, 42, .1);
}
.cy-premium-gateway:hover,
.cy-billing-gateway:hover {
    background: #fbfcfe;
    border-color: rgba(15, 23, 42, .18);
}
.cy-premium-gateway:has(input:checked),
.cy-billing-gateway:has(input:checked) {
    border: 1.5px solid rgba(91, 108, 255, .6);
    background: linear-gradient(180deg, rgba(91, 108, 255, .055) 0%, #ffffff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 4px 16px rgba(91, 108, 255, .15);
}


/* ── 8. Shared gateway container — soft elevated panel ─────────────────── */
.cy-premium-gateways--shared {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 1px 2px rgba(15, 23, 42, .03);
}

/* ── 9. Status card — accented border for active ───────────────────────── */
.cy-billing-status--active {
    border: 1.5px solid rgba(244, 122, 109, .55);
    background: linear-gradient(135deg, rgba(244, 122, 109, .05) 0%, #ffffff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 1px 2px rgba(244, 122, 109, .08),
        0 8px 24px rgba(244, 122, 109, .12);
}

/* ── 10. Notice cards — refined glass tint ─────────────────────────────── */
.cy-billing-notice {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .8),
        0 1px 2px rgba(15, 23, 42, .04),
        0 4px 14px rgba(15, 23, 42, .06);
}
.cy-billing-notice--success {
    background: linear-gradient(135deg, rgba(61, 170, 110, .08) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(61, 170, 110, .35);
}
.cy-billing-notice--fail {
    background: linear-gradient(135deg, rgba(224, 69, 42, .08) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(224, 69, 42, .35);
}

/* ── 11. FAQ — subtle border accent on open ────────────────────────────── */
.cy-premium-faq__item[open] {
    border-color: rgba(244, 122, 109, .35);
}
.cy-premium-faq__item[open] summary {
    color: var(--c-primary, #f47a6d);
}

/* ── 12. History table — refined ───────────────────────────────────────── */
.cy-billing-table th {
    background: #fafbfc;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.cy-billing-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, .015);
}
.cy-billing-table tbody tr:hover {
    background: rgba(244, 122, 109, .03);
}

/* ── 13. Status pills — chip-style with border ─────────────────────────── */
.cy-status--ok {
    background: rgba(61, 170, 110, .1);
    border: 1px solid rgba(61, 170, 110, .3);
    color: #2d9658;
}
.cy-status--warn {
    background: rgba(232, 160, 32, .1);
    border: 1px solid rgba(232, 160, 32, .3);
    color: #b87800;
}
.cy-status--err {
    background: rgba(224, 69, 42, .1);
    border: 1px solid rgba(224, 69, 42, .3);
    color: #c43a18;
}

/* ═══════════════════════════════════════════════════════════════════════
   DARK THEME — Premium polish (depth, glow, gradients)
   Light theme handled above.
   ═══════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────────────
   Design language: glass surfaces, multi-stop gradient borders, ambient
   page-level light, multi-layer material shadows. No flat shapes, no
   competing animations. Inspiration: Linear / Stripe / Apple.
   ──────────────────────────────────────────────────────────────────────── */

/* ── 1. Page-level ambient backlight (subtle, multi-source) ─────────────── */
[data-theme="dark"] .cy-premium-wrap {
    position: relative;
    isolation: isolate;
}
[data-theme="dark"] .cy-premium-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%,   rgba(254, 64, 141, .055) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 92% 40%,  rgba(91, 108, 255, .035) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 8% 75%,   rgba(244, 122, 109, .03)  0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

/* ── 2. Hero — wide, soft, dispersed backlight ──────────────────────────── */
[data-theme="dark"] .cy-premium-hero {
    position: relative;
    isolation: isolate;
}
[data-theme="dark"] .cy-premium-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: 720px;
    height: 720px;
    transform: translateX(-50%);
    background: radial-gradient(circle,
                rgba(254, 64, 141, .14) 0%,
                rgba(244, 122, 109, .07) 28%,
                rgba(254, 64, 141, 0)    60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

/* ── 3. Universal "glass card" — plan, benefit, status, FAQ ─────────────── */
[data-theme="dark"] .cy-premium-plan,
[data-theme="dark"] .cy-premium-benefit,
[data-theme="dark"] .cy-billing-status,
[data-theme="dark"] .cy-premium-faq__item,
[data-theme="dark"] .cy-premium-plans__note {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .048) 0%, rgba(255, 255, 255, .012) 100%),
        rgba(22, 25, 32, .85);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07),
        0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
[data-theme="dark"] .cy-premium-plan:hover,
[data-theme="dark"] .cy-premium-benefit:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 12px 28px rgba(0, 0, 0, .35);
}

/* ── 4. Popular plan — subtle coral border + ambient glow underneath ────── */
[data-theme="dark"] .cy-premium-plan--popular {
    border: 1px solid rgba(244, 122, 109, .32);
    /* keeps the universal glass-card interior — no tinting */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 10px 32px rgba(244, 122, 109, .14),
        0 4px 14px rgba(0, 0, 0, .25);
    animation: none;
}
[data-theme="dark"] .cy-premium-plan--popular:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 122, 109, .5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 14px 38px rgba(244, 122, 109, .22),
        0 4px 14px rgba(0, 0, 0, .3);
}
@media (prefers-reduced-motion: reduce) {
    [data-theme="dark"] .cy-premium-plan--popular { animation: none; }
}

/* ── 5. Selected radio plan — accented border + barely-there interior tint ── */
[data-theme="dark"] .cy-premium-plan--selectable:has(input:checked) {
    border: 1.5px solid rgba(244, 122, 109, .55);
    background:
        linear-gradient(180deg, rgba(244, 122, 109, .06) 0%, rgba(254, 64, 141, .015) 100%),
        rgba(22, 25, 32, .92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 12px 32px rgba(244, 122, 109, .2),
        0 4px 12px rgba(0, 0, 0, .25);
    transform: translateY(-1px);
}

/* ── 6. Buy button — multi-layer material shadow ────────────────────────── */
[data-theme="dark"] .cy-premium-buy__btn {
    background: linear-gradient(180deg, #f88a7d 0%, #ec6f62 50%, #e15a4d 100%);
    border: 0;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -1px 0 rgba(0, 0, 0, .18),
        0 1px 2px rgba(0, 0, 0, .25),
        0 6px 18px rgba(254, 64, 141, .28),
        0 14px 30px rgba(244, 122, 109, .18);
    transition: transform .15s ease, box-shadow .25s ease, filter .2s;
}
[data-theme="dark"] .cy-premium-buy__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -1px 0 rgba(0, 0, 0, .18),
        0 1px 2px rgba(0, 0, 0, .25),
        0 10px 26px rgba(254, 64, 141, .4),
        0 18px 40px rgba(244, 122, 109, .22);
}
[data-theme="dark"] .cy-premium-buy__btn:active {
    transform: translateY(0);
    filter: brightness(.98);
}

/* ── 7. Gateway picker — refined glass selection ────────────────────────── */
[data-theme="dark"] .cy-premium-gateway,
[data-theme="dark"] .cy-billing-gateway {
    background: rgba(255, 255, 255, .025);
    border-color: rgba(255, 255, 255, .07);
}
[data-theme="dark"] .cy-premium-gateway:hover,
[data-theme="dark"] .cy-billing-gateway:hover {
    background: rgba(255, 255, 255, .045);
    border-color: rgba(255, 255, 255, .13);
}
[data-theme="dark"] .cy-premium-gateway:has(input:checked),
[data-theme="dark"] .cy-billing-gateway:has(input:checked) {
    border: 1.5px solid rgba(91, 108, 255, .55);
    background:
        linear-gradient(180deg, rgba(91, 108, 255, .08) 0%, rgba(91, 108, 255, .02) 100%),
        rgba(22, 25, 32, .92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 4px 16px rgba(91, 108, 255, .2);
}

/* ── 8. Shared gateway container — softer elevated surface ──────────────── */
[data-theme="dark"] .cy-premium-gateways--shared {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .025) 0%, rgba(0, 0, 0, .12) 100%),
        rgba(15, 18, 24, .65);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .04),
        0 2px 8px rgba(0, 0, 0, .15);
}

/* ── 9. Status card — accented border for active, glass for inactive ────── */
[data-theme="dark"] .cy-billing-status--active {
    border: 1.5px solid rgba(244, 122, 109, .5);
    background:
        linear-gradient(135deg, rgba(244, 122, 109, .1) 0%, rgba(254, 64, 141, .025) 100%),
        rgba(22, 25, 32, .92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .1),
        0 8px 24px rgba(244, 122, 109, .14),
        0 2px 8px rgba(0, 0, 0, .2);
}
/* (inactive falls back to the universal glass card from rule #3) */

/* ── 10. Notice cards — glass tint with optional backdrop-filter ────────── */
[data-theme="dark"] .cy-billing-notice {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .06),
        0 4px 14px rgba(0, 0, 0, .2);
}
[data-theme="dark"] .cy-billing-notice--success {
    background:
        linear-gradient(135deg, rgba(61, 191, 160, .16), rgba(61, 191, 160, .04));
    border: 1px solid rgba(61, 191, 160, .35);
    color: #eaebef;
}
[data-theme="dark"] .cy-billing-notice--fail {
    background:
        linear-gradient(135deg, rgba(224, 69, 42, .16), rgba(224, 69, 42, .04));
    border: 1px solid rgba(224, 69, 42, .35);
    color: #eaebef;
}

/* ── 11. FAQ — keep glass card, only subtle border accent on open ───────── */
[data-theme="dark"] .cy-premium-faq__item[open] {
    border-color: rgba(244, 122, 109, .28);
}
[data-theme="dark"] .cy-premium-faq__item summary {
    color: rgba(255, 255, 255, .92);
}
[data-theme="dark"] .cy-premium-faq__item[open] summary {
    color: var(--c-primary, #f47a6d);
}

/* ── 12. History table — refined contrast ───────────────────────────────── */
[data-theme="dark"] .cy-billing-table th {
    background: rgba(255, 255, 255, .035);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
[data-theme="dark"] .cy-billing-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, .015);
}
[data-theme="dark"] .cy-billing-table tbody tr:hover {
    background: rgba(255, 255, 255, .04);
}

/* ── 13. Status pills — chip-style with subtle border ───────────────────── */
[data-theme="dark"] .cy-status--ok {
    background: rgba(61, 191, 160, .14);
    border: 1px solid rgba(61, 191, 160, .28);
    color: #4cd0b0;
}
[data-theme="dark"] .cy-status--warn {
    background: rgba(232, 160, 32, .14);
    border: 1px solid rgba(232, 160, 32, .28);
    color: #f2b340;
}
[data-theme="dark"] .cy-status--err {
    background: rgba(224, 69, 42, .14);
    border: 1px solid rgba(224, 69, 42, .28);
    color: #f0664a;
}

/* ─── Gateway picker (radio cards in plan & billing) ──────────────────────── */

.cy-premium-gateways,
.cy-billing-gateways {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin: .75rem 0 1rem;
}
.cy-premium-gateways__title,
.cy-billing-gateways__title {
    font-size: .8rem;
    font-weight: 600;
    color: var(--c-text-muted, #6b7280);
    margin-bottom: .15rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.cy-premium-gateway,
.cy-billing-gateway {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .65rem .8rem;
    border: 1px solid var(--c-border, #e6e8ec);
    border-radius: var(--c-radius-md, 10px);
    background: var(--c-surface, #fff);
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.cy-premium-gateway:hover,
.cy-billing-gateway:hover {
    border-color: var(--c-accent, #5b6cff);
    background: var(--c-surface-2, #fafbfc);
}
.cy-premium-gateway input[type="radio"],
.cy-billing-gateway input[type="radio"] {
    margin-top: .2rem;
    accent-color: var(--c-accent, #5b6cff);
}
.cy-premium-gateway:has(input:checked),
.cy-billing-gateway:has(input:checked) {
    border-color: var(--c-accent, #5b6cff);
    background: rgba(91, 108, 255, .06);
    box-shadow: 0 0 0 2px rgba(91, 108, 255, .12);
}
.cy-premium-gateway__body,
.cy-billing-gateway__body {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    flex: 1;
    min-width: 0;
}
.cy-premium-gateway__label,
.cy-billing-gateway__label {
    font-weight: 700;
    color: var(--c-text, #1a1d21);
    font-size: 1.02rem;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.cy-premium-gateway__badge,
.cy-billing-gateway__badge {
    display: inline-block;
    font-size: .62rem;
    font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: var(--c-accent, #5b6cff);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
    vertical-align: middle;
    white-space: nowrap;
}
.cy-premium-gateway__desc,
.cy-billing-gateway__desc {
    font-size: .78rem;
    color: var(--c-text-muted, #6b7280);
    line-height: 1.35;
    margin-top: .2rem;
    font-weight: 400;
}
/* Dark-mode explicit text colors (override fallback hex if --c-text not defined) */
[data-theme="dark"] .cy-premium-gateway__label,
[data-theme="dark"] .cy-billing-gateway__label { color: #eaebef; }
[data-theme="dark"] .cy-premium-gateway__desc,
[data-theme="dark"] .cy-billing-gateway__desc { color: #9aa0a6; }

[data-theme="dark"] .cy-premium-gateway,
[data-theme="dark"] .cy-billing-gateway {
    background: var(--c-surface, #1a1d24);
    border-color: var(--c-border, #2a2e38);
}
[data-theme="dark"] .cy-premium-gateway:hover,
[data-theme="dark"] .cy-billing-gateway:hover {
    background: var(--c-surface-2, #20232c);
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .cy-premium-hero__title { font-size: 1.5rem; }
    /* 2 колонки тарифов: minmax(0,1fr) + min-width:0 — иначе grid-blowout
       (мин-контент карточки ~188px распирал трек → правую колонку срезало).
       Контент карточки ужимаем, чтобы спокойно влезал в узкий трек. */
    .cy-premium-plans__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cy-premium-plan { min-width: 0; }
    .cy-premium-plan__rub { font-size: 1.55rem; }
    .cy-premium-plan__fx { font-size: .72rem; margin-top: .2rem; margin-bottom: .9rem; }
    .cy-premium-plan__cta,
    .cy-premium-plan__cta-soon { padding-left: .5em; padding-right: .5em; font-size: .85rem; }
    .cy-premium-plan__badge-popular {
        font-size: .56rem;
        letter-spacing: .03em;
        padding: .2em .5em;
        max-width: calc(100% - 6px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .cy-billing-status { flex-direction: column; align-items: center; text-align: center; }
    .cy-billing-status__icon { font-size: 2.4rem; }
    .cy-billing-status__actions { width: 100%; }
    .cy-billing-status__actions .cy-btn { width: 100%; }
    .cy-billing-plans { flex-direction: column; }
    .cy-billing-plan__btn { flex-direction: row; justify-content: space-between; width: 100%; }
}

@media (max-width: 380px) {
    .cy-premium-plans__grid { grid-template-columns: 1fr; }
}

/* ─── Алерт «нагрузка на платёжки» (2026-06-01) ──────────────────────────── */
.cy-payment-alert {
    margin: 20px 0 24px;
    padding: 18px 22px;
    background: linear-gradient(135deg,
        light-dark(#fff8e1, rgba(255, 183, 77, 0.08)) 0%,
        light-dark(#ffecb3, rgba(255, 152, 0, 0.05)) 100%);
    border: 1.5px solid light-dark(#ffb74d, rgba(255, 183, 77, 0.28));
    border-radius: 14px;
    box-shadow: light-dark(0 4px 12px rgba(255, 152, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.35));
    color: light-dark(#4e342e, #e8c99a);
}
.cy-payment-alert__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.cy-payment-alert__icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(255, 152, 0, 0.3));
}
.cy-payment-alert__title {
    font-size: 17px;
    font-weight: 700;
    color: light-dark(#bf360c, #ffb74d);
    letter-spacing: -0.01em;
}
.cy-payment-alert__body {
    font-size: 14.5px;
    line-height: 1.55;
}
.cy-payment-alert__body p { margin: 0 0 12px; }
.cy-payment-alert__body strong { color: light-dark(#3e2723, #ffe0b2); font-weight: 700; }
.cy-payment-alert__tip {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    background: linear-gradient(135deg,
        light-dark(#e8f5e9, rgba(46, 125, 50, 0.14)) 0%,
        light-dark(#c8e6c9, rgba(76, 175, 80, 0.08)) 100%);
    border-left: 4px solid light-dark(#2e7d32, rgba(76, 175, 80, 0.45));
    border-radius: 8px;
    margin-top: 4px;
    color: light-dark(#1b5e20, #a5d6a7);
    font-size: 14px;
    line-height: 1.5;
}
.cy-payment-alert__tip-icon { font-size: 22px; line-height: 1.2; flex-shrink: 0; }
.cy-payment-alert__tip strong { color: light-dark(#1b5e20, #c8e6c9); }

@media (max-width: 600px) {
    .cy-payment-alert { padding: 14px 16px; margin: 16px 0 20px; }
    .cy-payment-alert__title { font-size: 15px; }
    .cy-payment-alert__body { font-size: 13.5px; }
    .cy-payment-alert__tip { padding: 10px 12px; font-size: 13px; gap: 8px; }
    .cy-payment-alert__icon { font-size: 24px; }
    .cy-payment-alert__tip-icon { font-size: 18px; }
}

/* ── "Оплатили, но Premium не выдался?" — claim-access CTA (красный) ──────── */
.cy-claim-access {
    position: relative;
    overflow: hidden;
    margin: 20px 0 24px;
    padding: 20px 22px 20px 26px;
    background: linear-gradient(135deg,
        light-dark(#ffebee, rgba(244, 67, 54, 0.13)) 0%,
        light-dark(#ffcdd2, rgba(211, 47, 47, 0.07)) 100%);
    border: 2px solid light-dark(#ef5350, rgba(244, 67, 54, 0.48));
    border-radius: 14px;
    box-shadow: light-dark(0 6px 18px rgba(244, 67, 54, 0.18), 0 6px 22px rgba(0, 0, 0, 0.42));
    color: light-dark(#4e1c1c, #f1c6c6);
}
.cy-claim-access::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 5px;
    background: linear-gradient(180deg, #ff5252, #c62828);
}
.cy-claim-access__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.cy-claim-access__icon {
    font-size: 30px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(244, 67, 54, 0.4));
}
.cy-claim-access__title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: light-dark(#c62828, #ff8a80);
}
.cy-claim-access__body { font-size: 14.5px; line-height: 1.55; }
.cy-claim-access__body p { margin: 0 0 14px; }
.cy-claim-access__body strong { color: light-dark(#7f1d1d, #ffd2cc); font-weight: 700; }
.cy-claim-access__checklist {
    padding: 12px 14px 12px 16px;
    margin-bottom: 16px;
    background: light-dark(rgba(255, 255, 255, 0.55), rgba(0, 0, 0, 0.22));
    border-left: 4px solid light-dark(#ef5350, rgba(244, 67, 54, 0.5));
    border-radius: 8px;
}
.cy-claim-access__checklist-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: light-dark(#b71c1c, #ffab91);
}
.cy-claim-access__checklist ul { margin: 0; padding: 0; list-style: none; }
.cy-claim-access__checklist li { margin: 6px 0; }
.cy-claim-access__login {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    background: light-dark(rgba(198, 40, 40, 0.12), rgba(255, 138, 128, 0.16));
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-weight: 700;
    color: light-dark(#b71c1c, #ffab91);
}
.cy-claim-access__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 22px;
    border-radius: 11px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.42);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.cy-claim-access__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.55);
    filter: brightness(1.06);
}
.cy-claim-access__btn:active { transform: translateY(0); }
.cy-claim-access__btn svg { flex-shrink: 0; }
.cy-claim-access__dismiss {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 7px 8px;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 13px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    color: light-dark(rgba(120, 40, 40, 0.72), rgba(241, 198, 198, 0.6));
    transition: color 0.15s ease;
}
.cy-claim-access__dismiss:hover { color: light-dark(#7f1d1d, #ffd2cc); }

@media (max-width: 600px) {
    .cy-claim-access { padding: 16px 16px 16px 18px; margin: 16px 0 20px; }
    .cy-claim-access__title { font-size: 16.5px; }
    .cy-claim-access__body { font-size: 13.5px; }
    .cy-claim-access__icon { font-size: 26px; }
    .cy-claim-access__btn { font-size: 15px; padding: 13px 18px; }
}
