/*
 * casino-topbar — «афиша»: липкая шапка в две строки, широкие полосы и зоны
 * «контент + колонка справа», билеты бонусов с перфорацией, нумерованные разделы.
 * Цвета — только var(--c-*) (тему меняет панель), шрифты — var(--font-heading) /
 * var(--font-body), скругление — var(--radius).
 */

/* ---------- Основа ---------- */

:root {
    --wrap: 1240px;
    --gut: 16px;
    --aside: 312px;
    --bar-h: 60px;
    --sec: 14px;
    --r-sm: max(4px, calc(var(--radius) - 4px));
    --r-lg: calc(var(--radius) + 6px);
    --line: color-mix(in srgb, var(--c-border) 100%, transparent);
    --ink-soft: color-mix(in srgb, var(--c-text) 6%, var(--c-bg));
    --ease: cubic-bezier(.3, 0, .2, 1);
}

@media (min-width: 768px) {
    :root {
        --gut: 24px;
        --sec: 16px;
        --bar-h: 68px;
    }
}

@media (min-width: 1280px) {
    :root {
        --gut: 32px;
        --aside: 328px;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar-h) + 16px);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.015em;
    text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

.icon {
    width: 18px;
    height: 18px;
    flex: none;
}

.wrap {
    width: min(100% - 2 * var(--gut), var(--wrap));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    z-index: 200;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    background: var(--c-accent);
    color: var(--c-accent-ink);
    font-weight: 700;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Кнопки и мелочи ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s var(--ease), background-color .18s, color .18s, border-color .18s, box-shadow .18s;
}

.btn .icon {
    width: 17px;
    height: 17px;
    transition: transform .18s var(--ease);
}

.btn:hover .icon:last-child {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--c-accent);
    color: var(--c-accent-ink);
}

.btn--primary:hover {
    background: color-mix(in srgb, var(--c-accent) 88%, var(--c-text));
    transform: translateY(-1px);
}

.btn--line {
    border-color: var(--c-border);
    background: transparent;
    color: var(--c-text);
}

.btn--line:hover {
    border-color: var(--c-text);
}

.btn--ink {
    background: var(--c-accent-ink);
    color: var(--c-accent);
}

.btn--ink:hover {
    background: color-mix(in srgb, var(--c-accent-ink) 86%, var(--c-accent));
    transform: translateY(-1px);
}

.btn--sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
}

.btn--lg {
    min-height: 52px;
    padding: 0 26px;
    font-size: 16px;
}

.btn--block {
    display: flex;
    width: 100%;
    white-space: normal;
    text-align: center;
}

.age-mark {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.age-mark--lg {
    width: 38px;
    height: 38px;
    font-size: 13px;
}

.stars {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
}

.stars svg {
    display: inline-block;
    width: 15px;
    height: 15px;
}

.stars__base {
    display: inline-flex;
    gap: 2px;
    color: color-mix(in srgb, var(--c-text) 18%, transparent);
    fill: currentColor;
}

.stars__fill {
    position: absolute;
    inset: 0 auto 0 0;
    display: inline-flex;
    gap: 2px;
    overflow: hidden;
    color: var(--c-accent);
    fill: currentColor;
    white-space: nowrap;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--c-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--c-accent);
}

.section-head {
    margin-bottom: 16px;
}

.section-head__title,
.rt__title,
.appcard__title {
    font-size: clamp(23px, 1.2vw + 17px, 30px);
}

.section-head__intro {
    max-width: 68ch;
    margin-top: 6px;
    color: var(--c-muted);
}

/* ---------- Шапка ---------- */

.masthead {
    position: sticky;
    top: calc(-1 * var(--promo-h, 0px));
    z-index: 60;
}

.masthead--promo .masthead__bar {
    border-top: 0;
}

.masthead__promo {
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 13px;
}

.promo-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
}

