:root {
    color-scheme: dark;
    --bg: #080b10;
    --surface: #0f141c;
    --surface-2: #141a23;
    --surface-3: #1a212c;
    --line: rgba(255, 255, 255, .075);
    --line-strong: rgba(255, 255, 255, .13);
    --muted: #747d8c;
    --text: #edf0f5;
    --lime: #b7f34a;
    --lime-2: #91d52d;
    --lime-soft: rgba(183, 243, 74, .1);
    --orange: #ff9f43;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
button, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 2px solid var(--lime) !important;
    outline-offset: 2px;
}
button:disabled { cursor: not-allowed; }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #090c11; }
::-webkit-scrollbar-thumb { border: 2px solid #090c11; border-radius: 99px; background: #343c48; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.hidden { display: none !important; }

.app-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 78% -10%, rgba(183, 243, 74, .08), transparent 68%),
        radial-gradient(700px 500px at 4% 28%, rgba(65, 145, 255, .045), transparent 70%),
        linear-gradient(180deg, #090c12, #07090d 65%);
}

.app-ambient::after {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
    content: "";
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    border-radius: .6rem;
    background: var(--lime);
    padding: .7rem 1rem;
    color: #12170a;
    font-size: .72rem;
    font-weight: 900;
    transition: top .16s ease;
}
.skip-link:focus { top: 1rem; }

.top-shell {
    position: sticky;
    top: 0;
    z-index: 45;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 11, 16, .94);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
    backdrop-filter: blur(22px);
}

.topbar {
    display: flex;
    height: 64px;
    align-items: center;
    gap: 1.35rem;
    padding: 0 18px;
}

