/* ==========================================================================
   Rob Waterhouse — design system
   Токены и размеры сняты 1:1 с Figma «лотто 8»
   ========================================================================== */

:root {
    /* Поверхности */
    --bg:            #080808;
    --bg-deep:       #050505;
    --surface:       #0F0F0F;
    --surface-2:     #111111;
    --surface-3:     #141414;
    --surface-4:     #171717;
    --line:          #242424;
    --line-2:        #222222;

    /* Светлые секции */
    --cream:         #F2EDE8;
    --cream-2:       #F2EFE9;
    --cream-3:       #FAF5F0;
    --cream-line:    #D9D1C7;
    --cream-line-2:  #E0D9D1;
    --cream-line-3:  #E5E0D9;
    --cream-line-4:  #D5D2C9;

    /* Акценты */
    --orange:        #FF5912;
    --orange-alt:    #FF5A12;
    --orange-soft:   #FF9966;
    --orange-pale:   #FFD9BF;
    --red:           #FF4D4D;
    --gold:          #C4A46A;

    /* Текст */
    --text:          #FFFFFF;
    --text-1:        #F2EDE8;
    --text-2:        #EAEAE6;
    --text-3:        #8C8C8C;
    --text-4:        #888880;
    --text-5:        #666666;
    --text-6:        #404040;
    --ink:           #141414;
    --ink-2:         #0B0B0B;
    --ink-3:         #595959;

    /* Типографика */
    --font-display:  'Outfit', 'Trebuchet MS', system-ui, sans-serif;
    --font-body:     'Geist', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-mono:     'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    /* Сетка */
    --page:          1440px;
    --gutter:        80px;
    --radius-sm:     4px;
    --radius:        6px;
    --radius-lg:     8px;
    --radius-xl:     12px;
    --radius-2xl:    16px;

    --header-h:      105px;
}

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

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-radius: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: top .18s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Раскладка ---------- */

.shell { width: 100%; }

.wrap {
    width: 100%;
    max-width: var(--page);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.section { width: 100%; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--cream-2 { background: var(--cream-2); color: var(--ink-2); }
.section--white { background: #FFFFFF; color: var(--ink); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--cream { background: var(--cream-line); }

/* ---------- Типографика ---------- */

.eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    line-height: 15.4px;
    letter-spacing: 1.5px;
    color: var(--orange);
    text-transform: uppercase;
}
.eyebrow--wide { letter-spacing: 2px; }
.eyebrow--12 { font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 0; }

.display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.display .accent { color: var(--orange); }

.h-56 { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 62px; }
.h-52 { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 58px; }
.h-44 { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1.25; }
.h-36 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 42px; }
.h-32 { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 40px; }
.h-28 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 39.2px; }
.h-24 { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 33.6px; }
.h-22 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 30.8px; }
.h-20 { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 25px; }
.h-18 { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 23px; }

.lede   { font-size: 16px; line-height: 24px; color: var(--text-3); }
.body-15 { font-size: 15px; line-height: 22px; color: var(--text-3); }
.body-14 { font-size: 14px; line-height: 19.6px; color: var(--text-3); }
.body-13 { font-size: 13px; line-height: 18.2px; color: var(--text-3); }
.muted-ink { color: var(--ink-3); }

.mono { font-family: var(--font-mono); }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: #FF7034; }

.btn--ghost {
    background: transparent;
    color: var(--text-2);
    box-shadow: inset 0 0 0 1px #FFFFFF;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); }

.btn--outline {
    background: transparent;
    color: var(--text-1);
    box-shadow: inset 0 0 0 1px var(--line);
}
.btn--outline:hover { background: var(--surface-4); }

.btn--lg { padding: 14px 24px; font-size: 14px; line-height: 18px; text-transform: uppercase; }
.btn--md { padding: 8px 16px; font-size: 12px; line-height: 16px; text-transform: uppercase; }
.btn--block { width: 100%; }
.btn--form { padding: 14px 20px; font-size: 15px; line-height: 21px; }

.link-accent {
    color: var(--orange);
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.link-accent:hover { text-decoration: underline; }

/* ---------- Бейджи ---------- */

.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
}
.badge-18--soft {
    background: rgba(255,77,77,.08);
    box-shadow: inset 0 0 0 1px var(--red);
    color: var(--red);
}
.badge-betstop {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 2px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 15.4px;
}
.badge-betstop--soft {
    background: rgba(255,77,77,.08);
    box-shadow: inset 0 0 0 1px var(--red);
    color: var(--red);
}

/* ==========================================================================
   Верхняя полоса ответственной игры
   ========================================================================== */

.rw-strip {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    line-height: 15.4px;
    color: var(--text-3);
}
.rw-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 40px;
    padding-block: 10px;
}
.rw-strip__left,
.rw-strip__right { display: flex; align-items: center; gap: 12px; }
.rw-strip__right { gap: 8px; }
.rw-strip__link {
    color: var(--text-1);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.rw-strip__link:hover { color: var(--orange); }

/* ==========================================================================
   Шапка
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 65px;
    padding-block: 16px;
}
.brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 20px;
    line-height: 28px;
    color: #fff;
    white-space: nowrap;
}
.brand:hover { color: var(--orange); }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav__link {
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    color: var(--text-1);
    transition: color .16s ease;
}
.site-nav__link:hover { color: var(--orange); }
.site-nav__link.is-active { color: var(--orange); font-weight: 600; }

.account-actions { display: flex; align-items: center; gap: 24px; }
.account-actions__login {
    font-size: 14px;
    font-weight: 600;
    line-height: 19.6px;
    color: var(--text-1);
}
.account-actions__login:hover { color: var(--orange); }

.burger {
    display: none;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: -8px;
}
.burger span {
    display: block;
    position: relative;
    width: 16px; height: 2px;
    background: #fff;
    border-radius: 2px;
}
.burger span::before,
.burger span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 16px; height: 2px;
    background: #fff;
    border-radius: 2px;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

/* ==========================================================================
   Мобильное меню
   ========================================================================== */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s;
}
.mobile-menu.is-open { transform: none; visibility: visible; }

.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    min-height: 64px;
    border-bottom: 1px solid var(--line-2);
}
.mobile-menu__brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: .5px;
}
.mobile-menu__close {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background: var(--surface-2);
    color: #fff;
}
.mobile-menu__auth {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line-2);
}
.mobile-menu__auth .btn {
    flex: 1;
    padding: 12px 0;
    font-size: 13px;
    line-height: 17px;
    border-radius: var(--radius);
}
.mobile-menu__list { padding: 16px; }
.mobile-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 8px;
    border-bottom: 1px solid var(--line-2);
}
.mobile-menu__item-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: #fff;
}
.mobile-menu__item.is-active .mobile-menu__item-label,
.mobile-menu__item.is-active svg { color: var(--orange); }
.mobile-menu__item svg { flex: none; color: var(--text-2); }
.mobile-menu__chev { color: var(--text-4); flex: none; }
.mobile-menu__foot {
    margin-top: auto;
    padding: 20px;
    background: #0A0A0A;
    display: grid;
    gap: 12px;
}
.mobile-menu__foot-row { display: flex; align-items: center; gap: 8px; }
.mobile-menu__foot-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-4);
}
.mobile-menu__foot-note {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-4);
}