.promo-line__offer {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.promo-line__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    background: var(--c-accent);
    color: var(--c-accent-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.promo-line__tag .icon {
    width: 14px;
    height: 14px;
}

.promo-line__bonus {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promo-line__go {
    display: none;
    align-items: center;
    gap: 4px;
    flex: none;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

.promo-line__go .icon {
    width: 14px;
    height: 14px;
}

.promo-line__offer:hover .promo-line__go {
    text-decoration-color: var(--c-accent);
}

.promo-line__rg {
    display: none;
    align-items: center;
    gap: 8px;
    flex: none;
    opacity: .8;
}

.promo-line__rg .age-mark {
    width: 22px;
    height: 22px;
    font-size: 9px;
}

.masthead__bar {
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg);
    transition: box-shadow .25s;
}

.masthead.is-stuck .masthead__bar {
    box-shadow: 0 1px 3px rgb(0 0 0 / .12);
}

.masthead__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--bar-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand__mark {
    width: auto;
    border-radius: var(--r-sm);
}

.brand__wordmark {
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
}

.brand__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand--head {
    flex: 0 1 auto;
    font-size: 19px;
    transform-origin: left center;
    transition: transform .25s var(--ease);
}

.brand--head .brand__mark {
    height: 38px;
}

.brand--head .brand__wordmark {
    height: 38px;
}

.masthead.is-stuck .brand--head {
    transform: scale(.92);
}

.topnav {
    display: none;
    flex: 1;
    align-self: stretch;
    justify-content: center;
}

.topnav__list {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.topnav__link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    color: var(--c-muted);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .18s;
}

.topnav__link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--c-accent);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}

.topnav__link:hover {
    color: var(--c-text);
}

.topnav__link:hover::after {
    transform: scaleX(.5);
}

.topnav__link.is-current {
    color: var(--c-text);
}

.topnav__link.is-current::after {
    transform: scaleX(1);
}

.masthead__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.masthead__login {
    display: none;
}

.burger {
    display: inline-grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s var(--ease), opacity .2s;
}

.burger span:nth-child(2) {
    width: 12px;
    justify-self: end;
}

.drawer-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.drawer-open .burger span:nth-child(2) {
    opacity: 0;
}

.drawer-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 560px) {
    .promo-line__go {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .promo-line__rg {
        display: inline-flex;
    }

    .masthead__login {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .topnav {
        display: flex;
    }

    .burger {
        display: none;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .topnav__link {
        padding: 0 8px;
        font-size: 14px;
    }

    .topnav__link::after {
        right: 8px;
        left: 8px;
    }

    .masthead__login span {
        display: none;
    }
}

/* ---------- Мобильная панель ---------- */

.drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
    transition: visibility 0s .35s;
}

.drawer-open .drawer {
    visibility: visible;
    transition: none;
}

.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--c-bg) 70%, transparent);
    opacity: 0;
    transition: opacity .3s;
}

.drawer-open .drawer__backdrop {
    opacity: 1;
}

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(400px, 88vw);
    padding: 14px 20px max(20px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border-left: 1px solid var(--c-border);
    background: var(--c-bg);
    box-shadow: -2px 0 8px rgb(0 0 0 / .14);
    transform: translateX(104%);
    transition: transform .35s var(--ease);
}

.drawer-open .drawer__panel {
    transform: none;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand--drawer {
    font-size: 18px;
}

.brand--drawer .brand__mark,
.brand--drawer .brand__wordmark {
    height: 34px;
}

.drawer__close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border: 1.5px solid var(--c-border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.drawer__nav {
    flex: none;
}

.drawer__list {
    border-top: 1px solid var(--c-border);
}

.drawer__list li {
    border-bottom: 1px solid var(--c-border);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .3s, transform .35s var(--ease);
}

.drawer-open .drawer__list li {
    opacity: 1;
    transform: none;
    transition-delay: calc(80ms + var(--i, 0) * 40ms);
}

.drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 2px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.drawer__num {
    min-width: 24px;
    color: var(--c-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.drawer__label {
    flex: 1;
}

.drawer__link .icon {
    color: var(--c-muted);
    transition: transform .2s var(--ease), color .2s;
}

.drawer__link:hover .icon,
.drawer__link.is-current .icon {
    color: var(--c-accent);
    transform: translateX(3px);
}

.drawer__link.is-current .drawer__num {
    color: var(--c-accent);
}

.drawer__ticket {
    flex: none;
}

.drawer__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.drawer__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--c-muted);
    font-size: 13px;
}

/* ---------- Билет бонуса (hero, колонка, мобильная панель) ---------- */

.ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--c-accent-ink);
}

.ticket__top,
.ticket__bottom {
    background: var(--c-accent);
}

.ticket__top {
    padding: 20px 22px 18px;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    -webkit-mask:
        radial-gradient(circle 11px at 0 100%, transparent 97%, var(--c-bg) 100%) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% 100%, transparent 97%, var(--c-bg) 100%) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle 11px at 0 100%, transparent 97%, var(--c-bg) 100%) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% 100%, transparent 97%, var(--c-bg) 100%) right / 51% 100% no-repeat;
}

.ticket__bottom {
    position: relative;
    padding: 18px 22px 20px;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    -webkit-mask:
        radial-gradient(circle 11px at 0 0, transparent 97%, var(--c-bg) 100%) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% 0, transparent 97%, var(--c-bg) 100%) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle 11px at 0 0, transparent 97%, var(--c-bg) 100%) left / 51% 100% no-repeat,
        radial-gradient(circle 11px at 100% 0, transparent 97%, var(--c-bg) 100%) right / 51% 100% no-repeat;
}

.ticket__bottom::before {
    content: "";
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    border-top: 2px dashed color-mix(in srgb, var(--c-accent-ink) 35%, transparent);
}

.ticket__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ticket__value {
    margin-top: 8px;
    font-family: var(--font-heading);
    font-size: clamp(25px, 1.2vw + 18px, 32px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.ticket__note {
    margin-top: 8px;
    font-size: 13px;
    opacity: .82;
}

.ticket--mini {
    flex-direction: row;
    border-radius: var(--r-lg);
    background: var(--c-accent);
    filter: none;
}

.ticket__stub {
    display: grid;
    place-items: center;
    width: 58px;
    flex: none;
    border-right: 2px dashed color-mix(in srgb, var(--c-accent-ink) 35%, transparent);
}

.ticket__stub .icon {
    width: 24px;
    height: 24px;
}

.ticket__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
}

.ticket--mini .ticket__label {
    font-size: 11px;
}

.ticket--mini .ticket__value {
    margin: 0;
    font-size: 18px;
}

/* ---------- Хлебные крошки ---------- */

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    padding-top: 12px;
    color: var(--c-muted);
    font-size: 13px;
}

