:root{--bg:#050609;--panel:rgba(18,20,26,.72);--panel2:rgba(27,13,18,.58);--line:rgba(255,255,255,.11);--muted:#a9afb9;--text:#f8f9fb;--red:#ef1737;--red2:#a90b1f;--green:#2fc56f;--gold:#f4b942;--shadow:0 18px 55px rgba(0,0,0,.36)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% 0,rgba(196,13,37,.22),transparent 28%),radial-gradient(circle at 85% 8%,rgba(232,26,61,.13),transparent 26%),var(--bg);color:var(--text);font-family:Inter,Arial,Helvetica,sans-serif;min-height:100vh}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(1480px,calc(100% - 30px));margin:auto}.glass{background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));backdrop-filter:blur(18px);border:1px solid var(--line);box-shadow:var(--shadow)}.topbar{position:sticky;top:0;z-index:80;background:rgba(4,5,8,.82);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.08)}.topbar-inner{height:74px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:12px;min-width:240px}.brand img{width:48px;height:48px;object-fit:contain}.brand b{font-size:17px;line-height:1.1}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:1.2px;margin-top:4px}.nav{display:flex;gap:22px;align-items:center;font-size:13px;font-weight:700;flex:1}.nav a{color:#d7d9df;transition:.2s}.nav a:hover,.nav a.active{color:#fff}.nav a.active{position:relative}.nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-13px;height:2px;background:var(--red);box-shadow:0 0 16px var(--red)}.header-actions{display:flex;gap:9px;align-items:center}.icon-btn,.btn{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#fff;border-radius:12px;padding:10px 15px;cursor:pointer;transition:.22s;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700}.btn:hover,.icon-btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.25)}.btn-red{background:linear-gradient(135deg,var(--red),#a5071d);border-color:#ff3d5b;box-shadow:0 0 22px rgba(239,23,55,.27)}.btn-soft{background:rgba(255,255,255,.055)}.btn-sm{padding:8px 11px;font-size:12px;border-radius:9px}.main{padding:22px 0 44px}.section{margin-top:20px}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 12px}.section-head h2{font-size:18px;margin:0;text-transform:uppercase;letter-spacing:.6px}.section-head a{font-size:12px;font-weight:700;color:var(--red)}.hero-shell{border-radius:22px;overflow:hidden;position:relative}.hero-track{display:flex;transition:transform .5s ease}.hero-slide{min-width:100%;min-height:370px;position:relative;overflow:hidden}.hero-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58}.hero-slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,3,5,.96),rgba(5,5,8,.58) 49%,rgba(4,4,6,.48));z-index:1}.hero-content{position:relative;z-index:3;min-height:370px;padding:38px 46% 30px 44px;display:flex;flex-direction:column;justify-content:center}.hero-kicker{color:#ff3651;font-size:12px;text-transform:uppercase;font-weight:800;letter-spacing:1px}.hero-title{font-size:48px;margin:10px 0 8px;line-height:1;text-transform:uppercase}.hero-meta{color:#ddd;font-weight:600;font-size:16px}.hero-stats{display:flex;gap:22px;margin:22px 0}.hero-stat span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase}.hero-stat b{font-size:23px}.hero-player{position:absolute;right:8%;bottom:-2px;height:95%;max-width:44%;object-fit:contain;z-index:2;filter:drop-shadow(0 10px 20px rgba(0,0,0,.35))}.hero-dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:8px;z-index:5}.hero-dot{width:8px;height:8px;border-radius:50%;background:#fff;opacity:.42;border:0;padding:0}.hero-dot.active{opacity:1;background:var(--red);box-shadow:0 0 12px var(--red)}.scroll-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);overflow-x:auto;gap:12px;padding-bottom:5px;scrollbar-width:none}.scroll-row::-webkit-scrollbar{display:none}.squad-card,.player-card,.fixture-card,.result-card,.mini-card{border-radius:16px;padding:15px}.squad-top{display:flex;gap:10px;align-items:center}.squad-logo{width:58px;height:58px;border-radius:14px;object-fit:cover;border:1px solid rgba(255,255,255,.14)}.squad-card h3,.player-card h3{font-size:14px;margin:0}.muted{color:var(--muted)}.tiny{font-size:11px}.squad-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:13px}.squad-stats span{font-size:9px;text-align:center;color:var(--muted)}.squad-stats b{display:block;color:#fff;font-size:15px;margin-top:4px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.list-card{border-radius:18px;padding:14px}.match-list{display:grid;gap:9px}.match-item{display:grid;grid-template-columns:68px 1fr auto 1fr;gap:12px;align-items:center;padding:10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);border-radius:12px}.match-date{text-align:center;font-size:10px;color:var(--muted);border-right:1px solid rgba(255,255,255,.08)}.match-date b{display:block;color:#fff;font-size:18px}.team{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:700}.team.right{justify-content:flex-end;text-align:right}.team img{width:33px;height:33px;object-fit:cover;border-radius:50%}.score{font-size:22px;font-weight:800;color:#fff}.vs{color:var(--red);font-weight:800}.leader-list{display:grid;gap:7px}.leader-row{display:grid;grid-template-columns:30px 42px 1fr auto;align-items:center;gap:9px;padding:8px;border-bottom:1px solid rgba(255,255,255,.07)}.leader-row:last-child{border-bottom:0}.rank-box{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.06);font-weight:800}.leader-row:first-child .rank-box{background:var(--red)}.leader-row img{width:36px;height:36px;border-radius:50%;object-fit:cover}.leader-rating{font-size:19px;font-weight:800}.notice-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:13px}.notice-item:last-child{border-bottom:0}.notice-icon{width:30px;height:30px;border-radius:8px;background:rgba(239,23,55,.18);display:grid;place-items:center;color:var(--red)}.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.gallery-grid img{width:100%;height:105px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.09)}.player-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.player-card{position:relative;overflow:hidden;text-align:center}.player-photo{height:180px;width:100%;object-fit:cover;border-radius:13px;background:#111}.player-card h3{margin-top:11px}.badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:8px}.badge{font-size:10px;border-radius:999px;padding:5px 8px;border:1px solid rgba(255,255,255,.12);color:#e7e7ec;background:rgba(255,255,255,.04)}.badge-premium{border-color:rgba(244,185,66,.5);color:#ffd87a;background:rgba(244,185,66,.1)}.badge-red{border-color:rgba(239,23,55,.5);color:#ff7083;background:rgba(239,23,55,.1)}.profile-cover{border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.16);position:relative;background:#101218}.profile-cover-img{width:100%;height:clamp(220px,34vw,420px);object-fit:cover;object-position:center}.profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.88))}.profile-main{position:relative;z-index:2;margin-top:-88px;padding:0 24px 24px;display:flex;align-items:end;gap:18px}.profile-avatar{width:144px;height:144px;border-radius:50%;object-fit:cover;border:5px solid #0b0d11;box-shadow:0 0 0 2px rgba(239,23,55,.72)}.profile-name{font-size:32px;margin:0 0 4px}.profile-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 22px 16px}.profile-tabs a{white-space:nowrap;padding:8px 12px;border-radius:10px;color:var(--muted);font-size:13px}.profile-tabs a.active{color:#fff;background:rgba(239,23,55,.17)}.stats-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.stat-box{padding:16px;border-radius:14px;text-align:center}.stat-box span{color:var(--muted);font-size:11px;display:block}.stat-box b{font-size:24px;display:block;margin-top:5px}.tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:14px}.tabs a{white-space:nowrap;padding:10px 13px;border:1px solid rgba(255,255,255,.11);border-radius:11px;font-size:12px;color:#d6d8de}.tabs a.active{background:var(--red);border-color:var(--red)}.form-shell{max-width:780px;margin:0 auto;border-radius:18px;padding:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field label{display:block;font-size:12px;color:#d7d9df;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;padding:11px 12px;border-radius:11px;color:#fff;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.045);outline:0}.field textarea{min-height:110px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--red)}.full{grid-column:1/-1}.alert{padding:12px 14px;border-radius:11px;margin-bottom:12px}.alert-success{background:rgba(47,197,111,.14);color:#9aefbb;border:1px solid rgba(47,197,111,.25)}.alert-danger{background:rgba(239,23,55,.14);color:#ff9cab;border:1px solid rgba(239,23,55,.25)}.footer{margin-top:40px;border-top:1px solid rgba(255,255,255,.08);padding:28px 0;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px}.footer-brand{display:flex;gap:10px}.footer-brand img{width:50px;height:50px;object-fit:contain}.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);opacity:0;pointer-events:none;transition:.2s;z-index:89}.drawer{position:fixed;top:0;bottom:0;left:-330px;width:min(320px,88vw);z-index:90;background:rgba(7,8,11,.96);backdrop-filter:blur(20px);padding:18px;border-right:1px solid rgba(255,255,255,.1);transition:.25s;overflow:auto}.drawer.open{left:0}.drawer-overlay.open{opacity:1;pointer-events:auto}.drawer a{display:block;padding:12px 10px;border-radius:10px;margin:3px 0;color:#e7e8ed}.drawer a:hover{background:rgba(239,23,55,.16)}.mobile-menu{display:none}.bottom-nav{display:none}.ai-fab{position:fixed;right:20px;bottom:22px;z-index:81;width:68px;height:68px;border-radius:50%;background:linear-gradient(135deg,var(--red),#8e0718);border:1px solid #ff5270;color:#fff;box-shadow:0 0 24px rgba(239,23,55,.48);font-size:11px;font-weight:800;cursor:pointer}.ai-panel{position:fixed;right:18px;bottom:100px;width:min(390px,calc(100vw - 30px));height:min(610px,calc(100vh - 130px));z-index:95;border-radius:18px;overflow:hidden;display:none;flex-direction:column}.ai-panel.open{display:flex}.ai-head{padding:13px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.09)}.ai-messages{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:9px;scroll-behavior:smooth}.ai-msg{padding:10px 11px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45;font-size:13px}.ai-msg.bot{background:rgba(255,255,255,.06);align-self:flex-start}.ai-msg.user{background:linear-gradient(135deg,#e51232,#a30a1d);align-self:flex-end}.ai-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.ai-actions a{font-size:11px;padding:7px 9px;border-radius:999px;background:rgba(239,23,55,.17);border:1px solid rgba(239,23,55,.35)}.ai-input{display:flex;gap:8px;border-top:1px solid rgba(255,255,255,.09);padding:10px}.ai-input textarea{flex:1;resize:none;min-height:42px;max-height:100px;border-radius:11px;padding:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);color:#fff}.table-wrap{overflow:auto;border-radius:15px}.table{width:100%;border-collapse:collapse;min-width:760px}.table th,.table td{padding:11px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left;font-size:12px}.table th{color:#b7bdc7;text-transform:uppercase;font-size:10px}.admin-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.admin-menu{padding:16px;position:sticky;top:0;height:100vh;overflow:auto;background:rgba(6,7,10,.92);border-right:1px solid rgba(255,255,255,.08)}.admin-menu img{width:54px;height:54px;object-fit:contain}.admin-menu h3{font-size:14px}.admin-menu a{display:block;padding:11px;border-radius:10px;margin:3px 0;color:#d3d6dc;font-size:13px}.admin-menu a:hover,.admin-menu a.active{background:rgba(239,23,55,.17);color:#fff}.admin-content{padding:20px;min-width:0}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.admin-card{padding:14px;border-radius:15px}.admin-card b{display:block;font-size:27px;margin-top:7px}.admin-top{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px}.admin-mobile-btn{display:none}.empty{padding:20px;color:var(--muted);text-align:center}.pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.pagination a{padding:7px 10px;border-radius:8px;border:1px solid rgba(255,255,255,.1);font-size:12px}.pagination a.active{background:var(--red)}@media(max-width:1100px){.nav{display:none}.mobile-menu{display:inline-flex}.brand{min-width:0}.player-grid{grid-template-columns:repeat(3,1fr)}.gallery-grid{grid-template-columns:repeat(4,1fr)}.admin-shell{grid-template-columns:1fr}.admin-menu{position:fixed;left:-280px;z-index:95;width:260px;transition:.25s}.admin-menu.open{left:0}.admin-mobile-btn{display:inline-flex}.admin-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){.container{width:min(100% - 20px,720px)}.topbar-inner{height:62px}.brand img{width:38px;height:38px}.brand b{font-size:14px}.brand small{display:none}.header-actions .desktop-only{display:none}.main{padding-top:12px}.hero-slide,.hero-content{min-height:310px}.hero-content{padding:24px 42% 24px 20px}.hero-title{font-size:30px}.hero-meta{font-size:12px}.hero-stats{gap:13px;margin:14px 0}.hero-stat b{font-size:18px}.hero-player{height:84%;max-width:54%;right:-2%}.scroll-row{grid-auto-columns:minmax(175px,76vw)}.two-col{grid-template-columns:1fr}.match-item{grid-template-columns:52px 1fr auto 1fr;gap:6px;padding:8px}.team{font-size:10px}.team img{width:27px;height:27px}.gallery-grid{grid-template-columns:repeat(2,1fr)}.player-grid{grid-template-columns:repeat(2,1fr);gap:9px}.player-card{padding:10px}.player-photo{height:145px}.profile-cover-img{height:220px}.profile-main{margin-top:-60px;padding:0 14px 15px;gap:11px;align-items:center}.profile-avatar{width:92px;height:92px;border-width:3px}.profile-name{font-size:23px}.profile-main .muted{font-size:11px}.stats-grid{grid-template-columns:repeat(3,1fr)}.form-grid{grid-template-columns:1fr}.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;z-index:80;background:rgba(6,7,10,.96);backdrop-filter:blur(16px);border-top:1px solid rgba(255,255,255,.09)}.bottom-nav a{padding:9px 3px 8px;text-align:center;color:#bec2cb;font-size:10px}.bottom-nav b{display:block;font-size:16px;color:#fff;margin-bottom:2px}.footer{padding-bottom:72px}.footer-grid{grid-template-columns:1fr}.ai-fab{width:58px;height:58px;bottom:70px;right:14px;font-size:10px}.ai-panel{inset:0;width:auto;height:auto;border-radius:0}.admin-content{padding:12px}.admin-grid{grid-template-columns:1fr 1fr}.admin-top h1{font-size:20px}.table{min-width:680px}}@media(max-width:420px){.player-grid{grid-template-columns:1fr 1fr}.player-photo{height:125px}.hero-title{font-size:26px}.hero-kicker{font-size:10px}.hero-content{padding-left:16px}.header-actions .btn{padding:8px 10px;font-size:11px}}

html[data-theme="light"]{--bg:#eef1f6;--panel:rgba(255,255,255,.78);--panel2:rgba(255,242,244,.82);--line:rgba(19,25,36,.13);--muted:#687181;--text:#111722;--shadow:0 18px 44px rgba(38,45,58,.12)}html[data-theme="light"] body{background:radial-gradient(circle at 10% 0,rgba(220,19,51,.12),transparent 28%),#eef1f6}html[data-theme="light"] .topbar,html[data-theme="light"] .bottom-nav{background:rgba(248,250,253,.9)}html[data-theme="light"] .drawer,html[data-theme="light"] .profile-drawer{background:rgba(250,252,255,.96)}
.account-chip{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.06);color:var(--text);border:1px solid var(--line);padding:5px 10px 5px 5px;border-radius:999px;cursor:pointer}.account-chip img{width:30px;height:30px;object-fit:cover;border-radius:50%}.profile-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);opacity:0;visibility:hidden;z-index:92;transition:.2s}.profile-overlay.open{opacity:1;visibility:visible}.profile-drawer{position:fixed;right:-390px;top:0;width:min(360px,94vw);height:100vh;padding:16px;background:rgba(12,14,19,.98);z-index:93;transition:.25s;overflow:auto;border-left:1px solid var(--line)}.profile-drawer.open{right:0}.drawer-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.profile-drawer-user{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.04)}.profile-drawer-user small{display:block;color:var(--muted);margin-top:4px}.drawer-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover}.drawer-main-link{display:block;margin:12px 0;padding:12px;text-align:center;border-radius:12px;background:rgba(255,255,255,.09);font-weight:700}.drawer-links a{display:block;padding:13px 11px;margin:3px 0;border-radius:10px}.drawer-links a:hover{background:rgba(255,255,255,.06)}.drawer-theme{padding:12px 10px}.drawer-theme label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.drawer-theme select{width:100%}.drawer-brand{display:flex;gap:10px;align-items:center;margin:18px 0 10px}.drawer-brand img{width:50px;height:50px;object-fit:contain}.drawer-brand small{display:block;color:var(--muted)}.bottom-nav button{background:none;border:0;color:#bec2cb;padding:9px 3px 8px;text-align:center;font-size:10px}.bottom-nav button b{display:block;font-size:16px;color:#fff;margin-bottom:2px}
.nitro-badge{display:inline-flex;gap:4px;align-items:center;background:linear-gradient(135deg,#ffcb52,#ee3157);color:#fff;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;margin-top:5px}.nitro-frame{box-shadow:0 0 0 3px rgba(244,185,66,.9),0 0 20px rgba(239,23,55,.55)}.nitro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.nitro-plan{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.nitro-plan h3{margin:0 0 7px}.nitro-price{font-size:28px;font-weight:900;color:var(--gold)}
.live-auction{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:16px}.auction-countdown{font-size:28px;font-weight:900;color:var(--red)}.live-bid-row{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid var(--line)}.auction-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.auction-meta>div{padding:10px;border-radius:12px;background:rgba(255,255,255,.04)}
.score7-stage{margin:14px 0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--panel)}.score7-stage summary{cursor:pointer;padding:14px 16px;font-weight:900;font-size:18px;list-style:none;background:linear-gradient(90deg,rgba(239,23,55,.24),transparent)}.score7-stage summary::-webkit-details-marker{display:none}.round-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.fixture-card{border:1px solid var(--line);border-radius:14px;padding:12px;background:rgba(255,255,255,.035)}.fixture-card-head{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:8px}.fixture-team{display:flex;justify-content:space-between;padding:9px 0;border-top:1px solid var(--line)}.fixture-score{font-weight:900;color:var(--red)}.fixture-status{font-size:11px;color:var(--green)}
.podium{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.podium-card{padding:15px;text-align:center;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.podium-card img{width:70px;height:70px;border-radius:50%;object-fit:cover}.podium-card:first-child{border-color:rgba(244,185,66,.75);transform:translateY(-6px)}.leader-mobile{display:none}.scroll-row{scroll-behavior:smooth;scroll-snap-type:x proximity}.scroll-row>*{scroll-snap-align:start;flex:0 0 auto}.profile-cover{overflow:hidden;border:1px solid var(--line);border-radius:20px}.profile-cover-img{display:block;width:100%;height:280px;object-fit:cover;border-radius:19px 19px 0 0}
@media(max-width:760px){.profile-drawer{width:min(350px,94vw)}.nitro-grid{grid-template-columns:1fr}.live-auction{grid-template-columns:1fr}.round-cards{grid-template-columns:1fr}.podium{grid-template-columns:1fr 1fr 1fr;gap:7px}.podium-card{padding:9px;font-size:11px}.podium-card img{width:52px;height:52px}.leader-desktop{display:none}.leader-mobile{display:block}.profile-cover-img{height:190px}.account-chip span{display:none}}

.match-list.scroll-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.match-list.scroll-row .match-item{min-width:470px;flex:0 0 470px}.inline-form{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.inline-form input,.inline-form select{min-height:38px}@media(max-width:760px){.match-list.scroll-row .match-item{min-width:310px;flex-basis:310px}.scroll-row::-webkit-scrollbar{display:none}}
.notification-bell{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.045);color:var(--text);transition:.2s}.notification-bell:hover{transform:translateY(-1px);border-color:rgba(239,23,55,.65);box-shadow:0 0 18px rgba(239,23,55,.18)}.notification-bell .bell-icon{font-size:21px;line-height:1}.notification-bell b{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--red);color:#fff;display:grid;place-items:center;font-size:10px;border:2px solid var(--bg)}.notification-item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.notification-item.unread{background:linear-gradient(90deg,rgba(239,23,55,.11),transparent);padding-left:10px;border-radius:10px}.notification-item:last-child{border-bottom:0}.notification-title{font-weight:800}.notification-actions{display:flex;align-items:center;gap:7px}.squad-role-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.squad-role-card>div{padding:11px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035)}@media(max-width:720px){.notification-bell{width:34px;height:34px}.notification-bell .bell-icon{font-size:18px}.squad-role-card{grid-template-columns:1fr}}

.theme-picker{position:relative}.theme-picker-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-radius:12px;border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035));color:var(--text);cursor:pointer;font-weight:800}.theme-picker-menu{display:none;position:absolute;left:0;right:0;bottom:calc(100% + 7px);z-index:8;padding:6px;border:1px solid var(--line);border-radius:14px;background:rgba(10,12,17,.98);box-shadow:var(--shadow)}.theme-picker.open .theme-picker-menu{display:block}.theme-picker-menu button{width:100%;display:grid;grid-template-columns:24px 1fr;column-gap:6px;text-align:left;border:0;border-radius:10px;padding:9px;background:transparent;color:#fff;cursor:pointer}.theme-picker-menu button span{font-weight:800}.theme-picker-menu button small{grid-column:2;color:#a9afb9}.theme-picker-menu button:hover,.theme-picker-menu button.active{background:rgba(239,23,55,.18)}html[data-theme="light"] .theme-picker-menu{background:rgba(255,255,255,.98)}html[data-theme="light"] .theme-picker-menu button{color:#111722}html[data-theme="light"] .theme-picker-menu button small{color:#687181}
.theme-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.theme-choice input{position:absolute;opacity:0}.theme-choice span{display:block;padding:13px 10px;text-align:center;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.035);cursor:pointer;font-weight:800}.theme-choice input:checked+span{border-color:rgba(239,23,55,.75);background:rgba(239,23,55,.16);box-shadow:0 0 18px rgba(239,23,55,.16)}
.profile-main{display:flex;align-items:flex-end;gap:16px;margin-top:-74px;position:relative;padding:0 22px 18px}.profile-avatar{width:132px;height:132px;border-radius:50%;border:5px solid var(--bg);object-fit:cover;background:var(--bg)}.profile-identity{flex:1;min-width:0}.profile-actions{align-self:center}.profile-badges{justify-content:flex-start}.profile-tabs{display:flex;gap:6px;padding:0 16px 13px;overflow-x:auto}.profile-tabs a{white-space:nowrap;padding:10px 12px;border-radius:10px;color:var(--muted);font-size:12px;font-weight:800}.profile-tabs a.active,.profile-tabs a:hover{background:rgba(239,23,55,.17);color:var(--text)}.profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.profile-info-grid>div{padding:11px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035)}.profile-info-grid small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.profile-social-grid{display:flex;flex-wrap:wrap;gap:9px}.profile-social-grid a{padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);font-size:12px;font-weight:800}.profile-match{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.profile-match small{display:block;margin-top:4px}.profile-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.profile-gallery-grid figure{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035)}.profile-gallery-grid img{width:100%;height:165px;object-fit:cover}.profile-gallery-grid figcaption{display:flex;justify-content:space-between;gap:7px;align-items:center;padding:9px;font-size:11px;color:var(--muted)}.achievement-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.achievement-card{display:flex;gap:12px;padding:13px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035)}.achievement-card>span{font-size:26px}.achievement-card p{margin:4px 0}.stats-grid-wide{grid-template-columns:repeat(5,minmax(0,1fr))}
.admin-action-grid{display:flex;flex-wrap:wrap;gap:8px}.align-start{justify-content:flex-start}.tournament-admin-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tournament-admin-group{padding:14px;border-radius:16px}.group-member-list{margin:12px 0}.group-member-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-bottom:1px solid var(--line)}.score-input{width:58px}.group-table{min-width:620px}.tournament-public-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.group-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.qualified-mark{display:inline-flex;padding:3px 7px;border-radius:999px;background:rgba(47,197,111,.17);color:var(--green);font-size:10px;font-weight:900}
.scroll-row[data-loop-ready="1"]{scroll-behavior:auto;scroll-snap-type:none}.scroll-row[data-loop-ready="1"]>*{scroll-snap-align:none}.scroll-row{will-change:scroll-position}.player-card,.squad-card,.match-item{contain:layout paint}.ai-msg-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.ai-messages{overflow-y:auto;overscroll-behavior:contain}.ai-input{position:sticky;bottom:0}
html[data-theme="light"] .glass{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.76));border-color:rgba(27,35,51,.12)}html[data-theme="light"] .profile-drawer-user,html[data-theme="light"] .fixture-card,html[data-theme="light"] .auction-meta>div,html[data-theme="light"] .profile-info-grid>div,html[data-theme="light"] .achievement-card,html[data-theme="light"] .profile-gallery-grid figure{background:rgba(239,243,249,.78)}html[data-theme="light"] .btn-soft,html[data-theme="light"] .icon-btn{color:#111722;background:rgba(255,255,255,.72);border-color:rgba(27,35,51,.16)}html[data-theme="light"] .drawer-links a:hover{background:rgba(222,229,239,.9)}html[data-theme="light"] .bottom-nav a,html[data-theme="light"] .bottom-nav button{color:#586274}html[data-theme="light"] .bottom-nav b,html[data-theme="light"] .bottom-nav button b{color:#111722}
@media(max-width:900px){.tournament-admin-groups,.tournament-public-groups{grid-template-columns:1fr}.stats-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.profile-main{margin-top:-54px;padding:0 13px 13px;align-items:center;flex-wrap:wrap}.profile-avatar{width:94px;height:94px;border-width:4px}.profile-actions{width:100%;display:flex;justify-content:flex-start}.profile-tabs{padding:0 9px 10px}.profile-tabs a{padding:8px 9px;font-size:11px}.profile-info-grid{grid-template-columns:1fr 1fr}.profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-gallery-grid img{height:130px}.achievement-list{grid-template-columns:1fr}.theme-choice-grid{grid-template-columns:1fr 1fr 1fr}.stats-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-picker-menu{bottom:auto;top:calc(100% + 7px)}}
.theme-radio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.theme-radio-card{position:relative;display:block;cursor:pointer}.theme-radio-card input{position:absolute;opacity:0;pointer-events:none}.theme-radio-card span,.theme-radio-card small{display:block}.theme-radio-card span{padding:13px 11px 4px;border:1px solid var(--line);border-bottom:0;border-radius:13px 13px 0 0;background:rgba(255,255,255,.035);font-weight:900}.theme-radio-card small{min-height:38px;padding:2px 11px 11px;border:1px solid var(--line);border-top:0;border-radius:0 0 13px 13px;background:rgba(255,255,255,.035);color:var(--muted);font-size:11px}.theme-radio-card input:checked~span,.theme-radio-card input:checked~small{border-color:rgba(239,23,55,.72);background:rgba(239,23,55,.15);box-shadow:0 0 18px rgba(239,23,55,.1)}html[data-theme="light"] .theme-radio-card span,html[data-theme="light"] .theme-radio-card small{background:rgba(239,243,249,.84)}@media(max-width:720px){.theme-radio-grid{grid-template-columns:1fr}.theme-radio-card small{min-height:0}}
/* BMC V5 polished additions */
:root{--glass-line:rgba(255,255,255,.12);--soft-shadow:0 18px 52px rgba(0,0,0,.22)}[data-theme="light"]{--glass-line:rgba(45,55,72,.14);--soft-shadow:0 18px 44px rgba(18,30,52,.12)}
.profile-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}.google-bind-card{position:sticky;top:88px}.pretty-select,select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:34px}
.profile-preference-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px}.preference-chip{display:flex;align-items:center;gap:10px;border:1px solid var(--glass-line);border-radius:16px;padding:10px;background:rgba(255,255,255,.035)}.preference-chip img,.mini-logo{width:38px;height:38px;border-radius:50%;object-fit:cover;border:1px solid var(--glass-line)}.preference-chip small,.preference-chip b{display:block}.form-chips{display:flex;gap:8px;flex-wrap:wrap}.form-chip{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;font-weight:900}.form-w{background:#198754;color:white}.form-l{background:#dc3545;color:white}.form-d{background:#e2a413;color:white}
.admin-triple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.community-match-grid{display:grid;gap:14px}.community-versus-card{padding:14px}.community-card-top,.community-card-foot,.worldcup-card-top,.worldcup-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}.community-versus-body,.worldcup-versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:14px 0}.community-player,.worldcup-versus>div{text-align:center;min-width:0}.community-player img,.worldcup-versus img{width:58px;height:58px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 7px;border:2px solid rgba(213,0,0,.55)}.community-player b,.community-player small,.worldcup-versus b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-center{text-align:center}.community-center strong{font-size:22px;display:block}.community-center small{display:block;margin-top:4px;color:var(--muted)}
.worldcup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.worldcup-card{padding:14px}.worldcup-card-foot{font-size:12px}.worldcup-card-foot b{color:#f8bf39}.fixture-slide,.community-mini-card,.worldcup-mini-card{flex:0 0 270px;min-height:126px;padding:14px;border:1px solid var(--glass-line);border-radius:18px;text-decoration:none;box-shadow:var(--soft-shadow)}.fixture-slide small,.fixture-slide em{display:block;color:var(--muted);font-size:11px}.fixture-slide div{display:grid;gap:6px;margin:12px 0}.fixture-slide span{color:var(--red);font-weight:900}.community-mini-card,.worldcup-mini-card{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center;text-align:center}.community-mini-card img,.worldcup-mini-card img{width:42px;height:42px;border-radius:50%;object-fit:cover;margin:0 auto 4px}.community-mini-card b,.community-mini-card small,.worldcup-mini-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.worldcup-mini-card small{grid-column:1/-1;color:var(--muted)}.compact-results{display:grid;gap:7px}.compact-result{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;border-bottom:1px solid var(--glass-line);padding:9px 0}.compact-result span:last-child{text-align:right}.leader-row small{display:block}.loop-card{contain:layout paint}.scroll-row{scrollbar-width:none;overscroll-behavior-x:contain}.scroll-row::-webkit-scrollbar{display:none}.loop-clone{pointer-events:none}
.tournament-admin-group,.score7-stage,.fixture-card{border:1px solid var(--glass-line)!important;box-shadow:var(--soft-shadow)}.tournament-admin-group{overflow:hidden}.group-title-row{background:linear-gradient(90deg,rgba(199,0,0,.23),rgba(199,0,0,.03));padding:12px 14px;margin:-14px -14px 12px}.group-table th{white-space:nowrap;color:var(--muted);font-size:11px}.qualified-mark{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#198754;color:#fff;font-size:11px;margin-left:4px}.badge-green{background:rgba(25,135,84,.2)!important;border-color:rgba(25,135,84,.55)!important;color:#9bf0bd!important}
[data-theme="light"] .glass,[data-theme="light"] .fixture-slide,[data-theme="light"] .community-mini-card,[data-theme="light"] .worldcup-mini-card{background:rgba(255,255,255,.86);border-color:rgba(47,58,78,.14);color:#172033}[data-theme="light"] .muted,[data-theme="light"] small{color:#667085}[data-theme="light"] input,[data-theme="light"] textarea,[data-theme="light"] select{background:#fff;color:#172033;border-color:rgba(47,58,78,.2)}[data-theme="light"] .topbar{background:rgba(255,255,255,.86)}[data-theme="light"] .profile-drawer,[data-theme="light"] .drawer{background:#fff;color:#172033}[data-theme="light"] .btn-soft{color:#172033;background:rgba(231,235,242,.85)}
@media(max-width:980px){.profile-editor-grid,.admin-triple-grid{grid-template-columns:1fr}.google-bind-card{position:static}.worldcup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.profile-preference-strip{grid-template-columns:1fr}.worldcup-grid{grid-template-columns:1fr}.fixture-slide,.community-mini-card,.worldcup-mini-card{flex-basis:82vw;max-width:330px}.community-versus-body{gap:6px}.community-player img{width:48px;height:48px}.community-center strong{font-size:18px}.group-table{min-width:760px}.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* V5 knockout bracket polish */
.bracket-board{display:flex;gap:16px;overflow-x:auto;padding:16px;scrollbar-width:thin;overscroll-behavior-x:contain}.bracket-column{flex:0 0 250px;display:flex;flex-direction:column;justify-content:space-around;gap:13px;min-height:180px}.bracket-column-title{position:sticky;top:0;z-index:2;padding:9px 11px;border-radius:12px;background:linear-gradient(90deg,rgba(210,0,35,.3),rgba(210,0,35,.05));border:1px solid var(--glass-line);font-size:12px;font-weight:900;text-align:center;backdrop-filter:blur(14px)}.bracket-match{padding:10px;border:1px solid var(--glass-line);border-radius:14px;background:rgba(255,255,255,.035);box-shadow:var(--soft-shadow)}.bracket-match.is-complete{border-color:rgba(25,135,84,.48)}.bracket-match-meta,.bracket-team{display:flex;align-items:center;justify-content:space-between;gap:8px}.bracket-match-meta{padding-bottom:6px;color:var(--muted);font-size:10px}.bracket-match-meta b{font-size:10px;color:var(--red)}.bracket-team{padding:6px 0;border-top:1px solid rgba(255,255,255,.055)}.bracket-team span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.bracket-team strong{font-size:15px}.bracket-team.winner{color:#8ff0b2;font-weight:900}.bracket-match small{display:block;padding-top:5px;font-size:10px}[data-theme="light"] .bracket-match{background:rgba(244,247,252,.92)}[data-theme="light"] .bracket-team{border-top-color:rgba(35,48,70,.08)}
@media(max-width:720px){.bracket-board{gap:10px;padding:11px}.bracket-column{flex-basis:82vw;max-width:310px;gap:10px}.bracket-column-title{position:static}.bracket-match{padding:9px}}
.setting-readonly{display:grid;gap:4px;padding:11px;border-radius:13px;border:1px solid var(--glass-line);background:rgba(255,255,255,.035)}.setting-readonly small{line-height:1.35}

/* BMC V6 tournament, speed and Nitro fire polish */
.participant-dialog{width:min(1040px,94vw);max-height:88vh;border:1px solid var(--glass-line);border-radius:22px;padding:0;background:rgba(18,9,14,.97);color:var(--text);box-shadow:0 26px 90px rgba(0,0,0,.48)}.participant-dialog::backdrop{background:rgba(0,0,0,.68);backdrop-filter:blur(4px)}.dialog-head,.dialog-foot,.picker-tools{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--glass-line)}.dialog-foot{border-top:1px solid var(--glass-line);border-bottom:0}.picker-tools{flex-wrap:wrap}.picker-tools input[type=search]{flex:1 1 280px}.picker-table-wrap{max-height:58vh;overflow:auto}.participant-picker-table thead{position:sticky;top:0;z-index:3;background:#221017}.participant-cell{display:flex;align-items:center;gap:9px;min-width:170px}.participant-cell img{width:34px;height:34px;object-fit:cover;border-radius:50%;border:1px solid var(--glass-line)}.approved-participant-table code{white-space:nowrap}.replace-inline,.result-inline{display:flex;align-items:center;gap:6px;min-width:300px}.replace-inline select{min-width:150px}.result-inline input{width:56px;padding:7px}.selection-note{margin-top:11px;padding:10px;border:1px solid var(--glass-line);border-radius:13px;color:var(--muted)}.preview-formula{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;align-items:center;padding:13px;border-radius:15px;background:rgba(255,255,255,.035);border:1px solid var(--glass-line)}.preview-formula b{grid-row:1/3;font-size:34px;color:var(--red)}.preview-formula strong{color:#83e3a4}.group-title-row small{display:block;color:var(--muted);margin-top:3px}.tournament-overview-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:14px}.overview-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:19px;grid-row:span 2}.overview-progress{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;align-content:center;background:radial-gradient(circle,rgba(18,9,14,.96) 56%,transparent 58%),conic-gradient(var(--red) calc(var(--overview-pct,65)*1%),rgba(255,255,255,.08) 0);border:1px solid var(--glass-line)}.overview-progress b{font-size:23px}.overview-progress span{font-size:11px;color:var(--muted)}.overview-kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-links{display:flex;gap:8px;flex-wrap:wrap;padding:12px}.overview-links a{padding:8px 10px;border:1px solid var(--glass-line);border-radius:11px;text-decoration:none;font-weight:800;font-size:12px}.nitro-profile{position:relative;isolation:isolate;--nitro-accent:#ef1737;--nitro-strength:75}.nitro-css_fire:before,.nitro-css_fire:after{content:"";position:absolute;inset:-2px;border-radius:inherit;pointer-events:none;z-index:-1}.nitro-css_fire:before{background:conic-gradient(from 0deg,transparent,rgba(255,82,0,.15),var(--nitro-accent),rgba(255,191,0,.48),transparent 62%,var(--nitro-accent));filter:blur(calc(7px + var(--nitro-strength)*.08px));opacity:.86;animation:nitroSpin 5.8s linear infinite}.nitro-css_fire:after{inset:0;background:radial-gradient(circle at 18% 96%,rgba(255,124,0,.28),transparent 24%),radial-gradient(circle at 76% 100%,rgba(255,35,0,.22),transparent 30%);opacity:.75;animation:nitroPulse 2.2s ease-in-out infinite alternate}.nitro-css_glow{box-shadow:0 0 calc(14px + var(--nitro-strength)*.12px) color-mix(in srgb,var(--nitro-accent),transparent 30%)}.nitro-frame{box-shadow:0 0 0 3px var(--nitro-accent),0 0 calc(14px + var(--nitro-strength)*.1px) var(--nitro-accent)!important}@keyframes nitroSpin{to{transform:rotate(360deg)}}@keyframes nitroPulse{from{transform:scale(.995);opacity:.55}to{transform:scale(1.012);opacity:.88}}.loop-card,.leader-row,.profile-gallery-grid img{content-visibility:auto;contain-intrinsic-size:260px 150px}.scroll-row{scroll-behavior:auto}.scroll-row>*{transform:translateZ(0)}img{max-width:100%;height:auto}.squad-logo,.community-mini-card img,.worldcup-mini-card img,.leader-row img{aspect-ratio:1/1}.hero-cover{aspect-ratio:16/7;object-fit:cover}
[data-theme="light"] .participant-dialog{background:rgba(255,255,255,.98);color:#172033}[data-theme="light"] .participant-picker-table thead{background:#f5f7fb}[data-theme="light"] .preview-formula{background:#f6f8fc}[data-theme="light"] .overview-progress{background:radial-gradient(circle,#fff 56%,transparent 58%),conic-gradient(var(--red) calc(var(--overview-pct,65)*1%),rgba(30,44,70,.1) 0)}
@media(max-width:900px){.tournament-overview-grid{grid-template-columns:1fr}.overview-hero{grid-row:auto}.participant-dialog{width:97vw}.approved-participant-table{min-width:900px}}
@media(max-width:680px){.overview-progress{width:82px;height:82px}.overview-progress b{font-size:18px}.participant-picker-table{min-width:760px}.dialog-head,.dialog-foot,.picker-tools{padding:11px}.result-inline{min-width:270px}.nitro-css_fire:before{filter:blur(8px);opacity:.62}}
@media(prefers-reduced-motion:reduce){.nitro-css_fire:before,.nitro-css_fire:after{animation:none!important;opacity:.35}.hero-track,.scroll-row{scroll-behavior:auto!important}.nitro-profile{transition:none!important}}
/* BMC V9 visibility fixes: keep the existing UI, restore a clear header border */
.topbar{border-bottom:1px solid rgba(239,23,55,.72)!important;box-shadow:0 8px 26px rgba(0,0,0,.24),0 1px 0 rgba(255,80,105,.16)!important}
[data-theme="light"] .topbar{border-bottom-color:rgba(169,11,31,.58)!important;box-shadow:0 8px 22px rgba(20,24,32,.10),0 1px 0 rgba(169,11,31,.14)!important}

/* BMC V10 preference list, actual flag and compact searchable select polish */
.pref-page-head{align-items:flex-start;flex-wrap:wrap}.pref-summary{display:flex;gap:9px;flex-wrap:wrap}.pref-summary span{display:flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.045);font-size:12px;color:var(--muted)}.pref-summary b{color:#fff}.pref-editor-grid{align-items:start}.pref-editor-card{overflow:hidden}.pref-current-media{display:flex;align-items:center;gap:12px;padding:10px;margin-bottom:12px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.035)}.pref-current-media img{width:74px;height:48px;object-fit:cover;border-radius:9px;border:1px solid rgba(255,255,255,.16);background:#fff}.pref-current-media b,.pref-current-media small{display:block}.pref-current-media small{margin-top:4px;color:var(--muted);font-size:11px}.pref-check{display:flex!important;align-items:center;gap:8px}.pref-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pref-list-card{min-width:0}.pref-list-tools{margin-bottom:10px}.pref-list-tools input{width:100%}.pref-list-head,.pref-row{display:grid;grid-template-columns:42px 62px minmax(130px,1fr) 64px 78px minmax(142px,auto);gap:8px;align-items:center}.pref-list-head{padding:0 8px 8px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.pref-row{padding:9px 8px;border-top:1px solid rgba(255,255,255,.075);transition:.18s}.pref-row:hover{background:rgba(255,255,255,.035)}.pref-serial{font-weight:900;color:var(--muted)}.pref-flag{width:48px;height:32px;object-fit:cover;border-radius:7px;border:1px solid rgba(255,255,255,.14);background:#fff}.pref-name{display:grid;gap:3px;min-width:0}.pref-name b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.pref-name small{color:var(--muted);font-size:10px}.pref-order{font-size:12px;color:var(--muted)}.pref-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:10px;font-style:normal;text-transform:capitalize;border:1px solid rgba(255,255,255,.1)}.pref-status.active{color:#9bf0bd;background:rgba(25,135,84,.17);border-color:rgba(25,135,84,.38)}.pref-status.inactive{color:#ff9aaa;background:rgba(239,23,55,.12);border-color:rgba(239,23,55,.32)}.pref-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.pref-actions form{margin:0}.btn-danger{background:rgba(239,23,55,.16);border-color:rgba(239,23,55,.45);color:#ff91a1}.btn-danger:hover{background:rgba(239,23,55,.25)}
.smart-native-hidden{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.smart-select{position:relative}.smart-select-trigger{width:100%;min-height:44px;display:flex;align-items:center;gap:9px;padding:9px 34px 9px 11px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.045);color:#fff;text-align:left;cursor:pointer;position:relative}.smart-select-trigger:after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-68%) rotate(45deg)}.smart-select.open .smart-select-trigger:after{transform:translateY(-25%) rotate(225deg)}.smart-select-trigger img,.smart-select-option img{width:28px;height:20px;object-fit:cover;border-radius:4px;border:1px solid rgba(255,255,255,.12);background:#fff;flex:0 0 auto}.smart-select-trigger span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smart-select-panel{display:none;position:absolute;z-index:120;top:calc(100% + 7px);left:0;right:0;padding:8px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:rgba(18,10,14,.985);box-shadow:0 20px 56px rgba(0,0,0,.5)}.smart-select.open .smart-select-panel{display:block}.smart-select-search{width:100%;margin-bottom:7px}.smart-select-options{display:grid;gap:3px;max-height:250px;overflow:auto}.smart-select-option{display:flex;width:100%;align-items:center;gap:9px;border:0;border-radius:9px;padding:8px;color:#f7f8fb;background:transparent;text-align:left;cursor:pointer}.smart-select-option:hover,.smart-select-option.active{background:rgba(239,23,55,.16)}.smart-select-option[hidden]{display:none}.smart-select-empty{padding:11px;text-align:center;color:var(--muted);font-size:12px}
[data-theme="light"] .pref-summary span,[data-theme="light"] .pref-current-media,[data-theme="light"] .pref-row:hover{background:rgba(231,235,242,.8);border-color:rgba(47,58,78,.14)}[data-theme="light"] .pref-summary b{color:#172033}[data-theme="light"] .smart-select-trigger{background:#fff;color:#172033;border-color:rgba(47,58,78,.2)}[data-theme="light"] .smart-select-panel{background:#fff;border-color:rgba(47,58,78,.2)}[data-theme="light"] .smart-select-option{color:#172033}[data-theme="light"] .smart-select-option:hover,[data-theme="light"] .smart-select-option.active{background:rgba(169,11,31,.1)}
@media(max-width:820px){.pref-lists-grid{grid-template-columns:1fr}.pref-list-head{display:none}.pref-row{grid-template-columns:34px 56px minmax(0,1fr) auto;grid-template-areas:"serial flag name status" "serial flag order actions";gap:5px 8px;padding:10px 5px}.pref-serial{grid-area:serial}.pref-flag{grid-area:flag}.pref-name{grid-area:name}.pref-order{grid-area:order}.pref-order:before{content:"Order: ";color:var(--muted)}.pref-row>span:nth-child(5){grid-area:status;justify-self:end}.pref-actions{grid-area:actions;justify-content:flex-end;flex-wrap:wrap}.pref-actions .btn{padding:7px 9px;font-size:11px}.pref-current-media img{width:66px;height:44px}}
@media(max-width:520px){.smart-select-panel{position:fixed;left:10px;right:10px;top:16vh;max-height:70vh}.smart-select-options{max-height:52vh}.pref-summary{width:100%}.pref-summary span{flex:1;justify-content:center}.pref-editor-card{padding:11px}}

/* BMC V11 strict compact preference row backup */
.pref-list-card .pref-row.club img.pref-flag{width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;object-fit:contain!important;padding:3px!important;border-radius:9px!important;background:#fff!important}
.pref-list-card .pref-row.team img.pref-flag{width:46px!important;height:30px!important;max-width:46px!important;max-height:30px!important;object-fit:contain!important;border-radius:6px!important;background:#fff!important}

/* BMC V12 player actions, unified mobile drawer and performance polish */
body.drawer-lock{overflow:hidden}
.profile-drawer-browse{display:none}
.profile-drawer-section-title{margin:14px 8px 6px;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.player-action-menu{position:relative;display:inline-block}
.player-action-menu>summary{list-style:none;white-space:nowrap}
.player-action-menu>summary::-webkit-details-marker{display:none}
.player-action-popover{position:absolute;z-index:30;right:0;top:calc(100% + 6px);display:grid;gap:6px;width:220px;padding:8px;border:1px solid var(--line);border-radius:13px;background:rgba(12,14,19,.985);box-shadow:0 18px 44px rgba(0,0,0,.45)}
.player-action-popover .btn,.player-action-popover form{width:100%;margin:0}
.player-action-popover .btn{justify-content:flex-start}
.player-danger-zone{padding-top:4px;border-top:1px solid var(--line)}
.player-danger-zone>summary{cursor:pointer;color:#ff8da0;font-size:11px;font-weight:800;list-style:none}
.player-danger-zone>summary::-webkit-details-marker{display:none}
.player-danger-zone form{display:grid;gap:6px;margin-top:7px!important}
.player-danger-zone small{color:var(--muted);font-size:10px;line-height:1.35}
.player-danger-zone input{width:100%;padding:8px 9px;border:1px solid rgba(255,255,255,.13);border-radius:9px;background:rgba(255,255,255,.045);color:#fff}
.player-status{display:inline-flex;padding:4px 7px;border:1px solid var(--line);border-radius:999px;font-size:10px;font-weight:800;text-transform:capitalize}
.player-status-active{color:#98efb9;background:rgba(47,197,111,.12);border-color:rgba(47,197,111,.35)}
.player-status-blocked{color:#ffd67d;background:rgba(244,185,66,.12);border-color:rgba(244,185,66,.35)}
.player-status-removed{color:#ff9bad;background:rgba(239,23,55,.12);border-color:rgba(239,23,55,.35)}
html{scroll-behavior:auto}
.scroll-row{scroll-behavior:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.hero-track{will-change:transform;backface-visibility:hidden;transform:translateZ(0)}
.hero-slide,.loop-card{backface-visibility:hidden}
[data-theme="light"] .player-action-popover{background:rgba(255,255,255,.99);color:#172033}
[data-theme="light"] .player-danger-zone input{background:#fff;color:#172033;border-color:rgba(47,58,78,.2)}

@media(max-width:860px){
  .profile-drawer-browse{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding-bottom:6px;border-bottom:1px solid var(--line)}
  .profile-drawer-browse a{display:block;padding:10px 9px;border-radius:10px;background:rgba(255,255,255,.035);font-size:12px}
  .profile-drawer{width:min(360px,96vw);padding:13px}
  .profile-drawer-user{padding:11px}
  .drawer-links a{padding:11px 9px}
  .glass{backdrop-filter:none;-webkit-backdrop-filter:none}
  .topbar,.bottom-nav,.drawer,.profile-drawer{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
  .btn:hover,.icon-btn:hover,.notification-bell:hover{transform:none}
  .scroll-row[data-loop-ready="manual"]{scroll-snap-type:x proximity}
  .scroll-row[data-loop-ready="manual"]>*{scroll-snap-align:start}
}

@media(max-width:720px){
  .profile-cover{border-radius:16px}
  .profile-cover-img{height:168px}
  .profile-main{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:end;gap:9px;margin-top:-42px;padding:0 11px 12px}
  .profile-avatar{width:74px;height:74px;border-width:3px}
  .profile-identity{min-width:0}
  .profile-name{font-size:20px;line-height:1.1;overflow-wrap:anywhere}
  .profile-main .muted{font-size:10px;line-height:1.35}
  .profile-main .badges{justify-content:flex-start;gap:4px;margin-top:6px}
  .profile-main .badge,.profile-main .nitro-badge{font-size:9px;padding:4px 6px}
  .profile-actions{grid-column:1/-1;width:100%}
  .profile-actions .btn{width:100%;justify-content:center}
  .profile-tabs{gap:4px;padding:0 8px 10px}
  .profile-tabs a{padding:7px 8px;font-size:10px;border-radius:8px}
  .profile-preference-strip{grid-template-columns:1fr;gap:7px;padding:9px}
  .preference-chip{padding:8px;border-radius:12px}
  .preference-chip img,.mini-logo{width:34px;height:34px}
  .profile-info-grid{grid-template-columns:1fr;gap:7px}
  .profile-social-grid{gap:6px}
  .profile-social-grid a{padding:8px 10px;font-size:11px}
  .profile-editor-grid{gap:12px}
  .form-shell{padding:12px;border-radius:15px}
  .google-bind-card{position:static}
  .stats-grid{gap:7px}
  .stat-box{padding:11px 6px}
  .stat-box b{font-size:19px}
  .stat-box span{font-size:9px}
  .profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .profile-gallery-grid img{height:120px}
  .achievement-list{grid-template-columns:1fr}
  .player-admin-table{min-width:760px}
  .player-action-popover{position:fixed;left:12px;right:12px;bottom:76px;top:auto;width:auto;max-height:72vh;overflow:auto}
}
/* BMC V12.1 mobile drawer title alignment */
@media(max-width:860px){.profile-drawer-browse .profile-drawer-section-title{grid-column:1/-1;margin:4px 3px 2px}}

/* BMC V14 result edit/delete polish */
.result-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.result-row-actions form{display:inline-flex;margin:0}.compact-results-table td{vertical-align:middle}.result-edit-box{border-color:rgba(239,35,60,.28)}.result-edit-vs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 16px;padding:12px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.04)}.result-edit-vs span{color:var(--red);font-weight:900}.tm-approved-edit{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%;padding:10px;border:1px solid rgba(47,197,111,.24);border-radius:14px;background:rgba(47,197,111,.055)}.tm-approved-edit input[type=number]{width:64px}.tm-approved-edit label{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:900}.tm-delete-result{color:#ff9aa8!important;border-left:1px solid var(--line);padding-left:9px}@media(max-width:760px){.result-admin-grid{grid-template-columns:1fr}.result-row-actions{min-width:220px}.compact-results-table{min-width:720px}.tm-approved-edit{align-items:flex-start}.tm-approved-edit .tm-approved-score{width:100%;font-size:18px}.tm-delete-result{border-left:0;padding-left:0;width:100%}}

/* BMC V15: compact homepage match cards with player photos */
.fixture-slide.match-card-compact,
.community-mini-card.match-card-compact{
  flex:0 0 270px;
  min-height:146px;
  max-width:286px;
  padding:11px 12px;
  display:flex;
  flex-direction:column;
  gap:7px;
  text-align:left;
  overflow:hidden;
  border-radius:18px;
  color:var(--text);
}
.match-card-compact .match-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
}
.match-card-compact .match-card-meta small{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
}
.match-pill{
  flex:0 0 auto;
  font-size:9px;
  line-height:1;
  padding:5px 7px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.055);
  color:#dfe3ea;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.3px;
}
.match-pill.is-live{position:relative;padding-left:17px;background:rgba(239,23,55,.18);border-color:rgba(239,23,55,.55);color:#ff4961;box-shadow:0 0 18px rgba(239,23,55,.16);animation:bmcLivePill 1.45s ease-in-out infinite}
.match-pill.is-live:before{content:"";position:absolute;left:7px;top:50%;width:5px;height:5px;border-radius:50%;background:#ff2443;transform:translateY(-50%);box-shadow:0 0 0 0 rgba(255,36,67,.72);animation:bmcLiveDot 1.25s ease-out infinite}
.match-card-compact.is-live-card{border-color:rgba(239,23,55,.44);box-shadow:0 0 0 1px rgba(239,23,55,.08),0 14px 38px rgba(239,23,55,.09),var(--soft-shadow)}
.match-card-compact.is-live-card .match-vs-chip{animation:bmcLiveScoreGlow 1.6s ease-in-out infinite alternate}
@keyframes bmcLiveDot{0%{box-shadow:0 0 0 0 rgba(255,36,67,.72)}70%{box-shadow:0 0 0 7px rgba(255,36,67,0)}100%{box-shadow:0 0 0 0 rgba(255,36,67,0)}}
@keyframes bmcLivePill{0%,100%{filter:brightness(1)}50%{filter:brightness(1.18)}}
@keyframes bmcLiveScoreGlow{from{box-shadow:0 0 0 rgba(239,23,55,0)}to{box-shadow:0 0 16px rgba(239,23,55,.32)}}
@media(prefers-reduced-motion:reduce){.match-pill.is-live,.match-pill.is-live:before,.match-card-compact.is-live-card .match-vs-chip{animation:none!important}}
.match-pill.is-ft{background:rgba(47,197,111,.13);border-color:rgba(47,197,111,.42);color:#80e6a9}
.match-stage-line{
  font-size:10px;
  color:#cfd3dc;
  min-height:13px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.match-person{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-height:38px;
}
.match-person img{
  width:34px!important;
  height:34px!important;
  max-width:34px!important;
  border-radius:50%;
  object-fit:cover;
  margin:0!important;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
}
.match-person span{min-width:0;display:block}
.match-person b{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  line-height:1.15;
  color:#fff;
}
.match-person small{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  color:var(--muted);
  margin-top:2px;
}
.match-person strong{
  font-size:16px;
  font-weight:900;
  color:#fff;
  min-width:20px;
  text-align:right;
}
.match-vs-chip{
  align-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:20px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(239,23,55,.12);
  border:1px solid rgba(239,23,55,.35);
  color:#ff2b49;
  font-size:10px;
  font-weight:1000;
  line-height:1;
}
.match-time{
  margin-top:auto;
  display:block;
  font-size:10px;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-style:italic;
}
@media(max-width:640px){
  .fixture-slide.match-card-compact,
  .community-mini-card.match-card-compact{
    flex-basis:80vw;
    max-width:306px;
    min-height:148px;
  }
  .match-person{grid-template-columns:34px minmax(0,1fr) auto;gap:8px}
  .match-person img{width:34px!important;height:34px!important;max-width:34px!important}
}


/* BMC V16: fix homepage tournament/community cards - normal small card, no tall player photo */
.home-match-card-note{display:none!important}
.fixture-slide.match-card-compact,
.community-mini-card.match-card-compact,
.scroll-row .fixture-slide.match-card-compact,
.scroll-row .community-mini-card.match-card-compact{
  flex:0 0 214px!important;
  width:214px!important;
  max-width:214px!important;
  min-height:118px!important;
  height:auto!important;
  padding:10px 11px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  text-align:left!important;
  overflow:hidden!important;
  border-radius:16px!important;
}
.fixture-slide.match-card-compact .match-card-meta,
.community-mini-card.match-card-compact .match-card-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:6px!important;
  margin:0!important;
}
.fixture-slide.match-card-compact .match-card-meta small,
.community-mini-card.match-card-compact .match-card-meta small{
  display:block!important;
  max-width:124px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9px!important;
  letter-spacing:.15px!important;
  color:var(--muted)!important;
  text-transform:uppercase!important;
}
.fixture-slide.match-card-compact .match-stage-line{
  display:block!important;
  margin:0!important;
  min-height:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:10px!important;
  line-height:1.15!important;
  color:#e6e9ef!important;
}
.fixture-slide.match-card-compact .match-person,
.community-mini-card.match-card-compact .match-person{
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  min-height:30px!important;
  margin:0!important;
  width:100%!important;
}
.fixture-slide.match-card-compact img,
.community-mini-card.match-card-compact img,
.fixture-slide.match-card-compact .match-person img,
.community-mini-card.match-card-compact .match-person img{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  min-height:28px!important;
  max-height:28px!important;
  object-fit:cover!important;
  border-radius:50%!important;
  display:block!important;
  margin:0!important;
  border:1px solid rgba(239,23,55,.35)!important;
  background:rgba(255,255,255,.06)!important;
}
.fixture-slide.match-card-compact .match-person span,
.community-mini-card.match-card-compact .match-person span{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
}
.fixture-slide.match-card-compact .match-person b,
.community-mini-card.match-card-compact .match-person b{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:12px!important;
  line-height:1.12!important;
  color:#fff!important;
}
.fixture-slide.match-card-compact .match-person small,
.community-mini-card.match-card-compact .match-person small{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9px!important;
  line-height:1.1!important;
  color:var(--muted)!important;
  margin:2px 0 0!important;
}
.fixture-slide.match-card-compact .match-person strong,
.community-mini-card.match-card-compact .match-person strong{
  min-width:16px!important;
  text-align:right!important;
  font-size:13px!important;
  color:#fff!important;
}
.fixture-slide.match-card-compact .match-vs-chip,
.community-mini-card.match-card-compact .match-vs-chip{
  align-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:34px!important;
  height:17px!important;
  padding:0 8px!important;
  margin:-1px 0!important;
  border-radius:999px!important;
  font-size:9px!important;
  line-height:1!important;
  color:#ff334f!important;
}
.fixture-slide.match-card-compact .match-time,
.community-mini-card.match-card-compact .match-time{
  margin:1px 0 0!important;
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9.5px!important;
  line-height:1.15!important;
  color:var(--muted)!important;
  font-style:italic!important;
}
.fixture-slide.match-card-compact .match-pill,
.community-mini-card.match-card-compact .match-pill{
  font-size:8px!important;
  padding:4px 6px!important;
}
.fixture-slide.match-card-compact.is-live-card,
.community-mini-card.match-card-compact.is-live-card{
  border-color:rgba(239,23,55,.52)!important;
  box-shadow:0 0 0 1px rgba(239,23,55,.10),0 10px 24px rgba(239,23,55,.10),var(--soft-shadow)!important;
}
.fixture-slide.match-card-compact.is-live-card:before,
.community-mini-card.match-card-compact.is-live-card:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(239,23,55,.08),transparent);
  opacity:.75;
  animation:bmcLiveCardSweep 2.4s linear infinite;
}
@keyframes bmcLiveCardSweep{0%{transform:translateX(-80%)}100%{transform:translateX(80%)}}
@media(max-width:640px){
  .fixture-slide.match-card-compact,
  .community-mini-card.match-card-compact,
  .scroll-row .fixture-slide.match-card-compact,
  .scroll-row .community-mini-card.match-card-compact{
    flex-basis:220px!important;
    width:220px!important;
    max-width:220px!important;
    min-height:118px!important;
  }
  .section-head h2{font-size:15px!important;letter-spacing:.25px!important}
}


/* BMC V17: normal horizontal match card; no overlap, no tall photos */
.match-card-row.scroll-row,
.scroll-row.match-card-row{
  display:flex!important;
  grid-auto-flow:initial!important;
  grid-auto-columns:initial!important;
  align-items:stretch!important;
  gap:12px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x proximity!important;
  -webkit-overflow-scrolling:touch!important;
  padding:0 2px 7px!important;
}
.match-card-row.scroll-row::-webkit-scrollbar{height:0!important;display:none!important}
.match-card-row .fixture-slide.match-card-compact,
.match-card-row .community-mini-card.match-card-compact{
  position:relative!important;
  flex:0 0 280px!important;
  width:280px!important;
  max-width:280px!important;
  min-width:280px!important;
  min-height:122px!important;
  height:122px!important;
  padding:12px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  overflow:hidden!important;
  scroll-snap-align:start!important;
  border-radius:16px!important;
}
.match-card-row .match-card-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;min-height:17px!important}
.match-card-row .match-card-meta small{max-width:166px!important;font-size:9px!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:.25px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--muted)!important}
.match-card-row .match-pill{font-size:7.8px!important;line-height:1!important;padding:4px 6px!important;letter-spacing:.35px!important}
.match-card-row .match-stage-line{font-size:10px!important;line-height:1.15!important;height:12px!important;min-height:12px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#dfe2e8!important;margin:0!important}
.match-card-row .match-lineup{display:grid!important;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:44px!important;margin:0!important;overflow:hidden!important}
.match-card-row .match-side{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;min-width:0!important;overflow:hidden!important}
.match-card-row .match-side-away{grid-template-columns:minmax(0,1fr) 30px!important;text-align:right!important}
.match-card-row .match-side img,
.match-card-row .fixture-slide.match-card-compact img,
.match-card-row .community-mini-card.match-card-compact img{
  width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;border-radius:50%!important;object-fit:cover!important;display:block!important;margin:0!important;border:1px solid rgba(239,23,55,.36)!important;background:rgba(255,255,255,.06)!important;
}
.match-card-row .match-side span{display:block!important;min-width:0!important;overflow:hidden!important}
.match-card-row .match-side b{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;line-height:1.1!important;color:#fff!important}
.match-card-row .match-side small{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:8.5px!important;line-height:1.1!important;color:var(--muted)!important;margin-top:2px!important;text-transform:uppercase!important}
.match-card-row .match-vs-chip{min-width:36px!important;height:20px!important;padding:0 6px!important;margin:0!important;align-self:center!important;justify-self:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;font-size:9px!important;line-height:1!important;color:#ff334f!important;background:rgba(239,23,55,.12)!important;border:1px solid rgba(239,23,55,.36)!important;font-weight:1000!important;white-space:nowrap!important}
.match-card-row .match-time{margin-top:auto!important;display:block!important;font-size:9.5px!important;line-height:1.1!important;color:var(--muted)!important;font-style:italic!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.match-card-row .match-person{display:none!important}
.match-card-row .match-card-compact.is-live-card{border-color:rgba(239,23,55,.52)!important;box-shadow:0 0 0 1px rgba(239,23,55,.10),0 10px 25px rgba(239,23,55,.10),var(--soft-shadow)!important}
.match-card-row .match-card-compact.is-live-card:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(239,23,55,.08),transparent);opacity:.75;animation:bmcLiveCardSweep 2.4s linear infinite}
@media(max-width:640px){
  .match-card-row .fixture-slide.match-card-compact,
  .match-card-row .community-mini-card.match-card-compact{flex-basis:268px!important;width:268px!important;min-width:268px!important;max-width:268px!important;height:122px!important;min-height:122px!important}
  .match-card-row{gap:10px!important;padding-left:1px!important;padding-right:1px!important}
}

/* BMC V18 Leaderboard COBEG Style Ranking + Smooth Animations */
.leaderboard-hero-head{align-items:flex-end}.leaderboard-mode-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(244,185,66,.34);background:linear-gradient(135deg,rgba(244,185,66,.18),rgba(239,23,55,.10));color:#ffd77a;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;box-shadow:0 0 28px rgba(244,185,66,.08)}.leaderboard-rule{display:flex;gap:10px;align-items:center;padding:12px 14px;margin:8px 0 14px;border-radius:16px;color:var(--muted);font-size:12px;line-height:1.45}.leaderboard-rule b{color:#fff;white-space:nowrap}.leaderboard-tabs{scroll-snap-type:x mandatory}.leaderboard-tabs a{scroll-snap-align:start}.leaderboard-podium .podium-card{position:relative;overflow:hidden;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;animation:leaderPop .48s ease both}.leaderboard-podium .podium-card:nth-child(2){animation-delay:.07s}.leaderboard-podium .podium-card:nth-child(3){animation-delay:.14s}.leaderboard-podium .podium-card:before{content:"";position:absolute;inset:-1px;background:linear-gradient(125deg,transparent,rgba(255,255,255,.12),transparent);transform:translateX(-120%);animation:leaderShine 4.6s ease-in-out infinite;pointer-events:none}.leaderboard-podium .rank-1{border-color:rgba(244,185,66,.75);box-shadow:0 0 0 1px rgba(244,185,66,.18),0 18px 55px rgba(244,185,66,.08)}.leaderboard-podium .rank-2{border-color:rgba(220,230,255,.35)}.leaderboard-podium .rank-3{border-color:rgba(255,140,70,.35)}.podium-rank{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:24px;border-radius:999px;background:rgba(255,255,255,.08);font-weight:900;margin-bottom:8px}.form-badge{display:inline-flex;margin-top:8px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;border:1px solid rgba(255,255,255,.14);color:#dce3ee;background:rgba(255,255,255,.05)}.form-badge.is-provisional{color:#ffd37a;border-color:rgba(244,185,66,.35);background:rgba(244,185,66,.12)}.form-badge.is-qualified{color:#9df0bf;border-color:rgba(47,197,111,.35);background:rgba(47,197,111,.10)}.leaderboard-table-card{overflow:hidden}.leaderboard-table th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.45px}.leaderboard-table td{vertical-align:middle}.leader-name-cell{display:flex;align-items:center;gap:9px;min-width:190px}.leader-name-cell img{width:36px;height:36px;object-fit:cover;border-radius:50%;border:1px solid rgba(255,255,255,.14)}.leader-name-cell small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.score-chip{display:inline-flex;min-width:58px;justify-content:center;padding:6px 9px;border-radius:10px;background:linear-gradient(135deg,rgba(239,23,55,.22),rgba(255,255,255,.04));border:1px solid rgba(239,23,55,.28);box-shadow:inset 0 0 14px rgba(239,23,55,.08)}.leader-anim-row{opacity:0;transform:translateY(8px);animation:leaderRowIn .42s ease forwards;animation-delay:var(--rank-delay,0ms)}.top-rank-row{background:linear-gradient(90deg,rgba(239,23,55,.10),transparent)!important}.rank-glow-1{background:linear-gradient(135deg,#f4b942,#c88816)!important;color:#211307;box-shadow:0 0 18px rgba(244,185,66,.28)}.rank-glow-2{background:linear-gradient(135deg,#e8edf8,#7d8daa)!important;color:#101722;box-shadow:0 0 16px rgba(215,225,244,.14)}.rank-glow-3{background:linear-gradient(135deg,#d98245,#7f3b1e)!important;color:#fff;box-shadow:0 0 16px rgba(217,130,69,.16)}.leader-mobile.leaderboard-mobile-list{display:none}.leaderboard-mobile-list .leader-row{border:1px solid rgba(255,255,255,.08);border-radius:14px;margin-bottom:8px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.028))}.leaderboard-mobile-list .leader-rating{font-size:16px;color:#fff}.leaderboard-mobile-list .leader-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}@keyframes leaderRowIn{to{opacity:1;transform:none}}@keyframes leaderPop{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@keyframes leaderShine{0%,62%{transform:translateX(-125%)}78%,100%{transform:translateX(125%)}}@media(max-width:760px){.leaderboard-rule{align-items:flex-start;flex-direction:column}.leaderboard-mode-badge{font-size:10px;padding:7px 10px}.leader-desktop.leaderboard-table-card{display:none}.leader-mobile.leaderboard-mobile-list{display:block}.leaderboard-podium{grid-template-columns:repeat(3,minmax(0,1fr))}.leaderboard-podium .podium-card{padding:9px}.leaderboard-podium .podium-card h3{font-size:12px;line-height:1.2}.leaderboard-podium .podium-card img{width:48px;height:48px;margin:auto}.leaderboard-podium .leader-rating{font-size:16px}.form-badge{font-size:9px;padding:3px 6px}}
@media(prefers-reduced-motion:reduce){.leader-anim-row,.leaderboard-podium .podium-card,.leaderboard-podium .podium-card:before{animation:none!important;opacity:1!important;transform:none!important}}

/* BMC Leaderboard V20: mobile safe compact cards; no huge player photo */
.leaderboard-podium .podium-card img{
    width:74px!important;height:74px!important;max-width:74px!important;min-width:74px!important;
    object-fit:cover!important;border-radius:50%!important;margin:0 auto 8px!important;
    aspect-ratio:1/1!important;
}
.leaderboard-podium .podium-card{min-height:auto!important;display:block!important;text-align:center!important}
.lb20-mobile-list{display:none}
.lb20-card{
    display:grid!important;grid-template-columns:32px 42px minmax(0,1fr) auto!important;
    align-items:center!important;gap:9px!important;padding:10px!important;margin:0 0 9px!important;
    border-radius:15px!important;overflow:hidden!important;min-height:0!important;height:auto!important;
    border:1px solid rgba(255,255,255,.09)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.028))!important;
    text-decoration:none!important;color:inherit!important;position:relative!important;
}
.lb20-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(239,23,55,.08),transparent 46%);opacity:.65;pointer-events:none}.lb20-card>*{position:relative;z-index:1}
.lb20-avatar{
    width:42px!important;height:42px!important;max-width:42px!important;min-width:42px!important;
    object-fit:cover!important;border-radius:50%!important;aspect-ratio:1/1!important;margin:0!important;
    border:1px solid rgba(255,255,255,.16)!important;background:#14161c!important;display:block!important;
}
.lb20-info{min-width:0!important;display:block!important}.lb20-info b{display:block!important;font-size:13px!important;line-height:1.16!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.lb20-info small{display:block!important;color:var(--muted)!important;font-size:10px!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.lb20-score{display:grid!important;place-items:end!important;gap:0!important;min-width:48px!important}.lb20-score b{font-size:17px!important;line-height:1!important;color:#fff!important}.lb20-score small{font-size:9px!important;color:var(--muted)!important;text-transform:uppercase!important;letter-spacing:.3px!important}.lb20-rank{width:28px!important;height:28px!important;border-radius:9px!important;font-size:13px!important}.lb20-stat-grid{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;margin-top:5px!important}.lb20-stat-grid span{display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.07)!important;background:rgba(255,255,255,.035)!important;border-radius:10px!important;padding:6px 3px!important;min-width:0!important}.lb20-stat-grid b{font-size:12px!important;line-height:1!important;white-space:nowrap!important}.lb20-stat-grid small{font-size:8px!important;color:var(--muted)!important;margin-top:3px!important;text-transform:uppercase!important;white-space:nowrap!important}.lb20-goal-line{grid-column:1/-1!important;color:var(--muted)!important;font-size:10px!important;line-height:1!important;padding-left:1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}@media(max-width:760px){
    .leaderboard-podium{display:none!important}.leader-desktop.leaderboard-table-card{display:none!important}.leader-mobile.leaderboard-mobile-list,.lb20-mobile-list{display:block!important}.leaderboard-rule{font-size:11px!important}.leaderboard-tabs{padding-bottom:4px!important}.lb20-card{width:100%!important;max-width:100%!important}.lb20-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.lb20-stat-grid b{font-size:12px!important}.lb20-info b{font-size:13px!important}
}
@media(min-width:761px){.leader-mobile.leaderboard-mobile-list,.lb20-mobile-list{display:none!important}.leader-desktop.leaderboard-table-card{display:block!important}}
@media(max-width:380px){.lb20-card{grid-template-columns:28px 38px minmax(0,1fr) auto!important;gap:7px!important;padding:9px!important}.lb20-avatar{width:38px!important;height:38px!important;max-width:38px!important;min-width:38px!important}.lb20-score b{font-size:15px!important}.lb20-stat-grid{gap:4px!important}.lb20-stat-grid b{font-size:11px!important}.lb20-stat-grid small{font-size:7px!important}}


/* BMC Leaderboard V21: one-line mobile leaderboard, old style UI, COBEG logic stays */
@media(max-width:760px){
  .leaderboard-podium{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}
  .leader-desktop.leaderboard-table-card{display:none!important}
  .leader-mobile.leaderboard-mobile-list,.lb21-mobile-list{display:block!important}
  .leader-mobile .leader-row.lb21-row,
  .lb21-mobile-list .lb21-row{
    display:grid!important;
    grid-template-columns:30px 42px minmax(0,1fr) 58px!important;
    align-items:center!important;
    gap:8px!important;
    min-height:58px!important;
    height:auto!important;
    width:100%!important;
    max-width:100%!important;
    padding:8px 9px!important;
    margin:0 0 7px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    text-decoration:none!important;
    color:inherit!important;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;
    border:1px solid rgba(255,255,255,.085)!important;
    box-shadow:none!important;
  }
  .lb21-rank{width:26px!important;height:26px!important;min-width:26px!important;border-radius:9px!important;font-size:13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important}
  .lb21-avatar,
  .leader-mobile .lb21-row img,
  .lb21-mobile-list .lb21-row img{
    width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;min-height:40px!important;max-height:40px!important;
    aspect-ratio:1/1!important;object-fit:cover!important;border-radius:50%!important;margin:0!important;display:block!important;
    border:1px solid rgba(255,255,255,.14)!important;background:#15171d!important;
  }
  .lb21-main{display:block!important;min-width:0!important;overflow:hidden!important}
  .lb21-main b{display:block!important;font-size:13px!important;line-height:1.13!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important}
  .lb21-main small{display:block!important;font-size:9.3px!important;line-height:1.15!important;color:var(--muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:3px!important;max-width:100%!important}
  .lb21-score{display:grid!important;place-items:end!important;min-width:48px!important;margin:0!important;line-height:1!important}
  .lb21-score b{font-size:15px!important;line-height:1!important;color:#fff!important;font-weight:1000!important}
  .lb21-score small{font-size:8px!important;color:var(--muted)!important;text-transform:uppercase!important;letter-spacing:.25px!important;margin-top:3px!important}
  .leaderboard-rule{display:none!important}
  .leaderboard-mode-badge{font-size:9px!important;padding:6px 8px!important}
}
@media(max-width:380px){
  .leader-mobile .leader-row.lb21-row,.lb21-mobile-list .lb21-row{grid-template-columns:27px 36px minmax(0,1fr) 48px!important;gap:6px!important;padding:7px!important}
  .lb21-avatar,.leader-mobile .lb21-row img,.lb21-mobile-list .lb21-row img{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;min-height:36px!important;max-height:36px!important}
  .lb21-main b{font-size:12px!important}.lb21-main small{font-size:8.6px!important}.lb21-score b{font-size:13px!important}
}
@media(min-width:761px){.lb21-mobile-list{display:none!important}}
