:root {
    --bg: #0b0d16;
    --card: #14182a;
    --line: rgba(168, 85, 247, 0.28);
    --text: #f4f4fb;
    --muted: #9aa3b8;
    --accent: #a855f7;
    --accent-2: #c084fc;
    --deep: #7c3aed;
    --dot: #ff0040;
    --ok: #69db7c;
    --wash-a: rgba(168, 85, 247, 0.22);
    --wash-b: rgba(255, 0, 64, 0.08);
    --danger: #ff6b6b;
    --profile-tap: 44px;
    --price-size: 1.75rem;
    --price-band: 2.75rem;
    --game-card-min: 17.5rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
    color-scheme: dark;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
    overflow-x: hidden;
    overflow-x: clip;
}
body {
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(900px 480px at 8% -8%, var(--wash-a), transparent 58%),
        radial-gradient(640px 360px at 100% 0%, var(--wash-b), transparent 50%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    /* #321: wrap on spaces — keep FlorendaID / game names whole */
    overflow-wrap: break-word;
    word-break: normal;
}
a { color: inherit; text-decoration: none; }
:focus:not(:focus-visible) { outline: none; }
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 72px 20px;
    padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(72px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
}
.skip {
    position: absolute;
    left: 0;
    top: 12px;
    top: max(12px, env(safe-area-inset-top, 0px));
    z-index: 40;
    transform: translateY(-220%);
    pointer-events: none;
    max-width: calc(100% - 40px);
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.skip:focus,
.skip:focus-visible {
    left: 20px;
    left: max(20px, env(safe-area-inset-left, 0px));
    transform: none;
    pointer-events: auto;
    outline: 2px solid #a855f7;
    outline: 2px solid var(--accent, #a855f7);
    outline-offset: 2px;
}
.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.to-top:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.to-top[hidden] { display: none !important; }
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 44px;
    min-height: 44px;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.brand:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.brand img { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}
.apps {
    position: relative;
    flex: 0 0 auto;
    z-index: 50;
}
.apps-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text, #f4f4fb);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.apps-btn svg { pointer-events: none; }
.apps-btn[aria-expanded="true"],
.apps-btn:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: var(--line, rgba(168, 85, 247, 0.28));
}
.apps-btn:focus-visible {
    outline: 2px solid var(--accent, #a855f7);
    outline-offset: 2px;
}
.apps-panel[hidden] { display: none !important; }
.apps-panel {
    position: fixed;
    top: 56px;
    right: 12px;
    z-index: 4000;
    width: min(280px, calc(100vw - 32px));
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line, rgba(168, 85, 247, 0.28));
    background: var(--card, #14182a);
    color: var(--text, #f4f4fb);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.apps-kicker {
    margin: 0 8px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted, #9aa3b8);
}
.apps-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 12px;
    color: inherit;
}
.apps-item:hover,
.apps-item:focus-visible {
    background: rgba(168, 85, 247, 0.12);
}
.apps-item.is-here {
    background: rgba(168, 85, 247, 0.1);
    box-shadow: inset 0 0 0 1px var(--line, rgba(168, 85, 247, 0.28));
}
.apps-ico {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    background: linear-gradient(135deg, var(--deep, #7c3aed), var(--accent, #a855f7));
    color: #fff;
}
.apps-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.apps-copy strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.apps-copy small {
    font-size: 12px;
    color: var(--muted, #9aa3b8);
    line-height: 1.3;
}
@media (max-width: 700px) {
    header.top .nav > a.btn[href="#games"],
    header.top .nav > a.btn[href="#faq"] {
        display: none;
    }
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    /* #319: wrap labels on spaces — FlorendaID / Minecraft stay whole */
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn:focus-visible {
    outline: 2px solid #a855f7;
    outline: 2px solid var(--accent, #a855f7);
    outline-offset: 2px;
}
span.btn {
    cursor: default;
    opacity: 0.72;
    pointer-events: none;
}
.btn-fill {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    background: linear-gradient(135deg, var(--deep, #7c3aed), var(--accent, #a855f7));
    color: #fff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.32);
}
.btn-ghost {
    background: transparent;
    border-color: rgba(168, 85, 247, 0.28);
    border-color: var(--line, rgba(168, 85, 247, 0.28));
}
.btn-danger {
    background: transparent;
    border-color: #ff6b6b;
    border-color: var(--danger, #ff6b6b);
    color: #ff6b6b;
    color: var(--danger, #ff6b6b);
}
.user {
    color: #c084fc;
    color: var(--accent-2, #c084fc);
    font-weight: 600;
    max-width: 18ch;
    min-width: 44px;
    min-width: var(--profile-tap, 44px);
    min-height: 44px;
    min-height: var(--profile-tap, 44px);
    width: auto;
    height: auto;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.28);
    border: 1px solid var(--line, rgba(168, 85, 247, 0.28));
    background: rgba(168, 85, 247, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    line-height: 1.2;
    vertical-align: middle;
    flex: 0 0 auto;
    box-sizing: border-box;
    font-size: 15px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.user-mark {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}
.user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.user:focus-visible,
a.user:focus-visible,
.user a:focus-visible,
.user img:focus-visible {
    outline: 2px solid #a855f7;
    outline: 2px solid var(--accent, #a855f7);
    outline-offset: 2px;
    overflow: visible;
}
.user img,
.user picture,
.user .avatar,
.nav .user img {
    width: 44px;
    width: var(--profile-tap, 44px);
    height: 44px;
    height: var(--profile-tap, 44px);
    min-width: 44px;
    min-width: var(--profile-tap, 44px);
    min-height: 44px;
    min-height: var(--profile-tap, 44px);
    max-width: 44px;
    max-width: var(--profile-tap, 44px);
    max-height: 44px;
    max-height: var(--profile-tap, 44px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}
.user:has(img),
.user:has(picture),
.user:has(.avatar) {
    padding-left: 0;
    overflow: visible;
    height: auto;
    max-height: none;
}
.nav:has(.user) {
    min-height: 44px;
    min-height: var(--profile-tap, 44px);
    align-items: center;
    gap: 10px;
}
.nav .user,
.nav a.user,
.nav .user a,
.nav [data-florenda-logout],
.nav [data-florenda-login] {
    min-width: 44px;
    min-width: var(--profile-tap, 44px);
    min-height: 44px;
    min-height: var(--profile-tap, 44px);
    height: auto;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.nav [data-florenda-logout] {
    flex: 0 0 auto;
}
.nav [data-florenda-logout]:focus-visible,
.nav [data-florenda-login]:focus-visible,
.nav a.user:focus-visible,
.nav .user a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
@media (pointer: coarse) {
    .user,
    .user img,
    .user .avatar,
    .nav .user,
    .nav [data-florenda-logout],
    .nav [data-florenda-login] {
        min-width: 44px;
        min-width: var(--profile-tap, 44px);
        min-height: 44px;
        min-height: var(--profile-tap, 44px);
        touch-action: manipulation;
    }
}
.hero { padding: 12px 0 8px; max-width: 640px; }
.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    margin-bottom: 14px;
    text-wrap: balance;
}
.hero p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    align-items: stretch;
    touch-action: manipulation;
}
/* #1346: while stacked (<960), hero CTAs — no 22px hole before «Игры и слоты» */
@media (max-width: 959px) {
    .hero-actions,
    .wrap .hero-actions,
    .hero .hero-actions {
        margin-top: 12px;
    }
}
.hero-actions .btn {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.auth-error {
    color: var(--danger);
    margin-top: 12px;
    /* #322: wrap on spaces — FlorendaID stays whole */
    overflow-wrap: break-word;
    word-break: normal;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.games,
.wrap .games,
main .games {
    display: grid;
    /* #297: stack until three equal columns fit (≥960px) */
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 40px 0 16px;
    align-items: stretch;
}
.game,
.games .game,
article.game,
#minecraft,
#samp,
#crmp,
#mta,
#cs16 {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    min-width: 0;
    min-height: 280px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto var(--price-band, 4.5rem) minmax(0, 1fr) auto;
    align-items: stretch;
    position: relative;
    overflow: visible;
    isolation: isolate;
    overflow-wrap: break-word;
    word-break: normal;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--deep), var(--accent), var(--dot));
}
.game h2, .game h3 {
    font-size: 20px;
    margin: 4px 0 8px;
    line-height: 1.2;
    min-height: 1.2em;
    text-wrap: balance;
}
.game .tag {
    font-size: 12px;
    color: var(--accent-2);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.35;
    min-height: 1.35em;
}
.price,
.games .game .price,
article.game .price,
#minecraft .price,
#samp .price,
#crmp .price,
#mta .price,
#cs16 .price {
    display: grid;
    /* #298 full-width badge; #299 stay inside card, one strip */
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    align-content: center;
    align-self: stretch;
    justify-content: start;
    column-gap: 10px;
    row-gap: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 6px 12px;
    font-size: var(--price-size, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    /* amount stays on one line; unit may wrap — never clip ₽ / «слот · мес» */
    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    text-overflow: clip;
    flex-direction: row;
    flex-wrap: nowrap;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
    border-radius: 12px;
}
.games .game .price-num,
article.game .price-num,
#minecraft .price-num,
#samp .price-num,
#crmp .price-num,
#mta .price-num,
#cs16 .price-num {
    grid-column: 1;
    grid-row: 1;
    display: block;
    min-width: 0;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
    font-size: var(--price-size, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    height: auto;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: keep-all;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}
.price small,
.games .game .price small,
article.game .price small,
#minecraft .price small,
#samp .price small,
#crmp .price small,
#mta .price small,
#cs16 .price small {
    grid-column: 2;
    grid-row: 1;
    display: block;
    min-width: 0;
    width: auto;
    max-width: 100%;
    flex-shrink: 1;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
    line-height: 1.3;
    height: auto;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: break-word;
    word-break: normal;
    align-self: center;
}
.game ul,
.games .game ul,
article.game ul {
    color: var(--muted);
    font-size: 14px;
    list-style: none;
    padding-left: 0;
    margin: 8px 0 16px;
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}
.game li,
.games .game li,
article.game li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(8ch, max-content);
    align-items: baseline;
    column-gap: 12px;
    row-gap: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    line-height: 1.45;
}
.games .game li span,
article.game li span,
#minecraft li span,
#samp li span,
#crmp li span,
#mta li span,
#cs16 li span {
    /* #310: wrap tariffs on spaces only — no mid-word anywhere */
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.games .game li b,
article.game li b,
#minecraft li b,
#samp li b,
#crmp li b,
#mta li b,
#cs16 li b {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.games .game li.game-perk,
article.game li.game-perk,
#minecraft li.game-perk,
#samp li.game-perk,
#crmp li.game-perk,
#mta li.game-perk,
#cs16 li.game-perk,
.games .game li:not(:has(b)),
article.game li:not(:has(b)) {
    display: block;
    grid-template-columns: none;
    border-bottom: none;
    color: var(--muted);
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 2px;
}
.game .btn { align-self: stretch; margin-top: auto; }
.games .game .game-cta,
article.game .game-cta,
#minecraft .game-cta,
#samp .game-cta,
#crmp .game-cta,
#mta .game-cta,
#cs16 .game-cta {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    padding-top: 4px;
    min-width: 0;
    overflow: visible;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}
.games .game .game-cta .btn,
article.game .game-cta .btn,
#minecraft .game-cta .btn,
#samp .game-cta .btn,
#crmp .game-cta .btn,
#mta .game-cta .btn,
#cs16 .game-cta .btn {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    align-self: stretch;
    margin-top: 0;
    height: auto;
    max-height: none;
    white-space: normal;
    overflow: visible;
    text-align: center;
    line-height: 1.3;
    padding-top: 12px;
    padding-bottom: 12px;
}
/* games: «мощности ещё не подключены» under Заказать — no clip on half-width cards */
.game-cta-sub,
.games .game .game-cta-sub,
article.game .game-cta-sub,
#minecraft .game-cta-sub,
#samp .game-cta-sub,
#crmp .game-cta-sub,
#mta .game-cta-sub,
#cs16 .game-cta-sub {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.92;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: normal;
}
@media (min-width: 960px) {
    .games,
    .wrap .games,
    main .games {
        /* #311: 6 tracks → top 3×span2, bottom 2×span3 (no hole) */
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .games > .game:nth-child(-n+3),
    .wrap .games > .game:nth-child(-n+3),
    main .games > .game:nth-child(-n+3),
    .games > article.game:nth-child(-n+3),
    .wrap .games > article.game:nth-child(-n+3),
    main .games > article.game:nth-child(-n+3) {
        grid-column: span 2;
    }
    .games > .game:nth-child(n+4),
    .wrap .games > .game:nth-child(n+4),
    main .games > .game:nth-child(n+4),
    .games > article.game:nth-child(n+4),
    .wrap .games > article.game:nth-child(n+4),
    main .games > article.game:nth-child(n+4) {
        grid-column: span 3;
    }
    /* #404: ≥960 (narrow ~960–1100) unit «/ слот · мес» readable — same as #366/#373 */
    .price,
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        /* #621: plaque by text — no stretch empty strip when neighbor unit wraps in subgrid */
        align-self: start;
        height: auto;
    }
    .games .game .price-num,
    article.game .price-num,
    #minecraft .price-num,
    #samp .price-num,
    #crmp .price-num,
    #mta .price-num,
    #cs16 .price-num {
        overflow: visible;
        text-overflow: clip;
    }
    .price small,
    .games .game .price small,
    article.game .price small,
    #minecraft .price small,
    #samp .price small,
    #crmp .price small,
    #mta .price small,
    #cs16 .price small {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: break-word;
        word-break: normal;
    }
    /* #513: price row by content; #622: no 280px floor — height by content like stack */
    .game,
    .games .game,
    article.game,
    #minecraft,
    #samp,
    #crmp,
    #mta,
    #cs16 {
        min-height: 0;
        grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    }
    @supports (grid-template-rows: subgrid) {
        .games,
        .wrap .games,
        main .games {
            grid-template-rows: auto auto auto minmax(0, 1fr) auto;
        }
        .game,
        .games .game,
        article.game,
        #minecraft,
        #samp,
        #crmp,
        #mta,
        #cs16 {
            grid-template-rows: subgrid;
            grid-row: span 5;
        }
    }
}
@supports not (width: min(100%, 17.5rem)) {
    .games,
    .wrap .games,
    main .games { grid-template-columns: minmax(0, 1fr); }
    @media (min-width: 960px) {
        .games,
        .wrap .games,
        main .games { grid-template-columns: repeat(6, minmax(0, 1fr)); }
        .games > .game:nth-child(-n+3),
        main .games > .game:nth-child(-n+3) { grid-column: span 2; }
        .games > .game:nth-child(n+4),
        main .games > .game:nth-child(n+4) { grid-column: span 3; }
    }
}
.note {
    color: var(--muted);
    font-size: 13px;
    margin: 8px 0 36px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    /* #515: same readable measure as FAQ — not full ~1100px showcase */
    max-width: 720px;
}
h2.sec, h3.sec { font-size: 22px; margin: 36px 0 14px; }
.feats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.feat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    transition: border-color 0.2s ease;
}
.feat h3, .feat h4 {
    margin-bottom: 6px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.feat p {
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.empty {
    background: var(--card);
    border: 1px dashed var(--line);
    border-radius: 16px;
    padding: 28px 24px;
    color: var(--text);
    margin: 16px 0 28px;
    min-width: 0;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 100%;
    /* #318: quiet empty — wrap on spaces, not mid-word */
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.empty-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.empty-lead {
    max-width: 46ch;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    max-width: 100%;
    min-width: 0;
    touch-action: manipulation;
}
.empty-actions .btn {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.empty-actions .btn:focus-visible,
.hero-actions .btn:focus-visible,
.game .btn:focus-visible,
.skip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.empty[data-tone="quiet"] { border-style: dashed; }
.empty[data-tone="invite"] {
    border-style: solid;
    border-color: rgba(168, 85, 247, 0.55);
}
.empty[data-tone="explore"] { border-style: solid; }
/* after login: status strip, not 88px hole over Minecraft/SAMP/CS */
#host-empty,
.wrap #host-empty,
section.empty#host-empty {
    padding: 12px 14px;
    margin: 8px 0 12px;
    min-height: 0;
    gap: 8px;
    border-radius: 12px;
    box-sizing: border-box;
    max-width: 100%;
}
#host-empty .empty-title,
.wrap #host-empty .empty-title,
section.empty#host-empty h2.empty-title {
    min-height: 0;
    font-size: 16px;
    line-height: 1.3;
}
#host-empty .empty-lead,
.wrap #host-empty .empty-lead {
    min-height: 0;
    font-size: 13px;
    line-height: 1.4;
    max-width: 52ch;
}
/* after login: «Смотреть тарифы» / «Когда запуск» on the status strip */
#host-empty .empty-actions,
.wrap #host-empty .empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    overflow: visible;
}
#host-empty .empty-actions .btn,
.wrap #host-empty .empty-actions .btn {
    min-width: 44px;
    min-height: 44px;
    height: auto;
    flex: 1 1 auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
#content:focus,
#content:focus-visible,
main:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.faq {
    max-width: 720px;
    overflow: visible;
}
.faq details {
    border-bottom: 1px solid var(--line);
    overflow: visible;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    min-height: var(--profile-tap, 44px);
    min-width: 44px;
    min-width: var(--profile-tap, 44px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    white-space: normal;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-top: -2px;
}
.faq details[open] summary::before {
    transform: rotate(45deg);
    margin-top: 2px;
}
.faq summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 8px;
}
.faq p {
    color: var(--muted);
    margin: 0 0 12px 20px;
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.foot { margin-top: 48px; color: var(--muted); font-size: 12px; opacity: 0.78; }
/* #365/#367: while stacked (<960), price row by content + no 280px empty card */
@media (max-width: 959px) {
    .game,
    .games .game,
    article.game,
    #minecraft,
    #samp,
    #crmp,
    #mta,
    #cs16 {
        min-height: 0;
        grid-row: auto;
        grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    }
    /* #945: while games stacked (<960), no 40px hole under «Игры и слоты» (like #869) */
    /* #1152: while stacked (<960), .games gap like phone — no 16px air between Minecraft/SAMP/CS */
    .games,
    .wrap .games,
    main .games {
        margin: 8px 0 12px;
        gap: 12px;
    }
    /* #405: while games stacked (861–959), feats one column — was only max-860 */
    .feats { grid-template-columns: minmax(0, 1fr); }
    /* #373: 861–959 unit «/ слот · мес» / «/ мес» readable — same as #366 (max-860 alone left gap) */
    .price,
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .games .game .price-num,
    article.game .price-num,
    #minecraft .price-num,
    #samp .price-num,
    #crmp .price-num,
    #mta .price-num,
    #cs16 .price-num {
        overflow: visible;
        text-overflow: clip;
    }
    .price small,
    .games .game .price small,
    article.game .price small,
    #minecraft .price small,
    #samp .price small,
    #crmp .price small,
    #mta .price small,
    #cs16 .price small {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: break-word;
        word-break: normal;
    }
    /* #953: while stacked (<960), .note — no 36px hole before «Как это устроено» (like #943 ≤860) */
    .note,
    #host-order-note,
    p.note#host-order-note {
        margin: 8px 0 8px;
    }
    /* #954: while stacked (<960), h2.sec — no 36px holes between #games/#how/#faq (like #944 ≤860) */
    /* #1219: while stacked (<960), h2.sec font like phone — no 22px «Игры и слоты»/FAQ after #954 */
    main h2.sec,
    .wrap h2.sec,
    h2.sec#games,
    h2.sec#how,
    h2.sec#faq {
        margin: 8px 0 6px;
        font-size: 1.05rem;
    }
    /* #952: while stacked (<960), .foot — no 48px hole before «©» (like #852 phone) */
    .foot {
        margin-top: 8px;
    }
    /* #1015: while stacked (<960), .game padding like phone — no thick Minecraft/SAMP/CS cards */
    .game,
    .games .game,
    article.game,
    #minecraft,
    #samp,
    #crmp,
    #mta,
    #cs16 {
        padding: 14px;
    }
    /* #1016: while stacked (<960), .feat padding like #868 phone — no thick «Как это устроено» */
    .feat {
        padding: 14px;
    }
    /* #1017: while stacked (<960), .empty like phone — no hole before «Игры и слоты» */
    /* #1220: while stacked (<960), .empty radius like phone — no 16px thicker than block after #1017/#1154 */
    .wrap section.empty,
    .wrap .empty[data-tone],
    .wrap .empty[role="status"],
    .empty {
        padding: 10px 12px;
        margin: 8px 0 8px;
        min-height: 0;
        gap: 6px;
        border-radius: 12px;
    }
    /* #1153: while stacked (<960), .wrap padding like phone — fields not thicker than cards */
    .wrap {
        padding: 12px 12px 64px 12px;
        padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(64px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    }
    /* #1154: while stacked (<960), empty-title/lead like phone — «Пока тихо» not oversized */
    .wrap .empty .empty-title,
    .wrap section.empty h2.empty-title,
    .empty-title {
        font-size: 16px;
        min-height: 0;
        line-height: 1.25;
        display: block;
    }
    /* full lead — no line-clamp:2 cutting invite/explore «Пока тихо» mid-sentence */
    .wrap .empty .empty-lead,
    .wrap #host-empty .empty-lead,
    #host-empty .empty-lead,
    .empty-lead {
        font-size: 13px;
        line-height: 1.35;
        min-height: 0;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
        max-height: none;
    }
    /* #1218: while stacked (<960), .top margin like ≤860 — no 28px hole after #1153 wrap pad */
    header.top,
    .wrap > header.top {
        margin-bottom: 14px;
    }
}
@media (max-width: 860px) {
    header.top,
    .wrap > header.top {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 14px;
    }
    header.top .brand {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    header.top .nav,
    .wrap > header.top .nav {
        width: auto;
        max-width: 100%;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        min-width: 0;
        overflow: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    header.top .nav::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    header.top .nav > .btn,
    header.top .nav .user,
    header.top .nav [data-florenda-logout],
    header.top .nav [data-florenda-login] {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
        white-space: nowrap;
    }
    header.top .nav .user {
        max-width: none;
        min-width: 44px;
        flex: 0 0 auto;
        padding: 0;
    }
    header.top .nav .user-name { display: none; }
    header.top .nav .user-mark { display: inline-flex; }
    header.top .nav [data-florenda-logout] {
        position: sticky;
        right: 0;
        z-index: 3;
        flex: 0 0 auto;
        margin-left: 0;
        background: var(--bg, #0b0d16);
        box-shadow: -10px 0 14px -6px var(--bg, #0b0d16);
    }
    /* Logged-in: keep World / Игры / Вопросы / Выйти on one screen, no x-scroll */
    header.top:has(.nav .user) .brand {
        flex: 0 0 auto;
        max-width: 120px;
        min-width: 44px;
        overflow: hidden;
        gap: 6px;
    }
    header.top .nav:has(.user) {
        overflow-x: visible;
        overflow-y: visible;
        flex-wrap: wrap;
        gap: 6px;
        flex: 1 1 auto;
        min-width: 0;
        row-gap: 6px;
    }
    header.top .nav:has(.user) > a.btn[href^="https://florenda.world/"]:not([href*="sso"]):not([data-florenda-logout]):not([data-florenda-login]) {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
        min-width: 44px;
        flex: 0 0 auto;
        max-width: none;
        overflow: visible;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    header.top .nav:has(.user) > .btn:not([data-florenda-logout]):not([data-florenda-login]) {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
        min-width: 0;
    }
    header.top .nav:has(.user) .user {
        max-width: 44px;
        flex: 0 0 44px;
        padding: 0;
    }
    header.top .nav:has(.user) .user-name { display: none; }
    header.top .nav:has(.user) .user-mark { display: inline-flex; }
    header.top .nav:has(.user) .user:has(img),
    header.top .nav:has(.user) .user:has(.avatar) {
        max-width: var(--profile-tap, 44px);
        flex: 0 0 var(--profile-tap, 44px);
        padding: 0;
        gap: 0;
        color: transparent;
        font-size: 0;
        line-height: 0;
    }
    header.top .nav:has(.user) [data-florenda-logout] {
        position: static;
        box-shadow: none;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 13px;
    }
    /* #869: stack .games — no 40px hole under «Игры и слоты» (like phone) */
    /* #1152: stack gap 12px like phone (was 14px; <960 already sets 12) */
    .games,
    .wrap .games,
    main .games {
        margin: 8px 0 12px;
        gap: 12px;
        grid-template-rows: none;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }
    /* #943: stack .note — no 36px hole before «Как это устроено» (like #713 phone) */
    .note,
    #host-order-note,
    p.note#host-order-note {
        margin: 8px 0 8px;
    }
    /* #944: stack h2.sec — no 36px holes between #games/#how/#faq (like #623 phone) */
    main h2.sec,
    .wrap h2.sec,
    h2.sec#games,
    h2.sec#how,
    h2.sec#faq {
        margin: 8px 0 6px;
    }
    .game,
    .games .game,
    article.game,
    #minecraft,
    #samp,
    #crmp,
    #mta,
    #cs16 {
        min-height: 0;
        grid-row: auto;
        /* #342: price row by content — no empty strip above CTA */
        grid-template-rows: auto auto auto minmax(0, 1fr) auto;
        overflow: visible;
        transform: none;
    }
    /* #366: ≤860 unit «/ слот · мес» readable — no nowrap+overflow clip (481–860) */
    .price,
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        font-size: var(--price-size, 1.75rem);
        min-height: 0;
        height: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        flex-direction: row;
        flex-wrap: nowrap;
        white-space: normal;
        text-overflow: clip;
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
        align-content: center;
        justify-content: start;
        padding: 6px 12px;
        overflow: visible;
    }
    .games .game .price-num,
    article.game .price-num,
    #minecraft .price-num,
    #samp .price-num,
    #crmp .price-num,
    #mta .price-num,
    #cs16 .price-num {
        font-size: var(--price-size, 1.75rem);
        height: auto;
        line-height: 1.15;
        white-space: nowrap;
        min-width: 0;
        width: auto;
        max-width: 100%;
        flex-shrink: 0;
        overflow: visible;
        text-overflow: clip;
        grid-column: 1;
        grid-row: 1;
    }
    .games .game .price small,
    article.game .price small,
    #minecraft .price small,
    #samp .price small,
    #crmp .price small,
    #mta .price small,
    #cs16 .price small {
        display: block;
        grid-column: 2;
        grid-row: 1;
        width: auto;
        min-width: 0;
        max-width: 100%;
        flex-shrink: 1;
        font-size: 0.875rem;
        line-height: 1.3;
        margin-top: 0;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .games .game ul,
    article.game ul {
        font-size: 14px;
    }
    .games .game li,
    article.game li {
        padding: 8px 0;
        grid-template-columns: minmax(0, 1fr) minmax(8ch, max-content);
        flex-wrap: nowrap;
        align-items: baseline;
    }
    .games .game li.game-perk,
    article.game li.game-perk,
    #minecraft li.game-perk,
    #samp li.game-perk,
    #crmp li.game-perk,
    #mta li.game-perk,
    #cs16 li.game-perk {
        display: block;
        grid-template-columns: none;
        border-bottom: none;
        padding-top: 10px;
        padding-bottom: 2px;
    }
    /* #331: CTA stays in flow — sticky overlay was covering 1590 ₽ / 704 ₽ */
    .games .game .game-cta,
    article.game .game-cta,
    #minecraft .game-cta,
    #samp .game-cta,
    #crmp .game-cta,
    #mta .game-cta,
    #cs16 .game-cta {
        position: static;
        bottom: auto;
        z-index: 2;
        margin-top: auto;
        padding: 8px 0 0;
        background: transparent;
        overflow: visible;
    }
    .games .game .game-cta .btn,
    article.game .game-cta .btn,
    #minecraft .game-cta .btn,
    #samp .game-cta .btn,
    #crmp .game-cta .btn,
    #mta .game-cta .btn,
    #cs16 .game-cta .btn {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        white-space: normal;
        overflow: visible;
        flex-shrink: 0;
    }
}
@media (max-width: 560px) {
    .games,
    .wrap .games,
    main .games {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 390px) {
    /* #323/#340 + 390: amount + unit readable on iPhone-width; wrap unit, no clip */
    header.top,
    .wrap > header.top {
        margin-bottom: 8px;
        gap: 6px;
    }
    header.top .brand {
        font-size: 14px;
        gap: 6px;
        min-width: 0;
        max-width: calc(100% - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    /* amount + «/ слот · мес» stack — no clip on iPhone-width cards */
    .price,
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        align-content: start;
        align-self: stretch;
        justify-content: start;
        column-gap: 0;
        row-gap: 2px;
        white-space: normal;
        text-overflow: clip;
        height: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 5px 8px;
        overflow: visible;
    }
    .games .game .price-num,
    article.game .price-num,
    #minecraft .price-num,
    #samp .price-num,
    #crmp .price-num,
    #mta .price-num,
    #cs16 .price-num {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: auto;
        max-width: 100%;
        flex-shrink: 0;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }
    .price small,
    .games .game .price small,
    article.game .price small,
    #minecraft .price small,
    #samp .price small,
    #crmp .price small,
    #mta .price small,
    #cs16 .price small {
        grid-column: 1;
        grid-row: 2;
        display: block;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        flex-shrink: 1;
        font-size: 0.75rem;
        line-height: 1.25;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .faq summary {
        width: 100%;
        min-height: 44px;
        min-height: var(--profile-tap, 44px);
        padding: 14px 10px;
    }
    .faq details {
        width: 100%;
    }
    /* CTA подпись не давит на «Заказать …» */
    .games .game .game-cta .btn,
    article.game .game-cta .btn,
    #minecraft .game-cta .btn,
    #samp .game-cta .btn,
    #crmp .game-cta .btn,
    #mta .game-cta .btn,
    #cs16 .game-cta .btn {
        min-height: 48px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .game-cta-sub {
        font-size: 11px;
        line-height: 1.25;
    }
    #host-empty .empty-actions,
    .wrap #host-empty .empty-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow: visible;
    }
    #host-empty .empty-actions .btn,
    .wrap #host-empty .empty-actions .btn {
        width: 100%;
        flex: 0 0 auto;
        justify-content: center;
    }
    .games .game li,
    article.game li,
    #minecraft li,
    #samp li,
    #crmp li,
    #mta li,
    #cs16 li {
        grid-template-columns: minmax(0, 1fr) max-content;
        column-gap: 8px;
    }
}
@media (max-width: 480px) {
    .wrap {
        padding: 12px 12px 64px 12px;
        padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(64px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    }
    /* #341: 381–480px — unit «/ слот · мес» not clipped by nowrap+overflow */
    .price,
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
        align-content: center;
        column-gap: 8px;
        row-gap: 0;
        white-space: normal;
        text-overflow: clip;
        height: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }
    .games .game .price-num,
    article.game .price-num,
    #minecraft .price-num,
    #samp .price-num,
    #crmp .price-num,
    #mta .price-num,
    #cs16 .price-num {
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        min-width: 0;
    }
    .price small,
    .games .game .price small,
    article.game .price small,
    #minecraft .price small,
    #samp .price small,
    #crmp .price small,
    #mta .price small,
    #cs16 .price small {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: break-word;
        word-break: normal;
        min-width: 0;
        max-width: 100%;
        font-size: 0.8125rem;
        line-height: 1.25;
    }
    header.top,
    .wrap > header.top {
        margin-bottom: 8px;
        gap: 6px;
    }
    header.top .brand {
        font-size: 14px;
        gap: 6px;
    }
    header.top .nav {
        gap: 6px;
    }
    header.top .nav > .btn,
    header.top .nav [data-florenda-login],
    header.top .nav [data-florenda-logout] {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
        white-space: nowrap;
        height: auto;
        box-sizing: border-box;
    }
    header.top .nav [data-florenda-logout] {
        position: sticky;
        right: 0;
        z-index: 3;
        background: var(--bg, #0b0d16);
        box-shadow: -10px 0 14px -6px var(--bg, #0b0d16);
    }
    header.top .nav .user {
        width: 44px;
        max-width: 44px;
        min-width: 44px;
        flex: 0 0 44px;
        height: 44px;
        padding: 0;
        box-sizing: border-box;
    }
    header.top .nav .user-name { display: none; }
    header.top .nav .user-mark { display: inline-flex; }
    header.top .nav .user img,
    header.top .nav .user .avatar {
        width: 44px;
        width: var(--profile-tap, 44px);
        height: 44px;
        height: var(--profile-tap, 44px);
        max-width: 44px;
        max-height: 44px;
    }
    header.top:has(.nav .user) {
        gap: 4px;
    }
    header.top:has(.nav .user) .brand {
        max-width: 44px;
        min-width: 44px;
        font-size: 0;
        gap: 0;
    }
    header.top .nav:has(.user) {
        overflow: visible;
        gap: 4px;
    }
    header.top .nav:has(.user) > .btn:not([data-florenda-logout]):not([data-florenda-login]),
    header.top .nav:has(.user) > a.btn[href^="https://florenda.world/"]:not([href*="sso"]) {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 12px;
        min-width: 0;
        flex: 0 1 auto;
    }
    header.top .nav:has(.user) > a.btn[href^="https://florenda.world/"]:not([href*="sso"]):not([data-florenda-logout]):not([data-florenda-login]) {
        max-width: 4.5ch;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    header.top .nav:has(.user) .user {
        max-width: 44px;
        flex: 0 0 44px;
        padding: 0;
    }
    header.top .nav:has(.user) .user-name { display: none; }
    header.top .nav:has(.user) .user-mark { display: inline-flex; }
    header.top .nav:has(.user) .user:has(img),
    header.top .nav:has(.user) .user:has(.avatar) {
        max-width: var(--profile-tap, 44px);
        flex: 0 0 var(--profile-tap, 44px);
        padding: 0;
        gap: 0;
        color: transparent;
        font-size: 0;
        line-height: 0;
    }
    header.top .nav:has(.user) [data-florenda-logout] {
        position: static;
        box-shadow: none;
        padding-left: 6px;
        padding-right: 6px;
        font-size: 12px;
    }
    .hero {
        padding: 2px 0 0;
        max-width: none;
    }
    .hero .eyebrow {
        margin-bottom: 4px;
        font-size: 10px;
    }
    .hero h1 {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    /* #406: full hero lead — no line-clamp:2 cutting «Мощности ещё не подключены…» */
    .hero p {
        font-size: 14px;
        line-height: 1.4;
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
    /* #514: wrap «Смотреть цены / World / Войти» — no sideways swipe */
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        overflow-x: visible;
        margin-top: 10px;
        gap: 8px;
    }
    .wrap .hero-actions .btn,
    .hero .hero-actions .btn {
        width: auto;
        max-width: none;
        flex: 1 1 auto;
        white-space: nowrap;
        padding-left: 12px;
        padding-right: 12px;
        height: auto;
        box-sizing: border-box;
    }
    .wrap section.empty,
    .wrap .empty[data-tone],
    .wrap .empty[role="status"] {
        padding: 10px 12px;
        margin: 8px 0 8px;
        min-height: 0;
        gap: 6px;
        border-radius: 12px;
    }
    .wrap .empty .empty-title,
    .wrap section.empty h2.empty-title {
        font-size: 16px;
        min-height: 0;
        line-height: 1.25;
        display: block;
    }
    /* beat prior clamp — status lead readable on 391–480 too */
    .wrap .empty .empty-lead,
    .wrap #host-empty .empty-lead,
    #host-empty .empty-lead {
        font-size: 13px;
        line-height: 1.35;
        min-height: 0;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
        max-height: none;
    }
    .wrap .empty-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .wrap .empty-actions::-webkit-scrollbar { display: none; }
    .wrap .empty-actions .btn {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
        height: auto;
        white-space: nowrap;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    /* host-empty: wrap CTAs — don't sideways-swipe «Смотреть тарифы» */
    .wrap #host-empty .empty-actions,
    #host-empty .empty-actions {
        flex-direction: row;
        flex-wrap: wrap;
        overflow: visible;
        overflow-x: visible;
    }
    .wrap #host-empty .empty-actions .btn,
    #host-empty .empty-actions .btn {
        flex: 1 1 auto;
        white-space: normal;
        min-height: 44px;
    }
    /* #623: phone section margin — #how/#faq same compact as #games (beat inline h2.sec) */
    main h2.sec,
    .wrap h2.sec,
    h2.sec#games,
    h2.sec#how,
    h2.sec#faq {
        font-size: 1.05rem;
        margin: 8px 0 6px;
    }
    /* #713: phone .note — no 36px hole before «Как это устроено» */
    .note,
    #host-order-note,
    p.note#host-order-note {
        margin: 8px 0 8px;
    }
    /* #852: phone .foot — no 48px hole after compact #faq/#how before «©» */
    .foot {
        margin-top: 8px;
    }
    .wrap .games,
    main .games {
        margin: 8px 0 12px;
        gap: 12px;
    }
    .wrap .games .game,
    .wrap article.game,
    #minecraft,
    #samp,
    #crmp,
    #mta,
    #cs16 {
        padding: 14px;
        min-height: 0;
    }
    /* #868: phone .feat padding like .game — no thicker «Как это устроено» */
    .feat {
        padding: 14px;
    }
}
/* ≤390 after ≤480: win cascade — column CTAs, stacked ₽, full empty lead */
@media (max-width: 390px) {
    /* hero: «Смотреть цены» / «Войти» / «К тарифам» — no nowrap row squeeze */
    .wrap .hero-actions,
    .hero .hero-actions,
    .hero-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow: visible;
        overflow-x: visible;
        gap: 8px;
    }
    .wrap .hero-actions .btn,
    .hero .hero-actions .btn,
    .hero-actions .btn {
        width: 100%;
        flex: 0 0 auto;
        justify-content: center;
        white-space: normal;
        min-height: 44px;
        max-width: none;
    }
    .wrap #host-empty .empty-actions,
    #host-empty .empty-actions {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        overflow: visible;
        overflow-x: visible;
    }
    .wrap #host-empty .empty-actions .btn,
    #host-empty .empty-actions .btn {
        width: 100%;
        flex: 0 0 auto;
        justify-content: center;
        white-space: normal;
        min-height: 44px;
    }
    .wrap #host-empty .empty-lead,
    #host-empty .empty-lead,
    .wrap .empty#host-empty .empty-lead {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        overflow: visible;
        max-height: none;
    }
    .price,
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        align-content: start;
        column-gap: 0;
        row-gap: 2px;
        white-space: normal;
        overflow: visible;
        height: auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .games .game .price-num,
    article.game .price-num,
    #minecraft .price-num,
    #samp .price-num,
    #crmp .price-num,
    #mta .price-num,
    #cs16 .price-num {
        grid-column: 1;
        grid-row: 1;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
        min-width: 0;
        max-width: 100%;
    }
    .price small,
    .games .game .price small,
    article.game .price small,
    #minecraft .price small,
    #samp .price small,
    #crmp .price small,
    #mta .price small,
    #cs16 .price small {
        grid-column: 1;
        grid-row: 2;
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        overflow-wrap: break-word;
        font-size: 0.75rem;
        line-height: 1.25;
    }
}
@supports not (width: min(18ch, 100%)) {
    .user { max-width: none; }
}
@media (hover: hover) {
    .feat:hover { border-color: rgba(168, 85, 247, 0.45); }
    .btn-fill:hover { box-shadow: 0 10px 28px rgba(124, 58, 237, 0.42); }
    .btn-ghost:hover {
        border-color: var(--accent);
        background: rgba(168, 85, 247, 0.08);
    }
    .btn-danger:hover { background: rgba(255, 107, 107, 0.1); }
}
@media (hover: hover) and (min-width: 861px) {
    .game:hover,
    .games .game:hover,
    article.game:hover {
        transform: translateY(-4px);
        border-color: rgba(168, 85, 247, 0.55);
        box-shadow: 0 18px 40px rgba(124, 58, 237, 0.22);
    }
}
.game:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.28);
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .game, .game:hover, .feat, .btn, .to-top, .user, .nav [data-florenda-logout] {
        transition: none;
        transform: none;
        animation: none;
    }
    .skip { transition: none; }
}
@media (forced-colors: active) {
    .btn, .game, .feat, .empty, .user {
        border: 1px solid ButtonText;
        box-shadow: none;
        background: Canvas;
        color: ButtonText;
    }
    .btn-fill {
        background: Highlight;
        color: HighlightText;
        border-color: Highlight;
    }
    .game::before { background: Highlight; }
    .faq summary::before { border-color: ButtonText; }
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        background: Canvas;
        border: 1px solid ButtonText;
        color: ButtonText;
        box-shadow: none;
    }
}
@media (prefers-color-scheme: light) {
    :root {
        --bg: #f4f5fb;
        --card: #fff;
        --text: #16182a;
        --muted: #4b5568;
        --line: rgba(124, 58, 237, 0.2);
        --wash-a: rgba(168, 85, 247, 0.14);
        --wash-b: rgba(255, 0, 64, 0.05);
        --accent-2: #6d28d9;
        --danger: #c92a2a;
        --profile-tap: 44px;
        --price-size: 1.75rem;
        --price-band: 2.75rem;
        --game-card-min: 17.5rem;
    }
    html { color-scheme: light; }
    .user { background: rgba(124, 58, 237, 0.08); }
    .games .game .price,
    article.game .price,
    #minecraft .price,
    #samp .price,
    #crmp .price,
    #mta .price,
    #cs16 .price {
        background: rgba(124, 58, 237, 0.08);
        border-color: rgba(124, 58, 237, 0.18);
        color: var(--text, #16182a);
    }
    /* beat inline quiet dark wash — empty panel readable on light */
    .wrap .empty[data-tone="quiet"],
    .wrap section.empty[data-tone="quiet"],
    .empty[data-tone="quiet"][role="status"] {
        background: rgba(124, 58, 237, 0.06);
        border-color: rgba(124, 58, 237, 0.28);
        color: var(--text, #16182a);
    }
    #host-empty .empty-title,
    .wrap #host-empty .empty-title,
    section.empty#host-empty h2.empty-title {
        color: var(--text, #16182a);
    }
    #host-empty .empty-lead,
    .wrap #host-empty .empty-lead {
        color: var(--muted, #4b5568);
    }
    #host-empty .empty-actions .btn-ghost,
    .wrap #host-empty .empty-actions .btn-ghost {
        background: rgba(124, 58, 237, 0.06);
        border-color: rgba(124, 58, 237, 0.28);
        color: var(--text, #16182a);
    }
    .games .game li b,
    article.game li b,
    #minecraft li b,
    #samp li b,
    #crmp li b,
    #mta li b,
    #cs16 li b {
        color: var(--text, #16182a);
    }
    .wrap .empty[data-tone="invite"],
    .empty[data-tone="invite"] {
        background: rgba(124, 58, 237, 0.08);
    }
    .wrap .empty[data-tone="explore"],
    .empty[data-tone="explore"] {
        background: rgba(46, 160, 67, 0.08);
    }
    .apps-panel {
        box-shadow: 0 18px 40px rgba(22, 24, 42, 0.12);
    }
    .faq summary,
    .faq p {
        color: var(--text, #16182a);
    }
    .faq p { color: var(--muted, #4b5568); }
    .faq summary:focus-visible {
        outline: 2px solid var(--accent, #7c3aed);
        outline-offset: 2px;
        box-shadow: 0 0 0 2px #fff;
    }
    .note,
    #host-order-note,
    p.note#host-order-note {
        color: #4b5568;
    }
    .game-cta-sub,
    .games .game .game-cta-sub,
    article.game .game-cta-sub {
        opacity: 0.88;
        color: inherit;
    }
    header.top .nav [data-florenda-logout] {
        background: var(--bg, #f4f5fb);
        box-shadow: -10px 0 14px -6px var(--bg, #f4f5fb);
    }
}
@media (hover: hover) and (prefers-color-scheme: light) {
    .game:hover { box-shadow: 0 16px 36px rgba(124, 58, 237, 0.12); }
    .btn-ghost:hover { background: rgba(124, 58, 237, 0.06); }
}
.user img:not([src]),
.user img[src=""],
.user img[src="about:blank"],
.user img[src="null"],
.user img[src="undefined"] {
    display: none;
}
.user img,
.user .avatar {
    image-orientation: from-image;
}
@supports not (aspect-ratio: 1 / 1) {
    .user img,
    .user picture,
    .user .avatar {
        width: 44px;
        width: var(--profile-tap, 44px);
        height: 44px;
        height: var(--profile-tap, 44px);
    }
}
@supports not selector(:has(*)) {
    .nav .user,
    .nav [data-florenda-logout] {
        min-height: 44px;
        min-height: var(--profile-tap, 44px);
    }
}
@media (prefers-reduced-transparency: reduce) {
    .user {
        background: var(--card, #14182a);
        border-color: var(--accent, #a855f7);
    }
    .games .game .price,
    article.game .price {
        background: var(--card, #14182a);
        border-color: var(--accent, #a855f7);
    }
}
@media (prefers-reduced-motion: reduce) {
    .user img,
    .user .avatar,
    .nav [data-florenda-login] {
        transition: none;
        transform: none;
        animation: none;
    }
}
@media (forced-colors: active) {
    .user img,
    .user .avatar,
    .nav [data-florenda-logout],
    .nav [data-florenda-login] {
        border: 1px solid ButtonText;
        background: Canvas;
        forced-color-adjust: none;
        box-shadow: none;
    }
}
#content, #games, #faq, #how, #minecraft, #samp, #crmp, #mta, #cs16, #host-empty, .sec, .game, .empty, .hero {
    scroll-margin-top: 16px;
    scroll-margin-top: max(16px, env(safe-area-inset-top, 0px));
}
.empty:empty,
.empty-actions:empty,
.empty-lead:empty,
.empty-title:empty {
    display: none;
}
.brand img:not([src]),
.brand img[src=""],
.brand img[src="about:blank"],
.brand img[src="null"],
.brand img[src="undefined"] {
    display: none;
}
.to-top[hidden],
.to-top[aria-hidden="true"] {
    display: none !important;
}
@supports not (overflow: clip) {
    html { overflow-x: hidden; }
}
@supports not (overflow-wrap: anywhere) {
    body, .game, .empty, .note, .feat, .btn, .empty-title, .empty-lead {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}
@supports not (min-height: 100dvh) {
    body { min-height: 100vh; }
}
@media (prefers-reduced-transparency: reduce) {
    :root {
        --wash-a: transparent;
        --wash-b: transparent;
        --line: #7c3aed;
    }
    body { background: var(--bg, #0b0d16); }
    .btn-fill, .to-top, .game:hover { box-shadow: none; }
    .empty { background: var(--card, #14182a); }
}
@media (forced-colors: active) {
    .skip, .to-top, .brand, .auth-error, .empty-actions .btn, .empty[data-tone] {
        border: 1px solid ButtonText;
        background: Canvas;
        color: ButtonText;
        box-shadow: none;
    }
    .auth-error { color: Mark; }
    .skip:focus-visible,
    .to-top:focus-visible,
    .brand:focus-visible,
    .empty-actions .btn:focus-visible,
    #content:focus-visible {
        outline: 2px solid Highlight;
        outline-offset: 2px;
    }
}
/* cell-08-host-vitrine: tariff calculator (.calc*) + Premium Florenda (.premium*) */
.calc,
.premium {
    box-sizing: border-box;
    position: relative;
    background: var(--card, #14182a);
    border: 1px solid var(--line, rgba(168, 85, 247, 0.28));
    border-radius: 18px;
    padding: 22px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}
.calc { margin: 0 0 6px; }
.calc h2.sec,
.premium h2.sec { margin-top: 0; }
.premium {
    margin: 12px 0 6px;
    border-color: rgba(168, 85, 247, 0.4);
    overflow: hidden;
}
.premium::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--deep, #7c3aed), var(--accent, #a855f7), var(--dot, #ff0040));
}
.calc-sub {
    margin: 0 0 14px;
    color: var(--muted, #9aa3b8);
    font-size: 14px;
    line-height: 1.55;
    max-width: 58ch;
    overflow-wrap: break-word;
    word-break: normal;
}
.calc-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    align-items: end;
    margin: 14px 0 4px;
}
.calc-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    color: var(--text, #f4f4fb);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.calc-field select {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 38px 8px 12px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;
    color: var(--text, #f4f4fb);
    background-color: var(--bg, #0b0d16);
    border: 1px solid var(--line, rgba(168, 85, 247, 0.28));
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.calc-result {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 6px;
    row-gap: 2px;
    margin: 4px 0 0;
    padding: 12px 16px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.18);
    border-radius: 12px;
    color: var(--muted, #9aa3b8);
    font-size: 0.875rem;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: normal;
}
.calc-result b {
    color: var(--text, #f4f4fb);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
    white-space: nowrap;
}
.calc-note {
    margin: 8px 0 0;
    color: var(--muted, #9aa3b8);
    font-size: 13px;
    line-height: 1.45;
    max-width: 58ch;
    overflow-wrap: break-word;
    word-break: normal;
}
.premium-benefit {
    margin: 0 0 12px;
    max-width: 58ch;
    color: var(--muted, #9aa3b8);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: normal;
}
.premium .btn,
.premium-btn {
    min-height: 44px;
    min-width: 44px;
}
.calc-field select:focus-visible,
.premium .btn:focus-visible,
.premium-btn:focus-visible {
    outline: 2px solid var(--accent, #a855f7);
    outline-offset: 2px;
}
@media (hover: hover) {
    .calc-field select:hover {
        border-color: rgba(168, 85, 247, 0.55);
    }
}
@media (max-width: 700px) {
    .calc,
    .premium {
        padding: 18px 16px;
    }
    .calc-controls {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }
    .calc-result b { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .calc,
    .premium,
    .calc-field select,
    .premium .btn,
    .premium-btn {
        transition: none;
    }
}
@media (forced-colors: active) {
    .calc,
    .premium {
        border: 1px solid ButtonText;
        background: Canvas;
        color: CanvasText;
    }
    .calc-field select {
        background: Canvas;
        color: CanvasText;
        border: 1px solid ButtonText;
    }
}