.crumbs li + li::before {
    content: "/";
    margin: 0 8px;
    opacity: .5;
}

.crumbs a:hover {
    color: var(--c-text);
}

.crumbs li[aria-current] {
    color: var(--c-text);
    font-weight: 600;
}

/* ---------- Hero ---------- */

.b-hero {
    position: relative;
    padding: 22px 0 26px;
    overflow: hidden;
}

.b-hero::before {
    content: "";
    position: absolute;
    inset: 10px max(var(--gut), calc((100% - var(--wrap)) / 2)) 0;
    z-index: -1;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c-text) 13%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px,
        radial-gradient(120% 90% at 100% 0, color-mix(in srgb, var(--c-accent) 20%, transparent), transparent 55%),
        radial-gradient(80% 80% at 0 100%, color-mix(in srgb, var(--c-accent-2) 14%, transparent), transparent 60%),
        var(--c-surface);
}

.b-hero__grid {
    display: grid;
    gap: 22px;
    padding: 22px 18px 4px;
}

.b-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.b-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 10px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: var(--c-bg);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.b-hero__pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-success);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-success) 22%, transparent);
}

.b-hero__title {
    max-width: 18ch;
    font-size: clamp(32px, 2.4vw + 20px, 54px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.b-hero__subtitle {
    max-width: 58ch;
    color: var(--c-muted);
    font-size: clamp(16px, .3vw + 15px, 18px);
}

.b-hero__rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.b-hero__score {
    display: grid;
    place-items: center;
    min-width: 50px;
    height: 44px;
    padding: 0 8px;
    border-radius: var(--r-sm);
    background: var(--c-text);
    color: var(--c-bg);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

.b-hero__stars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.b-hero__stars small {
    color: var(--c-muted);
    font-size: 13px;
}

.b-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.b-hero__badges {
    display: flex;
    gap: 8px;
    max-width: 100%;
    margin-right: -18px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
}

.b-hero__badges::-webkit-scrollbar {
    display: none;
}

.b-hero__badges li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 6px 11px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: color-mix(in srgb, var(--c-bg) 70%, transparent);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.b-hero__badges .icon {
    width: 16px;
    height: 16px;
    color: var(--c-accent);
}

.b-hero__side {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 520px;
    flex-direction: column;
    justify-content: flex-end;
}

.b-hero__fan {
    display: none;
}

.b-hero__card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 150px;
    aspect-ratio: 1;
    overflow: hidden;
    border: 3px solid var(--c-bg);
    border-radius: var(--r-lg);
    background: var(--c-surface-2);
    box-shadow: 0 1px 3px rgb(0 0 0 / .12);
    transition: transform .25s var(--ease);
}

.b-hero__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-hero__card:nth-child(1) {
    transform: translateX(-125%) translateY(26px) rotate(-11deg);
}

.b-hero__card:nth-child(2) {
    z-index: 1;
    transform: translateX(-50%);
}

.b-hero__card:nth-child(3) {
    transform: translateX(25%) translateY(26px) rotate(11deg);
}

.b-hero:hover .b-hero__card:nth-child(1) {
    transform: translateX(-135%) translateY(20px) rotate(-14deg);
}

.b-hero:hover .b-hero__card:nth-child(3) {
    transform: translateX(35%) translateY(20px) rotate(14deg);
}

.b-hero__mono {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--c-muted);
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
}

.b-hero__ticket {
    position: relative;
    z-index: 2;
}

.b-hero--compact {
    padding-bottom: 20px;
}

.b-hero__stamp {
    display: none;
}

.b-hero--plain .b-hero__title {
    max-width: 22ch;
}

.b-hero--center {
    display: grid;
    align-items: center;
    min-height: min(62vh, 560px);
}

.b-hero--center .b-hero__grid {
    padding-block: 40px;
}

.b-hero--center .b-hero__text {
    align-items: center;
    text-align: center;
}

.b-hero--center .b-hero__title,
.b-hero--center .b-hero__subtitle {
    margin-inline: auto;
}

.b-hero--center .b-hero__buttons {
    justify-content: center;
}

@media (min-width: 768px) {
    .b-hero__grid {
        padding: 30px 30px 8px;
    }

    .b-hero__badges {
        flex-wrap: wrap;
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
    }

    .b-hero--fan .b-hero__fan {
        position: relative;
        display: block;
        height: 150px;
    }

    .b-hero--fan .b-hero__side {
        max-width: 440px;
    }

    .b-hero--fan .b-hero__ticket {
        margin-top: -40px;
    }
}

@media (min-width: 1024px) {
    .b-hero {
        padding: 22px 0 30px;
    }

    .b-hero__grid {
        grid-template-columns: minmax(0, 1fr) 400px;
        align-items: center;
        gap: 48px;
        padding: 40px 44px 18px;
    }

    .b-hero--fan .b-hero__grid {
        padding-bottom: 32px;
    }

    .b-hero--compact .b-hero__grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        padding: 30px 36px 12px;
    }

    .b-hero--plain .b-hero__grid {
        grid-template-columns: minmax(0, 1fr) 170px;
    }

    .b-hero--center .b-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .b-hero__stamp {
        position: relative;
        display: grid;
        place-items: center;
        width: 170px;
        aspect-ratio: 1;
        color: var(--c-text);
    }

    .b-hero__ring {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: visible;
        fill: currentColor;
        font-family: var(--font-body);
        font-size: 15.5px;
        font-weight: 800;
        letter-spacing: .16em;
    }

    .b-hero__stamp::before {
        content: "";
        position: absolute;
        inset: 34px;
        border: 1.5px dashed var(--c-border);
        border-radius: 50%;
        background: var(--c-accent);
    }

    .b-hero__crown {
        position: relative;
        width: 46px;
        height: 46px;
        color: var(--c-accent-ink);
    }
}