/* ==========================================================================
   Главная — герой
   ========================================================================== */

/* Главная: колонка контента 890px + купон 360px (как в макете) */
.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 890px) 360px;
    gap: 30px;
    align-items: start;
}
.home-col { display: grid; align-content: start; min-width: 0; }
.section-block--pad-48 { padding-block: 48px 24px; }
.section-block--pad-32 { padding-block: 32px 24px; }
.betslip--home { top: calc(var(--header-h) + 24px); }

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: inset 0 0 0 1px var(--line-2);
    padding: 40px 48px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(8,8,8,.55);
}
.hero__body { display: grid; gap: 12px; }
.hero__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 56px;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    max-width: 794px;
}
.hero__text {
    font-size: 16px;
    line-height: 1.5;
    color: #E1E1E1;
    max-width: 794px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.section-head { display: grid; gap: 8px; }
.section-head__title { color: #fff; }
.section-head__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-4);
}

/* ---------- Карточки событий (главная) ---------- */

.event-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.event-card {
    display: grid;
    gap: 16px;
    padding: 16px 24px;
    background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    border-radius: var(--radius-xl);
}
.event-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.event-card__meta {
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--text-4);
    text-transform: uppercase;
}
.event-card__time {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--orange-alt);
    text-transform: uppercase;
}
.event-card__teams { display: grid; gap: 8px; }
.event-card__team {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 30px;
    color: var(--text-2);
    text-transform: uppercase;
}
.event-card__vs {
    font-size: 14px;
    line-height: 18px;
    color: var(--text-4);
}
.event-card__odds {
    border-top: 1px solid var(--line-2);
    padding-top: 12px;
    display: grid;
    gap: 10px;
}
.odds-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    color: var(--text-4);
    text-transform: uppercase;
}
.odds-row { display: flex; gap: 12px; }

/* Кнопка коэффициента */
.odds-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    min-height: 38px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line-2);
    border-radius: var(--radius);
    transition: background-color .16s ease, box-shadow .16s ease;
}
.odds-btn__name {
    font-size: 13px;
    line-height: 17px;
    color: var(--text-4);
}
.odds-btn__value {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
    color: var(--orange-alt);
}
.odds-btn:hover { background: var(--surface-4); box-shadow: inset 0 0 0 1px #3A3A3A; }
.odds-btn.is-selected {
    background: var(--orange-alt);
    box-shadow: inset 0 0 0 2px var(--orange-alt);
}
.odds-btn.is-selected .odds-btn__name,
.odds-btn.is-selected .odds-btn__value { color: #fff; }

/* ---------- Список популярных рынков ---------- */

.market-table {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border-bottom: 1px solid var(--line-2);
}
.market-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    min-height: 58px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line-2);
}
.market-row:last-child { border-bottom: 0; }
.market-row__left { display: flex; align-items: center; gap: 16px; width: 340px; flex: none; min-width: 0; }
.market-row__time {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--orange-alt);
}
.market-row__info { display: grid; gap: 2px; min-width: 0; }
.market-row__league {
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
    color: var(--text-4);
    text-transform: uppercase;
}
.market-row__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    line-height: 19px;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.market-row__odds { display: flex; gap: 8px; flex: 1; }

/* ---------- Next to jump ---------- */

.ntj__head {
    background: var(--orange-alt);
    padding: 16px;
    display: flex;
    align-items: center;
}
.ntj__head h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 28px;
    line-height: 35px;
    color: #fff;
    padding-inline: 16px;
    text-transform: uppercase;
}
.ntj__list { background: var(--bg); padding-block: 16px; display: grid; gap: 1px; }
.ntj__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 24px;
    min-height: 67px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line-2);
}
.ntj__row:last-child { border-bottom: 0; }
.ntj__left { display: flex; align-items: center; gap: 16px; }
.ntj__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 800;
    line-height: 14px;
    background: var(--line-2);
    color: var(--text-2);
}
.ntj__code--thoroughbred { background: rgba(196,164,106,.13); color: var(--gold); }
.ntj__meta { display: grid; gap: 4px; }
.ntj__track {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    line-height: 23px;
    color: #fff;
}
.ntj__track span { font-size: 14px; color: var(--text-4); }
.ntj__tip { font-size: 12px; line-height: 16px; color: var(--text-4); }
.ntj__right { display: flex; align-items: center; gap: 24px; }
.ntj__mins {
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 20px;
    line-height: 26px;
    color: var(--orange-alt);
}
.ntj__btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--text-2);
}
.ntj__btn:hover { background: var(--surface-4); }

/* ---------- Выбор Sports / Racing ---------- */

.category-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}
.category-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    padding: 48px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.category-card__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
}
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(11,11,11,.60);
}
.category-card--racing::after { background: rgba(11,11,11,.70); }
.category-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    line-height: 45px;
    color: var(--text-2);
    text-transform: uppercase;
}
.category-card__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-4);
    max-width: 380px;
}
.category-card--racing .category-card__text {
    font-size: 14px;
    color: rgba(235,235,229,.8);
    max-width: none;
}

/* ---------- Ценности бренда ---------- */

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 31px;
}
.value-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 36px;
    border-radius: var(--radius-xl);
    min-height: 300px;
}
.value-card__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 40px;
    line-height: 50px;
}
.value-card__body { display: grid; gap: 8px; }
.value-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 25px;
}
.value-card__text { font-size: 14px; line-height: 1.5; }
.value-card--01 { background: var(--orange-alt); color: #fff; }
.value-card--01 .value-card__text { color: var(--text-2); }
.value-card--02 { background: var(--cream-2); color: var(--ink-2); }
.value-card--02 .value-card__text { color: rgba(11,11,11,.8); }
.value-card--03 {
    background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: #fff;
}
.value-card--03 .value-card__num { color: var(--orange-alt); }
.value-card--03 .value-card__text { color: var(--text-4); }

/* ==========================================================================
   Блок ответственной игры (общий)
   ========================================================================== */

.rg-block { background: var(--cream-2); color: var(--ink-2); }
.rg-block__inner { padding-block: 96px; display: grid; gap: 48px; }
.rg-grid {
    display: grid;
    grid-template-columns: 512px minmax(0, 1fr);
    gap: 24px;
}
.rg-left { display: grid; gap: 16px; align-content: start; }
.rg-left__kicker {
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    color: var(--orange-alt);
}
.rg-left__sub {
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: .6px;
    color: rgba(11,11,11,.6);
    text-transform: uppercase;
}
.rg-left__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 44px;
    line-height: 1.25;
    color: var(--ink-2);
    text-transform: uppercase;
}
.rg-left__title .accent { color: var(--orange-alt); }
.rg-left__text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(11,11,11,.7);
}
.rg-right { display: grid; gap: 16px; align-content: start; }
.rg-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rg-tool {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(229,224,217,.5);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: grid;
    gap: 12px;
    align-content: start;
}
.rg-tool__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 25px;
    color: var(--ink-2);
}
.rg-tool__text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(11,11,11,.6);
}
.rg-tool--wide { grid-column: 1 / -1; }
.rg-tool--wide .rg-tool__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
}
.rg-tool--wide .rg-tool__text { color: rgba(11,11,11,.7); }

