:root {
    --bg: #f2f5f9;
    --surface: #fff;
    --surface-soft: #f7f9fc;
    --surface-muted: #edf3f8;
    --ink: #092139;
    --muted: #718296;
    --line: #dce5ee;
    --nav: #061f39;
    --nav-2: #082c4f;
    --blue: #116ad3;
    --blue-dark: #0756b3;
    --green: #19b65f;
    --green-dark: #0b974a;
    --orange: #ff9f1a;
    --red: #eb3b50;
    --radius: 14px;
    --shadow: 0 8px 30px rgba(8, 28, 53, .08);
    --sidebar-width: 245px;
    --slip-width: 328px;
    --topbar-height: 64px;
    --strip-height: 70px;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { border: 0; cursor: pointer; color: inherit; background: transparent; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.mobile-only { display: none !important; }

.sportsbook-body { overflow-x: hidden; }
.sportsbook-app { min-height: 100vh; }
.topbar {
    height: var(--topbar-height);
    color: #fff;
    background: var(--nav);
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: sticky;
    top: 0;
    z-index: 50;
}
.topbar__inner {
    height: 100%;
    max-width: 1600px;
    padding: 0 22px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}
.brand {
    min-width: 174px;
    display: inline-flex;
    align-items: baseline;
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: 1;
    font-size: 31px;
}
.brand__tt { color: #fff; }
.brand__bet { color: #38ba74; padding-left: 2px; }
.product-nav {
    display: flex;
    align-self: stretch;
    gap: 5px;
}
.product-nav__item {
    color: rgba(255,255,255,.82);
    position: relative;
    padding: 0 15px;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    font-weight: 600;
    transition: color .2s, background .2s;
}
.product-nav__item:hover,
.product-nav__item.active { color: #fff; background: rgba(255,255,255,.045); }
.product-nav__item.active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--green);
}
.live-tab span, .blink-dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 100%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(235,59,80,.16);
}
.live-tab span { animation: live-pulse 1.4s ease infinite; }
@keyframes live-pulse { 50% { opacity: .4; box-shadow: 0 0 0 7px rgba(235,59,80,0); } }
.topbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}
.icon-button {
    height: 42px;
    width: 42px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-button svg { height: 22px; width: 22px; }
.utility-button {
    height: 42px;
    width: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c8d4df;
    border: 1px solid rgba(255,255,255,.1);
}
.utility-button svg { width: 20px; height: 20px; }
.currency {
    height: 42px;
    padding: 0 11px 0 15px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.1);
    font-weight: 600;
    color: #dde7f0;
}
.currency svg { width: 15px; height: 15px; }
.auth-button {
    height: 43px;
    padding: 0 21px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}
.auth-button--ghost { color: #d6e1ec; border: 1px solid rgba(255,255,255,.16); }
.auth-button--primary { background: var(--green); color: #fff; box-shadow: 0 5px 15px rgba(25,182,95,.3); }
.auth-button--primary:hover { background: var(--green-dark); }

.sports-strip {
    height: var(--strip-height);
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--topbar-height);
    z-index: 30;
}
.sports-strip__inner {
    height: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 9px 22px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.sports-strip__inner::-webkit-scrollbar { display: none; }
.sport-chip {
    min-width: 104px;
    height: 52px;
    border-radius: 11px;
    padding: 7px 12px;
    border: 1px solid transparent;
    color: #576b80;
    display: grid;
    grid-template-columns: 25px auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-content: start;
    gap: 0 6px;
    white-space: nowrap;
    transition: all .18s;
}
.sport-chip > span { font-size: 20px; grid-row: span 2; }
.sport-chip strong { font-size: 13px; font-weight: 600; }
.sport-chip small { color: var(--muted); font-size: 11px; }
.sport-chip:hover { background: #f5f8fb; }
.sport-chip.active { background: #edf7ff; border-color: #b3d7fb; color: var(--blue); }
.sport-chip--featured { min-width: 74px; grid-template-columns: 22px auto; }
.sport-chip--featured > span { color: #ffb11a; }

.sportsbook-layout {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 22px 30px;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(470px, 1fr) var(--slip-width);
    gap: 14px;
    align-items: start;
}
.sports-sidebar, .betslip { position: sticky; top: calc(var(--topbar-height) + var(--strip-height) + 15px); }
.sidebar-search {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    padding: 0 13px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    margin-bottom: 12px;
}
.sidebar-search svg { width: 18px; height: 18px; flex: none; }
.sidebar-search input {
    width: 100%; min-width: 0; border: 0; outline: 0;
    background: transparent; color: var(--ink); font-size: 14px;
}
.sidebar-search input::placeholder { color: #91a0af; }
.sidebar-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(8,28,53,.03);
}
.sidebar-quick { margin-bottom: 16px; padding: 6px; }
.sidebar-link {
    height: 43px; width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 0 12px; border-radius: 9px; text-align: left; color: #53687d; font-size: 14px; font-weight: 600;
}
.sidebar-link span:first-child { width: 19px; display: inline-flex; justify-content: center; }
.sidebar-link:hover, .sidebar-link.active { color: var(--blue); background: #edf6ff; }
.sidebar-heading {
    display: flex; justify-content: space-between; align-items: center; padding: 0 4px 10px;
    font-size: 13px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .04em;
}
.sidebar-heading button { color: var(--blue); text-transform: none; font-weight: 600; letter-spacing: 0; }
.sidebar-sports { padding: 6px; }
.sidebar-sport {
    height: 46px; width: 100%; border-radius: 9px; display: flex; align-items: center;
    gap: 10px; padding: 0 10px; color: #52677c; transition: background .15s, color .15s;
}
.sidebar-sport span { width: 23px; font-size: 19px; }
.sidebar-sport strong { flex: 1; text-align: left; font-weight: 600; font-size: 14px; }
.sidebar-sport small { min-width: 29px; height: 23px; padding: 0 7px; border-radius: 12px; background: #f0f4f8; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.sidebar-sport:hover, .sidebar-sport.active { background: #eef7ff; color: var(--blue); }
.sidebar-sport.active small { background: #d5eaff; }
.responsible-box {
    margin-top: 14px; border-radius: var(--radius); border: 1px solid #dbe8f3; padding: 15px; background: #fff;
    display: grid; grid-template-columns: 44px auto; gap: 10px; align-items: center;
}
.responsible-box strong { height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--red); border: 2px solid var(--red); font-size: 15px; }
.responsible-box p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.45; }

.line-content { min-width: 0; display: grid; gap: 13px; }
.promo-hero {
    min-height: 224px; overflow: hidden; position: relative; color: #fff;
    border-radius: 17px; background:
    radial-gradient(circle at 78% 48%, rgba(41,172,236,.48), transparent 29%),
    linear-gradient(100deg, #082b52 0%, #084f91 48%, #061e39 100%);
    display: flex;
}
.promo-hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(transparent 94%, rgba(255,255,255,.07) 94%), linear-gradient(90deg, transparent 94%, rgba(255,255,255,.05) 94%);
    background-size: 45px 45px; mask-image: linear-gradient(to left, #000, transparent 66%); opacity: .5;
}
.promo-hero__copy { padding: 26px 28px; position: relative; z-index: 1; }
.promo-hero__copy > p:first-child { color: #6bd197; font-weight: 800; font-size: 11px; letter-spacing: .16em; margin: 0 0 11px; }
.promo-hero h1 { margin: 0; font-size: clamp(25px, 3vw, 33px); line-height: 1.12; letter-spacing: -.04em; }
.promo-hero h1 span { color: #5dd792; }
.promo-subtitle { max-width: 430px; color: rgba(255,255,255,.74); font-size: 13px; line-height: 1.48; margin: 11px 0 17px; }
.promo-button { height: 39px; background: var(--green); border-radius: 9px; padding: 0 19px; color: #fff; font-weight: 700; font-size: 14px; }
.promo-button:hover { background: var(--green-dark); }
.promo-visual { flex: 1; position: relative; min-width: 290px; z-index: 1; }
.stadium-ring {
    width: 340px; height: 206px; border-radius: 50%; border: 2px solid rgba(53,211,139,.33); position: absolute; top: 49px; right: -30px;
    transform: rotate(-15deg); box-shadow: 0 0 58px rgba(32,166,230,.24);
}
.stadium-ring::before, .stadium-ring::after {
    content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: inherit;
}
.stadium-ring::after { inset: 40px; }
.score-card {
    position: absolute; right: 98px; top: 44px; min-width: 119px; border-radius: 13px; padding: 13px 14px;
    background: rgba(4,23,43,.73); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(5px); display: grid; gap: 6px;
}
.score-card small { color: #5dd792; font-size: 10px; font-weight: 700; }
.score-card strong { font-size: 28px; letter-spacing: .06em; }
.score-card span { color: #acbed0; font-size: 12px; }
.ball { position: absolute; font-size: 55px; right: 28px; bottom: 26px; filter: drop-shadow(0 13px 15px rgba(0,0,0,.3)); }
.market-toolbar {
    height: 58px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between;
    border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.market-toolbar__tabs { height: 100%; display: flex; gap: 4px; }
.market-tab { position: relative; height: 100%; padding: 0 17px; color: #63778c; font-weight: 700; font-size: 14px; }
.market-tab.active { color: var(--blue); }
.market-tab.active::after { content: ""; position: absolute; height: 3px; bottom: -1px; left: 13px; right: 13px; background: var(--blue); border-radius: 3px 3px 0 0; }
.market-toolbar__tools { display: flex; align-items: center; gap: 13px; }
.feed-status {
    height: 27px; border-radius: 14px; display: inline-flex; align-items: center; padding: 0 11px; font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.feed-status.is-online { color: #0b8f46; background: #ddf8e8; }
.feed-status.is-demo { color: #a86d00; background: #fff2d2; }
.sort-button { display: flex; align-items: center; gap: 6px; color: #5d7186; font-size: 13px; font-weight: 600; }
.sort-button svg { height: 14px; width: 14px; }
.event-board {
    min-height: 420px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.event-board__head {
    height: 68px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line);
}
.section-kicker { margin: 0 0 4px; color: var(--blue); font-size: 10px; letter-spacing: .11em; font-weight: 800; }
.event-board h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.market-labels { display: grid; grid-template-columns: repeat(3, 78px); gap: 7px; color: var(--muted); font-size: 11px; text-align: center; font-weight: 700; }
.data-notice {
    margin: 12px 14px 0; padding: 10px 13px; border-radius: 9px; background: #fff5dd; color: #8c6300; font-size: 12px;
}
.events-loading { height: 230px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.events-loading span { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; animation: loadBounce .8s infinite alternate; }
.events-loading span:nth-child(2) { animation-delay: .15s; }
.events-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes loadBounce { from { transform: translateY(0); opacity: .4; } to { transform: translateY(-9px); opacity: 1; } }
.event-groups { padding: 11px; display: grid; gap: 9px; }
.league-group { border: 1px solid #e3eaf1; border-radius: 10px; overflow: hidden; }
.league-head {
    height: 36px; padding: 0 12px; background: #f3f7fb; display: flex; align-items: center; justify-content: space-between;
    font-weight: 700; font-size: 12px; color: #43586d;
}
.league-head span { color: var(--muted); font-weight: 500; }
.match-row {
    min-height: 68px; display: grid; grid-template-columns: 78px minmax(180px, 1fr) repeat(3, 78px) 51px; gap: 7px;
    padding: 9px 10px; align-items: center; background: #fff; border-top: 1px solid #edf2f7;
}
.match-time { color: var(--muted); font-size: 12px; display: grid; gap: 4px; text-align: center; }
.match-time.live { color: var(--red); font-weight: 700; }
.match-time strong { font-size: 13px; color: var(--red); }
.teams { min-width: 0; display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.teams span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.odd-button {
    height: 48px; border-radius: 8px; border: 1px solid #e1e9f1; background: #f5f8fb; display: grid; align-content: center; gap: 2px;
    text-align: center; transition: border-color .17s, background .17s, color .17s;
}
.odd-button small { font-size: 10px; color: var(--muted); }
.odd-button strong { color: var(--blue); font-size: 14px; }
.odd-button:hover:not(:disabled) { border-color: #91c4fa; background: #eaf5ff; }
.odd-button.selected { border-color: var(--blue); color: #fff; background: var(--blue); }
.odd-button.selected small, .odd-button.selected strong { color: #fff; }
.odd-button:disabled { cursor: not-allowed; opacity: .5; }
.more-markets {
    height: 42px; border-radius: 8px; background: #f2f6fa; color: #607487; font-weight: 700; font-size: 12px;
}
.more-markets:hover { background: #eaf1f8; }
.empty-events { text-align: center; padding: 75px 20px; color: var(--muted); }
.empty-events strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 7px; }

.betslip {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.betslip__header { height: 57px; padding: 0 13px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.betslip-tabs { height: 100%; display: flex; }
.betslip-tabs button { position: relative; padding: 0 13px; color: #64798c; font-size: 14px; font-weight: 700; }
.betslip-tabs button.active { color: var(--blue); }
.betslip-tabs button.active::after { content: ""; position: absolute; bottom: -1px; left: 9px; right: 9px; height: 3px; background: var(--blue); }
.betslip-tabs span {
    min-width: 18px; height: 18px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; margin-left: 5px;
    color: #fff; background: var(--blue); border-radius: 10px; font-size: 11px;
}
.betslip-empty { min-height: 258px; padding: 53px 26px; text-align: center; color: var(--muted); }
.betslip-empty__icon { height: 46px; width: 46px; margin: 0 auto 14px; border-radius: 50%; background: #ecf3f9; display: grid; place-items: center; color: #90a3b6; font-size: 23px; }
.betslip-empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 7px; }
.betslip-empty p { margin: 0; font-size: 13px; line-height: 1.5; }
.betslip-items { padding: 10px; display: grid; gap: 8px; max-height: min(45vh, 405px); overflow-y: auto; }
.slip-item { padding: 11px; border-radius: 10px; border: 1px solid #e2eaf2; background: #f8fafc; display: grid; gap: 7px; }
.slip-item__top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.slip-item__top strong { font-size: 13px; }
.slip-remove { color: #8b9bae; font-size: 19px; line-height: 1; }
.slip-item p { margin: 0; color: #63788b; font-size: 12px; line-height: 1.35; }
.slip-item__selection { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.slip-item__selection strong { color: var(--blue); font-size: 15px; }
.betslip-summary { border-top: 1px solid var(--line); padding: 13px; }
.stake-field { display: grid; gap: 7px; color: #5e7288; font-weight: 600; font-size: 12px; margin-bottom: 12px; }
.stake-field span { display: flex; align-items: center; height: 46px; border: 1px solid #d6e1eb; border-radius: 9px; background: #fff; overflow: hidden; }
.stake-field input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 12px; font-size: 16px; color: var(--ink); }
.stake-field em { padding: 0 12px; color: #667c90; font-style: normal; font-weight: 700; }
.betslip-summary dl { margin: 0 0 14px; display: grid; gap: 10px; font-size: 13px; }
.betslip-summary dl div { display: flex; justify-content: space-between; }
.betslip-summary dt { color: var(--muted); }
.betslip-summary dd { margin: 0; font-weight: 700; }
.place-bet { width: 100%; height: 48px; border-radius: 9px; color: #fff; background: var(--green); font-weight: 750; }
.place-bet:hover { background: var(--green-dark); }
.betslip-note { margin: 11px 0 0; text-align: center; color: #8294a6; font-size: 10.5px; line-height: 1.4; }

.public-footer {
    max-width: 1600px; margin: 0 auto; padding: 11px 22px 40px; display: flex; gap: 38px; align-items: center; color: var(--muted);
}
.public-footer > div:first-child { display: flex; gap: 19px; align-items: center; }
.public-footer .brand__tt { color: var(--nav); }
.public-footer strong { font-size: 23px; letter-spacing: -.07em; }
.public-footer p { font-size: 12px; }
.footer-links { margin-left: auto; display: flex; gap: 22px; font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
.footer-age { margin: 0; height: 38px; width: 38px; display: grid; place-items: center; border: 2px solid var(--red); color: var(--red); font-weight: 800; border-radius: 50%; }
.mobile-bottom-nav { display: none; }

.backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(2,15,29,.55); backdrop-filter: blur(2px); }
.auth-modal {
    z-index: 90; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 28px));
    border-radius: 18px; background: #fff; box-shadow: 0 24px 65px rgba(2,15,29,.33); padding: 29px;
}
.auth-modal h2 { margin: 0 0 9px; font-size: 25px; letter-spacing: -.035em; }
.auth-modal > p { margin: 0 0 24px; color: var(--muted); line-height: 1.45; font-size: 14px; }
.modal-close { position: absolute; top: 16px; right: 17px; width: 34px; height: 34px; color: #8294a6; font-size: 29px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label { color: #566c80; display: grid; gap: 7px; font-weight: 600; font-size: 13px; }
.auth-form input:not([type="checkbox"]) { height: 48px; padding: 0 14px; border: 1px solid #d9e3ec; border-radius: 10px; outline: 0; }
.auth-form input:focus { border-color: #7cb6f4; box-shadow: 0 0 0 3px rgba(17,106,211,.1); }
.auth-form .agree { grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-weight: 500; line-height: 1.45; }
.auth-form .agree input { margin: 2px 0 0; accent-color: var(--blue); }
.auth-submit { height: 49px; margin-top: 5px; border-radius: 10px; color: #fff; font-weight: 700; background: var(--green); }
.auth-switch { margin: 20px auto 0; display: block; color: var(--blue); font-size: 13px; font-weight: 650; }
.toast {
    position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: min(410px, calc(100vw - 32px));
    border-radius: 12px; background: #072744; color: #fff; box-shadow: 0 16px 30px rgba(2,15,29,.3); padding: 14px 17px; font-size: 13px; line-height: 1.45;
}

@media (max-width: 1260px) {
    .topbar__inner { gap: 16px; }
    .brand { min-width: 150px; }
    .product-nav__item { padding: 0 9px; font-size: 14px; }
    .sportsbook-layout { grid-template-columns: 218px minmax(430px, 1fr) 296px; gap: 11px; padding-inline: 13px; }
    .match-row { grid-template-columns: 69px minmax(155px, 1fr) repeat(3, 68px) 43px; gap: 5px; }
    .market-labels { grid-template-columns: repeat(3, 68px); gap: 5px; }
}

@media (max-width: 1023px) {
    :root { --topbar-height: 60px; --strip-height: 63px; }
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
    .topbar__inner { justify-content: space-between; padding: 0 13px; gap: 11px; }
    .brand { min-width: 0; font-size: 28px; flex: 1; justify-content: center; }
    .product-nav { display: none; }
    .topbar__actions { margin-left: 0; gap: 7px; }
    .topbar .auth-button--primary { display: none; }
    .topbar .icon-button { border-color: rgba(255,255,255,.12); width: 42px; height: 42px; }
    .sports-strip__inner { padding-inline: 10px; }
    .sport-chip { min-width: 101px; height: 47px; padding-inline: 9px; }
    .sport-chip--featured { min-width: 69px; }
    .sportsbook-layout { display: block; padding: 11px 10px 90px; }
    .sports-sidebar {
        display: block; position: fixed; z-index: 90; left: 0; top: 0; bottom: 0; width: min(315px, calc(100vw - 56px));
        padding: 14px 12px; background: var(--bg); transform: translateX(-103%); transition: transform .24s ease; overflow-y: auto;
    }
    .sports-sidebar.open { transform: translateX(0); }
    .drawer-head { display: flex !important; align-items: center; justify-content: space-between; margin-bottom: 13px; padding-left: 4px; font-size: 19px; }
    .drawer-head .icon-button { color: #667b90; border-color: #dde5ee; }
    .responsible-box { margin-bottom: 18px; }
    .promo-hero { min-height: 196px; }
    .promo-hero__copy { padding: 21px 20px; }
    .promo-visual { min-width: 218px; }
    .score-card { right: 62px; top: 38px; }
    .ball { right: 15px; bottom: 20px; font-size: 45px; }
    .stadium-ring { width: 270px; height: 172px; right: -65px; }
    .betslip {
        position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; top: auto; max-height: min(80vh, 620px);
        border-radius: 18px 18px 0 0; transform: translateY(103%); transition: transform .24s ease;
    }
    .betslip.open { transform: translateY(0); }
    .betslip-empty { min-height: 220px; }
    .public-footer { padding: 8px 12px 92px; flex-wrap: wrap; gap: 13px; }
    .footer-links { order: 3; margin: 0; width: 100%; padding-top: 8px; flex-wrap: wrap; }
    .mobile-bottom-nav {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(67px + env(safe-area-inset-bottom)); padding: 5px 5px env(safe-area-inset-bottom);
        display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -5px 20px rgba(4,25,46,.08);
    }
    .mobile-bottom-nav button { position: relative; display: grid; place-content: center; gap: 4px; color: #77899b; font-size: 11px; font-weight: 600; }
    .mobile-bottom-nav button.active { color: var(--blue); }
    .mobile-bottom-nav span { height: 21px; font-size: 21px; line-height: 21px; }
    .mobile-bottom-nav .live-mark { color: var(--red); font-size: 16px; }
    .mobile-bottom-nav em { position: absolute; top: 3px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 4px; background: var(--blue); color: #fff; border-radius: 10px; font-size: 10px; font-style: normal; display: grid; place-items: center; }
    .toast { bottom: 82px; right: 12px; }
}

@media (max-width: 720px) {
    .sport-chip { min-width: 95px; }
    .promo-hero { min-height: 191px; }
    .promo-hero h1 { font-size: 24px; max-width: 285px; }
    .promo-subtitle { max-width: 265px; font-size: 12px; }
    .promo-visual { position: absolute; right: -40px; bottom: 0; top: 0; opacity: .64; }
    .promo-hero__copy { z-index: 2; }
    .market-toolbar { height: 54px; padding-inline: 8px; }
    .market-tab { padding-inline: 12px; font-size: 13px; }
    .sort-button { display: none; }
    .event-board__head { height: 59px; padding-inline: 13px; }
    .event-board h2 { font-size: 18px; }
    .event-groups { padding: 7px; gap: 8px; }
    .match-row {
        min-height: 112px; grid-template-columns: 55px minmax(0, 1fr); grid-template-rows: auto 47px; padding: 9px 8px 8px; gap: 8px;
    }
    .match-time { grid-row: 1; grid-column: 1; }
    .teams { grid-row: 1; grid-column: 2; }
    .odd-button { grid-row: 2; height: 45px; }
    .odd-button:nth-of-type(1) { grid-column: 1; }
    .odd-button:nth-of-type(2) { grid-column: 2; }
    .odd-button:nth-of-type(3) { grid-column: 3; }
    .match-row { grid-template-columns: repeat(3, 1fr); }
    .match-time { grid-column: 1; text-align: left; }
    .teams { grid-column: 2 / 4; }
    .more-markets { display: none; }
}

@media (max-width: 440px) {
    .brand { font-size: 25px; }
    .topbar__inner { padding-inline: 8px; }
    .topbar .icon-button { width: 39px; height: 39px; }
    .sportsbook-layout { padding-inline: 7px; }
    .promo-hero__copy { padding: 18px 15px; }
    .promo-hero h1 { font-size: 22px; }
    .promo-button { height: 37px; }
    .feed-status { padding-inline: 9px; font-size: 10px; }
    .market-toolbar__tools { gap: 4px; }
    .match-row { gap: 5px; }
    .odd-button strong { font-size: 13px; }
    .auth-modal { padding: 24px 19px; }
    .public-footer > div:first-child { display: block; }
}

/* The Odds API live line enhancements */
.feed-status.is-warning { color: #a86d00; background: #fff2d2; }
.feed-status.is-error { color: #c43548; background: #ffe8ec; }
.feed-updated { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.match-card { background: #fff; }
.more-markets.is-muted { color: #96a5b4; font-size: 10px; cursor: default; }
.event-market-panel {
    display: grid; gap: 10px; padding: 0 10px 12px 95px; border-top: 1px dashed #e5edf5; background: #fbfdff;
}
.event-market { display: grid; gap: 7px; padding-top: 10px; }
.event-market h4 { margin: 0; color: #52677c; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.event-market__buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.market-odd {
    min-width: 110px; min-height: 48px; padding: 6px 10px; border-radius: 8px; border: 1px solid #e1e9f1;
    background: #f5f8fb; display: grid; align-content: center; gap: 3px; text-align: left;
}
.market-odd small { overflow: hidden; color: #657a8e; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.market-odd strong { color: var(--blue); font-size: 14px; }
.market-odd:hover:not(:disabled) { border-color: #91c4fa; background: #eaf5ff; }
.market-odd.selected { border-color: var(--blue); background: var(--blue); }
.market-odd.selected small, .market-odd.selected strong { color: #fff; }
.market-odd:disabled { cursor: not-allowed; opacity: .55; }

@media (max-width: 720px) {
    .feed-updated { display: none; }
    .more-markets { display: inline-flex; grid-column: 1 / 4; height: 35px; justify-content: center; align-items: center; }
    .match-row { min-height: 149px; grid-template-rows: auto 47px 35px; }
    .event-market-panel { padding: 0 8px 12px; }
    .event-market__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .market-odd { min-width: 0; }
}

/* Real event markets loaded on demand from The Odds API */
.event-market-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 12px; color: #354a60;
}
.event-market-meta strong { font-size: 12px; }
.event-market-meta small { color: var(--muted); font-size: 11px; }
.market-catalog { display: grid; gap: 8px; padding-top: 6px; }
.market-catalog h4 {
    margin: 0; color: #52677c; font-size: 11px; font-weight: 800;
    letter-spacing: .05em; text-transform: uppercase;
}
.market-catalog__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.market-chip {
    appearance: none; border: 1px solid #d8e6f2; background: #fff; color: #2d4d69;
    min-height: 34px; padding: 6px 11px; border-radius: 18px; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 700; transition: .16s ease;
}
.market-chip:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); background: #eef7ff; }
.market-chip.loaded { color: #198754; border-color: #ccebd8; background: #edf9f2; cursor: default; }
.market-chip:disabled { opacity: .8; }
.market-loading, .market-error {
    margin: 3px 0 0; padding: 9px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
}
.market-loading { color: #1d68ad; background: #eaf5ff; }
.market-error { color: #bd3345; background: #ffedf0; }
.more-markets { min-width: 84px; font-weight: 700; }

@media (max-width: 720px) {
    .event-market-meta { display: grid; gap: 4px; }
    .market-catalog__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .market-chip { border-radius: 8px; text-align: left; }
}