/* ---------- Раскладка: широкие полосы и зоны ---------- */

/* Корни блоков: не распирают колонку длинным содержимым */
.b-games-grid,
.b-providers,
.b-cta-banner,
.b-quick-info,
.b-toc,
.b-rich-text,
.b-bonus-cards,
.b-steps,
.b-payments,
.b-pros-cons,
.b-reviews,
.b-app,
.b-faq,
.b-author-box {
    min-width: 0;
}

.site-main {
    counter-reset: chapter;
}

.band {
    padding-block: calc(var(--sec) * 1.4);
}

.band__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.band__head .section-head {
    margin-bottom: 0;
}

.band__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--c-accent);
    font-weight: 700;
    white-space: nowrap;
}

.band__link .icon {
    width: 16px;
    height: 16px;
}

.band__arrows {
    display: none;
    gap: 8px;
    flex: none;
}

.zone {
    width: min(100% - 2 * var(--gut), var(--wrap));
    margin-inline: auto;
    padding-block: var(--sec);
}

.zone .wrap {
    width: auto;
}

.zone__main {
    min-width: 0;
}

.zone__main > .sec:first-child {
    padding-top: 0;
}

.zone--solo .b-rich-text,
.zone--solo .b-toc {
    max-width: 860px;
}

.zone__aside {
    display: none;
}

.zone__slot:empty {
    display: none;
}

.sec {
    padding-block: var(--sec);
}

.sec--tight {
    padding-block: calc(var(--sec) * .6);
}

.sec__foot {
    margin-top: 18px;
}

.sec__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 16px;
}

.sec__headline .section-head {
    margin-bottom: 0;
}

/* Узкие экраны: колонка уходит в поток — остаётся только билет бонуса (если у hero его нет) */
@media (max-width: 1023px) {
    .zone--split {
        display: flex;
        flex-direction: column;
    }

    .zone--split .zone__aside {
        display: block;
        order: -1;
    }

    .zone--split .zone__aside > :not(.zone__sticky),
    .zone--split .zone__sticky > :not(.side-ticket--flow) {
        display: none;
    }

    .side-ticket--flow {
        margin-bottom: calc(var(--sec) * 1.2);
    }
}

@media (min-width: 1024px) {
    .zone--split {
        display: grid;
        grid-template-columns: minmax(0, 1fr) var(--aside);
        align-items: stretch;
        gap: 40px;
    }

    .zone__aside {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-left: 24px;
        border-left: 1px solid var(--c-border);
    }

    .zone__sticky {
        position: sticky;
        top: calc(var(--bar-h) + 16px);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .zone__slot .sec {
        padding: 0;
    }

    .band__arrows {
        display: flex;
    }
}

/* ---------- Карточки колонки ---------- */

.side-card {
    padding: 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}

.side-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.side-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.side-card__title .icon {
    color: var(--c-accent);
}

.side-card__more {
    color: var(--c-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.side-card__more:hover {
    color: var(--c-text);
}

.side-games {
    padding-bottom: 14px;
}

.side-games__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.side-game {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.side-game__art {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--c-surface-2);
}

.side-game__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s var(--ease);
}

.side-game__glyph {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--c-muted);
}

.side-game__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-accent-ink);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.8);
    transition: opacity .2s, transform .25s var(--ease);
}

.side-game__play .icon {
    width: 18px;
    height: 18px;
}

.side-game:hover .side-game__play {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.side-game:hover img {
    transform: scale(1.06);
}

.side-game__name {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-ticket .ticket__top {
    padding: 18px 18px 14px;
}

.side-ticket .ticket__bottom {
    padding: 14px 18px 18px;
}

.side-ticket .ticket__value {
    font-size: 24px;
}

/* ---------- Игры ---------- */

.shelf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
}

.slot {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slot__cover {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--c-surface-2);
}

.slot__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease);
}

.slot__blank {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 6px;
    height: 100%;
    color: var(--c-muted);
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    background:
        repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--c-text) 4%, transparent) 10px 20px),
        var(--c-surface-2);
}

