:root{color-scheme:dark;--bg:#080c12;--panel:#101620;--raised:#17202e;--border:#233042;--gold:#e8ba71;--gold-bright:#f6d089;--text:#f1f5f9;--muted:#8e9eb3;--green:#22c58b;--header-height:68px;--ribbon-height:52px;--side-width:264px;--slip-width:316px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:13px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse 90% 420px at 50% -120px,#172438 0%,transparent 70%),var(--bg);color:var(--text);selection-background-color:var(--gold)}
::selection{background:#e8ba7138;color:#fff}
button,input,select{font:inherit;color:inherit;border-radius:8px}
button{cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .14s ease;border:1px solid var(--border);background:var(--raised)}
button:disabled{cursor:not-allowed;opacity:.45}
button:hover:not(:disabled){filter:brightness(1.1)}
button:active:not(:disabled){transform:translateY(1px)}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
[hidden]{display:none!important}
h1,h2,h3,p{margin-top:0}
h1{font-size:19px;font-weight:800;margin-bottom:0;letter-spacing:-.5px;color:#fff}
h2{font-size:17px;font-weight:800;margin-bottom:0;letter-spacing:-.4px;color:#f8fafc}
.gold{color:var(--gold)}
.muted{color:var(--muted);font-size:11px}
.skip{position:fixed;top:-60px;z-index:50;padding:12px 16px;background:var(--gold);color:#0b0f17;font-weight:800;border-radius:0 0 8px 8px}
.skip:focus{top:0}

/* ==========================================================================
   TOP COMMAND HEADER & NAVIGATION
   ========================================================================== */
.header{position:sticky;top:0;z-index:30;height:var(--header-height);display:grid;grid-template-columns:var(--side-width) minmax(0,1fr) auto var(--slip-width);align-items:center;gap:0;padding:0;background:rgba(10,15,23,.9);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 12px 32px -12px rgba(0,0,0,.75);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%)}
.brand-button{padding:0;border:0;background:none;width:176px;margin:auto;transition:transform .16s ease,filter .16s ease}
.brand-button:hover:not(:disabled){filter:brightness(1.08) drop-shadow(0 4px 12px rgba(232,186,113,.22));transform:scale(1.015)}
.brand{display:block;max-height:48px;width:100%;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(0,0,0,.55))}
.nav{display:flex;align-items:center;justify-content:flex-start;gap:22px;align-self:stretch;padding:0 22px;overflow-x:auto;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav button{position:relative;border:0;background:none;color:#94a3b8;font-size:11.5px;font-weight:800;white-space:nowrap;letter-spacing:.65px;border-radius:0;padding:12px 2px;align-self:stretch;display:inline-flex;align-items:center}
.nav button:hover:not(:disabled){filter:none;color:#f1f5f9;transform:none}
.nav button.active{color:var(--gold);text-shadow:0 0 18px rgba(232,186,113,.35)}
.nav button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,#f6d089,#d8a248);box-shadow:0 -2px 12px rgba(232,186,113,.65)}
.header-right{display:grid;gap:6px;padding:0 16px;min-width:0}
.search{display:flex;align-items:center;gap:9px;border:1px solid #243246;background:#080c13;padding:0 12px;border-radius:9px;box-shadow:inset 0 2px 4px rgba(0,0,0,.55);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.search:focus-within{border-color:#e8ba7188;background:#0b111b;box-shadow:inset 0 2px 4px rgba(0,0,0,.5),0 0 0 3px rgba(232,186,113,.14)}
.search>span{font-size:22px;color:#64748b;line-height:1}
.search input{width:100%;height:36px;border:0;background:transparent;outline:none;font-size:11.5px;color:#f1f5f9;font-weight:500}
.search input::placeholder{color:#58687d}
.feed{font-size:10px;color:var(--muted);text-align:right;letter-spacing:.2px}
.feed:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#8b98aa}
.feed.fresh:before{background:var(--green);box-shadow:0 0 8px #22c58b66}
.feed.stale:before{background:var(--gold)}

/* ==========================================================================
   THREE-COLUMN SPORTSBOOK SHELL & SIDEBAR
   ========================================================================== */
.layout{display:grid;grid-template-columns:var(--side-width) minmax(0,1fr) var(--slip-width);align-items:start;min-height:calc(100dvh - var(--header-height) - var(--ribbon-height))}
.side,.slip{position:sticky;top:calc(var(--header-height) + var(--ribbon-height));max-height:calc(100dvh - var(--header-height) - var(--ribbon-height));overflow:auto;scrollbar-width:thin;scrollbar-color:#263447 transparent;background:linear-gradient(180deg,#0e141e 0%,#0a0f17 100%)}
.side{padding:16px 11px 22px;border-right:1px solid rgba(255,255,255,.07)}
.side-intro{display:grid;gap:0;padding:0 10px 8px}
.side-intro>.muted{display:none}
.side-intro>.gold{font-size:10px;font-weight:900;letter-spacing:2.1px;color:var(--gold);opacity:.92}
.side-section{margin-top:6px}
.side-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 10px 8px}
.side-section-head .label{margin:0}
.side-mini-clear{border:0;background:rgba(255,255,255,.05);color:#94a3b8;font-size:9.5px;font-weight:700;padding:2px 7px;border-radius:999px}
.side-mini-clear:hover:not(:disabled){filter:none;color:var(--gold-bright);background:rgba(232,186,113,.15)}
.label{margin:18px 10px 8px;font-size:9.5px;font-weight:800;letter-spacing:1.6px;color:#64748b;text-transform:uppercase;display:flex;align-items:center;gap:5px}
.fav-star-ico{color:var(--gold);font-size:11px;line-height:1}
.nav-list{display:grid;gap:3px}
.nav-list button,.side-nav-row{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;width:100%;min-height:34px;padding:6px 10px;background:transparent;border:1px solid transparent;border-radius:8px;color:#b8c4d4;font-size:12px;font-weight:600}
.nav-list button:hover:not(:disabled){filter:none;background:rgba(255,255,255,.04);color:#f1f5f9;border-color:rgba(255,255,255,.05)}
.nav-list button.active{border-color:rgba(232,186,113,.32);background:linear-gradient(90deg,rgba(232,186,113,.16) 0%,rgba(232,186,113,.04) 100%);color:var(--gold-bright);font-weight:700;box-shadow:inset 3px 0 0 var(--gold)}
.nav-list button span.nav-count-badge,.nav-list button span:last-child:not(:first-child):not(.nav-item-label){font-size:10px;font-weight:700;color:#6e7f94;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.04);flex:none}
.nav-list button.active span.nav-count-badge,.nav-list button.active span:last-child:not(:first-child):not(.nav-item-label){color:var(--gold);background:rgba(232,186,113,.16)}
.countries{max-height:none;overflow:visible}
.side-bottom{border-top:1px solid rgba(255,255,255,.07);margin:24px 10px 0;padding-top:18px;color:var(--gold);font-size:11px;font-weight:700}
.side-bottom span{color:var(--muted);margin-left:8px;font-weight:500}

/* ==========================================================================
   PRO SPORTSBOOK RIBBON BAR, GEOGRAPHIC ACCORDION TREE & FAVORITES
   ========================================================================== */
.nav button{gap:6px;text-transform:uppercase}
.nav-search-trigger{color:#cbd5e1!important}
.nav-search-trigger span{font-size:15px;line-height:1;color:var(--gold)}
.nav-bets-pill{display:inline-grid;place-items:center;min-width:19px;height:17px;padding:0 5px;margin-left:3px;border-radius:99px;background:rgba(232,186,113,.18);border:1px solid rgba(232,186,113,.45);color:var(--gold-bright);font-size:9.5px;font-weight:800}

.sport-ribbon-bar{position:sticky;top:var(--header-height);z-index:25;height:var(--ribbon-height);background:rgba(13,19,29,.94);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 8px 20px -10px rgba(0,0,0,.6)}
.sport-ribbon-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;height:100%;padding:0 18px;max-width:100%}
.sport-ribbon-bar .sport-tabs{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none;padding:0;border:0;height:100%}
.sport-ribbon-bar .sport-tabs::-webkit-scrollbar{display:none}
.sport-pill{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;border-radius:999px;background:#131b28;border:1px solid #223044;color:#b8c5d6;font-size:12px;font-weight:700;white-space:nowrap;flex:none;transition:all .15s ease}
.sport-pill:hover:not(:disabled){filter:none;background:#1a2536;border-color:#354863;color:#fff;transform:translateY(-1px)}
.sport-pill.active{background:linear-gradient(180deg,#f6d089 0%,#dca652 100%);border-color:var(--gold);color:#0b1017;font-weight:800;box-shadow:0 4px 14px -3px rgba(232,186,113,.42)}
.sport-pill-icon{font-size:14px;line-height:1}
.sport-pill-count{font-size:10px;font-weight:800;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.07);color:#8fa0b5}
.sport-pill.active .sport-pill-count{background:rgba(11,16,23,.18);color:#0b1017}
.sport-pill.is-empty-sport{opacity:.65}

.mobile-geo-trigger-wrap{display:none;flex:none}
.mobile-geo-btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 11px;border-radius:999px;background:#162030;border:1px solid rgba(232,186,113,.38);color:var(--gold-bright);font-size:11px;font-weight:700;white-space:nowrap}
.mobile-geo-btn[aria-expanded="true"]{background:rgba(232,186,113,.18);border-color:var(--gold)}
.mobile-geo-drawer{background:#0d141f;border-bottom:1px solid rgba(232,186,113,.28);padding:12px 14px 16px;max-height:68dvh;overflow-y:auto;box-shadow:0 18px 40px rgba(0,0,0,.8)}
.mobile-geo-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px;color:#fff}

/* Sidebar item rows with Favorite Star button */
.side-item-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px;border-radius:8px;transition:background .14s ease}
.side-item-wrap:hover{background:rgba(255,255,255,.035)}
.side-item-wrap.active{background:linear-gradient(90deg,rgba(232,186,113,.16) 0%,rgba(232,186,113,.04) 100%);box-shadow:inset 3px 0 0 var(--gold)}
.side-item-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;width:100%;min-height:33px;padding:5px 8px 5px 10px;border:0;background:transparent;color:#c2cedd;font-size:12px;font-weight:600;text-align:left;border-radius:8px 0 0 8px}
.side-item-main:hover:not(:disabled){filter:none;color:#fff;transform:none}
.side-item-wrap.active .side-item-main{color:var(--gold-bright);font-weight:700}
.side-item-left{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.side-item-left .crest{width:18px;height:18px;flex:0 0 18px;font-size:6.5px}
.side-item-icon{font-size:13.5px;line-height:1;flex:none;width:18px;text-align:center}
.side-item-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}
.side-item-sub{display:block;font-size:9.5px;color:#78889e;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-item-count{font-size:10px;font-weight:700;color:#6e7f94;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.04);flex:none}
.side-item-wrap.active .side-item-count{color:var(--gold);background:rgba(232,186,113,.16)}

.fav-toggle{width:26px;height:28px;padding:0;border:0;background:transparent;color:#526277;font-size:13px;display:grid;place-items:center;border-radius:6px;flex:none}
.fav-toggle:hover:not(:disabled){filter:none;color:var(--gold-bright);background:rgba(232,186,113,.1);transform:scale(1.1)}
.fav-toggle.is-fav{color:var(--gold)}

/* Geographic Search & Continent -> Country -> League Tree */
.geo-search-box{display:flex;align-items:center;gap:7px;margin:0 6px 10px;padding:0 10px;height:33px;border-radius:8px;border:1px solid #223042;background:#080c13;box-shadow:inset 0 1px 3px rgba(0,0,0,.5)}
.geo-search-box:focus-within{border-color:rgba(232,186,113,.6);box-shadow:0 0 0 2px rgba(232,186,113,.14)}
.geo-search-box>span{font-size:15px;color:#64748b;line-height:1}
.geo-search-box input{width:100%;height:100%;border:0;background:transparent;outline:none;font-size:11.5px;color:#f1f5f9}
.geo-search-box input::placeholder{color:#58687d}

.geo-tree{display:flex;flex-direction:column;gap:5px}
.geo-continent{border:1px solid rgba(255,255,255,.05);border-radius:9px;background:rgba(16,23,34,.65);overflow:hidden}
.geo-continent>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:#cbd5e1;background:rgba(255,255,255,.02);user-select:none}
.geo-continent>summary::-webkit-details-marker{display:none}
.geo-continent>summary:hover{color:var(--gold-bright);background:rgba(255,255,255,.04)}
.geo-continent[open]>summary{border-bottom:1px solid rgba(255,255,255,.05);color:var(--gold)}
.geo-cont-left{display:flex;align-items:center;gap:7px;min-width:0}
.geo-cont-right{display:flex;align-items:center;gap:6px;flex:none}
.geo-cont-count{font-size:9.5px;font-weight:700;color:#7e90a6;padding:1px 6px;border-radius:999px;background:rgba(255,255,255,.05)}
.geo-chevron{font-size:10px;color:#64748b;transition:transform .15s ease}
.geo-continent[open]>summary .geo-chevron,.geo-country[open]>summary .geo-chevron{transform:rotate(90deg);color:var(--gold)}

.geo-country-list{display:flex;flex-direction:column;padding:4px}
.geo-country{border-radius:7px;overflow:hidden}
.geo-country>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;font-size:11.5px;font-weight:600;color:#b8c4d4;border-radius:6px;user-select:none}
.geo-country>summary::-webkit-details-marker{display:none}
.geo-country>summary:hover{background:rgba(255,255,255,.04);color:#fff}
.geo-country.active-country>summary{background:rgba(232,186,113,.13);color:var(--gold-bright);font-weight:700}
.geo-country-left{display:flex;align-items:center;gap:7px;min-width:0;flex:1}
.country-flag{font-size:14px;line-height:1;flex:none}
.geo-country-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.geo-league-list{display:flex;flex-direction:column;gap:2px;padding:3px 0 5px 16px;border-left:1px solid rgba(232,186,113,.2);margin-left:14px}
.geo-league-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px;border-radius:6px}
.geo-league-btn{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;width:100%;padding:5px 7px;border:0;background:transparent;color:#9eb0c5;font-size:11px;font-weight:600;text-align:left;border-radius:6px}
.geo-league-btn:hover:not(:disabled){filter:none;background:rgba(255,255,255,.04);color:#fff;transform:none}
.geo-league-btn.active{background:rgba(232,186,113,.16);color:var(--gold-bright);font-weight:700}
.geo-league-btn span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.geo-league-btn span:last-child{font-size:9.5px;color:#6e7f94;flex:none}

/* Sport Context Banner */
.sport-context-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin-bottom:14px;border-radius:12px;background:linear-gradient(90deg,rgba(23,32,48,.9) 0%,rgba(15,22,34,.75) 100%);border:1px solid rgba(255,255,255,.07)}
.sport-context-left{display:flex;align-items:center;gap:12px;min-width:0}
.sport-context-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:rgba(232,186,113,.14);border:1px solid rgba(232,186,113,.32);font-size:19px;flex:none}
.sport-context-banner .eyebrow{margin:0 0 2px;font-size:9px}
.sport-context-banner h1{font-size:17px;font-weight:800;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sport-context-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}

/* Featured League Card Favorite Star */
.league{position:relative}
.league-fav-btn{position:absolute;top:5px;right:5px;z-index:2;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:rgba(10,15,23,.65);color:#7c8ea5;font-size:12px;display:grid;place-items:center}
.league-fav-btn:hover:not(:disabled){filter:none;color:var(--gold-bright);background:rgba(10,15,23,.9);transform:scale(1.1)}
.league-fav-btn.is-fav{color:var(--gold)}

.board-heading{margin-bottom:10px}
.board-summary-pill{font-size:11px;font-weight:700;color:#94a3b8;padding:4px 10px;border-radius:999px;background:#131b28;border:1px solid #223044}
.board-summary-pill:empty{display:none}
.league-heading-fav{width:26px;height:26px;padding:0;border:0;background:transparent;color:#64748b;font-size:14px;display:grid;place-items:center;border-radius:6px;flex:none}
.league-heading-fav:hover:not(:disabled){filter:none;color:var(--gold-bright);background:rgba(255,255,255,.06)}
.league-heading-fav.is-fav{color:var(--gold)}

/* ==========================================================================
   MAIN ARENA, FEATURED HERO & COMPETITION CAROUSEL
   ========================================================================== */
.main{min-width:0;padding:18px 22px 28px}
.eyebrow{display:block;color:var(--gold);font-size:9.5px;font-weight:800;letter-spacing:1.7px;margin-bottom:8px;text-transform:uppercase}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}
.section-heading .eyebrow{display:none}
.crest{position:relative;display:inline-grid;place-items:center;flex:none;width:24px;height:27px;background:linear-gradient(145deg,rgba(232,186,113,.16),rgba(232,186,113,.05));color:var(--gold);font-weight:800;font-size:8px;clip-path:polygon(8% 0,92% 0,92% 65%,80% 82%,50% 100%,20% 82%,8% 65%)}
.crest.has-image{background:transparent;clip-path:none}
.crest img{width:100%;height:100%;object-fit:contain}
.crest .initials{position:absolute}
.crest.has-image .initials{display:none}
.text-button{border:0;background:none;color:var(--gold);padding:5px 2px;font-size:10.5px;font-weight:700}
.text-button:hover:not(:disabled){filter:none;color:var(--gold-bright);text-decoration:underline;text-underline-offset:3px}
.tabs{display:flex;gap:7px;flex-wrap:wrap}
.tabs button{padding:8px 13px;font-size:11.5px;font-weight:600;color:#9fb0c5;background:#121925;border:1px solid #212e40;border-radius:9px}
.tabs button:hover:not(:disabled){filter:none;border-color:#33455e;color:#f1f5f9;background:#182130}
.tabs button.active{color:#0c1118;background:linear-gradient(180deg,#f5ce87 0%,#dda853 100%);border-color:var(--gold);font-weight:800;box-shadow:0 4px 14px -3px rgba(232,186,113,.38),inset 0 1px 0 rgba(255,255,255,.45)}
.sport-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.07)}
.sport-tabs button{white-space:nowrap;flex:none}
.feed,#feed,#timezone,#event-count,.slip-note{display:none!important}
.board-tools:empty,.board-tools[hidden]{display:none!important}
.board-tools{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:0;padding:10px 0 4px}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:6px}
.breadcrumbs button{font-size:10.5px;font-weight:600;padding:5px 10px;color:#d0dae7;background:#141d2b;border-color:#263549;border-radius:999px}

/* Competition navigation */
.leagues{display:flex;flex-wrap:nowrap;gap:12px;align-items:flex-start;min-height:142px;max-width:100%;padding:2px 2px 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
.leagues>.empty,.leagues>.muted{grid-column:1/-1;margin:0;padding:20px 10px;align-self:center}
.league{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;width:136px;flex:0 0 136px;min-width:0;height:134px;min-height:134px;padding:10px 8px;background:linear-gradient(180deg,rgba(20,28,40,.75) 0%,rgba(14,20,30,.4) 100%);border:1px solid rgba(255,255,255,.05);border-radius:12px;text-align:center;overflow:hidden;scroll-snap-align:start;box-shadow:0 6px 16px -8px rgba(0,0,0,.5)}
.league .crest{display:inline-grid;flex:0 0 52px;flex-shrink:0;align-self:center;grid-area:auto;width:52px;height:52px;margin:0;overflow:hidden}
.league .crest img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.65))}
.league.poster-card{height:138px;min-height:138px}
.league.poster-card .crest{flex:0 0 68px;width:54px;height:68px;border-radius:7px;overflow:hidden;box-shadow:0 6px 14px rgba(0,0,0,.75);border:1px solid rgba(255,255,255,.1)}
.league.poster-card .crest img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:6px}
.league small{display:none}
.league strong{display:-webkit-box;grid-area:auto;width:100%;font-size:11px;font-weight:700;line-height:14px;min-height:28px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#d5deea;flex-shrink:0;margin-top:2px}
.league .match-count{grid-area:auto;font-size:9.5px;font-weight:600;color:#7a8b9f;flex-shrink:0}
.league:hover:not(:disabled){filter:none;background:linear-gradient(180deg,rgba(28,39,55,.9) 0%,rgba(18,26,38,.7) 100%);border-color:rgba(232,186,113,.35);transform:translateY(-2px);box-shadow:0 10px 22px -10px rgba(0,0,0,.75)}
.league.active{background:linear-gradient(180deg,rgba(232,186,113,.16) 0%,rgba(232,186,113,.04) 100%);border-color:var(--gold);box-shadow:0 8px 20px -8px rgba(232,186,113,.3)}
.league.active strong{color:var(--gold-bright)}
.league.light-logo img{filter:brightness(0) invert(.92) drop-shadow(0 2px 4px #0008)}
.league:focus-visible{outline-offset:-2px}
.competition-actions{display:flex;align-items:center;gap:8px;max-width:65%}
#league-select{width:196px;max-width:100%;min-width:0;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#111824;color:#cbd5e1;font:inherit;font-size:11px;font-weight:600}
.carousel-arrow{flex:none;width:28px;height:28px;padding:0;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#131b28;color:var(--gold);font-size:20px;line-height:1;display:grid;place-items:center}
.carousel-arrow:hover:not(:disabled){background:#1b2638;border-color:rgba(232,186,113,.45)}
.carousel-arrow:disabled{opacity:.25}

/* Featured event Hero */
.hero{position:relative;min-height:0;overflow:hidden;padding:18px 22px;border:1px solid rgba(232,186,113,.32);border-radius:14px;background:radial-gradient(85% 130% at 50% -15%,rgba(232,186,113,.18),transparent 62%),radial-gradient(60% 90% at 95% 100%,rgba(34,197,139,.07),transparent 60%),linear-gradient(135deg,#162030 0%,#0f1622 65%,#0b1019 100%);box-shadow:0 22px 48px -22px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.08)}
.hero:before{content:"";position:absolute;left:15%;right:15%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(232,186,113,.65),transparent);pointer-events:none}
.hero:after{display:none}
.hero-poster{position:absolute;right:0;top:0;height:100%;width:28%;object-fit:cover;opacity:.38;mask-image:linear-gradient(90deg,transparent,black)}
.hero-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.hero-heading .eyebrow{margin:0;font-size:9.5px;line-height:1.5;letter-spacing:1.3px;color:var(--gold-bright)}
.hero-heading .hero-meta{margin:0;white-space:nowrap;font-size:11px;font-weight:600;color:#b0bfd2}
.hero-teams{display:grid;grid-template-columns:minmax(0,220px) 76px minmax(0,220px) 62px;align-items:start;justify-content:center;gap:10px;width:fit-content;max-width:100%;margin:18px auto 14px;position:relative;z-index:1}
.hero-team,.hero-team:last-child{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:9px;text-align:center;min-width:0;width:100%}
.hero-team strong{font-size:19px;font-weight:800;line-height:1.22;letter-spacing:-.4px;color:#fff;position:relative;z-index:2;max-width:100%;word-break:normal;overflow-wrap:normal;hyphens:none;text-wrap:balance;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.hero .crest{width:76px;height:76px;padding:4px;overflow:hidden}
.hero .crest img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 6px 14px rgba(0,0,0,.6))}
.hero.is-combat .crest.fighter-portrait{width:168px;height:146px;padding:0;overflow:hidden;border-bottom:1px solid rgba(232,186,113,.22)}
.hero.is-combat .crest.fighter-portrait img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 8px 16px rgba(0,0,0,.75))}
.hero.is-combat .crest.fighter-portrait.wide-headshot img{object-fit:cover;object-position:center top}
.versus{color:#8797ac;font-size:10px;font-weight:800}
.hero .versus{align-self:center;justify-self:center;text-align:center;font-weight:800;letter-spacing:1.4px;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);color:#b8c5d6}
.hero .market-buttons{max-width:none;position:relative;z-index:1}
.hero .odds{min-height:46px}
.hero .more-markets{flex-basis:62px}
.hero .empty{padding:20px 10px}
/* Hero 2-way (without Draw) */
.hero.two-way-hero .hero-teams,.hero.two-way-hero .market-buttons.two-way{display:grid;grid-template-columns:220px 36px 220px 62px;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;margin:14px auto}
.hero.two-way-hero .market-buttons.two-way{margin:0 auto}
.hero.two-way-hero .hero-team:first-child,.hero.two-way-hero .hero-team:last-child{grid-column:auto}
.hero.two-way-hero .market-buttons.two-way .odds{width:96px;justify-self:center;flex:none}
.hero.two-way-hero .market-buttons.two-way .odds:nth-child(1){grid-column:1}
.hero.two-way-hero .market-buttons.two-way .odds:nth-child(2){grid-column:3}
.hero.two-way-hero .market-buttons.two-way .more-markets{grid-column:4;width:62px;justify-self:center;flex:none;padding:4px;font-size:9.5px;line-height:1.25}
/* Hero 3-way (with Draw 1-X-2) */
.hero.three-way-hero .hero-teams,.hero.three-way-hero .market-buttons.three-way{display:grid;grid-template-columns:220px 84px 220px 62px;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;margin:14px auto}
.hero.three-way-hero .market-buttons.three-way{margin:0 auto}
.hero.three-way-hero .market-buttons.three-way .odds{width:88px;justify-self:center;flex:none}
.hero.three-way-hero .market-buttons.three-way .more-markets{grid-column:4;width:62px;justify-self:center;flex:none;padding:4px;font-size:9.5px;line-height:1.25}

/* ==========================================================================
   MATCHES & MARKETS BOARD + PRO ODDS BUTTONS
   ========================================================================== */
.league-group{border:1px solid #212d3e;border-radius:12px;overflow:hidden;margin-bottom:16px;background:#101620;box-shadow:0 12px 30px -16px rgba(0,0,0,.7)}
.league-heading{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,#182232 0%,#121a26 100%);padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.05)}
.league-heading .crest{width:28px;height:28px;flex:0 0 28px;overflow:hidden}
.league-heading .crest img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}
.league-heading .heading-text{flex:1;min-width:0}
.league-heading strong{font-size:12px;font-weight:800;color:#f1f5f9;letter-spacing:-.1px}
.league-heading small{display:block;color:#8293a8;font-size:9.5px;font-weight:600;margin-top:3px}
.columns{display:flex;gap:6px;flex:0 0 50%;padding-right:69px}
.columns span{flex:1;text-align:center;color:#7c8ea5;font-size:10px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}

.event-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border-top:1px solid rgba(255,255,255,.06);transition:background .15s ease}
.event-card:first-of-type{border-top:0}
.event-card:hover{background:rgba(255,255,255,.018)}
.event-card.two-way-card{grid-template-columns:minmax(0,1fr) auto}
.event-details{min-width:0;flex:1}
.event-name{display:block;border:0;background:transparent;text-align:left;padding:0;width:100%}
.event-name:hover:not(:disabled){filter:none;transform:none}
.event-meta{color:#8293a8;font-size:10px;font-weight:600;margin-bottom:11px;line-height:1.5}
.participants{display:grid;grid-template-columns:minmax(0,185px) 28px minmax(0,185px);justify-content:center;align-items:start;gap:10px;width:100%}
.participant{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;font-size:12.5px;font-weight:700;color:#edf2f7;text-align:center;min-width:0}
.participant .crest{width:46px;height:46px;padding:2px;overflow:hidden}
.participant .crest img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}
.event-card.combat-card .participant .crest.fighter-portrait{width:84px;height:74px;padding:0;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.1)}
.event-card.combat-card .participant .crest.fighter-portrait img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 5px 12px rgba(0,0,0,.65))}
.event-card.combat-card .participant .crest.fighter-portrait.wide-headshot img{object-fit:cover;object-position:center top}
.participant>span:last-child{display:block;width:100%;min-height:30px;line-height:15px;text-align:center;word-break:normal;overflow-wrap:normal;text-wrap:balance}
.participants>.versus{align-self:center;text-align:center;color:#6e8098;font-size:9.5px;font-weight:800}
.participants>.event-title{grid-column:1/-1;font-size:13px;font-weight:700;line-height:1.5;text-align:left}

/* Tactile Pro Odds Buttons */
.event-card>.market-buttons{width:auto;min-width:0}
.market-buttons{display:flex;gap:6px;align-items:stretch}
.odds{flex:1;min-width:0;background:linear-gradient(180deg,#1e2838 0%,#151d29 100%);border:1px solid #2c3b50;border-radius:8px;padding:7px 6px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 5px rgba(0,0,0,.28)}
.odds>span{font-size:9.5px;font-weight:600;color:#9eb0c5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.odds strong{font-size:15px;color:var(--gold-bright);font-weight:800;letter-spacing:-.2px}
.odds:hover:not(:disabled){filter:none;border-color:rgba(232,186,113,.65);background:linear-gradient(180deg,#253246 0%,#1a2434 100%);transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 14px -4px rgba(0,0,0,.5)}
.odds.selected{border-color:var(--gold);background:linear-gradient(180deg,rgba(232,186,113,.28) 0%,rgba(232,186,113,.12) 100%);box-shadow:0 0 0 1px rgba(232,186,113,.32),0 6px 16px -4px rgba(232,186,113,.3)}
.odds.selected>span{color:#f1f5f9;font-weight:700}
.odds.selected strong{color:#fff}
.odds.suspended strong{font-size:10px;font-weight:700;color:#94a3b8}
.odds.suspended:disabled{opacity:.65}
.more-markets{flex:0 0 63px;color:var(--gold);font-size:10px;font-weight:700;line-height:1.4;padding:5px;border-color:#2b394d;border-radius:8px;background:linear-gradient(180deg,#182130,#121925)}
.more-markets:hover:not(:disabled){filter:none;border-color:rgba(232,186,113,.55);background:#1d283a;color:var(--gold-bright)}
.no-prices{flex:1;display:grid;place-items:center;font-size:10.5px;color:var(--muted);text-align:center}
.load-more{display:block;width:100%;padding:14px;font-weight:800;color:var(--gold-bright);background:linear-gradient(180deg,#161f2d,#101722);border:1px solid #263447;border-radius:10px}
.load-more:hover:not(:disabled){filter:none;border-color:var(--gold);background:#1a2536}
.empty{padding:34px 20px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}
.empty-symbol{font-size:32px;color:#647188;margin-bottom:10px}
.notice{padding:12px 14px;margin:10px 0;border:1px solid rgba(232,186,113,.35);border-radius:9px;color:var(--gold-bright);font-size:12px;line-height:1.6;background:rgba(232,186,113,.07)}
.error{color:#fca5a5;border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.08)}

/* Keep odds compact and align each league header label with its button */
.league-heading .columns{display:grid;flex:0 0 auto;gap:5px;padding:0}
.league-group.two-way-group .columns{flex:0 0 auto;grid-template-columns:repeat(2,76px) 56px;padding:0}
.league-group.three-way-group .columns{flex:0 0 auto;grid-template-columns:repeat(3,76px) 56px;padding:0}
.event-card>.market-buttons.two-way{display:grid;grid-template-columns:repeat(2,76px) 56px;gap:5px;width:218px;justify-self:end}
.event-card>.market-buttons.three-way{display:grid;grid-template-columns:repeat(3,76px) 56px;gap:5px;width:299px;justify-self:end}
.event-card>.market-buttons.two-way .more-markets,.event-card>.market-buttons.three-way .more-markets{width:56px;min-width:0;flex:none;padding:4px 2px;font-size:9px;line-height:1.25}
/* Mixed group logic (e.g. Boxing where some bouts quote Draw and others are 2-way) */
.league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way{grid-template-columns:repeat(3,76px) 56px;width:299px}
.league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way>.odds:nth-child(1){grid-column:1}
.league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way>.odds:nth-child(2){grid-column:3}
.league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way>.more-markets{grid-column:4}
.league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way::before{content:"–";grid-column:2;grid-row:1;display:grid;place-items:center;border:1px dashed #263447;border-radius:8px;color:#56657a;font-size:12px}
.market-buttons.multi-outcome{flex-wrap:wrap}
.market-buttons.multi-outcome .odds{flex:1 0 80px}
.market-buttons.multi-outcome .more-markets{flex-basis:100%}
.market-section .market-buttons.totals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}

/* ==========================================================================
   RIGHT RAIL: SMART BET SLIP & TICKETS
   ========================================================================== */
.slip{padding:18px 16px;border-left:1px solid rgba(255,255,255,.07)}
.sliphead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.sliphead h2{font-size:17px;font-weight:800;letter-spacing:-.3px}
.pill{display:grid;place-items:center;min-width:26px;height:24px;padding:0 7px;border-radius:999px;background:rgba(232,186,113,.16);border:1px solid rgba(232,186,113,.38);color:var(--gold-bright);font-size:11px;font-weight:800}
.slip-modes{display:flex;margin-bottom:12px;padding:3px;background:#0a0f17;border:1px solid #1f2b3c;border-radius:10px;gap:4px}
.slip-modes button{flex:1;border-radius:7px;padding:7px 8px;border:0;background:transparent}
.slip-modes button.active{background:linear-gradient(180deg,#f5ce87 0%,#dda853 100%);color:#0c1118;box-shadow:0 2px 8px rgba(232,186,113,.28)}
.slip-toolbar{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:8px}
.slip-toolbar .muted{font-size:10px}
#slip-picks>.empty{padding:18px 10px;line-height:1.6;font-size:11px;display:grid;grid-template-columns:28px 1fr;column-gap:10px;text-align:left;align-items:center;background:rgba(255,255,255,.02);border:1px dashed #243246;border-radius:10px}
#slip-picks .empty-symbol{grid-column:1;grid-row:1/3;font-size:24px;margin:0;color:var(--gold)}
#slip-picks>.empty strong{grid-column:2;color:#e2e8f0}
#slip-picks>.empty>div:last-child{grid-column:2;font-size:10px}
.slip-pick{position:relative;padding:13px 13px 13px 15px;border:1px solid #263448;border-radius:10px;background:linear-gradient(180deg,#141d2b 0%,#0f1622 100%);box-shadow:inset 3px 0 0 var(--gold),0 8px 18px -10px rgba(0,0,0,.65);margin:9px 0}
.slip-pick.inactive{opacity:.55;box-shadow:none}
.pick-event{font-size:10.5px;font-weight:600;color:#9eb0c6;padding-right:20px;line-height:1.45}
.pick-market{font-size:10px;font-weight:600;color:#7c8ea5;margin:6px 0}
.pick-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:800;color:#fff}
.pick-selection strong{color:var(--gold-bright);font-size:16px;font-weight:900;padding:2px 8px;border-radius:6px;background:rgba(232,186,113,.12);border:1px solid rgba(232,186,113,.28)}
.remove-pick{position:absolute;top:7px;right:7px;border:0;background:none;color:#7f90a6;font-size:18px;line-height:1;padding:2px 6px}
.remove-pick:hover:not(:disabled){color:#fff;background:rgba(255,255,255,.06)}
.single-selector{margin-top:9px;font-size:10.5px;font-weight:600;display:flex;align-items:center;gap:7px;color:var(--gold)}
.single-selector input{accent-color:var(--gold)}
.stake-area{margin-top:14px;border-top:1px solid rgba(255,255,255,.08);padding-top:14px}
.stake-area label{display:flex;justify-content:space-between;font-size:11px;font-weight:700;color:#cbd5e1;margin-bottom:8px}
.stake-input{width:100%;padding:11px 12px;border:1px solid #2e3e54;border-radius:9px;background:#080c13;font-size:17px;font-weight:800;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.55)}
.stake-input::placeholder{font-size:12px;font-weight:500;color:#5a6a7f}
.stake-input:focus-visible{outline:none;border-color:var(--gold);box-shadow:inset 0 2px 4px rgba(0,0,0,.5),0 0 0 3px rgba(232,186,113,.16)}
.quick-stakes{display:flex;gap:6px;margin:9px 0 15px}
.quick-stakes button{flex:1;padding:7px 0;font-size:10.5px;font-weight:800;background:#162030;border:1px solid #28364a;border-radius:7px;color:#cbd5e1}
.quick-stakes button:hover:not(:disabled){filter:none;border-color:var(--gold);color:var(--gold-bright);background:#1c283b}
.payout{display:flex;justify-content:space-between;gap:8px;margin:10px 0;font-size:11.5px;color:var(--muted)}
.payout strong{color:var(--text);font-weight:800}
.payout-total{padding-top:13px;border-top:1px dashed #29384d;align-items:center}
.payout-total strong{color:var(--gold-bright);font-size:21px;font-weight:900}
.place-bet{width:100%;padding:14px;margin-top:4px;background:linear-gradient(180deg,#f6d089 0%,#dca652 100%);border:1px solid var(--gold);border-radius:10px;color:#0b1017;font-weight:900;font-size:12.5px;letter-spacing:.4px;text-transform:uppercase;box-shadow:0 8px 22px -6px rgba(232,186,113,.45),inset 0 1px 0 rgba(255,255,255,.45)}
.place-bet:hover:not(:disabled){filter:brightness(1.06);box-shadow:0 10px 26px -4px rgba(232,186,113,.55),inset 0 1px 0 rgba(255,255,255,.55)}
.place-bet:disabled{background:#1c2430;border-color:#283344;color:#64748b;box-shadow:none;opacity:1}
.account{font-size:11px;line-height:1.7;border-top:1px solid rgba(255,255,255,.08);padding-top:16px;color:var(--muted)}
.account .payout{margin:7px 0}
.history-link{display:flex;width:100%;justify-content:space-between;background:none;border:0;border-top:1px solid rgba(255,255,255,.08);border-radius:0;margin-top:16px;padding:16px 0 0;font-size:11.5px;font-weight:700;color:var(--gold)}
.receipt{padding:15px;border:1px solid rgba(34,197,139,.4);background:rgba(34,197,139,.07);border-radius:10px;margin:12px 0;overflow-wrap:anywhere}
.receipt h3{color:var(--green);font-size:13px;margin-bottom:10px}
.receipt p{font-size:11px;line-height:1.6;margin-bottom:6px}
.ticket{padding:20px;background:var(--panel);border:1px solid var(--border);border-radius:12px;margin-top:14px;box-shadow:0 10px 24px -12px rgba(0,0,0,.6)}
.ticket-header{display:flex;justify-content:space-between;gap:10px}
.ticket h3{font-size:13.5px}
.ticket dl,.receipt dl{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:11.5px}
.ticket dt,.receipt dt{color:var(--muted)}
.ticket dd,.receipt dd{margin:0;text-align:right;font-weight:700}
.ticket-leg{font-size:12px;line-height:1.8;padding:9px 0;border-bottom:1px solid var(--border)}
.status-badge{font-size:10px;font-weight:800;color:var(--gold);text-transform:uppercase;padding:2px 8px;border-radius:999px;background:rgba(232,186,113,.14)}
.ticket-date{color:var(--muted);font-size:10.5px}
.secondary{padding:10px 14px;font-size:11.5px;font-weight:700}

/* ==========================================================================
   MARKET DRAWER & REAL-TIME ODDS FLASHES
   ========================================================================== */
dialog{position:fixed;inset:0 var(--slip-width) 0 auto;margin:0;width:min(760px,calc(100vw - var(--slip-width) - 20px));height:100dvh;max-height:100dvh;max-width:none;color:var(--text);background:#0f1622;border:0;border-left:1px solid var(--border);padding:24px;box-shadow:-25px 0 80px #0009;overflow:auto;scrollbar-width:thin}
dialog::backdrop{background:rgba(6,10,16,.76);backdrop-filter:blur(5px)}
.drawer-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}
.drawer-head h2{font-size:22px;line-height:1.35}
.icon-button{font-size:24px;padding:4px 12px;border-radius:8px}
.market-section{margin:14px 0;background:#131c2a;border:1px solid #233144;padding:15px;border-radius:11px}
.market-section h3{font-size:12.5px;font-weight:800;margin-bottom:12px;color:#f1f5f9}
.market-section .market-buttons{flex-wrap:wrap}
.market-section .odds{flex:1 0 84px}
.market-note{font-size:10px;color:var(--muted);text-align:right;margin-bottom:12px}
.price-up{animation:up 1.6s ease-out;border-color:rgba(34,197,139,.6)!important}
.price-down{animation:down 1.6s ease-out;border-color:rgba(239,68,68,.6)!important}
.price-changed{border-color:var(--gold)}
@keyframes up{from{background:rgba(34,197,139,.35)}to{}}
@keyframes down{from{background:rgba(239,68,68,.35)}to{}}

/* ==========================================================================
   12 UPCOMING MARTIAL ARTS CAROUSEL
   ========================================================================== */
.ma-showcase{margin:22px 0 10px}
.ma-showcase .section-heading .eyebrow{display:block;margin-bottom:4px;color:var(--gold);font-size:9.5px;letter-spacing:1.6px}
.ma-carousel{display:flex;flex-wrap:nowrap;gap:13px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 12px;scrollbar-width:thin;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
.ma-card{flex:0 0 268px;width:268px;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:9px;padding:13px;background:radial-gradient(circle at 50% 0%,rgba(232,186,113,.1),transparent 62%),linear-gradient(155deg,#17202f 0%,#101621 100%);border:1px solid #243245;border-radius:12px;scroll-snap-align:start;box-shadow:0 12px 26px -14px rgba(0,0,0,.75);transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.ma-card:hover{border-color:rgba(232,186,113,.5);transform:translateY(-2px);box-shadow:0 16px 32px -12px rgba(0,0,0,.85)}
.ma-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ma-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;font-size:9px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;background:#e8ba711f;color:var(--gold-bright);border:1px solid #e8ba7145}
.ma-badge-muay-thai{background:rgba(232,186,113,.16);color:var(--gold-bright);border-color:rgba(232,186,113,.45)}
.ma-badge-bjj{background:rgba(34,197,139,.15);color:#4ade80;border-color:rgba(34,197,139,.4)}
.ma-badge-power-slap{background:rgba(244,63,94,.16);color:#fda4af;border-color:rgba(244,63,94,.4)}
.ma-time{font-size:10px;font-weight:600;color:#97a6ba;white-space:nowrap}
.ma-subleague{font-size:10px;font-weight:600;color:#8293a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-fighters{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:start;gap:6px;width:100%;padding:6px 0;border:0;background:transparent;text-align:center}
.ma-fighters:hover:not(:disabled){filter:none;transform:none}
.ma-fighter{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-width:0}
.ma-fighter .crest.fighter-portrait{width:70px;height:64px;padding:0;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.1)}
.ma-fighter .crest.fighter-portrait img{width:100%;height:100%;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 5px 10px rgba(0,0,0,.65))}
.ma-fighter .crest.fighter-portrait.wide-headshot img{object-fit:cover;object-position:center top}
.ma-fighter-name{display:block;width:100%;min-height:28px;font-size:11.5px;line-height:14px;font-weight:700;color:#f1f5f9;text-align:center;word-break:normal;overflow-wrap:normal;text-wrap:balance}
.ma-vs{align-self:center;font-size:9px;font-weight:800;color:#78879b;letter-spacing:1px}
.ma-odds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%}
.ma-odds.three-way{grid-template-columns:repeat(3,minmax(0,1fr))}
.ma-odds .odds{min-height:38px;padding:5px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.ma-odds .odds>span{font-size:9px;color:var(--muted);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ma-odds .odds>strong{font-size:12.5px;color:var(--gold-bright)}

/* ==========================================================================
   LIVE MATCH CENTER & LIVE NOW STYLES
   ========================================================================== */
@keyframes pulseRed{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(255,68,68,.75)}50%{opacity:.7;box-shadow:0 0 0 6px rgba(255,68,68,0)}}
@keyframes liveRing{0%{box-shadow:0 0 0 0 currentColor}70%,100%{box-shadow:0 0 0 6px transparent}}
@keyframes liveBlink{0%,100%{opacity:1}50%{opacity:.35}}
.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff4444;margin-right:6px;vertical-align:middle;animation:pulseRed 1.6s infinite}
.nav-live-btn{display:inline-flex;align-items:center;gap:4px;color:#ff7a7a!important}
.nav-live-btn.active{color:#ff5555!important}
.nav-live-btn.active:after{background:linear-gradient(90deg,#ff5e6c,#e02438)!important;box-shadow:0 -2px 12px rgba(255,68,68,.65)!important}
.nav-live-pill{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 6px;margin-left:5px;border-radius:99px;background:rgba(255,68,68,.18);border:1px solid rgba(255,68,68,.45);color:#ff8a8a;font-size:9.5px;font-weight:800}
.side-live-btn{border-color:rgba(255,68,68,.24)!important;background:linear-gradient(90deg,rgba(255,68,68,.12),rgba(255,68,68,.03))!important;color:#ff9494!important;font-weight:700}
.side-live-btn.active{border-color:rgba(255,68,68,.55)!important;background:linear-gradient(90deg,rgba(255,68,68,.24),rgba(255,68,68,.08))!important;color:#ff6b6b!important;box-shadow:inset 3px 0 0 #ff4444!important}
.side-live-label{display:inline-flex;align-items:center}

#live-view{--live:#ff3d4f;--live-text:#ff6b78;--card-yellow:#f5c518;--card-red:#e5283a}
#live-view .live-heading{align-items:flex-end;margin:6px 0 14px}
#live-view .live-heading .eyebrow{display:block;margin:0 0 6px;color:#8f9db0;font-size:9.5px;letter-spacing:1.8px}
#live-page-title{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.6px}
.live-title-dot{position:relative;width:10px;height:10px;border-radius:50%;background:var(--live);color:#ff3d4f99;animation:liveRing 1.8s infinite}
.live-count-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;border:1px solid #ff3d4f45;background:#ff3d4f14;color:#f1f5f9;font-size:11px;font-weight:700;white-space:nowrap}
.live-count-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--live);animation:liveBlink 1.6s infinite}
.live-count-chip:empty{display:none}

.live-tabs{gap:8px;margin-bottom:16px;padding-bottom:12px}
.live-tabs .live-tab{display:inline-flex;align-items:center;gap:8px;padding:6px 8px 6px 13px;border-radius:999px;background:#141d2b;border-color:#263447;color:#b7c3d2;font-size:11.5px;font-weight:600}
.live-tabs .live-tab:hover:not(:disabled){border-color:#3a4758}
.live-tab-count{display:inline-grid;place-items:center;min-width:22px;height:18px;padding:0 6px;border-radius:9px;background:#ffffff0d;color:#9fb0c4;font-size:10px;font-weight:800}
.live-tabs .live-tab.active{background:linear-gradient(180deg,#f5ce87 0%,#dda853 100%);border-color:var(--gold);color:#121720;font-weight:800}
.live-tabs .live-tab.active .live-tab-count{background:#171b2224;color:#171b22}

.lv-ico{position:relative;display:inline-block;flex:none;width:13px;height:13px;vertical-align:middle;background:center/contain no-repeat}
.lv-ico-yellow,.lv-ico-red{width:9px;height:12px;border-radius:1.5px;transform:rotate(-8deg);box-shadow:inset 0 1px 0 #ffffff59,0 1px 3px #000a}
.lv-ico-yellow{background:linear-gradient(150deg,#ffe57a,var(--card-yellow) 55%,#cf9b00)}
.lv-ico-red{background:linear-gradient(150deg,#ff7a85,var(--card-red) 55%,#9e0f1c)}
.lv-ico-goal{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.8' fill='%23f4f6fa' stroke='%230b0f15' stroke-width='1.4'/%3E%3Cpath d='M12 7.4l4.1 3-1.6 4.9h-5L7.9 10.4z' fill='%230b0f15'/%3E%3Cpath d='M12 1.4v6M16.1 10.4l5.4-2M14.5 15.3l3.2 5.3M9.5 15.3l-3.2 5.3M7.9 10.4l-5.4-2' stroke='%230b0f15' stroke-width='1.3' fill='none'/%3E%3C/svg%3E")}
.lv-ico-corner{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5v19' stroke='%23d7dee8' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M6 3h13l-3 4.5 3 4.5H6z' fill='%23ff3d4f'/%3E%3Cpath d='M6 3h6.5v4.5H6zM12.5 7.5H16l3 4.5h-6.5z' fill='%23f5c518'/%3E%3C/svg%3E")}
.lv-ico-sub{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 20V5M2.8 9.6L7 4.6l4.2 5' stroke='%2366d5a5' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17 4v15M12.8 14.4l4.2 5 4.2-5' stroke='%23ff5a68' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.lv-ico-signal{width:8px;height:8px;margin:0 3px;border-radius:50%;background:var(--green);color:#22c58b88;animation:liveRing 2s infinite}
.lv-cards{display:inline-flex;align-items:center;gap:4px;flex:none}
.lv-card{display:inline-grid;place-items:center;width:13px;height:17px;border-radius:2px;font-size:9px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums;transform:rotate(-6deg);box-shadow:inset 0 1px 0 #ffffff66,inset 0 -2px 0 #0000001f,0 2px 4px #000b}
.lv-card+.lv-card{transform:rotate(5deg)}
.lv-card-yellow{background:linear-gradient(150deg,#ffe57a,var(--card-yellow) 55%,#cf9b00);color:#2a2000}
.lv-card-red{background:linear-gradient(150deg,#ff7a85,var(--card-red) 55%,#9e0f1c);color:#fff}

/* Featured live match: broadcast scoreboard */
#live-hero{position:relative;margin:0 0 18px;padding:16px 20px 18px;border:1px solid #2c384b;border-radius:14px;background:radial-gradient(90% 120% at 50% -10%,#ff3d4f22,transparent 62%),linear-gradient(180deg,#18202f,#101622);box-shadow:0 20px 44px -22px #000}
#live-hero:before{content:"";position:absolute;left:12%;right:12%;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--live),transparent)}
#live-hero:after{display:none}
.live-hero-bar{display:flex;align-items:center;gap:12px;min-width:0;padding-bottom:12px;border-bottom:1px solid #ffffff12}
.live-tag{display:inline-flex;align-items:center;gap:6px;flex:none;padding:4px 9px 4px 8px;border-radius:5px;background:linear-gradient(180deg,#ff4d5e,#d8192d);color:#fff;font-size:10px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;box-shadow:0 4px 14px #ff3d4f45}
.live-tag-dot{width:6px;height:6px;border-radius:50%;background:#fff;color:#ffffffaa;animation:liveRing 1.6s infinite}
.live-hero-comp{display:flex;align-items:center;gap:8px;min-width:0;font-size:11px;color:#c6d0dd}
.live-hero-comp .crest{width:20px;height:20px;font-size:7px}
.live-hero-sport{flex:none;color:var(--gold);font-size:9.5px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase}
.live-hero-league{min-width:0;font-weight:700;color:#e9eef5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-hero-country{flex:none;color:#8f9db0}
.live-hero-league:before,.live-hero-country:before{content:"";display:inline-block;width:3px;height:3px;margin:0 8px 2px 0;border-radius:50%;background:#5d6b7e;vertical-align:middle}

.live-scoreboard{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;padding:22px 0 20px}
.live-scoreboard:before{content:"";position:absolute;left:50%;top:50%;width:190px;height:190px;transform:translate(-50%,-50%);border-radius:50%;border:1px solid #ffffff08;box-shadow:0 0 0 46px #ffffff03;pointer-events:none}
.live-scoreboard.is-single{grid-template-columns:1fr;text-align:center}
.lsb-team{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;text-align:center}
#live-hero .lsb-team .crest{width:72px;height:72px;padding:4px;font-size:18px;overflow:hidden}
#live-hero .lsb-team .crest img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 12px #000a)}
#live-hero.is-combat .lsb-team .crest.fighter-portrait{width:120px;height:108px;padding:0;border-bottom:1px solid #ffffff14}
#live-hero.is-combat .lsb-team .crest.fighter-portrait img{object-fit:contain;object-position:bottom center}
#live-hero.is-combat .lsb-team .crest.fighter-portrait.wide-headshot img{object-fit:cover;object-position:center top}
.lsb-name{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:100%}
.lsb-name strong{font-size:clamp(15px,1.45vw,20px);font-weight:800;line-height:1.2;letter-spacing:-.3px;color:#f3f6fa;text-wrap:balance;overflow-wrap:anywhere}
.lsb-center{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px}
.lsb-score{display:flex;align-items:center;gap:8px}
.lsb-num{position:relative;min-width:56px;padding:8px 10px 7px;border:1px solid #2c3747;border-radius:9px;background:linear-gradient(180deg,#0e141d 0 50%,#080c12 50% 100%);color:#fff;font-size:clamp(30px,3vw,42px);font-weight:900;line-height:1;text-align:center;font-variant-numeric:tabular-nums;letter-spacing:-.5px;box-shadow:inset 0 1px 0 #ffffff12,0 8px 18px -6px #000}
.lsb-num:after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#000;box-shadow:0 1px 0 #ffffff0d}
.lsb-sep{width:6px;height:20px;background:radial-gradient(circle,var(--live) 2.6px,transparent 3.2px) top/6px 6px no-repeat,radial-gradient(circle,var(--live) 2.6px,transparent 3.2px) bottom/6px 6px no-repeat;animation:liveBlink 1.6s infinite}
.lsb-clock{display:flex;align-items:center;justify-content:center;gap:8px;min-height:20px}
.lsb-time{color:var(--live-text);font-size:15px;font-weight:900;font-variant-numeric:tabular-nums}
.lsb-phase{padding:3px 8px;border:1px solid #2b3646;border-radius:4px;background:#0d131c;color:#a9b6c6;font-size:9.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}
.lsb-title{font-size:20px}

.live-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 22px;margin:0 0 14px;padding:12px 16px;border:1px solid #ffffff0d;border-radius:10px;background:#090e15cc}
.live-stat{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px 8px;--stat:var(--gold)}
.live-stat-yellow{--stat:var(--card-yellow)}.live-stat-red{--stat:var(--live)}.live-stat-corner{--stat:var(--gold)}.live-stat-possession{--stat:var(--green)}
.live-stat-val{min-width:20px;color:#8f9db0;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.live-stat-val:last-of-type{text-align:right}
.live-stat-val.is-leading{color:#fff}
.live-stat-label{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#8796aa;font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}
.live-stat-bar{grid-column:1/-1;display:flex;gap:3px;height:4px}
.live-stat-fill{flex-basis:0;border-radius:2px;background:var(--stat)}
.live-stat-fill.away{opacity:.4}
.live-stat-bar.is-empty .live-stat-fill{background:#2b3646;opacity:1}

#live-hero .market-buttons{display:grid;width:100%;max-width:none;margin:0;gap:8px}
#live-hero .market-buttons.two-way{grid-template-columns:repeat(2,minmax(0,1fr)) 96px}
#live-hero .market-buttons.three-way{grid-template-columns:repeat(3,minmax(0,1fr)) 96px}
#live-hero .market-buttons.multi-outcome{display:flex;flex-wrap:wrap}
#live-hero .market-buttons:not(.two-way):not(.three-way):not(.multi-outcome){display:flex}
#live-hero .market-buttons .odds{grid-column:auto;justify-self:stretch;width:auto;min-height:54px;border-radius:9px;background:linear-gradient(180deg,#222c3b,#17202c);border-color:#334154}
#live-hero .market-buttons .odds strong{font-size:17px}
#live-hero .market-buttons .odds>span{max-width:100%}
#live-hero .market-buttons .more-markets{grid-column:auto;justify-self:stretch;width:auto;min-height:54px;border-radius:9px;padding:6px;font-size:10.5px;font-weight:700;line-height:1.35}
#live-view .odds:hover:not(:disabled){border-color:#e8ba7180}
#live-view .odds.suspended{background:repeating-linear-gradient(135deg,#161e29 0 6px,#1a2330 6px 12px);border-color:#2b3646}
#live-view .odds.suspended strong{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;color:#8796aa;font-size:8.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;white-space:nowrap}
#live-hero .odds.suspended strong{font-size:10px;letter-spacing:.5px}
#live-view .odds.suspended strong:before{content:"";flex:none;width:9px;height:10px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V7.5a5 5 0 0 1 10 0V11' stroke='black' stroke-width='2.6' fill='none'/%3E%3Crect x='4' y='10.5' width='16' height='12' rx='2.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V7.5a5 5 0 0 1 10 0V11' stroke='black' stroke-width='2.6' fill='none'/%3E%3Crect x='4' y='10.5' width='16' height='12' rx='2.5'/%3E%3C/svg%3E") center/contain no-repeat}

.live-timeline-wrap{position:relative;z-index:2;margin-top:14px;padding-top:12px;border-top:1px solid #ffffff0f}
.live-timeline-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.live-latest-incident{display:flex;align-items:center;gap:8px;min-width:0;color:#d6e0ee;font-size:11px}
.live-latest-label{flex:none;color:#8f9db0;font-size:9px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}
.live-latest-text{color:#9fb0c4;font-size:11px;font-weight:600}
.live-latest-incident .timeline-desc{flex-wrap:nowrap;overflow:hidden}
.live-latest-incident .timeline-team-tag{flex:none}
.timeline-toggle-btn{display:inline-flex;align-items:center;gap:7px;flex:none;padding:5px 10px 5px 12px;border-radius:999px;border:1px solid #ffffff17;background:#ffffff08;color:#d8e0ea;font-size:10.5px;font-weight:700}
.timeline-toggle-btn:hover:not(:disabled){border-color:#e8ba7180;color:var(--gold)}
.timeline-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--live);color:#fff;font-size:9.5px;font-weight:800}
.timeline-chevron{width:6px;height:6px;margin:0 2px 3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.timeline-toggle-btn[aria-expanded="true"] .timeline-chevron{margin:3px 2px 0;transform:rotate(-135deg)}
.live-timeline-wrap.is-empty .timeline-toggle-btn{display:none}
.live-timeline-list{display:grid;gap:4px;margin:10px 0 0;padding:0 4px 0 0;list-style:none;max-height:220px;overflow-y:auto;scrollbar-width:thin}
.timeline-item{display:grid;grid-template-columns:38px 14px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 10px;border-radius:6px;background:#0a1018;border:1px solid #ffffff08;box-shadow:inset 3px 0 0 #3c4d63;font-size:11px}
.timeline-item.timeline-goal,.timeline-item.timeline-penalty{box-shadow:inset 3px 0 0 var(--green);background:linear-gradient(90deg,#22c58b18,#0a1018 40%)}
.timeline-item.timeline-yellow_card{box-shadow:inset 3px 0 0 var(--card-yellow)}
.timeline-item.timeline-red_card{box-shadow:inset 3px 0 0 var(--live);background:linear-gradient(90deg,#ff3d4f18,#0a1018 40%)}
.timeline-item.timeline-substitution{box-shadow:inset 3px 0 0 #56ccf2}
.timeline-min{color:var(--gold);font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.timeline-desc{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;min-width:0;color:#b9c5d4}
.timeline-desc strong{color:#fff;font-weight:700;white-space:nowrap}
.timeline-player,.sub-in,.sub-out{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sub-in:before,.sub-out:before{content:"";display:inline-block;margin:0 4px 1px 0;border:4px solid transparent;vertical-align:middle}
.sub-in:before{border-bottom:5px solid var(--green);border-top:0}
.sub-out:before{border-top:5px solid #ff5a68;border-bottom:0}
.timeline-team-tag{max-width:170px;padding:2px 8px;border-radius:999px;border:1px solid #ffffff0f;background:#ffffff0a;color:#9fb0c4;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.live-events .league-group{border-radius:12px}
.live-events .league-heading{box-shadow:inset 3px 0 0 var(--live);background:linear-gradient(90deg,#241c27,#161e2b 45%)}
.event-card-wrap{border-top:1px solid rgba(255,255,255,.06)}
.event-card-wrap:first-of-type{border-top:0}
.event-card-wrap .event-card{border-top:0}
.live-events .event-card-wrap{transition:background .15s}
.live-events .event-card-wrap:hover{background:#ffffff05}
.event-card.live-event-card{padding:12px 14px;background:none}
.live-details{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;min-width:0}
.live-row-status{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:46px;padding-right:12px;border-right:1px solid #ffffff10}
.live-row-clock{display:inline-flex;align-items:center;gap:6px;color:var(--live-text);font-size:13px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-row-clock:before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--live);animation:liveBlink 1.6s infinite}
.live-row-phase{color:#8f9db0;font-size:9px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-lineup{display:grid;gap:7px;min-width:0}
.live-line{display:flex;align-items:center;gap:9px;min-width:0}
.live-line .crest{width:22px;height:22px;font-size:7px;overflow:hidden}
.live-line .crest img{width:100%;height:100%;object-fit:contain}
.live-line .crest.fighter-portrait{width:24px;height:24px;border-radius:50%;background:#e8ba7114}
.live-line .crest.fighter-portrait img{object-fit:cover;object-position:center top}
.live-line-name{flex:1;min-width:0;color:#dfe6ef;font-size:12.5px;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-line .lv-card{width:11px;height:15px;font-size:8px}
.live-line-corners{display:inline-flex;align-items:center;justify-content:flex-end;gap:3px;width:32px;flex:none;color:#8796aa;font-size:10.5px;font-weight:700;font-variant-numeric:tabular-nums}
.live-line-corners .lv-ico{width:12px;height:12px}
.live-line-score{min-width:30px;flex:none;color:#8a9ab0;font-size:15px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.live-line-score.is-leading{color:#fff}
.live-lineup>.event-title{font-size:13px;line-height:1.5;text-align:left}
.event-card-wrap>.live-timeline-wrap{margin:0 14px 12px;padding:8px 10px;border:1px solid #ffffff0a;border-radius:8px;background:#0a1018}
.event-card-wrap>.live-timeline-wrap.is-empty{display:none}

/* ==========================================================================
   PROFESSIONAL SPORTSBOOK FOOTER
   ========================================================================== */
.site-footer{display:block;padding:40px 28px 32px;border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0c121b 0%,#070a10 100%);color:#8c9aad;font-size:12px}
.footer-inner{max-width:1360px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:minmax(260px,1.25fr) minmax(0,2fr);gap:36px;align-items:start;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand{display:flex;align-items:center;gap:18px}
.footer-logo{display:block;width:104px;height:94px;flex:none;object-fit:contain;filter:drop-shadow(0 8px 18px #000a)}
.footer-brand-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.footer-brand-copy strong{color:#f8fafc;font-size:15px;font-weight:800;letter-spacing:.6px}
.footer-brand-copy p{margin:0;color:#8e9cb0;font-size:12px;line-height:1.6;max-width:420px}
.footer-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.footer-col h3{margin:0 0 12px;color:var(--gold);font-size:10.5px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-col li span,.footer-link{color:#b0bdce;font-size:12px;line-height:1.4;background:none;border:0;padding:0;border-radius:0;text-align:left;font-weight:500}
.footer-link:hover:not(:disabled){filter:none;color:var(--gold-bright);transform:none}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding-top:22px}
.footer-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.age-badge{display:inline-grid;place-items:center;padding:4px 9px;border-radius:6px;border:1px solid #e8ba7166;background:#e8ba7117;color:var(--gold-bright);font-size:11px;font-weight:900;letter-spacing:.4px}
.footer-badge-item{padding:4px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.08);background:#111824;color:#b8c5d4;font-size:10.5px;font-weight:600;letter-spacing:.2px}
.footer-legal{margin:0;color:#728197;font-size:11px;line-height:1.55}

/* ==========================================================================
   ACCOUNT ACCESS: HEADER WALLET BAR & LOGIN / REGISTER / HUB MODAL
   ========================================================================== */
.top-auth-bar{display:flex;align-items:center;justify-content:flex-end;height:100%;padding:0 4px 0 12px;min-width:0}
.top-guest,.top-member{display:flex;align-items:center;gap:8px}
.top-btn{height:36px;padding:0 18px;border-radius:8px;font-size:12px;font-weight:800;letter-spacing:.25px;white-space:nowrap;line-height:1}
.top-btn-ghost{border:1px solid #2d3c50;background:rgba(255,255,255,.03);color:#f1f5f9}
.top-btn-ghost:hover:not(:disabled){filter:none;border-color:rgba(232,186,113,.6);color:var(--gold-bright);background:rgba(232,186,113,.07)}
.top-btn-gold{border:1px solid var(--gold);background:linear-gradient(180deg,#f6d089 0%,#dca652 100%);color:#0c1118;box-shadow:0 4px 14px -3px rgba(232,186,113,.38),inset 0 1px 0 rgba(255,255,255,.45)}
.top-btn-gold:hover:not(:disabled){filter:brightness(1.07);box-shadow:0 6px 18px -3px rgba(232,186,113,.5),inset 0 1px 0 rgba(255,255,255,.55)}
.top-balance{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;height:36px;padding:0 13px;border:1px solid #263549;border-radius:8px;background:linear-gradient(180deg,#0c121c,#080c13);box-shadow:inset 0 1px 3px rgba(0,0,0,.6);line-height:1;white-space:nowrap}
.top-balance:hover:not(:disabled){filter:none;border-color:rgba(232,186,113,.55);background:#0f1724}
.top-balance-label{font-size:8.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#8293a8}
.top-balance-amount{font-size:13px;font-weight:900;color:#fff}
.top-mode-switch{display:inline-flex;align-items:center;height:36px;padding:2px;border:1px solid var(--border);border-radius:8px;background:#090d14;gap:2px}
.top-mode-btn{height:30px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.6px}
.top-mode-btn.active{background:#e8ba7122;color:var(--gold-bright);border:1px solid #e8ba7166}
.wallet-mode-bar{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0 0;padding:3px;border:1px solid var(--border);border-radius:9px;background:#090d14}
.wallet-mode-pill{height:34px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;font-weight:800}
.wallet-mode-pill.active{background:linear-gradient(180deg,#f5ce87,#dda853);color:#0c1118}
.demo-reset-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-8px 0 14px;padding:8px 12px;border:1px solid #e8ba7140;border-radius:8px;background:#e8ba710f;font-size:11.5px;color:#d8c49e}
.demo-reset-bar[hidden]{display:none}
.top-account{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid rgba(232,186,113,.5);border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(232,186,113,.22),rgba(232,186,113,.08));color:var(--gold-bright);font-size:13px;font-weight:800;text-transform:uppercase}
.top-unread-dot{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#10b981;color:#04130d;font-size:10px;font-weight:900;display:grid;place-items:center;border:2px solid #080c12}
.top-unread-dot[hidden]{display:none}
.green-text{color:var(--green)!important}
.payout-netwin{color:#b6f0d4}

#auth-dialog{position:fixed;inset:0;margin:auto;width:min(444px,calc(100vw - 24px));height:fit-content;max-height:calc(100dvh - 24px);padding:0;border:1px solid #283649;border-radius:16px;background:linear-gradient(180deg,#131b28 0%,#0d131d 100%);color:var(--text);box-shadow:0 32px 90px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.07);overflow:auto;scrollbar-width:thin}
.hub-top-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--border)}
.hub-user-balance{display:flex;flex-direction:column;gap:4px;min-width:0}
.hub-user-line{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}
.hub-user-line strong{color:var(--text);font-size:14px;font-weight:700}
.hub-email{font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-balance-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.hub-main-balance{font-size:24px;font-weight:900;letter-spacing:-.5px;color:var(--text)}
.hub-refresh-icon{width:24px;height:24px;padding:0;border:1px solid var(--border);border-radius:50%;background:#090d14;color:var(--muted);font-size:12px;display:grid;place-items:center}
.demo-mini-btn,.demo-mini-reset{height:20px;padding:0 7px;border:1px solid #334155;border-radius:4px;background:#090d14;color:#7d899a;font-size:9.5px;font-weight:700;letter-spacing:.3px;text-transform:uppercase}
.demo-mini-btn.active{border-color:#e8ba7166;color:var(--gold);background:#e8ba7114}
.demo-mini-reset[hidden]{display:none}
.hub-deposit-cta{height:38px;padding:0 16px;border:1px solid var(--gold);border-radius:8px;background:linear-gradient(180deg,#f6d089,#dca652);color:#0c1118;font-size:13px;font-weight:800;white-space:nowrap}
.hub-sub-balances{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.hub-sub-balances span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}
.hub-sub-balances strong{font-size:15px;font-weight:800;color:var(--text)}
.hub-tabs{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--border);margin-bottom:14px;overflow-x:auto}
.hub-tab{position:relative;height:40px;padding:0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:12.5px;font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.hub-tab.active{color:var(--text);border-bottom-color:#10b981}
.hub-pill-badge{min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#10b981;color:#04130d;font-size:10px;font-weight:900;display:inline-grid;place-items:center}
.hub-pill-badge[hidden]{display:none}
.hub-tab-panel[hidden],.hub-subpanel[hidden],#hub-icon-grid[hidden]{display:none!important}
.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:4px 0 8px}
.hub-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 8px;border:1px solid var(--border);border-radius:10px;background:#0a0f17;color:var(--text);text-align:center;transition:border-color .15s,background .15s}
.hub-tile:hover:not(:disabled){filter:none;border-color:#e8ba7180;background:#131c2a}
.hub-tile-icon{position:relative;display:grid;place-items:center;width:38px;height:38px;color:#cbd5e1}
.hub-tile-badge{position:absolute;top:-5px;right:-8px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#10b981;color:#04130d;font-size:10px;font-weight:900;display:grid;place-items:center}
.hub-tile-label{font-size:11.5px;font-weight:700;color:#e2e8f0;line-height:1.25}
.hub-subpanel{padding:4px 0 8px}
.hub-subpanel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--border);font-size:13px}
.hub-back-btn{padding:4px 8px;border:1px solid var(--border);border-radius:6px;background:#0a0f17;color:var(--muted);font-size:11.5px;font-weight:700}
.hub-notif-list{display:flex;flex-direction:column;gap:8px;max-height:280px;overflow-y:auto}
.hub-notif-item{padding:11px 12px;border:1px solid var(--border);border-radius:8px;background:#0a0f17;display:flex;flex-direction:column;gap:4px}
.hub-notif-item.unread{border-color:#10b98166;background:#10b9810d}
.hub-notif-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:800}
.hub-notif-meta{font-size:10.5px;color:var(--muted)}
.hub-notif-body{font-size:12px;color:#cbd5e1;line-height:1.45}
.hub-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hub-stat-card{padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#0a0f17}
.hub-stat-card span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:4px}
.hub-stat-card strong{font-size:15px;font-weight:800;color:var(--text)}
.hub-safer-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#0a0f17}
.hub-safer-btn{display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:#34d399;font-size:12px;font-weight:800}
.hub-safer-meta{font-size:10.5px;color:var(--muted)}
.hub-dialog-logged-in .auth-title,.hub-dialog-logged-in .auth-subtitle{display:none!important}
.hub-dialog-logged-in #auth-profile-view{margin-top:0!important}
#auth-dialog:focus{outline:none}
#auth-dialog::backdrop{background:rgba(4,7,12,.82);backdrop-filter:blur(6px)}
.auth-shell{display:flex;flex-direction:column}
.auth-top{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 14px 0 22px;border-bottom:1px solid var(--border)}
.auth-logo{display:block;height:32px;width:auto}
.auth-close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted)}
.auth-close:hover:not(:disabled){filter:none;background:#ffffff0d;color:var(--text)}
.auth-close:focus-visible{outline:2px solid #ffffff40;outline-offset:0}
.auth-body{padding:24px 22px 20px}
.auth-title{margin:0 0 6px;font-size:20px;font-weight:800;letter-spacing:-.3px;line-height:1.2}
.auth-subtitle{margin:0 0 16px;color:var(--muted);font-size:12.5px;line-height:1.5}
.auth-channel-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin:0 0 16px;border:1px solid var(--border);border-radius:9px;background:#090d14}
.auth-chan-btn{display:flex;align-items:center;justify-content:center;gap:7px;height:38px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12.5px;font-weight:800;letter-spacing:.2px;cursor:pointer;transition:background .15s,color .15s}
.auth-chan-btn:hover:not(.active){color:var(--text);background:#ffffff08}
.auth-chan-btn.active{background:linear-gradient(180deg,#f6d089,#dca652);color:#0c1118;box-shadow:0 2px 10px #e8ba7133}
.auth-phone-row{display:grid;grid-template-columns:126px minmax(0,1fr);gap:8px}
.auth-otp-input{text-align:center;font-size:19px!important;font-weight:800;letter-spacing:.32em}
#auth-form{display:flex;flex-direction:column;gap:14px}
.auth-field{display:flex;flex-direction:column;gap:6px}
.auth-label{font-size:11px;font-weight:700;letter-spacing:.3px;color:#c4ccd8}
.auth-field input,.auth-field select{width:100%;height:44px;padding:0 13px;border:1px solid var(--border);border-radius:8px;background:#090d14;color:var(--text);font-size:14px}
.auth-field input::placeholder{color:#5f6b7c}
.auth-field input:focus-visible,.auth-field select:focus-visible{outline:none;border-color:#e8ba71b3;box-shadow:0 0 0 3px #e8ba711a}
.auth-password{position:relative;display:block}
.auth-password input{padding-right:64px}
.auth-password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);height:30px;padding:0 10px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px;font-weight:700}
.auth-password-toggle:hover:not(:disabled){filter:none;color:var(--text)}
.auth-hint{font-size:10.5px;color:var(--muted)}
.auth-check{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;font-size:11.5px;line-height:1.5;color:#b7c0cc;cursor:pointer}
.auth-check input{width:16px;height:16px;margin:1px 0 0;accent-color:var(--gold)}
.auth-message:empty{display:none}
.auth-message .notice{margin:0;padding:10px 12px;font-size:12px;line-height:1.5}
.auth-message .notice.error{border-color:#e0605a66;background:#e0605a12;color:#f0a19c}
.auth-primary{width:100%;height:46px;border:1px solid var(--gold);border-radius:8px;background:linear-gradient(180deg,#f6d089,#dca652);color:#0c1118;font-size:13.5px;font-weight:800;letter-spacing:.2px;box-shadow:0 6px 18px -4px rgba(232,186,113,.35)}
.auth-secondary{width:100%;height:46px;border:1px solid #3a4658;border-radius:8px;background:transparent;color:var(--text);font-size:13.5px;font-weight:700}
.auth-secondary:hover:not(:disabled){filter:none;border-color:#56647a}
.auth-switch{margin:18px 0 0;text-align:center;font-size:12.5px;color:var(--muted)}
.auth-link{padding:0;border:0;background:none;color:var(--gold);font-weight:700;border-radius:3px}
.auth-link:hover:not(:disabled){filter:none;text-decoration:underline;text-underline-offset:3px}
.auth-profile-head{display:flex;align-items:center;gap:14px;padding:0 0 18px;border-bottom:1px solid var(--border)}
.auth-avatar{display:grid;place-items:center;flex:none;width:46px;height:46px;border:1px solid #e8ba7166;border-radius:50%;background:#e8ba7112;color:var(--gold);font-size:17px;font-weight:800;text-transform:uppercase}
.auth-profile-id{display:flex;flex-direction:column;gap:3px;min-width:0}
.auth-profile-id strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-profile-id span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-balances{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 20px}
.auth-balances>div{padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:#090d14}
.auth-balances dt{margin:0 0 6px;font-size:9.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.auth-balances dd{margin:0;font-size:18px;font-weight:800;color:var(--text)}
.auth-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cashier{margin:0 0 18px;padding:14px;border:1px solid var(--border);border-radius:8px;background:#090d14}
.cashier-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 14px}
.cashier-tabs button{height:36px;border:1px solid #3a4658;border-radius:6px;background:transparent;color:var(--muted);font-size:12.5px;font-weight:700}
.cashier-tabs button.active{border-color:var(--gold);color:var(--gold);background:#e8ba7112}
.cashier-form{display:flex;flex-direction:column;gap:12px}
.cashier-form[hidden]{display:none}
.cashier-quick{display:flex;flex-wrap:wrap;gap:6px}
.cashier-quick button{flex:1;min-width:56px;height:32px;border:1px solid #3a4658;border-radius:6px;background:transparent;color:var(--text);font-size:12px;font-weight:700}
.cashier-quick button:hover:not(:disabled){filter:none;border-color:var(--gold)}
#cashier-message{margin-top:12px}
#cashier-message .notice{margin:0;padding:10px 12px;font-size:12px;line-height:1.5}
#cashier-message .notice.error{border-color:#e0605a66;background:#e0605a12;color:#f0a19c}
.auth-foot{display:flex;align-items:center;justify-content:center;gap:7px;margin:0;padding:13px 22px;border-top:1px solid var(--border);background:#0b1018;color:#7d899a;font-size:10.5px;letter-spacing:.2px}
.auth-foot-sep{width:3px;height:3px;border-radius:50%;background:#4a5566}
#auth-profile-view{margin-top:18px}
.account-guest-note{margin:8px 0 4px;color:var(--muted);font-size:11px;line-height:1.5;text-align:left}

/* ==========================================================================
   MULTIPLAYER CASINO & FRIENDS (@username + Branded QR Code + Shared Tables)
   ========================================================================== */
#casino-iframe{display:block;width:100%;height:calc(100dvh - var(--header-height) - 40px);border:0;background:#080c12}
.games-room-tools{min-height:42px;display:flex;align-items:center;gap:12px;padding:6px 16px;flex-wrap:wrap;background:#0f1622;border-bottom:1px solid rgba(255,255,255,.07)}
.games-room-tools button{padding:5px 11px;font-size:12px;font-weight:700}
body.games-open .layout{display:block}
body.games-open .layout>.side,body.games-open .layout>.slip{display:none}
body.games-open .main{padding:0}
.nav-mp-btn,.side-mp-btn{display:inline-flex;align-items:center;gap:6px}
.mp-gold-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 8px #e8ba71aa;display:inline-block}
.nav-mp-pill,.side-mp-tag{padding:2px 6px;border-radius:999px;background:#e8ba7124;border:1px solid #e8ba7166;color:var(--gold);font-size:9px;font-weight:900;letter-spacing:.5px}
#multiplayer-view{width:100%;max-width:840px;margin:0 auto;padding:24px 20px}
.mp-friends-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.mp-friends-header h2{margin:0;font-size:20px;font-weight:700}
.mp-header-actions{display:flex;align-items:center;gap:20px}
.mp-share-pass{position:relative}
.mp-share-pass summary,.mp-create-table summary{cursor:pointer;font-size:13px;font-weight:600;padding:8px 0}
.mp-share-pass .mp-identity-card{position:absolute;z-index:5;right:0;top:100%;width:248px;max-width:calc(100vw - 40px);padding:14px;gap:12px;background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 32px #0009}
.mp-create-table .mp-games-grid{margin-bottom:0}
#mp-friends-list .mp-item-card{border:0;border-bottom:1px solid var(--border);border-radius:0;background:none;padding:12px 0}
#mp-friends-list .empty,#mp-rooms-list .empty{padding:20px 0;text-align:left}
.mp-hero{display:flex;flex-direction:column;gap:20px;align-items:center;padding:8px 0 24px;margin:0 auto 24px;text-align:center}
.mp-hero h2{margin:0;font-size:24px;font-weight:700;letter-spacing:-.4px}
.mp-hero .mp-identity-card{width:220px;max-width:100%;gap:12px}
.mp-friend-search{width:100%;padding:24px 0 12px;text-align:left}
.mp-friend-search label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}
.mp-friend-search .mp-friend-form input{height:44px;min-width:0}
.mp-friend-search .mp-friend-form button{min-height:44px}
.mp-close-row{text-align:center;padding:16px 0}
.mp-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:10px}
.mp-badges-row{display:flex;flex-wrap:wrap;gap:6px}
.mp-badge-gold,.mp-badge-green,.mp-badge-api{padding:4px 9px;border-radius:999px;font-size:9.5px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}
.mp-badge-gold{background:#e8ba7124;border:1px solid #e8ba7177;color:var(--gold)}
.mp-badge-green{background:#22c58b1f;border:1px solid #22c58b66;color:var(--green)}
.mp-badge-api{background:#38bdf81c;border:1px solid #38bdf866;color:#7dd3fc}
.mp-hero h1{font-size:clamp(21px,2.1vw,28px);font-weight:900;letter-spacing:-.6px;margin:0}
.mp-hero-sub{color:#c2ccd9;font-size:12.5px;line-height:1.55;margin:0}
.mp-hero-sub code{padding:2px 6px;border-radius:5px;background:#090d14;border:1px solid var(--border);color:var(--gold);font-weight:800}
.mp-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.mp-btn-gold{height:40px;padding:0 16px;border:1px solid var(--gold);border-radius:8px;background:linear-gradient(180deg,#f6d089,#dca652);color:#0c1118;font-size:12.5px;font-weight:800;letter-spacing:.2px}
.mp-btn-outline{height:40px;padding:0 16px;border:1px solid #e8ba7177;border-radius:8px;background:#e8ba7112;color:var(--gold);font-size:12.5px;font-weight:800}
.mp-identity-card{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px;padding:0;text-align:center}
.mp-qr-frame{width:100%;display:grid;place-items:center;background:transparent}
.mp-qr-frame svg,.mp-qr-frame img{width:100%;height:auto;display:block}
.mp-id-meta{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%}
.mp-id-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.4px;color:var(--gold)}
.mp-id-handle{font-size:17px;font-weight:900;color:#fff}
.mp-id-url{font-size:10.5px;color:#94a3b8;background:#121924;padding:4px 8px;border-radius:6px;border:1px solid var(--border);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mp-id-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%;margin-top:4px}
.mp-mini-btn{height:31px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:#161f2c;color:#e2e8f0;font-size:11px;font-weight:700}
.mp-mini-btn:hover:not(:disabled){border-color:var(--gold);color:var(--gold)}
.mp-invite-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;margin-bottom:16px;border:1px solid #22c58b88;border-radius:11px;background:linear-gradient(90deg,#0f2922,#131d29)}
.mp-api-pill{padding:5px 10px;border-radius:999px;background:#172130;border:1px solid #334155;color:#94a3b8;font-size:10.5px;font-weight:700}
.mp-games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}
.mp-game-card{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:16px 0;position:relative;overflow:hidden}
.mp-game-card:hover{border-color:#e8ba7188}
.mp-game-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mp-game-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#e8ba711a;border:1px solid #e8ba7155;color:var(--gold);font-size:20px;font-weight:900}
.mp-game-title{font-size:16px;font-weight:900;margin:4px 0 2px;color:#fff}
.mp-game-sub{font-size:11.5px;color:var(--muted);line-height:1.45;margin:0}
.mp-game-specs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:9px;border-radius:8px;background:#090d14;border:1px solid #1f2937;font-size:10.5px}
.mp-game-specs div span{display:block;color:var(--muted);font-size:9.5px}
.mp-game-specs div strong{color:#e2e8f0;font-weight:800}
.mp-game-rules{font-size:11px;color:#94a3b8;line-height:1.45;margin:0}
.mp-social-columns{display:grid;grid-template-columns:1fr;gap:8px}
.mp-panel{padding:16px 0;display:flex;flex-direction:column;gap:12px;min-width:0}
.mp-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mp-panel-head h3{margin:2px 0 0;font-size:15px;font-weight:800}
.mp-friend-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.mp-friend-form input{height:38px;padding:0 12px;border:1px solid var(--border);border-radius:7px;background:#090d14;color:var(--text);font-size:12.5px}
.mp-list{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow-y:auto}
.mp-item-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--border);border-radius:9px;background:#0a0f17}
.mp-item-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.mp-item-info strong{font-size:13px;color:#fff;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mp-item-info small{font-size:11px;color:var(--muted)}
.mp-table-stage{margin-bottom:20px;padding:18px;border:1px solid #e8ba7188;border-radius:14px;background:radial-gradient(ellipse at 50% 35%,#143d2c 0%,#0d231b 58%,#090e15 100%);box-shadow:0 20px 50px #00000099}
.mp-stage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #ffffff1f;margin-bottom:14px}
.mp-dealer-box{text-align:center;margin:0 auto 16px;max-width:460px;padding:12px 16px;border-radius:12px;background:#08111ae0;border:1px solid #e8ba7166}
.mp-seats-ring{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin-bottom:16px}
.mp-seat-slot{padding:12px 10px;border-radius:10px;border:1px dashed #e8ba7155;background:#09131ce6;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px}
.mp-seat-slot.occupied{border-style:solid;border-color:#22c58b88;background:#0c1f1be6}
.mp-seat-slot.is-me{border-color:var(--gold);box-shadow:0 0 0 2px #e8ba7133}
.mp-seat-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e8ba7122;border:1px solid var(--gold);color:var(--gold);font-weight:900;font-size:13px}
.mp-stage-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;padding-top:12px;border-top:1px solid #ffffff1f}
.mp-chat-box{display:flex;flex-direction:column;gap:8px}
.mp-chat-messages{height:150px;overflow-y:auto;padding:8px 10px;border-radius:8px;background:#070c12cc;border:1px solid var(--border);display:flex;flex-direction:column;gap:5px;font-size:11.5px}
.hub-qr-box{display:flex;flex-direction:column;align-items:center;gap:12px;padding:12px 0;text-align:center}
.hub-qr-svg-wrap{width:220px;height:270px;border-radius:12px;overflow:hidden;background:transparent}
.hub-qr-svg-wrap svg{width:100%;height:100%;display:block}
.hub-qr-handle{font-size:18px;font-weight:900;color:var(--gold)}
.hub-qr-url{font-size:11px;color:#94a3b8;word-break:break-all;padding:6px 0}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   ========================================================================== */
@media(min-width:901px){
  .header-right{position:relative;display:flex;align-items:center;align-self:stretch}
  .header-right .search{width:100%}
  .header-right .feed{position:absolute;left:0;right:0;bottom:4px;padding-left:inherit;padding-right:inherit;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:1440px){
  :root{--side-width:198px;--slip-width:284px}
  .main{padding:16px}
  .nav{gap:16px;padding:0 16px}
  .nav button{font-size:10.5px}
  .brand-button{width:160px}
  .header-right{padding:0 12px}
  .hero-team strong{font-size:18px}
}
@media(max-width:1100px){
  :root{--side-width:172px;--slip-width:262px}
  .main{padding:12px}
  .side{padding:14px 8px}
  .nav{gap:14px;padding:0 12px}
  .nav button{font-size:9.5px;letter-spacing:.2px}
  .header-right{padding:0 10px}
  .top-btn{padding:0 14px;font-size:11px}
  .hero{padding:14px}
  .hero-team,.hero-team:last-child{gap:8px}
  .hero-team strong{font-size:17px}
  .hero .crest{width:60px;height:60px}
  .hero.is-combat .crest.fighter-portrait{width:136px;height:120px}
  .hero.two-way-hero .hero-teams,.hero.two-way-hero .market-buttons.two-way{grid-template-columns:175px 28px 175px 56px}
  .hero.three-way-hero .hero-teams,.hero.three-way-hero .market-buttons.three-way{grid-template-columns:175px 76px 175px 56px}
  .event-card,.event-card.two-way-card{grid-template-columns:minmax(0,1fr);gap:12px}
  .league-heading .columns{display:none}
  .participants{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);width:100%}
  .event-card>.market-buttons.two-way{grid-template-columns:repeat(2,minmax(0,1fr)) 68px;width:100%;justify-self:stretch;gap:6px}
  .event-card>.market-buttons.three-way{grid-template-columns:repeat(3,minmax(0,1fr)) 68px;width:100%;justify-self:stretch;gap:6px}
  .event-card>.market-buttons.two-way .more-markets,.event-card>.market-buttons.three-way .more-markets{width:68px}
  .league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way{grid-template-columns:repeat(2,minmax(0,1fr)) 68px;width:100%}
  .league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way>.odds:nth-child(2){grid-column:2}
  .league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way>.more-markets{grid-column:3}
  .league-group.three-way-group .event-card.two-way-card>.market-buttons.two-way::before{display:none}
  .slip{padding:14px}
  .search input{font-size:10.5px}
  .side-intro>.gold{font-size:10px}
  .live-scoreboard{gap:14px}
  #live-hero .lsb-team .crest{width:60px;height:60px}
  #live-hero.is-combat .lsb-team .crest.fighter-portrait{width:100px;height:92px}
}
@media(max-width:960px){
  .mp-hero,.mp-games-grid,.mp-social-columns,.mp-stage-bottom{grid-template-columns:1fr}
}
@media(max-width:900px){
  :root{--header-height:106px;--side-width:165px;--slip-width:250px}
  .header{grid-template-columns:var(--side-width) minmax(0,1fr) auto;grid-template-rows:52px 54px}
  .top-auth-bar{grid-row:1;grid-column:3;padding:0 14px 0 0}
  .header-right{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px;padding:0 14px}
  .nav{justify-content:flex-end;padding-right:18px}
  .hero-team strong{font-size:16px}
  .hero .more-markets{flex-basis:52px}
  .hero .odds>span{max-width:70px}
  .sliphead h2{font-size:16px}
  .footer-top{grid-template-columns:1fr;gap:24px}
}
@media(max-width:760px){
  .layout{display:block}
  .side{display:none}
  .mobile-geo-trigger-wrap{display:block}
  .sport-ribbon-inner{padding:0 10px;gap:8px}
  .sport-pill{height:32px;padding:0 10px;font-size:11px;gap:5px}
  .sport-context-banner{padding:10px 12px}
  .sport-context-banner h1{font-size:15px}
  .slip{position:relative;top:0;max-height:none;margin:0 12px 18px;border:1px solid var(--border);border-radius:12px}
  .hero-heading{align-items:flex-start;gap:10px}
  .hero-heading .eyebrow{font-size:8.5px}
  .hero-heading .hero-meta{font-size:9.5px}
  dialog{right:0;width:min(680px,100vw)}
}
@media(max-width:550px){
  :root{--header-height:98px}
  .header{grid-template-columns:92px minmax(0,1fr) auto;grid-template-rows:50px 48px;padding:0 8px;column-gap:6px}
  .brand-button{width:90px;margin:0}
  .brand{max-height:38px}
  .nav{grid-row:1;grid-column:2/-1;gap:7px;padding:0;justify-content:space-between;overflow-x:auto;scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav button{font-size:8.5px;white-space:nowrap;letter-spacing:.15px;padding:10px 1px;flex:none}
  .nav-live-pill{min-width:16px;height:14px;font-size:7.5px;margin-left:2px;padding:0 3px}
  .live-dot{width:5px;height:5px;margin-right:3px}
  .header-right{grid-column:1/3;grid-row:2;display:block;padding:0 0 6px}
  .search{padding:0 9px}
  .search>span{font-size:18px}
  .search input{height:30px;font-size:11px}
  .feed{display:none}
  .top-auth-bar{grid-row:2;grid-column:3;height:auto;padding:0 0 6px 6px}
  .top-guest,.top-member{gap:6px}
  .top-btn{height:30px;padding:0 12px;font-size:11px;border-radius:6px}
  .top-balance{height:30px;padding:0 9px;border-radius:6px}
  .top-balance-label{font-size:7.5px}
  .top-balance-amount{font-size:11.5px}
  .top-account{width:30px;height:30px;font-size:12px}
  .main{padding:10px 12px}
  .hero{padding:12px 12px 14px;border-radius:12px}
  .hero-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px}
  .hero-heading .eyebrow{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hero-heading .hero-meta{font-size:9px}
  .hero .crest{width:54px;height:54px}
  .hero.is-combat .crest.fighter-portrait{width:108px;height:96px}
  .hero-team,.hero-team:last-child{gap:6px;align-items:center;text-align:center}
  .hero-team strong{font-size:14.5px;line-height:1.2}
  .hero.two-way-hero .hero-teams,.hero.three-way-hero .hero-teams{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:8px;width:100%;margin:12px 0 10px}
  .hero.two-way-hero .market-buttons.two-way{grid-template-columns:repeat(2,minmax(0,1fr)) 58px;gap:6px;width:100%;margin:0}
  .hero.two-way-hero .market-buttons.two-way .odds:nth-child(1){grid-column:1}
  .hero.two-way-hero .market-buttons.two-way .odds:nth-child(2){grid-column:2}
  .hero.two-way-hero .market-buttons.two-way .more-markets{grid-column:3;width:58px;justify-self:stretch}
  .hero.two-way-hero .market-buttons.two-way .odds{width:100%;min-height:44px;padding:6px 4px;justify-self:stretch}
  .hero.three-way-hero .market-buttons.three-way{grid-template-columns:repeat(3,minmax(0,1fr)) 58px;gap:6px;width:100%;margin:0}
  .hero.three-way-hero .market-buttons.three-way .odds{width:100%;min-height:44px;padding:6px 4px;justify-self:stretch}
  .hero.three-way-hero .market-buttons.three-way .more-markets{grid-column:4;width:58px;justify-self:stretch}
  .section-heading{margin:14px 0 8px}
  .section-heading h1,.section-heading h2{font-size:16px}
  .competition-actions{max-width:72%;gap:4px;flex-wrap:nowrap;justify-content:flex-end}
  #league-select{width:130px}
  .carousel-arrow{width:24px;height:24px;font-size:18px}
  .leagues{gap:8px;min-height:118px;padding-bottom:6px}
  .league,.league.poster-card{width:104px;flex:0 0 104px;height:114px;min-height:114px;padding:6px 4px;gap:4px}
  .league .crest{flex:0 0 44px;width:44px;height:44px}
  .league.poster-card .crest{flex:0 0 56px;width:44px;height:56px}
  .league strong{font-size:10px;line-height:13px;min-height:26px}
  .league .match-count{font-size:8.5px}
  .ma-card{flex:0 0 236px;width:236px;padding:10px}
  .ma-fighter .crest.fighter-portrait{width:56px;height:52px}
  .league-heading{padding:9px 12px}
  .event-card,.event-card.two-way-card{padding:12px;gap:10px;grid-template-columns:minmax(0,1fr)}
  .event-meta{margin-bottom:8px;font-size:9px;display:flex;align-items:center;flex-wrap:wrap;gap:4px}
  .participants{grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:center;gap:6px;width:100%}
  .participant{gap:5px}
  .participant .crest{width:40px;height:40px}
  .event-card.combat-card .participant .crest.fighter-portrait{width:64px;height:58px}
  .participant>span:last-child{font-size:12px;line-height:14px;min-height:28px}
  .event-card>.market-buttons.two-way{grid-template-columns:repeat(2,minmax(0,1fr)) 56px;gap:6px;width:100%;justify-self:stretch}
  .event-card>.market-buttons.three-way{grid-template-columns:repeat(3,minmax(0,1fr)) 56px;gap:6px;width:100%;justify-self:stretch}
  .event-card>.market-buttons.two-way .odds,.event-card>.market-buttons.three-way .odds{width:100%;min-height:44px;padding:6px 4px}
  .event-card>.market-buttons.two-way .more-markets,.event-card>.market-buttons.three-way .more-markets{width:56px;font-size:9px}
  #live-page-title{font-size:18px}
  #live-view .live-heading{align-items:center}
  #live-view .live-heading .eyebrow{display:none}
  .live-count-chip{padding:5px 9px;font-size:10px}
  #live-hero{padding:12px 12px 14px;border-radius:12px}
  .live-hero-bar{gap:8px}
  .live-hero-country{display:none}
  .live-scoreboard{gap:8px;padding:16px 0 14px}
  .live-scoreboard:before{width:130px;height:130px;box-shadow:0 0 0 26px #ffffff03}
  #live-hero .lsb-team .crest{width:46px;height:46px}
  #live-hero.is-combat .lsb-team .crest.fighter-portrait{width:78px;height:72px}
  .lsb-name strong{font-size:13.5px}
  .lsb-score{gap:5px}
  .lsb-num{min-width:40px;padding:6px 6px 5px;font-size:26px;border-radius:7px}
  .lsb-time{font-size:13px}
  .live-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:10px 12px}
  #live-hero .market-buttons.two-way{grid-template-columns:repeat(2,minmax(0,1fr)) 64px;gap:6px}
  #live-hero .market-buttons.three-way{grid-template-columns:repeat(3,minmax(0,1fr)) 64px;gap:6px}
  #live-hero .market-buttons .odds,#live-hero .market-buttons .more-markets{min-height:48px;padding:6px 4px}
  .live-timeline-bar{flex-wrap:wrap}
  .live-latest-incident{flex:1 1 100%}
  .timeline-item{grid-template-columns:32px 14px minmax(0,1fr);gap:8px}
  .timeline-item .timeline-team-tag{display:none}
  .event-card.live-event-card{padding:12px}
  .live-details{grid-template-columns:52px minmax(0,1fr);gap:10px}
  .live-row-status{padding-right:8px}
  .event-card-wrap>.live-timeline-wrap{margin:0 12px 12px}
  .site-footer{padding:26px 16px 24px}
  .footer-brand{gap:14px;align-items:center}
  .footer-logo{width:78px;height:70px}
  .footer-brand-copy strong{font-size:14px}
  .footer-brand-copy p{font-size:11.5px}
  .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
  .footer-col:last-child{grid-column:1/-1}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:12px;padding-top:16px}
  #auth-dialog{inset:auto 0 0 0;margin:0;width:100%;max-width:100%;max-height:92dvh;border-width:1px 0 0;border-radius:16px 16px 0 0;box-shadow:0 -20px 60px #0000008c}
  .auth-top{height:56px;padding:0 10px 0 18px}
  .auth-logo{height:28px}
  .auth-body{padding:20px 18px 18px}
  .auth-title{font-size:19px}
  .auth-subtitle{margin-bottom:18px}
  .auth-foot{padding:12px 18px calc(12px + env(safe-area-inset-bottom))}
  .drawer-head h2{font-size:18px}
  dialog{padding:16px}
  .ticket{padding:15px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ==========================================================================
   PREMIUM USER DASHBOARD (BETMONSTER SPORTSBOOK)
   ========================================================================== */
.top-notif-btn{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #28364a;border-radius:9px;background:#101724;color:#94a3b8;transition:color .16s,border-color .16s,background .16s}
.top-notif-btn:hover:not(:disabled){color:#f8fafc;border-color:#e8ba7166;background:#141e2e;filter:none}

.user-dashboard-dialog{position:fixed;inset:0;margin:auto;width:min(1240px,calc(100vw - 32px));height:min(90dvh,880px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #28394e;border-radius:18px;background:#0a0f17;color:var(--text);box-shadow:0 36px 120px rgba(0,0,0,.9),0 0 0 1px rgba(255,255,255,.06);overflow:hidden;z-index:900}
.user-dashboard-dialog::backdrop{background:rgba(4,7,12,.84);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.user-dashboard-dialog:focus{outline:none}

.ud-shell{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}
.ud-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:62px;padding:0 20px;background:#0e1522;border-bottom:1px solid #1e2b3c;flex-shrink:0}
.ud-topbar-left{display:flex;align-items:center;gap:14px;min-width:0}
.ud-toggle-btn{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #263548;border-radius:8px;background:#141c2a;color:#94a3b8;cursor:pointer}
.ud-toggle-btn:hover{color:#fff;border-color:var(--gold);background:#1a2537;filter:none}
.ud-brand-lockup{display:flex;align-items:center;gap:10px}
.ud-brand-logo{height:28px;width:auto;display:block}
.ud-crumb-sep{color:#43556d;font-size:14px;user-select:none}
.ud-title{font-size:15px;font-weight:800;letter-spacing:-.2px;color:#f8fafc;margin:0;white-space:nowrap}
.ud-topbar-right{display:flex;align-items:center;gap:10px;flex-shrink:0}
.ud-mode-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.3px;background:rgba(232,186,113,.12);color:var(--gold);border:1px solid rgba(232,186,113,.25)}
.ud-mode-chip.is-demo{background:rgba(56,189,248,.12);color:#38bdf8;border-color:rgba(56,189,248,.3)}
.ud-balance-chip{display:flex;align-items:center;gap:8px;padding:5px 12px;border-radius:9px;background:#121a27;border:1px solid #243346;font-size:12px;color:var(--muted)}
.ud-balance-val{font-size:13px;font-weight:800;color:#fff}
.ud-btn-gold{padding:7px 14px;border:1px solid #c99335;border-radius:8px;background:linear-gradient(180deg,#f6d089 0%,#d8a248 100%);color:#090d13;font-size:12px;font-weight:800;letter-spacing:.2px}
.ud-btn-gold:hover{filter:brightness(1.08)}
.ud-close-btn{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #263548;border-radius:8px;background:transparent;color:#94a3b8}
.ud-close-btn:hover{color:#fff;background:#ffffff0d;filter:none}

.ud-body{display:flex;flex:1;min-height:0;overflow:hidden;position:relative}

/* Collapsible Sidebar */
.ud-sidebar{width:244px;flex-shrink:0;background:#090d15;border-right:1px solid #1a2536;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;transition:width .2s cubic-bezier(.16,1,.3,1)}
.ud-sidebar.is-collapsed{width:70px}
.ud-user-card{display:flex;align-items:center;gap:11px;padding:16px 14px;border-bottom:1px solid #162030;background:#0d131f}
.ud-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#e8ba71,#b87f28);color:#0a0e14;font-size:15px;font-weight:900;flex-shrink:0}
.ud-user-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.ud-user-name{font-size:13px;font-weight:800;color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ud-user-id{font-size:11px;color:#7c8ba1;font-family:monospace}
.ud-sidebar.is-collapsed .ud-user-info{display:none}

.ud-nav-list{display:flex;flex-direction:column;gap:2px;padding:10px 8px;flex:1}
.ud-nav-item{display:flex;align-items:center;gap:11px;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:#94a3b8;font-size:12.5px;font-weight:600;text-align:left;width:100%;transition:background .14s,color .14s;position:relative;cursor:pointer}
.ud-nav-item:hover{color:#f1f5f9;background:rgba(255,255,255,.05);filter:none;transform:none}
.ud-nav-item.active{color:var(--gold);background:rgba(232,186,113,.12);font-weight:700}
.ud-nav-item.active::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:0 3px 3px 0;background:var(--gold);box-shadow:0 0 10px rgba(232,186,113,.65)}
.ud-nav-icon{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0;color:currentColor}
.ud-nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.ud-nav-badge{margin-left:auto;display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;font-size:10.5px;font-weight:800;background:#10b981;color:#05150e}
.ud-nav-badge.gold{background:var(--gold);color:#0c0f14}
.ud-sidebar.is-collapsed .ud-nav-label{display:none}
.ud-sidebar.is-collapsed .ud-nav-badge{position:absolute;top:4px;right:10px;min-width:8px;height:8px;padding:0}
.ud-sidebar.is-collapsed .ud-nav-item{justify-content:center;padding:10px 0}

.ud-sidebar-foot{padding:10px 8px 14px;border-top:1px solid #162030;display:flex;flex-direction:column;gap:4px}
.ud-foot-btn{display:flex;align-items:center;gap:11px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#7c8ba1;font-size:12px;font-weight:600;width:100%;cursor:pointer}
.ud-foot-btn:hover{color:#f8fafc;background:rgba(255,255,255,.05);filter:none;transform:none}
.ud-sidebar.is-collapsed .ud-foot-btn span:not(.ud-nav-icon){display:none}
.ud-sidebar.is-collapsed .ud-foot-btn{justify-content:center;padding:8px 0}

/* Main Dashboard Area */
.ud-main{flex:1;min-width:0;overflow-y:auto;padding:24px 28px 40px;scrollbar-width:thin;scrollbar-color:#233042 transparent;background:radial-gradient(circle at 80% 0%,#131c2b 0%,#0a0f17 70%)}
.ud-view{display:none;flex-direction:column;gap:20px;animation:udFadeIn .18s ease}
.ud-view.active{display:flex}
@keyframes udFadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Headings & Section intros */
.ud-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:2px}
.ud-section-title{font-size:19px;font-weight:800;letter-spacing:-.4px;color:#fff;margin:0}
.ud-section-sub{font-size:12px;color:var(--muted);margin:3px 0 0}

/* Stat & Summary Cards Grid */
.ud-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.ud-stat-card{background:linear-gradient(180deg,#121a27 0%,#0e1520 100%);border:1px solid #223043;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:5px;position:relative;overflow:hidden}
.ud-stat-card::after{content:"";position:absolute;top:0;right:0;width:40px;height:40px;background:radial-gradient(circle,rgba(232,186,113,.12) 0%,transparent 70%);pointer-events:none}
.ud-stat-label{font-size:11px;font-weight:700;letter-spacing:.3px;color:#7c8ba1;text-transform:uppercase}
.ud-stat-value{font-size:20px;font-weight:800;color:#f8fafc;letter-spacing:-.3px}
.ud-stat-sub{font-size:11px;color:#617288}

/* Quick Action Row */
.ud-quick-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ud-act-btn{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:9px;font-size:12px;font-weight:800;border:1px solid #28374a;background:#121a27;color:#f1f5f9;cursor:pointer;transition:all .14s}
.ud-act-btn:hover{border-color:var(--gold);background:#172233;filter:none;transform:translateY(-1px)}
.ud-act-btn.primary{background:linear-gradient(180deg,#f6d089 0%,#d8a248 100%);color:#090d13;border-color:#caa04c}
.ud-act-btn.primary:hover{filter:brightness(1.08)}

/* 2-Column Split Grid */
.ud-split-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
@media (max-width:960px){.ud-split-grid{grid-template-columns:1fr}}

/* Containers & Cards */
.ud-card{background:linear-gradient(180deg,#111824 0%,#0d131e 100%);border:1px solid #1f2b3c;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:14px}
.ud-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ud-card-title{font-size:14px;font-weight:800;color:#f1f5f9;margin:0}

/* Filter bars */
.ud-filter-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ud-search-box{display:flex;align-items:center;gap:8px;padding:0 12px;background:#090d15;border:1px solid #233144;border-radius:8px;height:36px;flex:1;min-width:200px}
.ud-search-box input{border:0;background:transparent;outline:none;font-size:12px;color:#fff;width:100%}
.ud-search-box input::placeholder{color:#57677d}
.ud-select{height:36px;padding:0 10px;background:#090d15;border:1px solid #233144;border-radius:8px;font-size:12px;color:#f1f5f9;outline:none;cursor:pointer}
.ud-select:focus{border-color:var(--gold)}

/* Sub-tabs / Pills */
.ud-tabs-row{display:flex;align-items:center;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
.ud-tabs-row::-webkit-scrollbar{display:none}
.ud-tab-pill{padding:6px 14px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid #223042;background:#0e1522;color:#8e9eb3;white-space:nowrap;cursor:pointer}
.ud-tab-pill:hover{color:#fff;border-color:#34455c;filter:none}
.ud-tab-pill.active{background:rgba(232,186,113,.15);border-color:var(--gold);color:var(--gold)}

/* Tables */
.ud-table-wrap{width:100%;overflow-x:auto;scrollbar-width:thin}
.ud-table{width:100%;border-collapse:collapse;font-size:12.5px;text-align:left}
.ud-table th{padding:10px 12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;color:#6b7c93;border-bottom:1px solid #1a2536;background:#0d1420;white-space:nowrap}
.ud-table td{padding:12px;border-bottom:1px solid #16202e;color:#d5dee7}
.ud-table tr:hover td{background:rgba(255,255,255,.02)}

/* Status Badges */
.ud-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:10.5px;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
.ud-badge.open{background:rgba(56,189,248,.12);color:#38bdf8;border:1px solid rgba(56,189,248,.3)}
.ud-badge.won,.ud-badge.completed,.ud-badge.approved{background:rgba(16,185,129,.12);color:#10b981;border:1px solid rgba(16,185,129,.3)}
.ud-badge.lost,.ud-badge.rejected{background:rgba(239,68,68,.12);color:#ef4444;border:1px solid rgba(239,68,68,.3)}
.ud-badge.void,.ud-badge.cancelled{background:rgba(148,163,184,.12);color:#94a3b8;border:1px solid rgba(148,163,184,.3)}
.ud-badge.pending,.ud-badge.requested,.ud-badge.processing,.ud-badge.under_review{background:rgba(245,158,11,.12);color:#f59e0b;border:1px solid rgba(245,158,11,.3)}

/* Ticket Cards in User Dashboard */
.ud-ticket-card{background:linear-gradient(180deg,#121a28 0%,#0d1421 100%);border:1px solid #223043;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;transition:border-color .14s}
.ud-ticket-card:hover{border-color:#33465e}
.ud-ticket-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #1a2536}
.ud-ticket-id{font-size:13px;font-weight:800;color:#f8fafc}
.ud-ticket-date{font-size:11px;color:#7c8ba1}
.ud-ticket-legs{display:flex;flex-direction:column;gap:8px}
.ud-ticket-leg{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:8px;background:#090e16;border:1px solid #182333}
.ud-leg-event{font-size:12px;font-weight:700;color:#f1f5f9}
.ud-leg-meta{font-size:11px;color:#7c8ba1;margin-top:2px}
.ud-leg-odds{font-size:13px;font-weight:800;color:var(--gold);white-space:nowrap}
.ud-ticket-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #1a2536;flex-wrap:wrap}
.ud-ticket-totals{display:flex;align-items:center;gap:16px;font-size:12px}
.ud-ticket-actions{display:flex;align-items:center;gap:8px}

/* Notification Items in Dashboard */
.ud-notif-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:10px;background:#0d131f;border:1px solid #1c2738;transition:border-color .14s}
.ud-notif-item.unread{border-color:#e8ba7155;background:#111928}
.ud-notif-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#182333;color:var(--gold);flex-shrink:0}
.ud-notif-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.ud-notif-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ud-notif-title{font-size:13px;font-weight:700;color:#f8fafc}
.ud-notif-time{font-size:10.5px;color:#708096;white-space:nowrap}
.ud-notif-body{font-size:12px;color:#a0afc2;line-height:1.45}

/* Support tickets */
.ud-support-item{padding:14px 16px;border-radius:10px;background:#0d1421;border:1px solid #1c2738;display:flex;flex-direction:column;gap:8px;cursor:pointer;transition:border-color .14s}
.ud-support-item:hover{border-color:var(--gold)}
.ud-thread-box{display:flex;flex-direction:column;gap:10px;max-height:360px;overflow-y:auto;padding:12px;border-radius:10px;background:#090d15;border:1px solid #1a2537}
.ud-thread-msg{padding:10px 12px;border-radius:8px;font-size:12px;max-width:85%}
.ud-thread-msg.user{align-self:flex-end;background:#182638;color:#f1f5f9;border:1px solid #23374e}
.ud-thread-msg.staff{align-self:flex-start;background:#111b24;color:#d7e2ee;border:1px solid #1b302c}

/* Bet Receipt Dialog & Print styling */
.bet-receipt-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 32px));height:fit-content;max-height:90dvh;padding:0;border:1px solid #2c3c52;border-radius:16px;background:#0d131f;color:#f1f5f9;box-shadow:0 30px 90px #000;overflow:auto;z-index:1000}
.bet-receipt-dialog::backdrop{background:rgba(4,7,12,.82);backdrop-filter:blur(6px)}
.receipt-shell{padding:24px;display:flex;flex-direction:column;gap:16px}
.receipt-header{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px;border-bottom:1px dashed #28374d;padding-bottom:14px}
.receipt-barcode{height:36px;width:80%;margin:4px auto;background:repeating-linear-gradient(90deg,#fff 0 2px,transparent 2px 4px,#fff 4px 5px,transparent 5px 8px);opacity:.75}
.receipt-table{width:100%;font-size:12px;border-collapse:collapse}
.receipt-table td{padding:6px 0;border-bottom:1px solid #1a2538}
.receipt-actions{display:flex;gap:10px;margin-top:10px}

/* Mobile responsive bar & overlay */
.ud-mobile-bar{display:none;position:sticky;bottom:0;width:100%;height:56px;background:#0a0f18;border-top:1px solid #1a2536;z-index:40;align-items:center;justify-content:space-around;padding:0 6px}
.ud-m-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:none;border:0;color:#7c8ba1;font-size:10px;font-weight:700;padding:6px 12px;cursor:pointer;position:relative}
.ud-m-tab:hover{color:#f8fafc;filter:none}
.ud-m-tab.active{color:var(--gold)}
.ud-m-tab .ud-nav-badge{position:absolute;top:2px;right:6px;min-width:6px;height:6px;padding:0}

@media (max-width:768px){
  .user-dashboard-dialog{inset:0;margin:0;width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0}
  .ud-topbar{padding:0 14px}
  .ud-sidebar{position:fixed;inset:62px auto 0 0;width:260px;z-index:50;transform:translateX(-100%);box-shadow:12px 0 40px rgba(0,0,0,.85)}
  .ud-sidebar.mobile-open{transform:translateX(0)}
  .ud-main{padding:14px 14px 68px}
  .ud-mobile-bar{display:flex}
  .ud-toggle-btn{display:grid}
}
@media print{
  body>*:not(#bet-receipt-dialog){display:none!important}
  #bet-receipt-dialog{position:static;inset:auto;margin:0;width:100%;max-height:none;border:none;box-shadow:none;background:#fff;color:#000}
  .receipt-shell{padding:0;color:#000}
  .receipt-actions{display:none!important}
  .receipt-barcode{filter:invert(1)}
}