.rg-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--cream-line-4);
    border-radius: var(--radius-lg);
}
.rg-support__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--ink-2);
}
.rg-support__links { display: flex; align-items: center; gap: 24px; }
.rg-support__phone {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    line-height: 20px;
    color: var(--orange-alt);
}
.rg-support__site {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: var(--ink-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.site-footer { background: var(--bg); }
.footer-top {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 80px;
    padding-block: 64px;
}
.footer-brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 34.1px;
    color: #fff;
}
.footer-brand__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 21.7px;
    color: #8C8C8C;
}
.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 48px;
    flex-wrap: wrap;
}
.footer-col { display: grid; gap: 14px; align-content: start; }
.footer-col__title {
    font-size: 11px;
    font-weight: 700;
    line-height: 17.05px;
    color: #A6A6A6;
    text-transform: uppercase;
    white-space: pre-line;
}
.footer-col a {
    font-size: 13px;
    line-height: 20.15px;
    color: #8C8C8C;
}
.footer-col a:hover { color: var(--orange); }

.footer-pay { padding-block: 48px; display: grid; gap: 40px; }
.footer-pay__title,
.footer-op__title {
    font-size: 11px;
    font-weight: 700;
    line-height: 17.05px;
    color: var(--text-5);
    text-transform: uppercase;
}
.footer-pay__logos { margin-top: 16px; width: 300px; max-width: 100%; }
.footer-pay__debit {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.debit-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--orange-alt);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 17.05px;
}
.footer-pay__debit p {
    font-size: 12px;
    line-height: 18.6px;
    color: var(--text-5);
    max-width: 551px;
}
.footer-op { padding-block: 40px; display: grid; gap: 12px; }
.footer-op p {
    font-size: 13px;
    line-height: 20.15px;
    color: #8C8C8C;
}
.footer-rg { padding-block: 40px; }
.footer-rg__panel {
    background: #0D0D0D;
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: grid;
    gap: 20px;
}
.footer-rg__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 34px;
    border-radius: var(--radius-sm);
    background: var(--orange-alt);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
}
.footer-rg__lead {
    font-size: 14px;
    font-weight: 600;
    line-height: 21.7px;
    color: #fff;
}
.footer-rg__panel p {
    font-size: 13px;
    line-height: 20.15px;
    color: #8C8C8C;
}
.footer-rg__panel a { color: #8C8C8C; text-decoration: underline; text-underline-offset: 2px; }
.footer-rg__panel a:hover { color: var(--orange); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 24px;
    min-height: 72px;
}
.footer-bottom p { font-size: 12px; line-height: 18.6px; color: var(--text-5); }
.footer-bottom .small-18 {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--orange-alt);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 17.05px;
}

/* ==========================================================================
   Рабочая область Sports / Racing
   ========================================================================== */

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 48px;
    align-items: start;
}
.workspace__main { display: grid; gap: 32px; }

.page-intro { display: grid; gap: 8px; }
.page-intro__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    line-height: 50.4px;
    color: #fff;
}
.page-intro__text { font-size: 14px; line-height: 19.6px; color: var(--text-3); }

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.filter-group { display: flex; align-items: center; gap: 12px; }
.filter-group__label {
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 1px;
    color: var(--text-5);
    text-transform: uppercase;
    white-space: nowrap;
}
.chips { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    min-height: 29px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-3);
    font-size: 12px;
    font-weight: 500;
    line-height: 16.8px;
    transition: background-color .16s ease, color .16s ease;
}
.chip:hover { background: var(--surface-4); color: var(--text-1); }
.chip.is-active { background: var(--orange); color: #fff; font-weight: 700; }

/* Карточки популярных событий */
.pop-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.pop-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius);
    align-content: start;
}
.pop-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.pop-card__meta { font-size: 11px; font-weight: 500; line-height: 15.4px; color: var(--text-3); }
.pop-card__time {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 15.4px;
    color: var(--orange);
}
.pop-card__teams { display: grid; gap: 2px; }
.pop-card__team { font-size: 16px; font-weight: 700; line-height: 22.4px; color: #fff; }
.pop-card__vs { font-size: 12px; line-height: 16.8px; color: var(--text-5); }
.pop-card__label {
    font-size: 10px;
    font-weight: 800;
    line-height: 14px;
    letter-spacing: 1px;
    color: var(--text-5);
    text-transform: uppercase;
}
.pop-card__odds { display: flex; gap: 8px; }

.odds-btn--sm {
    padding: 8px 12px;
    min-height: 38px;
    background: var(--surface-4);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius-sm);
    gap: 8px;
}
.odds-btn--sm .odds-btn__name { font-size: 12px; font-weight: 500; line-height: 16.8px; color: var(--text-1); }
.odds-btn--sm .odds-btn__value { font-size: 14px; line-height: 19.6px; color: var(--orange); }
.odds-btn--sm.is-selected { background: var(--orange); box-shadow: none; }

/* Лиги и строки событий */
.league { display: grid; }
.league__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    min-height: 47px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: left;
}
.league__title { display: flex; align-items: center; gap: 12px; }
.league__accent {
    width: 3px; height: 20px;
    border-radius: 2px;
    background: var(--orange);
    flex: none;
}
.league__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    line-height: 22.4px;
    color: #fff;
}
.league__sub { font-size: 12px; font-weight: 500; line-height: 16.8px; color: var(--text-3); }
.league__toggle {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-5);
    transition: transform .2s ease;
}
.league.is-collapsed .league__toggle { transform: rotate(-90deg); }
.league.is-collapsed .league__body { display: none; }