.slot__blank .icon {
    width: 28px;
    height: 28px;
    color: var(--c-accent);
}

.slot__tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.slot__hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: color-mix(in srgb, var(--c-bg) 62%, transparent);
    opacity: 0;
    transition: opacity .2s;
}

.slot__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-accent-ink);
    transform: translate(-50%, -50%) scale(.7);
    transition: transform .3s var(--ease);
}

.slot__play .icon {
    width: 28px;
    height: 28px;
}

.slot__label {
    position: absolute;
    top: calc(50% + 42px);
    right: 6px;
    left: 6px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.slot:hover .slot__hover,
.slot:focus-visible .slot__hover {
    opacity: 1;
}

.slot:hover .slot__play,
.slot:focus-visible .slot__play {
    transform: translate(-50%, -50%);
}

.slot:hover img {
    transform: scale(1.05);
}

.slot__name {
    overflow: hidden;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slot__provider {
    color: var(--c-muted);
    font-size: 13px;
}

/* На телефоне — 4 ряда по 2, остальное в лобби по кнопке */
@media (max-width: 559px) {
    .shelf > li:nth-child(n + 9) {
        display: none;
    }
}

@media (min-width: 560px) {
    .shelf {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .shelf {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px 16px;
    }
}

@media (min-width: 1200px) {
    .shelf {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ---------- Провайдеры ---------- */

.arrow-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1.5px solid var(--c-border);
    border-radius: 50%;
    background: var(--c-bg);
    cursor: pointer;
}

.arrow-btn .icon {
    width: 18px;
    height: 18px;
}

.arrow-btn--prev .icon {
    transform: rotate(90deg);
}

.arrow-btn--next .icon {
    transform: rotate(-90deg);
}

.arrow-btn:not(:disabled):hover {
    border-color: var(--c-text);
}

.arrow-btn:disabled {
    cursor: default;
    opacity: .35;
}

.b-providers.is-static .band__arrows {
    visibility: hidden;
}

.maker-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.maker-strip::-webkit-scrollbar {
    display: none;
}

.maker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    scroll-snap-align: start;
}

.maker__logo,
.maker__mono {
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: calc(var(--r-sm) - 1px);
}

/* Логотипы библиотеки рассчитаны на тёмный фон — подложка тёмная в любой схеме */
.maker__logo {
    padding: 4px;
    background: var(--c-surface-2);
    object-fit: contain;
}

[data-scheme="light"] .maker__logo {
    background: var(--c-text);
}

.maker__mono {
    display: grid;
    place-items: center;
    background: var(--c-text);
    color: var(--c-bg);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
}

.maker__name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- CTA-полоса ---------- */

.marquee {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 24px 20px;
    overflow: hidden;
    border-radius: var(--r-lg);
    background:
        repeating-linear-gradient(-55deg, transparent 0 22px, color-mix(in srgb, var(--c-accent-ink) 7%, transparent) 22px 44px),
        var(--c-accent);
    color: var(--c-accent-ink);
}

.marquee__body {
    min-width: 0;
}

.marquee__title {
    font-size: clamp(24px, 1.6vw + 17px, 36px);
    font-weight: 800;
    letter-spacing: -.03em;
}

.marquee__text {
    max-width: 60ch;
    margin-top: 6px;
    opacity: .85;
}

.marquee__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.marquee__note {
    font-size: 12px;
    opacity: .75;
}

@media (min-width: 768px) {
    .marquee {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 32px;
        padding: 30px 36px;
    }

    .marquee__action {
        align-items: center;
    }
}

/* ---------- Быстрые факты ---------- */

.factsheet {
    padding: 16px 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}

.factsheet__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 17px;
}

.factsheet__title .icon {
    color: var(--c-accent);
}

.factsheet__list {
    display: grid;
    column-gap: 32px;
}

.factsheet__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--c-border);
    font-size: 14px;
}

.factsheet__row:last-child {
    border-bottom: 0;
}

.factsheet__row dt {
    color: var(--c-muted);
}

.factsheet__row dd {
    margin-left: auto;
    font-weight: 700;
    text-align: right;
}

@media (min-width: 768px) {
    .zone__main .factsheet__list {
        grid-template-columns: 1fr 1fr;
    }

    .zone__main .factsheet__row:nth-last-child(2):nth-child(odd) {
        border-bottom: 0;
    }
}

/* ---------- Оглавление ---------- */

.contents {
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}

.contents__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    cursor: pointer;
    list-style: none;
}

.contents__head::-webkit-details-marker {
    display: none;
}

.contents__title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.contents__count {
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 12px;
    font-weight: 800;
}

.contents__chevron {
    margin-left: auto;
    color: var(--c-muted);
    transition: transform .25s var(--ease);
}

.contents[open] .contents__chevron {
    transform: rotate(180deg);
}

.contents__nav {
    padding: 0 8px 10px;
}

.contents__list {
    counter-reset: toc;
    border-top: 1px solid var(--c-border);
    padding-top: 6px;
}