.brand { display: flex; min-width: 214px; align-items: center; gap: .65rem; }
.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--lime), #72b61f);
    color: #11170a;
    box-shadow: 0 8px 26px rgba(145, 213, 45, .22), inset 0 1px rgba(255,255,255,.35);
}
.brand-mark svg { width: 19px; stroke-width: 2.8; }
.brand strong { display: block; color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.brand small { display: block; margin-top: .28rem; color: var(--lime); font-size: .47rem; font-weight: 900; letter-spacing: .23em; line-height: 1; }

.primary-nav { display: flex; height: 100%; align-items: center; gap: .2rem; }
.primary-nav a, .primary-nav button {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    gap: .45rem;
    padding: 0 .85rem;
    color: #7e8796;
    font-size: .68rem;
    font-weight: 800;
    transition: color .15s ease, background .15s ease;
}
.primary-nav svg { width: 15px; height: 15px; }
.primary-nav span { border-radius: 99px; background: rgba(255,255,255,.055); padding: .15rem .34rem; font-size: .5rem; }
.primary-nav a:hover, .primary-nav .is-active { color: #f2f5f8; background: rgba(255,255,255,.025); }
.primary-nav .is-active::after { position: absolute; right: .75rem; bottom: 0; left: .75rem; height: 2px; border-radius: 99px; background: var(--lime); content: ""; box-shadow: 0 0 12px var(--lime); }
.primary-nav .is-active svg { color: var(--lime); }
.primary-nav button:disabled { opacity: .5; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.feed-state { display: flex; align-items: center; gap: .45rem; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.025); padding: .47rem .7rem; color: #7c8592; font-size: .57rem; font-weight: 800; }
.status-dot { position: relative; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 99px; background: var(--lime); box-shadow: 0 0 0 3px rgba(183,243,74,.08), 0 0 11px rgba(183,243,74,.55); }
.status-dot::after { position: absolute; inset: -4px; border: 1px solid rgba(183,243,74,.28); border-radius: inherit; content: ""; animation: pulse 2s ease-out infinite; }
.balance-chip { display: flex; min-width: 190px; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line-strong); border-radius: 11px; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.022)); padding: .46rem .55rem .46rem .8rem; }
.balance-chip small { display: block; color: #616a77; font-size: .47rem; font-weight: 900; letter-spacing: .09em; }
.balance-chip strong { display: block; margin-top: .12rem; color: #fff; font-size: .78rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.balance-chip > svg { width: 29px; height: 29px; border-radius: 8px; background: var(--lime-soft); padding: 7px; color: var(--lime); }
.header-slip { position: relative; display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255,255,255,.045); color: #dae0e7; }
.header-slip svg { width: 18px; }
.header-slip span { position: absolute; right: -5px; top: -5px; min-width: 18px; border-radius: 99px; background: var(--lime); padding: 2px 4px; color: #11170a; font-size: .52rem; font-weight: 900; }

.sports-rail { display: flex; min-height: 57px; align-items: stretch; gap: .15rem; overflow-x: auto; border-top: 1px solid rgba(255,255,255,.045); padding: 0 18px; }
.sports-rail button { position: relative; display: flex; min-width: 98px; align-items: center; justify-content: center; gap: .42rem; padding: 0 .65rem; color: #6e7785; font-size: .58rem; font-weight: 800; white-space: nowrap; }
.sports-rail button > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: rgba(255,255,255,.04); }
.sports-rail svg { width: 14px; height: 14px; }
.sports-rail b { color: #4b5360; font-size: .5rem; }
.sports-rail button:disabled { opacity: .48; }
.sports-rail .is-active { color: #eff4f8; }
.sports-rail .is-active::after { position: absolute; right: .4rem; bottom: 0; left: .4rem; height: 2px; background: var(--lime); content: ""; }
.sports-rail .is-active > span { background: var(--lime-soft); color: var(--lime); }
.sports-rail .is-active b { color: var(--lime); }
.rail-meta { margin-left: auto; display: flex; min-width: max-content; align-items: center; gap: .42rem; padding-left: 1rem; color: #59616e; font-size: .52rem; font-weight: 700; }
.rail-meta svg { width: 12px; }

.sports-layout {
    display: grid;
    grid-template-columns: 260px minmax(600px, 1fr) 340px;
    gap: 10px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 10px;
}
.left-sidebar, .content-column, .bet-slip-panel { min-width: 0; }
.sidebar-sticky { position: sticky; top: 141px; display: flex; max-height: calc(100dvh - 151px); flex-direction: column; gap: 8px; overflow-y: auto; padding-right: 2px; }

.sidebar-search { display: flex; min-height: 42px; align-items: center; gap: .5rem; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 0 .65rem; }
.sidebar-search svg { width: 14px; color: #5f6875; }
.sidebar-search input { min-width: 0; flex: 1; border: 0; background: transparent !important; padding: 0; color: #dfe4ea; font-size: .65rem; box-shadow: none !important; }
.sidebar-search input::placeholder { color: #505967; }
.sidebar-search kbd { border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.03); padding: 2px 4px; color: #505967; font-size: .48rem; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; min-height: 40px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 3px; }
.mode-switch button { border-radius: 6px; color: #636c79; font-size: .56rem; font-weight: 900; }
.mode-switch .is-active { background: linear-gradient(135deg, var(--lime), var(--lime-2)); color: #172008; box-shadow: 0 4px 14px rgba(145,213,45,.16); }

.quick-menu, .tree-section { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: rgba(15,20,28,.93); }
.quick-menu button { display: flex; width: 100%; min-height: 41px; align-items: center; gap: .6rem; border-bottom: 1px solid rgba(255,255,255,.045); padding: 0 .7rem; color: #aeb5bf; font-size: .62rem; font-weight: 750; transition: background .14s ease, color .14s ease; }
.quick-menu button:last-child { border: 0; }
.quick-menu button:hover { background: rgba(255,255,255,.035); color: #fff; }
.quick-menu button svg { width: 14px; color: #75808e; }
.quick-menu button:first-child svg { color: #6ed7ff; }
.quick-menu button:nth-child(2) svg { color: #ff8f55; }
.quick-menu button:nth-child(3) svg { color: #c590ff; }
.quick-menu button span { flex: 1; text-align: left; }
.quick-menu button b { color: #59626f; font-size: .53rem; }

.tree-section summary { display: flex; min-height: 43px; cursor: pointer; list-style: none; align-items: center; gap: .45rem; background: rgba(255,255,255,.025); padding: 0 .7rem; color: #dde2e8; }
.tree-section summary::-webkit-details-marker { display: none; }
.tree-section summary span { display: flex; flex: 1; align-items: center; gap: .55rem; font-size: .64rem; font-weight: 900; }
.tree-section summary span svg { width: 15px; color: var(--lime); }
.tree-section summary b { color: #717b88; font-size: .54rem; }
.tree-section summary > svg { width: 13px; color: #59616d; transition: transform .18s ease; }
.tree-section:not([open]) summary > svg { transform: rotate(-90deg); }
.region-row { display: flex; min-height: 35px; align-items: center; justify-content: space-between; padding: 0 .75rem; color: #858e9b; font-size: .56rem; font-weight: 800; }
.region-row span { display: flex; align-items: center; gap: .45rem; }
.region-row svg { width: 12px; color: #58616e; }
.region-row b { color: #515a67; font-size: .5rem; }
.league-tree { padding: 0 5px 6px; }
.league-tree button { display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: space-between; gap: .5rem; border-radius: 6px; padding: 0 .58rem; color: #848d99; font-size: .56rem; transition: background .14s ease, color .14s ease; }
.league-tree button span { display: flex; min-width: 0; align-items: center; gap: .48rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-tree button svg { width: 11px; flex: 0 0 auto; }
.league-tree button b { color: #535c68; font-size: .5rem; }
.league-tree button:hover, .league-tree button.is-active { background: rgba(183,243,74,.075); color: #dce7c7; }
.league-tree button.is-active { box-shadow: inset 2px 0 var(--lime); }
.league-tree button.is-active svg, .league-tree button.is-active b { color: var(--lime); }
.tree-section.compact summary span svg { color: #62b6ff; }
.market-summary { display: flex; min-height: 32px; align-items: center; justify-content: space-between; padding: 0 .75rem; color: #737d89; font-size: .54rem; }
.market-summary b { color: #555e6a; }
.safe-box { display: flex; align-items: flex-start; gap: .65rem; border: 1px solid rgba(183,243,74,.11); border-radius: 9px; background: linear-gradient(145deg, rgba(183,243,74,.065), rgba(183,243,74,.015)); padding: .75rem; }
.safe-box > svg { width: 16px; flex: 0 0 auto; color: var(--lime); }
.safe-box strong { display: block; color: #bfcbad; font-size: .56rem; }
.safe-box small { display: block; margin-top: .25rem; color: #626b75; font-size: .5rem; line-height: 1.45; }

.content-column { padding: 0 2px; }
.notice { display: flex; align-items: center; gap: .55rem; margin-bottom: 8px; border: 1px solid rgba(96,165,250,.18); border-radius: 8px; background: rgba(96,165,250,.065); padding: .65rem .75rem; color: #b8d5fb; font-size: .58rem; line-height: 1.5; }
.notice svg { width: 14px; flex: 0 0 auto; }
.notice.error { border-color: rgba(251,113,133,.2); background: rgba(251,113,133,.07); color: #fecdd3; }
.notice.warning { border-color: rgba(251,191,36,.18); background: rgba(251,191,36,.065); color: #fde68a; }

.bulletin-top { display: flex; min-height: 104px; align-items: end; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(135deg, rgba(22,29,39,.95), rgba(13,17,24,.95)); padding: 16px; }
.eyebrow { display: flex; align-items: center; gap: .5rem; color: var(--lime); font-size: .5rem; font-weight: 900; letter-spacing: .14em; }
.bulletin-top h1 { margin-top: .35rem; color: #fff; font-size: 1.45rem; font-weight: 900; letter-spacing: -.045em; }
.bulletin-top p { margin-top: .28rem; color: #727c89; font-size: .58rem; }
.date-pills { display: flex; max-width: 55%; gap: 5px; overflow-x: auto; }
.date-pills button { min-width: 70px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.025); padding: .48rem .55rem; text-align: center; }
.date-pills span, .date-pills b { display: block; }
.date-pills span { color: #656f7b; font-size: .45rem; font-weight: 900; letter-spacing: .07em; }
.date-pills b { margin-top: .2rem; color: #aab2bd; font-size: .56rem; }
.date-pills .is-active { border-color: rgba(183,243,74,.35); background: var(--lime-soft); }
.date-pills .is-active span, .date-pills .is-active b { color: var(--lime); }

.featured-leagues { display: grid; grid-auto-columns: minmax(205px, 1fr); grid-auto-flow: column; gap: 7px; overflow-x: auto; margin: 8px 0; }
.featured-leagues button { position: relative; display: flex; height: 94px; overflow: hidden; align-items: end; justify-content: space-between; border: 1px solid var(--line-strong); border-radius: 9px; background-image: linear-gradient(90deg, rgba(7,10,14,.9), rgba(7,10,14,.36)), linear-gradient(0deg, rgba(7,10,14,.8), transparent), var(--league-image); background-position: center; background-size: cover; padding: .75rem; text-align: left; isolation: isolate; }
.featured-leagues button::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(183,243,74,.11), transparent 58%); content: ""; opacity: 0; transition: opacity .18s ease; }
.featured-leagues button:hover::after { opacity: 1; }
.featured-leagues small, .featured-leagues strong, .featured-leagues b { display: block; }
.featured-leagues small { color: var(--lime); font-size: .42rem; font-weight: 900; letter-spacing: .12em; }
.featured-leagues strong { max-width: 190px; margin-top: .25rem; color: #fff; font-size: .7rem; font-weight: 900; line-height: 1.25; }
.featured-leagues b { margin-top: .28rem; color: #9ba3ad; font-size: .47rem; }
.featured-leagues svg { width: 14px; color: #dce4ec; }

.bulletin-shell, .market-card, .related-events { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgba(14,18,25,.94); }
.bulletin-header { display: flex; min-height: 46px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); padding: 0 .8rem; }
.bulletin-header > div:first-child { display: flex; align-items: center; gap: .65rem; }
.bulletin-header > div:first-child > span { display: flex; align-items: center; gap: .4rem; color: #d9dee5; font-size: .58rem; font-weight: 900; letter-spacing: .05em; }
.bulletin-header svg { width: 13px; color: var(--lime); }
.bulletin-header b { color: #5c6572; font-size: .5rem; }
.column-labels { display: grid; grid-template-columns: 234px 154px 48px; gap: 6px; text-align: center; color: #515a67; font-size: .46rem; font-weight: 900; letter-spacing: .07em; }
.date-group { border-bottom: 1px solid var(--line); }
.date-group:last-child { border-bottom: 0; }
.date-heading { display: flex; min-height: 38px; align-items: center; justify-content: space-between; background: #111720; padding: 0 .75rem; }
.date-heading > span { display: flex; align-items: center; gap: .42rem; color: #dde2e8; font-size: .58rem; }
.date-heading svg { width: 13px; color: #6b7582; }
.date-heading b { color: #68717e; font-weight: 650; }
.date-heading button { display: grid; width: 26px; height: 26px; place-items: center; color: #59636f; transition: transform .18s ease; }
.date-group.is-collapsed .date-heading button { transform: rotate(180deg); }
.date-group.is-collapsed .date-content { display: none; }
.league-heading { display: flex; min-height: 37px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.045); background: rgba(255,255,255,.014); padding: 0 .75rem; }
.league-heading span { display: flex; align-items: center; gap: .4rem; }
.league-heading svg { width: 12px; color: var(--lime); }
.league-heading strong { color: #aeb6c1; font-size: .56rem; }
.league-heading small { color: #535c68; font-size: .48rem; }
.league-heading > svg { color: #4e5764; }

.match-row { display: grid; grid-template-columns: minmax(260px, 1fr) 234px 154px 48px; min-height: 64px; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.042); padding: 6px .55rem; transition: background .14s ease; }
.match-row:last-child { border-bottom: 0; }
.match-row:hover { background: rgba(255,255,255,.018); }
.match-info { display: flex; min-width: 0; align-items: center; gap: .58rem; }
.match-info time { display: flex; width: 47px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.match-info time strong { color: #dce1e7; font-size: .62rem; font-variant-numeric: tabular-nums; }
.match-info time span { margin-top: .18rem; color: #59626e; font-size: .39rem; }
.favorite-button { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: rgba(0,0,0,.17); color: #6b7480; transition: color .14s ease, background .14s ease; }
.favorite-button svg { width: 14px; }
.favorite-button:hover, .favorite-button.is-active { background: rgba(251,191,36,.09); color: #fbbf24; }
.favorite-button.is-active svg { fill: currentColor; }
.favorite-button.small { width: 25px; height: 25px; border: 0; background: transparent; }
.favorite-button.small svg { width: 12px; }
.teams { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: .28rem; }
.teams span { display: flex; min-width: 0; align-items: center; gap: .42rem; overflow: hidden; color: #cbd1d9; font-size: .6rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.team-dot { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 99px; background: #657080; }
.team-dot.home { background: var(--lime); box-shadow: 0 0 8px rgba(183,243,74,.45); }
.stream-icons { display: flex; flex-direction: column; gap: .25rem; color: #4f5864; }
.stream-icons svg { width: 10px; height: 10px; }
.row-h2h { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.row-totals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.odd-button { position: relative; display: flex; overflow: hidden; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.075); border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.027)); color: #89929e; transition: border-color .14s ease, background .14s ease, color .14s ease, transform .14s ease; }
.odd-button:hover { border-color: rgba(183,243,74,.3); background: rgba(183,243,74,.07); color: #e0edc8; transform: translateY(-1px); }
.odd-button.compact { min-height: 40px; gap: .3rem; }
.odd-button.compact span { color: #68717d; font-size: .46rem; font-weight: 800; }
.odd-button strong { color: #e0e5eb; font-size: .64rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.odd-button .selected-check { position: absolute; right: 3px; top: 3px; display: none; width: 9px; color: var(--lime); }
.odd-button.is-selected { border-color: rgba(183,243,74,.65); background: linear-gradient(145deg, rgba(183,243,74,.2), rgba(145,213,45,.1)); box-shadow: inset 0 0 0 1px rgba(183,243,74,.07), 0 7px 18px rgba(145,213,45,.07); }
.odd-button.is-selected strong, .odd-button.is-selected span { color: #eaffc4; }
.odd-button.is-selected .selected-check { display: block; }
.no-market { display: grid; grid-column: 1 / -1; min-height: 40px; place-items: center; border: 1px dashed rgba(255,255,255,.055); border-radius: 6px; color: #454e5a; font-size: .6rem; }
.more-markets { display: flex; min-height: 40px; align-items: center; justify-content: center; gap: .12rem; border: 1px solid rgba(255,255,255,.07); border-radius: 6px; background: rgba(255,255,255,.025); color: var(--lime); }
.more-markets strong { font-size: .55rem; }
.more-markets svg { width: 11px; }

.empty-state, .market-empty { display: grid; min-height: 240px; place-items: center; align-content: center; gap: .55rem; padding: 2rem; text-align: center; }
.empty-state > svg, .market-empty > svg { width: 28px; color: #4d5663; }
.empty-state strong, .market-empty strong { color: #b9c0ca; font-size: .7rem; }
.empty-state span, .market-empty span { max-width: 360px; color: #626b77; font-size: .56rem; line-height: 1.6; }
.empty-state button { color: var(--lime); font-size: .56rem; font-weight: 900; }

.breadcrumbs { display: flex; height: 32px; align-items: center; gap: .34rem; color: #5c6673; font-size: .5rem; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs svg { width: 10px; }
.breadcrumbs span { color: #8b949f; }
.event-hero { position: relative; overflow: hidden; min-height: 248px; border: 1px solid var(--line-strong); border-radius: 12px; background-image: linear-gradient(90deg, rgba(8,12,17,.96), rgba(8,12,17,.56) 48%, rgba(8,12,17,.93)), linear-gradient(0deg, rgba(8,12,17,.97), transparent 60%), var(--hero-image); background-position: center; background-size: cover; padding: 14px 18px; isolation: isolate; }
.event-hero::after { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 36%, rgba(183,243,74,.1), transparent 42%); content: ""; }
.event-hero-top { display: flex; align-items: center; justify-content: space-between; }
.event-hero-top > span { display: flex; align-items: center; gap: .42rem; border: 1px solid rgba(255,255,255,.11); border-radius: 99px; background: rgba(0,0,0,.32); padding: .35rem .62rem; color: #d5dbe2; font-size: .52rem; font-weight: 850; backdrop-filter: blur(8px); }
.event-hero-top svg { width: 12px; color: var(--lime); }
.event-matchup { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 1rem; max-width: 720px; margin: 20px auto 16px; }
.event-team { display: flex; min-width: 0; flex-direction: column; align-items: center; text-align: center; }
.team-crest { display: grid; width: 52px; height: 58px; place-items: center; clip-path: polygon(50% 0, 92% 18%, 86% 73%, 50% 100%, 14% 73%, 8% 18%); background: linear-gradient(145deg, #d3ff72, #6ca91d); color: #162006; filter: drop-shadow(0 9px 18px rgba(0,0,0,.3)); }
.team-crest.away { background: linear-gradient(145deg, #cbd5e1, #596575); color: #0e131a; }
.team-crest svg { width: 23px; }
.event-team strong { max-width: 240px; margin-top: .55rem; overflow: hidden; color: #fff; font-size: .78rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.event-team small { margin-top: .15rem; color: #68727f; font-size: .46rem; }
.event-kickoff { display: flex; flex-direction: column; align-items: center; }
.event-kickoff span { border-radius: 99px; background: var(--lime); padding: .23rem .48rem; color: #142006; font-size: .4rem; font-weight: 900; letter-spacing: .08em; }
.event-kickoff strong { margin-top: .32rem; color: #fff; font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; }
.event-kickoff small { color: #7b8591; font-size: .48rem; }
.event-kickoff b { margin-top: .35rem; color: #4f5965; font-size: .45rem; letter-spacing: .2em; }
.event-hero-meta { display: flex; justify-content: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: .75rem; }
.event-hero-meta span { display: flex; align-items: center; gap: .32rem; color: #7b8591; font-size: .48rem; }
.event-hero-meta svg { width: 11px; color: var(--lime); }

.market-toolbar { position: sticky; top: 131px; z-index: 12; display: flex; min-height: 49px; align-items: center; gap: .55rem; margin: 8px 0; border: 1px solid var(--line); border-radius: 9px; background: rgba(15,20,28,.96); padding: 5px; backdrop-filter: blur(16px); }
.market-toolbar > label { display: flex; width: 160px; flex: 0 0 auto; align-items: center; gap: .42rem; border-right: 1px solid var(--line); padding: 0 .55rem; }
.market-toolbar label svg { width: 13px; color: #59626f; }
.market-toolbar input { min-width: 0; width: 100%; border: 0; background: transparent !important; padding: 0; color: #dfe5eb; font-size: .56rem; box-shadow: none !important; }
.market-tabs { display: flex; min-width: 0; flex: 1; gap: 3px; overflow-x: auto; }
.market-tabs button { min-height: 36px; min-width: max-content; border-radius: 6px; padding: 0 .7rem; color: #747e8a; font-size: .54rem; font-weight: 800; }
.market-tabs button b { margin-left: .25rem; border-radius: 99px; background: rgba(255,255,255,.045); padding: .12rem .28rem; color: #59626d; font-size: .45rem; }
.market-tabs button:hover, .market-tabs button.is-active { background: var(--lime-soft); color: #dff3b9; }
.market-tabs button.is-active b { color: var(--lime); }
.market-tabs button:disabled { opacity: .35; }
.market-groups { display: flex; flex-direction: column; gap: 7px; }
.market-card summary { display: flex; min-height: 51px; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: .5rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); padding: 0 .8rem; }
.market-card:not([open]) summary { border-bottom: 0; }
.market-card summary::-webkit-details-marker { display: none; }
.market-title, .market-title > span { display: flex; align-items: center; }
.market-title { gap: .55rem; }
.market-title > svg { width: 14px; color: var(--lime); }
.market-title > span { align-items: flex-start; flex-direction: column; gap: .15rem; }
.market-title strong { color: #dce2e8; font-size: .62rem; }
.market-title small { color: #59636f; font-size: .46rem; }
.market-source { display: flex; align-items: center; gap: .35rem; color: #5f6975; font-size: .48rem; }
.market-source svg { width: 11px; }
.market-source svg:last-child { margin-left: .2rem; transition: transform .18s ease; }
.market-card:not([open]) .market-source svg:last-child { transform: rotate(-90deg); }
.market-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 7px; }
.market-three.count-2 { grid-template-columns: repeat(2, 1fr); }
.odd-button.detailed { min-height: 53px; justify-content: space-between; padding: 0 .75rem; }
.odd-button.detailed span { max-width: 75%; overflow: hidden; color: #929ba6; font-size: .55rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.odd-button.detailed strong { color: var(--lime); font-size: .72rem; }
.line-market-head, .line-market-row { display: grid; grid-template-columns: 95px 1fr 1fr; gap: 5px; }
.line-market-head { align-items: center; border-bottom: 1px solid rgba(255,255,255,.04); padding: .5rem .75rem; color: #555f6b; font-size: .45rem; font-weight: 900; text-align: center; }
.line-market-head span:first-child { text-align: left; }
.line-market-body { padding: 3px 7px 7px; }
.line-market-row { align-items: center; border-bottom: 1px solid rgba(255,255,255,.035); padding: 4px 0; }
.line-market-row:last-child { border: 0; }
.line-market-row > strong { padding-left: .45rem; color: #8a949f; font-size: .56rem; font-weight: 850; }
.odd-button.line { min-height: 42px; justify-content: space-between; padding: 0 .7rem; }
.odd-button.line span { color: #76808c; font-size: .53rem; }
.odd-button.line strong { color: var(--lime); }

.related-events { margin-top: 8px; }
.section-heading { display: flex; min-height: 45px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 .8rem; }
.section-heading > span, .section-heading a { display: flex; align-items: center; gap: .4rem; }
.section-heading > span { color: #d2d8df; font-size: .58rem; }
.section-heading svg { width: 12px; color: var(--lime); }
.section-heading a { color: #6d7783; font-size: .5rem; font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.related-grid a { display: flex; min-width: 0; min-height: 88px; flex-direction: column; justify-content: center; background: var(--surface); padding: .7rem; transition: background .14s ease; }
.related-grid a:hover { background: var(--surface-2); }
.related-grid span { color: #616b78; font-size: .45rem; }
.related-grid strong { margin-top: .32rem; overflow: hidden; color: #c8ced6; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.related-grid strong b { color: #59636f; }
.related-grid small { display: flex; align-items: center; gap: .2rem; margin-top: .4rem; color: var(--lime); font-size: .46rem; }
.related-grid small svg { width: 10px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .35rem; color: #484f5a; font-size: .48rem; }
.site-footer a:hover { color: #818b98; }

.bet-slip-shell { position: sticky; top: 141px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(14,18,25,.97); box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.slip-tabs { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 48px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); }
.slip-tabs > button { position: relative; display: flex; align-items: center; justify-content: center; gap: .4rem; color: #646e7a; font-size: .55rem; font-weight: 850; }
.slip-tabs > button svg { width: 13px; }
.slip-tabs > button span { min-width: 17px; border-radius: 99px; background: rgba(255,255,255,.06); padding: 2px 4px; font-size: .45rem; }
.slip-tabs > .is-active { color: #e0e5eb; }
.slip-tabs > .is-active::after { position: absolute; right: .65rem; bottom: 0; left: .65rem; height: 2px; background: var(--lime); content: ""; }
.slip-tabs > .is-active svg, .slip-tabs > .is-active span { color: var(--lime); }
.slip-tabs .close-slip { display: none; }
.slip-mode { display: flex; min-height: 42px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.045); padding: 0 .6rem; }
.slip-mode > span { display: flex; gap: 3px; }
.slip-mode button { border-radius: 5px; padding: .35rem .55rem; color: #59636f; font-size: .48rem; font-weight: 850; }
.slip-mode button.is-active { background: rgba(255,255,255,.055); color: #cdd3db; }
.slip-mode > button { color: #79828e; }
.bet-slip-scroll { max-height: calc(100dvh - 251px); overflow-y: auto; }
.empty-slip { display: flex; min-height: 315px; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.empty-slip > span { display: grid; width: 62px; height: 62px; place-items: center; border: 1px dashed rgba(183,243,74,.25); border-radius: 18px; background: radial-gradient(circle, rgba(183,243,74,.13), rgba(183,243,74,.025)); color: var(--lime); transform: rotate(-5deg); }
.empty-slip > span svg { width: 25px; }
.empty-slip strong { margin-top: 1rem; color: #bbc2cb; font-size: .68rem; }
.empty-slip p { max-width: 220px; margin-top: .4rem; color: #626b77; font-size: .54rem; line-height: 1.6; }
.empty-slip small { display: flex; align-items: center; gap: .35rem; margin-top: 1rem; color: #515a66; font-size: .47rem; }
.empty-slip small svg { width: 11px; }
.slip-items { border-bottom: 1px solid var(--line); }
.slip-item { position: relative; padding: .8rem; border-bottom: 1px solid rgba(255,255,255,.045); background: rgba(255,255,255,.01); }
.slip-item:last-child { border: 0; }
.slip-item::before { position: absolute; left: 0; top: .8rem; bottom: .8rem; width: 2px; border-radius: 99px; background: var(--lime); content: ""; box-shadow: 0 0 9px rgba(183,243,74,.35); }
.slip-check { display: flex; align-items: center; gap: .55rem; border-bottom: 1px solid var(--line); background: rgba(183,243,74,.04); padding: .65rem .8rem; }
.slip-check > svg { width: 14px; color: var(--lime); }
.slip-check strong { display: block; color: #bac7a5; font-size: .5rem; }
.slip-check small { display: block; margin-top: .1rem; color: #5e685f; font-size: .43rem; }
.slip-form { display: flex; flex-direction: column; gap: .65rem; padding: .8rem; }
.quick-stakes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.quick-stakes button { min-height: 30px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.025); color: #828b97; font-size: .48rem; font-weight: 850; }
.quick-stakes button:hover { border-color: rgba(183,243,74,.25); color: var(--lime); }
.slip-form > label { display: flex; align-items: center; justify-content: space-between; color: #b4bbc4; font-size: .52rem; font-weight: 850; }
.slip-form > label span { color: #555e6a; font-size: .44rem; }
.stake-field { display: flex; min-height: 45px; align-items: center; gap: .5rem; border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(0,0,0,.23); padding: 0 .65rem; transition: border-color .14s ease; }
.stake-field:focus-within { border-color: rgba(183,243,74,.45); box-shadow: 0 0 0 3px rgba(183,243,74,.05); }
.stake-field > span { color: #68717d; font-size: .7rem; font-weight: 900; }
.stake-field input { min-width: 0; flex: 1; border: 0; background: transparent !important; padding: 0; color: #fff; font-size: .75rem; font-weight: 900; box-shadow: none !important; }
.stake-field input::placeholder { color: #3d4550; }
.stake-field b { color: #58616e; font-size: .46rem; }
.stake-error { display: flex; align-items: center; gap: .35rem; color: #fda4af; font-size: .48rem; }
.stake-error svg { width: 11px; }
.slip-math { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.slip-math > div { border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.02); padding: .55rem; }
.slip-math span { display: block; color: #59626e; font-size: .43rem; font-weight: 850; text-transform: uppercase; }
.slip-math strong { display: block; margin-top: .22rem; color: #e2e6eb; font-size: .66rem; font-weight: 900; }
.potential-card { display: flex; min-height: 57px; align-items: center; justify-content: space-between; border: 1px solid rgba(183,243,74,.15); border-radius: 7px; background: linear-gradient(120deg, rgba(183,243,74,.09), rgba(183,243,74,.018)); padding: .65rem .7rem; }
.potential-card small, .potential-card b { display: block; }
.potential-card small { color: #9cab82; font-size: .43rem; font-weight: 900; letter-spacing: .05em; }
.potential-card b { margin-top: .15rem; color: #57624f; font-size: .4rem; }
.potential-card strong { color: var(--lime); font-size: .87rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.place-bet-button { display: flex; width: 100%; min-height: 47px; align-items: center; justify-content: center; gap: .45rem; border-radius: 7px; background: linear-gradient(135deg, var(--lime), var(--lime-2)); color: #172007; font-size: .63rem; font-weight: 900; box-shadow: 0 10px 25px rgba(145,213,45,.17), inset 0 1px rgba(255,255,255,.35); transition: transform .14s ease, filter .14s ease; }
.place-bet-button:not(:disabled):hover { filter: brightness(1.06); transform: translateY(-1px); }
.place-bet-button:disabled { background: #252b34; color: #555e68; box-shadow: none; }
.place-bet-button svg { width: 13px; }
.button-loader { align-items: center; gap: .35rem; }
.button-loader svg { animation: spin .8s linear infinite; }
.slip-terms { display: flex; align-items: flex-start; gap: .35rem; color: #4f5864; font-size: .42rem; line-height: 1.5; }
.slip-terms svg { width: 10px; flex: 0 0 auto; margin-top: 1px; }
.bet-slip-shell > footer { display: flex; min-height: 34px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 0 .75rem; color: #515a66; font-size: .44rem; }
.bet-slip-shell > footer span { display: flex; align-items: center; gap: .35rem; }
.bet-slip-shell > footer .status-dot { transform: scale(.75); }
.bet-slip-shell > footer b { font-weight: 650; }

.mobile-slip-bar { position: fixed; z-index: 44; right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); left: max(.75rem, env(safe-area-inset-left)); display: none; min-height: 53px; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: linear-gradient(135deg, var(--lime), var(--lime-2)); padding: .5rem .8rem; color: #142006; box-shadow: 0 15px 38px rgba(0,0,0,.4), 0 8px 24px rgba(145,213,45,.2); }
.mobile-slip-bar > span { display: flex; align-items: center; gap: .4rem; font-size: .6rem; font-weight: 900; }
.mobile-slip-bar svg { width: 14px; }
.mobile-slip-bar b { border-radius: 99px; background: rgba(0,0,0,.13); padding: 2px 5px; font-size: .48rem; }
.mobile-slip-bar > span:last-child { gap: .55rem; }
.mobile-slip-bar small, .mobile-slip-bar strong { display: block; text-align: right; }
.mobile-slip-bar small { font-size: .35rem; opacity: .55; }
.mobile-slip-bar strong { font-size: .61rem; }

.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: .7rem; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(16,21,29,.98); padding: .8rem; color: #e2e7ed; box-shadow: 0 20px 50px rgba(0,0,0,.42); backdrop-filter: blur(20px); animation: toast-in .24s ease both; }
.toast.success { border-color: rgba(183,243,74,.25); }
.toast.error { border-color: rgba(251,113,133,.28); }
.toast.is-leaving { animation: toast-out .18s ease both; }

@media (max-width: 1430px) {
    .sports-layout { grid-template-columns: 232px minmax(570px, 1fr) 318px; }
    .brand { min-width: 190px; }
    .match-row { grid-template-columns: minmax(230px, 1fr) 210px 140px 44px; }
    .column-labels { grid-template-columns: 210px 140px 44px; }
}

@media (max-width: 1199px) {
    .sports-layout { grid-template-columns: 218px minmax(0, 1fr); padding-bottom: 78px; }
    .bet-slip-panel { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; visibility: hidden; padding: .7rem; transform: translateY(105%); transition: visibility 0s linear .28s, transform .28s cubic-bezier(.2,.8,.2,1); }
    .bet-slip-panel .bet-slip-shell { position: relative; top: auto; width: min(100%, 480px); max-height: 88dvh; margin: auto; border-radius: 12px; }
    .bet-slip-panel .bet-slip-scroll { max-height: calc(88dvh - 124px); }
    body.bet-slip-open { overflow: hidden; }
    body.bet-slip-open .bet-slip-panel { visibility: visible; transform: translateY(0); transition-delay: 0s; }
    body.bet-slip-open #sheet-overlay { display: block; }
    .slip-tabs { grid-template-columns: 1.15fr .85fr 42px; }
    .slip-tabs .close-slip { display: flex; }
    .header-slip, .mobile-slip-bar { display: grid; }
    .mobile-slip-bar { display: flex; }
    .feed-state { display: none; }
}

@media (max-width: 960px) {
    .topbar { height: 58px; padding: 0 12px; }
    .brand { min-width: auto; }
    .primary-nav { display: none; }
    .sports-rail { min-height: 52px; padding: 0 10px; }
    .sports-rail button { min-width: 87px; }
    .rail-meta { display: none; }
    .sports-layout { grid-template-columns: minmax(0, 1fr); padding: 8px; }
    .left-sidebar { display: none; }
    .match-row { grid-template-columns: minmax(230px, 1fr) 210px 42px; }
    .row-totals { display: none; }
    .column-labels { grid-template-columns: 210px 42px; }
    .column-labels span:nth-child(2) { display: none; }
    .market-toolbar { top: 110px; }
}

@media (max-width: 680px) {
    .top-actions { gap: .4rem; }
    .balance-chip { min-width: auto; padding-left: .65rem; }
    .balance-chip small { display: none; }
    .balance-chip strong { margin: 0; font-size: .68rem; }
    .balance-chip > svg { width: 27px; height: 27px; }
    .brand-mark { width: 32px; height: 32px; }
    .brand strong { font-size: .85rem; }
    .brand small { font-size: .4rem; }
    .sports-rail button { min-width: 76px; flex-direction: column; gap: .18rem; padding: .25rem .4rem; font-size: .48rem; }
    .sports-rail button > span { width: 22px; height: 22px; }
    .sports-rail b { display: none; }
    .bulletin-top { min-height: auto; align-items: stretch; flex-direction: column; padding: 13px; }
    .bulletin-top h1 { font-size: 1.22rem; }
    .bulletin-top p { line-height: 1.5; }
    .date-pills { max-width: 100%; }
    .featured-leagues { grid-auto-columns: 220px; }
    .bulletin-header { padding: 0 .6rem; }
    .column-labels { display: none; }
    .match-row { grid-template-columns: minmax(0, 1fr); gap: 6px; min-height: auto; padding: 8px; }
    .match-info { min-height: 46px; }
    .row-h2h { grid-template-columns: repeat(3, 1fr); }
    .odd-button.compact { min-height: 38px; }
    .more-markets { position: absolute; right: 13px; margin-top: 3px; min-height: 27px; padding: 0 .35rem; }
    .match-row { position: relative; }
    .stream-icons { display: none; }
    .league-heading small { display: none; }
    .event-hero { min-height: 230px; padding: 11px; }
    .event-matchup { grid-template-columns: 1fr 72px 1fr; gap: .35rem; }
    .team-crest { width: 42px; height: 47px; }
    .team-crest svg { width: 19px; }
    .event-team strong { max-width: 115px; font-size: .62rem; }
    .event-kickoff strong { font-size: 1.05rem; }
    .event-hero-meta { gap: .55rem; flex-wrap: wrap; }
    .market-toolbar { top: 110px; flex-direction: column; align-items: stretch; padding: 6px; }
    .market-toolbar > label { width: 100%; min-height: 30px; border-right: 0; border-bottom: 1px solid var(--line); }
    .market-three { grid-template-columns: 1fr; }
    .odd-button.detailed { min-height: 45px; }
    .line-market-head, .line-market-row { grid-template-columns: 62px 1fr 1fr; }
    .line-market-head { padding-inline: .35rem; }
    .odd-button.line { padding: 0 .5rem; }
    .market-source { max-width: 105px; overflow: hidden; white-space: nowrap; }
    .market-source svg:first-child { display: none; }
    .related-grid { grid-template-columns: 1fr; }
    .related-grid a { min-height: 72px; }
    .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@keyframes pulse { 0% { opacity: .8; transform: scale(.65); } 80%, 100% { opacity: 0; transform: scale(1.55); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