.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    min-height: 60px;
    border-bottom: 1px solid var(--line);
}
.event-row__time {
    width: 110px;
    flex: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    line-height: 15.4px;
    color: var(--orange);
}
.event-row__teams { flex: 1; display: grid; gap: 1px; min-width: 0; }
.event-row__team {
    font-size: 13px;
    font-weight: 600;
    line-height: 18.2px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.event-row__odds { display: flex; align-items: center; gap: 8px; flex: none; }
.odds-btn--row {
    width: 120px;
    flex: none;
    padding: 6px 10px;
    min-height: 33px;
    background: var(--surface-4);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: 3px;
    gap: 8px;
}
.odds-btn--row .odds-btn__name { font-size: 11px; font-weight: 500; line-height: 15.4px; color: var(--text-3); }
.odds-btn--row .odds-btn__value { font-size: 13px; line-height: 18.2px; color: var(--text-1); }
.odds-btn--row.is-selected { background: var(--orange); box-shadow: none; }
.odds-btn--row.is-selected .odds-btn__name,
.odds-btn--row.is-selected .odds-btn__value { color: #fff; }
.odds-btn--three { width: 90px; }
.markets-link {
    padding-inline: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 15.4px;
    color: var(--text-3);
    white-space: nowrap;
}
.markets-link:hover { color: var(--orange); }

/* ---------- Racing ---------- */

.meetings { display: grid; }
.meeting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 16px;
    min-height: 72px;
    border-bottom: 1px solid var(--line);
}
.meeting-row__left { display: flex; align-items: center; gap: 12px; width: 200px; flex: none; }
.type-ind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
    line-height: 15px;
    background: var(--line);
    color: var(--text-1);
    flex: none;
}
.type-ind--horse     { background: rgba(196,164,106,.15); color: var(--gold); }
.type-ind--greyhound { background: rgba(255,89,18,.15);   color: var(--orange); }
.type-ind--harness   { background: rgba(140,140,140,.18); color: var(--text-1); }
.meeting-row__track { display: flex; align-items: baseline; gap: 8px; }
.meeting-row__name { font-size: 13px; font-weight: 700; line-height: 19px; color: #fff; }
.meeting-row__state { font-size: 10px; font-weight: 500; color: var(--text-5); }
.meeting-row__kind { font-size: 11px; line-height: 15px; color: var(--text-3); }
.race-buttons { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.race-btn {
    display: grid;
    gap: 1px;
    justify-items: center;
    padding: 6px 8px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .16s ease;
}
.race-btn__no { font-size: 10px; font-weight: 700; line-height: 14px; color: var(--text-1); }
.race-btn__time { font-family: var(--font-mono); font-size: 10px; font-weight: 700; line-height: 14px; color: var(--text-3); }
.race-btn:hover { background: var(--surface-4); }
.race-btn.is-active { background: var(--orange); box-shadow: none; }
.race-btn.is-active .race-btn__no,
.race-btn.is-active .race-btn__time { color: #fff; }

.race-detail { display: grid; }
.race-detail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}
.race-detail__left { display: flex; align-items: center; gap: 16px; }
.race-detail__accent { width: 3px; height: 28px; border-radius: 2px; background: var(--orange); flex: none; }
.race-detail__track { display: flex; align-items: center; gap: 8px; }
.race-detail__track b { font-size: 11px; font-weight: 800; line-height: 16px; color: #fff; }
.race-detail__track span { font-size: 10px; font-weight: 500; color: var(--text-3); }
.race-detail__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: #fff;
}
.race-detail__meta { display: flex; align-items: center; gap: 16px; }
.race-detail__meta span { font-size: 12px; font-weight: 500; line-height: 20px; color: var(--text-3); }
.race-detail__meta .mono { font-weight: 700; color: var(--text-1); }

.runners__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.runners__head-left { display: flex; align-items: center; gap: 12px; }
.runners__head span,
.runners__head b {
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 1px;
    color: var(--text-5);
    text-transform: uppercase;
}
.runners__head-right { display: flex; gap: 8px; }
.runners__head-right span { width: 100px; text-align: center; }
.runner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
}
.runner-row__left { display: flex; align-items: center; gap: 12px; }
.runner-row__num {
    width: 30px; height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: var(--surface-4);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-1);
    flex: none;
}
.runner-row__name { font-size: 14px; font-weight: 600; line-height: 25px; color: #fff; }
.runner-row__odds { display: flex; gap: 8px; }
.odds-btn--race {
    width: 100px;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 10px;
    min-height: 37px;
    background: var(--surface-4);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius-sm);
}
.odds-btn--race .odds-btn__name { font-size: 11px; font-weight: 500; line-height: 15px; color: var(--text-3); }
.odds-btn--race .odds-btn__value { font-size: 13px; line-height: 18px; color: var(--text-1); }
.odds-btn--race.is-selected { background: var(--orange); box-shadow: none; }
.odds-btn--race.is-selected .odds-btn__name,
.odds-btn--race.is-selected .odds-btn__value { color: #fff; }

/* ==========================================================================
   Купон (Bet slip)
   ========================================================================== */

.betslip {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.betslip__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    min-height: 48px;
    background: var(--surface-4);
}
.betslip__title { display: flex; align-items: center; gap: 8px; }
.betslip__title b {
    font-size: 13px;
    font-weight: 800;
    line-height: 17px;
    letter-spacing: 1px;
    color: #fff;
}
.betslip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    padding: 2px 6px;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
}
.betslip__clear { font-size: 12px; font-weight: 500; color: var(--orange); }
.betslip__clear:hover { text-decoration: underline; }
.betslip__tabs {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    margin: 6px;
}
.betslip__tab {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--text-4);
    text-align: center;
}
.betslip__tab.is-active { background: var(--surface-2); color: #fff; font-weight: 700; }
.betslip__body { padding: 16px; display: grid; gap: 16px; }
.betslip__empty {
    padding: 28px 16px;
    text-align: center;
    font-size: 13px;
    line-height: 19px;
    color: var(--text-3);
}
.betslip-leg {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    box-shadow: inset 0 0 0 1px var(--line-2);
    border-radius: var(--radius-lg);
}
.betslip-leg__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.betslip-leg__info { display: grid; gap: 4px; min-width: 0; }
.betslip-leg__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-2);
}
.betslip-leg__meta { font-size: 11px; line-height: 14px; color: var(--text-4); }
.betslip-leg__remove { color: var(--text-4); flex: none; line-height: 0; }
.betslip-leg__remove:hover { color: var(--orange); }
.betslip-leg__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.stake-input {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    width: 140px;
    background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    border-radius: var(--radius);
}
.stake-input span { font-family: var(--font-mono); font-size: 13px; color: var(--orange); }
.stake-input input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: none;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    -moz-appearance: textfield;
}
.stake-input input::-webkit-outer-spin-button,
.stake-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stake-input input:focus { outline: none; }
.betslip-leg__odds { display: grid; gap: 2px; justify-items: end; }
.betslip-leg__odds span { font-size: 11px; line-height: 14px; color: var(--text-4); }
.betslip-leg__odds b {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 16px;
    line-height: 21px;
    color: var(--orange);
}
.betslip__totals {
    border-top: 1px solid var(--line-2);
    padding-top: 8px;
    display: grid;
    gap: 8px;
}
.betslip__total-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.betslip__total-row span { font-size: 13px; line-height: 17px; color: var(--text-4); }
.betslip__total-row b {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-2);
}
.betslip__total-row--return b { font-weight: 800; font-size: 15px; line-height: 20px; color: var(--orange); }
.betslip__cta {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.betslip__cta:hover { background: #FF7034; }
.betslip__cta:disabled { opacity: .45; cursor: not-allowed; }
.betslip__rg {
    border-top: 1px solid var(--line);
    padding: 16px;
    display: grid;
    gap: 8px;
}
.betslip__rg-row { display: flex; align-items: center; gap: 8px; }
.betslip__rg-row span { font-size: 10px; font-weight: 500; line-height: 14px; color: var(--text-3); }
.betslip__rg p { font-size: 10px; line-height: 14px; color: var(--text-5); }
.betslip__rg a { color: var(--text-5); text-decoration: underline; }

/* Мобильная нижняя панель купона */
.slip-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    min-height: 56px;
    background: #0F0F0F;
    border-top: 2px solid var(--orange);
}
.slip-bar__left { display: flex; align-items: center; gap: 8px; }
.slip-bar__left b {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}
.slip-bar__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    padding: 2px 6px;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
}
.slip-bar__center { display: flex; align-items: center; gap: 8px; }
.slip-bar__center b { font-size: 13px; font-weight: 700; color: #fff; }
.slip-bar__center span {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    color: var(--orange);
}

/* ==========================================================================
   Контентные страницы
   ========================================================================== */

.legal-intro { background: #FFFFFF; color: var(--ink); padding-block: 64px 48px; }
.legal-intro__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 44px;
    line-height: 50px;
    color: var(--ink);
    max-width: 640px;
}
.legal-intro__text {
    margin-top: 12px;
    font-size: 15px;
    line-height: 22px;
    color: var(--ink-3);
}
.legal-intro__meta {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16.8px;
    color: var(--text-5);
}

.legal-article { background: var(--cream); color: var(--ink); padding-block: 40px 72px; }
.legal-col { max-width: 820px; display: grid; gap: 40px; }
.legal-sec { display: grid; gap: 12px; }
.legal-sec__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: var(--orange);
}
.legal-sec__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 30.8px;
    color: var(--ink);
}
.legal-sec p,
.legal-sec li {
    font-size: 15px;
    line-height: 22px;
    color: var(--ink-3);
}
.legal-sec h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    color: var(--ink);
}
.legal-sec ul { display: grid; gap: 0; }
.legal-sec li { padding-left: 16px; position: relative; }
.legal-sec li::before { content: '•'; position: absolute; left: 0; }
.legal-sec + .legal-sec { border-top: 1px solid var(--cream-line); padding-top: 40px; }