.contents__list a {
    position: relative;
    display: flex;
    gap: 10px;
    padding: 6px 8px;
    border-radius: var(--r-sm);
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.35;
    transition: background-color .15s, color .15s;
}

.contents__list a::before {
    counter-increment: toc;
    content: counter(toc, decimal-leading-zero);
    flex: none;
    min-width: 20px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.contents__list a:hover {
    background: var(--ink-soft);
    color: var(--c-text);
}

.contents__list a.is-active {
    background: color-mix(in srgb, var(--c-accent) 16%, transparent);
    color: var(--c-text);
    font-weight: 600;
}

.contents__list a.is-active::before {
    color: var(--c-accent);
}

.zone__slot .contents__nav {
    max-height: max(180px, calc(100vh - var(--bar-h) - 330px));
    overflow-y: auto;
    scrollbar-width: thin;
}

/* ---------- Текст раздела ---------- */

.rt__body,
.rt__html {
    min-width: 0;
}

.rt__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.rt__title::before {
    counter-increment: chapter;
    content: counter(chapter, decimal-leading-zero);
    padding: 2px 8px;
    border: 1.5px solid currentColor;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.5;
}

.prose {
    color: color-mix(in srgb, var(--c-text) 88%, var(--c-muted));
}

.prose > * + * {
    margin-top: 14px;
}

.prose h3 {
    margin-top: 22px;
    color: var(--c-text);
    font-size: clamp(19px, .5vw + 16px, 22px);
}

.prose h3 + * {
    margin-top: 8px;
}

.prose > :first-child {
    margin-top: 0;
}

.prose a {
    color: var(--c-text);
    text-decoration: underline;
    text-decoration-color: var(--c-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.prose strong {
    color: var(--c-text);
}

.prose ul,
.prose ol {
    display: grid;
    gap: 6px;
}

.prose ul li {
    position: relative;
    padding-left: 22px;
}

.prose ul li::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 4px;
    width: 8px;
    height: 3px;
    border-radius: 2px;
    background: var(--c-accent);
}

.prose ol {
    counter-reset: li;
}

.prose ol li {
    position: relative;
    padding-left: 32px;
}

.prose ol li::before {
    counter-increment: li;
    content: counter(li);
    position: absolute;
    top: .15em;
    left: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 12px;
    font-weight: 800;
}

.prose blockquote {
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--c-accent);
    color: var(--c-text);
    font-family: var(--font-heading);
    font-size: 19px;
}

.prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 15px;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-border);
    text-align: left;
    vertical-align: top;
}

