:root{--bg:#07111f;--bg2:#0b1729;--card:#101f34;--card2:#132740;--ice:#58c8ff;--ice2:#bdeaff;--text:#f5f9ff;--muted:#9db0c7;--line:#223751;--live:#ef4444;--ok:#22c55e;--warn:#facc15;--shadow:0 16px 50px rgba(0,0,0,.25);--r:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 20% 0,#102b48 0,transparent 30%),var(--bg);color:var(--text);font:15px/1.55 Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%}.container{width:min(1180px,calc(100% - 28px));margin:auto}.topbar{background:#050b14;color:var(--muted);font-size:12px;padding:7px 0}.nav{position:sticky;top:0;z-index:50;background:rgba(7,17,31,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.navin{height:72px;display:flex;align-items:center;gap:22px}.brand{font-size:24px;font-weight:900;letter-spacing:-.7px}.brand span{color:var(--ice)}.menu{display:flex;gap:5px;flex:1}.menu a{padding:10px 12px;border-radius:10px;color:#ccdaea;font-weight:700}.menu a:hover,.menu a.active{background:var(--card);color:#fff}.navactions{display:flex;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:12px;padding:10px 15px;background:var(--ice);color:#03111e;font-weight:850;cursor:pointer}.btn.secondary{background:var(--card);color:#fff;border:1px solid var(--line)}.btn.live{background:var(--live);color:white}.btn.sm{padding:7px 10px;font-size:13px}.hero{padding:44px 0 26px}.hero-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:18px}.hero h1{font-size:clamp(35px,6vw,66px);line-height:.96;margin:0 0 16px;letter-spacing:-2.6px}.hero h1 span{color:var(--ice)}.hero p{color:var(--muted);font-size:17px;max-width:700px}.badge{display:inline-flex;gap:7px;align-items:center;border:1px solid #25415f;background:#0c1e32;color:var(--ice2);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.pulse{width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 5px rgba(239,68,68,.14)}.card{background:linear-gradient(180deg,var(--card2),var(--card));border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}.panel{padding:18px}.section{padding:20px 0}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title h2{font-size:22px;margin:0}.muted{color:var(--muted)}.games{display:grid;gap:10px}.game{display:grid;grid-template-columns:90px 1fr auto;gap:14px;align-items:center;padding:15px 16px;background:var(--card);border:1px solid var(--line);border-radius:15px}.game:hover{border-color:#31557a}.game-status{font-size:12px;font-weight:850;color:var(--muted)}.game-status.live{color:#ff7d7d}.teamline{display:flex;justify-content:space-between;gap:10px}.score{font-size:24px;font-weight:950;min-width:70px;text-align:right}.grid2{display:grid;grid-template-columns:2fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.standings{width:100%;border-collapse:collapse}.standings th,.standings td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left}.standings th{font-size:11px;color:var(--muted);text-transform:uppercase}.rank{font-weight:900;color:var(--ice)}.article-card{overflow:hidden}.article-cover{height:150px;background:linear-gradient(135deg,#0d365d,#15344f);display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:950;padding:15px;text-align:center}.article-body{padding:15px}.article-body h3{margin:0 0 8px;font-size:17px}.ticker{display:flex;gap:9px;overflow:auto;padding-bottom:4px}.ticker .mini{min-width:220px;padding:13px}.live-dot{color:var(--live)}.footer{margin-top:40px;border-top:1px solid var(--line);padding:30px 0;color:var(--muted)}.authwrap{min-height:72vh;display:grid;place-items:center;padding:40px 0}.auth{width:min(460px,100%);padding:24px}.field{display:grid;gap:6px;margin:12px 0}.field label{font-size:12px;font-weight:800;color:var(--muted)}input,select,textarea{width:100%;background:#071525;color:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 13px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--ice)}.alert{padding:11px 13px;border-radius:12px;margin:10px 0;background:#14233a;border:1px solid var(--line)}.alert.error{border-color:#6b2630;background:#27151a}.alert.ok{border-color:#1c5938;background:#10271c}.profilehead{display:flex;align-items:center;gap:16px}.avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#173452;font-weight:900;font-size:22px}.points{font-size:34px;font-weight:950;color:var(--ice)}.tip-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}.tip-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.pick{background:#09192a;border:1px solid var(--line);color:white;border-radius:10px;padding:9px 13px;cursor:pointer}.pick.selected{background:var(--ice);color:#05111d;border-color:var(--ice)}.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#06101d;border-right:1px solid var(--line);padding:20px;position:sticky;top:0;height:100vh}.sidebar .brand{display:block;margin-bottom:20px}.side-menu{display:grid;gap:5px}.side-menu a{padding:10px 12px;border-radius:10px;color:#c7d5e4;font-weight:700}.side-menu a:hover{background:var(--card)}.admin-main{padding:24px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.kpi{padding:17px}.kpi strong{display:block;font-size:28px}.tablewrap{overflow:auto}.admintable{width:100%;border-collapse:collapse}.admintable th,.admintable td{padding:10px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.admintable th{color:var(--muted);font-size:11px;text-transform:uppercase}.hamb{display:none}.mobilebar{display:none}@media(max-width:860px){.menu{display:none}.navin{height:62px}.hero-grid,.grid2{grid-template-columns:1fr}.grid3{grid-template-columns:1fr}.hero{padding-top:28px}.game{grid-template-columns:67px 1fr auto;padding:12px}.kpis{grid-template-columns:1fr 1fr}.admin-shell{grid-template-columns:1fr}.sidebar{display:none}.admin-main{padding:14px}.mobilebar{display:flex;padding:12px;background:#06101d;border-bottom:1px solid var(--line);justify-content:space-between}.hero h1{letter-spacing:-1.7px}.navactions .hide-mobile{display:none}}@media(max-width:520px){.container{width:min(100% - 20px,1180px)}.hero h1{font-size:42px}.game{grid-template-columns:56px 1fr auto;gap:8px}.score{font-size:20px;min-width:52px}.kpis{grid-template-columns:1fr}.tip-grid{grid-template-columns:1fr}.topbar{display:none}}
/* v1.1 */
.topbarin{display:flex;align-items:center;justify-content:space-between;gap:14px}.install-link{background:none;border:0;color:var(--ice);font:inherit;font-weight:800;cursor:pointer;padding:0}.hero-actions,.actions{display:flex;gap:9px;flex-wrap:wrap}.trustline{display:flex;gap:16px;flex-wrap:wrap;color:#b9cadb;font-size:13px;margin-top:16px}.tip-promo{padding:22px;position:relative;overflow:hidden}.tip-promo:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(88,200,255,.08);right:-60px;top:-60px}.promo-icon{font-size:42px;margin-bottom:10px}.tip-promo h2{font-size:28px;line-height:1.05;margin:15px 0 8px}.textlink{display:inline-block;color:var(--ice);font-weight:800;margin-top:13px}.eyebrow{display:block;color:var(--ice);font-size:10px;letter-spacing:.16em;font-weight:900;margin-bottom:2px}.home-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.72fr);gap:18px}.table-title{margin-top:22px}.leaderboard-mini>div,.leaderboard-side>div{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.leaderboard-mini .full{margin-top:14px}.full{width:100%}.empty-state{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.empty-state.compact{padding:5px 0}.game-teams{display:grid;gap:4px}.teamline span{font-weight:800}.article-cover img{width:100%;height:100%;object-fit:cover}.article-cover span strong{color:var(--ice)}.pagehero{padding:12px 0 22px}.pagehero h1,.tip-header h1{font-size:42px;margin:7px 0 3px;letter-spacing:-1.5px}.teamcards{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.teamcard{padding:16px;display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px}.teamcard:hover{border-color:#31557a;transform:translateY(-1px)}.teamcard h3{margin:0 0 3px}.teamlogo,.clublogo{display:grid;place-items:center;background:#071525;border:1px solid var(--line);border-radius:15px;overflow:hidden}.teamlogo{width:58px;height:58px;font-size:25px}.teamlogo img{width:44px;height:44px;object-fit:contain}.clubhero{padding:25px;display:flex;align-items:center;gap:20px;margin-bottom:22px}.clublogo{width:100px;height:100px;font-size:45px}.clublogo img{width:80px;height:80px;object-fit:contain}.clubhero h1{font-size:38px;margin:8px 0 0}.you{font-size:9px;background:var(--ice);color:#07111f;border-radius:99px;padding:3px 6px;font-weight:900}.profile-layout{display:grid;grid-template-columns:340px 1fr;gap:18px}.profilebox h1{margin:0}.points small{font-size:14px;color:var(--muted)}.tip-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px}.user-score{min-width:170px;padding:15px;display:grid}.user-score span{color:var(--muted);font-size:12px}.user-score strong{font-size:34px;color:var(--ice)}.user-score a{font-size:12px;color:var(--ice)}.tips-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.tip-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tip-card{padding:17px}.tip-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.tip-match{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;text-align:center;align-items:center;min-height:70px}.tip-match strong:first-child{text-align:right}.tip-match strong:last-child{text-align:left}.tip-match span{font-size:10px;color:var(--muted);font-weight:900}.tip-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tip-options label input{display:none}.tip-options label span{display:block;text-align:center;background:#081827;border:1px solid var(--line);border-radius:11px;padding:9px 5px;font-weight:950;cursor:pointer}.tip-options label span small{display:block;font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.tip-options label input:checked+span{background:var(--ice);border-color:var(--ice);color:#05111d}.tip-options label input:checked+span small{color:#18344a}.exact-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.exact-row>span{font-size:12px;font-weight:800}.exact-row>div{display:flex;align-items:center;gap:5px}.exact-row input{width:52px;padding:8px;text-align:center}.rules>div{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.rules>div strong{color:var(--ice)}.rules>div span{color:var(--muted);font-size:12px}.admin-label{font-size:10px;color:var(--ice);font-weight:900;letter-spacing:.16em;margin:8px 12px}.side-menu a.active{background:var(--card);color:#fff}.side-sep{height:1px;background:var(--line);margin:8px 5px}.admin-version{position:absolute;bottom:18px;left:31px;color:#5e738a;font-size:11px}.admin-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px}.admin-title h1{font-size:40px;margin:7px 0 0}.kpi{display:flex;flex-direction:column}.kpi small{color:#6f86a0}.admin-grid{display:grid;grid-template-columns:1.45fr .75fr;gap:14px}.admin-game{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.admin-game>div{display:grid}.admin-game span{font-size:12px;color:var(--muted)}.health>div{display:grid;grid-template-columns:13px 1fr auto;gap:9px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.healthdot{width:9px;height:9px;border-radius:50%;background:#6b7280}.healthdot.ok{background:var(--ok);box-shadow:0 0 0 4px rgba(34,197,94,.09)}.healthdot.off{background:#64748b}.status{display:inline-flex;border-radius:999px;padding:4px 8px;background:#17283c;font-size:10px;font-weight:900;text-transform:uppercase}.status-live{background:#451820;color:#ff9191}.status-finished{background:#12351f;color:#7ce69e}.status-scheduled{color:#b8cae0}.formwide{max-width:900px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.check{display:flex;gap:8px;align-items:center;color:var(--muted)}.check input{width:auto}.mobile-nav{display:none}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.footer-grid p{margin:2px 0}.footer-grid b{color:#fff}.footer-bottom{border-top:1px solid var(--line);margin-top:20px;padding-top:15px;font-size:12px}
@media(max-width:1000px){.teamcards{grid-template-columns:repeat(2,1fr)}.tip-list{grid-template-columns:1fr}.home-columns,.tips-layout{grid-template-columns:1fr}.profile-layout{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr}}
@media(max-width:860px){body{padding-bottom:70px}.mobile-nav{display:grid;position:fixed;z-index:100;left:0;right:0;bottom:0;grid-template-columns:repeat(5,1fr);height:64px;background:rgba(5,13,23,.97);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:18px;color:#9fb2c8}.mobile-nav a span{font-size:9px;font-weight:800}.mobile-nav .mobile-main{color:var(--ice)}.footer{margin-bottom:0}.teamcards{grid-template-columns:1fr}.tip-header{align-items:flex-start}.admin-title{align-items:flex-start}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:520px){.pagehero h1,.tip-header h1{font-size:35px}.tip-header{display:grid}.user-score{width:100%;grid-template-columns:1fr auto;align-items:center}.user-score a{grid-column:1/-1}.clubhero{padding:17px}.clublogo{width:75px;height:75px}.clublogo img{width:60px;height:60px}.clubhero h1{font-size:27px}.formgrid{grid-template-columns:1fr}.admin-title{display:grid}.actions{width:100%}.actions .btn{flex:1}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}

/* v1.3 */
.admintable td:first-child img{display:block}
.vip-lock{border:1px solid rgba(88,200,255,.25);background:linear-gradient(135deg,rgba(88,200,255,.08),rgba(255,255,255,.02))}

/* v1.4 matches + standings */
.game-team-list{display:grid;gap:7px}.game-team-row{display:flex;align-items:center;gap:10px;min-width:0}.game-team-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-logo{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;background:#071525;border:1px solid var(--line);border-radius:10px;overflow:hidden}.match-logo img{width:32px;height:32px;object-fit:contain}
.standings-full th:not(:nth-child(2)),.standings-full td:not(:nth-child(2)){text-align:center}.standings-full th:nth-child(2),.standings-full td:nth-child(2){text-align:left}.stand-team{display:flex;align-items:center;gap:10px;min-width:220px}.stand-logo{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;background:#071525;border:1px solid var(--line);border-radius:10px;overflow:hidden}.stand-logo img{width:32px;height:32px;object-fit:contain}.points-cell{font-size:17px;font-weight:950;color:var(--ice)}.positive{color:#6ee7a0}.negative{color:#ff8c96}.nowrap{white-space:nowrap}.table-legend{font-size:12px;margin:10px 4px}.table-legend b{color:#fff}
.admin-game-logo{padding:10px 0}.admin-match-clubs{display:grid;gap:5px}.admin-match-clubs>div{display:flex;align-items:center;gap:8px}.admin-club-logo{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;background:#071525;border:1px solid var(--line);border-radius:8px;overflow:hidden}.admin-club-logo img{width:25px;height:25px;object-fit:contain}
@media(max-width:700px){.standings-full th,.standings-full td{padding:9px 7px}.stand-team{min-width:190px}.stand-logo{width:32px;height:32px;flex-basis:32px}.stand-logo img{width:27px;height:27px}.match-logo{width:34px;height:34px;flex-basis:34px}.match-logo img{width:29px;height:29px}}

/* v1.5 - compact match cards */
.match-list{
    display:grid;
    gap:12px;
}
.match-card{
    display:grid;
    grid-template-columns:90px minmax(0,1fr) 90px;
    align-items:center;
    gap:18px;
    min-height:92px;
    padding:14px 18px;
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--card);
    color:inherit;
    text-decoration:none;
    overflow:hidden;
}
.match-card:hover{
    border-color:rgba(88,200,255,.55);
    transform:translateY(-1px);
}
.match-date{
    display:grid;
    gap:2px;
    font-size:12px;
    color:var(--muted);
    line-height:1.15;
}
.match-date strong{
    color:var(--ice);
    font-size:13px;
}
.match-clubs{
    display:grid;
    gap:8px;
    min-width:0;
}
.match-club{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}
.match-club strong{
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:15px;
}
.match-club-logo{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    max-width:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    flex:0 0 38px !important;
    display:grid !important;
    place-items:center !important;
    overflow:hidden !important;
    border-radius:10px;
    background:#071525;
    border:1px solid var(--line);
    padding:4px;
    box-sizing:border-box;
}
.match-club-logo img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:30px !important;
    max-height:30px !important;
    min-width:0 !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    margin:0 !important;
    padding:0 !important;
}
.match-result{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
}
.match-result strong{
    font-size:22px;
    letter-spacing:.02em;
}
.live-pill{
    background:#e83b4f;
    color:#fff;
    padding:4px 7px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
}

@media(max-width:700px){
    .match-card{
        grid-template-columns:58px minmax(0,1fr) 54px;
        gap:10px;
        min-height:84px;
        padding:12px;
    }
    .match-club-logo{
        width:32px !important;
        height:32px !important;
        min-width:32px !important;
        max-width:32px !important;
        min-height:32px !important;
        max-height:32px !important;
        flex-basis:32px !important;
    }
    .match-club-logo img{
        max-width:25px !important;
        max-height:25px !important;
    }
    .match-club strong{
        font-size:13px;
    }
    .match-result strong{
        font-size:18px;
    }
}

/* v1.5.1 hard reset for match cards */
.match-list .match-card{
    width:100% !important;
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns:90px minmax(0,1fr) 90px !important;
    align-items:center !important;
    gap:18px !important;
    min-height:92px !important;
    height:auto !important;
    padding:14px 18px !important;
    margin:0 !important;
    border:1px solid #24415e !important;
    border-radius:16px !important;
    background:#102944 !important;
    overflow:hidden !important;
}
.match-list .match-card img{
    width:30px !important;
    height:30px !important;
    max-width:30px !important;
    max-height:30px !important;
    object-fit:contain !important;
}
.match-list .match-club-logo{
    width:40px !important;height:40px !important;
    min-width:40px !important;max-width:40px !important;
    min-height:40px !important;max-height:40px !important;
    padding:4px !important;
    overflow:hidden !important;
}
@media(max-width:700px){
 .match-list .match-card{grid-template-columns:58px minmax(0,1fr) 54px !important;gap:10px !important;padding:12px !important}
 .match-list .match-card img{width:25px !important;height:25px !important;max-width:25px !important;max-height:25px !important}
 .match-list .match-club-logo{width:34px !important;height:34px !important;min-width:34px !important;max-width:34px !important;min-height:34px !important;max-height:34px !important}
}

/* v1.6 ticket for one current round */
.round-ticket{display:grid;gap:14px}.tip-game{padding:16px;display:grid;grid-template-columns:140px minmax(280px,1fr) auto auto;align-items:center;gap:18px}.tip-game-head{font-size:12px;color:var(--ice);font-weight:800}.tip-game-teams{display:grid;gap:7px}.tip-team{display:flex;align-items:center;gap:9px;min-width:0}.tip-team strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tip-team-logo{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;background:#071525;border:1px solid var(--line);border-radius:9px;padding:4px;box-sizing:border-box}.tip-team-logo img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;object-fit:contain!important}.tip-label{display:block;font-size:11px;color:var(--muted);font-weight:800;margin-bottom:7px}.tip-options-three{display:flex;gap:6px}.tip-options-three label span{min-width:42px;text-align:center}.exact-fields{display:flex;align-items:center;gap:6px}.exact-fields input{width:58px;text-align:center}.submit-round{display:flex;align-items:center;justify-content:space-between;gap:20px}.tip-locked{border-color:rgba(110,231,160,.35)}.points-info{margin-top:8px}
@media(max-width:900px){.tip-game{grid-template-columns:90px minmax(0,1fr) auto}.exact-pick{grid-column:2/4}.submit-round{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.tip-game{grid-template-columns:1fr;gap:12px}.tip-game-head,.tip-game-teams,.tip-choice,.exact-pick{grid-column:auto}.tip-options-three{width:100%}.tip-options-three label{flex:1}.tip-options-three label span{display:block;width:100%;box-sizing:border-box}.submit-round .btn{width:100%}}

/* v1.7 PWA shell */
.app-header{position:sticky;top:0;z-index:80;background:#07111f}
.app-meta{background:#030b14;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px}
.app-meta-inner{height:32px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.today-info{display:flex;align-items:center;gap:7px;color:#b7cee4;white-space:nowrap;overflow:hidden}
.today-info strong{color:#58c8ff;font-variant-numeric:tabular-nums}.meta-sep{opacity:.35}.nameday-inline{overflow:hidden;text-overflow:ellipsis}.nameday-prefix{opacity:.7}
.sticky-main-nav{position:relative}.fixed-brand{flex:0 0 auto}.desktop-live-dot,.live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#27d980;box-shadow:0 0 0 3px rgba(39,217,128,.14);margin-left:6px;vertical-align:middle}
.nameday-source{position:fixed;left:-10000px;top:-10000px;width:1px;height:1px;overflow:hidden}

.mobile-nav-v17{z-index:100}.mobile-nav-v17 a,.mobile-nav-v17 button{position:relative}.mobile-nav-v17 button{border:0;background:none;color:inherit;font:inherit}
.mobile-nav-v17 .micon{position:relative;display:block;font-size:20px;line-height:22px}.mobile-live-dot{position:absolute;right:-7px;top:-2px;width:7px;height:7px;margin:0}
.mobile-nav-v17 .active{color:#58c8ff}
.mobile-menu-button{cursor:pointer}

.mobile-drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.58);z-index:115;backdrop-filter:blur(2px)}
.mobile-drawer{position:fixed;left:0;right:0;bottom:0;z-index:120;background:#0a1929;border:1px solid #24415e;border-bottom:0;border-radius:22px 22px 0 0;transform:translateY(105%);transition:transform .22s ease;max-height:82vh;overflow:auto;padding-bottom:calc(22px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px rgba(0,0,0,.38)}
.mobile-drawer.open{transform:translateY(0)}.drawer-open{overflow:hidden}.drawer-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:17px 18px;background:#0a1929;border-bottom:1px solid #183550}.drawer-close{width:38px;height:38px;border:1px solid #2b4965;background:#102944;color:#fff;border-radius:12px;font-size:25px}.drawer-today{display:flex;gap:12px;align-items:center;padding:12px 18px;color:#8eabc4}.drawer-today strong{color:#58c8ff;font-size:20px}.drawer-links{display:grid;padding:5px 12px}.drawer-links a{padding:14px 12px;border-bottom:1px solid rgba(255,255,255,.06);font-weight:750}.drawer-sep{height:12px}
.auth-alt{margin-top:16px}.admin-auth .brand{display:block;margin-bottom:18px}
.legal-page{max-width:980px}.legal-card h2{margin-top:28px}.legal-card h2:first-child{margin-top:0}.legal-card p{line-height:1.7}

@media(max-width:780px){
 body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 .app-header{position:sticky;top:0}
 .app-meta-inner{height:30px;padding-left:14px;padding-right:14px}
 .today-info{font-size:11px;max-width:100%}
 .nameday-inline{max-width:175px}
 .nav{height:58px}.navin{height:58px}.nav .menu,.nav .navactions{display:none!important}
 .fixed-brand{font-size:21px}
 .navin{justify-content:flex-start}
 .footer{padding-bottom:90px}
}
@media(min-width:781px){
 .mobile-drawer,.mobile-drawer-backdrop{display:none!important}
}

/* v1.8 users admin */
.user-admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}
.user-edit-form{position:sticky;top:18px}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.inline-form{display:inline;margin:0}.tiny{font-size:10px}.role-badge{display:inline-flex;padding:4px 7px;border-radius:999px;background:#0b2034;border:1px solid #284763;font-size:10px;font-weight:900;text-transform:uppercase}.role-superadmin{color:#ffd76e}.role-admin{color:#9ddcff}.role-visitor{color:#c1d2df}.vip-text{color:#ffd76e;font-size:12px}.form-actions{display:flex;gap:8px;flex-wrap:wrap}.danger-zone{margin-top:18px;padding:16px;border:1px solid rgba(255,81,96,.34);border-radius:16px;background:rgba(255,81,96,.05);display:flex;align-items:center;gap:12px}.btn.danger{background:#9d2431;color:#fff}.btn.danger:hover{background:#bc2c3b}
@media(max-width:1100px){.user-admin-grid{grid-template-columns:1fr}.user-edit-form{position:static}}

/* v1.9 Superadmin footer + 2FA */
.admin-side-footer{margin-top:auto!important;padding:16px 12px 18px;border-top:1px solid #20384f;display:grid;gap:7px;flex:0 0 auto}
.admin-side-footer a{display:block;padding:8px 7px;border-radius:8px;font-weight:750;font-size:13px}
.admin-side-footer a:hover{background:#102944}.admin-side-footer .admin-logout{color:#ff9da6}.admin-side-footer span{display:block;padding:4px 7px 0;color:#55748f;font-size:10px}
.sidebar,.admin-sidebar,aside.sidebar{display:flex!important;flex-direction:column!important;min-height:100vh}
.twofa-secret{margin:18px 0;padding:14px;border:1px solid #2c506f;background:#081726;border-radius:13px;display:grid;gap:7px}.twofa-secret span{font-size:11px;color:#89a8c3;text-transform:uppercase;font-weight:800}.twofa-secret strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:17px;letter-spacing:1.2px;word-break:break-all;color:#5bd0ff}.otp-input{text-align:center!important;font-size:28px!important;letter-spacing:8px!important;font-weight:900!important;font-variant-numeric:tabular-nums}.twofa-uri{margin:12px 0 18px;color:#89a8c3}.twofa-uri code{display:block;margin-top:8px;white-space:normal;word-break:break-all;color:#c7e7ff}

/* v2.0 community */
.user-chip{display:inline-flex!important;align-items:center;gap:7px}.user-chip img{width:24px!important;height:24px!important;border-radius:50%;object-fit:cover}
.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.profile-head{display:flex;align-items:center;gap:18px;margin-bottom:22px}.profile-avatar{width:92px!important;height:92px!important;border-radius:24px;object-fit:cover;border:1px solid #2b4a65;background:#071525}
.live-chat-card{margin-top:20px}.live-chat-status{font-size:11px;color:#6ee7a0}.chat-messages{height:420px;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:8px 2px 14px}.chat-message{display:flex;align-items:flex-start;gap:9px}.chat-avatar{width:38px!important;height:38px!important;flex:0 0 38px;border-radius:50%;object-fit:cover;background:#071525}.chat-bubble{min-width:0;max-width:min(760px,88%);background:#0b2034;border:1px solid #213f59;border-radius:4px 14px 14px 14px;padding:9px 11px}.chat-meta{display:flex;gap:10px;align-items:center;margin-bottom:4px}.chat-meta strong{font-size:13px;color:#fff}.chat-meta span{font-size:10px;color:#7694ad}.chat-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.42}.chat-reply-btn{border:0;background:none;padding:6px 0 0;color:#58c8ff;font-size:11px;font-weight:800;cursor:pointer}.chat-quote{font-size:11px;color:#91abc0;border-left:2px solid #58c8ff;padding-left:7px;margin-bottom:6px}.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.chat-compose textarea{resize:none;min-height:52px}.chat-reply-bar{display:flex;align-items:center;justify-content:space-between;background:#0a1929;border:1px solid #24415e;border-radius:10px;padding:7px 10px;margin-bottom:7px;font-size:12px}.chat-reply-bar button{border:0;background:none;color:#fff;font-size:20px}.chat-login{text-align:center;padding:12px}
@media(max-width:800px){.profile-grid{grid-template-columns:1fr}.chat-messages{height:360px}.chat-bubble{max-width:calc(100% - 47px)}.chat-compose{grid-template-columns:1fr}.chat-compose .btn{width:100%}}

/* v2.0.1 */
.security-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}
.twofa-qr{width:244px;min-height:244px;margin:18px auto;padding:12px;background:#fff;border-radius:18px;display:grid;place-items:center}
.twofa-qr img,.twofa-qr canvas{display:block!important;max-width:220px!important;max-height:220px!important}
.security-enabled{display:flex;align-items:center;gap:16px}.security-ok{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(39,217,128,.12);border:1px solid rgba(39,217,128,.35);font-size:28px;color:#27d980}
.danger-zone-form{margin-top:18px;border-color:rgba(255,81,96,.3)}
@media(max-width:850px){.security-grid{grid-template-columns:1fr}.twofa-qr{width:224px;min-height:224px}.twofa-qr img,.twofa-qr canvas{max-width:200px!important;max-height:200px!important}}

/* v2.0.4 chat hotfix */
.chat-error{margin:8px 0;padding:9px 11px;border-radius:10px;background:rgba(255,77,91,.1);border:1px solid rgba(255,77,91,.35);color:#ff9ea7;font-size:12px}
.chat-status-error{color:#ff9ea7!important}
.chat-compose button:disabled{opacity:.6;cursor:not-allowed}
.chat-compose textarea{line-height:1.4}

/* v2.1 community */
.user-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.mini-stat{padding:16px}.mini-stat b{display:block;font-size:25px}.mini-stat span{color:#829db5;font-size:12px}.test-user-tools{margin-bottom:16px}.test-actions{display:flex;gap:10px;flex-wrap:wrap}.test-actions form{display:flex;gap:8px}.test-actions input{width:90px}.user-filters{display:flex;align-items:end;gap:10px;margin-bottom:16px}.user-filters .field{margin:0;min-width:180px}.test-badge,.real-badge{font-size:9px;font-weight:900;padding:4px 7px;border-radius:20px}.test-badge{background:#2c233d;color:#c6a6ff}.real-badge{background:#123629;color:#79e8ae}.user-team{display:inline-flex;align-items:center;gap:6px}.user-team img,.chat-team-logo{width:22px!important;height:22px!important;object-fit:contain}.chat-team-logo{margin-left:2px}.check-row{display:flex;gap:8px;align-items:center;margin:12px 0}
@media(max-width:700px){.user-stats{grid-template-columns:repeat(3,1fr)}.user-filters{display:grid;grid-template-columns:1fr}.test-actions,.test-actions form{display:grid;grid-template-columns:1fr;width:100%}.test-actions input{width:100%}}

/* v2.1.1 online + fan community */
.app-meta-inner{justify-content:flex-start!important}.header-online{margin-left:auto;display:flex;align-items:center;gap:5px;color:#8da8bf;font-size:11px;white-space:nowrap}.header-online strong{color:#d8efff}.online-dot{width:7px;height:7px;border-radius:50%;background:#27d980;box-shadow:0 0 0 3px rgba(39,217,128,.12)}
@media(max-width:780px){.header-online{font-size:10px}.header-online .online-dot{width:6px;height:6px}.nameday-inline{max-width:120px}}

/* v2.2.0 homepage */
.home-feed{padding-top:4px}.home-block{padding-top:30px;padding-bottom:12px}.section-subtitle{margin:5px 0 0}.live-eyebrow{display:flex;align-items:center;gap:7px}.home-match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-match{padding:16px;text-decoration:none;color:inherit}.live-home-match{border-color:rgba(39,217,128,.32)}.home-match-top{display:flex;align-items:center;justify-content:space-between;color:#83a1ba;font-size:11px;margin-bottom:12px}.home-club{display:grid;grid-template-columns:40px minmax(0,1fr) 32px;align-items:center;gap:9px;padding:5px 0}.home-club strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-club b{text-align:right;font-size:23px}.home-club-logo,.mini-logo,.result-logo,.table-team-logo{display:grid;place-items:center;background:#071525;border:1px solid #24415e;overflow:hidden}.home-club-logo{width:40px;height:40px;border-radius:10px}.home-club-logo img{width:32px!important;height:32px!important;object-fit:contain}.home-match-link{display:block;color:#58c8ff;font-size:11px;font-weight:800;margin-top:10px}.live-empty{display:flex!important;align-items:center;gap:16px;min-height:104px;border-color:rgba(88,200,255,.18)}.live-empty h3{margin:0 0 5px}.live-empty p{margin:0}.live-empty-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:#08192b;font-size:25px;flex:0 0 54px}

.next-round-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.next-game{display:grid;grid-template-columns:58px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:13px 14px;color:inherit;text-decoration:none}.next-game-date{display:grid;gap:1px;color:#58c8ff;font-size:11px}.next-game-date strong{font-size:14px}.next-game-clubs{display:grid;gap:6px;min-width:0}.next-game-clubs>div{display:flex;align-items:center;gap:8px;min-width:0}.next-game-clubs strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.mini-logo{width:30px;height:30px;border-radius:8px;flex:0 0 30px}.mini-logo img{width:24px!important;height:24px!important;object-fit:contain}.next-game-arrow{color:#58c8ff;text-align:right}

.arena-news-grid{display:grid;grid-template-columns:1.35fr .8fr .8fr;gap:12px}.arena-article{overflow:hidden;color:inherit;text-decoration:none;display:flex;flex-direction:column}.arena-article:nth-child(4){grid-column:2/4;display:grid;grid-template-columns:210px 1fr}.arena-cover{height:148px;background:#071525;overflow:hidden}.arena-article.featured .arena-cover{height:270px}.arena-cover img{width:100%!important;height:100%!important;object-fit:cover!important}.arena-placeholder{height:100%;display:grid;place-items:center;align-content:center;background:linear-gradient(145deg,#0a1c30,#133858);font-size:22px;letter-spacing:1px}.arena-placeholder strong{color:#58c8ff}.arena-copy{padding:15px}.arena-copy h3{margin:5px 0 8px;font-size:18px;line-height:1.22}.arena-article.featured .arena-copy h3{font-size:25px}.arena-copy p{margin:0 0 12px;color:#94adc2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.arena-copy>span{color:#58c8ff;font-size:11px;font-weight:850}.article-meta{font-size:10px;color:#708fa9;text-transform:uppercase;font-weight:800}

.last-round-card{padding:4px 16px!important}.result-row{display:grid;grid-template-columns:50px minmax(160px,1fr) 80px minmax(160px,1fr) 20px;align-items:center;gap:12px;padding:11px 0;color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.07)}.result-row:last-child{border-bottom:0}.result-date{font-size:11px;color:#7796af}.result-team{display:flex;align-items:center;gap:8px;min-width:0}.result-team strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-team.away{justify-content:flex-end;text-align:right}.result-logo{width:34px;height:34px;border-radius:9px;flex:0 0 34px}.result-logo img{width:27px!important;height:27px!important;object-fit:contain}.result-score{display:flex;justify-content:center;align-items:center;gap:8px;font-size:19px}.result-score span{color:#7190aa}.result-arrow{color:#58c8ff}

.home-table-card{padding:8px 18px 14px!important}.home-standings td,.home-standings th{vertical-align:middle}.home-table-team{display:flex;align-items:center;gap:10px}.table-team-logo{width:35px;height:35px;border-radius:9px;flex:0 0 35px}.table-team-logo img{width:28px!important;height:28px!important;object-fit:contain}.home-table-more{display:block;text-align:center;padding:14px 8px 4px;color:#58c8ff;font-weight:850;font-size:12px;border-top:1px solid rgba(255,255,255,.06);margin-top:5px}

@media(max-width:980px){
 .arena-news-grid{grid-template-columns:1fr 1fr}.arena-article.featured{grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1fr}.arena-article.featured .arena-cover{height:100%;min-height:230px}.arena-article:nth-child(4){grid-column:auto;display:flex}.arena-article:nth-child(4) .arena-cover{height:148px}
}
@media(max-width:760px){
 .home-block{padding-top:22px}.home-match-grid,.next-round-grid{grid-template-columns:1fr}.live-empty{align-items:flex-start}.arena-news-grid{grid-template-columns:1fr}.arena-article,.arena-article.featured,.arena-article:nth-child(4){grid-column:auto;display:flex}.arena-article.featured .arena-cover,.arena-article:nth-child(4) .arena-cover,.arena-cover{height:190px;min-height:0}.arena-article.featured .arena-copy h3{font-size:20px}
 .result-row{grid-template-columns:34px minmax(0,1fr) 58px;gap:7px}.result-team.away{grid-column:2;grid-row:2;justify-content:flex-start;text-align:left;flex-direction:row-reverse}.result-score{grid-column:3;grid-row:1/3;align-self:center}.result-arrow{display:none}.result-date{grid-row:1/3}.result-logo{width:30px;height:30px;flex-basis:30px}.result-logo img{width:24px!important;height:24px!important}.result-team strong{font-size:12px}
 .home-standings th:nth-child(4),.home-standings td:nth-child(4),.home-standings th:nth-child(5),.home-standings td:nth-child(5){display:none}.home-table-card{overflow-x:hidden}
}

/* v2.3 AI editorial */
.ai-admin-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:16px}.ai-source-input{display:grid;gap:7px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07)}.ai-source-input input,.ai-source-input textarea{width:100%}.source-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.source-row small{display:block;color:#7896af;margin-top:3px}.source-add{display:grid;gap:7px;margin-top:14px}.job-row{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06)}.job-row span{font-size:10px;color:#7896af}.ai-preview{margin-top:16px}.ai-preview .article-body{line-height:1.7}.ai-preview .article-body h2{margin-top:24px}@media(max-width:900px){.ai-admin-grid{grid-template-columns:1fr}}

/* v2.3.2 news page */
.news-page{padding-top:34px;padding-bottom:50px}.news-heading{padding:10px 0 24px}.news-heading h1{font-size:44px;margin:5px 0 8px}.news-heading p{margin:0;color:#9ab3c8}.news-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}.news-lead-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:12px}.news-lead-card,.news-small-card{overflow:hidden}.news-card-link{display:block;color:inherit;text-decoration:none;height:100%}.news-lead-image{height:420px;background:#071525}.news-lead-image img,.news-small-image img{width:100%!important;height:100%!important;object-fit:cover}.news-lead-copy{padding:18px 20px 21px}.news-lead-copy h2{font-size:30px;line-height:1.12;margin:7px 0 10px}.news-lead-copy p{margin:0 0 14px;color:#9db3c6;line-height:1.5}.news-side-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px}.news-small-card{min-width:0}.news-small-image{height:150px;background:#071525}.news-small-copy{padding:12px}.news-small-copy h3{font-size:15px;line-height:1.22;margin:6px 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.news-category{font-size:10px;color:#58c8ff;text-transform:uppercase;font-weight:900;letter-spacing:.4px}.news-meta{font-size:10px;color:#7592aa}.news-sidebar{display:grid;gap:14px;position:sticky;top:92px}.news-categories{display:grid;margin-top:8px}.news-categories a{display:flex;align-items:center;justify-content:space-between;padding:12px 2px;border-bottom:1px solid rgba(255,255,255,.08);font-weight:800;color:#f4f8fb}.news-categories a.active{color:#58c8ff}.news-sidebar-box p{line-height:1.5}.news-latest{padding-top:30px}.news-empty-note{display:grid!important;gap:5px}.news-list{display:grid;gap:10px}.news-list-item{display:grid;grid-template-columns:180px 1fr;gap:14px;padding:10px!important}.news-list-item img{width:180px!important;height:110px!important;object-fit:cover;border-radius:10px}.news-list-item h3{margin:5px 0 7px}.news-list-item p{margin:0 0 8px;color:#93acc0}
@media(max-width:1050px){.news-layout{grid-template-columns:1fr}.news-sidebar{position:static;grid-template-columns:1fr 1fr}.news-lead-image{height:350px}}
@media(max-width:760px){.news-page{padding-top:20px}.news-heading h1{font-size:34px}.news-lead-grid{grid-template-columns:1fr}.news-lead-image{height:240px}.news-lead-copy h2{font-size:23px}.news-side-grid{grid-template-columns:1fr 1fr}.news-small-image{height:120px}.news-sidebar{grid-template-columns:1fr}.news-list-item{grid-template-columns:100px 1fr}.news-list-item img{width:100px!important;height:82px!important}.news-list-item p{display:none}}
@media(max-width:480px){.news-side-grid{grid-template-columns:1fr}.news-small-card .news-card-link{display:grid;grid-template-columns:115px 1fr}.news-small-image{height:100%;min-height:105px}.news-small-copy h3{font-size:14px}}

/* v2.3.3 clickable news */
.news-card-link{cursor:pointer}.news-lead-card:hover,.news-small-card:hover{transform:translateY(-2px);border-color:#315779;transition:.18s ease}.article-page{padding-top:42px;padding-bottom:55px}.article-shell{max-width:900px;margin:0 auto}.article-top{max-width:820px;margin:0 auto 22px}.article-back{display:inline-block;margin-bottom:18px;color:#8aa9c2;font-size:12px;font-weight:800}.article-top h1{font-size:clamp(34px,5vw,58px);line-height:1.04;margin:8px 0 14px}.article-perex{font-size:19px;line-height:1.55;color:#a8bdcf;margin:0 0 14px}.article-byline{font-size:11px;color:#7694ad}.article-cover{border-radius:20px;overflow:hidden;border:1px solid #25445f;margin:22px 0}.article-cover img{display:block;width:100%!important;height:auto!important;aspect-ratio:1200/700;object-fit:cover}.article-content{font-size:17px;line-height:1.75;padding:28px!important}.article-content p{margin:0 0 20px}.article-content p:last-child{margin-bottom:0}.article-footer-links{margin-top:18px}
@media(max-width:700px){.article-page{padding-top:26px}.article-top h1{font-size:35px}.article-perex{font-size:17px}.article-content{font-size:16px;padding:18px!important}}

/* ===============================
   SuperPortal v2.4 STRONG
================================ */
.page-top-fix{padding-top:34px}.page-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.page-tabs a{display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border-radius:11px;border:1px solid #24415e;background:#0c2034;color:#9db4c7;font-size:12px;font-weight:900}.page-tabs a.active{background:#163452;color:#fff;border-color:#315b7f}
.match-center{padding-top:34px;padding-bottom:45px}.match-center-head{padding:18px 25px 25px}.match-center-meta{display:flex;align-items:center;justify-content:center;gap:10px;color:#829db4;font-size:11px}.match-center-score{display:grid;grid-template-columns:minmax(0,1fr) 170px minmax(0,1fr);gap:20px;align-items:center;margin-top:20px}.match-center-team{display:flex;align-items:center;justify-content:center;gap:14px;color:#fff;font-size:19px;text-align:center}.match-center-team:first-child{flex-direction:row}.match-center-team:last-child{flex-direction:row-reverse}.match-big-logo{width:92px;height:92px;border-radius:22px;display:grid;place-items:center;background:#071525;border:1px solid #274761}.match-big-logo img{max-width:76px!important;max-height:76px!important;object-fit:contain}.match-big-score{text-align:center}.match-big-score b{font-size:55px}.match-big-score span{font-size:32px;color:#6f8da5;margin:0 8px}.match-big-score small{display:block;color:#829db4;margin-top:3px}.period-score{display:flex;justify-content:center;gap:22px;margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07);font-size:11px;color:#839fb6}.period-score b{color:#fff}.match-center-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.match-info-list{display:grid}.match-info-list>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.match-info-list span{color:#819db5}.my-match-tip{display:flex;align-items:center;gap:14px}.my-match-tip>strong{width:56px;height:56px;border-radius:14px;background:#58c8ff;color:#07111f;display:grid;place-items:center;font-size:27px}.my-match-tip div{display:grid;gap:3px}.my-match-tip span{color:#829db4;font-size:11px}
.team-hero-pro{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:20px}.team-hero-side{text-align:right;display:grid;justify-items:end;gap:12px}.team-position{display:grid;text-align:center}.team-position b{font-size:42px;color:#58c8ff}.team-position span,.team-position small{color:#829db4}.team-form{display:flex;gap:6px;align-items:center}.team-form span{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;font-size:11px;font-weight:950}.team-form .win{background:#123d2d;color:#7df0ae}.team-form .loss{background:#46212a;color:#ff9baa}.team-form .draw{background:#3b3420;color:#ffe18c}.team-content-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.compact-games .game{min-height:72px}
.profile-hero{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:18px}.profile-team{display:flex;align-items:center;gap:7px;color:#91abc0}.profile-team img{width:26px!important;height:26px!important;object-fit:contain}.profile-rank{text-align:center}.profile-rank b{display:block;font-size:38px;color:#58c8ff}.profile-rank span{font-size:11px;color:#829db4}.profile-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 18px}.profile-tip-history{display:grid}.profile-tip-history>div{display:grid;grid-template-columns:45px 1fr auto auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:12px}.profile-tip-history span{color:#7896ae}.profile-tip-history em{font-style:normal;font-weight:900}.profile-tip-history em.plus{color:#67e6a1}.profile-tip-history em.minus{color:#ff8592}
.home-leaders{padding:5px 16px!important}.home-leader{display:grid;grid-template-columns:30px 42px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}.home-leader:last-child{border-bottom:0}.home-leader>img{width:38px!important;height:38px!important;border-radius:50%;object-fit:cover}.home-leader>div{display:grid}.home-leader>div span{display:flex;align-items:center;gap:5px;color:#7f9bb2;font-size:10px}.home-leader>div span img{width:20px!important;height:20px!important;object-fit:contain}.home-leader em{font-style:normal;font-weight:950;color:#58c8ff}.vip-mini{font-size:8px;padding:2px 5px;border-radius:7px;background:#f2c94c;color:#07111f;margin-left:3px}
.article-admin-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:16px;align-items:start}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sticky-save{position:sticky;bottom:14px;display:flex;justify-content:flex-end;padding-top:14px}.mini-results{margin-top:12px;font-size:11px}.mini-results>div{padding:6px 0;border-bottom:1px solid rgba(255,255,255,.06)}.vip-hero{text-align:center;padding:34px!important}.vip-hero h1{font-size:clamp(31px,5vw,50px);max-width:850px;margin:10px auto}.vip-hero p{max-width:760px;margin:0 auto 18px;color:#96afc3;font-size:17px;line-height:1.55}.vip-price{font-size:28px;font-weight:950;margin:15px}.vip-tip-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.vip-match{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:13px}.vip-match span{display:flex;align-items:center;gap:6px}.vip-match img{width:32px!important;height:32px!important;object-fit:contain}.vip-blur{margin-top:12px;padding:18px;border-radius:12px;background:#0a1b2c;color:#718da4;filter:none}
@media(max-width:850px){.match-center-score{grid-template-columns:1fr 100px 1fr}.match-big-logo{width:68px;height:68px}.match-big-logo img{max-width:55px!important;max-height:55px!important}.match-center-team{display:grid;font-size:13px}.match-center-team:last-child{display:grid}.match-big-score b{font-size:39px}.match-center-grid,.team-content-grid,.article-admin-grid,.settings-grid,.vip-tip-grid{grid-template-columns:1fr}.team-hero-pro{grid-template-columns:auto 1fr}.team-hero-side{grid-column:1/-1;justify-items:start;text-align:left;display:flex;align-items:center;justify-content:space-between}.profile-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.match-center-head{padding:14px}.match-center-score{gap:7px}.match-big-logo{width:56px;height:56px;border-radius:15px}.match-big-logo img{max-width:47px!important;max-height:47px!important}.match-center-team strong{font-size:11px}.match-big-score b{font-size:32px}.match-big-score span{font-size:22px;margin:0 4px}.period-score{gap:8px;flex-wrap:wrap}.profile-hero{grid-template-columns:auto 1fr}.profile-rank{grid-column:1/-1;text-align:left;display:flex;gap:7px;align-items:center}.profile-rank b{font-size:24px}.profile-tip-history>div{grid-template-columns:35px 1fr auto}.profile-tip-history em{grid-column:2/4}.team-hero-pro{grid-template-columns:1fr;text-align:center}.team-hero-pro .clublogo{margin:auto}.team-hero-side{display:grid;justify-items:center;justify-content:center}.team-form{justify-content:center}}

/* v2.5 AUTH + SMTP */
.auth-help-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:-4px 0 15px}.auth-help-row a{font-size:11px;font-weight:800;color:#58c8ff}.field-hint{display:block;margin-top:6px;color:#718da5;font-size:10px}.smtp-card{grid-column:1/-1}.smtp-test-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}.smtp-test-row input{width:100%}
@media(max-width:620px){.auth-help-row{display:grid}.smtp-test-row{grid-template-columns:1fr}.smtp-card .grid2{grid-template-columns:1fr}}

/* v2.6 profile toggles + email templates */
.notification-toggle-list{display:grid;gap:9px;margin:10px 0 18px}.notification-toggle-row{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid #274660;border-radius:13px;background:#0a1a2b;cursor:pointer}.notification-toggle-row>div{display:grid;gap:3px}.notification-toggle-row strong{font-size:13px}.notification-toggle-row>div span{font-size:10px;color:#7896ae;line-height:1.35}.ha-switch{position:relative;width:82px;height:34px;border-radius:18px;background:#24364a;flex:0 0 82px;display:block;transition:.2s}.ha-switch input{position:absolute;opacity:0;pointer-events:none}.ha-switch i{position:absolute;left:4px;top:4px;width:26px;height:26px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.25)}.ha-switch b{position:absolute;top:9px;font-size:9px;font-weight:950;letter-spacing:.4px}.ha-switch .switch-on{left:10px;color:#06111e;opacity:0}.ha-switch .switch-off{right:9px;color:#a9bdcc}.ha-switch:has(input:checked){background:#58c8ff}.ha-switch:has(input:checked) i{left:52px}.ha-switch:has(input:checked) .switch-on{opacity:1}.ha-switch:has(input:checked) .switch-off{opacity:0}
.email-admin-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;align-items:start}.email-template-list{position:sticky;top:20px}.email-template-list>a{display:grid;gap:3px;padding:11px 10px;border-bottom:1px solid rgba(255,255,255,.06);color:#d8e7f2}.email-template-list>a.active{color:#58c8ff;background:#0a1b2d;border-radius:9px}.email-template-list>a span{font-size:9px;color:#708da5}.email-vars{padding:10px 12px;background:#071727;border:1px solid #24425d;border-radius:10px;color:#88a7bf;font-size:11px;margin-bottom:12px}.email-editor-actions{display:flex;gap:9px;flex-wrap:wrap}.email-preview-panel{margin-top:15px}.email-preview-frame{display:block;width:100%;height:720px;border:0;border-radius:14px;background:#07111f}.smtp-head-actions{display:flex;justify-content:flex-end;margin-bottom:8px}
@media(max-width:900px){.email-admin-layout{grid-template-columns:1fr}.email-template-list{position:static}.email-template-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.email-preview-frame{height:650px}}
@media(max-width:620px){.notification-toggle-row{padding:12px 11px}.notification-toggle-row>div span{max-width:210px}.email-template-list{grid-template-columns:1fr}.email-preview-frame{height:600px}}

/* v2.7 email automation */
.automation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.automation-card{min-height:180px}.automation-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.automation-row h2{margin:4px 0 6px}.automation-row p{margin:0;color:#839fb5;line-height:1.45;font-size:12px;max-width:520px}.cron-box{margin-top:18px}.cron-code{background:#061421;border:1px solid #24435e;border-radius:11px;padding:12px;overflow:auto;margin:8px 0 12px}.cron-code code{color:#86dbff;white-space:nowrap}.inline-form{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.automation-log-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.automation-result{margin-bottom:14px}
@media(max-width:850px){.automation-grid,.automation-log-grid{grid-template-columns:1fr}}

/* v2.8 WordPress-like article editor */
.wp-article-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.72fr);gap:18px;align-items:start}.article-editor-column{min-width:0}.article-list-column{min-width:0;position:sticky;top:20px}.article-list-panel{padding:15px!important}.article-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.article-list-head h2{margin:0}.article-list-head>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#071525;color:#58c8ff;font-weight:900}.article-admin-search{margin-bottom:8px}.article-admin-list{display:grid;gap:7px}.article-admin-item{display:grid;grid-template-columns:54px minmax(0,1fr) 34px;gap:9px;align-items:center;padding:8px;border:1px solid transparent;border-radius:12px}.article-admin-item:hover,.article-admin-item.active{background:#0b1d30;border-color:#294966}.article-admin-thumb{width:54px;height:48px;border-radius:9px;background:#071525;overflow:hidden;display:grid;place-items:center}.article-admin-thumb img{width:100%!important;height:100%!important;object-fit:cover}.article-admin-copy{display:grid;min-width:0}.article-admin-copy strong{font-size:12px;line-height:1.25;white-space:normal}.article-admin-copy span,.article-admin-copy small{font-size:9px;color:#7895ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.article-admin-state{font-size:8px;font-weight:950;text-align:center;padding:4px 3px;border-radius:7px}.article-admin-state.published{background:#123d2d;color:#74eba9}.article-admin-state.draft{background:#392f18;color:#ffe08a}.article-meta-grid{display:grid;grid-template-columns:1fr 180px;gap:10px}
.editor-shell{border:1px solid #294760;border-radius:14px;background:#fff;overflow:hidden}.editor-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px;background:#0a1a2b;border-bottom:1px solid #294760}.editor-toolbar button,.editor-toolbar select{width:auto;min-height:32px;padding:5px 8px;border-radius:7px;background:#132a43;color:#eaf5fc;border:1px solid #2b4b66;font-size:11px;cursor:pointer}.editor-toolbar button:hover,.editor-toolbar button.active{background:#58c8ff;color:#06111e}.editor-block-select{min-width:100px}.toolbar-sep{width:1px;height:24px;background:#34516a;margin:0 2px}.toolbar-right{margin-left:auto}.visual-editor{min-height:500px;padding:24px 28px;background:#fff;color:#18212a;outline:none;font-family:Georgia,serif;font-size:17px;line-height:1.7}.visual-editor p{margin:0 0 18px}.visual-editor h1,.visual-editor h2,.visual-editor h3,.visual-editor h4,.visual-editor h5,.visual-editor h6{font-family:Inter,Arial,sans-serif;color:#07111f;line-height:1.15;margin:28px 0 12px}.visual-editor h1{font-size:36px}.visual-editor h2{font-size:29px}.visual-editor h3{font-size:24px}.visual-editor h4{font-size:20px}.visual-editor h5{font-size:17px}.visual-editor h6{font-size:15px;text-transform:uppercase}.visual-editor a{color:#087db5;text-decoration:underline}.visual-editor blockquote{border-left:4px solid #58c8ff;margin:20px 0;padding:10px 18px;background:#eef8fd;color:#294452}.visual-editor figure{margin:24px 0}.visual-editor figure img{display:block;max-width:100%;height:auto}.visual-editor figcaption{text-align:center;color:#71808b;font-size:12px;margin-top:5px}.visual-editor .align-left{float:left;margin:6px 22px 16px 0}.visual-editor .align-right{float:right;margin:6px 0 16px 22px}.visual-editor .align-center{margin-left:auto;margin-right:auto;text-align:center}.visual-editor .article-button,.rich-article-content .article-button{display:inline-block;background:#58c8ff!important;color:#06111e!important;text-decoration:none!important;padding:11px 17px;border-radius:10px;font-family:Inter,Arial,sans-serif;font-weight:850}.html-editor{display:none;min-height:500px;border:0;border-radius:0;background:#071525;color:#aee2ff;font-family:Consolas,monospace;line-height:1.55}.image-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#0a1b2c;border:1px solid #294760;border-radius:11px;padding:10px;margin-top:8px}.image-options label{display:flex;align-items:center;gap:5px;color:#91abc0;font-size:10px}.image-options select,.image-options input{width:auto;padding:7px 8px}.seo-auto-box{margin-top:16px;padding:16px;background:#0a1b2c;box-shadow:none}.seo-auto-head{display:flex;justify-content:space-between;align-items:center}.seo-auto-head h3{margin:2px 0}.seo-score{display:grid;place-items:center;width:62px;height:34px;border-radius:10px;background:#281b21;color:#ff9baa;font-weight:950}.seo-score.mid{background:#3a321d;color:#ffe083}.seo-score.good{background:#143a2d;color:#7aecac}.seo-checks{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px;font-size:10px}.seo-checks span.ok{color:#7ae5a8}.seo-checks span.bad{color:#819db4}.cover-panel{margin-top:16px}.cover-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.cover-preview{margin-top:10px}.cover-preview img{display:block;max-height:280px;width:100%;object-fit:cover;border-radius:13px;border:1px solid #294760}.article-savebar{display:flex;gap:8px;flex-wrap:wrap;position:sticky;bottom:10px;background:#102944e8;backdrop-filter:blur(8px);padding:10px;border-radius:12px;margin-top:18px;z-index:5}
.rich-article-content{font-family:Georgia,serif;font-size:18px;line-height:1.78}.rich-article-content h1,.rich-article-content h2,.rich-article-content h3,.rich-article-content h4,.rich-article-content h5,.rich-article-content h6{font-family:Inter,Arial,sans-serif;line-height:1.15;margin:30px 0 12px}.rich-article-content h2{font-size:30px}.rich-article-content h3{font-size:24px}.rich-article-content figure{margin:26px 0}.rich-article-content figure img{display:block;max-width:100%;height:auto}.rich-article-content figcaption{text-align:center;color:#839eb4;font-size:12px;margin-top:6px}.rich-article-content .align-left{float:left;margin:5px 22px 16px 0}.rich-article-content .align-right{float:right;margin:5px 0 16px 22px}.rich-article-content .align-center{text-align:center;margin-left:auto;margin-right:auto}.rich-article-content blockquote{border-left:4px solid #58c8ff;padding:10px 18px;margin:24px 0;background:#0a1b2c;color:#bbcede}.rich-article-content a:not(.article-button){color:#58c8ff;text-decoration:underline}.rich-article-content:after{content:"";display:block;clear:both}
@media(max-width:1100px){.wp-article-layout{grid-template-columns:1fr}.article-list-column{position:static;order:2}.article-admin-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.article-meta-grid,.cover-actions,.seo-checks{grid-template-columns:1fr}.article-admin-list{grid-template-columns:1fr}.visual-editor{min-height:420px;padding:18px 16px}.editor-toolbar{position:sticky;top:0;z-index:5}.toolbar-right{margin-left:0}}

/* v2.8.1 editor wrapping + visual/html parity */
.visual-editor{display:block;overflow:auto;min-height:520px}
.visual-editor[hidden]{display:none!important}
.html-editor{display:none;width:100%;min-height:520px;padding:20px 22px;border:0!important;border-radius:0!important;background:#071525!important;color:#bfeaff!important;font:14px/1.6 Consolas,Monaco,monospace;white-space:pre;tab-size:2;resize:vertical}
.html-editor:not([hidden]){display:block!important}
.visual-editor figure.article-image,.rich-article-content figure.article-image{box-sizing:border-box}
.visual-editor figure.article-image img,.rich-article-content figure.article-image img{display:block;width:100%;height:auto;max-width:100%}
.visual-editor figure.align-left,.rich-article-content figure.align-left{float:left!important;margin:7px 24px 16px 0!important;clear:none!important}
.visual-editor figure.align-right,.rich-article-content figure.align-right{float:right!important;margin:7px 0 16px 24px!important;clear:none!important}
.visual-editor figure.align-center,.rich-article-content figure.align-center{float:none!important;display:block!important;margin:22px auto!important}
.visual-editor figure.article-image:not(.align-left):not(.align-right):not(.align-center),.rich-article-content figure.article-image:not(.align-left):not(.align-right):not(.align-center){float:none;margin:22px 0}
.visual-editor figure.align-left+*,.visual-editor figure.align-right+*{clear:none}
.visual-editor:after,.rich-article-content:after{content:"";display:block;clear:both}
.visual-editor p,.rich-article-content p{overflow:visible}
.visual-editor .article-image figcaption,.rich-article-content .article-image figcaption{font-size:11px;color:#758695;text-align:center;padding-top:5px}
.image-options{position:sticky;bottom:76px;z-index:9;box-shadow:0 10px 30px rgba(0,0,0,.25)}
@media(max-width:650px){
 .visual-editor figure.align-left,.visual-editor figure.align-right,.rich-article-content figure.align-left,.rich-article-content figure.align-right{float:none!important;width:100%!important;margin:18px 0!important}
}

/* v2.8.2 article detail */
.article-heading-pro{max-width:980px;margin:0 auto 24px}
.article-heading-pro .article-back{display:inline-block;margin-bottom:16px}
.article-heading-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#7694ad;font-size:11px;margin-bottom:10px}
.article-heading-pro h1{font-size:clamp(38px,5.7vw,68px);line-height:1.02;margin:0;max-width:1050px;letter-spacing:-1.2px}
.article-intro-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:0;align-items:stretch;margin:26px auto 30px;max-width:1080px;border:1px solid #294760;border-radius:20px;overflow:hidden;background:#102944}
.article-intro-grid.no-cover{grid-template-columns:1fr}
.article-intro-cover{min-height:330px;background:#071525}
.article-intro-cover img{display:block;width:100%!important;height:100%!important;min-height:330px;object-fit:cover}
.article-intro-perex{display:flex;flex-direction:column;justify-content:center;padding:34px 38px;background:linear-gradient(145deg,#132f4c,#0e2339)}
.article-intro-perex .eyebrow{margin-bottom:10px}
.article-intro-perex h2{font-size:clamp(23px,2.5vw,34px);line-height:1.28;margin:0;color:#fff;font-weight:800;letter-spacing:-.35px}
.article-intro-grid.no-cover .article-intro-perex{padding:34px 42px}
.article-content{max-width:900px;margin:0 auto}
.article-footer-links{max-width:900px;margin:18px auto 0}
@media(max-width:850px){
 .article-intro-grid{grid-template-columns:1fr}
 .article-intro-cover,.article-intro-cover img{min-height:0;aspect-ratio:16/9}
 .article-intro-perex{padding:26px 24px}
 .article-intro-perex h2{font-size:25px}
}
@media(max-width:560px){
 .article-heading-pro h1{font-size:38px}
 .article-intro-grid{margin-top:18px;border-radius:16px}
 .article-intro-perex{padding:22px 18px}
 .article-intro-perex h2{font-size:21px;line-height:1.32}
}

/* v2.8.3 article intro fix */
.article-intro-grid{
  grid-template-columns:minmax(0,58fr) minmax(0,42fr)!important;
  max-width:1080px;
  min-height:0!important;
}
.article-intro-cover{
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
}
.article-intro-cover img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:420px!important;
  object-fit:cover!important;
}
.article-intro-perex{
  min-width:0!important;
  overflow:hidden!important;
  padding:28px 30px!important;
}
.article-intro-perex h3{
  margin:0!important;
  font-size:clamp(20px,2vw,24px)!important;
  line-height:1.36!important;
  font-weight:800!important;
  letter-spacing:-.15px!important;
  color:#fff!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
}
.article-intro-perex .eyebrow{margin-bottom:9px!important}
@media(max-width:850px){
  .article-intro-grid{grid-template-columns:1fr!important}
  .article-intro-cover img{max-height:none!important;aspect-ratio:16/9!important}
  .article-intro-perex{padding:22px 20px!important}
  .article-intro-perex h3{font-size:20px!important}
}

/* v2.9 AI Editorial */
.openai-settings-card{grid-column:span 1}.openai-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.openai-head h2{margin:0}.openai-head p{margin:5px 0 0}.openai-actions{display:flex;gap:8px;flex-wrap:wrap}.api-test-ok{display:grid;gap:3px;margin-top:12px;padding:11px 13px;border-radius:11px;background:#123b2c;border:1px solid #2b6c50}.api-test-ok b{color:#79ecad}.api-test-ok span{font-size:10px;color:#a9c9b9}
.ai-editorial-grid{display:grid;grid-template-columns:minmax(380px,.82fr) minmax(0,1.18fr);gap:16px;align-items:start}.ai-source-form,.ai-result-panel{min-height:650px}.ai-source-urls{display:grid;gap:7px;margin-bottom:14px}.ai-source-urls>label{font-size:10px;font-weight:900;color:#89a8bf}.ai-safety-note{display:grid;gap:4px;padding:12px;border-radius:11px;background:#0a1b2b;border:1px solid #294760;margin:12px 0}.ai-safety-note b{color:#78dfff}.ai-safety-note span{font-size:11px;color:#8da8bd;line-height:1.45}.ai-confidence{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#0a1b2b;border-radius:10px;margin-bottom:12px;color:#8da8bd}.ai-confidence b{font-size:22px;color:#70e4a5}.ai-preview-title{font-size:32px;line-height:1.12;margin:8px 0}.ai-preview-perex{font-size:17px;color:#b5cada;line-height:1.55}.ai-preview-content{max-height:460px;overflow:auto;padding:15px;background:#071625;border-radius:12px;border:1px solid #294760;font-size:14px;line-height:1.65}.ai-preview-content h2{font-size:20px;margin:20px 0 8px}.ai-preview-content h3{font-size:17px}.ai-seo-preview{font-size:11px;line-height:1.65;margin:12px 0;padding:10px;background:#0a1b2b;border-radius:10px;color:#a8becf}.ai-usage{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.ai-usage span{padding:6px 8px;border-radius:8px;background:#071625;color:#8da8bd;font-size:9px}.ai-history{margin-top:16px}
@media(max-width:1000px){.ai-editorial-grid{grid-template-columns:1fr}.ai-source-form,.ai-result-panel{min-height:0}}
@media(max-width:650px){.openai-head{display:grid}.ai-preview-title{font-size:25px}}
.ai-radar{margin-bottom:16px}.radar-list{display:grid;gap:9px}.radar-item{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px;border:1px solid #294760;border-radius:12px;background:#0a1b2b}.radar-item h3{margin:5px 0;font-size:16px}.radar-item small{color:#86a6bd}.radar-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.radar-actions form{margin:0}.official-pill{font-size:9px;font-weight:900;color:#6ee7a8;background:#103d2a;border-radius:999px;padding:4px 7px;margin-left:6px}.source-manager{margin-top:14px;border-top:1px solid #294760;padding-top:12px}.source-manager summary{cursor:pointer;font-weight:900}.source-grid{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.source-chip{display:grid;padding:8px 10px;border-radius:9px;background:#071625;border:1px solid #294760}.source-chip span{font-size:10px;color:#86a6bd}.source-add{display:grid;grid-template-columns:1fr 1.5fr 1fr 90px auto auto;gap:7px;align-items:center}.source-add label{font-size:11px;color:#a8becf}.source-add input{min-width:0}@media(max-width:900px){.radar-item{align-items:flex-start;flex-direction:column}.source-add{grid-template-columns:1fr}.radar-actions{width:100%}}

/* v2.10.1 Radar diagnostics */
.radar-source-table{display:grid;gap:9px;margin:12px 0}.radar-source-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(360px,1.3fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #294760;border-radius:12px;background:#0a1a2b}.radar-source-main{display:grid;gap:3px;min-width:0}.radar-source-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.radar-source-main>a{font-size:10px;color:#75bfe7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.radar-source-diagnostics{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.radar-source-diagnostics>span{font-size:9px;color:#8faabd;padding:4px 6px;border-radius:7px;background:#071625}.source-status.ok{color:#75e9a8!important;background:#123b2c!important}.source-status.error{color:#ff9ca7!important;background:#3a171d!important}.source-status.warn{color:#ffe08a!important;background:#3b3218!important}.source-status.idle{color:#829db3!important}.source-off{font-size:8px;padding:3px 5px;border-radius:6px;background:#342b1b;color:#f8d889;font-weight:900}.source-error-text{grid-column:1/3;font-size:9px;color:#ff9ca7;padding:6px 8px;background:#2a151a;border-radius:8px}.radar-source-actions{display:flex;gap:5px;justify-content:flex-end}.radar-source-actions form{margin:0}.source-manager>summary{cursor:pointer;font-weight:850;padding:10px 0}.source-add{display:grid;grid-template-columns:1fr 1.4fr .8fr 100px auto auto;gap:7px;align-items:center;margin-top:12px}.source-check{display:flex;align-items:center;gap:6px;font-size:10px;color:#9db3c5}.source-check input{width:auto}.radar-item{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:1100px){.radar-source-row{grid-template-columns:1fr}.source-error-text{grid-column:auto}.radar-source-actions{justify-content:flex-start}.source-add{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.source-add{grid-template-columns:1fr}.radar-source-diagnostics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.radar-source-actions{flex-wrap:wrap}}

/* v2.11.0 Editorial Radar dashboard */
.radar-dashboard{padding:20px!important}.radar-head{align-items:flex-start}.radar-filterbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0 14px;border-top:1px solid #27435e}.radar-range-tabs{display:flex;gap:5px;flex-wrap:wrap}.radar-range-tabs a{padding:7px 11px;border-radius:9px;border:1px solid #294760;color:#9eb5c8;font-size:11px;font-weight:850}.radar-range-tabs a.active{background:#58c8ff;color:#06111e;border-color:#58c8ff}.radar-source-filter select{min-width:230px;padding:8px 10px;font-size:11px}.radar-summary-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.radar-summary-row>div{display:grid;padding:11px 12px;border-radius:11px;background:#071625;border:1px solid #243f59}.radar-summary-row strong{font-size:22px;color:#58c8ff;line-height:1}.radar-summary-row span{font-size:9px;color:#86a1b7;margin-top:4px;text-transform:uppercase;font-weight:800}.radar-block-title{margin:7px 0 10px}.radar-block-title h3{margin:1px 0;font-size:20px}.radar-block-title small{color:#829db3}.radar-top-block{padding:15px;border-radius:15px;background:#091a2b;border:1px solid #294760;margin-bottom:18px}.radar-top-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.radar-top-card{position:relative;display:flex;flex-direction:column;min-height:190px;padding:14px 82px 13px 14px;border-radius:13px;background:linear-gradient(145deg,#102c48,#0c2137);border:1px solid #315573}.radar-top-card h3{font-size:16px;line-height:1.3;margin:9px 0 7px}.radar-card-pills{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.new-pill{font-size:8px;font-weight:950;padding:3px 6px;border-radius:999px;background:#173f61;color:#78d9ff}.radar-score{position:absolute;right:12px;top:12px;width:58px;height:58px;border-radius:14px;display:grid;place-items:center;align-content:center;background:#192a38;border:1px solid #334b5e}.radar-score b{font-size:21px;line-height:1}.radar-score span{font-size:7px;text-transform:uppercase;font-weight:900;color:#9bb2c4}.radar-score.score-hot{background:#3b1d1c;border-color:#81443c}.radar-score.score-hot b{color:#ff9d72}.radar-score.score-good{background:#173929;border-color:#2c694b}.radar-score.score-good b{color:#72e9a6}.radar-score.score-mid b{color:#f5d66e}.radar-score.compact{position:static;width:48px;height:48px;border-radius:11px;flex:0 0 48px}.radar-score.compact b{font-size:17px}.radar-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:10px;color:#8ca8bd;margin-top:auto}.radar-reason{display:block;color:#7395ad;margin:5px 0 9px;font-size:9px}.radar-top-card .radar-actions{justify-content:flex-start}.radar-all-title{margin-top:18px}.radar-groups{display:grid;gap:14px}.radar-source-group{border:1px solid #294760;border-radius:14px;overflow:hidden;background:#091827}.radar-group-head{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;background:#0e2942;border-bottom:1px solid #294760}.radar-group-head h4{margin:0;font-size:14px}.radar-group-head span{font-size:9px;color:#8ca8bd}.radar-source-group .radar-list{display:grid;gap:0}.radar-source-group .radar-item{display:grid;grid-template-columns:minmax(0,1fr) 52px auto;gap:12px;align-items:center;border:0;border-radius:0;border-bottom:1px solid #203a51;background:transparent;padding:12px 13px}.radar-source-group .radar-item:last-child{border-bottom:0}.radar-item-main h3{margin:5px 0 2px;font-size:14px}.radar-item-main small{color:#7898b0}.radar-empty{padding:24px;background:#091827;border-radius:13px;border:1px dashed #31516e}
@media(max-width:1000px){.radar-top-grid{grid-template-columns:1fr}.radar-source-group .radar-item{grid-template-columns:minmax(0,1fr) 48px}.radar-source-group .radar-actions{grid-column:1/-1;justify-content:flex-start}.radar-summary-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.radar-filterbar{display:grid}.radar-source-filter select{min-width:0}.radar-summary-row{grid-template-columns:1fr 1fr}.radar-top-card{padding-right:70px}.radar-source-group .radar-item{grid-template-columns:1fr auto}.radar-range-tabs a{flex:1;text-align:center}.radar-head{display:grid;gap:10px}.radar-head form,.radar-head .btn{width:100%}}

/* v2.12 real editorial media */
.ai-real-media{margin:14px 0;padding:13px;border:1px solid #31516d;border-radius:13px;background:#091827}.media-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.media-head h3{margin:2px 0}.media-warning{padding:9px 10px;margin:9px 0 11px;border-radius:9px;background:#322819;border:1px solid #6a5628;color:#f3d793;font-size:10px;line-height:1.45}.media-candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.media-candidate{overflow:hidden;border:1px solid #294760;border-radius:10px;background:#071625}.media-candidate>img{width:100%;aspect-ratio:16/9;object-fit:cover;background:#06101b}.media-candidate>div{display:grid;padding:7px 8px 4px}.media-candidate>div b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-candidate>div small{font-size:8px;color:#7896ac}.media-candidate>label{display:flex;align-items:center;gap:5px;padding:5px 8px;font-size:9px;color:#aac0d1;border-top:1px solid #1d3448}.media-candidate input,.rights-confirm input{width:auto}.rights-confirm{display:flex;align-items:flex-start;gap:7px;padding:10px;margin:10px 0;background:#2a2116;border:1px solid #66502b;border-radius:10px;color:#f2d28d;font-size:10px}.article-media{margin:24px 0}.article-media img{width:100%;height:auto;border-radius:14px}.article-media figcaption{font-size:10px;color:#7893a9;margin-top:6px}.radar-auto-box{display:grid;grid-template-columns:1fr minmax(280px,.8fr);gap:12px;align-items:center;padding:12px;margin:14px 0;border:1px solid #294760;border-radius:12px;background:#08192a}.radar-auto-box h3{margin:2px 0}.cron-url code{display:block;padding:8px;border-radius:8px;background:#06111d;color:#7dd8ff;font-size:9px;overflow:auto;white-space:nowrap}
@media(max-width:900px){.media-candidate-grid{grid-template-columns:repeat(2,1fr)}.radar-auto-box{grid-template-columns:1fr}}
@media(max-width:560px){.media-candidate-grid{grid-template-columns:1fr}}

/* v2.13 match graphics */
.matchgfx-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;margin-bottom:16px}.matchgfx-controls h2{margin-top:0}.gfx-template-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.gfx-template-picks input{display:none}.gfx-template-picks span{display:block;padding:9px 6px;text-align:center;border-radius:9px;background:#071525;border:1px solid #294760;font-size:10px;font-weight:850;cursor:pointer}.gfx-template-picks input:checked+span{background:#58c8ff;color:#06111e;border-color:#58c8ff}.gfx-data-card{display:grid;gap:4px;padding:12px;margin:13px 0;background:#071625;border:1px solid #294760;border-radius:11px}.gfx-data-card strong{font-size:28px;color:#58c8ff}.gfx-data-card small{color:#86a4b9}.gfx-controls .full{margin-top:8px}.gfx-note{font-size:10px;line-height:1.45}.gfx-preview-wrap{display:grid;place-items:center;min-height:480px;padding:14px;border-radius:14px;background:#050e18;border:1px solid #294760;overflow:hidden}.gfx-preview-wrap svg{width:100%;max-height:650px;filter:drop-shadow(0 18px 35px rgba(0,0,0,.28))}.gfx-usage{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.gfx-usage span{padding:5px 8px;border-radius:999px;background:#0b253a;color:#84d9ff;font-size:9px;font-weight:800}.gfx-recent{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gfx-recent a{display:grid;gap:5px}.gfx-recent img{width:100%;aspect-ratio:1200/628;object-fit:cover;border-radius:10px;border:1px solid #294760}.gfx-recent small{font-size:9px;color:#86a4b9}
@media(max-width:1000px){.matchgfx-layout{grid-template-columns:1fr}.gfx-preview-wrap{min-height:300px}.gfx-recent{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.gfx-recent{grid-template-columns:1fr}.gfx-template-picks{grid-template-columns:1fr}}

/* v2.15 post-match pipeline */
.postmatch-state{display:block;font-size:9px;font-weight:900;text-transform:uppercase;color:#65d7ff;margin-bottom:3px}.postmatch-settings code{font-size:9px;word-break:break-all;color:#78dcff}

/* v2.16 CRON overview */
.cron-task-list{display:grid;gap:12px;margin-top:14px}.cron-task{display:grid;grid-template-columns:1fr auto;gap:7px 14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#081827}.cron-task>b{font-size:15px}.cron-task>span{font-size:11px;color:var(--ice);font-weight:900}.cron-task>code{grid-column:1/-1;display:block;overflow:auto;padding:10px 12px;border-radius:10px;background:#05111d;color:#bce9ff;font-size:11px;white-space:nowrap}.cron-task>small{grid-column:1/-1;color:var(--muted);line-height:1.45}@media(max-width:700px){.cron-task{grid-template-columns:1fr}.cron-task>span,.cron-task>code,.cron-task>small{grid-column:1}}
/* v2.16.1 email admin */
.email-section-nav{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px;padding:7px;border:1px solid #294760;border-radius:12px;background:#081827}.email-section-nav a{padding:8px 11px;border-radius:9px;color:#8faac0;font-size:10px;font-weight:900}.email-section-nav a:hover,.email-section-nav a.active{background:#163752;color:#72d9ff}.email-history-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.email-history-kpi .card{display:grid;gap:4px;padding:14px}.email-history-kpi strong{font-size:22px;color:#58c8ff}.email-history-kpi span{font-size:9px;color:#829db3;text-transform:uppercase;font-weight:850}.email-history-filter{display:grid;grid-template-columns:minmax(220px,1.3fr) 170px 220px auto auto;gap:8px;align-items:end;margin-bottom:14px}.email-history-filter .field{margin:0}.email-history-table td{vertical-align:top}.email-history-table td small{display:block;margin-top:3px;color:#718ca3;font-size:9px}.mail-template-chip{display:inline-flex;padding:3px 6px;border-radius:6px;background:#0b263b;color:#7cd9ff;font-size:9px;font-weight:900}.mail-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:950}.mail-status.ok{background:#15392a;color:#77e9aa}.mail-status.error{background:#3b181e;color:#ff9ca6}.mail-error-cell{max-width:320px;color:#ff9ca6;font-size:10px}.email-pagination{display:flex;gap:5px;justify-content:center;margin-top:14px}.email-pagination a{min-width:32px;padding:7px;text-align:center;border-radius:8px;background:#071625;color:#8ea9bd}.email-pagination a.active{background:#58c8ff;color:#06111e;font-weight:900}
@media(max-width:1000px){.email-history-kpi{grid-template-columns:repeat(2,1fr)}.email-history-filter{grid-template-columns:1fr 1fr}.email-history-filter .field:first-child{grid-column:1/-1}}
@media(max-width:600px){.email-history-kpi,.email-history-filter{grid-template-columns:1fr}.email-history-filter .field:first-child{grid-column:auto}.email-section-nav a{flex:1;text-align:center}}

/* v2.16.2 – Superadmin sidebar scroll fix */
@media(min-width:861px){
  .admin-shell{
    min-height:100vh;
    align-items:start;
  }
  .admin-shell>.sidebar{
    position:sticky !important;
    top:0 !important;
    height:100vh !important;
    min-height:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    background:#06101d;
  }
  .admin-shell>.sidebar>.brand{
    flex:0 0 auto;
    display:block;
    margin:0 !important;
    padding:20px 20px 14px;
    background:#06101d;
  }
  .admin-shell>.sidebar>.admin-label:first-of-type{
    flex:0 0 auto;
    margin:0 !important;
    padding:2px 20px 8px;
  }
  .admin-shell>.sidebar>.side-menu{
    flex:1 1 auto !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    display:block !important;
    padding:0 12px 14px 12px !important;
    scrollbar-width:thin;
    scrollbar-color:#315875 #0a1725;
    overscroll-behavior:contain;
  }
  .admin-shell>.sidebar>.side-menu::-webkit-scrollbar{width:8px}
  .admin-shell>.sidebar>.side-menu::-webkit-scrollbar-track{background:#0a1725;border-radius:10px}
  .admin-shell>.sidebar>.side-menu::-webkit-scrollbar-thumb{background:#315875;border-radius:10px;border:2px solid #0a1725}
  .admin-shell>.sidebar>.side-menu::-webkit-scrollbar-thumb:hover{background:#4a7899}
  .admin-shell>.sidebar>.side-menu>a{
    display:block;
    margin:3px 0;
  }
  .admin-shell>.sidebar>.side-menu>.admin-label{
    margin:13px 8px 5px !important;
  }
  .admin-shell>.sidebar>.side-menu>.side-sep{
    margin:9px 5px;
  }
  .admin-shell>.sidebar>.admin-version{
    display:none !important;
  }
  .admin-shell>.sidebar>.admin-side-footer{
    flex:0 0 auto !important;
    position:relative !important;
    bottom:auto !important;
    left:auto !important;
    margin:0 !important;
    padding:10px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    border-top:1px solid #20384f;
    background:#06101d;
    box-shadow:0 -10px 24px rgba(0,0,0,.18);
    z-index:2;
  }
  .admin-shell>.sidebar>.admin-side-footer a{
    padding:7px 8px;
  }
  .admin-shell>.sidebar>.admin-side-footer span{
    padding-top:2px;
  }
}

/* v2.16.3 – Radar sources responsive + delete */
@media(min-width:861px){
  .admin-shell{
    grid-template-columns:250px minmax(0,1fr) !important;
    width:100%;
    max-width:100%;
  }
  .admin-main{
    min-width:0 !important;
    max-width:100% !important;
    overflow-x:hidden !important;
  }
}
.ai-radar,
.radar-dashboard,
.source-manager,
.radar-source-table,
.radar-source-row,
.radar-source-main,
.radar-source-diagnostics{
  min-width:0;
  max-width:100%;
}
.source-manager{
  overflow:hidden;
}
.radar-source-table{
  width:100%;
  overflow:hidden;
}
.radar-source-row{
  display:grid !important;
  grid-template-columns:minmax(180px,.8fr) minmax(300px,1.45fr) minmax(245px,auto) !important;
  gap:10px !important;
  align-items:center;
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.radar-source-main{
  overflow:hidden;
}
.radar-source-main>a{
  display:block;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.radar-source-diagnostics{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:5px !important;
  overflow:hidden;
}
.radar-source-diagnostics>span{
  white-space:nowrap;
}
.radar-source-actions{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end;
  gap:5px !important;
  min-width:0;
}
.radar-source-actions form{
  margin:0;
}
.radar-source-actions .btn{
  white-space:nowrap;
}
.source-error-text{
  grid-column:1 / -1 !important;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.source-add{
  display:grid !important;
  grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr) minmax(130px,.6fr) 90px minmax(120px,auto) auto !important;
  gap:7px !important;
  width:100%;
  max-width:100%;
}
.source-add>*{
  min-width:0;
}
.btn.danger.source-delete-btn{
  background:#7f1d2d;
  color:#fff;
  border:1px solid #a83243;
}
.btn.danger.source-delete-btn:hover{
  background:#a52336;
}
.cron-url,
.cron-url code{
  min-width:0;
  max-width:100%;
}
.cron-url code{
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:break-all;
}

@media(max-width:1250px){
  .radar-source-row{
    grid-template-columns:minmax(180px,.8fr) minmax(260px,1fr) !important;
  }
  .radar-source-actions{
    grid-column:1 / -1;
    justify-content:flex-start;
  }
  .source-add{
    grid-template-columns:1fr 1.4fr 1fr 90px !important;
  }
  .source-add .source-check,
  .source-add .btn{
    grid-column:auto;
  }
}
@media(max-width:900px){
  .radar-source-row{
    grid-template-columns:1fr !important;
  }
  .radar-source-actions{
    grid-column:auto;
    justify-content:flex-start;
  }
  .source-add{
    grid-template-columns:1fr 1fr !important;
  }
}
@media(max-width:600px){
  .source-add{
    grid-template-columns:1fr !important;
  }
  .radar-source-actions .btn{
    width:100%;
  }
  .radar-source-actions form{
    flex:1 1 140px;
  }
}

/* v2.16.4 locked user identity */
.locked-profile-value{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 13px;border:1px solid var(--line);border-radius:12px;background:#081827}
.locked-profile-value strong{font-size:15px;color:#fff}
.locked-profile-value span{font-size:10px;color:#7896ad;text-align:right}
@media(max-width:600px){.locked-profile-value{align-items:flex-start;flex-direction:column}.locked-profile-value span{text-align:left}}

/* v2.16.5 test match simulator */
.testmatch-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.test-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.test-checks span{padding:8px 10px;border-radius:9px;background:#0a2135;color:#87dfff;font-size:10px;font-weight:850}.testmatch-list{display:grid;gap:10px}.testmatch-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,1.2fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid #294760;border-radius:12px;background:#081827}.testmatch-row>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.testmatch-row>div:first-child strong{font-size:22px;color:#58c8ff}.testmatch-pipeline{display:flex;gap:6px;flex-wrap:wrap}.testmatch-pipeline span{padding:5px 7px;border-radius:7px;background:#061522;color:#89a7bb;font-size:9px}.testmatch-row .actions{justify-content:flex-end}.btn.danger{background:#7f1d2d;color:#fff}
@media(max-width:1100px){.testmatch-row{grid-template-columns:1fr}.testmatch-row .actions{justify-content:flex-start}}
@media(max-width:700px){.testmatch-grid{grid-template-columns:1fr}.test-checks{grid-template-columns:1fr}}

.live-clock{font-weight:900;color:#58c8ff}.match-live-state{color:#58c8ff!important;font-weight:900!important;letter-spacing:.02em}

/* v2.16.8 – responsive matches admin + localized status */
.matches-admin-wrap{width:100%;max-width:100%;overflow:hidden!important}
.matches-admin-table{width:100%!important;max-width:100%;table-layout:fixed}
.matches-admin-table th,.matches-admin-table td{white-space:normal!important;overflow-wrap:anywhere;vertical-align:middle}
.matches-admin-table th:nth-child(1){width:13%}
.matches-admin-table th:nth-child(2){width:30%}
.matches-admin-table th:nth-child(3){width:12%}
.matches-admin-table th:nth-child(4){width:8%}
.matches-admin-table th:nth-child(5){width:7%}
.matches-admin-table th:nth-child(6){width:16%}
.matches-admin-table th:nth-child(7){width:14%}
.match-admin-actions{display:flex;gap:5px;flex-wrap:wrap}
.match-admin-actions .btn{margin:0;white-space:nowrap}
@media(max-width:1050px){
 .matches-admin-table th:nth-child(1),.matches-admin-table td:nth-child(1){width:15%}
 .matches-admin-table th:nth-child(2),.matches-admin-table td:nth-child(2){width:28%}
 .matches-admin-table th:nth-child(5),.matches-admin-table td:nth-child(5){display:none}
}
@media(max-width:760px){
 .matches-admin-wrap{overflow:visible!important;background:transparent!important;border:0!important;padding:0!important}
 .matches-admin-table,.matches-admin-table tbody,.matches-admin-table tr,.matches-admin-table td{display:block;width:100%!important}
 .matches-admin-table thead{display:none}
 .matches-admin-table tr{margin-bottom:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#102944}
 .matches-admin-table td{border:0!important;padding:5px 0!important}
 .matches-admin-table td:nth-child(1){font-size:10px;color:#8ca9bd}
 .matches-admin-table td:nth-child(2){font-size:14px}
 .matches-admin-table td:nth-child(4){font-size:20px;font-weight:900}
}

/* v2.16.9 – match report presentation hero */
.article-result-hero{display:grid;gap:18px;margin:18px 0 24px}
.article-result-cover{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#07111f;box-shadow:var(--shadow)}
.article-result-cover img{display:block;width:100%;height:auto;aspect-ratio:1200/628;object-fit:cover}
.article-result-perex{padding:20px 24px;border-left:4px solid var(--ice);border-radius:0 14px 14px 0;background:linear-gradient(90deg,rgba(88,200,255,.10),rgba(16,41,68,.55))}
.article-result-perex h2{max-width:980px;margin:7px 0 0;font-size:clamp(20px,2.4vw,30px);line-height:1.28;letter-spacing:-.4px}
@media(max-width:650px){.article-result-hero{gap:12px}.article-result-cover{border-radius:12px}.article-result-perex{padding:15px 16px}.article-result-perex h2{font-size:20px}}

/* v2.17.0 broadcast result graphic */
.match-graphics-preview img,
.match-graphics-output img,
.match-graphics-gallery img,
.match-graphic-card img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* v2.17.1 unified broadcast graphic + postmatch health */
.gfx-template-fixed{padding:12px 13px;background:#071525;border:1px solid var(--line);border-radius:12px;font-weight:850;color:#ddecf7}
.broadcast-preview{background:#03070d!important;display:grid;place-items:center;overflow:hidden}.broadcast-preview img{display:block;width:100%;height:auto;aspect-ratio:1200/628;object-fit:contain}
.postmatch-cron-health{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;margin:0 0 12px;border-radius:11px;font-size:10px}.postmatch-cron-health.ok{background:#0d2b20;border:1px solid #17623f;color:#baf6d3}.postmatch-cron-health.bad{background:#34151a;border:1px solid #84303d;color:#ffc0c8}.postmatch-cron-health span{text-align:right;overflow-wrap:anywhere}
@media(max-width:700px){.postmatch-cron-health{align-items:flex-start;flex-direction:column}.postmatch-cron-health span{text-align:left}}

/* v2.17.4 Unicode font diagnostics */
.graphic-font-diagnostic{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:11px}
.graphic-font-diagnostic.ok{border-color:#1f6c48;background:#0c2b1d}
.graphic-font-diagnostic.error{border-color:#8b2d39;background:#33141a}
.graphic-font-diagnostic span{color:#9eb7c8;overflow-wrap:anywhere}

/* v2.17.9 – System status */
.system-status-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.system-status-head h1{margin:4px 0 5px}
.system-overall{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:#0a1929;min-width:210px}.system-overall i,.cron-health-title i,.service-row i{width:10px;height:10px;border-radius:50%;display:block;flex:0 0 auto}.system-overall.ok i,.cron-health-card.ok i,.service-row.ok i{background:#26df84;box-shadow:0 0 0 5px rgba(38,223,132,.10)}.system-overall.warn i,.cron-health-card.warn i,.service-row.warn i{background:#f6bf4c;box-shadow:0 0 0 5px rgba(246,191,76,.10)}.system-overall.bad i,.cron-health-card.bad i,.service-row.bad i{background:#ff5c6c;box-shadow:0 0 0 5px rgba(255,92,108,.10)}.system-overall small{display:block;color:var(--muted);font-size:9px}.system-overall b{font-size:14px}
.status-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:14px}.status-kpis .kpi{padding:14px}.status-kpis span{font-size:10px;color:var(--muted);font-weight:800}.status-kpis strong{font-size:26px;margin-top:4px}
.status-section{margin-bottom:14px}.cron-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cron-health-card{padding:14px;border:1px solid var(--line);border-radius:13px;background:#081827;min-width:0}.cron-health-card.ok{border-color:#1e6243}.cron-health-card.warn{border-color:#7a6128}.cron-health-card.bad{border-color:#75303a}.cron-health-title{display:flex;align-items:center;gap:8px;margin-bottom:10px}.cron-health-title b{font-size:13px}.cron-health-title span{margin-left:auto;font-size:9px;color:var(--muted);white-space:nowrap}.cron-health-card>strong{display:block;font-size:16px}.cron-health-card>small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.cron-health-card>p{font-size:10px;color:#a8bfd0;min-height:30px;margin:9px 0}.cron-mini{display:flex;gap:5px;flex-wrap:wrap}.cron-mini span{font-size:8px;background:#0c2235;padding:5px 7px;border-radius:7px;color:#8fa9bb}
.status-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.service-list{display:grid;gap:8px;margin-top:12px}.service-row{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#081827}.service-row b,.service-row span{display:block}.service-row b{font-size:12px}.service-row span{font-size:9px;color:var(--muted);margin-top:2px}.service-row a{font-size:9px;color:var(--ice);font-weight:800}
.postmatch-health-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.postmatch-health-kpis>div{background:#081827;border:1px solid var(--line);padding:12px;border-radius:11px}.postmatch-health-kpis strong{display:block;font-size:25px}.postmatch-health-kpis span{font-size:9px;color:var(--muted)}.status-error-box,.status-ok-box{padding:10px 12px;border-radius:10px;font-size:10px}.status-error-box{background:#32151b;border:1px solid #71303b}.status-ok-box{background:#0c291d;border:1px solid #245b42;color:#94e6b5}.status-error-box p{margin:5px 0;color:#f0b8be;overflow-wrap:anywhere}.status-error-box a{color:var(--ice)}
.last-article-status>span{display:inline-block;font-size:9px;color:var(--ice);font-weight:900}.last-article-status h3{font-size:17px;margin:8px 0}.last-article-status p{font-size:10px;color:var(--muted)}
.diagnostic-list{display:grid;gap:8px;margin-top:12px}.diagnostic-list>div{display:grid;grid-template-columns:110px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid var(--line);font-size:10px}.diagnostic-list span{overflow-wrap:anywhere}.ok-text{color:#78e6a6}.bad-text{color:#ff8c98}.status-note{font-size:9px;color:var(--muted);text-align:center;padding:4px 0 20px}
@media(max-width:1200px){.status-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.system-status-head{align-items:flex-start;flex-direction:column}.system-overall{width:100%}.status-kpis{grid-template-columns:repeat(2,1fr)}.cron-health-grid,.status-two-col{grid-template-columns:1fr}}@media(max-width:500px){.status-kpis{grid-template-columns:1fr 1fr}.cron-health-title{flex-wrap:wrap}.cron-health-title span{margin-left:18px}.diagnostic-list>div{grid-template-columns:1fr}}

/* v2.18.0 – LIVE CENTRUM 2.0 */
.live-center-v2{padding-top:24px;padding-bottom:30px}.match-v2-hero{padding:18px 24px 16px;overflow:hidden;background:radial-gradient(circle at 50% 0,rgba(88,200,255,.10),transparent 40%),var(--card)}.match-v2-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.match-v2-top>div:first-child{display:flex;align-items:center;gap:10px}.match-v2-date{font-size:10px;color:var(--muted);font-weight:800}.match-v2-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 260px minmax(0,1fr);align-items:center;gap:26px;max-width:1020px;margin:22px auto 12px}.match-v2-team{display:grid;justify-items:center;text-align:center;color:#fff;min-width:0}.match-v2-team strong{font-size:19px;line-height:1.15;margin-top:9px}.match-v2-team small{font-size:8px;letter-spacing:.16em;color:var(--muted);font-weight:900;margin-top:4px}.match-v2-logo{width:116px;height:116px;display:grid;place-items:center;background:#061522;border:1px solid var(--line);border-radius:26px;padding:12px}.match-v2-logo img{width:100%;height:100%;object-fit:contain}.match-v2-score{text-align:center}.match-v2-score>div{display:flex;align-items:center;justify-content:center;gap:13px}.match-v2-score b{font-size:78px;line-height:.95}.match-v2-score>div span{font-size:46px;color:#7693aa;font-weight:900}.match-v2-live,.match-v2-status{display:inline-flex;margin-top:10px;border-radius:999px;padding:6px 11px;font-size:10px;font-weight:950}.match-v2-live{background:#48151e;color:#ff919c}.match-v2-status{background:#10263a;color:#9eb7cb}.match-v2-periods{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:13px}.match-v2-periods>div{min-width:110px;text-align:center;background:#081827;border:1px solid var(--line);border-radius:10px;padding:7px 10px}.match-v2-periods span{display:block;font-size:8px;color:var(--muted);font-weight:800}.match-v2-periods b{font-size:14px}.match-v2-report{display:flex;justify-content:center;gap:12px;align-items:center;margin:12px auto 0;padding:8px 12px;max-width:650px;border-radius:10px;background:#0c291d;border:1px solid #23553d;font-size:10px}.match-v2-report a{color:var(--ice);font-weight:900}
.match-v2-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.match-v2-toolbar a{padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:#081827;color:#a9bfd0;font-size:9px;font-weight:900}.match-v2-toolbar a:hover{border-color:#315b7b;color:#fff}.match-v2-toolbar span{background:var(--ice);color:#05111d;border-radius:99px;padding:1px 5px;margin-left:2px}
.match-v2-main{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}.match-v2-content,.match-v2-sidebar{display:grid;gap:14px}.match-v2-section{scroll-margin-top:90px}.match-timeline{display:grid;gap:8px}.timeline-event{display:grid;grid-template-columns:65px 34px 1fr;gap:10px;align-items:start;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#081827}.timeline-event.goal.home{border-left:3px solid #58c8ff}.timeline-event.goal.away{border-left:3px solid #ef5b69}.timeline-time{display:grid;text-align:right}.timeline-time b{font-size:14px}.timeline-time span{font-size:8px;color:var(--muted)}.timeline-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#102944}.timeline-body>div{display:flex;align-items:center;gap:8px}.timeline-body strong{font-size:13px}.timeline-body small{display:block;color:#92abc0;font-size:9px;margin-top:3px}.timeline-body p{font-size:9px;color:var(--muted);margin:4px 0 0}.timeline-score{margin-left:auto;color:var(--ice);font-size:16px}.match-v2-empty{display:flex;gap:12px;align-items:flex-start;padding:18px;border:1px dashed #34536d;border-radius:12px;background:#081827}.match-v2-empty>span{font-size:28px}.match-v2-empty b{font-size:12px}.match-v2-empty p{font-size:10px;color:var(--muted);margin:5px 0 0;line-height:1.5}
.match-stats{display:grid;gap:7px}.stats-team-head,.stats-row{display:grid;grid-template-columns:1fr 160px 1fr;align-items:center;text-align:center;gap:8px}.stats-team-head{font-size:10px;font-weight:900;color:#d9e7f0;padding-bottom:8px;border-bottom:1px solid var(--line)}.stats-row{padding:8px;border-radius:9px;background:#081827}.stats-row strong{font-size:17px}.stats-row span{font-size:9px;color:var(--muted);font-weight:800}.lineups-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lineups-grid>div{background:#081827;border:1px solid var(--line);border-radius:12px;padding:12px}.lineups-grid h3{margin:0 0 8px;font-size:14px}.lineup-player{display:grid;grid-template-columns:35px 1fr auto;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}.lineup-player b{color:var(--ice);font-size:10px}.lineup-player span{font-size:10px;font-weight:800}.lineup-player small{font-size:8px;color:var(--muted)}.match-v2-sidebar{position:sticky;top:82px}.match-v2-chat{margin-top:14px;scroll-margin-top:90px}
@media(max-width:950px){.match-v2-main{grid-template-columns:1fr}.match-v2-sidebar{position:static;grid-template-columns:1fr 1fr}.match-v2-scoreboard{grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr)}.match-v2-score b{font-size:62px}.match-v2-logo{width:96px;height:96px}}
@media(max-width:680px){.live-center-v2{padding-top:12px}.match-v2-hero{padding:14px}.match-v2-scoreboard{grid-template-columns:1fr 120px 1fr;gap:8px;margin-top:16px}.match-v2-logo{width:68px;height:68px;border-radius:16px;padding:7px}.match-v2-team strong{font-size:11px}.match-v2-score b{font-size:42px}.match-v2-score>div span{font-size:24px}.match-v2-live,.match-v2-status{font-size:8px;padding:5px 7px}.match-v2-sidebar{grid-template-columns:1fr}.stats-team-head,.stats-row{grid-template-columns:1fr 120px 1fr}.lineups-grid{grid-template-columns:1fr}.timeline-event{grid-template-columns:48px 30px 1fr;padding:9px}.match-v2-toolbar{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.match-v2-toolbar a{white-space:nowrap}.match-v2-top{align-items:flex-start}.match-v2-top>div:first-child{align-items:flex-start;flex-direction:column}.match-v2-periods>div{min-width:90px}}

/* v2.18.1 – visual containment fixes */

/* LIVE Centrum: every club crest must stay inside its tile, regardless of source file dimensions. */
.match-v2-logo{
  box-sizing:border-box!important;
  overflow:hidden!important;
  position:relative;
}
.match-v2-logo img{
  display:block!important;
  width:82%!important;
  height:82%!important;
  max-width:82%!important;
  max-height:82%!important;
  min-width:0!important;
  min-height:0!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
}
.match-v2-team strong{
  display:block;
  width:100%;
  max-width:280px;
  text-align:center;
  overflow-wrap:anywhere;
}
.match-v2-team small{line-height:1.2}

/* News: article previews use the real OG ratio instead of tall boxes that crop score graphics. */
.news-lead-image,
.news-small-image,
.news-list-thumb{
  position:relative;
  overflow:hidden!important;
  background:#06111e;
}
.news-lead-image{
  height:auto!important;
  aspect-ratio:1200/628;
}
.news-small-image{
  height:auto!important;
  aspect-ratio:16/9;
}
.news-lead-image img,
.news-small-image img,
.news-list-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}

/* Generated score graphics must be shown whole – never crop score, logos or period panel. */
.news-lead-image.is-score-graphic img,
.news-small-image.is-score-graphic img,
.news-list-thumb.is-score-graphic img{
  object-fit:contain!important;
  background:#030811;
}

/* Latest-news thumbnail wrapper keeps consistent dimensions and prevents image overflow. */
.news-list-item{
  grid-template-columns:180px minmax(0,1fr)!important;
  overflow:hidden;
}
.news-list-thumb{
  width:180px;
  aspect-ratio:16/10;
  border-radius:10px;
  align-self:start;
}
.news-list-thumb img{
  border-radius:0!important;
}
.news-list-item>div:last-child{
  min-width:0;
}
.news-list-item h3,
.news-list-item p{
  overflow-wrap:anywhere;
}

@media(max-width:1050px){
  .news-lead-image{height:auto!important;aspect-ratio:1200/628}
}
@media(max-width:760px){
  .news-lead-image{height:auto!important;aspect-ratio:1200/628}
  .news-small-image{height:auto!important;aspect-ratio:16/9}
  .news-list-item{grid-template-columns:100px minmax(0,1fr)!important}
  .news-list-thumb{width:100px;aspect-ratio:1/1}
}

/* v2.18.3 – sticky score + other LIVE matches */
.match-sticky-bar{
  position:fixed;
  z-index:85;
  top:74px;
  left:50%;
  transform:translate(-50%,-18px);
  width:min(1180px,calc(100% - 24px));
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:8px 12px;
  background:rgba(6,17,30,.96);
  border:1px solid #25435f;
  border-radius:13px;
  box-shadow:0 12px 35px rgba(0,0,0,.35);
  backdrop-filter:blur(12px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.match-sticky-bar.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.match-sticky-current{display:grid;grid-template-columns:34px minmax(100px,1fr) auto minmax(100px,1fr) 34px auto;align-items:center;gap:9px;min-width:0}
.match-sticky-current>strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-sticky-current>strong:nth-of-type(2){text-align:right}
.match-sticky-logo{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#071525;border:1px solid var(--line);overflow:hidden;padding:3px}
.match-sticky-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
.match-sticky-score{display:flex;gap:5px;align-items:center;font-size:20px;color:#fff}.match-sticky-score span{color:#718fa7}
.match-sticky-state{font-size:9px;font-weight:900;color:#ff8994;white-space:nowrap}
.match-sticky-other{border-left:1px solid var(--line);padding-left:12px}.match-sticky-other a{display:grid;color:inherit}.match-sticky-other span{font-size:7px;color:#58c8ff;font-weight:900;text-transform:uppercase}.match-sticky-other b{font-size:9px;max-width:330px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.other-live-card{scroll-margin-top:100px}.other-live-list{display:grid;gap:7px}.other-live-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:10px;background:#081827;color:inherit}.other-live-item:hover{border-color:#31597a}.other-live-teams{display:grid;gap:5px;min-width:0}.other-live-teams span{display:flex;align-items:center;gap:6px;min-width:0}.other-live-teams img{width:24px!important;height:24px!important;object-fit:contain!important;flex:0 0 24px}.other-live-teams b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.other-live-score{text-align:right}.other-live-score strong{display:block;font-size:17px;color:#fff}.other-live-score small{display:block;font-size:7px;color:#ff8994;white-space:nowrap}.other-live-empty{padding:12px;border:1px dashed #35516b;border-radius:10px;color:var(--muted);font-size:9px;text-align:center}
@media(max-width:900px){.match-sticky-bar{top:64px;grid-template-columns:1fr}.match-sticky-other{display:none}}
@media(max-width:680px){
 .match-sticky-bar{width:calc(100% - 12px);padding:6px 8px;border-radius:10px}
 .match-sticky-current{grid-template-columns:28px minmax(0,1fr) auto minmax(0,1fr) 28px}
 .match-sticky-current>strong{font-size:9px}.match-sticky-state{grid-column:1/-1;text-align:center;font-size:8px}
 .match-sticky-logo{width:27px;height:27px}.match-sticky-score{font-size:17px}
}

/* v2.18.4 – sticky prehľad celého kola */
.match-sticky-bar{grid-template-columns:1fr!important;gap:7px!important;padding:7px 10px 9px!important}
.match-sticky-current{max-width:760px;margin:0 auto;width:100%}
.round-sticky-strip{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 1px 3px;scroll-snap-type:x proximity}
.round-sticky-game{flex:0 0 230px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:3px 8px;padding:7px 8px;border:1px solid #23415c;border-radius:9px;background:#071522;color:inherit;scroll-snap-align:center;min-width:0}
.round-sticky-game:hover{border-color:#3a6a91}.round-sticky-game.current{border-color:#58c8ff;background:#0b2235;box-shadow:inset 0 0 0 1px rgba(88,200,255,.18)}
.round-sticky-game.live{border-color:#6b2e38;background:#1c1017}.round-sticky-game.live.current{border-color:#ff6372}
.round-sticky-clubs{display:grid;gap:2px;min-width:0}.round-sticky-clubs span{display:flex;align-items:center;gap:5px;min-width:0}
.round-sticky-clubs img{width:18px!important;height:18px!important;flex:0 0 18px;object-fit:contain!important}.round-sticky-clubs b{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.round-sticky-score{grid-row:1;grid-column:2;align-self:center;font-size:14px;font-weight:950;white-space:nowrap}.round-sticky-game small{grid-column:1/-1;font-size:7px;color:#7897ad;font-weight:850}
.round-sticky-game.live small{color:#ff8994}.round-sticky-game.current small{color:#58c8ff}.match-sticky-other{display:none!important}
@media(max-width:900px){.round-sticky-game{flex-basis:205px}}@media(max-width:680px){.round-sticky-game{flex-basis:185px;padding:6px}.round-sticky-clubs b{font-size:7.5px}}

/* v2.18.5 – collapsible sticky round */
.match-sticky-bar{padding-right:43px!important}
.match-sticky-toggle{
  position:absolute;
  right:8px;
  top:8px;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border:1px solid #31506b;
  border-radius:8px;
  background:#0a1b2b;
  color:#d9e8f3;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.match-sticky-toggle:hover{border-color:#58c8ff;color:#58c8ff}
.match-sticky-round{
  display:grid;
  grid-template-columns:31px minmax(0,1fr) 31px;
  gap:6px;
  align-items:stretch;
  max-height:110px;
  opacity:1;
  overflow:hidden;
  transition:max-height .2s ease,opacity .15s ease,margin .2s ease;
}
.match-sticky-bar.collapsed .match-sticky-round{
  max-height:0;
  opacity:0;
  margin:0;
  pointer-events:none;
}
.match-sticky-bar.collapsed{
  padding-bottom:7px!important;
}
.round-sticky-strip{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.round-sticky-strip::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.round-sticky-nav{
  width:31px;
  min-width:31px;
  border:1px solid #294a65;
  border-radius:8px;
  background:#081827;
  color:#d6e7f2;
  font-size:24px;
  font-weight:800;
  cursor:pointer;
}
.round-sticky-nav:hover:not(:disabled){border-color:#58c8ff;color:#58c8ff;background:#0b2235}
.round-sticky-nav:disabled{opacity:.25;cursor:default}
@media(max-width:680px){
 .match-sticky-bar{padding-right:40px!important}
 .match-sticky-toggle{right:6px;top:6px;width:28px;height:28px}
 .match-sticky-round{grid-template-columns:28px minmax(0,1fr) 28px;gap:4px}
 .round-sticky-nav{width:28px;min-width:28px;font-size:21px}
}

/* v2.18.6 – round above selected match + sticky on scroll */
.round-overview{
  margin-bottom:12px;
  padding:13px 14px 14px;
  overflow:hidden;
}
.round-overview-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.round-overview-head h2{font-size:18px;margin:3px 0 0}
.round-overview-head>span{font-size:9px;color:var(--muted);font-weight:800}
.round-overview-controls{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 34px;
  gap:7px;
  align-items:stretch;
}
.round-overview-strip{
  display:flex;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-snap-type:x proximity;
}
.round-overview-strip::-webkit-scrollbar{display:none;width:0;height:0}
.round-overview-nav{
  width:34px;
  min-width:34px;
  border:1px solid #294a65;
  border-radius:9px;
  background:#081827;
  color:#d6e7f2;
  font-size:24px;
  font-weight:850;
  cursor:pointer;
}
.round-overview-nav:hover:not(:disabled){border-color:#58c8ff;color:#58c8ff;background:#0b2235}
.round-overview-nav:disabled{opacity:.25;cursor:default}
.round-overview-game{
  flex:0 0 245px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #25435f;
  border-radius:11px;
  background:#081827;
  color:inherit;
  min-width:0;
  scroll-snap-align:center;
}
.round-overview-game:hover{border-color:#3b6b90}
.round-overview-game.current{
  border-color:#58c8ff;
  background:#0b2235;
  box-shadow:inset 0 0 0 1px rgba(88,200,255,.15);
}
.round-overview-game.live{border-color:#70313b;background:#1a1016}
.round-overview-game.live.current{border-color:#ff6674}
.round-overview-clubs{display:grid;gap:5px;min-width:0}
.round-overview-clubs span{display:flex;align-items:center;gap:6px;min-width:0}
.round-overview-clubs img{width:24px!important;height:24px!important;flex:0 0 24px;object-fit:contain!important}
.round-overview-clubs b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.round-overview-score{text-align:right}
.round-overview-score strong{display:block;font-size:17px;white-space:nowrap}
.round-overview-score small{display:block;font-size:7px;color:#7e9bb0;font-weight:850;white-space:nowrap;margin-top:3px}
.round-overview-game.live .round-overview-score small{color:#ff8994}
.round-overview-game.current .round-overview-score small{color:#58c8ff}

/* sticky is now the compact continuation of the round overview */
.match-sticky-roundbar{top:74px}
.match-sticky-roundbar .match-sticky-current{max-width:780px}
.match-sticky-roundbar .round-sticky-round{border-top:1px solid rgba(255,255,255,.06);padding-top:6px}

@media(max-width:900px){
 .match-sticky-roundbar{top:64px}
 .round-overview-game{flex-basis:220px}
}
@media(max-width:680px){
 .round-overview{padding:10px}
 .round-overview-head{align-items:flex-start}
 .round-overview-head h2{font-size:15px}
 .round-overview-controls{grid-template-columns:29px minmax(0,1fr) 29px;gap:4px}
 .round-overview-nav{width:29px;min-width:29px;font-size:21px}
 .round-overview-game{flex-basis:190px;padding:7px}
 .round-overview-clubs img{width:20px!important;height:20px!important;flex-basis:20px}
 .round-overview-clubs b{font-size:8px}
}

/* v2.18.7 – compact sticky round bar; no giant popup */
.match-sticky-roundbar{
  left:50%!important;
  right:auto!important;
  width:min(1180px,calc(100vw - 32px))!important;
  transform:translate(-50%,-14px)!important;
  max-height:58px!important;
  min-height:50px!important;
  padding:6px 44px 6px 10px!important;
  overflow:hidden!important;
  border-radius:0 0 13px 13px!important;
}
.match-sticky-roundbar.show{
  transform:translate(-50%,0)!important;
}
.match-sticky-roundbar .match-sticky-current{
  display:none!important;
}
.match-sticky-roundbar .round-sticky-round{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) 28px!important;
  gap:6px!important;
  align-items:center!important;
  width:100%!important;
  border-top:0!important;
  padding:0!important;
  max-height:46px!important;
}
.match-sticky-roundbar .round-sticky-strip{
  display:flex!important;
  gap:6px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  max-height:46px!important;
}
.match-sticky-roundbar .round-sticky-strip::-webkit-scrollbar{display:none!important}
.match-sticky-roundbar .round-sticky-game{
  flex:0 0 205px!important;
  min-width:205px!important;
  height:42px!important;
  min-height:42px!important;
  padding:4px 7px!important;
  border-radius:8px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
}
.match-sticky-roundbar .round-sticky-teams{gap:1px!important}
.match-sticky-roundbar .round-sticky-team{gap:4px!important;line-height:1!important}
.match-sticky-roundbar .round-sticky-team img{
  width:16px!important;height:16px!important;flex:0 0 16px!important;
}
.match-sticky-roundbar .round-sticky-team b{font-size:7px!important}
.match-sticky-roundbar .round-sticky-score strong{font-size:11px!important}
.match-sticky-roundbar .round-sticky-score small{font-size:6px!important;margin-top:1px!important}
.match-sticky-roundbar .round-sticky-nav{
  width:28px!important;min-width:28px!important;height:34px!important;
  font-size:19px!important;border-radius:7px!important;
}
.match-sticky-roundbar .match-sticky-toggle{
  position:absolute!important;
  right:8px!important;top:9px!important;
  width:28px!important;height:28px!important;
  border-radius:8px!important;
}
.match-sticky-roundbar.is-collapsed{
  width:44px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:0!important;
  left:auto!important;
  right:16px!important;
  transform:none!important;
}
.match-sticky-roundbar.is-collapsed .round-sticky-round{display:none!important}
.match-sticky-roundbar.is-collapsed .match-sticky-toggle{
  top:6px!important;right:7px!important;
}
@media(max-width:700px){
 .match-sticky-roundbar{
   width:calc(100vw - 12px)!important;
   padding-left:5px!important;
   padding-right:39px!important;
 }
 .match-sticky-roundbar .round-sticky-game{
   flex-basis:175px!important;min-width:175px!important;
 }
 .match-sticky-roundbar.is-collapsed{right:6px!important;width:42px!important}
}

/* v2.18.8 – fixed taller sticky round bar */
.match-sticky-roundbar{
  width:min(1180px,calc(100vw - 32px))!important;
  min-height:70px!important;
  max-height:70px!important;
  padding:8px 10px!important;
  overflow:hidden!important;
}
.match-sticky-roundbar .match-sticky-current{display:none!important}
.match-sticky-roundbar .round-sticky-round{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr) 32px!important;
  gap:7px!important;
  align-items:center!important;
  width:100%!important;
  height:54px!important;
  max-height:54px!important;
  padding:0!important;
  border-top:0!important;
}
.match-sticky-roundbar .round-sticky-strip{
  display:flex!important;
  align-items:stretch!important;
  gap:7px!important;
  height:54px!important;
  max-height:54px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.match-sticky-roundbar .round-sticky-strip::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
.match-sticky-roundbar .round-sticky-game{
  flex:0 0 215px!important;
  min-width:215px!important;
  height:54px!important;
  min-height:54px!important;
  padding:6px 8px!important;
  border-radius:9px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:5px 8px!important;
  align-items:center!important;
}
.match-sticky-roundbar .round-sticky-clubs{
  display:grid!important;
  gap:3px!important;
  min-width:0!important;
}
.match-sticky-roundbar .round-sticky-clubs span{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
}
.match-sticky-roundbar .round-sticky-clubs img{
  width:22px!important;
  height:22px!important;
  max-width:22px!important;
  max-height:22px!important;
  flex:0 0 22px!important;
  object-fit:contain!important;
}
.match-sticky-roundbar .round-sticky-clubs b{
  font-size:8px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.match-sticky-roundbar .round-sticky-score{
  align-self:center!important;
  font-size:14px!important;
  line-height:1!important;
}
.match-sticky-roundbar .round-sticky-game small{
  grid-column:1/-1!important;
  font-size:7px!important;
  line-height:1!important;
}
.match-sticky-roundbar .round-sticky-nav{
  width:32px!important;
  min-width:32px!important;
  height:42px!important;
  align-self:center!important;
  border-radius:8px!important;
  font-size:21px!important;
}

/* Collapse control is intentionally disabled in v2.18.8 */
.match-sticky-toggle{display:none!important}
.match-sticky-roundbar.collapsed .round-sticky-round,
.match-sticky-roundbar.is-collapsed .round-sticky-round{
  display:grid!important;
  max-height:54px!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.match-sticky-roundbar.collapsed,
.match-sticky-roundbar.is-collapsed{
  width:min(1180px,calc(100vw - 32px))!important;
  height:70px!important;
  min-height:70px!important;
  max-height:70px!important;
  padding:8px 10px!important;
  left:50%!important;
  right:auto!important;
  transform:translate(-50%,0)!important;
}

@media(max-width:700px){
  .match-sticky-roundbar{
    width:calc(100vw - 12px)!important;
    min-height:68px!important;
    max-height:68px!important;
    padding:7px 6px!important;
  }
  .match-sticky-roundbar .round-sticky-round{
    grid-template-columns:29px minmax(0,1fr) 29px!important;
    height:54px!important;
  }
  .match-sticky-roundbar .round-sticky-game{
    flex-basis:190px!important;
    min-width:190px!important;
    height:54px!important;
  }
  .match-sticky-roundbar .round-sticky-clubs img{
    width:20px!important;
    height:20px!important;
    max-width:20px!important;
    max-height:20px!important;
    flex-basis:20px!important;
  }
  .match-sticky-roundbar .round-sticky-nav{
    width:29px!important;
    min-width:29px!important;
    height:40px!important;
  }
}

/* v2.18.9 – larger fixed sticky round bar */
.match-sticky-roundbar{
  min-height:92px!important;
  max-height:92px!important;
  padding:10px 12px!important;
}
.match-sticky-roundbar .round-sticky-round{
  height:72px!important;
  max-height:72px!important;
  grid-template-columns:36px minmax(0,1fr) 36px!important;
  gap:9px!important;
}
.match-sticky-roundbar .round-sticky-strip{
  height:72px!important;
  max-height:72px!important;
  gap:9px!important;
}
.match-sticky-roundbar .round-sticky-game{
  flex:0 0 225px!important;
  min-width:225px!important;
  height:72px!important;
  min-height:72px!important;
  padding:8px 10px!important;
}
.match-sticky-roundbar .round-sticky-clubs{
  gap:4px!important;
}
.match-sticky-roundbar .round-sticky-clubs img{
  width:27px!important;
  height:27px!important;
  max-width:27px!important;
  max-height:27px!important;
  flex:0 0 27px!important;
}
.match-sticky-roundbar .round-sticky-clubs b{
  font-size:9px!important;
}
.match-sticky-roundbar .round-sticky-score{
  font-size:16px!important;
}
.match-sticky-roundbar .round-sticky-game small{
  font-size:8px!important;
}
.match-sticky-roundbar .round-sticky-nav{
  width:36px!important;
  min-width:36px!important;
  height:52px!important;
}
.match-sticky-roundbar.collapsed,
.match-sticky-roundbar.is-collapsed{
  height:92px!important;
  min-height:92px!important;
  max-height:92px!important;
  padding:10px 12px!important;
}
.match-sticky-roundbar.collapsed .round-sticky-round,
.match-sticky-roundbar.is-collapsed .round-sticky-round{
  max-height:72px!important;
}
@media(max-width:700px){
  .match-sticky-roundbar{
    min-height:82px!important;
    max-height:82px!important;
    padding:8px 7px!important;
  }
  .match-sticky-roundbar .round-sticky-round,
  .match-sticky-roundbar .round-sticky-strip{
    height:64px!important;
    max-height:64px!important;
  }
  .match-sticky-roundbar .round-sticky-game{
    flex-basis:200px!important;
    min-width:200px!important;
    height:64px!important;
    min-height:64px!important;
  }
  .match-sticky-roundbar .round-sticky-clubs img{
    width:24px!important;
    height:24px!important;
    max-width:24px!important;
    max-height:24px!important;
    flex-basis:24px!important;
  }
}

/* v2.19.0 – sticky offset + VIP ZÓNA in header */

/* Desktop header is 32px meta + 72px main nav = 104px.
   Sticky match strip must always begin BELOW the whole header. */
.match-sticky-roundbar{
  top:104px!important;
  z-index:75!important;
}

/* Brand + VIP zone */
.brand-vip-cluster{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  min-width:0;
}
.brand-vip-cluster .fixed-brand{flex:0 0 auto}
.header-vip-zone{
  position:relative;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  gap:5px;
  height:30px;
  padding:0 10px;
  border:1px solid rgba(255,201,73,.48);
  border-radius:999px;
  overflow:hidden;
  color:#ffe08a;
  background:
    linear-gradient(135deg,rgba(255,209,86,.16),rgba(80,49,4,.34)),
    #171207;
  box-shadow:
    inset 0 0 14px rgba(255,201,73,.08),
    0 0 14px rgba(255,183,37,.08);
  font-size:10px;
  line-height:1;
  font-weight:950;
  letter-spacing:.09em;
  white-space:nowrap;
}
.header-vip-zone .vip-star{
  color:#ffd45a;
  font-size:12px;
  text-shadow:0 0 9px rgba(255,205,73,.7);
}
.header-vip-zone::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-45%;
  bottom:-45%;
  width:24px;
  left:-42px;
  transform:skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.68),transparent);
  animation:ha-vip-shine 3.8s ease-in-out infinite;
}
.header-vip-zone:hover{
  color:#fff1b2;
  border-color:#ffd35e;
  box-shadow:
    inset 0 0 18px rgba(255,201,73,.14),
    0 0 18px rgba(255,183,37,.18);
}
@keyframes ha-vip-shine{
  0%,58%{left:-42px;opacity:0}
  64%{opacity:.9}
  82%{left:120%;opacity:.8}
  100%{left:120%;opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .header-vip-zone::before{animation:none}
}

/* Mobile header is 30px meta + 58px nav = 88px.
   Keep the sticky score completely below it too. */
@media(max-width:780px){
  .match-sticky-roundbar{
    top:88px!important;
  }
  .brand-vip-cluster{
    gap:7px;
    max-width:calc(100vw - 28px);
  }
  .header-vip-zone{
    height:27px;
    padding:0 8px;
    font-size:8.5px;
    letter-spacing:.07em;
  }
  .header-vip-zone .vip-star{font-size:10px}
}
@media(max-width:390px){
  .brand-vip-cluster .fixed-brand{font-size:19px}
  .header-vip-zone{
    padding:0 7px;
    font-size:7.5px;
    gap:3px;
  }
}

/* v2.19.1 – VIP ZÓNA belongs to the right user/action area */
.header-vip-right{flex:0 0 auto}
@media(max-width:780px){
  /* Main desktop actions are hidden on small screens, so expose VIP independently
     at the right side of the header while keeping account actions in drawer/bottom nav. */
  .nav .navactions{
    display:flex!important;
    margin-left:auto;
    align-items:center;
  }
  .nav .navactions > :not(.header-vip-right){display:none!important}
  .header-vip-right{display:inline-flex!important}
}

/* v2.19.2 – logged user visible in mobile top header */
@media(max-width:780px){
  .nav .navin{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }

  .nav .fixed-brand{
    flex:0 0 auto!important;
  }

  .nav .menu{
    display:none!important;
  }

  .nav .navactions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    margin-left:auto!important;
    min-width:0!important;
  }

  /* Hide secondary desktop-only actions, but keep VIP + logged user. */
  .nav .navactions > *{
    display:none!important;
  }
  .nav .navactions .header-vip-right,
  .nav .navactions .user-chip{
    display:inline-flex!important;
  }

  .nav .user-chip{
    height:32px!important;
    min-width:0!important;
    max-width:118px!important;
    padding:4px 8px 4px 5px!important;
    gap:6px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .nav .user-chip img{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    flex:0 0 24px!important;
    border-radius:50%!important;
    object-fit:cover!important;
  }

  .nav .user-chip .vip-mini{
    display:none!important;
  }

  .header-vip-right{
    height:29px!important;
    padding:0 8px!important;
    font-size:8px!important;
  }
}

/* On narrow phones, preserve the profile access but reduce it to avatar only. */
@media(max-width:430px){
  .nav .navin{
    gap:5px!important;
  }

  .fixed-brand{
    font-size:19px!important;
  }

  .header-vip-right{
    height:28px!important;
    padding:0 7px!important;
    font-size:7.5px!important;
    gap:3px!important;
  }

  .nav .user-chip{
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    padding:3px!important;
    font-size:0!important;
    gap:0!important;
    justify-content:center!important;
  }

  .nav .user-chip img{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
  }
}

/* Ultra-narrow devices: keep profile, shorten VIP label visually. */
@media(max-width:360px){
  .header-vip-right{
    width:31px!important;
    min-width:31px!important;
    padding:0!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  .header-vip-right > span:last-child{
    display:none!important;
  }
  .header-vip-right .vip-star{
    font-size:12px!important;
  }
}

/* v2.19.3 – real SuperPortal image logo */
.image-brand{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  padding:0!important;
  line-height:0!important;
}
.image-brand img{
  display:block!important;
  width:auto!important;
  height:56px!important;
  max-width:285px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 0 7px rgba(63,178,255,.20));
}
.fixed-brand.image-brand{
  min-width:235px;
}
.drawer-image-brand img{
  height:44px!important;
  max-width:230px!important;
}
@media(max-width:1100px){
  .fixed-brand.image-brand{min-width:205px}
  .fixed-brand.image-brand img{height:49px!important;max-width:240px!important}
}
@media(max-width:780px){
  .fixed-brand.image-brand{
    min-width:0!important;
    max-width:190px!important;
  }
  .fixed-brand.image-brand img{
    height:42px!important;
    max-width:190px!important;
  }
}
@media(max-width:520px){
  .fixed-brand.image-brand{
    max-width:155px!important;
  }
  .fixed-brand.image-brand img{
    height:36px!important;
    max-width:155px!important;
  }
}
@media(max-width:390px){
  .fixed-brand.image-brand{max-width:135px!important}
  .fixed-brand.image-brand img{height:32px!important;max-width:135px!important}
}

/* v2.19.4 – desktop VIP vertical alignment with user chip */
@media(min-width:781px){
  .nav .navactions{align-self:stretch!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important}
  .nav .navactions .header-vip-right,.nav .navactions .user-chip,.nav .navactions > .btn{margin-top:0!important;margin-bottom:0!important;align-self:center!important}
  .nav .navactions .header-vip-right{position:relative!important;top:0!important;transform:none!important}
}

/* v2.21.0 – admin security / 2FA */
.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.security-grid .backup-codes-panel{grid-column:1/-1}
.security-secret,.security-uri{padding:14px;border:1px solid #2d526e;background:#071827;border-radius:12px;overflow:auto;margin:12px 0}
.security-secret code{font-size:20px;letter-spacing:.12em;color:#79d8ff;font-weight:900}
.security-uri code{font-size:11px;color:#9db7ca;word-break:break-all}
.backup-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.backup-code-grid code{display:block;padding:12px;text-align:center;border:1px solid #31526d;background:#071827;border-radius:9px;font-size:15px;letter-spacing:.08em;font-weight:850}
.role-badge{display:inline-flex;padding:3px 7px;border:1px solid #36566d;border-radius:999px;font-size:7px;letter-spacing:.07em;color:#a9c5d8}
.user-row-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.user-row-actions form{margin:0}
@media(max-width:850px){.security-grid{grid-template-columns:1fr}.backup-code-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.backup-code-grid{grid-template-columns:1fr}.security-secret code{font-size:15px}}

/* =========================================================
   v2.22.0 – DUAL PWA / SUPERADMIN MOBILE APP
   ========================================================= */
.admin-body{background:#07111f;min-height:100vh}
.admin-mobile-top{display:none}
.admin-sidebar-logo{display:flex;align-items:center;min-height:58px;margin:0 4px 8px}
.admin-sidebar-logo img{width:195px;height:auto;display:block}
.admin-sidebar-head{display:flex;align-items:center;justify-content:space-between}
.admin-mobile-close{display:none}
.admin-install-link{width:100%;border:1px solid #2a526f;background:#0b2237;color:#77d5ff;border-radius:10px;padding:9px 10px;font-weight:800;cursor:pointer;text-align:left}
.admin-bottom-nav{display:none}
.admin-side-footer{position:absolute;left:18px;right:18px;bottom:14px;display:grid;gap:5px}
.admin-side-footer a,.admin-side-footer span{font-size:11px;padding:5px;color:#9db0c7}
.admin-side-footer .admin-logout{color:#ff8d98;font-weight:800}
.sidebar{overflow:hidden}
.side-menu{overflow-y:auto;max-height:calc(100vh - 210px);padding-right:4px;scrollbar-width:thin}
.admin-main{min-width:0}

/* Installed standalone admin feels like a native shell */
.admin-standalone .admin-mobile-top{padding-top:env(safe-area-inset-top)}
.admin-standalone .admin-bottom-nav{padding-bottom:env(safe-area-inset-bottom)}

@media(max-width:860px){
  body.admin-body{padding-bottom:76px!important;background:#07111f}
  .admin-shell{display:block;min-height:100vh}
  .admin-main{
    padding:14px 12px 26px!important;
    width:100%;
    overflow-x:hidden;
  }

  .admin-mobile-top{
    position:sticky;
    top:0;
    z-index:180;
    min-height:58px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:8px;
    align-items:center;
    padding:8px 11px;
    background:rgba(5,14,25,.97);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(14px);
  }
  .admin-mobile-menu-btn{
    width:38px;height:38px;border:1px solid #29435d;border-radius:11px;
    background:#0d2033;color:#fff;font-size:20px;cursor:pointer
  }
  .admin-mobile-brand{display:flex;align-items:center;min-width:0}
  .admin-mobile-brand img{height:35px;width:auto;max-width:170px;object-fit:contain;object-position:left center}
  .admin-mobile-user{display:flex;align-items:center;gap:6px;min-width:0}
  .admin-mobile-user span{
    max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    color:#bcd0e3;font-size:10px;font-weight:850
  }
  .admin-mobile-user a{
    width:34px;height:34px;display:grid;place-items:center;background:#102944;
    border:1px solid #29435d;border-radius:50%
  }

  .sidebar{
    display:block!important;
    position:fixed!important;
    z-index:220;
    top:0;bottom:0;left:0;
    width:min(86vw,330px)!important;
    height:100dvh!important;
    padding:calc(12px + env(safe-area-inset-top)) 14px calc(12px + env(safe-area-inset-bottom))!important;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:24px 0 70px rgba(0,0,0,.48);
    overflow:hidden!important;
  }
  .sidebar.open{transform:translateX(0)}
  .admin-sidebar-logo img{width:205px}
  .admin-mobile-close{
    display:grid;width:38px;height:38px;place-items:center;border:1px solid #29435d;
    border-radius:11px;background:#0d2033;color:#fff;font-size:25px;cursor:pointer
  }
  .side-menu{
    max-height:calc(100dvh - 195px);
    overflow-y:auto;
    overscroll-behavior:contain;
    padding-bottom:10px
  }
  .side-menu a{padding:11px 12px;font-size:13px}
  .admin-side-footer{position:absolute;bottom:calc(8px + env(safe-area-inset-bottom))}
  .admin-version{display:none!important}

  .admin-mobile-backdrop{
    position:fixed;z-index:210;inset:0;background:rgba(0,0,0,.64);backdrop-filter:blur(2px)
  }
  body.admin-drawer-open{overflow:hidden}

  .admin-bottom-nav{
    position:fixed;
    z-index:190;
    left:0;right:0;bottom:0;
    min-height:66px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    background:rgba(5,14,25,.98);
    border-top:1px solid var(--line);
    padding:4px 5px calc(4px + env(safe-area-inset-bottom));
    backdrop-filter:blur(14px);
  }
  .admin-bottom-nav a,.admin-bottom-nav button{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
    border:0;background:transparent;color:#91a8bc;font:inherit;border-radius:10px;min-width:0;
  }
  .admin-bottom-nav span{font-size:19px;line-height:1}
  .admin-bottom-nav b{font-size:8px;line-height:1.1;white-space:nowrap}
  .admin-bottom-nav .active{color:#58c8ff;background:rgba(88,200,255,.08)}

  /* Turn desktop admin headings/forms into touch-friendly mobile UI */
  .section-title,.admin-title{align-items:flex-start!important;gap:8px!important}
  .section-title h1,.admin-title h1{font-size:27px!important;line-height:1.08!important;margin-top:4px!important}
  .section-title h2{font-size:20px!important}
  .panel{padding:14px!important}
  .card{border-radius:15px!important}
  .btn{min-height:42px}
  input,select,textarea{font-size:16px!important;min-height:44px}
  .field label{font-size:10px}
  .grid2,.formgrid{grid-template-columns:1fr!important}
  .kpis,.status-kpis{grid-template-columns:1fr 1fr!important}
  .admin-grid,.status-two-col,.cron-health-grid,.email-admin-layout,.automation-grid,.user-admin-grid{grid-template-columns:1fr!important}
  .tablewrap{
    max-width:100%;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
    border-radius:12px
  }
  .admintable{min-width:680px}
  .admintable th,.admintable td{padding:9px 8px}
  .sticky-save{bottom:78px!important}
}

@media(max-width:480px){
  .admin-mobile-user span{display:none}
  .admin-mobile-brand img{max-width:150px;height:32px}
  .admin-main{padding-left:9px!important;padding-right:9px!important}
  .kpis,.status-kpis{grid-template-columns:1fr!important}
  .section-title h1,.admin-title h1{font-size:24px!important}
}

/* iOS safe areas for public PWA too */
@media(max-width:860px){
  .mobile-nav{height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
}

/* =========================================================
   v2.22.1 – ADMIN LAYOUT / RESPONSIVE FIX
   ========================================================= */

/* Desktop admin shell: stable sidebar, menu starts at top, footer sits naturally */
@media(min-width:861px){
  .admin-shell{
    display:grid!important;
    grid-template-columns:270px minmax(0,1fr)!important;
    min-height:100vh!important;
    align-items:start!important;
  }
  .admin-body .sidebar{
    display:flex!important;
    flex-direction:column!important;
    position:sticky!important;
    top:0!important;
    width:270px!important;
    height:100vh!important;
    min-height:100vh!important;
    padding:16px 14px!important;
    overflow:hidden!important;
    transform:none!important;
  }
  .admin-sidebar-head{
    flex:0 0 auto!important;
    margin-bottom:4px!important;
  }
  .admin-sidebar-logo{
    min-height:48px!important;
    margin:0 2px 8px!important;
  }
  .admin-sidebar-logo img{
    width:200px!important;
    max-height:48px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  .admin-body .side-menu{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 3px 10px 0!important;
  }
  .admin-body .side-menu a{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    min-height:40px!important;
    padding:9px 10px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  .admin-body .admin-side-footer{
    position:static!important;
    flex:0 0 auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    margin-top:8px!important;
    padding-top:8px!important;
    border-top:1px solid var(--line)!important;
    display:grid!important;
    gap:3px!important;
  }
  .admin-body .admin-side-footer a,
  .admin-body .admin-side-footer span,
  .admin-body .admin-install-link{
    width:100%!important;
  }
  .admin-body .admin-main{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    padding:22px 24px 40px!important;
  }
}

/* Prevent old admin components from forcing viewport overflow */
.admin-main *,
.admin-main *::before,
.admin-main *::after{
  min-width:0;
}
.admin-main img{
  max-width:100%;
  height:auto;
}
.admin-main pre,
.admin-main code{
  max-width:100%;
}
.admin-main pre{
  overflow:auto;
}
.admin-main .cron-code{
  max-width:100%!important;
  overflow:auto!important;
}
.admin-main .cron-code code{
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.admin-main textarea{
  resize:vertical;
}
.admin-main iframe{
  max-width:100%!important;
}

/* Tables may scroll INSIDE their card, never the full page */
.admin-main .tablewrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
}
.admin-main .admintable{
  width:100%!important;
  max-width:none!important;
}
.admin-main .admintable th,
.admin-main .admintable td{
  vertical-align:middle!important;
}

/* Common admin grids should shrink properly */
.admin-main .admin-grid,
.admin-main .status-two-col,
.admin-main .cron-health-grid,
.admin-main .automation-grid,
.admin-main .user-admin-grid,
.admin-main .email-admin-layout,
.admin-main .security-grid,
.admin-main .grid2,
.admin-main .grid3,
.admin-main .formgrid{
  max-width:100%!important;
}

/* Mobile */
@media(max-width:860px){
  html,body.admin-body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  .admin-mobile-top{
    width:100%!important;
    max-width:100%!important;
  }
  .admin-main{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  /* Cards/forms use full available width */
  .admin-main > *,
  .admin-main form,
  .admin-main section,
  .admin-main .card,
  .admin-main .panel{
    max-width:100%!important;
  }

  .admin-title,
  .section-title{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
  }
  .admin-title > *,
  .section-title > *{
    max-width:100%!important;
  }

  .kpis,
  .status-kpis,
  .postmatch-health-kpis{
    width:100%!important;
  }

  .grid2,
  .grid3,
  .formgrid,
  .admin-grid,
  .status-two-col,
  .cron-health-grid,
  .automation-grid,
  .user-admin-grid,
  .email-admin-layout,
  .security-grid,
  .tips-layout,
  .profile-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    gap:10px!important;
  }

  /* Two KPI columns still okay on tablets */
  .kpis,
  .status-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  /* Never force huge admin tables wider than their wrapper more than necessary */
  .admin-main .admintable{
    width:max-content!important;
    min-width:100%!important;
    max-width:none!important;
  }
  .admin-main .admintable th,
  .admin-main .admintable td{
    white-space:nowrap!important;
    font-size:11px!important;
    padding:8px 7px!important;
  }

  /* Admin buttons/actions wrap instead of overflowing */
  .form-actions,
  .test-actions,
  .email-editor-actions,
  .user-row-actions,
  .inline-form,
  .actions,
  .sticky-save{
    max-width:100%!important;
    flex-wrap:wrap!important;
  }
  .form-actions .btn,
  .test-actions .btn,
  .email-editor-actions .btn{
    max-width:100%!important;
  }

  /* Long settings / cron URLs / errors */
  .status-error-box,
  .status-ok-box,
  .diagnostic-list,
  .service-row,
  .cron-health-card,
  .automation-card{
    overflow:hidden!important;
    overflow-wrap:anywhere!important;
  }
  .service-row{
    grid-template-columns:12px minmax(0,1fr)!important;
  }
  .service-row > a{
    grid-column:2!important;
    justify-self:start!important;
  }

  /* Email template UI */
  .email-template-list{
    max-height:none!important;
  }
  .email-preview-frame{
    width:100%!important;
    min-height:620px!important;
  }

  /* User edit form and filters */
  .user-filters{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .user-edit-form{
    position:static!important;
    width:100%!important;
  }

  /* Sticky save may otherwise cover bottom nav */
  .sticky-save{
    position:sticky!important;
    bottom:76px!important;
    width:100%!important;
    padding:8px!important;
    border-radius:12px!important;
  }
}

@media(max-width:520px){
  .admin-main{
    padding:10px 8px 24px!important;
  }
  .kpis,
  .status-kpis{
    grid-template-columns:1fr!important;
  }
  .admin-mobile-top{
    grid-template-columns:40px minmax(0,1fr) 36px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .admin-mobile-user span{
    display:none!important;
  }
  .admin-mobile-user{
    width:36px!important;
  }
  .admin-mobile-user a{
    width:34px!important;
    height:34px!important;
  }
  .admin-mobile-brand img{
    max-width:145px!important;
  }
  .panel{
    padding:12px!important;
  }
  .btn{
    font-size:12px!important;
    padding:10px 12px!important;
  }
  input,select,textarea{
    width:100%!important;
    max-width:100%!important;
  }
}

/* v2.23.0 Web Push */
.admin-push-fab{position:fixed;right:18px;bottom:18px;z-index:205;display:flex;align-items:center;gap:8px}
.admin-push-fab button{width:44px;height:44px;border-radius:50%;border:1px solid #31526d;background:#102944;color:#fff;box-shadow:0 8px 25px rgba(0,0,0,.3);cursor:pointer}
.admin-push-fab button.active{border-color:#58c8ff;box-shadow:0 0 0 3px rgba(88,200,255,.12)}
.admin-push-fab span{font-size:10px;background:#071827;color:#cde7f7;border:1px solid #29435d;border-radius:9px;padding:6px 8px;max-width:220px}
.admin-push-fab span:empty{display:none}
@media(max-width:860px){.admin-push-fab{right:10px;bottom:78px}}

/* =========================================================
   v2.23.1 – ADMIN TRUE PWA + MOBILE DRAWER FIX
   ========================================================= */
.admin-pwa-install-sheet[hidden]{display:none!important}
.admin-pwa-install-sheet{
  position:fixed;inset:0;z-index:500;
  display:grid;place-items:center;padding:18px;
  background:rgba(1,7,14,.76);backdrop-filter:blur(8px)
}
.admin-pwa-install-card{
  width:min(520px,100%);
  position:relative;
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:20px;
  border:1px solid #2d526e;
  border-radius:20px;
  background:#0b1b2e;
  box-shadow:0 28px 90px rgba(0,0,0,.55)
}
.admin-pwa-install-card>img{width:68px;height:68px;border-radius:16px}
.admin-pwa-install-card h3{margin:3px 0 5px;font-size:22px}
.admin-pwa-install-card p{margin:0;color:#9db0c7}
.admin-pwa-install-card>.btn,
.admin-ios-install{grid-column:1/-1}
.admin-pwa-install-close{
  position:absolute;right:10px;top:10px;
  width:34px;height:34px;border-radius:50%;
  border:1px solid #36516b;background:#102944;color:#fff;font-size:22px;cursor:pointer
}
.admin-ios-install{
  display:grid;gap:7px;
  padding:14px;border:1px solid #294b66;border-radius:14px;background:#071827
}
.admin-ios-install span{color:#c0d1df;font-size:13px}

/* Mobile drawer is ONE scrollable column. Nothing absolute inside it. */
@media(max-width:860px){
  .admin-app-drawer{
    display:flex!important;
    flex-direction:column!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;
  }
  .admin-app-drawer .admin-sidebar-head{
    flex:0 0 auto!important;
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    padding:2px 0 8px!important;
    background:#06101d!important;
  }
  .admin-app-drawer .admin-drawer-scroll{
    flex:0 0 auto!important;
    display:grid!important;
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
    padding-bottom:8px!important;
  }
  .admin-app-drawer .admin-side-footer{
    position:static!important;
    left:auto!important;right:auto!important;bottom:auto!important;
    flex:0 0 auto!important;
    display:grid!important;
    gap:4px!important;
    margin-top:8px!important;
    padding:12px 0 6px!important;
    border-top:1px solid var(--line)!important;
    background:transparent!important;
  }
  .admin-app-drawer .admin-side-footer a,
  .admin-app-drawer .admin-side-footer span,
  .admin-app-drawer .admin-install-link{
    display:flex!important;
    align-items:center!important;
    min-height:40px!important;
    padding:9px 12px!important;
    margin:0!important;
    font-size:12px!important;
  }
  .admin-app-drawer .admin-side-footer span{
    min-height:auto!important;color:#60778d!important
  }
  .admin-app-drawer .side-sep{margin:10px 4px!important}
  .admin-app-drawer .admin-label{margin:10px 10px 4px!important}
}

/* In true PWA standalone mode there is no browser chrome.
   Give iPhone top/bottom safe areas to the app shell itself. */
@media(max-width:860px){
  .admin-standalone .admin-mobile-top{
    padding-top:calc(8px + env(safe-area-inset-top))!important;
    min-height:calc(58px + env(safe-area-inset-top))!important
  }
  .admin-standalone .admin-bottom-nav{
    min-height:calc(66px + env(safe-area-inset-bottom))!important
  }
  .admin-standalone .admin-main{
    padding-bottom:calc(28px + env(safe-area-inset-bottom))!important
  }
}

@media(max-width:520px){
  .admin-pwa-install-card{
    grid-template-columns:56px minmax(0,1fr);
    padding:17px 14px
  }
  .admin-pwa-install-card>img{width:52px;height:52px;border-radius:12px}
  .admin-pwa-install-card h3{font-size:19px;padding-right:25px}
}

/* v2.23.2 – normal admin login + PWA-friendly auth */
.admin-login-body{margin:0;min-height:100dvh;background:radial-gradient(circle at 50% 0,#113050 0,transparent 38%),#06101d}
.admin-login-shell{min-height:100dvh;display:grid;place-items:center;padding:24px;padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.admin-login-card{width:min(440px,100%);padding:26px}
.admin-login-logo{display:block;width:250px;max-width:75%;height:auto;margin:0 0 20px}
.admin-login-card h1{font-size:34px;margin:5px 0 4px}
.admin-login-back{margin:18px 0 0;text-align:center;color:#9db0c7;font-size:12px}
.admin-login-body .field input{font-size:16px;min-height:48px}
@media(max-width:520px){
  .admin-login-shell{padding:14px}
  .admin-login-card{padding:20px 16px}
  .admin-login-logo{width:220px}
  .admin-login-card h1{font-size:29px}
}
\n/* v2.23.5 – mobile PWA header/menu cleanup */\n.mobile-top-menu-button{display:none}\n@media(max-width:780px){\n  .nav .navin{justify-content:flex-start!important}\n  .nav .fixed-brand{margin-right:auto!important}\n  .nav .navactions{margin-left:0!important;flex:0 1 auto!important}\n  .mobile-top-menu-button{display:inline-flex!important;width:36px;height:36px;flex:0 0 36px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:#0a1b2d;color:#fff;font-size:20px;line-height:1;cursor:pointer}\n  .mobile-nav .mobile-notification-link{display:flex}\n}\n@media(max-width:430px){\n  .nav .header-vip-right{display:none!important}\n  .nav .fixed-brand img{max-width:165px!important}\n  .mobile-top-menu-button{width:34px;height:34px;flex-basis:34px}\n}\n#notifications{scroll-margin-top:100px}\n
/* =========================================================
   v2.24.0 – PUBLIC SUPERPORTAL PWA
   ========================================================= */
.public-pwa-install-sheet[hidden]{display:none!important}
.public-pwa-install-sheet{
  position:fixed;inset:0;z-index:600;
  display:grid;place-items:center;padding:18px;
  background:rgba(1,7,14,.78);backdrop-filter:blur(9px)
}
.public-pwa-install-card{
  width:min(520px,100%);
  position:relative;
  display:grid;grid-template-columns:78px minmax(0,1fr);
  gap:14px;align-items:center;
  padding:21px;
  border:1px solid #2c526e;border-radius:22px;
  background:#0b1b2e;box-shadow:0 28px 90px rgba(0,0,0,.55)
}
.public-pwa-install-card>img{width:70px;height:70px;border-radius:17px}
.public-pwa-install-card h3{margin:3px 0 5px;font-size:23px}
.public-pwa-install-card p{margin:0;color:#9db0c7}
.public-pwa-install-card>.btn,.public-ios-install{grid-column:1/-1}
.public-pwa-install-close{
  position:absolute;right:10px;top:10px;width:34px;height:34px;
  border-radius:50%;border:1px solid #36516b;background:#102944;color:#fff;font-size:22px;cursor:pointer
}
.public-ios-install{
  display:grid;gap:7px;padding:14px;border:1px solid #294b66;border-radius:14px;background:#071827
}
.public-ios-install span{color:#c0d1df;font-size:13px}

/* True installed PWA shell */
.public-standalone .app-meta{padding-top:env(safe-area-inset-top)}
.public-standalone .mobile-nav{
  height:calc(64px + env(safe-area-inset-bottom))!important;
  padding-bottom:env(safe-area-inset-bottom)!important;
}
.public-standalone .footer{
  padding-bottom:calc(30px + env(safe-area-inset-bottom))
}
.public-standalone .sticky-main-nav{top:0}

/* Mobile public app feels like a native app */
@media(max-width:860px){
  body.public-app-body{
    width:100%;max-width:100%;overflow-x:hidden;
    padding-bottom:calc(70px + env(safe-area-inset-bottom))
  }
  .app-header,.app-header .nav,.app-header .container{max-width:100%}
  .navin{height:60px!important;gap:8px!important}
  .fixed-brand.image-brand img{
    max-height:42px!important;width:auto!important;object-fit:contain!important
  }
  .mobile-nav{
    z-index:160!important;
    background:rgba(5,13,23,.985)!important;
    backdrop-filter:blur(15px)!important;
    box-shadow:0 -8px 28px rgba(0,0,0,.22)!important
  }
  .mobile-nav a,.mobile-nav button{
    min-width:0!important;border:0;background:transparent;color:#9fb2c8
  }
  .mobile-nav a.active{color:#58c8ff!important}
  .mobile-nav .mobile-main{
    position:relative;color:#58c8ff!important
  }
  .mobile-nav .mobile-main .micon{
    width:36px;height:36px;display:grid;place-items:center;
    margin-top:-18px;border-radius:50%;
    background:#58c8ff;color:#06101d;
    box-shadow:0 6px 22px rgba(88,200,255,.3)
  }
  .mobile-drawer{
    max-height:100dvh!important;
    padding-top:calc(14px + env(safe-area-inset-top))!important;
    padding-bottom:calc(20px + env(safe-area-inset-bottom))!important
  }
  .mobile-drawer .drawer-links{
    overflow-y:auto!important;
    max-height:calc(100dvh - 130px)!important;
    -webkit-overflow-scrolling:touch!important
  }
  .page-top-fix,.hero,.section,.pagehero{
    max-width:100%;overflow-x:hidden
  }
}

@media(max-width:520px){
  .public-pwa-install-card{
    grid-template-columns:56px minmax(0,1fr);padding:17px 14px
  }
  .public-pwa-install-card>img{width:52px;height:52px;border-radius:12px}
  .public-pwa-install-card h3{font-size:19px;padding-right:24px}
}

/* =========================================================
   v2.24.1 – ADMIN MOBILE NAV FINAL
   logo left • user middle/right • menu far right • bell bottom
   ========================================================= */
.admin-push-fab{display:none!important}
.admin-push-status-toast{
  position:fixed;z-index:420;
  left:50%;bottom:86px;transform:translate(-50%,10px);
  max-width:min(90vw,360px);
  padding:9px 13px;border:1px solid #31526d;border-radius:12px;
  background:#071827;color:#d7edf9;font-size:11px;font-weight:800;
  opacity:0;pointer-events:none;transition:.18s ease
}
.admin-push-status-toast:empty{display:none}
.admin-push-status-toast.show{display:block;opacity:1;transform:translate(-50%,0)}

@media(max-width:860px){
  .admin-mobile-top{
    grid-template-columns:minmax(0,1fr) auto 42px!important;
    gap:8px!important;
  }
  .admin-mobile-brand{
    grid-column:1!important;
    justify-self:start!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .admin-mobile-brand img{
    display:block!important;
    max-width:180px!important;
    width:auto!important;
    height:36px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  .admin-mobile-user{
    grid-column:2!important;
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }
  .admin-mobile-menu-btn{
    grid-column:3!important;
    justify-self:end!important;
    margin:0!important;
  }

  .admin-bottom-nav .admin-bottom-push{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
    border:0!important;
    background:transparent!important;
    color:#91a8bc!important;
    border-radius:10px!important;
    font:inherit!important;
    min-width:0!important;
  }
  .admin-bottom-nav .admin-bottom-push span{
    font-size:19px!important;line-height:1!important
  }
  .admin-bottom-nav .admin-bottom-push b{
    font-size:8px!important;line-height:1.1!important;white-space:nowrap!important
  }
  .admin-bottom-nav .admin-bottom-push.active{
    color:#58c8ff!important;
    background:rgba(88,200,255,.08)!important;
  }
}

@media(max-width:520px){
  .admin-mobile-top{
    grid-template-columns:minmax(0,1fr) 36px 40px!important;
  }
  .admin-mobile-user span{display:none!important}
  .admin-mobile-user{width:36px!important}
  .admin-mobile-brand img{max-width:155px!important;height:33px!important}
}

/* v2.24.2 – public PWA install popup fix */
.public-pwa-install-sheet[hidden],
.public-standalone .public-pwa-install-sheet{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.public-pwa-install-close{
  z-index:5!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
  cursor:pointer!important;
}

/* =========================================================
   v2.24.3 – PUBLIC PWA MOBILE MENU
   väčšie, čitateľnejšie a vizuálne zladené s SuperPortal
   ========================================================= */
@media(max-width:860px){
  body.public-app-body .mobile-nav{
    height:calc(76px + env(safe-area-inset-bottom))!important;
    min-height:76px!important;
    padding:5px 7px calc(5px + env(safe-area-inset-bottom))!important;
    gap:4px!important;
    background:
      linear-gradient(180deg,rgba(12,31,50,.96) 0%,rgba(7,17,31,.99) 100%)!important;
    border-top:1px solid rgba(88,200,255,.14)!important;
    box-shadow:
      0 -12px 35px rgba(0,0,0,.24),
      inset 0 1px 0 rgba(255,255,255,.025)!important;
    backdrop-filter:blur(18px) saturate(125%)!important;
  }

  body.public-app-body .mobile-nav a,
  body.public-app-body .mobile-nav button{
    min-height:62px!important;
    padding:5px 2px!important;
    border-radius:14px!important;
    gap:3px!important;
    transition:background .16s ease,color .16s ease,transform .16s ease!important;
  }

  body.public-app-body .mobile-nav .micon{
    font-size:24px!important;
    line-height:1!important;
    min-height:27px!important;
    display:grid!important;
    place-items:center!important;
  }

  body.public-app-body .mobile-nav a>span:last-child,
  body.public-app-body .mobile-nav button>span:last-child{
    font-size:10px!important;
    line-height:1.05!important;
    font-weight:850!important;
    letter-spacing:.01em!important;
  }

  body.public-app-body .mobile-nav a.active{
    color:#8bdcff!important;
    background:linear-gradient(180deg,rgba(88,200,255,.10),rgba(88,200,255,.035))!important;
  }

  body.public-app-body .mobile-nav a:active,
  body.public-app-body .mobile-nav button:active{
    transform:scale(.96)!important;
    background:rgba(88,200,255,.08)!important;
  }

  /* hlavné Tipovať ostáva dominantné, ale už zapadá do dizajnu */
  body.public-app-body .mobile-nav .mobile-main .micon{
    width:43px!important;
    height:43px!important;
    min-height:43px!important;
    margin-top:-19px!important;
    font-size:23px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    background:linear-gradient(145deg,#72d6ff,#3fb7ee)!important;
    color:#06101d!important;
    box-shadow:
      0 8px 24px rgba(48,171,226,.30),
      0 0 0 4px rgba(7,17,31,.88)!important;
  }

  body.public-app-body{
    padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;
  }
}

@media(max-width:390px){
  body.public-app-body .mobile-nav{
    padding-left:4px!important;
    padding-right:4px!important;
    gap:2px!important;
  }
  body.public-app-body .mobile-nav .micon{
    font-size:22px!important;
  }
  body.public-app-body .mobile-nav a>span:last-child,
  body.public-app-body .mobile-nav button>span:last-child{
    font-size:9px!important;
  }
}

/* =========================================================
   v2.25.0 – SUPERPORTAL NEWS PORTAL REDESIGN
   ONLY public homepage/news/article presentation.
   ========================================================= */
.portal-home,.portal-news-page,.portal-article-page{padding-top:22px}
.portal-topline{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px 0 14px;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:18px}
.portal-topline-live,.portal-topline-links{display:flex;align-items:center;gap:10px}.portal-topline-live{font-size:11px;color:#91a8bd}.portal-topline-live strong{color:#fff;letter-spacing:.12em}.portal-topline-links a{font-size:11px;font-weight:800;color:#a9bed1}.portal-topline-links a:hover{color:var(--ice)}

.portal-lead{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.75fr);gap:14px;margin-bottom:22px}
.portal-lead-main,.portal-lead-media{min-width:0}.portal-lead-media{position:relative;height:510px;border-radius:21px;overflow:hidden;background:#102944;border:1px solid #263f59}
.portal-lead-media>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.portal-lead-main:hover img{transform:scale(1.018)}
.portal-image-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,10,17,.02) 25%,rgba(3,10,17,.90) 100%)}
.portal-lead-copy{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:30px 32px}
.portal-category{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 8px;border-radius:7px;background:#58c8ff;color:#06111d;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.portal-lead-copy h1{font-size:clamp(30px,4.1vw,51px);line-height:1.02;letter-spacing:-1.9px;margin:11px 0 9px;max-width:900px}.portal-lead-copy p{margin:0;color:#c6d3df;font-size:14px;max-width:760px}.portal-meta{margin-top:11px;color:#91a6b9;font-size:10px;font-weight:700}.portal-meta span{margin:0 5px}
.score-cover img{object-fit:contain!important;background:#07111f!important}

.portal-lead-side{display:grid;grid-template-rows:repeat(3,1fr) auto;gap:9px}
.portal-side-story{display:grid;grid-template-columns:122px minmax(0,1fr);gap:11px;padding:9px;border:1px solid #223b55;border-radius:15px;background:linear-gradient(180deg,#10253d,#0d1d30);transition:.18s ease}
.portal-side-story:hover{border-color:#356686;transform:translateY(-1px)}
.portal-side-thumb{height:100%;min-height:105px;border-radius:10px;overflow:hidden;background:#071525}.portal-side-thumb img{width:100%;height:100%;object-fit:cover}
.portal-side-story .portal-category{font-size:7px;padding:3px 5px}.portal-side-story h2{font-size:14px;line-height:1.18;margin:6px 0 5px}.portal-side-story small{font-size:9px;color:#7790a7}
.portal-all-news{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-radius:13px;background:#58c8ff;color:#05111d;font-size:12px;font-weight:950}.portal-all-news b{font-size:19px}

.portal-empty-hero{padding:45px;margin-bottom:20px}.portal-empty-hero h1{font-size:46px;margin:7px 0 8px}
.portal-section{margin:27px 0}.portal-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:13px}.portal-section-head.compact{align-items:center}
.portal-section-head h2{font-size:25px;line-height:1.05;margin:3px 0}.portal-section-head h3{margin:2px 0}.portal-section-head p{font-size:10px;color:#8299ae;margin:4px 0 0}.portal-section-head>a{font-size:10px;color:#80cfee;font-weight:850;white-space:nowrap}

.portal-live-strip{padding:17px;border-radius:18px;background:linear-gradient(135deg,rgba(16,42,68,.92),rgba(9,24,41,.92));border:1px solid #24415e;margin-bottom:24px}
.portal-live-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.portal-live-card{padding:13px;border-radius:13px;background:#081827;border:1px solid #294760}
.portal-live-state{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#a8bdcf;margin-bottom:8px}.portal-live-state>span{color:#ff6978;font-weight:950}
.portal-live-team{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;margin:6px 0}.portal-live-team>span,.portal-schedule-game div>span,.portal-result-team>span,.portal-sidebar-games div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#102944}
.portal-live-team img,.portal-schedule-game img,.portal-result-team img,.portal-sidebar-games img{width:23px;height:23px;object-fit:contain}.portal-live-team strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-live-team>b{font-size:20px}
.portal-schedule-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.portal-schedule-game{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 7px;padding:11px;border-radius:12px;background:#081827;border:1px solid #263f58}
.portal-schedule-game time{grid-row:1/3;display:grid;align-content:center;text-align:center;color:#92a8bb;font-size:9px}.portal-schedule-game time b{color:#58c8ff;font-size:11px}.portal-schedule-game div{display:flex;align-items:center;gap:6px;min-width:0;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-schedule-game div>span{width:24px;height:24px;flex:0 0 24px}.portal-schedule-game img{width:20px;height:20px}
.portal-inline-empty{padding:15px;border-radius:12px;background:#081827;color:#9db0c7}

.portal-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px;align-items:start}.portal-home-main{min-width:0}.portal-home-sidebar{display:grid;gap:13px;position:sticky;top:90px}
.portal-widget{padding:16px;border:1px solid #233e58;border-radius:16px;background:linear-gradient(180deg,#10253c,#0b1a2c);box-shadow:0 12px 35px rgba(0,0,0,.13)}
.portal-widget-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;margin-bottom:10px}.portal-widget-head h3{font-size:17px;margin:2px 0}.portal-widget-head>a,.portal-widget-link{font-size:9px;color:#77c9ed;font-weight:850}
.portal-tip-widget{position:relative;overflow:hidden;background:radial-gradient(circle at 95% 0,rgba(88,200,255,.20),transparent 35%),linear-gradient(180deg,#12304e,#0c1e32)}
.portal-tip-widget:after{content:"";position:absolute;width:140px;height:140px;border-radius:50%;right:-70px;bottom:-75px;background:rgba(88,200,255,.07)}.portal-tip-icon{font-size:36px}.portal-tip-widget h2,.portal-tip-widget h3{font-size:22px;line-height:1.05;margin:6px 0}.portal-tip-widget p,.portal-notify-widget p{font-size:11px;color:#aebed0}.portal-tip-widget .portal-widget-link{display:block;margin-top:12px}
.portal-tip-widget.compact h3{font-size:19px}

.portal-news-feed{display:grid;gap:1px;background:#22384f;border:1px solid #22384f;border-radius:15px;overflow:hidden}
.portal-feed-story{display:grid;grid-template-columns:190px minmax(0,1fr);gap:15px;padding:12px;background:#0d1d30;transition:.16s}.portal-feed-story:hover{background:#11263d}
.portal-feed-thumb{height:112px;border-radius:9px;overflow:hidden;background:#071525}.portal-feed-thumb img{width:100%;height:100%;object-fit:cover}
.portal-story-meta{display:flex;gap:8px;align-items:center;font-size:8px;text-transform:uppercase;letter-spacing:.06em;color:#7790a6}.portal-story-meta span{color:#58c8ff;font-weight:900}
.portal-feed-story h3{font-size:17px;line-height:1.17;margin:6px 0}.portal-feed-story p{font-size:11px;color:#9db0c7;margin:0}

.portal-results{overflow:hidden}.portal-result-row{display:grid;grid-template-columns:42px minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:9px;padding:10px 13px;border-bottom:1px solid #213850}.portal-result-row:last-child{border-bottom:0}.portal-result-row:hover{background:#12263d}
.portal-result-row time{font-size:9px;color:#8299ad}.portal-result-team{display:flex;align-items:center;gap:7px;min-width:0}.portal-result-team>b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-result-team.away{justify-content:flex-end;text-align:right}.portal-result-team>span{width:28px;height:28px;flex:0 0 28px}.portal-result-score{text-align:center;font-size:15px}

.portal-mini-table>a{display:grid;grid-template-columns:20px 29px minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #20384f}.portal-mini-table>a:last-child{border-bottom:0}.portal-mini-table>a>b{font-size:10px;color:#58c8ff}.portal-mini-table>a>span{width:27px;height:27px;display:grid;place-items:center;background:#071525;border-radius:7px}.portal-mini-table img{width:22px;height:22px;object-fit:contain}.portal-mini-table strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-mini-table em{font-style:normal;font-size:9px;font-weight:900;color:#c6d6e4}
.portal-mini-leaders>div{display:grid;grid-template-columns:22px 33px minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #20384f}.portal-mini-leaders>div:last-child{border:0}.portal-mini-leaders>div>b{font-size:9px;color:#58c8ff}.portal-mini-leaders>div>img{width:31px;height:31px;object-fit:cover;border-radius:50%}.portal-mini-leaders span{display:grid}.portal-mini-leaders strong{font-size:10px}.portal-mini-leaders small{font-size:8px;color:#8097aa}.portal-mini-leaders em{font-style:normal;font-size:9px;font-weight:900}

/* NEWS INDEX */
.portal-news-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:20px 0 18px}.portal-news-header h1{font-size:50px;letter-spacing:-2px;line-height:1;margin:3px 0 7px}.portal-news-header p{max-width:710px;color:#9db0c7;margin:0}.portal-news-live-link{display:flex;gap:7px;align-items:center;padding:9px 12px;border:1px solid #2c506c;border-radius:999px;font-size:9px;font-weight:900;color:#b9d9eb}
.portal-category-bar{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:0 0 16px}.portal-category-bar::-webkit-scrollbar{display:none}.portal-category-bar a{flex:0 0 auto;padding:8px 11px;border-radius:999px;background:#0e2033;border:1px solid #223d56;font-size:9px;font-weight:850;color:#a7bbcc}.portal-category-bar a.active,.portal-category-bar a:hover{background:#58c8ff;border-color:#58c8ff;color:#06101d}
.portal-news-feature{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);gap:13px;margin-bottom:28px}.portal-news-feature-main{display:grid;grid-template-columns:1.05fr .95fr;border-radius:18px;overflow:hidden;border:1px solid #25415d;background:#10243a}.portal-news-feature-image{min-height:390px;background:#071525}.portal-news-feature-image img{width:100%;height:100%;object-fit:cover}.portal-news-feature-copy{padding:24px;display:flex;flex-direction:column;justify-content:center}.portal-news-feature-copy h2{font-size:31px;line-height:1.04;letter-spacing:-1px;margin:11px 0}.portal-news-feature-copy p{font-size:12px;color:#9fb1c2}
.portal-news-feature-side{display:grid;grid-template-columns:1fr 1fr;gap:9px}.portal-news-feature-small{border:1px solid #223e58;border-radius:14px;overflow:hidden;background:#0d1d30}.portal-news-feature-small-img{height:120px;background:#071525}.portal-news-feature-small-img img{width:100%;height:100%;object-fit:cover}.portal-news-feature-small>div:last-child{padding:10px}.portal-news-feature-small span{font-size:7px;color:#58c8ff;text-transform:uppercase;font-weight:950}.portal-news-feature-small h3{font-size:12px;line-height:1.18;margin:5px 0}.portal-news-feature-small time{font-size:8px;color:#7890a5}
.portal-news-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.portal-news-stream{min-width:0}.portal-news-sidebar{display:grid;gap:13px;position:sticky;top:90px}
.portal-news-list{border-top:1px solid #263e55}.portal-news-list-item{display:grid;grid-template-columns:235px minmax(0,1fr);gap:17px;padding:14px 0;border-bottom:1px solid #263e55}.portal-news-list-image{height:142px;border-radius:11px;overflow:hidden;background:#071525}.portal-news-list-image img{width:100%;height:100%;object-fit:cover}.portal-news-list-item h3{font-size:20px;line-height:1.13;margin:6px 0}.portal-news-list-item p{font-size:11px;color:#9db0c7;margin:0 0 8px}.portal-news-list-item>div:last-child>b{font-size:9px;color:#66c8ef}
.portal-sidebar-news>a{display:grid;grid-template-columns:25px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px solid #20384f}.portal-sidebar-news>a:last-child{border:0}.portal-sidebar-news>a>b{font-size:15px;color:#315b77}.portal-sidebar-news span{display:grid;gap:3px}.portal-sidebar-news strong{font-size:10px;line-height:1.25}.portal-sidebar-news small{font-size:8px;color:#768fa3}
.portal-sidebar-games>a{display:grid;grid-template-columns:37px minmax(0,1fr);gap:4px 7px;padding:9px 0;border-bottom:1px solid #20384f}.portal-sidebar-games>a:last-child{border:0}.portal-sidebar-games time{grid-row:1/3;display:grid;align-content:center;text-align:center;font-size:8px;color:#7d94a8}.portal-sidebar-games time b{font-size:9px;color:#58c8ff}.portal-sidebar-games div{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-sidebar-games div>span{width:23px;height:23px;flex:0 0 23px}.portal-sidebar-games img{width:19px;height:19px}

/* ARTICLE */
.portal-breadcrumb{display:flex;gap:7px;align-items:center;font-size:9px;color:#7890a5;padding:10px 0 18px}.portal-breadcrumb a:hover{color:#58c8ff}
.portal-article-layout{display:grid;grid-template-columns:minmax(0,790px) minmax(260px,310px);gap:34px;justify-content:center;align-items:start}.portal-article-main{min-width:0}.portal-article-sidebar{display:grid;gap:13px}.portal-sticky-widget{position:sticky;top:90px}
.portal-article-header{padding:11px 0 20px}.portal-article-header h1{font-size:clamp(35px,5vw,58px);line-height:1.01;letter-spacing:-2px;margin:12px 0}.portal-article-perex{font-size:17px;line-height:1.55;color:#c4d1dc;max-width:760px;margin:10px 0 17px}
.portal-article-meta{display:flex;align-items:center;gap:9px;color:#849baf}.portal-author-mark{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#58c8ff;color:#06101d;font-size:10px;font-weight:950}.portal-article-meta>div{display:grid}.portal-article-meta b{font-size:10px;color:#d9e5ee}.portal-article-meta span{font-size:8px}
.portal-article-cover{margin:0 0 20px;border-radius:17px;overflow:hidden;background:#071525;border:1px solid #263f58}.portal-article-cover img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}
.portal-article-content{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.78;color:#dce5ed}.portal-article-content>p:first-child{font-size:19px}.portal-article-content p{margin:0 0 21px}.portal-article-content h2,.portal-article-content h3{font-family:Inter,system-ui,sans-serif;color:#fff;line-height:1.13;letter-spacing:-.4px;margin:34px 0 13px}.portal-article-content h2{font-size:29px}.portal-article-content h3{font-size:23px}.portal-article-content strong{color:#fff}.portal-article-content a{color:#58c8ff;text-decoration:underline}.portal-article-content blockquote{margin:26px 0;padding:18px 20px;border-left:4px solid #58c8ff;background:#0d2034;border-radius:0 12px 12px 0;font-size:18px;font-style:italic}.portal-article-content img{display:block;max-width:100%;height:auto;border-radius:12px;margin:22px auto}.portal-article-content figure{margin:25px 0}.portal-article-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-family:Inter,system-ui,sans-serif;font-size:11px}.portal-article-content th,.portal-article-content td{padding:8px;border-bottom:1px solid #294159;white-space:nowrap}
.portal-article-footer{display:flex;gap:8px;align-items:center;border-top:1px solid #263e55;border-bottom:1px solid #263e55;padding:14px 0;margin-top:25px;font-size:9px;color:#8399ac}.portal-article-footer a{color:#58c8ff;font-weight:900}
.portal-related{margin-top:34px}.portal-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.portal-related-grid>a{min-width:0}.portal-related-image{height:155px;border-radius:12px;overflow:hidden;background:#071525;margin-bottom:8px}.portal-related-image img{width:100%;height:100%;object-fit:cover}.portal-related-grid span{font-size:7px;color:#58c8ff;text-transform:uppercase;font-weight:900}.portal-related-grid h3{font-size:13px;line-height:1.2;margin:4px 0}

/* Responsive news portal */
@media(max-width:1050px){
 .portal-lead{grid-template-columns:1fr}.portal-lead-side{grid-template-columns:repeat(3,1fr);grid-template-rows:auto}.portal-all-news{grid-column:1/-1}
 .portal-side-story{grid-template-columns:1fr}.portal-side-thumb{height:120px}
 .portal-news-feature{grid-template-columns:1fr}.portal-news-feature-side{grid-template-columns:repeat(4,1fr)}
 .portal-home-layout,.portal-news-layout{grid-template-columns:minmax(0,1fr) 270px}
 .portal-article-layout{grid-template-columns:minmax(0,1fr) 270px;gap:22px}
}
@media(max-width:860px){
 .portal-home,.portal-news-page,.portal-article-page{padding-top:12px}
 .portal-topline{display:none}
 .portal-lead{gap:9px}.portal-lead-media{height:440px;border-radius:16px}.portal-lead-copy{padding:22px}.portal-lead-copy h1{font-size:34px}.portal-lead-copy p{font-size:12px}
 .portal-lead-side{grid-template-columns:1fr 1fr}.portal-side-story{grid-template-columns:105px minmax(0,1fr)}.portal-side-thumb{min-height:94px;height:100%}.portal-all-news{grid-column:1/-1}
 .portal-live-grid,.portal-schedule-strip{grid-template-columns:1fr 1fr}
 .portal-home-layout,.portal-news-layout,.portal-article-layout{grid-template-columns:1fr}
 .portal-home-sidebar,.portal-news-sidebar,.portal-article-sidebar{position:static;grid-template-columns:1fr 1fr}.portal-sticky-widget{position:static}
 .portal-feed-story{grid-template-columns:150px minmax(0,1fr)}
 .portal-news-feature-main{grid-template-columns:1fr}.portal-news-feature-image{min-height:320px}.portal-news-feature-side{grid-template-columns:1fr 1fr}
 .portal-news-header h1{font-size:40px}.portal-news-list-item{grid-template-columns:180px minmax(0,1fr)}
 .portal-article-header h1{font-size:40px}.portal-article-content{font-size:16px}.portal-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
 .portal-lead-media{height:405px}.portal-lead-copy{padding:17px}.portal-lead-copy h1{font-size:30px;letter-spacing:-1px}.portal-lead-copy p{display:none}
 .portal-lead-side{grid-template-columns:1fr}.portal-side-story{grid-template-columns:110px minmax(0,1fr)}
 .portal-live-strip{padding:12px}.portal-live-grid,.portal-schedule-strip{grid-template-columns:1fr}
 .portal-section-head h2{font-size:22px}
 .portal-home-sidebar,.portal-news-sidebar,.portal-article-sidebar{grid-template-columns:1fr}
 .portal-feed-story{grid-template-columns:115px minmax(0,1fr);gap:10px;padding:9px}.portal-feed-thumb{height:90px}.portal-feed-story h3{font-size:14px}.portal-feed-story p{display:none}
 .portal-result-row{grid-template-columns:28px minmax(0,1fr) 52px minmax(0,1fr);gap:5px;padding:9px 7px}.portal-result-team>b{font-size:8px}.portal-result-team>span{width:24px;height:24px;flex-basis:24px}.portal-result-team img{width:19px;height:19px}.portal-result-score{font-size:12px}
 .portal-news-header{display:block;padding-top:8px}.portal-news-header h1{font-size:35px}.portal-news-header p{font-size:12px}.portal-news-live-link{display:none}
 .portal-news-feature-main{display:block}.portal-news-feature-image{min-height:235px}.portal-news-feature-copy{padding:16px}.portal-news-feature-copy h2{font-size:25px}.portal-news-feature-copy p{display:none}
 .portal-news-feature-side{grid-template-columns:1fr 1fr}.portal-news-feature-small-img{height:105px}
 .portal-news-list-item{grid-template-columns:110px minmax(0,1fr);gap:10px;padding:10px 0}.portal-news-list-image{height:92px}.portal-news-list-item h3{font-size:14px}.portal-news-list-item p{display:none}
 .portal-article-page{padding-left:2px;padding-right:2px}.portal-breadcrumb{padding-left:7px;padding-right:7px}.portal-article-header{padding-left:7px;padding-right:7px}.portal-article-header h1{font-size:34px;letter-spacing:-1px}.portal-article-perex{font-size:15px}.portal-article-cover{border-radius:12px}
 .portal-article-content{font-size:16px;line-height:1.7;padding:0 7px}.portal-article-content>p:first-child{font-size:17px}.portal-article-content h2{font-size:25px}.portal-article-content h3{font-size:21px}
 .portal-article-footer{margin-left:7px;margin-right:7px}.portal-related{padding:0 7px}.portal-related-grid{grid-template-columns:1fr 1fr;gap:9px}.portal-related-image{height:110px}.portal-related-grid h3{font-size:11px}
}

/* =========================================================
   v2.25.1 – NEWS SIDEBAR SCROLL FIX
   Sidebars scroll naturally with the page. No sticky overlap.
   ========================================================= */
.portal-home-sidebar,
.portal-news-sidebar,
.portal-article-sidebar,
.portal-sticky-widget{
  position:static!important;
  top:auto!important;
}

.portal-home-sidebar,
.portal-news-sidebar,
.portal-article-sidebar{
  align-self:start!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

.portal-article-layout,
.portal-news-layout,
.portal-home-layout{
  align-items:start!important;
}

.portal-widget{
  position:relative!important;
  z-index:1!important;
}

/* v2.25.2 – most read articles */
.portal-most-read>a{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:10px 0;
  border-bottom:1px solid #20384f
}
.portal-most-read>a:last-child{border-bottom:0}
.portal-most-read>a>b{
  display:grid;place-items:center;
  width:25px;height:25px;border-radius:8px;
  background:rgba(88,200,255,.08);
  color:#58c8ff;font-size:10px;font-weight:950
}
.portal-most-read>a:first-child>b{
  background:linear-gradient(145deg,#ffc947,#d89a19);
  color:#151006
}
.portal-most-read span{display:grid;gap:4px}
.portal-most-read strong{font-size:10px;line-height:1.25}
.portal-most-read small{font-size:8px;color:#7890a5}
.portal-most-read-widget{
  background:
    radial-gradient(circle at 100% 0,rgba(255,190,62,.08),transparent 34%),
    linear-gradient(180deg,#10253c,#0b1a2c)
}

/* =========================================================
   v2.27.0 – TAGS / TAXONOMY / HOMEPAGE STORY CARDS
   ========================================================= */
.portal-lead-side{grid-template-rows:none!important;align-content:start}
.portal-side-story.portal-side-story-vertical{
  display:block!important;padding:0!important;overflow:hidden!important
}
.portal-side-story-vertical .portal-side-thumb{
  width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:16/9!important;border-radius:0!important
}
.portal-side-story-vertical .portal-side-thumb img{
  width:100%!important;height:100%!important;object-fit:cover!important
}
.portal-side-story-vertical .portal-side-story-copy{padding:11px 12px 13px}
.portal-side-story-vertical h2{font-size:15px!important;line-height:1.2!important;margin:7px 0 7px!important}
.portal-side-story-vertical small{font-size:9px;color:#7890a5}

.portal-tag-cloud{display:flex;flex-wrap:wrap;gap:6px}
.portal-tag-cloud a,.portal-article-tags a{
  display:inline-flex;align-items:center;
  padding:6px 9px;border:1px solid #294760;border-radius:999px;
  background:#081827;color:#9fdcf5;font-size:9px;font-weight:850;
  transition:.15s ease
}
.portal-tag-cloud a:hover,.portal-tag-cloud a.active,.portal-article-tags a:hover{
  border-color:#58c8ff;background:rgba(88,200,255,.11);color:#d7f3ff
}
.portal-topics-widget{
  background:radial-gradient(circle at 100% 0,rgba(88,200,255,.08),transparent 38%),linear-gradient(180deg,#10253c,#0b1a2c)
}
.portal-article-footer{display:grid!important;gap:12px!important}
.portal-article-category-line{display:flex;gap:8px;align-items:center}
.portal-article-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.portal-article-tags>b{font-size:9px;color:#8ba0b2;margin-right:2px}

@media(min-width:1060px){
  .portal-lead-side{grid-template-columns:1fr 1fr!important;display:grid!important}
  .portal-lead-side .portal-side-story-vertical:nth-child(3){grid-column:1/-1}
  .portal-lead-side .portal-side-story-vertical:nth-child(3) .portal-side-thumb{aspect-ratio:2.2/1!important}
  .portal-all-news{grid-column:1/-1!important}
}
@media(max-width:1050px){
  .portal-lead-side .portal-side-story-vertical{display:block!important}
  .portal-side-story-vertical .portal-side-thumb{height:auto!important}
}
@media(max-width:560px){
  .portal-side-story.portal-side-story-vertical{display:grid!important;grid-template-columns:120px minmax(0,1fr)!important}
  .portal-side-story-vertical .portal-side-thumb{height:100%!important;aspect-ratio:auto!important;min-height:100px!important}
  .portal-side-story-vertical .portal-side-story-copy{padding:9px 10px}
}

/* v2.27.1 – desktop hamburger removal
   Hamburger/drawer trigger exists only on phones/tablets.
   Applies equally in normal browser and installed public PWA. */
@media (min-width:781px){
  .mobile-top-menu-button{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .mobile-drawer,
  .mobile-drawer-backdrop{
    display:none!important;
  }
}

/* =========================================================
   v2.28.0 – SEO / FEATURED
   ========================================================= */
.featured-article-toggle{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  padding:13px 14px;margin:10px 0 14px;border:1px solid #4b4526;border-radius:13px;
  background:linear-gradient(135deg,rgba(255,201,71,.10),rgba(255,201,71,.025))
}
.featured-article-toggle>span:first-child{display:grid;gap:3px}
.featured-article-toggle strong{font-size:12px;color:#ffd66b}
.featured-article-toggle small{font-size:9px;color:#9daec0}
.portal-featured-badge{
  display:inline-flex;align-items:center;width:max-content;
  padding:5px 8px;margin-right:6px;border-radius:7px;
  background:linear-gradient(145deg,#ffd45d,#d99a1a);color:#171006;
  font-size:8px;font-weight:950;letter-spacing:.08em
}

/* v2.29.0 COMMUNITY */
.article-community{margin-top:26px;display:grid;gap:16px}
.article-reaction-box,.article-comments-box{border:1px solid #20384f;border-radius:16px;background:#0b1b2d;padding:16px}
.article-reaction-box{display:flex;align-items:center;justify-content:space-between;gap:15px}
.article-reaction-box h2{font-size:17px;margin:4px 0 0}
.article-reactions{display:flex;gap:7px;flex-wrap:wrap}
.article-reactions button{border:1px solid #294760;background:#081827;color:#fff;border-radius:999px;padding:8px 11px;cursor:pointer;font-weight:850}
.article-reactions button.active{border-color:#58c8ff;background:rgba(88,200,255,.15)}
.article-reactions b{font-size:10px;margin-left:3px}
.article-comment-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0 16px}
.article-comment-form textarea{min-height:80px;resize:vertical}
.article-comment-list{display:grid;gap:12px}
.article-comment{display:grid;grid-template-columns:38px 1fr;gap:9px;padding:12px 0;border-top:1px solid #1d3449}
.article-comment .article-comment{margin:9px 0 0;padding:10px 0 0;grid-template-columns:30px 1fr}
.article-comment-avatar{width:36px;height:36px;border-radius:50%;background:#183a55;display:grid;place-items:center;font-weight:950;overflow:hidden}
.article-comment-avatar img{width:100%;height:100%;object-fit:cover}
.article-comment-head{display:flex;align-items:center;gap:8px}.article-comment-head time{font-size:8px;color:#72899c}
.article-comment-content p{font-size:11px;line-height:1.5;margin:5px 0 6px}
.article-comment-actions{display:flex;gap:9px}.article-comment-actions button{border:0;background:none;padding:0;color:#7595ac;font-size:8px;cursor:pointer}
.article-reply-state{display:flex;gap:6px;align-items:center;font-size:9px;color:#8ba0b2}.article-reply-state button{border:0;background:none;color:#fff}
.article-comment-login,.article-comments-disabled,.article-comments-empty{padding:13px;border-radius:10px;background:#081827;color:#8ba0b2;font-size:10px}
.portal-discussed-list{display:grid}.portal-discussed-list a{display:grid;grid-template-columns:20px 1fr auto;gap:7px;padding:9px 0;border-bottom:1px solid #20384f;align-items:start}
.portal-discussed-list a:last-child{border:0}.portal-discussed-list strong{font-size:9px;line-height:1.3}.portal-discussed-list b{font-size:9px;color:#58c8ff}
.admin-menu-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e54d5d;color:#fff;font-size:8px;margin-left:auto}
.admin-report-filters{display:flex;gap:7px;margin:10px 0 15px}.admin-report-filters a{padding:7px 10px;border-radius:9px;background:#10253c}.admin-report-filters a.active{background:#1d5f83}
.admin-report-list{display:grid;gap:10px}.admin-report-card.new{border-color:#7e3e46}.admin-report-head{display:flex;justify-content:space-between;gap:12px}.admin-report-head>div{display:grid;gap:3px}.admin-report-head span{font-size:9px;color:#8298aa}
.admin-report-card blockquote{margin:12px 0;padding:11px;border-left:3px solid #355a76;background:#081827}.admin-report-actions{display:flex;gap:6px;flex-wrap:wrap}.admin-report-actions form{margin:0}
.report-count,.report-status{font-size:9px;padding:5px 8px;border-radius:999px;background:#47232a;color:#ffabb4}
@media(max-width:620px){.article-reaction-box{display:grid}.article-comment-form{grid-template-columns:1fr}.article-comment-form .btn{width:100%}}

/* =========================================================
   v2.30.0 – HOMEPAGE ROUND FOCUS
   Program -> LIVE -> results 24h -> next round
   ========================================================= */
.home-round-focus{
  margin:0 0 18px;
  padding:17px;
  border:1px solid #27435e;
  border-radius:19px;
  background:
    radial-gradient(circle at 100% 0,rgba(88,200,255,.10),transparent 34%),
    linear-gradient(150deg,#102944,#0a1a2c);
  box-shadow:0 15px 45px rgba(0,0,0,.14)
}
.home-round-focus.live{
  border-color:rgba(238,67,83,.42);
  background:
    radial-gradient(circle at 100% 0,rgba(232,59,79,.13),transparent 34%),
    linear-gradient(150deg,#102944,#0a1a2c)
}
.home-round-focus-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;
  margin-bottom:12px
}
.home-round-focus-head h1{font-size:27px;line-height:1;margin:4px 0}
.home-round-focus-head p{font-size:10px;color:#879eb1;margin:5px 0 0}
.home-round-focus-head>a{font-size:10px;font-weight:900;color:#79d0f4;white-space:nowrap}
.home-round-games{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px
}
.home-round-game{
  display:block;
  min-width:0;
  padding:11px;
  border:1px solid #223c55;
  border-radius:13px;
  background:#081827;
  transition:.15s ease
}
.home-round-game:hover{transform:translateY(-1px);border-color:#3c6d8d}
.home-round-game.live{border-color:rgba(232,59,79,.30)}
.home-round-game-meta{
  display:flex;align-items:center;justify-content:space-between;gap:7px;
  padding-bottom:7px;margin-bottom:6px;border-bottom:1px solid #1c3348;
  color:#8198ab;font-size:8px
}
.home-round-game-meta strong{font-size:8px;color:#58c8ff}
.home-round-game.live .home-round-game-meta strong{color:#ff6273}
.home-round-team{
  display:grid;grid-template-columns:29px minmax(0,1fr) auto;
  align-items:center;gap:7px;margin:5px 0;min-width:0
}
.home-round-team>span{
  width:28px;height:28px;display:grid;place-items:center;
  border-radius:8px;background:#102944
}
.home-round-team img{width:23px;height:23px;object-fit:contain}
.home-round-team b{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:10px
}
.home-round-team>strong{font-size:17px}
.matches-priority-tabs a:first-child{font-weight:950}
@media(max-width:860px){
  .home-round-games{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .home-round-focus{padding:12px;margin-bottom:13px;border-radius:15px}
  .home-round-focus-head{align-items:center}
  .home-round-focus-head h1{font-size:22px}
  .home-round-focus-head p{display:none}
  .home-round-focus-head>a{font-size:9px}
  .home-round-games{
    display:flex;overflow-x:auto;gap:8px;padding-bottom:3px;
    scrollbar-width:none;scroll-snap-type:x proximity
  }
  .home-round-games::-webkit-scrollbar{display:none}
  .home-round-game{
    flex:0 0 82%;scroll-snap-align:start
  }
}

/* v2.31 – article sharing */
.article-share{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px}
.article-share>span,.article-share>strong{font-size:9px;color:#8da3b5;margin-right:2px}
.share-btn{min-height:31px;display:inline-flex;align-items:center;gap:5px;border:1px solid #29445c;border-radius:9px;padding:6px 9px;background:#0a1b2c;color:#dceaf5;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.share-btn b{font-size:9px}.share-btn:hover{border-color:#58c8ff}
.share-btn.facebook{background:#102b50}.share-btn.whatsapp{background:#0d352b}.share-btn.native{background:#12334a}.share-btn.copied{border-color:#55d996;color:#8af0ba}
.article-share-bottom{margin:22px 0 2px;padding:12px;border:1px solid #20384f;border-radius:13px;background:#091929}
.article-share-bottom>strong{margin-right:auto;color:#c7d8e6}
@media(max-width:560px){
 .article-share{gap:6px}.share-btn{padding:7px 9px}
 .article-share:not(.article-share-bottom)>span{width:100%}
 .article-share-bottom>strong{width:100%;margin-bottom:2px}
 .share-btn b{display:none}
}

/* v2.31.4 – generic article cover fallback */
.portal-article-cover.fallback-cover img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1200/630!important;
  object-fit:cover!important;
  background:#07111f!important;
}

/* =========================================================
   v2.32.0 – PERSONALIZATION / DISCOVERY / CATEGORIES
   ========================================================= */
.follow-toggle.active{border-color:#58c8ff!important;background:rgba(88,200,255,.13)!important;color:#bceaff!important}
.topic-head-actions,.team-follow-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.team-follow-actions form{margin:0}

/* For you */
.portal-for-you{
  padding:17px;border:1px solid rgba(88,200,255,.18);border-radius:17px;
  background:radial-gradient(circle at 100% 0,rgba(88,200,255,.07),transparent 35%),#0a1929
}
.portal-personal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.portal-personal-card{min-width:0;border:1px solid #213c54;border-radius:12px;overflow:hidden;background:#0c2033}
.portal-personal-card>div{aspect-ratio:16/9;background:#071525;overflow:hidden}
.portal-personal-card img{width:100%;height:100%;object-fit:cover}
.portal-personal-card>span{display:block;padding:9px 10px 0;font-size:7px;font-weight:950;color:#58c8ff;text-transform:uppercase}
.portal-personal-card h3{font-size:11px;line-height:1.22;margin:4px 10px 11px}
.portal-trending-widget{background:radial-gradient(circle at 100% 0,rgba(255,104,78,.08),transparent 35%),linear-gradient(180deg,#10253c,#0b1a2c)}

/* Profile discovery */
.profile-discovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.profile-follow-list{display:flex;flex-wrap:wrap;gap:8px}
.profile-follow-list a{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #29435b;border-radius:999px;background:#081827;font-size:10px}
.profile-follow-list img{width:23px;height:23px;object-fit:contain}
.profile-reading-history{margin-top:14px}

/* Global search */
.header-search-open{width:37px;height:37px;display:grid;place-items:center;border:1px solid #29445e;border-radius:11px;background:#0d2135;color:#bfeaff;font-size:22px;cursor:pointer}
.drawer-search-open{width:100%;text-align:left;border:1px solid #29445e;border-radius:10px;background:#0d2135;color:#d9ecfa;padding:11px;font:inherit;font-weight:850}
.global-search-overlay[hidden]{display:none!important}
.global-search-overlay{position:fixed;z-index:10000;inset:0;display:grid;place-items:start center;padding:9vh 14px 20px}
.global-search-backdrop{position:absolute;inset:0;background:rgba(2,8,14,.78);backdrop-filter:blur(8px)}
.global-search-panel{position:relative;z-index:1;width:min(720px,100%);max-height:82vh;overflow:auto;border:1px solid #294a64;border-radius:19px;background:#081827;box-shadow:0 30px 100px rgba(0,0,0,.5);padding:17px}
.global-search-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.global-search-head h2{font-size:24px;margin:3px 0 12px}.global-search-head>button{width:35px;height:35px;border:1px solid #29445e;border-radius:10px;background:#10263a;color:#fff;font-size:22px;cursor:pointer}
.global-search-input-wrap{display:grid;grid-template-columns:30px 1fr;align-items:center;border:1px solid #315774;border-radius:13px;background:#06131f;padding:4px 10px}
.global-search-input-wrap>span{font-size:22px;color:#58c8ff}.global-search-input-wrap input{border:0!important;background:transparent!important;padding:12px 4px!important;font-size:16px!important;outline:0!important}
.global-search-results{display:grid;gap:2px;margin-top:10px}
.global-search-hint{padding:18px;text-align:center;color:#7f97aa;font-size:11px}
.global-search-result{display:grid;grid-template-columns:45px minmax(0,1fr) 20px;gap:10px;align-items:center;padding:9px;border-radius:11px}
.global-search-result:hover{background:#10263a}
.global-search-thumb,.global-search-type{width:43px;height:43px;border-radius:9px;background:#102944;display:grid;place-items:center;overflow:hidden}
.global-search-thumb img{width:100%;height:100%;object-fit:cover}.global-search-type{font-size:18px;color:#58c8ff;font-weight:950}
.global-search-result>span:nth-child(2){display:grid;gap:3px}.global-search-result strong{font-size:11px}.global-search-result small{font-size:8px;color:#8199ac}.global-search-result>b{color:#58c8ff}
body.search-open{overflow:hidden}

/* Categories admin + category live search beside select */
.category-admin-grid{grid-template-columns:330px minmax(0,1fr)}
.category-admin-list{display:grid;gap:8px}.category-admin-row{border:1px solid #20384f;border-radius:12px;background:#091929;padding:9px}
.category-admin-row>form:first-child{display:grid;grid-template-columns:minmax(140px,1fr) 75px auto auto auto;gap:7px;align-items:center}
.category-admin-row input{margin:0}.category-admin-row .cat-sort{width:75px}.cat-count{font-size:9px;color:#7f96a9;white-space:nowrap}
.category-row-actions{display:flex;gap:6px;margin-top:7px}.category-row-actions form{margin:0}
.category-picker-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(220px,.9fr);gap:8px}
.category-search-side{display:grid;grid-template-columns:1fr 38px;gap:6px;position:relative}
.category-search-input{position:relative}.category-search-input input{height:100%}
.category-search-matches{position:absolute;z-index:50;left:0;right:0;top:calc(100% + 5px);padding:5px;border:1px solid #31526b;border-radius:10px;background:#071827;box-shadow:0 15px 40px rgba(0,0,0,.35)}
.category-search-matches button{display:block;width:100%;border:0;background:transparent;color:#d7e8f4;text-align:left;padding:8px;border-radius:7px;cursor:pointer}
.category-search-matches button:hover{background:#12304a}.category-search-matches span{display:block;padding:8px;color:#788fa4;font-size:10px}

@media(max-width:860px){
  .portal-personal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-discovery-grid{grid-template-columns:1fr}
  .header-search-open{display:none}
  .category-admin-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .portal-personal-grid{grid-template-columns:1fr 1fr}
  .category-picker-row{grid-template-columns:1fr}
  .category-admin-row>form:first-child{grid-template-columns:1fr 70px}
  .category-admin-row>form:first-child .status,.category-admin-row>form:first-child .cat-count,.category-admin-row>form:first-child .btn{grid-column:auto}
}

/* =========================================================
   v2.32.1 – FLOATING ARTICLE PUBLISH BAR
   ========================================================= */
.article-publish-float{
  position:sticky;
  top:74px;
  z-index:120;
  display:grid;
  grid-template-columns:minmax(120px,.7fr) minmax(210px,.85fr) auto;
  gap:12px;
  align-items:center;
  margin:-5px -5px 16px;
  padding:10px 12px;
  border:1px solid #31526e;
  border-radius:14px;
  background:rgba(7,20,33,.96);
  backdrop-filter:blur(14px);
  box-shadow:0 12px 36px rgba(0,0,0,.3)
}
.publish-float-status{display:grid;gap:1px}
.publish-float-status strong{font-size:12px}
.publish-float-status small{font-size:8px;color:#7f98ab}
.publish-float-date{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px}
.publish-float-date label{font-size:8px;color:#8aa1b3;font-weight:900;text-transform:uppercase;white-space:nowrap}
.publish-float-date input{min-width:0;height:34px;padding:6px 8px!important}
.publish-float-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.publish-float-actions .btn{white-space:nowrap}
.publish-float-actions .publish-now{
  background:linear-gradient(135deg,#47c8ff,#69d7ff);
  color:#06121e;border-color:#67d7ff
}
.publish-float-actions .schedule-btn{border-color:#6e5d2a;color:#ffd773;background:rgba(209,159,35,.07)}
.publish-float-actions .save-changes{border-color:#326887}
.article-schedule-inline{
  display:grid;
  grid-template-columns:minmax(220px,340px) 1fr;
  gap:12px;
  align-items:end;
  margin:0 0 12px;
  padding:11px 12px;
  border:1px dashed #29465d;
  border-radius:12px;
  background:#081827
}
.article-schedule-inline .field{margin:0}
.article-schedule-inline small{font-size:9px;color:#7892a6;padding-bottom:9px}
.article-admin-state.scheduled{background:#4b3d17;color:#ffd86c}

@media(max-width:1080px){
  .article-publish-float{grid-template-columns:1fr 1fr}
  .publish-float-actions{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:720px){
  .article-publish-float{
    top:8px;
    grid-template-columns:1fr;
    gap:7px;
    border-radius:12px;
    padding:9px
  }
  .publish-float-date{grid-template-columns:1fr}
  .publish-float-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%
  }
  .publish-float-actions .btn{width:100%}
  .article-schedule-inline{grid-template-columns:1fr}
  .article-schedule-inline small{padding:0}
}

/* =========================================================
   v2.32.3 – META SOCIAL PUBLISHING
   ========================================================= */
.social-admin-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.meta-callback-box{margin-top:14px;padding:12px;border:1px dashed #31516b;border-radius:11px;background:#081827;display:grid;gap:5px}
.meta-callback-box b{font-size:10px}.meta-callback-box code{display:block;overflow:auto;padding:8px;border-radius:8px;background:#05111c;color:#65d1ff;font-size:9px}
.meta-callback-box small{font-size:8px;color:#8098aa}
.meta-connect-btn{width:100%;justify-content:center;margin:5px 0 12px}
.meta-connected-card{display:grid;gap:4px;padding:12px;border:1px solid #236347;border-radius:12px;background:rgba(30,125,76,.08)}
.meta-connected-card strong{font-size:11px}.meta-connected-card span{font-size:8px;color:#83a396}
.meta-test-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.meta-test-actions form{margin:0}
.meta-page-list{display:grid;gap:8px}.meta-page-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid #243e55;border-radius:12px;background:#081827}
.meta-page-row.selected{border-color:#4bc7ff;background:rgba(75,199,255,.06)}
.meta-page-row>div{display:grid;gap:3px}.meta-page-row strong{font-size:11px}.meta-page-row span{font-size:8px;color:#8198aa}
.social-log-list{display:grid;gap:6px}.social-log-row{display:grid;grid-template-columns:32px 1fr auto;gap:9px;align-items:center;padding:9px;border-bottom:1px solid #1d3448}
.social-platform{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#123453;color:#fff;font-weight:950}
.social-log-row>div{display:grid;gap:2px}.social-log-row strong{font-size:10px}.social-log-row small{font-size:8px;color:#7e96a9}.social-log-row em{font-size:8px;color:#ff8e98;font-style:normal}
.ok-text{color:#79e6a2}.bad-text{color:#ff8e98}
.article-social-publish-box{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:10px;align-items:center;margin:10px 0 14px;padding:12px 13px;border:1px solid #294962;border-radius:13px;background:linear-gradient(135deg,rgba(58,127,190,.08),rgba(7,20,33,.25))}
.article-social-publish-box>div{display:grid;gap:2px}.article-social-publish-box strong{font-size:11px}.article-social-publish-box small{font-size:8px;color:#8097aa}
.article-social-publish-box>label{display:flex;align-items:center;gap:5px;padding:8px 9px;border:1px solid #29465d;border-radius:9px;background:#081827;font-size:9px;font-weight:900}
.article-social-publish-box>a{font-size:8px;color:#67d0ff;white-space:nowrap}.social-now-btn{border-color:#395f79!important}
.social-result-alert{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:900px){.social-admin-grid{grid-template-columns:1fr}.article-social-publish-box{grid-template-columns:1fr 1fr}.article-social-publish-box>div,.article-social-publish-box>a{grid-column:1/-1}}
@media(max-width:560px){.meta-page-row{grid-template-columns:1fr}.meta-page-row .btn{width:100%}.article-social-publish-box{grid-template-columns:1fr}.article-social-publish-box>div,.article-social-publish-box>a{grid-column:auto}}

/* v2.32.4 – Instagram is SCORE-only */
.instagram-score-only{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border:1px solid #5d3a70;border-radius:9px;
  background:rgba(166,78,190,.08);color:#e2b9ef;font-size:8px;font-weight:900;
  white-space:nowrap
}
.article-social-facebook-only{grid-template-columns:minmax(220px,1fr) auto auto auto}
@media(max-width:900px){.article-social-facebook-only{grid-template-columns:1fr 1fr}.article-social-facebook-only>div,.article-social-facebook-only>a{grid-column:1/-1}}
@media(max-width:560px){.article-social-facebook-only{grid-template-columns:1fr}.article-social-facebook-only>div,.article-social-facebook-only>a{grid-column:auto}}

/* v2.35.5: public PWA header stays visible while scrolling */
.app-header{position:sticky;top:0;z-index:1000}
.app-header .nav{position:relative;top:auto;z-index:2}
@media(max-width:820px){
  .public-app-body .app-header{position:sticky;top:0;z-index:1000}
}

/* v2.35.5: visible long-running AI/Radar status in browser + installed PWA */
.ai-work-overlay[hidden]{display:none!important}
.ai-work-overlay{position:fixed;inset:0;z-index:100000;background:rgba(2,8,18,.78);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px}
.ai-work-card{width:min(440px,calc(100vw - 32px));background:#10243c;border:1px solid #315270;border-radius:22px;padding:28px;text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.48)}
.ai-work-card h3{margin:12px 0 6px;font-size:22px}.ai-work-card p{margin:0 0 18px;color:#b9cbe0}.ai-work-card small{display:block;margin-top:12px;color:#8fa8c0}
.ai-work-spinner{width:48px;height:48px;margin:auto;border:4px solid rgba(88,200,255,.2);border-top-color:#58c8ff;border-radius:50%;animation:haAiSpin .8s linear infinite}
.ai-work-progress{height:8px;overflow:hidden;border-radius:99px;background:#071525}.ai-work-progress i{display:block;width:42%;height:100%;border-radius:99px;background:#58c8ff;animation:haAiProgress 1.35s ease-in-out infinite alternate}
@keyframes haAiSpin{to{transform:rotate(360deg)}}@keyframes haAiProgress{from{transform:translateX(-20%)}to{transform:translateX(155%)}}
.ai-is-working{cursor:progress}.is-working{opacity:.65;cursor:progress}

/* v2.35.5 HOTFIX – truly fixed headers in browser and installed PWA */
.public-app-body{padding-top:var(--ha-public-header-h,104px)}
.public-app-body .app-header{
  position:fixed!important;top:0!important;left:0;right:0;width:100%;
  z-index:10000!important;background:#07111f;
  transform:translateZ(0);will-change:transform;
}
.public-app-body .app-header .nav{position:relative!important;top:auto!important}
@media(max-width:520px){
  .public-app-body{padding-top:var(--ha-public-header-h,94px)}
}

/* Admin app top shell is fixed on mobile/tablet instead of sticky. */
@media(max-width:860px){
  body.admin-body{padding-top:var(--sp-admin-header-h,58px)!important}
  .admin-mobile-top{
    position:fixed!important;top:0!important;left:0;right:0;width:100%;
    z-index:10000!important;transform:translateZ(0);will-change:transform;
  }
  .admin-standalone .admin-mobile-top{
    padding-top:calc(8px + env(safe-area-inset-top));
  }
}

.footer-cookie-link{display:block;border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer}.cookie-consent[hidden],.cookie-modal[hidden]{display:none!important}.cookie-consent{position:fixed;left:0;right:0;bottom:0;z-index:120000;padding:16px;pointer-events:none}.cookie-consent-card{width:min(1120px,calc(100vw - 24px));margin:auto;background:#10243c;border:1px solid #315270;border-radius:20px;box-shadow:0 22px 70px #0008;padding:18px 20px;display:flex;align-items:center;gap:24px;justify-content:space-between;pointer-events:auto}.cookie-consent-copy{display:flex;gap:14px;max-width:720px}.cookie-consent-icon{font-size:30px}.cookie-consent-copy p,.cookie-modal-intro,.cookie-option p{color:#b9cbe0;line-height:1.45}.cookie-consent-copy p{margin:5px 0 0;font-size:14px}.cookie-consent-actions,.cookie-modal-actions{display:flex;gap:9px;flex-wrap:wrap}.cookie-btn{border:1px solid #315270;border-radius:12px;padding:11px 15px;font-weight:800;cursor:pointer}.cookie-btn.primary{background:#58c8ff;color:#04111e}.cookie-btn.secondary{background:#0a1b2e;color:#fff}.cookie-modal{position:fixed;inset:0;z-index:130000;display:grid;place-items:center;padding:18px}.cookie-modal-backdrop{position:absolute;inset:0;background:#020812c7;backdrop-filter:blur(7px)}.cookie-modal-card{position:relative;width:min(680px,100%);background:#10243c;border:1px solid #315270;border-radius:22px;padding:24px}.cookie-modal-head,.cookie-option{display:flex;justify-content:space-between;gap:20px}.cookie-modal-close{border:0;background:#071525;color:white;border-radius:10px;width:38px;height:38px;font-size:24px}.cookie-option{align-items:center;padding:17px 0;border-top:1px solid #29445f}.cookie-option p{margin:4px 0 0;font-size:13px}.cookie-always{color:#71e3a0;font-weight:800;font-size:12px}.cookie-switch{width:50px;height:29px;flex:0 0 50px}.cookie-switch input{position:absolute;opacity:0}.cookie-switch i{display:block;height:100%;border-radius:99px;background:#53677b}.cookie-switch i:after{content:"";display:block;width:23px;height:23px;border-radius:50%;background:white;transform:translate(3px,3px);transition:.2s}.cookie-switch input:checked+i{background:#58c8ff}.cookie-switch input:checked+i:after{transform:translate(24px,3px)}@media(max-width:760px){.cookie-consent{padding:10px}.cookie-consent-card{display:block}.cookie-consent-actions{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}.cookie-consent-actions .primary{grid-column:1/-1}.cookie-btn{width:100%}.cookie-modal-actions{display:grid}.cookie-option{align-items:flex-start}}
/* SuperPortal admin users layout */
.user-admin-grid-full{display:flex!important;flex-direction:column!important;gap:18px!important}.user-admin-grid-full>.tablewrap,.user-admin-grid-full>.card{width:100%!important;max-width:none!important}.user-admin-grid-full .admintable{width:100%!important;table-layout:auto}.user-admin-grid-full .admintable th,.user-admin-grid-full .admintable td{white-space:normal!important}.user-admin-grid-full .user-row-actions{display:flex;gap:6px;flex-wrap:wrap}

/* =========================================================
   v1.1.0 – SUPERPORTAL LIGHT EDITORIAL DESIGN
   Public frontend only. Classic newspaper/newsroom visual language.
   ========================================================= */
body.superportal-public{--sp-red:#c91522;--sp-ink:#101114;--sp-muted:#686d75;--sp-line:#dfe2e6;--sp-soft:#f4f5f6;--sp-paper:#fff;--sp-blue:#175ea8;background:#fff!important;color:var(--sp-ink)!important;font-family:Arial,"Helvetica Neue",sans-serif!important}
body.superportal-public .container{width:min(1240px,calc(100% - 32px))}
body.superportal-public .app-meta{background:#f4f5f6!important;border-bottom:1px solid #e2e4e7!important;color:#5f646b!important}
body.superportal-public .app-meta-inner{height:34px!important;font-size:11px}.header-online{color:#5f646b!important;font-weight:700;letter-spacing:.02em}.today-info{color:#5f646b!important}.today-info strong{color:#111!important}
body.superportal-public .nav{background:#fff!important;backdrop-filter:none!important;border-bottom:1px solid #d9dde1!important;box-shadow:none!important;position:sticky;top:0}
body.superportal-public .navin{height:78px!important;gap:24px!important}.fixed-brand{font-family:Arial,"Helvetica Neue",sans-serif!important;font-size:27px!important;letter-spacing:-1.8px!important;color:#111!important}.fixed-brand span{color:var(--sp-red)!important;opacity:1!important}.fixed-brand small{color:#111!important}
body.superportal-public .menu{gap:0!important;align-self:stretch;align-items:stretch;overflow:hidden}.superportal-public .menu a{display:flex;align-items:center;border-radius:0!important;padding:0 11px!important;color:#25282c!important;background:transparent!important;font-size:12px!important;font-weight:800!important;border-bottom:3px solid transparent;white-space:nowrap}.superportal-public .menu a:hover,.superportal-public .menu a.active{color:var(--sp-red)!important;border-bottom-color:var(--sp-red)!important}
body.superportal-public .mobile-top-menu-button{border:1px solid #d7dade!important;background:#fff!important;color:#15171a!important;border-radius:3px!important}
body.superportal-public .portal-news-page{padding-top:0!important}.portal-news-header{padding:28px 0 15px!important;border-bottom:4px solid #111;margin-bottom:18px}.portal-news-header .eyebrow{color:var(--sp-red)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.12em}.portal-news-header h1{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(34px,4.3vw,54px)!important;letter-spacing:-1.7px!important;line-height:1.02!important;margin:5px 0 7px!important;color:#111}.portal-news-header p{color:#656a70!important;font-size:14px!important}
body.superportal-public .portal-news-feature{grid-template-columns:minmax(0,1.55fr) minmax(360px,.8fr)!important;gap:22px!important;margin-bottom:34px!important}.portal-news-feature-main{display:grid!important;grid-template-columns:1.14fr .86fr!important;border:0!important;border-radius:0!important;background:#fff!important;overflow:visible!important}.portal-news-feature-image{min-height:420px!important;background:#eceff1!important;overflow:hidden}.portal-news-feature-image img{display:block;width:100%;height:100%;object-fit:cover}.portal-news-feature-copy{padding:8px 0 8px 24px!important;justify-content:flex-start!important}.portal-category{background:transparent!important;color:var(--sp-red)!important;border-radius:0!important;padding:0!important;font-size:10px!important;letter-spacing:.1em!important}.portal-news-feature-copy h2{font-family:Georgia,"Times New Roman",serif!important;color:#111!important;font-size:clamp(29px,3.1vw,43px)!important;line-height:1.04!important;letter-spacing:-1.3px!important;margin:11px 0 13px!important}.portal-news-feature-copy p{font-family:Georgia,"Times New Roman",serif!important;color:#565b61!important;font-size:15px!important;line-height:1.55!important;margin:0!important}.portal-meta{color:#777c82!important;font-size:10px!important;margin-top:15px!important}
.portal-news-feature-side{grid-template-columns:1fr 1fr!important;gap:0 16px!important;border-left:1px solid var(--sp-line);padding-left:20px}.portal-news-feature-small{border:0!important;border-radius:0!important;background:#fff!important;padding:0 0 14px!important;margin-bottom:14px;border-bottom:1px solid var(--sp-line)!important;overflow:visible!important}.portal-news-feature-small-img{height:120px!important;background:#eceff1!important;margin-bottom:9px}.portal-news-feature-small>div:last-child{padding:0!important}.portal-news-feature-small span{color:var(--sp-red)!important;font-size:9px!important;letter-spacing:.08em}.portal-news-feature-small h3{font-family:Georgia,"Times New Roman",serif!important;color:#15171a!important;font-size:15px!important;line-height:1.2!important;margin:5px 0 7px!important}.portal-news-feature-small time{color:#81858a!important;font-size:9px!important}
.portal-news-layout{grid-template-columns:minmax(0,1fr) 315px!important;gap:38px!important;border-top:1px solid #111;padding-top:22px}.portal-section-head{border-bottom:3px solid #111!important;padding-bottom:9px!important;margin-bottom:0!important;align-items:center!important}.portal-section-head .eyebrow{color:var(--sp-red)!important;font-size:9px!important}.portal-section-head h2{font-family:Arial,"Helvetica Neue",sans-serif!important;color:#111!important;font-size:22px!important;letter-spacing:-.5px}.portal-section-head>a{color:#4e5359!important;font-size:10px!important}.portal-news-list{border-top:0!important}.portal-news-list-item{grid-template-columns:240px minmax(0,1fr)!important;gap:20px!important;padding:19px 0!important;border-bottom:1px solid var(--sp-line)!important}.portal-news-list-image{height:145px!important;border-radius:0!important;background:#eceff1!important}.portal-story-meta{font-size:9px!important;color:#8a8e93!important}.portal-story-meta span{color:var(--sp-red)!important}.portal-news-list-item h3{font-family:Georgia,"Times New Roman",serif!important;color:#17191c!important;font-size:23px!important;line-height:1.12!important;letter-spacing:-.35px!important;margin:7px 0!important}.portal-news-list-item p{font-family:Georgia,"Times New Roman",serif!important;color:#62676d!important;font-size:13px!important;line-height:1.45!important}.portal-news-list-item>div:last-child>b{color:#34383d!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.05em}
body.superportal-public .portal-widget{border:0!important;border-top:4px solid #111!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;padding:13px 0!important}.portal-widget-head{border-bottom:1px solid #111;padding-bottom:9px}.portal-widget-head .eyebrow{color:var(--sp-red)!important;font-size:9px!important}.portal-widget-head h3{color:#111!important;font-size:20px!important}.portal-most-read>a{grid-template-columns:34px minmax(0,1fr)!important;padding:13px 0!important;border-bottom:1px solid var(--sp-line)!important}.portal-most-read>a>b,.portal-most-read>a:first-child>b{background:transparent!important;color:#b8bcc0!important;width:auto!important;height:auto!important;font-family:Georgia,"Times New Roman",serif;font-size:28px!important;line-height:1!important}.portal-most-read>a:first-child>b{color:var(--sp-red)!important}.portal-most-read strong{font-family:Georgia,"Times New Roman",serif!important;color:#202327!important;font-size:13px!important;line-height:1.28!important}.portal-most-read small{color:#92969a!important;font-size:8px!important}
body.superportal-public .footer{margin-top:48px!important;background:#15171a!important;color:#fff!important;border-top:5px solid var(--sp-red)!important}.superportal-public .footer a,.superportal-public .footer p{color:#c9cdd1!important}.superportal-public .footer .brand strong{color:#fff!important}
body.superportal-public .mobile-drawer{background:#fff!important;color:#111!important}.superportal-public .drawer-head{border-color:#ddd!important}.superportal-public .drawer-links a{color:#222!important;border-color:#eee!important}
@media(max-width:1050px){body.superportal-public .portal-news-feature{grid-template-columns:1fr!important}.portal-news-feature-side{border-left:0!important;padding-left:0!important;border-top:1px solid #111!important;padding-top:18px!important;grid-template-columns:repeat(4,1fr)!important}.portal-news-layout{grid-template-columns:minmax(0,1fr) 270px!important;gap:25px!important}}
@media(max-width:860px){body.superportal-public .container{width:min(100% - 24px,1240px)}body.superportal-public .navin{height:62px!important}.superportal-public .menu{display:none!important}.portal-news-header{padding-top:20px!important}.portal-news-feature-main{grid-template-columns:1fr!important}.portal-news-feature-copy{padding:15px 0 0!important}.portal-news-feature-image{min-height:0!important;aspect-ratio:16/9}.portal-news-feature-copy h2{font-size:34px!important}.portal-news-feature-side{grid-template-columns:1fr 1fr!important}.portal-news-layout{grid-template-columns:1fr!important}.portal-news-sidebar{display:block!important}.portal-news-list-item{grid-template-columns:180px minmax(0,1fr)!important}}
@media(max-width:560px){body.superportal-public .container{width:calc(100% - 20px)}.header-online{display:none!important}.app-meta-inner{justify-content:center!important}.portal-news-header{border-bottom-width:3px!important;margin-bottom:13px!important}.portal-news-header h1{font-size:32px!important}.portal-news-header p{font-size:12px!important}.portal-news-feature{gap:14px!important}.portal-news-feature-copy h2{font-size:29px!important;line-height:1.06!important}.portal-news-feature-copy p{display:block!important;font-size:13px!important}.portal-news-feature-side{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 10px!important;padding-top:13px!important}.portal-news-feature-small-img{height:auto!important;aspect-ratio:16/10}.portal-news-feature-small h3{font-size:13px!important}.portal-news-layout{padding-top:15px!important}.portal-news-list-item{grid-template-columns:118px minmax(0,1fr)!important;gap:11px!important;padding:13px 0!important}.portal-news-list-image{height:86px!important}.portal-news-list-item h3{font-size:16px!important;line-height:1.16!important}.portal-news-list-item p,.portal-news-list-item>div:last-child>b{display:none!important}.portal-section-head h2{font-size:19px!important}.portal-news-sidebar{margin-top:24px}.portal-most-read strong{font-size:14px!important}}
/* SuperPortal AI autopilot */
.autopilot-box{align-items:flex-start;gap:24px}.autopilot-settings{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:10px 14px;min-width:min(100%,520px)}.autopilot-settings label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.autopilot-settings input[type=number],.autopilot-settings input:not([type=checkbox]),.autopilot-settings select{max-width:180px}.autopilot-settings .btn{grid-column:1/-1;justify-self:end}@media(max-width:760px){.autopilot-box{display:block}.autopilot-settings{grid-template-columns:1fr;margin-top:16px}.autopilot-settings label{align-items:flex-start;flex-direction:column}.autopilot-settings input[type=number],.autopilot-settings input:not([type=checkbox]),.autopilot-settings select{max-width:none;width:100%}}


/* ==========================================================
   SuperPortal 1.1.9 — LIGHT NEWS + LIGHT SUPERADMIN
   ========================================================== */
body.superportal-public .portal-article-page,
body.superportal-public .portal-article-main,
body.superportal-public .portal-article-sidebar{color:#17191c!important}
body.superportal-public .portal-article-header h1{color:#111!important}
body.superportal-public .portal-article-perex{color:#4b5158!important}
body.superportal-public .portal-article-meta,
body.superportal-public .portal-article-meta span{color:#697078!important}
body.superportal-public .portal-article-meta b{color:#17191c!important}
body.superportal-public .portal-article-content,
body.superportal-public .rich-article-content{color:#252a30!important;background:#fff!important}
body.superportal-public .portal-article-content p,
body.superportal-public .rich-article-content p,
body.superportal-public .portal-article-content li,
body.superportal-public .rich-article-content li{color:#30353b!important}
body.superportal-public .portal-article-content h1,
body.superportal-public .portal-article-content h2,
body.superportal-public .portal-article-content h3,
body.superportal-public .portal-article-content h4,
body.superportal-public .portal-article-content h5,
body.superportal-public .portal-article-content h6,
body.superportal-public .rich-article-content h1,
body.superportal-public .rich-article-content h2,
body.superportal-public .rich-article-content h3,
body.superportal-public .rich-article-content h4,
body.superportal-public .rich-article-content h5,
body.superportal-public .rich-article-content h6{color:#101214!important}
body.superportal-public .portal-article-content strong,
body.superportal-public .rich-article-content strong{color:#111!important}
body.superportal-public .portal-article-content a,
body.superportal-public .rich-article-content a:not(.article-button){color:#c8102e!important}
body.superportal-public .portal-article-content blockquote,
body.superportal-public .rich-article-content blockquote{background:#f6f7f8!important;color:#343a40!important;border-left-color:#d61936!important}
body.superportal-public .portal-article-content figcaption,
body.superportal-public .rich-article-content figcaption{color:#70767d!important}
body.superportal-public .portal-article-content th,
body.superportal-public .portal-article-content td{color:#20252a!important;border-color:#dfe2e5!important}
body.superportal-public .portal-breadcrumb,
body.superportal-public .portal-breadcrumb a{color:#666c73!important}
body.superportal-public .portal-related h2,
body.superportal-public .portal-related h3{color:#17191c!important}

/* Light Superadmin: calm newsroom UI. */
body.admin-body{--bg:#f4f6f8;--card:#fff;--card2:#f8fafb;--line:#dfe4e8;--text:#15191d;--muted:#68727c;--ice:#17191d;background:#f4f6f8!important;color:#15191d!important}
.admin-body .admin-shell{background:#f4f6f8!important}
.admin-body .sidebar,.admin-body .admin-app-drawer{background:#fff!important;border-right:1px solid #e0e4e8!important;color:#17191d!important;box-shadow:none!important}
.admin-body .admin-sidebar-logo,.admin-body .admin-mobile-brand{color:#111!important}
.admin-body .admin-label{color:#9a2437!important}
.admin-body .side-menu a{color:#343a40!important;background:transparent!important;border-color:transparent!important}
.admin-body .side-menu a:hover{background:#f5f6f7!important;color:#111!important}
.admin-body .side-menu a.active{background:#fff0f2!important;color:#c8102e!important;border-color:#f2c7cf!important}
.admin-body .side-sep{border-color:#e6e9ec!important;background:#e6e9ec!important}
.admin-body .admin-side-footer{background:#fff!important;border-color:#e6e9ec!important}
.admin-body .admin-side-footer a,.admin-body .admin-side-footer span,.admin-body .admin-install-link{color:#68727c!important}
.admin-body .admin-main{background:#f4f6f8!important;color:#15191d!important}
.admin-body .section-title h1,.admin-body .section-title h2,.admin-body h1,.admin-body h2,.admin-body h3,.admin-body h4{color:#15191d!important}
.admin-body .muted,.admin-body small,.admin-body .field-hint{color:#68727c!important}
.admin-body .eyebrow{color:#c8102e!important}
.admin-body .card,.admin-body .panel,.admin-body .radar-auto-box,.admin-body .radar-source-group,.admin-body .radar-item,.admin-body .radar-source-row,.admin-body .empty-state{background:#fff!important;color:#15191d!important;border-color:#dfe4e8!important;box-shadow:0 1px 2px rgba(20,30,40,.035)!important}
.admin-body input,.admin-body select,.admin-body textarea{background:#fff!important;color:#17191d!important;border-color:#cfd6dc!important;box-shadow:none!important}
.admin-body input::placeholder,.admin-body textarea::placeholder{color:#9aa2aa!important}
.admin-body .btn{background:#d71938!important;border-color:#d71938!important;color:#fff!important;box-shadow:none!important}
.admin-body .btn:hover{background:#bb102d!important;border-color:#bb102d!important}
.admin-body .btn.secondary{background:#fff!important;color:#252b31!important;border-color:#ccd3d9!important}
.admin-body .btn.secondary:hover{background:#f5f6f7!important;border-color:#aeb8c0!important}
.admin-body .btn.danger{background:#fff!important;color:#b42336!important;border-color:#e7b6bf!important}
.admin-body .news-category,.admin-body .official-pill,.admin-body .new-pill{background:#fff0f2!important;color:#c8102e!important;border-color:#f0c4cc!important}
.admin-body .radar-score{background:#f5f7f8!important;border-color:#dfe4e8!important;color:#17191d!important}
.admin-body .radar-score b{color:#0f7a45!important}
.admin-body code,.admin-body pre,.admin-body .cron-url code,.admin-body .cron-task code{background:#f3f5f6!important;color:#26313a!important;border-color:#dfe4e8!important}
.admin-body table,.admin-body .admintable{background:#fff!important;color:#17191d!important}
.admin-body .admintable th{background:#f6f7f8!important;color:#59636d!important;border-color:#e0e4e8!important}
.admin-body .admintable td{color:#252b31!important;border-color:#e8ebee!important}
.admin-body .alert.ok,.admin-body .api-test-ok{background:#eef9f2!important;color:#16643b!important;border-color:#bee5cc!important}
.admin-body .alert.error{background:#fff1f2!important;color:#a71930!important;border-color:#efbdc5!important}
.admin-body .admin-mobile-top{background:#fff!important;color:#17191d!important;border-bottom:1px solid #e0e4e8!important;box-shadow:0 2px 10px rgba(20,30,40,.05)!important}
.admin-body .admin-mobile-menu-btn,.admin-body .admin-mobile-close{background:#fff!important;color:#17191d!important;border-color:#d6dce1!important}
.admin-body .visual-editor{background:#fff!important;color:#252a30!important}
.admin-body .editor-toolbar{background:#f5f6f7!important;border-color:#dfe4e8!important}
.admin-body .editor-toolbar button,.admin-body .editor-toolbar select{background:#fff!important;color:#252b31!important;border-color:#d0d7dd!important}
.admin-body .article-savebar{background:rgba(255,255,255,.94)!important;border:1px solid #dfe4e8!important}
.admin-body .autopilot-box{border:2px solid #efc6cd!important;background:#fffafb!important}
.admin-body .autopilot-box h3{color:#a9142d!important}
@media(max-width:780px){body.admin-body{background:#f4f6f8!important}.admin-body .sidebar,.admin-body .admin-app-drawer{background:#fff!important}}

/* ==========================================================================
   SuperPortal 1.1.9 — unified light newsroom UI
   ========================================================================== */
body.admin-body{
  --sp-red:#d71938;--sp-red-dark:#b9122e;--sp-bg:#f4f6f8;--sp-surface:#fff;
  --sp-soft:#f7f8fa;--sp-border:#dde3e8;--sp-text:#16191d;--sp-muted:#68727c;
  --sp-green:#147a47;--sp-yellow:#9a6b00;--sp-shadow:0 8px 28px rgba(24,32,40,.06);
  background:var(--sp-bg)!important;color:var(--sp-text)!important;
}
.admin-body .admin-shell,.admin-body .admin-main{background:var(--sp-bg)!important;color:var(--sp-text)!important}
.admin-body .sidebar,.admin-body .admin-app-drawer,.admin-body .admin-mobile-top{background:#fff!important;color:var(--sp-text)!important;border-color:var(--sp-border)!important}
.admin-body .sidebar{box-shadow:2px 0 18px rgba(20,30,40,.035)!important}
.admin-body .admin-sidebar-logo,.admin-body .admin-mobile-brand,.admin-body .admin-mobile-user{color:#111!important}
.admin-body .admin-label,.admin-body .eyebrow{color:var(--sp-red)!important}
.admin-body .side-menu a{color:#30363d!important;background:transparent!important;border-color:transparent!important}
.admin-body .side-menu a:hover{background:#f5f6f7!important;color:#111!important}
.admin-body .side-menu a.active{background:#fff0f3!important;color:#c8102e!important;border-color:#f2ccd3!important}
.admin-body .side-sep,.admin-body .admin-side-footer{border-color:#e7eaed!important}
.admin-body .admin-side-footer{background:#fff!important}
.admin-body .admin-side-footer a,.admin-body .admin-side-footer span,.admin-body .admin-install-link{color:#66717a!important}

.admin-body h1,.admin-body h2,.admin-body h3,.admin-body h4,.admin-body h5,.admin-body strong{color:#171a1e}
.admin-body .muted,.admin-body small,.admin-body .field-hint{color:var(--sp-muted)!important}
.admin-body .card,.admin-body .panel,.admin-body .empty-state,.admin-body .source-manager,
.admin-body .radar-dashboard,.admin-body .radar-top-block,.admin-body .radar-top-card,
.admin-body .radar-source-group,.admin-body .radar-item,.admin-body .radar-source-row,
.admin-body .radar-auto-box,.admin-body .ai-source-form,.admin-body .ai-result-panel,
.admin-body .ai-history,.admin-body .ai-real-media,.admin-body .media-candidate,
.admin-body .ai-safety-note,.admin-body .ai-confidence,.admin-body .ai-seo-preview,
.admin-body .ai-preview-content,.admin-body .meta-connected-card,.admin-body .meta-callback-box{
  background:#fff!important;color:var(--sp-text)!important;border-color:var(--sp-border)!important;
  background-image:none!important;box-shadow:none!important;
}
.admin-body .card,.admin-body .panel{box-shadow:var(--sp-shadow)!important}

.admin-body input,.admin-body select,.admin-body textarea,.admin-body .visual-editor,.admin-body .html-editor{
  background:#fff!important;color:#20252a!important;border-color:#ccd4da!important;box-shadow:none!important;
}
.admin-body input:focus,.admin-body select:focus,.admin-body textarea:focus,.admin-body .visual-editor:focus{
  border-color:#aeb9c2!important;box-shadow:0 0 0 3px rgba(215,25,56,.08)!important;
}
.admin-body input::placeholder,.admin-body textarea::placeholder{color:#9ba3aa!important}
.admin-body .editor-toolbar{background:#f6f7f8!important;border-color:var(--sp-border)!important}
.admin-body .editor-toolbar button,.admin-body .editor-toolbar select{background:#fff!important;color:#252b31!important;border-color:#cfd6dc!important}
.admin-body .editor-toolbar button:hover{background:#f0f2f4!important}

.admin-body .btn{background:var(--sp-red)!important;color:#fff!important;border-color:var(--sp-red)!important;box-shadow:none!important}
.admin-body .btn:hover{background:var(--sp-red-dark)!important;border-color:var(--sp-red-dark)!important}
.admin-body .btn.secondary{background:#fff!important;color:#273038!important;border-color:#cbd3d9!important}
.admin-body .btn.secondary:hover{background:#f4f6f7!important;color:#111!important;border-color:#aeb8c0!important}
.admin-body .btn.danger{background:#fff!important;color:#b32037!important;border-color:#e7b8c0!important}
.admin-body .btn.danger:hover{background:#fff3f5!important;color:#971a2d!important}

.admin-body table,.admin-body .admintable{background:#fff!important;color:#20252a!important}
.admin-body .admintable th{background:#f6f7f8!important;color:#59636d!important;border-color:#e0e5e9!important}
.admin-body .admintable td{color:#252b31!important;border-color:#e8ecef!important}
.admin-body .admintable tr:hover td{background:#fafbfc!important}

/* Radar */
.admin-body .radar-dashboard{padding:20px!important}
.admin-body .radar-filterbar{border-color:#e0e5e9!important}
.admin-body .radar-range-tabs a{background:#fff!important;color:#4c5760!important;border-color:#d4dbe1!important}
.admin-body .radar-range-tabs a:hover{background:#f4f6f7!important;color:#111!important}
.admin-body .radar-range-tabs a.active{background:var(--sp-red)!important;color:#fff!important;border-color:var(--sp-red)!important}
.admin-body .radar-summary-row>div{background:#fff!important;border-color:var(--sp-border)!important;box-shadow:0 1px 2px rgba(20,30,40,.03)!important}
.admin-body .radar-summary-row strong{color:var(--sp-red)!important}
.admin-body .radar-summary-row span{color:#737d86!important}
.admin-body .radar-top-block{background:#f8f9fa!important;border-color:#e1e5e8!important}
.admin-body .radar-top-grid{gap:12px!important}
.admin-body .radar-top-card{background:#fff!important;border:1px solid #dce2e7!important;box-shadow:0 3px 12px rgba(24,32,40,.04)!important}
.admin-body .radar-top-card:hover{border-color:#c9d1d8!important;box-shadow:0 6px 18px rgba(24,32,40,.07)!important}
.admin-body .radar-top-card h3,.admin-body .radar-item-main h3,.admin-body .radar-group-head h4,.admin-body .radar-block-title h3{color:#171a1e!important}
.admin-body .radar-meta,.admin-body .radar-reason,.admin-body .radar-item-main small,.admin-body .radar-group-head span,.admin-body .radar-block-title small{color:#6d7780!important}
.admin-body .radar-source-group{background:#fff!important;border-color:#dfe4e8!important}
.admin-body .radar-group-head{background:#f6f7f8!important;border-bottom-color:#e0e4e8!important}
.admin-body .radar-source-group .radar-item{background:#fff!important;border-bottom-color:#e8ecef!important}
.admin-body .radar-source-group .radar-item:hover{background:#fafbfc!important}
.admin-body .radar-score,.admin-body .radar-score.score-hot,.admin-body .radar-score.score-good,.admin-body .radar-score.score-mid{background:#f6f8f9!important;border-color:#dce2e7!important;color:#20252a!important}
.admin-body .radar-score.score-hot b{color:#c8102e!important}.admin-body .radar-score.score-good b{color:var(--sp-green)!important}.admin-body .radar-score.score-mid b{color:var(--sp-yellow)!important}
.admin-body .radar-score span{color:#7b858d!important}
.admin-body .news-category,.admin-body .new-pill{background:#fff0f3!important;color:#c8102e!important;border-color:#f0c9d0!important}
.admin-body .official-pill{background:#eef8f2!important;color:#17673d!important;border-color:#c8e3d2!important}
.admin-body .radar-source-row{background:#fff!important}
.admin-body .radar-source-main>a{color:#a6162e!important}
.admin-body .radar-source-diagnostics>span{background:#f2f4f6!important;color:#66727b!important}
.admin-body .source-status.ok{background:#eef8f2!important;color:#17673d!important}.admin-body .source-status.error{background:#fff1f3!important;color:#a71930!important}.admin-body .source-status.warn{background:#fff8e7!important;color:#805c00!important}
.admin-body .source-error-text{background:#fff3f5!important;color:#a71930!important}
.admin-body .source-check{color:#69737c!important}

/* Autopilot and AI editor */
.admin-body .autopilot-box{background:#fffafb!important;border:1px solid #efcbd2!important;box-shadow:0 4px 18px rgba(215,25,56,.035)!important}
.admin-body .autopilot-box h3{color:#a9142d!important}
.admin-body .ai-safety-note,.admin-body .ai-confidence,.admin-body .ai-seo-preview,.admin-body .ai-preview-content{background:#f7f8f9!important}
.admin-body .ai-safety-note b{color:#a9142d!important}.admin-body .ai-safety-note span,.admin-body .ai-preview-perex{color:#64707a!important}
.admin-body .ai-confidence b{color:#147a47!important}
.admin-body .ai-preview-content h2,.admin-body .ai-preview-content h3,.admin-body .ai-preview-content p,.admin-body .ai-preview-content li{color:#20252a!important}
.admin-body .ai-usage span{background:#f1f3f5!important;color:#65717b!important}
.admin-body .media-warning,.admin-body .rights-confirm{background:#fff8e8!important;color:#735500!important;border-color:#ead9a4!important}
.admin-body .media-candidate>div small,.admin-body .media-candidate>label{color:#68737c!important;border-color:#e4e8eb!important}
.admin-body .media-candidate>img{background:#eef1f3!important}
.admin-body .cron-url code,.admin-body code,.admin-body pre{background:#f3f5f6!important;color:#26313a!important;border-color:#dde3e8!important}
.admin-body .ai-work-overlay{background:rgba(245,247,249,.88)!important}
.admin-body .ai-work-card{background:#fff!important;color:#171a1e!important;border:1px solid #dfe4e8!important;box-shadow:0 18px 60px rgba(20,28,36,.13)!important}
.admin-body .ai-work-card p,.admin-body .ai-work-card small{color:#68737c!important}
.admin-body .ai-work-progress{background:#eceff1!important}.admin-body .ai-work-progress i{background:var(--sp-red)!important}

/* Dashboard, article editor and social */
.admin-body .kpi strong{color:#171a1e!important}
.admin-body .health>div,.admin-body .admin-game,.admin-body .social-log-row,.admin-body .meta-page-row{border-color:#e4e8eb!important;background:#fff!important;color:#20252a!important}
.admin-body .article-publish-float{background:rgba(255,255,255,.97)!important;border-color:#dce2e7!important;box-shadow:0 10px 30px rgba(24,32,40,.09)!important}
.admin-body .featured-article-toggle,.admin-body .article-social-publish-box,.admin-body .notification-toggle-row{background:#f8f9fa!important;color:#20252a!important;border-color:#dfe4e8!important}
.admin-body .article-social-publish-box small,.admin-body .featured-article-toggle small,.admin-body .notification-toggle-row span{color:#68727c!important}
.admin-body .meta-callback-box code{background:#f3f5f6!important;color:#26313a!important}
.admin-body .status{background:#f2f4f6!important;color:#56616b!important;border-color:#dde3e8!important}
.admin-body .status-live,.admin-body .ok-text{color:#147a47!important}.admin-body .bad-text{color:#b32037!important}
.admin-body .alert.ok,.admin-body .api-test-ok{background:#eef9f2!important;color:#16643b!important;border-color:#bee5cc!important}
.admin-body .alert.error{background:#fff1f3!important;color:#a71930!important;border-color:#efbdc5!important}
.admin-body .alert.warn{background:#fff8e8!important;color:#735500!important;border-color:#ead9a4!important}

/* Mobile admin: cards instead of squeezed desktop tables */
@media(max-width:760px){
  .admin-body .admin-main{padding:16px 12px 86px!important}
  .admin-body .radar-top-card{padding:14px 74px 14px 14px!important;min-height:0!important}
  .admin-body .radar-summary-row{grid-template-columns:1fr 1fr!important}
  .admin-body .radar-source-row{grid-template-columns:1fr!important}
  .admin-body .radar-source-actions{justify-content:flex-start!important}
  .admin-body .autopilot-settings{grid-template-columns:1fr!important}
  .admin-body .admintable{font-size:13px}
  .admin-body .users-table tr{background:#fff!important;border-color:#dfe4e8!important}
  .admin-body .users-table td:before{color:#727c85!important}
}

/* Public article readability: all editorial text must stay dark on white. */
body.superportal-public .portal-article-content,
body.superportal-public .rich-article-content{color:#2d3339!important}
body.superportal-public .portal-article-content p,
body.superportal-public .portal-article-content li,
body.superportal-public .rich-article-content p,
body.superportal-public .rich-article-content li{color:#30363c!important}
body.superportal-public .portal-article-content h1,
body.superportal-public .portal-article-content h2,
body.superportal-public .portal-article-content h3,
body.superportal-public .portal-article-content h4,
body.superportal-public .portal-article-content h5,
body.superportal-public .portal-article-content h6,
body.superportal-public .rich-article-content h1,
body.superportal-public .rich-article-content h2,
body.superportal-public .rich-article-content h3,
body.superportal-public .rich-article-content h4,
body.superportal-public .rich-article-content h5,
body.superportal-public .rich-article-content h6{color:#101214!important}
body.superportal-public .portal-article-content strong,body.superportal-public .rich-article-content strong{color:#111!important}
body.superportal-public .portal-article-content a,body.superportal-public .rich-article-content a:not(.article-button){color:#c8102e!important}
body.superportal-public .portal-article-content blockquote,body.superportal-public .rich-article-content blockquote{background:#f6f7f8!important;color:#30363c!important;border-left-color:#d71938!important}


/* =========================================================
   SuperPortal 1.1.9 — final visual consistency pass
   ========================================================= */
/* Public consent UI belongs to the light news design. */
body.superportal-public .cookie-consent-card,
body.superportal-public .cookie-modal-card{background:#fff!important;color:#171a1e!important;border:1px solid #dfe3e7!important;box-shadow:0 20px 60px rgba(20,28,36,.16)!important}
body.superportal-public .cookie-consent-copy p,
body.superportal-public .cookie-modal-intro,
body.superportal-public .cookie-option p{color:#626b73!important}
body.superportal-public .cookie-option{border-top-color:#e4e8eb!important}
body.superportal-public .cookie-btn.primary{background:#d71938!important;color:#fff!important;border-color:#d71938!important}
body.superportal-public .cookie-btn.secondary{background:#fff!important;color:#242a30!important;border-color:#ccd4da!important}
body.superportal-public .cookie-modal-close{background:#f2f4f5!important;color:#20252a!important}
body.superportal-public .cookie-switch i{background:#cbd2d8!important}
body.superportal-public .cookie-switch input:checked+i{background:#d71938!important}
body.superportal-public .cookie-always{color:#147a47!important}

/* Admin: cover every specialized panel that historically carried a dark inline theme. */
.admin-body .article-schedule-inline,
.admin-body .meta-callback-box,
.admin-body .meta-page-row,
.admin-body .article-social-publish-box,
.admin-body .article-social-publish-box>label,
.admin-body .meta-connected-card,
.admin-body .cron-task,
.admin-body .source-manager,
.admin-body .source-add,
.admin-body .ai-source-form,
.admin-body .ai-result-panel,
.admin-body .ai-history,
.admin-body .media-candidate,
.admin-body .security-card,
.admin-body .settings-grid>.card,
.admin-body .health>div{background:#fff!important;color:#20252a!important;border-color:#dfe4e8!important}
.admin-body .article-schedule-inline small,
.admin-body .meta-callback-box small,
.admin-body .meta-connected-card span,
.admin-body .meta-page-row span,
.admin-body .social-log-row small,
.admin-body .article-social-publish-box small{color:#68737c!important}
.admin-body .meta-page-row.selected{background:#fff5f7!important;border-color:#e9b8c1!important}
.admin-body .social-platform{background:#f1f3f5!important;color:#252b31!important}
.admin-body .article-schedule-inline{border-style:solid!important}
.admin-body .publish-float-status small,.admin-body .publish-float-date label{color:#68737c!important}
.admin-body .publish-float-actions .publish-now{background:#d71938!important;color:#fff!important;border-color:#d71938!important}
.admin-body .publish-float-actions .schedule-btn{background:#fff8e8!important;color:#735500!important;border-color:#ead9a4!important}
.admin-body .cron-task code{display:block;background:#f4f6f7!important;color:#26313a!important;border:1px solid #dfe4e8!important}
.admin-body .source-manager>summary{color:#20252a!important;background:#f7f8f9!important;border-color:#e0e5e9!important}
.admin-body .source-off{background:#f2f4f5!important;color:#68737c!important;border-color:#dce2e7!important}
.admin-body .admin-install-link{background:#fff!important;color:#343b42!important;border:1px solid #d7dde2!important;border-radius:9px!important}
.admin-body .admin-install-link:hover,.admin-body .admin-install-link.active{background:#fff1f3!important;color:#b41630!important;border-color:#e9bec5!important}
.admin-body .admin-push-status{display:block;min-height:0;color:#68737c;font-size:11px}
.admin-body .admin-push-status.show{padding:6px 2px}

/* Auth screen follows the same white/red admin identity. */
body.admin-login-body{background:#f4f6f8!important;color:#171a1e!important}
body.admin-login-body .admin-login-card{background:#fff!important;color:#171a1e!important;border:1px solid #dfe4e8!important;box-shadow:0 18px 55px rgba(20,28,36,.09)!important}
body.admin-login-body input{background:#fff!important;color:#171a1e!important;border-color:#cfd6dc!important}
body.admin-login-body .btn{background:#d71938!important;color:#fff!important}
body.admin-login-body .muted,body.admin-login-body .admin-login-back a{color:#68737c!important}

body.superportal-public .card.panel{background:#fff!important;color:#20252a!important;border:1px solid #dfe3e7!important;box-shadow:0 5px 18px rgba(20,28,36,.04)!important}
body.superportal-public .card.panel h1,body.superportal-public .card.panel h2,body.superportal-public .card.panel h3{color:#15191d!important}
body.superportal-public .card.panel p{color:#626b73!important}
\n\n/* SuperPortal 1.1.9 — final light admin, collapsible Radar sources, AI preview modal */\n.admin-body .category-admin-row{background:#fff!important;border-color:#dfe4e8!important;color:#20252a!important;box-shadow:0 2px 10px rgba(24,32,40,.035)!important}\n.admin-body .category-admin-row:hover{background:#fafbfc!important;border-color:#cfd7dd!important}\n.admin-body .cat-count{color:#6e7881!important}\n.admin-body .image-options{background:#fff!important;color:#20252a!important;border-color:#d7dee4!important;box-shadow:0 10px 28px rgba(24,32,40,.10)!important}\n.admin-body .image-options label{color:#59646d!important}\n.admin-body .seo-auto-box{background:#fff!important;color:#20252a!important;border:1px solid #dfe4e8!important;box-shadow:0 5px 18px rgba(24,32,40,.04)!important}\n.admin-body .seo-score{background:#fff1f3!important;color:#b01831!important}.admin-body .seo-score.mid{background:#fff8e7!important;color:#806000!important}.admin-body .seo-score.good{background:#eef8f2!important;color:#17673d!important}\n.admin-body .article-savebar{background:rgba(255,255,255,.97)!important;border:1px solid #dce2e7!important;box-shadow:0 10px 30px rgba(24,32,40,.10)!important}\n.admin-body .email-section-nav{background:#fff!important;border-color:#dfe4e8!important}\n.admin-body .email-section-nav a{color:#4f5a63!important}.admin-body .email-section-nav a:hover{background:#f5f6f7!important;color:#15191d!important}.admin-body .email-section-nav a.active{background:#fff0f3!important;color:#bd1832!important}\n.admin-body .email-history-kpi strong{color:#171a1e!important}.admin-body .email-history-kpi span{color:#707b84!important}\n.admin-body .mail-template-chip{background:#f1f4f6!important;color:#48545e!important}.admin-body .mail-status.ok{background:#eef8f2!important;color:#17673d!important}.admin-body .mail-status.error{background:#fff1f3!important;color:#a71930!important}.admin-body .mail-error-cell{color:#a71930!important}\n.admin-body .email-pagination a{background:#fff!important;color:#4d5962!important;border:1px solid #dfe4e8!important}.admin-body .email-pagination a.active{background:var(--sp-red)!important;color:#fff!important;border-color:var(--sp-red)!important}\n.admin-body .radar-source-collapsible{padding:0!important;overflow:hidden}\n.admin-body .radar-source-collapsible>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;background:#f7f8f9!important;border:0!important;color:#20252a!important}\n.admin-body .radar-source-collapsible>summary::-webkit-details-marker{display:none}.admin-body .radar-source-collapsible[open]>summary{border-bottom:1px solid #e1e6ea!important}\n.admin-body .radar-source-collapsible .radar-list{padding:0}.admin-body .source-chevron{display:inline-block;margin-left:6px;transition:transform .18s ease;color:#8a949c}.admin-body .radar-source-collapsible[open] .source-chevron{transform:rotate(180deg)}\n.admin-body .source-manager{background:#fff!important;border:1px solid #dfe4e8!important;border-radius:14px!important;padding:0!important;overflow:hidden}.admin-body .source-manager>summary{padding:14px 16px!important}.admin-body .source-manager[open]>summary{border-bottom:1px solid #e0e5e9!important}.admin-body .source-manager>.radar-source-table,.admin-body .source-manager>.source-add{margin:12px 14px!important}\n.admin-body .ai-result-launcher{min-height:0!important}.admin-body .ai-result-ready{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #dfe4e8;border-radius:14px;background:#f8f9fa}.admin-body .ai-result-ready h3{margin:2px 0 5px}\nbody.modal-open{overflow:hidden}.ai-preview-modal[hidden]{display:none!important}.ai-preview-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px}.ai-preview-backdrop{position:absolute;inset:0;background:rgba(17,22,27,.54);backdrop-filter:blur(3px)}.ai-preview-dialog{position:relative;width:min(1040px,96vw);max-height:92vh;background:#fff;color:#20252a;border:1px solid #d9e0e5;border-radius:18px;box-shadow:0 28px 90px rgba(15,22,30,.25);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.ai-preview-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e3e7ea;background:#fff}.ai-preview-modal-head h2{margin:2px 0 0!important;color:#171a1e!important}.ai-preview-close{width:40px;height:40px;border:1px solid #d5dce1;border-radius:10px;background:#fff;color:#333;font-size:27px;line-height:1;cursor:pointer}.ai-preview-modal-scroll{overflow:auto;padding:20px}.ai-preview-modal-scroll .ai-preview-content{max-height:none!important;background:#f8f9fa!important;color:#20252a!important;border-color:#dfe4e8!important}.ai-preview-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid #e3e7ea;background:#fafbfc}.ai-preview-modal-actions form{display:flex;align-items:center;gap:12px;margin:0}.ai-preview-modal-actions .rights-confirm{margin:0!important}.admin-body .security-secret,.admin-body .security-uri,.admin-body .backup-code-grid code,.admin-body .status-ok-box{background:#f7f8f9!important;color:#20252a!important;border-color:#dfe4e8!important}\n@media(max-width:760px){.ai-preview-modal{padding:8px}.ai-preview-dialog{width:100%;max-height:96vh;border-radius:14px}.ai-preview-modal-actions{align-items:stretch;flex-direction:column}.ai-preview-modal-actions form{align-items:stretch;flex-direction:column}.admin-body .ai-result-ready{align-items:stretch;flex-direction:column}}\n

/* ==========================================================================\n   SuperPortal 1.1.9 — public article interactions and taxonomy: light only\n   ========================================================================== */
body.superportal-public .article-share,
body.superportal-public .article-share-bottom{
  background:#fff!important;
  color:#20252a!important;
  border-color:#dfe4e8!important;
  background-image:none!important;
  box-shadow:none!important;
}
body.superportal-public .article-share-bottom{
  padding:12px 14px!important;
  box-shadow:0 3px 14px rgba(20,28,36,.035)!important;
}
body.superportal-public .article-share>span,
body.superportal-public .article-share>strong,
body.superportal-public .article-share-bottom>strong{color:#4e5962!important}
body.superportal-public .share-btn,
body.superportal-public .share-btn.facebook,
body.superportal-public .share-btn.whatsapp,
body.superportal-public .share-btn.native,
body.superportal-public .share-btn.copy{
  background:#fff!important;
  color:#252b31!important;
  border-color:#ccd4da!important;
  box-shadow:none!important;
}
body.superportal-public .share-btn:hover{
  background:#f6f7f8!important;
  color:#b41630!important;
  border-color:#d9aeb6!important;
}
body.superportal-public .share-btn.copied{
  background:#eef8f2!important;
  color:#16643b!important;
  border-color:#b9dfc8!important;
}
body.superportal-public .portal-article-tags a,
body.superportal-public .portal-tag-cloud a{
  background:#fff!important;
  color:#3c464e!important;
  border-color:#d5dce1!important;
  box-shadow:none!important;
}
body.superportal-public .portal-article-tags a:hover,
body.superportal-public .portal-tag-cloud a:hover,
body.superportal-public .portal-tag-cloud a.active{
  background:#fff1f3!important;
  color:#b41630!important;
  border-color:#e7b9c1!important;
}
body.superportal-public .portal-article-tags>b{color:#69747d!important}
body.superportal-public .portal-topics-widget,
body.superportal-public .portal-most-read-widget{
  background:#fff!important;
  color:#20252a!important;
  border-color:#dfe4e8!important;
  background-image:none!important;
  box-shadow:none!important;
}
body.superportal-public .portal-most-read>a{border-bottom-color:#e6eaed!important}
body.superportal-public .portal-most-read strong{color:#20252a!important}
body.superportal-public .portal-most-read small{color:#707b84!important}
body.superportal-public .portal-most-read>a>b{background:#f1f3f5!important;color:#b41630!important}
body.superportal-public .portal-most-read>a:first-child>b{background:#fff0f3!important;color:#b41630!important}
body.superportal-public .article-reaction-box,
body.superportal-public .article-comments-box{
  background:#fff!important;
  color:#20252a!important;
  border-color:#dfe4e8!important;
  box-shadow:none!important;
}
body.superportal-public .article-reaction-box h2,
body.superportal-public .article-comments-box h2{color:#171a1e!important}
body.superportal-public .article-reactions button{
  background:#fff!important;
  color:#303840!important;
  border-color:#ccd4da!important;
}
body.superportal-public .article-reactions button:hover,
body.superportal-public .article-reactions button.active{
  background:#fff1f3!important;
  color:#b41630!important;
  border-color:#e5b3bc!important;
}
body.superportal-public .article-comment,
body.superportal-public .portal-discussed-list a{border-color:#e6eaed!important}
body.superportal-public .article-comment-avatar,
body.superportal-public .article-comment-login,
body.superportal-public .article-comments-disabled,
body.superportal-public .article-comments-empty{
  background:#f5f7f8!important;
  color:#59646d!important;
}
/* SuperPortal 1.2.4 - AI Radar generated visual previews */
.ai-generated-media{margin-top:18px;padding:16px;border:1px solid #dfe4e8;border-radius:16px;background:#f8fafb;color:#20252a}
.ai-generated-cover{display:grid;gap:8px;margin-top:12px}
.ai-generated-cover img{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:14px;border:1px solid #dfe4e8;background:#fff}
.ai-generated-grid{margin-top:14px}
.ai-generated-grid .media-candidate{background:#fff!important;color:#20252a!important;border-color:#dfe4e8!important}
.ai-generated-grid .media-candidate img{aspect-ratio:3/2;object-fit:cover}

/* SuperPortal 1.2.4 - Autopilot controls */
.admin-body .autopilot-settings .switch-row{flex-direction:row!important;align-items:center!important;min-height:44px;padding:8px 10px;border:1px solid #e4e9ef;border-radius:12px;background:#fff;max-width:none}
.sp-switch{position:relative;display:inline-block;width:46px;height:26px;flex:0 0 46px}.sp-switch input{position:absolute;opacity:0;pointer-events:none}.sp-switch i{position:absolute;inset:0;border-radius:999px;background:#d8dee6;border:1px solid #c8d0da;transition:.18s;cursor:pointer}.sp-switch i:before{content:"";position:absolute;width:20px;height:20px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s}.sp-switch input:checked+i{background:#df1738;border-color:#df1738}.sp-switch input:checked+i:before{transform:translateX(20px)}
.admin-body .autopilot-note{grid-column:1/-1;padding:10px 12px;border-radius:10px;background:#f7f8fa;border:1px solid #e3e7ec;color:#5c6875;font-size:12px;line-height:1.45}

/* SuperPortal v1.2.4 — homepage, article sidebar, ads, SEO admin */
.sp-breaking-strip{display:flex;gap:18px;align-items:center;border-top:3px solid #111;border-bottom:1px solid #dfe3e8;padding:11px 0;margin:0 0 22px;overflow:hidden}.sp-breaking-strip>b{font-size:.72rem;letter-spacing:.12em;color:#d71935;white-space:nowrap}.sp-breaking-strip>div{display:flex;gap:24px;overflow:auto;scrollbar-width:none}.sp-breaking-strip a{color:#111;text-decoration:none;font-weight:750;white-space:nowrap;font-size:.9rem}.sp-category-section{margin:38px 0 46px;border-top:4px solid #111;padding-top:14px}.sp-category-grid{display:grid;grid-template-columns:1.55fr repeat(3,1fr);gap:18px}.sp-category-card{display:block;text-decoration:none;color:#111;border-bottom:1px solid #d9dee5;padding-bottom:15px}.sp-category-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;background:#eef1f4}.sp-category-card span{display:block;color:#6d7680;font-size:.72rem;margin-top:9px}.sp-category-card h3{font-size:1.05rem;line-height:1.18;margin:5px 0 0;color:#111}.sp-category-card-main h3{font-size:1.55rem}.sp-category-card p{color:#555f69;margin:8px 0 0;line-height:1.5}.sp-ad-slot{width:100%;margin:24px 0;padding:8px;border:1px solid #e2e6eb;background:#fafbfc;border-radius:12px;text-align:center;overflow:hidden}.sp-ad-label{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.58rem;color:#8a929b;margin:0 0 6px}.sp-ad-content{min-height:60px;display:flex;align-items:center;justify-content:center}.sp-ad-content>*{max-width:100%}.sp-ad-wide .sp-ad-content{min-height:90px}.sp-ad-sidebar{margin:18px 0}.sp-ad-sidebar .sp-ad-content{min-height:250px}.sp-ad-in-article{margin:30px 0}.portal-article-sidebar .portal-widget{background:#fff;border:1px solid #dfe4ea;border-radius:14px;padding:18px;margin-bottom:18px}.portal-article-sidebar{align-self:start}.portal-sticky-widget{position:sticky;top:92px}.seo-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.seo-url-list{display:grid;gap:12px}.seo-url-list>div{padding:12px;border:1px solid #e1e6eb;border-radius:10px;background:#f8fafb}.seo-url-list b,.seo-url-list code{display:block}.seo-url-list code{margin-top:5px;overflow-wrap:anywhere}.seo-steps,.seo-checklist{line-height:1.7;padding-left:22px}.sp-admin-switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.sp-admin-switch-row span{display:grid;gap:4px}.sp-admin-switch-row small{color:#6d7680}.sp-admin-switch-row input{width:22px;height:22px;accent-color:#df1738}
@media(max-width:1050px){.sp-category-grid{grid-template-columns:1fr 1fr}.portal-article-sidebar{position:static}.portal-sticky-widget{position:static}}
@media(max-width:700px){.sp-breaking-strip{gap:10px}.sp-category-grid{grid-template-columns:1fr 1fr;gap:12px}.sp-category-card-main{grid-column:1/-1}.sp-category-card-main h3{font-size:1.3rem}.seo-admin-grid{grid-template-columns:1fr}.sp-ad-sidebar .sp-ad-content{min-height:120px}}


/* SuperPortal v1.2.5 – public polish */
body.superportal-public .portal-category-bar a{background:#fff!important;color:#111!important;border:1px solid #d9dee5!important;box-shadow:none!important}
body.superportal-public .portal-category-bar a:hover{border-color:#df1738!important;color:#df1738!important;background:#fff7f8!important}
body.superportal-public .portal-category-bar a.active{background:#df1738!important;border-color:#df1738!important;color:#fff!important}
body.superportal-public .portal-inline-empty{background:#f7f8fa!important;border:1px solid #dfe4ea!important;color:#68717b!important;border-radius:10px!important}
.sp-search-trigger{display:inline-flex;align-items:center;gap:7px;border:1px solid #d9dee5;background:#fff;color:#111;border-radius:999px;padding:8px 12px;cursor:pointer;font-weight:800;font-size:12px;white-space:nowrap}.sp-search-trigger:hover{border-color:#df1738;color:#df1738}.sp-search-trigger span{font-size:19px;line-height:1}.sp-search-trigger b{font-size:12px}
body.superportal-public .global-search-backdrop{background:rgba(17,17,17,.42)!important;backdrop-filter:blur(6px)}
body.superportal-public .global-search-panel{background:#fff!important;border:1px solid #e0e4e8!important;color:#111!important;box-shadow:0 30px 90px rgba(0,0,0,.20)!important}
body.superportal-public .global-search-head>button{background:#f5f6f7!important;border-color:#e0e4e8!important;color:#111!important}
body.superportal-public .global-search-input-wrap{background:#f7f8fa!important;border-color:#d9dee5!important}
body.superportal-public .global-search-input-wrap input{color:#111!important}
body.superportal-public .global-search-input-wrap>span{color:#df1738!important}
body.superportal-public .global-search-result{color:#111!important}
body.superportal-public .global-search-result:hover{background:#f7f8fa!important}
body.superportal-public .global-search-thumb,body.superportal-public .global-search-type{background:#f0f2f4!important;color:#df1738!important}
body.superportal-public .global-search-result small,.global-search-hint{color:#6d7680!important}
.sp-breaking-strip{position:relative}.sp-breaking-strip>b{color:#df1738!important;min-width:max-content}.sp-breaking-strip>div{scroll-behavior:smooth}.sp-breaking-strip a:hover{color:#df1738!important}.sp-breaking-strip a:after{content:'•';color:#c7cbd0;margin-left:24px}.sp-breaking-strip a:last-child:after{display:none}
body.superportal-public .app-meta-inner{font-size:12px!important}.today-info{display:flex;align-items:center;gap:6px;white-space:nowrap}.today-info .meta-sep{color:#b4bac0}.today-info strong{font-weight:850!important}
.sp-switch{position:relative;display:inline-flex;width:48px;height:28px;flex:0 0 auto}.sp-switch input{position:absolute;opacity:0;pointer-events:none}.sp-switch i{position:absolute;inset:0;background:#cfd4da;border-radius:999px;cursor:pointer;transition:.2s}.sp-switch i:after{content:'';position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.2s}.sp-switch input:checked+i{background:#df1738}.sp-switch input:checked+i:after{transform:translateX(20px)}
@media(max-width:900px){.sp-search-trigger b{display:none}.sp-search-trigger{padding:7px 10px}.today-info{font-size:11px}.header-online{display:none!important}}