.legal-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.legal-table th,
.legal-table td {
    text-align: left;
    padding: 8px 12px 8px 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--ink-3);
    border-bottom: 1px solid var(--cream-line);
    vertical-align: top;
}
.legal-table th { font-weight: 700; color: var(--ink); }
.legal-table td:first-child { font-family: var(--font-mono); font-weight: 700; color: var(--ink); width: 200px; }
.legal-table td:nth-child(2) { width: 240px; }

/* ---------- How it works ---------- */

.hiw-intro {
    display: grid;
    grid-template-columns: 720px minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding-block: 72px;
}
.hiw-intro__left { display: grid; gap: 16px; align-content: center; }
.wager-example {
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    gap: 20px;
}
.wager-example__odds { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.wager-example__odds > div { display: grid; gap: 2px; }
.wager-example__odds > div:last-child { text-align: right; justify-items: end; }
.wager-example__label { font-size: 12px; font-weight: 500; line-height: 16.8px; color: var(--text-3); }
.wager-example__value {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 36px;
    line-height: 50.4px;
    color: #fff;
}
.wager-example__value--accent { color: var(--orange); }
.wager-example__formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface-4);
    border-radius: var(--radius-sm);
    flex-wrap: wrap;
}
.wager-example__formula .mono { font-weight: 700; font-size: 14px; line-height: 19.6px; color: #fff; }
.wager-example__formula .op { font-weight: 700; font-size: 14px; color: var(--orange); }
.wager-example__formula .res {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 16px;
    line-height: 22.4px;
    color: var(--orange);
}
.wager-example__return { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wager-example__return span { font-size: 13px; font-weight: 500; line-height: 18.2px; color: var(--text-3); }
.wager-example__return b {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: var(--orange);
}
.wager-example__note { font-size: 11px; line-height: 15.4px; color: var(--text-5); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 209px;
}
.step-card__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 48px;
    line-height: 67.2px;
    color: var(--cream-line-2);
}
.step-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    color: var(--ink);
}
.step-card__text { font-size: 13px; line-height: 18.2px; color: var(--ink-3); }