.prose thead th {
    border-bottom: 2px solid var(--c-text);
    color: var(--c-text);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.prose > .rt__figure {
    margin-block: 20px;
}

.rt__figure {
    display: flex;
    justify-content: center;
}

.rt__figure img {
    width: auto;
    max-width: min(100%, 760px);
    height: auto;
    border-radius: var(--r-lg);
    box-shadow: 0 1px 3px rgb(0 0 0 / .12);
}

/* ---------- Бонусы-купоны ---------- */

.coupons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.coupon {
    display: flex;
    flex-direction: column;
}

.coupon__face,
.coupon__stub {
    border: 1px solid var(--c-border);
    background: var(--c-surface);
}

.coupon__face {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 16px;
    border-bottom: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.coupon__stub {
    padding: 14px 18px 16px;
    border-top: 2px dashed var(--c-border);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.coupon__tag {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: var(--r-sm);
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.coupon__amount {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.coupon__title {
    font-size: 17px;
}

.coupon__text {
    color: var(--c-muted);
    font-size: 14px;
}

.coupon__terms {
    margin-top: 8px;
    color: var(--c-muted);
    font-size: 12px;
    text-align: center;
}

.coupon--hot .coupon__face,
.coupon--hot .coupon__stub {
    border-color: var(--c-accent);
    background: var(--c-accent);
    color: var(--c-accent-ink);
}

.coupon--hot .coupon__stub {
    border-top-color: color-mix(in srgb, var(--c-accent-ink) 35%, transparent);
}

.coupon--hot .coupon__text,
.coupon--hot .coupon__terms {
    color: inherit;
    opacity: .8;
}

.coupon--hot .coupon__tag {
    background: var(--c-accent-ink);
    color: var(--c-accent);
}

/* ---------- Шаги ---------- */

.route {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    counter-reset: none;
}

.route__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0 0;
    border-top: 3px solid var(--c-text);
}

.route__num {
    color: transparent;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    -webkit-text-stroke: 1.5px var(--c-accent);
}

.route__title {
    font-size: 18px;
}

.route__text {
    color: var(--c-muted);
    font-size: 15px;
}

/* ---------- Платежи ---------- */

.ledger {
    container-type: inline-size;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
}

.ledger table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.ledger th,
.ledger td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border);
    text-align: left;
}

.ledger tbody tr:last-child > * {
    border-bottom: 0;
}

.ledger thead th {
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ledger tbody tr:nth-child(even) {
    background: var(--ink-soft);
}

.ledger td {
    font-weight: 600;
}

.ledger__method {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ledger__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: var(--r-sm);
    background: color-mix(in srgb, var(--c-accent) 18%, transparent);
    color: var(--c-text);
}

.ledger__name {
    display: block;
    font-weight: 700;
}

.ledger__type {
    display: block;
    color: var(--c-muted);
    font-size: 13px;
    font-weight: 500;
}

@container (max-width: 560px) {
    .ledger thead {
        display: none;
    }

    .ledger table,
    .ledger tbody,
    .ledger tr,
    .ledger th,
    .ledger td {
        display: block;
    }

    .ledger tr {
        padding: 12px 14px;
        border-bottom: 1px solid var(--c-border);
    }

    .ledger tbody tr:last-child {
        border-bottom: 0;
    }

    .ledger th,
    .ledger td {
        padding: 0;
        border: 0;
    }

    .ledger th {
        margin-bottom: 8px;
    }

    .ledger td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 3px 0;
        font-size: 14px;
    }

    .ledger td::before {
        content: attr(data-label);
        color: var(--c-muted);
        font-weight: 500;
    }
}

/* ---------- Плюсы и минусы ---------- */

.scales {
    display: grid;
    gap: 14px;
}

.scales__col {
    padding: 16px 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}

.scales__col--pro {
    box-shadow: inset 0 4px 0 var(--c-success);
}

.scales__col--con {
    box-shadow: inset 0 4px 0 var(--c-danger);
}

.scales__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 18px;
}

.scales__sign {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.scales__col--pro .scales__sign {
    background: var(--c-success);
    color: var(--c-bg);
}

.scales__col--con .scales__sign {
    background: var(--c-danger);
    color: var(--c-bg);
}

.scales__list {
    display: grid;
    gap: 8px;
}

.scales__list li {
    display: flex;
    gap: 10px;
    font-size: 15px;
}

.scales__list .icon {
    width: 17px;
    height: 17px;
    margin-top: 3px;
}

.scales__col--pro .icon {
    color: var(--c-success);
}

.scales__col--con .icon {
    color: var(--c-danger);
}

@media (min-width: 640px) {
    .scales {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Отзывы ---------- */

.tally {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tally__value {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.tally__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--c-muted);
    font-size: 13px;
}

.quotes {
    display: grid;
    gap: 14px;
}

.quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background: var(--c-surface);
}

.quote__text {
    position: relative;
    padding-top: 22px;
    font-size: 15px;
}

.quote__text::before {
    content: "\201C";
    position: absolute;
    top: -14px;
    left: -2px;
    color: var(--c-accent);
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.quote__by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote__avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    background: var(--c-text);
    color: var(--c-bg);
    font-size: 13px;
    font-weight: 800;
}

.quote__who {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
}

.quote__who small {
    color: var(--c-muted);
    font-size: 12px;
}

@media (min-width: 640px) {
    .quotes {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

/* ---------- Приложение ---------- */

.appcard {
    display: grid;
    gap: 20px;
    padding: 22px 20px 0;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    background:
        radial-gradient(90% 80% at 100% 100%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 60%),
        var(--c-surface);
}

.appcard__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.appcard__body .eyebrow {
    margin-bottom: -6px;
}

.appcard__text {
    color: var(--c-muted);
}

.checks {
    display: grid;
    gap: 8px;
}

.checks li {
    display: flex;
    gap: 10px;
}

.checks .icon {
    margin-top: 4px;
    color: var(--c-success);
}

.appcard__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: var(--r-sm);
    background: var(--c-text);
    color: var(--c-bg);
    font-weight: 700;
    line-height: 1.2;
    transition: transform .18s var(--ease);
}

.store-btn:hover {
    transform: translateY(-2px);
}

.store-btn .icon {
    width: 24px;
    height: 24px;
}

.store-btn small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: .75;
}

.appcard__note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--c-muted);
    font-size: 14px;
}

.appcard__note strong {
    color: var(--c-text);
}

.appcard__visual {
    display: flex;
    justify-content: center;
    align-self: end;
}

.handset {
    width: 210px;
    padding: 9px 9px 0;
    border: 1px solid var(--c-border);
    border-bottom: 0;
    border-radius: 34px 34px 0 0;
    background: var(--c-text);
}

.handset__screen {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 250px;
    padding: 14px 12px 0;
    border-radius: 26px 26px 0 0;
    background: var(--c-bg);
}

.handset__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
}

.handset__logo {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--c-accent);
    color: var(--c-accent-ink);
}

.handset__logo .icon {
    width: 13px;
    height: 13px;
}

.handset__brand {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.handset__promo {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 10px;
    background: var(--c-accent);
    color: var(--c-accent-ink);
    font-size: 10px;
    font-weight: 700;
}

.handset__promo strong {
    font-family: var(--font-heading);
    font-size: 20px;
}

.handset__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.handset__tiles i {
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--c-surface-2);
}

.handset__tiles i:nth-child(2),
.handset__tiles i:nth-child(4) {
    background: color-mix(in srgb, var(--c-accent-2) 45%, var(--c-surface-2));
}

.handset__nav {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
    padding: 8px 0;
    border-top: 1px solid var(--c-border);
}

.handset__nav i {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-border);
}