.bs-explain {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.slip-demo {
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.slip-demo__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    min-height: 50px;
    background: var(--surface-4);
}
.slip-demo__head b { font-size: 12px; font-weight: 800; letter-spacing: 1px; line-height: 16.8px; }
.slip-demo__badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 15.4px;
}
.slip-demo__sel { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.slip-demo__sel-name { font-size: 14px; font-weight: 600; line-height: 19.6px; color: #fff; }
.slip-demo__sel-meta { font-size: 12px; line-height: 16.8px; color: var(--text-3); }
.slip-demo__sel-odds {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 18px;
    line-height: 25.2px;
    color: var(--orange);
}
.slip-demo__stake { padding: 16px 20px; display: grid; gap: 12px; border-top: 1px solid var(--line); }
.slip-demo__stake > span { font-size: 12px; font-weight: 500; line-height: 16.8px; color: var(--text-3); }
.slip-demo__input {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    min-height: 45px;
    background: var(--surface-4);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius-sm);
}
.slip-demo__input input {
    width: 100%;
    border: 0;
    background: none;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    line-height: 22.4px;
    color: #fff;
}
.slip-demo__input input:focus { outline: none; }
.slip-demo__quick { display: flex; gap: 6px; }
.slip-demo__quick button {
    flex: 1;
    padding: 6px 10px;
    min-height: 28px;
    background: var(--surface-4);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    line-height: 15.4px;
    color: var(--text-3);
}
.slip-demo__quick button.is-active,
.slip-demo__quick button:hover { color: var(--orange); }
.slip-demo__returns {
    border-top: 1px solid var(--line);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.slip-demo__returns span { font-size: 13px; font-weight: 500; line-height: 18.2px; color: var(--text-3); }
.slip-demo__returns b {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 18px;
    line-height: 25.2px;
    color: var(--orange);
}
.slip-demo__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 19.6px;
}
.explain-list { display: grid; gap: 20px; padding-top: 8px; }
.explain-item {
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: grid;
    gap: 6px;
}
.explain-item b { font-size: 14px; font-weight: 600; line-height: 19.6px; color: var(--orange); }
.explain-item p { font-size: 13px; line-height: 18.2px; color: var(--text-3); }

/* ---------- Responsible gambling ---------- */

.rg-hero { padding-block: 72px; }
.rg-hero__inner { max-width: 760px; display: grid; gap: 20px; }
.tool-grid {
    display: grid;
    grid-template-columns: 480px repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.tool-card {
    border-radius: var(--radius);
    padding: 32px 28px;
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 212px;
}
.tool-card__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 56px;
    line-height: 78.4px;
}
.tool-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 26px;
}
.tool-card__text { font-size: 13px; line-height: 18.2px; }
.tool-card--orange { background: var(--orange); color: #fff; }
.tool-card--orange .tool-card__num { color: var(--orange-soft); }
.tool-card--orange .tool-card__text { color: var(--orange-pale); }
.tool-card--white { background: #fff; color: var(--ink); }
.tool-card--white .tool-card__num { color: var(--cream-line); }
.tool-card--white .tool-card__text { color: var(--ink-3); }
.tool-card--dark { background: var(--ink); color: #fff; }
.tool-card--dark .tool-card__num { color: var(--text-6); }
.tool-card--dark .tool-card__text { color: var(--text-3); }
.tool-card--outline {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--cream-line);
    color: var(--ink);
}
.tool-card--outline .tool-card__num { color: var(--orange); }
.tool-card--outline .tool-card__text { color: var(--ink-3); }
.tool-card--pale { background: var(--cream-3); color: var(--ink); }
.tool-card--pale .tool-card__num { color: var(--cream-line); }
.tool-card--pale .tool-card__text { color: var(--ink-3); }

.stat-strip {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    padding-block: 32px;
}
.stat-strip__item {
    flex: 1;
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
    padding-inline: 32px;
    border-right: 1px solid var(--cream-line-2);
}
.stat-strip__item:last-child { border-right: 0; }
.stat-strip__label {
    font-size: 11px;
    font-weight: 800;
    line-height: 15.4px;
    letter-spacing: 1px;
    color: var(--ink-3);
    text-transform: uppercase;
}
.stat-strip__value {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 24px;
    line-height: 33.6px;
    color: var(--ink);
}
.stat-strip__value--accent { color: var(--orange); }

.sub-list { max-width: 820px; }
.sub-item { padding-block: 32px; display: grid; gap: 10px; border-bottom: 1px solid var(--cream-line); }
.sub-item:last-child { border-bottom: 0; }
.sub-item__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 30.8px;
    color: var(--ink);
}
.sub-item p { font-size: 15px; line-height: 22px; color: var(--ink-3); }
.sub-item a { font-size: 13px; font-weight: 600; line-height: 18.2px; color: var(--orange); }
.sub-item a:hover { text-decoration: underline; }

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

.faq-list { display: grid; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item__q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-block: 20px;
    text-align: left;
}
.faq-item__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 39.2px;
    color: var(--text-6);
    flex: none;
    transition: color .16s ease;
}
.faq-item__label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 21px;
    color: var(--text-3);
    transition: color .16s ease;
}
.faq-item__sign {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: var(--text-5);
    flex: none;
}
.faq-item.is-open .faq-item__num,
.faq-item.is-open .faq-item__sign { color: var(--orange); }
.faq-item.is-open .faq-item__label { color: #fff; }
.faq-item__a {
    display: none;
    padding: 0 48px 20px;
}
.faq-item.is-open .faq-item__a { display: block; }
.faq-item__a p { font-size: 14px; line-height: 19.6px; color: var(--text-3); }

/* ---------- Contact / Deposit limits ---------- */

.contact-hero { padding-block: 80px; }
.contact-hero__inner { max-width: 700px; display: grid; gap: 24px; }
.contact-hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 64px;
    line-height: 68px;
    color: #fff;
    text-transform: uppercase;
}
.contact-hero__rule { width: 120px; height: 1px; background: var(--line); }