@media (min-width: 768px) {
    .appcard {
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 28px;
        padding: 28px 28px 0;
    }

    .appcard__body {
        padding-bottom: 28px;
    }
}

/* ---------- FAQ ---------- */

.qa {
    border-top: 2px solid var(--c-text);
}

.qa__item {
    border-bottom: 1px solid var(--c-border);
}

.qa__q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 2px;
    cursor: pointer;
    list-style: none;
}

.qa__q::-webkit-details-marker {
    display: none;
}

.qa__q h3 {
    flex: 1;
    font-size: clamp(16px, .3vw + 15px, 18px);
    font-weight: 700;
    letter-spacing: -.01em;
    transition: color .15s;
}

.qa__q:hover h3 {
    color: color-mix(in srgb, var(--c-text) 75%, var(--c-accent));
}

.qa__toggle {
    position: relative;
    width: 32px;
    height: 32px;
    flex: none;
    border: 1.5px solid var(--c-border);
    border-radius: 50%;
    transition: transform .3s var(--ease), background-color .2s, border-color .2s;
}

.qa__toggle::before,
.qa__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: currentColor;
}

.qa__toggle::after {
    transform: rotate(90deg);
}

.qa__item[open]:not(.is-closing) .qa__toggle {
    border-color: var(--c-accent);
    background: var(--c-accent);
    color: var(--c-accent-ink);
    transform: rotate(45deg);
}

.qa__body {
    padding: 0;
}

.qa__a {
    max-width: 72ch;
    padding: 0 48px 18px 2px;
}

/* ---------- Автор ---------- */

.byline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--c-border);
    border-top: 3px solid var(--c-text);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    background: var(--c-surface);
}

.byline__avatar {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-accent-ink);
}

.byline__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.byline__avatar span {
    display: grid;
    place-items: center;
    height: 100%;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
}

.byline__body {
    min-width: 0;
}

.byline__label {
    color: var(--c-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.byline__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.byline__name a {
    text-decoration: underline;
    text-decoration-color: var(--c-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.byline__name a:hover {
    text-decoration-color: var(--c-text);
}

.byline__role {
    color: var(--c-muted);
    font-size: 14px;
}

.byline__bio {
    margin-top: 8px;
    font-size: 15px;
}

.byline__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px dashed var(--c-border);
    color: var(--c-muted);
    font-size: 13px;
}

.byline__meta li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.byline__meta .icon {
    width: 16px;
    height: 16px;
    color: var(--c-accent);
}

@media (min-width: 768px) {
    .byline {
        padding: 22px 24px;
        gap: 20px;
    }

    .byline__avatar {
        width: 76px;
        height: 76px;
    }

    .byline__meta {
        grid-column: 2;
    }
}

/* ---------- Футер ---------- */

.colophon {
    margin-top: calc(var(--sec) * 2);
    padding: 34px 0 calc(22px + env(safe-area-inset-bottom));
    border-top: 4px solid var(--c-accent);
    background: var(--c-surface);
    font-size: 14px;
}

.colophon__grid {
    display: grid;
    gap: 26px;
}

.colophon__about {
    display: flow-root;
    max-width: 560px;
}

.brand--foot {
    float: left;
    margin: 4px 16px 6px 0;
}

.brand--foot .brand__mark {
    width: 56px;
    height: 56px;
}

.brand--foot .brand__wordmark {
    height: 44px;
}

.colophon__name {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
}

.colophon__text {
    color: var(--c-muted);
}

.colophon__title {
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.15;
}

.colophon__col ul {
    display: grid;
    gap: 7px;
}

.colophon__col a {
    color: var(--c-muted);
    transition: color .15s;
}

.colophon__col a:hover {
    color: var(--c-text);
}

.colophon__pay {
    display: flex;
    gap: 8px;
    margin-top: 26px;
    padding-top: 22px;
    overflow-x: auto;
    border-top: 1px solid var(--c-border);
    scrollbar-width: none;
}

.colophon__pay::-webkit-scrollbar {
    display: none;
}

/* Плитки платёжек светлые в любой схеме, логотипы — в своих цветах */
.colophon__pay li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 46px;
    flex: none;
    padding: 7px 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-bg);
}

[data-scheme="dark"] .colophon__pay li {
    border-color: transparent;
    background: var(--c-text);
}

.colophon__pay img {
    width: 56px;
    height: 30px;
    object-fit: contain;
}

.colophon__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--c-border);
}

.colophon__badges {
    display: flex;
    align-items: center;
    gap: 14px;
}

.colophon__rg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.colophon__rg .icon {
    color: var(--c-success);
}

.colophon__rg:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.colophon__copy {
    color: var(--c-muted);
    font-size: 13px;
}

@media (min-width: 640px) {
    .colophon__grid {
        grid-template-columns: 1fr 1fr;
    }

    .colophon__about {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px) {
    .colophon__pay {
        flex-wrap: wrap;
        overflow: visible;
    }
}

@media (min-width: 1024px) {
    .colophon__grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }

    .colophon__about {
        grid-column: auto;
    }
}

/* ---------- Без анимаций ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
}