.contact-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 64px;
    padding-block: 80px;
    align-items: start;
}
.contact-grid__left { display: grid; gap: 16px; }
.contact-grid__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
    color: var(--ink);
    text-transform: uppercase;
}
.form { display: grid; gap: 20px; }
.form__field { display: grid; gap: 4px; }
.form__label { font-size: 13px; font-weight: 500; line-height: 18.2px; color: var(--ink-3); }
.form__control {
    width: 100%;
    padding: 14px 16px;
    min-height: 50px;
    background: #fff;
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 19.6px;
    color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.form__control::placeholder { color: var(--ink-3); }
.form__control:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,89,18,.15);
}
textarea.form__control { min-height: 120px; resize: vertical; }
.form__error { font-size: 12px; line-height: 16px; color: #C0392B; }
.form__control.has-error { border-color: #C0392B; }

.notice {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 20px;
}
.notice--ok    { background: rgba(46,160,67,.12); color: #1E7B31; box-shadow: inset 0 0 0 1px rgba(46,160,67,.35); }
.notice--error { background: rgba(192,57,43,.10); color: #C0392B; box-shadow: inset 0 0 0 1px rgba(192,57,43,.3); }
.notice--dark-ok    { background: rgba(46,160,67,.14); color: #63D97A; box-shadow: inset 0 0 0 1px rgba(46,160,67,.35); }
.notice--dark-error { background: rgba(255,77,77,.12); color: #FF7A7A; box-shadow: inset 0 0 0 1px rgba(255,77,77,.35); }

.limits-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 64px;
    padding-block: 80px;
    align-items: start;
}
.limits-hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 52px;
    line-height: 56px;
    color: var(--ink);
    text-transform: uppercase;
}
.limits-hero__q {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 30.8px;
    color: var(--ink);
}
.limit-card {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: grid;
    gap: 20px;
    color: #fff;
}
.limit-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 33.6px;
    color: #fff;
}
.limit-card__text { font-size: 14px; line-height: 20px; color: var(--text-3); }
.limit-card__label { font-size: 12px; font-weight: 500; line-height: 16.8px; color: var(--text-1); }
.limit-card__input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    min-height: 51px;
    margin-top: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.limit-card__input span { font-size: 15px; font-weight: 500; line-height: 21px; color: var(--text-3); flex: none; }
.limit-card__input input {
    width: 100%;
    border: 0;
    background: none;
    font-size: 15px;
    line-height: 21px;
    color: #fff;
}
.limit-card__input input::placeholder { color: var(--text-5); }
.limit-card__input input:focus { outline: none; }
.limit-card__input:focus-within { border-color: var(--orange); }
.seg {
    display: flex;
    gap: 0;
    padding: 5px;
    margin-top: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.seg__btn {
    flex: 1;
    padding: 10px 0;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    line-height: 18.2px;
    color: var(--text-3);
    text-align: center;
}
.seg__btn.is-active { background: var(--orange); color: #fff; font-weight: 700; }
.limit-card__note { font-size: 13px; font-weight: 500; line-height: 18px; color: var(--text-3); }

/* ==========================================================================
   Модальные окна
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: rgba(8,8,8,.85);
    overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: auto;
    background: var(--surface-3);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    display: grid;
    gap: 24px;
    animation: modal-in .22s ease;
}
.modal__dialog--wide { max-width: 580px; padding: 36px 44px 32px; }
.modal__dialog--code { max-width: 500px; padding: 40px; text-align: center; justify-items: center; gap: 20px; }
.modal__dialog--plain { box-shadow: none; }

@keyframes modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .modal__dialog { animation: none; }
    html { scroll-behavior: auto; }
}

.modal__close {
    position: absolute;
    top: 40px; right: 44px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22.4px;
    color: var(--text-3);
}
.modal__close:hover { color: #fff; }
.modal__brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 14px;
    line-height: 19.6px;
    color: #fff;
}
.modal__kicker {
    font-size: 11px;
    font-weight: 800;
    line-height: 15.4px;
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
}
.modal__title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 36px;
    line-height: 38px;
    color: #fff;
    text-transform: uppercase;
}
.modal__title--reg { font-size: 32px; }
.modal__title--code {
    font-weight: 800;
    font-size: 28px;
    line-height: 39.2px;
    text-transform: none;
}
.modal__text { font-size: 14px; line-height: 20px; color: var(--text-3); }
.modal__rule { height: 1px; background: var(--line); }
.modal__body { display: grid; gap: 20px; }
.modal__section { display: grid; gap: 12px; }
.modal__section-title {
    font-size: 10px;
    font-weight: 800;
    line-height: 12px;
    letter-spacing: 2px;
    color: var(--orange);
    text-transform: uppercase;
}
.modal__grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.modal__hint { font-size: 11px; line-height: 14px; color: var(--text-5); }
.modal__foot {
    text-align: center;
    font-size: 13px;
    line-height: 18.2px;
    color: var(--text-3);
}
.modal__foot a { color: var(--orange); font-weight: 600; }
.modal__foot a:hover { text-decoration: underline; }

.field { display: grid; gap: 5px; }
.field__label { font-size: 12px; font-weight: 500; line-height: 16.8px; color: var(--text-3); }
.field__box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    min-height: 43px;
    background: #0F0F0F;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.field__box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,89,18,.15); }
.field__box.has-error { border-color: var(--red); }
.field__box input,
.field__box select {
    width: 100%;
    min-width: 0;
    border: 0;
    background: none;
    font-size: 13px;
    line-height: 18.2px;
    color: #fff;
    appearance: none;
}
.field__box input::placeholder { color: var(--text-5); }
.field__box input:focus,
.field__box select:focus { outline: none; }
.field__box select option { background: var(--surface-3); color: #fff; }
.field__prefix {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    background: var(--line);
    font-size: 12px;
    font-weight: 600;
    line-height: 16.8px;
    color: var(--text-1);
    flex: none;
}
.field__suffix { flex: none; }
.field__toggle {
    font-size: 11px;
    font-weight: 600;
    line-height: 15.4px;
    color: var(--orange);
    flex: none;
}
.field__caret { color: var(--text-3); flex: none; font-size: 13px; }
.field__error { font-size: 11px; line-height: 14px; color: var(--red); }
.field--tall .field__box { min-height: 47px; padding: 13px 14px; }

.check {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
    width: 16px; height: 16px;
    border-radius: 3px;
    background: #0F0F0F;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    flex: none;
    margin-top: 1px;
}
.check input:checked + .check__box { background: var(--orange); border-color: var(--orange); }
.check input:checked + .check__box::after { content: '✓'; font-weight: 700; }
.check input:focus-visible + .check__box { outline: 2px solid var(--orange); outline-offset: 2px; }
.check__text { font-size: 12px; line-height: 16px; color: var(--text-3); }
.check__text a { color: var(--orange); }
.check--locked { cursor: default; }
.check--locked .check__box { background: var(--orange); border-color: var(--orange); }
.check--locked .check__box::after { content: '✓'; font-weight: 700; }

.code-row { display: flex; gap: 10px; justify-content: center; }
.code-row input {
    width: 56px; height: 68px;
    text-align: center;
    background: #0F0F0F;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}
.code-row input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,89,18,.15); }

.modal__email { font-size: 14px; font-weight: 700; line-height: 19.6px; color: var(--orange); }
.modal__note { font-size: 12px; line-height: 16px; color: var(--text-3); }

/* Возрастной гейт */
.agegate__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 72px;
    line-height: 72px;
    color: var(--orange);
}
.agegate__rgfoot { display: grid; gap: 8px; }
.agegate__rgrow { display: flex; align-items: center; gap: 6px; }
.agegate__rgrow p { font-size: 11px; line-height: 16px; color: var(--text-5); }
.agegate__links { display: flex; gap: 20px; flex-wrap: wrap; }
.agegate__links > div { display: flex; align-items: center; gap: 6px; }
.agegate__links a,
.agegate__links span { font-size: 11px; line-height: 14px; }
.agegate__links a { color: var(--orange); font-weight: 500; }
.agegate__links .mono { color: var(--text-1); font-weight: 700; }
.agegate__links .dim { color: var(--text-5); }

/* Cookie-баннер */
.cookie-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 110;
    background: var(--surface-3);
    border-top: 2px solid var(--orange);
    display: none;
}
.cookie-bar.is-open { display: block; }
.cookie-bar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: center;
    padding-block: 32px;
}
.cookie-bar__left { display: grid; gap: 12px; }
.cookie-bar__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    line-height: 30.8px;
    color: #fff;
}
.cookie-bar__text { font-size: 13px; line-height: 18px; color: var(--text-3); }
.cookie-bar__policy { font-size: 12px; line-height: 16.8px; color: var(--text-3); }
.cookie-bar__policy a { color: var(--orange); font-weight: 600; }
.cookie-bar__cats { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-bar__cats .check__text { font-size: 12px; color: var(--text-1); font-weight: 500; }
.cookie-bar__cats .dim { color: var(--text-5); font-weight: 400; font-size: 11px; }
.cookie-bar__right { display: grid; gap: 10px; }
.cookie-bar__right .btn { padding: 12px 0; font-size: 14px; line-height: 19.6px; }
.cookie-bar__reject {
    font-size: 13px;
    font-weight: 500;
    line-height: 18.2px;
    color: var(--text-3);
    text-align: center;
}
.cookie-bar__reject:hover { color: #fff; }

/* Всплывающие уведомления */
.toasts {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 150;
    display: grid;
    gap: 8px;
    max-width: 340px;
}
.toast {
    padding: 12px 16px;
    background: var(--surface-3);
    box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(0,0,0,.4);
    border-left: 3px solid var(--orange);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 18px;
    color: #fff;
    animation: modal-in .2s ease;
}
.toast--error { border-left-color: var(--red); }
.toast--ok { border-left-color: #2EA043; }

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 1279px) {
    :root { --gutter: 40px; }
    .home-grid { grid-template-columns: minmax(0, 1fr) 320px; }
    .footer-top { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
    .footer-nav { gap: 32px; }
    .rg-grid { grid-template-columns: 1fr; }
    .hiw-intro { grid-template-columns: 1fr; gap: 40px; }
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .limits-hero { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .bs-explain { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1099px) {
    .home-grid { grid-template-columns: minmax(0, 1fr); }
    .betslip--home { display: none; }
    .workspace { grid-template-columns: 1fr; }
    .betslip { display: none; }
    .site-nav, .account-actions { display: none; }
    .burger { display: inline-flex; }
    .slip-bar { display: flex; }
    body.has-slipbar { padding-bottom: 56px; }
    .pop-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
    :root { --gutter: 24px; }
    .hero { padding: 32px; }
    .hero__title { font-size: 44px; }
    .event-cards { grid-template-columns: 1fr; }
    .category-cards { grid-template-columns: 1fr; gap: 16px; }
    .values { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid { grid-template-columns: 1fr; }
    .tool-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-nav { justify-content: flex-start; }
    .cookie-bar__inner { grid-template-columns: 1fr; gap: 20px; }
    .stat-strip { flex-wrap: wrap; gap: 24px; }
    .stat-strip__item { flex: 1 1 40%; border-right: 0; }
    .modal__dialog { padding: 28px 20px; }
    .modal__close { top: 24px; right: 20px; }
    .modal__grid-2 { grid-template-columns: 1fr; }
    .contact-hero__title { font-size: 44px; line-height: 48px; }
    .limits-hero__title { font-size: 36px; line-height: 40px; }
    .legal-intro__title { font-size: 34px; line-height: 40px; }
    .market-row { flex-wrap: wrap; }
    .market-row__left { width: 100%; }
    .rg-support { flex-direction: column; align-items: flex-start; }
    .pop-cards { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    :root { --gutter: 16px; }

    /* Верхняя полоса — вертикальная раскладка как в мобильном макете */
    .rw-strip__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-block: 10px;
    }
    .rw-strip__left { flex-wrap: wrap; gap: 8px; }
    .rw-strip__sep { display: none; }

    .site-header__bar { min-height: 56px; }
    .brand { font-size: 18px; line-height: 23px; }

    .hero { padding: 32px 16px; border-radius: 0; box-shadow: none; min-height: 400px; }
    .hero__title { font-size: 40px; }
    .hero__text { font-size: 14px; }
    .hero__actions .btn { flex: 1; padding: 10px 16px; font-size: 13px; }

    .home-wrap { padding-inline: 0; }
    .home-col > .section-block { padding-inline: 16px; }
    .home-col > .section-block--bleed { padding-inline: 0; }

    .h-44, .rg-left__title { font-size: 30px; line-height: 38px; }
    .h-36 { font-size: 30px; line-height: 38px; }
    .h-32 { font-size: 28px; line-height: 34px; }
    .h-56 { font-size: 40px; line-height: 46px; }
    .h-52 { font-size: 34px; line-height: 40px; }
    .page-intro__title { font-size: 30px; line-height: 38px; }

    .event-card { padding: 16px; }
    .event-card__team { font-size: 20px; line-height: 25px; }
    .event-card__time { font-family: var(--font-body); font-size: 11px; }
    .event-card__meta { font-size: 11px; }

    .market-table { border-radius: var(--radius-xl); }
    .market-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px;
    }
    .market-row__left { width: 100%; gap: 8px; }
    .market-row__title { white-space: normal; }
    .market-row__odds { width: 100%; }
    .odds-btn { padding: 8px 12px; min-height: 33px; }

    .ntj__head h2 { font-size: 22px; line-height: 28px; padding-inline: 0; }
    .ntj__row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px; }
    .ntj__right { width: 100%; justify-content: space-between; }

    .category-card { padding: 24px; min-height: 220px; border-radius: var(--radius-xl); }
    .category-card__title { font-size: 28px; line-height: 35px; }
    .value-card { padding: 24px; gap: 32px; min-height: 0; }
    .value-card__num { font-size: 36px; line-height: 45px; }
    .value-card__title { font-size: 18px; line-height: 23px; }

    .rg-block__inner { padding-block: 48px; gap: 32px; }
    .rg-tools { grid-template-columns: 1fr; gap: 12px; }
    .rg-tool { padding: 20px; }
    .rg-tool__title { font-size: 18px; line-height: 23px; }
    .rg-support { gap: 12px; padding: 20px; }
    .rg-support__links { flex-direction: column; align-items: flex-start; gap: 4px; }

    .footer-top { padding-block: 40px; gap: 32px; }
    .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .footer-brand__name { font-size: 18px; line-height: 23px; }
    .footer-pay { padding-block: 32px; gap: 32px; }
    .footer-pay__logos { width: 280px; }
    .footer-op { padding-block: 24px; }
    .footer-rg { padding-block: 24px; }
    .footer-rg__panel { padding: 20px; gap: 16px; }
    .footer-bottom { padding-block: 16px; }

    .workspace { padding-top: 24px; padding-bottom: 32px; gap: 24px; }
    .filter-row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .filter-group { align-items: flex-start; flex-direction: column; gap: 8px; }
    .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .chips::-webkit-scrollbar { display: none; }
    .chip { flex: none; }

    .event-row { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
    .event-row__time { width: auto; }
    .event-row__teams { flex-basis: 100%; order: 2; }
    .event-row__odds { flex-basis: 100%; order: 3; flex-wrap: wrap; }
    .odds-btn--row { flex: 1; width: auto; min-width: 0; }
    .markets-link { flex-basis: 100%; padding-inline: 0; }

    .meeting-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .meeting-row__left { width: 100%; }
    .race-buttons { justify-content: flex-start; }
    .runner-row { gap: 12px; }
    .runner-row__name { font-size: 13px; }
    .odds-btn--race { width: 84px; }
    .race-detail__head { gap: 12px; }

    .legal-intro { padding-block: 40px 32px; }
    .legal-article { padding-block: 32px 48px; }
    .legal-col { gap: 32px; }
    .legal-sec + .legal-sec { padding-top: 32px; }
    .legal-sec__title { font-size: 20px; line-height: 27px; }
    .legal-table td:first-child,
    .legal-table td:nth-child(2) { width: auto; }
    .legal-table { display: block; overflow-x: auto; }

    .contact-hero { padding-block: 48px; }
    .contact-hero__title { font-size: 36px; line-height: 40px; }
    .contact-grid { padding-block: 48px; }
    .contact-grid__title { font-size: 28px; line-height: 32px; }
    .limits-hero { padding-block: 48px; }
    .limit-card { padding: 24px 20px; }
    .rg-hero { padding-block: 48px; }
    .hiw-intro { padding-block: 48px; }
    .wager-example { padding: 20px; }
    .wager-example__value { font-size: 28px; line-height: 36px; }
    .tool-card { padding: 24px 20px; min-height: 0; }
    .tool-card__num { font-size: 44px; line-height: 56px; }
    .sub-item { padding-block: 24px; }
    .sub-item__title { font-size: 20px; line-height: 27px; }
    .faq-item__q { gap: 12px; }
    .faq-item__num { font-size: 22px; line-height: 30px; }
    .faq-item__label { font-size: 14px; }
    .faq-item__a { padding-inline: 0 0; }

    .modal { padding: 16px; }
    .modal__title { font-size: 28px; line-height: 32px; }
    .modal__title--reg { font-size: 26px; }
    .code-row { gap: 6px; }
    .code-row input { width: 44px; height: 56px; font-size: 20px; }
    .agegate__num { font-size: 56px; line-height: 56px; }

    .toasts { left: 16px; right: 16px; bottom: 72px; max-width: none; }
}

@media (max-width: 359px) {
    .odds-btn__name { font-size: 12px; }
    .code-row input { width: 38px; height: 48px; }
}

@media print {
    .site-header, .rw-strip, .site-footer, .cookie-bar, .slip-bar, .modal, .toasts { display: none !important; }
    body { background: #fff; color: #000; }
}
