/* === seriesagoal-v152.css === */
:root{
  --sg-bg:#f2f3f7;--sg-surface:#fff;--sg-surface-2:#f7f8fb;--sg-surface-3:#eef0f5;
  --sg-text:#202126;--sg-muted:#777c87;--sg-line:#e3e5eb;--sg-accent:#3748e5;--sg-accent-strong:#2f3dcc;
  --sg-accent-soft:#eef0ff;--sg-live:#e34242;--sg-green:#24a15f;--sg-yellow:#d89000;--sg-radius:12px;
  --sg-header:#3748e5;--sg-header-2:#3141d1;--sg-shadow:0 1px 3px rgba(25,28,40,.07),0 1px 1px rgba(25,28,40,.03);
  --sg-card:var(--sg-surface);--sg-border:var(--sg-line);--sg-soft:var(--sg-surface-2);--sg-hover:rgba(26,32,45,.045)
}
html[data-sg-theme="dark"]{
  --sg-bg:#111217;--sg-surface:#1a1c22;--sg-surface-2:#20232a;--sg-surface-3:#292d36;
  --sg-text:#f5f6f8;--sg-muted:#9aa0ab;--sg-line:#2b2f38;--sg-accent:#7180ff;--sg-accent-strong:#8490ff;
  --sg-accent-soft:#222747;--sg-header:#303ec8;--sg-header-2:#2936b5;--sg-shadow:none;
  --sg-card:var(--sg-surface);--sg-border:var(--sg-line);--sg-soft:var(--sg-surface-2);--sg-hover:rgba(255,255,255,.045)
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--sg-bg);color:var(--sg-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px}body{overflow-x:hidden}.sg-body{padding-top:102px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.sg-svg{display:block;flex:0 0 auto}

/* header */
.sg-topbar{height:58px;position:fixed;inset:0 0 auto 0;z-index:100;background:var(--sg-header);color:#fff;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.sg-topbar-inner{height:100%;max-width:1360px;margin:auto;display:grid;grid-template-columns:220px minmax(280px,520px) 1fr;align-items:center;gap:28px;padding:0 20px}
.sg-brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:19px;letter-spacing:-.5px;color:#fff}.sg-brand-mark{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#fff;color:var(--sg-header);font-size:12px;font-weight:900;box-shadow:0 1px 4px rgba(0,0,0,.12)}.sg-brand-name{font-weight:850}
.sg-global-search{height:38px;border-radius:8px;background:rgba(255,255,255,.98);display:flex;align-items:center;gap:10px;padding:0 13px;color:#767b87;box-shadow:0 1px 2px rgba(0,0,0,.06)}.sg-global-search:hover{background:#fff}.sg-global-search-copy{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.sg-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.sg-top-icon{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer}.sg-top-icon:hover{background:rgba(255,255,255,.12)}
.sg-sportbar{height:44px;position:fixed;top:58px;left:0;right:0;z-index:95;background:var(--sg-header-2);color:#dce0ff;border-top:1px solid rgba(255,255,255,.07)}.sg-sportbar-inner{height:100%;max-width:1360px;margin:auto;display:flex;align-items:stretch;padding:0 20px;overflow:auto;scrollbar-width:none}.sg-sportbar-inner::-webkit-scrollbar{display:none}.sg-sportbar a{display:flex;align-items:center;gap:7px;padding:0 16px;font-size:12px;font-weight:700;white-space:nowrap;border-bottom:3px solid transparent}.sg-sportbar a:hover{background:rgba(255,255,255,.06);color:#fff}.sg-sportbar a.is-active{color:#fff;border-bottom-color:#fff;background:rgba(255,255,255,.06)}

/* shell and nav */
.sg-shell{max-width:1360px;margin:auto;display:grid;grid-template-columns:210px minmax(0,1fr);gap:18px;padding:18px 20px}.sg-main{min-width:0}.sg-sidebar{position:sticky;top:120px;height:calc(100vh - 138px);align-self:start;overflow:auto;scrollbar-width:none}.sg-sidebar::-webkit-scrollbar{display:none}.sg-nav{display:flex;flex-direction:column;gap:3px}.sg-nav-link{min-height:42px;padding:0 12px;border-radius:9px;display:flex;align-items:center;gap:11px;font-weight:650;color:#5f6470}.sg-nav-link:hover{background:rgba(255,255,255,.7);color:var(--sg-text)}.sg-nav-link.is-active{background:var(--sg-surface);color:var(--sg-accent);box-shadow:var(--sg-shadow)}.sg-nav-icon{width:21px;display:grid;place-items:center}.sg-side-label{text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.09em;color:var(--sg-muted);padding:0 4px}.sg-sidebar-league,.sg-side-block{border-top:1px solid var(--sg-line);margin-top:16px;padding-top:15px}.sg-sidebar-league>a{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;margin-top:8px;padding:9px;border-radius:9px;background:var(--sg-surface);box-shadow:var(--sg-shadow)}.sg-sidebar-league>a:hover{background:var(--sg-surface-2)}.sg-sidebar-league img{width:30px;height:30px;object-fit:contain}.sg-sidebar-league span{min-width:0;display:flex;flex-direction:column}.sg-sidebar-league strong{font-size:12px}.sg-sidebar-league small{font-size:9px;color:var(--sg-muted);margin-top:2px}.sg-side-block{display:flex;flex-direction:column;gap:5px}.sg-side-block .sg-side-label{margin-bottom:4px}.sg-side-block>a{min-height:38px;display:flex;align-items:center;gap:10px;padding:0 10px;border-radius:8px;color:var(--sg-muted);font-weight:650}.sg-side-block>a:hover{background:var(--sg-surface);color:var(--sg-text)}

/* layout */
.sg-content-grid{display:grid;grid-template-columns:minmax(0,680px) 310px;gap:18px;align-items:start;justify-content:center}.sg-feed{min-width:0}.sg-right-rail{display:flex;flex-direction:column;gap:14px;position:sticky;top:120px}.sg-card{background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:var(--sg-radius);box-shadow:var(--sg-shadow);overflow:hidden}.sg-card-title{min-height:48px;font-size:13px;font-weight:800;padding:0 14px;border-bottom:1px solid var(--sg-line);display:flex;align-items:center;justify-content:space-between;gap:12px}.sg-card-title a{color:var(--sg-accent);font-size:11px;font-weight:750}.sg-card-title small{color:var(--sg-muted);font-size:10px;font-weight:650}.sg-muted{color:var(--sg-muted);line-height:1.5;margin:14px}.sg-section{margin-top:14px}.sg-button{display:inline-flex;align-items:center;justify-content:center;background:var(--sg-accent);color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:750}.sg-button:hover{background:var(--sg-accent-strong)}.sg-setup-card{padding:22px}.sg-setup-card h2{margin:0 0 7px;font-size:18px}.sg-setup-card p{color:var(--sg-muted);line-height:1.5}

/* page headers */
.sg-page-intro{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:4px 2px}.sg-page-intro h1{font-size:25px;line-height:1.05;letter-spacing:-.65px;margin:3px 0 0}.sg-page-intro p{margin:5px 0 0;color:var(--sg-muted);font-size:12px}.sg-page-intro-logo{width:54px;height:54px;object-fit:contain}.sg-page-intro-compact{min-height:58px}.sg-kicker{font-size:10px;text-transform:uppercase;font-weight:850;letter-spacing:.09em;color:var(--sg-accent)}
.sg-compact-league-head{min-height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 3px 12px}.sg-compact-league-main{display:flex;align-items:center;gap:12px}.sg-compact-league-main>span{width:48px;height:48px;border-radius:12px;background:var(--sg-surface);display:grid;place-items:center;box-shadow:var(--sg-shadow)}.sg-compact-league-main img{width:36px;height:36px;object-fit:contain}.sg-compact-league-main small{color:var(--sg-muted);font-size:10px}.sg-compact-league-main h1{font-size:22px;line-height:1;margin:4px 0 0;letter-spacing:-.45px}.sg-compact-league-head>a{display:flex;align-items:center;gap:4px;color:var(--sg-accent);font-size:11px;font-weight:750}

/* date + filters */
.sg-date-strip{display:grid;grid-template-columns:repeat(7,1fr) 45px;gap:2px;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:var(--sg-radius);padding:4px;margin-bottom:10px;box-shadow:var(--sg-shadow)}.sg-date-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;border-radius:8px;color:var(--sg-muted);font-size:10px;font-weight:700}.sg-date-item strong{font-size:14px;color:var(--sg-text);margin-top:3px}.sg-date-item:hover{background:var(--sg-surface-2)}.sg-date-item.is-active{background:var(--sg-accent-soft);color:var(--sg-accent)}.sg-date-item.is-active strong{color:var(--sg-accent)}.sg-calendar-btn{display:grid;place-items:center;border-left:1px solid var(--sg-line);color:var(--sg-muted)}
.sg-filter-row{display:flex;align-items:center;gap:7px;margin:0 0 10px;overflow:auto;scrollbar-width:none}.sg-filter-row::-webkit-scrollbar{display:none}.sg-pill{height:34px;padding:0 13px;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:8px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:400;color:var(--sg-muted);box-shadow:0 1px 1px rgba(0,0,0,.02)}.sg-pill:hover{background:var(--sg-surface-2)}.sg-pill.is-active{background:var(--sg-accent);border-color:var(--sg-accent);color:#fff}.sg-live-pill{color:var(--sg-live)}.sg-live-pill i,.sg-score small.live i{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block;animation:sgPulse 1.1s infinite}.sg-info-strip{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;margin:0 0 10px;border-radius:9px;background:var(--sg-accent-soft);color:var(--sg-muted);font-size:11px}.sg-info-strip strong{color:var(--sg-accent)}

/* league and matches */
.sg-league-card{margin-bottom:14px}.sg-league-head{min-height:54px;display:flex;align-items:center;justify-content:space-between;padding:8px 13px;border-bottom:1px solid var(--sg-line)}.sg-league-identity{display:flex;align-items:center;gap:10px}.sg-league-logo{width:34px;height:34px;border-radius:9px;background:var(--sg-surface-2);display:grid;place-items:center}.sg-league-head img{width:27px;height:27px;object-fit:contain}.sg-league-identity>span:last-child{display:flex;flex-direction:column}.sg-league-head strong{font-size:12px}.sg-league-head small{color:var(--sg-muted);font-size:9px;margin-top:2px}.sg-chevron{color:var(--sg-muted)}
.sg-match-row{min-height:64px;display:grid;grid-template-columns:58px minmax(0,1fr) 34px 28px;align-items:center;border-bottom:1px solid var(--sg-line);padding:5px 11px;transition:background .12s ease}.sg-match-row:last-child{border-bottom:0}.sg-match-row:hover{background:var(--sg-surface-2)}.sg-match-status{font-size:10px;color:var(--sg-muted);font-weight:400;display:flex;gap:5px;align-items:center}.sg-match-status.live{color:var(--sg-live)}.sg-match-status.live i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:sgPulse 1.1s infinite}.sg-match-status.alert{color:var(--sg-yellow)}.sg-match-teams{display:grid;gap:7px;min-width:0}.sg-match-teams>div{display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;align-items:center}.sg-match-teams img{width:21px;height:21px;object-fit:contain}.sg-match-teams span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.sg-match-score{display:grid;gap:7px;text-align:center}.sg-match-score strong{font-size:13px;line-height:15px}.sg-match-score span{font-size:12px;color:var(--sg-muted)}.sg-fav{color:#a2a6af;display:grid;place-items:center}.sg-fav:hover{color:var(--sg-accent)}.sg-empty{background:var(--sg-surface);border:1px dashed var(--sg-line);border-radius:var(--sg-radius);padding:30px;text-align:center;display:grid;gap:5px}.sg-empty span{color:var(--sg-muted);font-size:11px}

/* rail */
.sg-mini-table{display:grid}.sg-mini-table-head{display:grid;grid-template-columns:22px minmax(0,1fr) 25px;gap:7px;padding:7px 11px;color:var(--sg-muted);font-size:8px;font-weight:800;text-transform:uppercase;border-bottom:1px solid var(--sg-line)}.sg-mini-table-head b{text-align:right}.sg-mini-standing{display:grid;grid-template-columns:22px 24px minmax(0,1fr) 25px;align-items:center;gap:7px;padding:8px 11px;border-bottom:1px solid var(--sg-line);font-size:11px;position:relative}.sg-mini-standing:last-child{border-bottom:0}.sg-mini-standing:hover{background:var(--sg-surface-2)}.sg-mini-standing>b:first-child{color:var(--sg-muted);text-align:center}.sg-mini-standing:nth-child(n+2):nth-child(-n+5)>b:first-child{color:var(--sg-accent);font-weight:850}.sg-mini-standing img{width:20px;height:20px;object-fit:contain}.sg-mini-standing span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}.sg-mini-standing strong{text-align:right}.sg-next-match{display:grid;gap:6px;padding:10px 12px;border-bottom:1px solid var(--sg-line)}.sg-next-match:last-child{border-bottom:0}.sg-next-match:hover{background:var(--sg-surface-2)}.sg-next-match small{color:var(--sg-muted);font-size:9px}.sg-next-match span{display:grid;grid-template-columns:19px 1fr;align-items:center;gap:8px}.sg-next-match img{width:19px;height:19px;object-fit:contain}.sg-next-match b{font-size:11px}.sg-editorial-placeholder{padding:18px;display:grid;gap:5px}.sg-editorial-placeholder strong{font-size:13px}.sg-editorial-placeholder span{color:var(--sg-muted);font-size:11px;line-height:1.5}

/* teams index */
.sg-teams-card{overflow:hidden}.sg-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--sg-line)}.sg-team-tile{min-height:145px;background:var(--sg-surface);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 8px;transition:background .12s ease,transform .12s ease}.sg-team-tile:hover{background:var(--sg-surface-2)}.sg-team-logo-wrap{width:64px;height:64px;border-radius:14px;background:var(--sg-surface-2);display:grid;place-items:center;margin-bottom:10px}.sg-team-tile img{width:50px;height:50px;object-fit:contain}.sg-team-tile strong{font-size:12px;line-height:1.25;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-team-tile small{margin-top:4px;font-size:9px;color:var(--sg-muted)}

/* team profile */
.sg-team-profile{overflow:hidden}.sg-team-cover{min-height:150px;position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:24px;background:linear-gradient(135deg,var(--sg-accent-soft),var(--sg-surface) 58%)}.sg-team-cover:before{content:"";position:absolute;right:-80px;top:-130px;width:320px;height:320px;border-radius:50%;background:rgba(55,72,229,.055)}.sg-team-profile-main{position:relative;display:flex;align-items:center;gap:17px;min-width:0}.sg-team-profile-logo{width:92px;height:92px;border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 3px 16px rgba(20,24,40,.09);border:1px solid rgba(0,0,0,.04)}.sg-team-profile-logo img{width:72px;height:72px;object-fit:contain}.sg-team-profile-copy{min-width:0}.sg-team-profile-copy h1{font-size:26px;line-height:1.05;margin:5px 0 0;letter-spacing:-.7px}.sg-team-profile-copy p{margin:7px 0 0;color:var(--sg-muted);font-size:11px}.sg-follow-btn{position:relative;height:38px;padding:0 15px;border:0;border-radius:8px;background:var(--sg-accent);color:#fff;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer}.sg-follow-btn:hover{background:var(--sg-accent-strong)}.sg-profile-tabs{background:var(--sg-surface)}
.sg-team-overview-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(210px,.85fr);gap:14px;margin-top:14px}.sg-team-summary{min-width:0}.sg-team-rank{display:flex;align-items:center;gap:12px;padding:16px 14px}.sg-rank-number{width:48px;height:48px;border-radius:12px;background:var(--sg-accent-soft);color:var(--sg-accent);display:grid;place-items:center;font-size:22px;font-weight:850}.sg-team-rank div{display:flex;flex-direction:column}.sg-team-rank strong{font-size:12px}.sg-team-rank small{font-size:9px;color:var(--sg-muted);margin-top:3px}.sg-team-form{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-top:1px solid var(--sg-line);font-size:10px;color:var(--sg-muted)}.sg-team-form>div{display:flex;gap:4px}.sg-form-dot{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:8px;font-weight:850;color:#fff}.sg-form-w{background:var(--sg-green)}.sg-form-d{background:#9aa0ab}.sg-form-l{background:var(--sg-live)}.sg-team-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--sg-line)}.sg-team-mini-stats>div{text-align:center;padding:12px 4px;border-right:1px solid var(--sg-line)}.sg-team-mini-stats>div:last-child{border-right:0}.sg-team-mini-stats strong{display:block;font-size:16px}.sg-team-mini-stats span{display:block;margin-top:3px;color:var(--sg-muted);font-size:8px}.sg-team-info-grid{display:grid;grid-template-columns:repeat(3,1fr)}.sg-team-info-grid>div{padding:14px;border-right:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}.sg-team-info-grid>div:nth-child(3n){border-right:0}.sg-team-info-grid small{display:block;color:var(--sg-muted);font-size:9px;margin-bottom:5px}.sg-team-info-grid strong{font-size:11px}.sg-team-stats-grid{display:grid;grid-template-columns:repeat(3,1fr)}.sg-team-stats-grid>div{padding:22px 10px;text-align:center;border-right:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}.sg-team-stats-grid>div:nth-child(3n){border-right:0}.sg-team-stats-grid>div:nth-last-child(-n+3){border-bottom:0}.sg-team-stats-grid strong{display:block;font-size:22px;color:var(--sg-text)}.sg-team-stats-grid span{display:block;margin-top:5px;color:var(--sg-muted);font-size:9px}.sg-squad-grid{display:grid;grid-template-columns:1fr 1fr}.sg-squad-player{min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--sg-line);border-right:1px solid var(--sg-line)}.sg-squad-player:nth-child(even){border-right:0}.sg-squad-player:hover{background:var(--sg-surface-2)}.sg-squad-player>span{width:38px;height:38px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center;color:var(--sg-muted)}.sg-squad-player img{width:100%;height:100%;object-fit:cover}.sg-squad-player div{min-width:0;display:flex;flex-direction:column}.sg-squad-player strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-squad-player small{font-size:8px;color:var(--sg-muted);margin-top:3px}

/* full standings */
.sg-full-standings{overflow:auto}.sg-full-standing-head,.sg-full-standing-row{min-width:610px;display:grid;grid-template-columns:34px minmax(190px,1fr) 36px 36px 36px 36px 42px 38px;align-items:center;gap:4px;padding:9px 12px;border-bottom:1px solid var(--sg-line);font-size:10px;text-align:center}.sg-full-standing-head{font-size:8px;font-weight:800;text-transform:uppercase;color:var(--sg-muted);background:var(--sg-surface-2)}.sg-full-standing-row:hover{background:var(--sg-surface-2)}.sg-full-standing-row.is-current{background:var(--sg-accent-soft)}.sg-standing-team{display:flex;align-items:center;gap:8px;text-align:left;min-width:0}.sg-standing-team img{width:22px;height:22px;object-fit:contain}.sg-standing-team strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-full-standing-row>b{font-size:11px}

/* match center */
.sg-hero-match{padding:0}.sg-match-topline{min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-bottom:1px solid var(--sg-line)}.sg-match-topline>a{display:flex;align-items:center;gap:9px}.sg-match-topline img{width:28px;height:28px;object-fit:contain}.sg-match-topline a>span{display:flex;flex-direction:column}.sg-match-topline strong{font-size:12px}.sg-match-topline small{font-size:9px;color:var(--sg-muted);margin-top:2px}.sg-star-button{border:0;background:var(--sg-surface-2);color:var(--sg-muted);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer}.sg-scoreboard{display:grid;grid-template-columns:1fr 135px 1fr;gap:14px;align-items:center;padding:27px 18px 13px}.sg-team{text-align:center;font-weight:400;min-width:0}.sg-team img{display:block;width:68px;height:68px;object-fit:contain;margin:0 auto 10px}.sg-team span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.sg-score{text-align:center}.sg-score strong{font-size:31px;letter-spacing:-1px;white-space:nowrap}.sg-score strong i{font-style:normal;color:var(--sg-muted);font-weight:500}.sg-score small{display:block;color:var(--sg-muted);font-size:10px;font-weight:800;margin-top:5px}.sg-score small.live{color:var(--sg-live)}.sg-score small.alert{color:var(--sg-yellow)}.sg-score time{display:block;margin-top:6px;color:var(--sg-muted);font-size:9px}.sg-match-venue{text-align:center;color:var(--sg-muted);font-size:10px;padding:0 12px 14px}.sg-tabs{display:flex;overflow:auto;border-top:1px solid var(--sg-line);padding:0 8px;scrollbar-width:none}.sg-tabs::-webkit-scrollbar{display:none}.sg-tabs a{padding:13px 11px 11px;font-size:11px;font-weight:720;color:var(--sg-muted);white-space:nowrap;border-bottom:3px solid transparent}.sg-tabs a:hover{color:var(--sg-text)}.sg-tabs a.is-active{color:var(--sg-accent);border-color:var(--sg-accent)}
.sg-detail-grid{display:grid;grid-template-columns:1fr 1fr}.sg-detail-grid>div{padding:14px;border-bottom:1px solid var(--sg-line)}.sg-detail-grid>div:nth-child(odd){border-right:1px solid var(--sg-line)}.sg-detail-grid>div:nth-last-child(-n+2){border-bottom:0}.sg-detail-grid small{display:block;color:var(--sg-muted);font-size:9px;margin-bottom:5px}.sg-detail-grid strong{font-size:11px}.sg-timeline{padding:4px 14px}.sg-event{display:grid;grid-template-columns:43px 30px minmax(0,1fr);gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid var(--sg-line)}.sg-event:last-child{border-bottom:0}.sg-event-time{font-size:11px;font-weight:800}.sg-event-icon{font-size:15px;min-height:20px;display:grid;place-items:start center}.sg-event strong{display:block;font-size:11px}.sg-event small{display:block;color:var(--sg-muted);font-size:9px;margin-top:2px}.sg-stat-block{padding:12px 14px;border-bottom:1px solid var(--sg-line)}.sg-stat-block:last-child{border-bottom:0}.sg-stat-values{display:grid;grid-template-columns:58px minmax(0,1fr) 58px;align-items:center;text-align:center;gap:8px}.sg-stat-values strong{font-size:12px}.sg-stat-values span{font-size:10px;color:var(--sg-muted)}.sg-stat-bars{height:6px;margin-top:8px;border-radius:999px;background:var(--sg-surface-3);display:flex;overflow:hidden;gap:2px}.sg-stat-bars i,.sg-stat-bars b{display:block;height:100%}.sg-stat-bars i{background:var(--sg-accent)}.sg-stat-bars b{background:#a0a5b0}.sg-lineups-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--sg-line)}.sg-lineup-team{background:var(--sg-surface)}.sg-lineup-team>header{height:44px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between}.sg-lineup-team>header span{display:flex;align-items:center;gap:7px}.sg-lineup-team>header img{width:22px;height:22px;object-fit:contain}.sg-lineup-team>header strong{font-size:11px}.sg-lineup-team>header b{font-size:10px;color:var(--sg-muted)}.sg-lineup-missing{padding:24px 12px;color:var(--sg-muted);font-size:10px;text-align:center}.sg-pitch{position:relative;height:440px;margin:0 10px 10px;border:2px solid rgba(255,255,255,.72);background:linear-gradient(90deg,rgba(255,255,255,.035) 50%,transparent 50%),#3f9b62;border-radius:7px;overflow:hidden}.sg-pitch:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(255,255,255,.72)}.sg-pitch-circle{position:absolute;width:76px;height:76px;border:1px solid rgba(255,255,255,.75);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}.sg-pitch-box{position:absolute;width:55%;height:15%;left:22.5%;border:1px solid rgba(255,255,255,.72)}.sg-pitch-box.top{top:-1px}.sg-pitch-box.bottom{bottom:-1px}.sg-pitch-player{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:grid;justify-items:center;width:72px;text-align:center;color:#fff}.sg-pitch-player>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1f2933;border:2px solid rgba(0,0,0,.12);font-size:9px;font-weight:850;box-shadow:0 1px 4px rgba(0,0,0,.2)}.sg-pitch-player>b{margin-top:3px;max-width:72px;padding:2px 4px;border-radius:4px;background:rgba(20,30,28,.78);font-size:8px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-bench{padding:10px;border-top:1px solid var(--sg-line)}.sg-bench>strong{font-size:10px}.sg-bench>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.sg-bench span{padding:5px 7px;border-radius:7px;background:var(--sg-surface-2);font-size:8px;color:var(--sg-muted)}.sg-player-table{overflow:auto}.sg-player-head,.sg-player-row{min-width:500px;display:grid;grid-template-columns:minmax(210px,1fr) 48px 38px 38px 56px;align-items:center;gap:5px;padding:8px 12px;border-bottom:1px solid var(--sg-line);text-align:center}.sg-player-head{color:var(--sg-muted);font-size:8px;font-weight:850;text-transform:uppercase;background:var(--sg-surface-2)}.sg-player-head span:first-child{text-align:left}.sg-player-row{font-size:10px}.sg-player-row:last-child{border-bottom:0}.sg-player-row:hover{background:var(--sg-surface-2)}.sg-player-person{display:flex;align-items:center;gap:7px;text-align:left}.sg-player-person img{width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--sg-surface-2)}.sg-rating{display:inline-grid;place-items:center;min-width:34px;min-height:23px;border-radius:6px;background:var(--sg-accent);color:#fff;font-size:10px}.sg-prediction{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 12px;gap:8px}.sg-prediction>div{text-align:center;padding:13px 7px;border-radius:9px;background:var(--sg-surface-2)}.sg-prediction strong{display:block;font-size:18px}.sg-prediction small{display:block;margin-top:4px;color:var(--sg-muted);font-size:9px}.sg-disclaimer{padding:10px 14px;border-top:1px solid var(--sg-line);color:var(--sg-muted);font-size:9px}

/* generic inherited rows */
.sg-stat-row{min-height:44px;display:grid;grid-template-columns:70px minmax(0,1fr) 90px;align-items:center;gap:10px;padding:0 14px;border-bottom:1px solid var(--sg-line);font-size:11px}.sg-stat-row:last-child{border-bottom:0}.sg-stat-row>span{color:var(--sg-muted)}

/* editorial */
.sg-article-body{font-size:16px;line-height:1.72;color:var(--sg-text)}.sg-article-body p{margin:0 0 1.15em}.sg-article-body h2,.sg-article-body h3{line-height:1.25;letter-spacing:-.3px;margin:1.45em 0 .55em}.sg-article-body img{max-width:100%;height:auto;border-radius:9px}.sg-article-body a{color:var(--sg-accent);text-decoration:underline}.sg-article-body blockquote{margin:1.2em 0;padding:10px 14px;border-left:3px solid var(--sg-accent);background:var(--sg-surface-2);border-radius:0 8px 8px 0}.sg-mobile-nav{display:none}@keyframes sgPulse{50%{opacity:.28}}

@media(max-width:1120px){.sg-topbar-inner,.sg-sportbar-inner,.sg-shell{max-width:100%}.sg-shell{grid-template-columns:175px minmax(0,1fr);gap:14px}.sg-content-grid{grid-template-columns:minmax(0,1fr)}.sg-right-rail{display:none}.sg-topbar-inner{grid-template-columns:180px minmax(250px,1fr) auto}.sg-team-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:820px){.sg-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sg-team-overview-grid{grid-template-columns:1fr}.sg-topbar-inner{gap:12px}.sg-global-search-copy{display:none}.sg-global-search{width:44px;justify-content:center;padding:0}.sg-topbar-inner{grid-template-columns:1fr 44px auto}}
@media(max-width:760px){
  .sg-body{padding-top:96px;padding-bottom:66px}.sg-topbar{height:54px}.sg-sportbar{top:54px;height:42px}.sg-topbar-inner{height:54px;padding:0 11px;grid-template-columns:1fr auto auto}.sg-sportbar-inner{padding:0 5px}.sg-sportbar a{padding:0 12px}.sg-sportbar a:nth-child(n+5){display:none}.sg-brand{font-size:17px}.sg-brand-mark{width:31px;height:31px;border-radius:8px}.sg-global-search{width:36px;height:36px;background:rgba(255,255,255,.12);color:#fff}.sg-top-actions{gap:0}.sg-top-icon{width:36px;height:36px}.sg-top-actions .sg-top-icon:nth-child(2){display:none}.sg-shell{display:block;padding:10px 7px}.sg-sidebar{display:none}.sg-content-grid{display:block}.sg-page-intro{min-height:64px;padding-inline:4px}.sg-page-intro h1{font-size:21px}.sg-page-intro-logo{width:44px;height:44px}.sg-compact-league-head{min-height:60px;padding:0 3px 10px}.sg-compact-league-main>span{width:42px;height:42px}.sg-compact-league-main img{width:31px;height:31px}.sg-compact-league-main h1{font-size:20px}.sg-compact-league-head>a{font-size:10px}.sg-date-strip{grid-template-columns:repeat(5,1fr) 41px}.sg-date-item:nth-child(1),.sg-date-item:nth-child(2){display:none}.sg-date-item{min-height:48px}.sg-match-row{grid-template-columns:48px minmax(0,1fr) 31px 24px;padding:5px 8px}.sg-card{border-radius:10px}.sg-info-strip{display:grid;gap:3px}.sg-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-team-tile{min-height:132px}.sg-team-logo-wrap{width:58px;height:58px}.sg-team-tile img{width:45px;height:45px}.sg-team-cover{min-height:132px;padding:18px 14px;align-items:center}.sg-team-profile-main{gap:12px}.sg-team-profile-logo{width:74px;height:74px;border-radius:15px}.sg-team-profile-logo img{width:58px;height:58px}.sg-team-profile-copy h1{font-size:21px}.sg-follow-btn{height:36px;padding:0 11px}.sg-follow-btn span{display:none}.sg-team-info-grid{grid-template-columns:1fr 1fr}.sg-team-info-grid>div:nth-child(3n){border-right:1px solid var(--sg-line)}.sg-team-info-grid>div:nth-child(even){border-right:0}.sg-team-stats-grid{grid-template-columns:1fr 1fr}.sg-team-stats-grid>div:nth-child(3n){border-right:1px solid var(--sg-line)}.sg-team-stats-grid>div:nth-child(even){border-right:0}.sg-team-stats-grid>div:nth-last-child(-n+3){border-bottom:1px solid var(--sg-line)}.sg-team-stats-grid>div:nth-last-child(-n+2){border-bottom:0}.sg-squad-grid{grid-template-columns:1fr}.sg-squad-player{border-right:0}.sg-scoreboard{grid-template-columns:1fr 92px 1fr;padding:22px 9px 11px}.sg-team img{width:52px;height:52px}.sg-team span{font-size:11px}.sg-score strong{font-size:24px}.sg-match-topline{padding-inline:10px}.sg-tabs a{padding-inline:10px}.sg-detail-grid{grid-template-columns:1fr}.sg-detail-grid>div{border-right:0!important;border-bottom:1px solid var(--sg-line)!important}.sg-detail-grid>div:last-child{border-bottom:0!important}.sg-lineups-grid{grid-template-columns:1fr}.sg-pitch{height:500px}.sg-mobile-nav{display:grid;position:fixed;z-index:110;bottom:0;left:0;right:0;height:60px;grid-template-columns:repeat(5,1fr);background:var(--sg-surface);border-top:1px solid var(--sg-line);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -2px 8px rgba(20,24,35,.06)}.sg-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--sg-muted)}.sg-mobile-nav span{font-size:9px;font-weight:700}.sg-mobile-nav a:first-child{color:var(--sg-accent)}.sg-article-body{font-size:15.5px}
}

/* SG.2.3 - competitions rebuild */
.sg-competition-list-card{overflow:hidden}.sg-competition-row{min-height:108px;display:grid;grid-template-columns:72px minmax(0,1fr) 28px;align-items:center;gap:15px;padding:16px;border-bottom:1px solid var(--sg-line);transition:background .12s ease}.sg-competition-row:last-child{border-bottom:0}.sg-competition-row:hover{background:var(--sg-surface-2)}.sg-competition-logo{width:64px;height:64px;border-radius:14px;background:var(--sg-surface-2);display:grid;place-items:center}.sg-competition-logo img{width:50px;height:50px;object-fit:contain}.sg-competition-copy{min-width:0;display:flex;flex-direction:column}.sg-competition-title{display:flex;align-items:center;gap:8px;min-width:0}.sg-competition-title strong{font-size:15px;letter-spacing:-.2px}.sg-competition-title i{font-style:normal;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;padding:4px 6px;border-radius:6px;background:var(--sg-accent-soft);color:var(--sg-accent)}.sg-competition-copy>small{margin-top:4px;color:var(--sg-muted);font-size:10px}.sg-competition-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.sg-competition-meta b{font-size:9px;font-weight:700;color:var(--sg-muted);padding:5px 7px;border-radius:6px;background:var(--sg-surface-2)}.sg-competition-arrow{color:var(--sg-muted);display:grid;place-items:center}
.sg-competition-profile{overflow:hidden}.sg-competition-cover{min-height:142px;position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:22px;background:linear-gradient(135deg,var(--sg-accent-soft),var(--sg-surface) 62%)}.sg-competition-cover:before{content:"";position:absolute;right:-78px;top:-150px;width:330px;height:330px;border-radius:50%;background:rgba(55,72,229,.055)}.sg-competition-profile-main{position:relative;display:flex;align-items:center;gap:16px;min-width:0}.sg-competition-profile-logo{width:84px;height:84px;border-radius:18px;background:#fff;display:grid;place-items:center;box-shadow:0 3px 16px rgba(20,24,40,.08);border:1px solid rgba(0,0,0,.04)}.sg-competition-profile-logo img{width:66px;height:66px;object-fit:contain}.sg-competition-profile-copy h1{font-size:25px;line-height:1.05;margin:5px 0 0;letter-spacing:-.65px}.sg-competition-profile-copy p{margin:7px 0 0;color:var(--sg-muted);font-size:11px}.sg-competition-overview-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);gap:14px;margin-top:14px}.sg-competition-summary{min-width:0}.sg-competition-stats-strip{display:grid;grid-template-columns:1fr 1fr}.sg-competition-stats-strip>div{min-height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}.sg-competition-stats-strip>div:nth-child(even){border-right:0}.sg-competition-stats-strip>div:nth-last-child(-n+2){border-bottom:0}.sg-competition-stats-strip strong{font-size:19px}.sg-competition-stats-strip span{margin-top:4px;color:var(--sg-muted);font-size:9px}.sg-competition-table{overflow:auto}.sg-competition-table-head,.sg-competition-standing-row{min-width:420px;display:grid;grid-template-columns:32px minmax(210px,1fr) 38px 42px;align-items:center;gap:6px;min-height:42px;padding:0 12px;border-bottom:1px solid var(--sg-line);font-size:10px}.sg-competition-table-head{min-height:32px;background:var(--sg-surface-2);color:var(--sg-muted);font-size:8px;font-weight:850;text-transform:uppercase}.sg-competition-standing-row:last-child{border-bottom:0}.sg-competition-standing-row:hover{background:var(--sg-surface-2)}.sg-competition-standing-row>b{text-align:right}.sg-competition-big-stats{display:grid;grid-template-columns:repeat(3,1fr)}.sg-competition-big-stats>div{min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}.sg-competition-big-stats>div:nth-child(3n){border-right:0}.sg-competition-big-stats>div:nth-last-child(-n+3){border-bottom:0}.sg-competition-big-stats strong{font-size:23px}.sg-competition-big-stats span{margin-top:5px;color:var(--sg-muted);font-size:9px;text-align:center}.sg-team-grid-competition{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:820px){.sg-competition-overview-grid{grid-template-columns:1fr}.sg-team-grid-competition{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.sg-competition-row{min-height:94px;grid-template-columns:58px minmax(0,1fr) 22px;gap:11px;padding:13px 11px}.sg-competition-logo{width:54px;height:54px;border-radius:12px}.sg-competition-logo img{width:42px;height:42px}.sg-competition-title strong{font-size:13px}.sg-competition-meta{margin-top:8px}.sg-competition-meta b{font-size:8px;padding:4px 6px}.sg-competition-cover{min-height:126px;padding:17px 13px;align-items:center}.sg-competition-profile-main{gap:12px}.sg-competition-profile-logo{width:72px;height:72px;border-radius:15px}.sg-competition-profile-logo img{width:56px;height:56px}.sg-competition-profile-copy h1{font-size:21px}.sg-competition-stats-strip>div{min-height:72px}.sg-competition-big-stats{grid-template-columns:1fr 1fr}.sg-competition-big-stats>div:nth-child(3n){border-right:1px solid var(--sg-line)}.sg-competition-big-stats>div:nth-child(even){border-right:0}.sg-competition-big-stats>div:nth-last-child(-n+3){border-bottom:1px solid var(--sg-line)}.sg-competition-big-stats>div:nth-last-child(-n+2){border-bottom:0}.sg-team-grid-competition{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* SG.2.4 - definitive competition visual reset. New filename intentionally bypasses old browser/CDN CSS caches. */
.sg-competitions-intro{min-height:72px;margin-bottom:8px;padding-left:0}
.sg-competitions-intro h1{font-size:24px!important;line-height:1.1!important;letter-spacing:-.55px!important}
.sg-competitions-intro p{font-size:11px!important;margin-top:5px!important}

.sg-competition-directory{overflow:hidden!important}
.sg-directory-heading{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--sg-line);background:var(--sg-surface)}
.sg-directory-heading strong{font-size:12px;font-weight:800}
.sg-directory-heading span{font-size:9px;font-weight:700;color:var(--sg-muted)}
.sg-directory-league{display:grid!important;grid-template-columns:66px minmax(0,1fr) auto 64px!important;align-items:center!important;gap:14px!important;min-height:96px!important;padding:14px!important;background:var(--sg-surface)!important;color:var(--sg-text)!important}
.sg-directory-league:hover{background:var(--sg-surface-2)!important}
.sg-directory-logo{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;max-width:60px!important;max-height:60px!important;border-radius:12px!important;background:#fff!important;border:1px solid var(--sg-line)!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.sg-directory-logo img{display:block!important;width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.sg-directory-main{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.sg-directory-title{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
.sg-directory-title strong{font-size:16px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.sg-directory-title em{font-style:normal!important;font-size:8px!important;font-weight:850!important;line-height:1!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:var(--sg-accent)!important;background:var(--sg-accent-soft)!important;padding:5px 6px!important;border-radius:6px!important}
.sg-directory-main>small{margin-top:6px!important;color:var(--sg-muted)!important;font-size:10px!important}
.sg-directory-facts{display:flex!important;align-items:center!important;gap:0!important;height:46px!important;border-left:1px solid var(--sg-line)!important;border-right:1px solid var(--sg-line)!important}
.sg-directory-facts>span{min-width:70px!important;padding:0 12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
.sg-directory-facts b{font-size:14px!important;line-height:1!important}
.sg-directory-facts small{font-size:8px!important;color:var(--sg-muted)!important;margin-top:5px!important;text-transform:uppercase!important;letter-spacing:.03em!important}
.sg-directory-open{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;color:var(--sg-accent)!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}

.sg-competition-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px}
.sg-competition-quick-grid>a{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;border-right:1px solid var(--sg-line);border-radius:9px}
.sg-competition-quick-grid>a:last-child{border-right:0}
.sg-competition-quick-grid>a:hover{background:var(--sg-surface-2)}
.sg-competition-quick-grid>a>span{width:32px;height:32px;border-radius:8px;background:var(--sg-accent-soft);color:var(--sg-accent);display:grid;place-items:center}
.sg-competition-quick-grid strong{font-size:10px}
.sg-competition-quick-grid small{font-size:8px;color:var(--sg-muted)}

/* Single competition: force score-app proportions even if older rules remain in cache elsewhere. */
.sg-competition-profile{overflow:hidden!important}
.sg-competition-cover{min-height:116px!important;padding:16px!important;align-items:center!important;background:linear-gradient(135deg,var(--sg-accent-soft),var(--sg-surface) 68%)!important}
.sg-competition-profile-main{gap:13px!important}
.sg-competition-profile-logo{width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important;max-width:70px!important;max-height:70px!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}
.sg-competition-profile-logo img{display:block!important;width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important;margin:0!important;padding:0!important}
.sg-competition-profile-copy h1{font-size:22px!important;margin-top:4px!important;letter-spacing:-.45px!important}
.sg-competition-profile-copy p{font-size:10px!important;margin-top:6px!important}
.sg-profile-tabs{min-height:43px!important}
.sg-profile-tabs a{font-size:10px!important;padding:0 12px!important}
.sg-competition-overview-grid{gap:10px!important;margin-top:10px!important}
.sg-competition-stats-strip>div{min-height:70px!important}
.sg-competition-stats-strip strong{font-size:17px!important}

@media(max-width:760px){
  .sg-directory-league{grid-template-columns:54px minmax(0,1fr) 24px!important;gap:10px!important;min-height:82px!important;padding:11px!important}
  .sg-directory-logo{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;max-width:50px!important;max-height:50px!important;border-radius:10px!important}
  .sg-directory-logo img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important}
  .sg-directory-facts{display:none!important}
  .sg-directory-open{font-size:0!important;width:24px!important}
  .sg-directory-title strong{font-size:14px!important}
  .sg-competition-quick-grid{grid-template-columns:1fr 1fr;padding:7px}
  .sg-competition-quick-grid>a{min-height:82px;border-right:0;border-bottom:1px solid var(--sg-line)}
  .sg-competition-quick-grid>a:nth-last-child(-n+2){border-bottom:0}
  .sg-competition-cover{min-height:104px!important;padding:13px!important}
  .sg-competition-profile-logo{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;max-width:60px!important;max-height:60px!important}
  .sg-competition-profile-logo img{width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important}
  .sg-competition-profile-copy h1{font-size:19px!important}
}

/* =========================================================
   SG.3 MATCH CENTER — score-app visual system
   ========================================================= */
:root{
  --sg-bg:#f2f3f5;
  --sg-surface:#fff;
  --sg-surface-2:#f6f7f9;
  --sg-surface-3:#eceef2;
  --sg-text:#16181d;
  --sg-muted:#7b808a;
  --sg-line:#e2e4e8;
  --sg-accent:#3044c7;
  --sg-accent-strong:#2437b4;
  --sg-accent-soft:#edf0ff;
  --sg-header:#3044c7;
  --sg-header-2:#293cb8;
  --sg-live:#e33b43;
  --sg-green:#1d9a58;
  --sg-radius:10px;
  --sg-shadow:0 1px 2px rgba(20,24,32,.06);
}
html[data-sg-theme="dark"]{
  --sg-bg:#101115;
  --sg-surface:#1b1d22;
  --sg-surface-2:#202329;
  --sg-surface-3:#2a2d34;
  --sg-text:#f4f5f7;
  --sg-muted:#9ca1ab;
  --sg-line:#2d3037;
  --sg-accent:#7380ff;
  --sg-accent-strong:#8792ff;
  --sg-accent-soft:#252a49;
  --sg-header:#3044c7;
  --sg-header-2:#293cb8;
  --sg-shadow:none;
}

/* tighter desktop proportions: left nav / score feed / context rail */
.sg-topbar-inner,.sg-sportbar-inner,.sg-shell{max-width:1280px}
.sg-topbar-inner{grid-template-columns:190px minmax(320px,480px) 1fr;padding-inline:16px;gap:22px}
.sg-shell{grid-template-columns:188px minmax(0,1fr);gap:14px;padding:14px 16px 30px}
.sg-content-grid{grid-template-columns:minmax(0,636px) 300px;gap:14px;justify-content:center}
.sg-sidebar{top:116px;height:calc(100vh - 130px)}
.sg-right-rail{top:116px;gap:12px}
.sg-card{border-radius:10px}
.sg-card-title{min-height:46px;padding:0 14px;font-size:13px}
.sg-nav-link{min-height:40px;border-radius:8px;font-size:13px}
.sg-nav-link.is-active{background:var(--sg-accent-soft);box-shadow:none}
.sg-sidebar-league>a{box-shadow:none;border:1px solid var(--sg-line)}

/* Header language closer to a real score product */
.sg-brand-mark{width:32px;height:32px;border-radius:8px;font-size:11px}
.sg-brand-name{font-size:18px;letter-spacing:-.45px}
.sg-global-search{height:36px;border-radius:7px}
.sg-sportbar a{font-size:11px;font-weight:400;padding-inline:14px}

/* Home / match-list title */
.sg-score-home-head{min-height:62px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:2px 2px 11px}
.sg-score-home-head h1{margin:3px 0 0;font-size:22px;line-height:1.05;letter-spacing:-.55px}
.sg-score-home-head p{margin:4px 0 0;color:var(--sg-muted);font-size:10px}
.sg-score-home-head .sg-kicker{font-size:9px;letter-spacing:.08em}
.sg-competition-chip{height:38px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface);font-size:10px;font-weight:800;color:var(--sg-text)}
.sg-competition-chip:hover{background:var(--sg-surface-2)}
.sg-competition-chip img{width:24px;height:24px;object-fit:contain}
.sg-matches-head{align-items:center}

/* Sofa-style compact date control */
.sg-date-toolbar{display:grid;grid-template-columns:34px minmax(0,1fr) 34px 40px;gap:4px;align-items:stretch;margin-bottom:8px}
.sg-date-strip{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:2px!important;margin:0!important;padding:3px!important;border-radius:9px!important;box-shadow:none!important;min-width:0}
.sg-date-item{min-height:54px!important;border-radius:7px!important;font-size:9px!important}
.sg-date-item span{font-size:9px;text-transform:none}
.sg-date-item strong{font-size:14px!important;margin-top:1px!important}
.sg-date-item small{font-size:8px;color:var(--sg-muted);text-transform:uppercase;margin-top:1px}
.sg-date-item.is-active{background:var(--sg-accent)!important;color:#fff!important}
.sg-date-item.is-active strong,.sg-date-item.is-active small{color:#fff!important}
.sg-day-jump,.sg-calendar-btn{display:grid;place-items:center;border:1px solid var(--sg-line);border-radius:9px;background:var(--sg-surface);color:var(--sg-muted)}
.sg-day-jump:hover,.sg-calendar-btn:hover{background:var(--sg-surface-2);color:var(--sg-text)}
.sg-day-jump.is-disabled{opacity:.3;pointer-events:none}
.sg-calendar-btn{border-left:1px solid var(--sg-line)!important}

.sg-score-filters{margin-bottom:8px}
.sg-score-filters .sg-pill{height:31px;padding:0 11px;border-radius:7px;font-size:10px;box-shadow:none}
.sg-score-filters .sg-pill b{font-size:9px;opacity:.72}

/* League card and match rows */
.sg-league-card{margin-bottom:12px;box-shadow:none}
.sg-league-head{min-height:50px;padding:7px 12px;background:var(--sg-surface)}
.sg-league-logo{width:30px;height:30px;border-radius:7px;background:#fff;border:1px solid var(--sg-line)}
.sg-league-head img{width:23px;height:23px}
.sg-league-head strong{font-size:11px}
.sg-league-head small{font-size:8px}
.sg-match-row{min-height:60px;display:grid!important;grid-template-columns:48px minmax(0,1fr) 20px!important;gap:5px;padding:5px 10px!important;border-bottom:1px solid var(--sg-line)}
.sg-match-status{font-size:9px!important;font-weight:800!important;color:var(--sg-muted);text-align:center;display:flex;align-items:center;justify-content:center;gap:4px}
.sg-match-status.live{color:var(--sg-live)}
.sg-match-status.final{color:var(--sg-muted)}
.sg-match-status.scheduled{color:var(--sg-text)}
.sg-match-status i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:sgPulse 1.1s infinite}
.sg-match-teams{display:grid;gap:4px;min-width:0}
.sg-match-teams>div{display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px!important;align-items:center;gap:7px;min-height:24px}
.sg-match-teams img{width:22px!important;height:22px!important;object-fit:contain;margin:0!important}
.sg-match-teams span{font-size:11px!important;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-match-teams b{font-size:12px;text-align:right;font-weight:850;color:var(--sg-text)}
.sg-match-arrow{color:var(--sg-muted);display:grid;place-items:center}
.sg-match-row:hover{background:var(--sg-surface-2)}
.sg-empty{min-height:92px;border:1px solid var(--sg-line);border-radius:10px;background:var(--sg-surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--sg-muted)}
.sg-empty strong{font-size:12px;color:var(--sg-text)}
.sg-empty span{font-size:9px}
.sg-empty-inline{padding:24px 14px;text-align:center;color:var(--sg-muted);font-size:10px}
.sg-home-editorial{margin-top:12px}
.sg-editorial-placeholder{padding:18px 14px!important;min-height:86px!important}

/* Right rail */
.sg-mini-table-head{min-height:30px!important;font-size:8px!important}
.sg-mini-standing{min-height:42px!important;padding-inline:11px!important}
.sg-mini-standing img{width:22px!important;height:22px!important}
.sg-mini-standing span{font-size:10px!important}
.sg-mini-standing>b,.sg-mini-standing>strong{font-size:10px!important}
.sg-next-match{padding:10px 12px!important}
.sg-next-match small{font-size:8px!important}
.sg-next-match span img{width:20px!important;height:20px!important}
.sg-next-match span b{font-size:9px!important}

/* MATCH CENTER */
.sg-match-center-card{overflow:hidden;margin-bottom:12px}
.sg-match-center-head{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--sg-line)}
.sg-match-center-head>a{display:flex;align-items:center;gap:8px;min-width:0}
.sg-match-center-head>a>img{width:27px;height:27px;object-fit:contain;background:#fff;border-radius:6px;padding:2px;border:1px solid var(--sg-line)}
.sg-match-center-head>a>span{display:flex;flex-direction:column;min-width:0}
.sg-match-center-head strong{font-size:10px}
.sg-match-center-head small{font-size:8px;color:var(--sg-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-star-button{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:transparent;border:0;color:var(--sg-muted);cursor:pointer}
.sg-star-button:hover{background:var(--sg-surface-2);color:var(--sg-accent)}
.sg-match-stage{min-height:184px;display:grid;grid-template-columns:1fr 126px 1fr;align-items:center;gap:10px;padding:18px 22px 13px}
.sg-match-team{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.sg-match-team-logo{width:68px;height:68px;display:grid;place-items:center}
.sg-match-team-logo img{width:62px;height:62px;object-fit:contain}
.sg-match-team strong{max-width:150px;margin-top:8px;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-match-team small{font-size:8px;color:var(--sg-muted);margin-top:3px}
.sg-match-score-center{text-align:center;display:flex;flex-direction:column;align-items:center}
.sg-score-big{font-size:32px;line-height:1;font-weight:850;letter-spacing:-1.4px;white-space:nowrap}
.sg-score-big i{font-style:normal;color:var(--sg-muted);font-weight:500;margin:0 5px}
.sg-kickoff-big{font-size:27px;line-height:1;font-weight:850;letter-spacing:-.7px}
.sg-status-chip{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:5px 8px;border-radius:6px;background:var(--sg-surface-2);font-size:8px;font-weight:850;color:var(--sg-muted)}
.sg-status-chip.live{background:rgba(227,59,67,.11);color:var(--sg-live)}
.sg-status-chip.live i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:sgPulse 1.1s infinite}
.sg-status-chip.final{color:var(--sg-text)}
.sg-status-chip.scheduled{color:var(--sg-accent);background:var(--sg-accent-soft)}
.sg-match-score-center time{font-size:8px;color:var(--sg-muted);margin-top:6px}
.sg-match-meta-line{min-height:36px;padding:0 12px 10px;display:flex;align-items:center;justify-content:center;gap:18px;color:var(--sg-muted);font-size:8px}
.sg-match-meta-line span{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-match-tabs{height:44px;border-top:1px solid var(--sg-line);display:flex;align-items:stretch;overflow:auto;scrollbar-width:none;padding:0 6px}
.sg-match-tabs::-webkit-scrollbar{display:none}
.sg-match-tabs a{display:flex;align-items:center;padding:0 10px;border-bottom:3px solid transparent;font-size:9px;font-weight:800;color:var(--sg-muted);white-space:nowrap}
.sg-match-tabs a:hover{color:var(--sg-text)}
.sg-match-tabs a.is-active{color:var(--sg-accent);border-color:var(--sg-accent)}

/* overview facts */
.sg-match-facts{display:grid;grid-template-columns:1fr 1fr}
.sg-match-facts>div{min-height:64px;padding:12px 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--sg-line)}
.sg-match-facts>div:nth-child(odd){border-right:1px solid var(--sg-line)}
.sg-match-facts>div:nth-last-child(-n+2){border-bottom:0}
.sg-match-facts>div>.sg-svg{color:var(--sg-muted)}
.sg-match-facts span{display:flex;flex-direction:column;min-width:0}
.sg-match-facts small{font-size:8px;color:var(--sg-muted);margin-bottom:3px}
.sg-match-facts strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* timeline */
.sg-timeline{padding:0 14px!important}
.sg-event{grid-template-columns:38px 20px minmax(0,1fr)!important;gap:8px!important;min-height:48px;padding:9px 0!important}
.sg-event-time{font-size:9px!important}
.sg-event-badge{width:12px;height:12px;border-radius:50%;align-self:3px;display:block;background:var(--sg-muted);position:relative;margin-top:1px}
.sg-event-goal{background:var(--sg-text);border:2px solid var(--sg-surface);box-shadow:0 0 0 1px var(--sg-text)}
.sg-event-yellow{background:#f2c94c;border-radius:2px}
.sg-event-red{background:#df4141;border-radius:2px}
.sg-event-sub{background:linear-gradient(135deg,var(--sg-green) 0 50%,var(--sg-live) 50% 100%)}
.sg-event-var{background:var(--sg-accent)}
.sg-event strong{font-size:10px!important}
.sg-event small{font-size:8px!important}

/* stats */
.sg-stat-team-head{height:48px;display:grid;grid-template-columns:1fr 1fr;align-items:center;border-bottom:1px solid var(--sg-line);padding:0 14px}
.sg-stat-team-head span{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:800}
.sg-stat-team-head span:last-child{justify-content:flex-end}
.sg-stat-team-head img{width:24px;height:24px;object-fit:contain}
.sg-stat-block{padding:11px 14px!important}
.sg-stat-values{grid-template-columns:48px minmax(0,1fr) 48px!important}
.sg-stat-values strong{font-size:10px!important}
.sg-stat-values span{font-size:9px!important}
.sg-stat-bars{height:5px!important;margin-top:7px!important;gap:3px!important;background:transparent!important}
.sg-stat-bars i,.sg-stat-bars b{border-radius:999px}
.sg-stat-bars i{background:var(--sg-accent)!important}
.sg-stat-bars b{background:#8a909b!important}

/* best players */
.sg-top-players{display:grid;grid-template-columns:repeat(3,1fr)}
.sg-top-players>a{min-width:0;min-height:108px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid var(--sg-line);position:relative}
.sg-top-players>a:last-child{border-right:0}
.sg-top-players img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:var(--sg-surface-2)}
.sg-top-players span{min-width:0;margin-top:6px;display:flex;flex-direction:column;align-items:center}
.sg-top-players strong{max-width:100%;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-top-players small{margin-top:2px;font-size:7px;color:var(--sg-muted)}
.sg-top-players b{position:absolute;top:9px;right:9px;min-width:28px;padding:4px 5px;border-radius:5px;background:var(--sg-accent);color:#fff;font-size:9px}

/* lineups */
.sg-lineups-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:1px!important;background:var(--sg-line)}
.sg-lineup-team>header{height:43px!important}
.sg-pitch{height:410px!important;margin:0 8px 8px!important;border-radius:5px!important;background:repeating-linear-gradient(0deg,#39905a 0,#39905a 52px,#3d985f 52px,#3d985f 104px)!important;border:1px solid rgba(255,255,255,.78)!important}
.sg-pitch-center-line{position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(255,255,255,.75)}
.sg-pitch-player{width:64px!important}
.sg-pitch-player>span{width:25px!important;height:25px!important;font-size:8px!important;border:2px solid #fff!important;background:var(--sg-accent)!important;color:#fff!important}
.sg-pitch-player>b{max-width:62px!important;font-size:7px!important;background:rgba(17,22,20,.78)!important}

/* player ratings */
.sg-player-head,.sg-player-row{min-width:520px!important;grid-template-columns:minmax(220px,1fr) 44px 42px 42px 52px!important}
.sg-player-row{min-height:46px;padding-block:6px!important}
.sg-player-person span{display:flex;flex-direction:column;min-width:0}
.sg-player-person b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-player-person small{font-size:7px;color:var(--sg-muted);margin-top:2px}
.sg-rating{min-width:31px!important;min-height:22px!important;font-size:9px!important}

/* prediction */
.sg-prediction-head{height:72px;display:grid;grid-template-columns:1fr 1fr;padding:0 16px;border-bottom:1px solid var(--sg-line)}
.sg-prediction-head>div{display:flex;align-items:center;gap:9px;font-size:10px}
.sg-prediction-head>div:last-child{justify-content:flex-end;text-align:right}
.sg-prediction-head img{width:38px;height:38px;object-fit:contain}
.sg-prediction-bars{padding:14px}
.sg-prediction-bars>div{height:36px;display:grid;grid-template-columns:24px minmax(0,1fr) 48px;align-items:center;gap:8px;font-size:9px}
.sg-prediction-bars>div>span{font-weight:850}
.sg-prediction-bars>div>i{height:7px;border-radius:999px;background:var(--sg-surface-3);overflow:hidden}
.sg-prediction-bars>div>i>b{display:block;height:100%;border-radius:999px;background:var(--sg-accent)}
.sg-prediction-bars>div>strong{text-align:right;font-size:10px}
.sg-prediction-advice{margin:0;padding:0 14px 14px;font-size:9px;color:var(--sg-muted);line-height:1.45}

/* Competition/team legacy pages stay compact inside the SG.3 shell */
.sg-team-grid{gap:8px!important}
.sg-team-tile{border-radius:9px!important}
.sg-competition-directory,.sg-team-profile,.sg-competition-profile{box-shadow:none!important}

@media(max-width:1120px){
  .sg-shell{grid-template-columns:170px minmax(0,1fr)}
  .sg-content-grid{grid-template-columns:minmax(0,640px)}
  .sg-right-rail{display:none}
}

@media(max-width:760px){
  .sg-body{padding-top:96px;padding-bottom:64px}
  .sg-shell{padding:8px 6px 18px}
  .sg-score-home-head{min-height:54px;padding:2px 3px 9px}
  .sg-score-home-head h1{font-size:20px}
  .sg-competition-chip{height:34px;padding-inline:7px}
  .sg-competition-chip img{width:21px;height:21px}
  .sg-date-toolbar{grid-template-columns:30px minmax(0,1fr) 30px 35px;gap:3px}
  .sg-date-strip{grid-template-columns:repeat(5,1fr)!important}
  .sg-date-item{display:flex!important;min-height:48px!important}
  .sg-date-item:nth-child(1),.sg-date-item:nth-child(2){display:flex!important}
  .sg-date-item span{font-size:8px}
  .sg-date-item strong{font-size:13px!important}
  .sg-date-item small{font-size:7px}
  .sg-match-row{min-height:58px!important;grid-template-columns:44px minmax(0,1fr) 17px!important;padding-inline:7px!important}
  .sg-match-teams>div{grid-template-columns:22px minmax(0,1fr) 22px!important;gap:6px}
  .sg-match-teams img{width:20px!important;height:20px!important}
  .sg-match-teams span{font-size:10px!important}
  .sg-match-stage{min-height:164px;grid-template-columns:1fr 86px 1fr;gap:5px;padding:17px 8px 10px}
  .sg-match-team-logo{width:54px;height:54px}
  .sg-match-team-logo img{width:50px;height:50px}
  .sg-match-team strong{max-width:110px;font-size:10px}
  .sg-score-big{font-size:26px}
  .sg-kickoff-big{font-size:23px}
  .sg-match-meta-line{gap:10px;padding-inline:8px}
  .sg-match-meta-line span{max-width:48%}
  .sg-match-tabs a{padding-inline:9px;font-size:9px}
  .sg-match-facts{grid-template-columns:1fr}
  .sg-match-facts>div{border-right:0!important;border-bottom:1px solid var(--sg-line)!important;min-height:58px}
  .sg-match-facts>div:last-child{border-bottom:0!important}
  .sg-top-players>a{min-height:98px;padding-inline:5px}
  .sg-top-players img{width:38px;height:38px}
  .sg-lineups-grid{grid-template-columns:1fr!important}
  .sg-pitch{height:500px!important}
  .sg-pitch-player{width:68px!important}
  .sg-pitch-player>b{max-width:66px!important}
  .sg-prediction-head{height:64px;padding-inline:10px}
  .sg-prediction-head img{width:32px;height:32px}
}

@media(max-width:420px){
  .sg-brand-name{font-size:16px}
  .sg-score-home-head p{display:none}
  .sg-competition-chip span{display:none}
  .sg-match-stage{grid-template-columns:1fr 78px 1fr}
  .sg-match-team strong{max-width:92px}
  .sg-top-players strong{max-width:86px}
}

/* ========================================================================== 
   SerieAGoal SG.3.4 — safe overrides built from the real server snapshot.
   Deliberately scoped: no global layout/container rules are changed here.
   ========================================================================== */

/* Team + competition profile tabs: compact, but with real vertical breathing. */
.sg-team-profile > .sg-profile-tabs,
.sg-competition-profile > .sg-profile-tabs {
  min-height: 46px;
  padding: 4px 10px 0;
  align-items: stretch;
}
.sg-team-profile > .sg-profile-tabs > a,
.sg-competition-profile > .sg-profile-tabs > a {
  min-height: 41px;
  padding: 0 12px 2px;
  display: flex;
  align-items: center;
  line-height: 1;
  border-bottom-width: 2px;
}

/* Dark theme sidebar hover: never use a light grey/white block. */
html[data-sg-theme="dark"] .sg-nav-link:not(.is-active):hover,
html[data-sg-theme="dark"] .sg-side-block > a:hover,
html[data-sg-theme="dark"] .sg-sidebar-league > a:hover {
  background: rgba(111, 124, 255, .12);
  color: #f4f6ff;
}
html[data-sg-theme="dark"] .sg-nav-link:not(.is-active):hover .sg-nav-icon,
html[data-sg-theme="dark"] .sg-side-block > a:hover .sg-svg,
html[data-sg-theme="dark"] .sg-sidebar-league > a:hover .sg-svg {
  color: #8994ff;
}
html[data-sg-theme="dark"] .sg-nav-link.is-active:hover {
  background: var(--sg-accent-soft);
  color: var(--sg-accent);
}

@media (max-width: 760px) {
  .sg-team-profile > .sg-profile-tabs,
  .sg-competition-profile > .sg-profile-tabs {
    min-height: 43px;
    padding: 3px 7px 0;
  }
  .sg-team-profile > .sg-profile-tabs > a,
  .sg-competition-profile > .sg-profile-tabs > a {
    min-height: 39px;
    padding: 0 10px 2px;
  }
}

/* ========================================================================== 
   SerieAGoal SG.4 — squads + players. Strictly scoped additions.
   ========================================================================== */
.sg-player-directory-tools{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.sg-player-filter-form{display:flex;align-items:center;gap:7px;min-width:0;flex:1}
.sg-player-search{height:34px;min-width:220px;max-width:340px;flex:1;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--sg-line);border-radius:7px;background:var(--sg-surface-2);color:var(--sg-muted)}
.sg-player-search input{width:100%;border:0;outline:0;background:transparent;color:var(--sg-text);font:inherit;font-size:10px}
.sg-player-filter-form select,.sg-player-filter-form button,.sg-player-filter-form>a{height:34px;border-radius:7px;border:1px solid var(--sg-line);background:var(--sg-surface);color:var(--sg-text);padding:0 10px;font:inherit;font-size:9px;font-weight:750}
.sg-player-filter-form button{border-color:var(--sg-accent);background:var(--sg-accent);color:#fff;cursor:pointer}
.sg-player-filter-form>a{display:flex;align-items:center;color:var(--sg-muted)}
.sg-directory-summary{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.sg-directory-summary strong{font-size:15px}.sg-directory-summary span{font-size:8px;color:var(--sg-muted)}
.sg-player-team-group{overflow:hidden}.sg-player-team-head{height:48px;border-bottom:1px solid var(--sg-line);padding:0 12px}.sg-player-team-head>a{height:100%;display:flex;align-items:center;gap:9px}.sg-player-team-head img{width:28px;height:28px;object-fit:contain}.sg-player-team-head span{display:flex;flex-direction:column}.sg-player-team-head strong{font-size:11px}.sg-player-team-head small{font-size:8px;color:var(--sg-muted);margin-top:2px}
.sg-player-directory-grid{display:grid;grid-template-columns:1fr 1fr}.sg-player-directory-card{min-width:0;min-height:58px;padding:8px 10px;display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:8px;border-bottom:1px solid var(--sg-line);border-right:1px solid var(--sg-line)}.sg-player-directory-card:nth-child(even){border-right:0}.sg-player-directory-card:hover{background:var(--sg-surface-2)}.sg-player-directory-photo{width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center;color:var(--sg-muted)}.sg-player-directory-photo img{width:100%;height:100%;object-fit:cover}.sg-player-directory-copy{min-width:0;display:flex;flex-direction:column}.sg-player-directory-copy strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-player-directory-copy small{font-size:7px;color:var(--sg-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-player-directory-card>.sg-svg{color:var(--sg-muted)}

.sg-player-profile{overflow:hidden}.sg-player-profile-hero{min-height:132px;padding:18px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.sg-player-profile-main{display:flex;align-items:center;gap:14px;min-width:0}.sg-player-profile-photo{width:82px;height:82px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center;color:var(--sg-muted);flex:0 0 auto}.sg-player-profile-photo img{width:100%;height:100%;object-fit:cover}.sg-player-profile-copy{min-width:0}.sg-player-profile-copy h1{font-size:22px;line-height:1.08;margin:3px 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-player-profile-copy>p{font-size:9px;color:var(--sg-muted);margin:0}.sg-player-club-link{margin-top:9px;display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border-radius:7px;background:var(--sg-surface-2);font-size:9px}.sg-player-club-link img{width:20px;height:20px;object-fit:contain}
.sg-player-key-stats .sg-card-title{min-height:44px}.sg-player-rating-large{min-width:38px;padding:5px 7px;border-radius:6px;background:var(--sg-accent);color:#fff;font-size:10px;text-align:center}.sg-player-stat-tiles{display:grid;grid-template-columns:repeat(4,1fr)}.sg-player-stat-tiles>div{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--sg-line)}.sg-player-stat-tiles>div:last-child{border-right:0}.sg-player-stat-tiles strong{font-size:18px}.sg-player-stat-tiles span{margin-top:4px;font-size:8px;color:var(--sg-muted)}
.sg-player-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sg-player-info-list>div{min-height:40px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--sg-line)}.sg-player-info-list>div:last-child{border-bottom:0}.sg-player-info-list span{font-size:8px;color:var(--sg-muted)}.sg-player-info-list strong{font-size:9px;text-align:right}.sg-player-recent-list>div{min-height:49px;padding:7px 10px;display:grid;grid-template-columns:34px minmax(0,1fr) 56px;align-items:center;gap:8px;border-bottom:1px solid var(--sg-line)}.sg-player-recent-list>div:last-child{border-bottom:0}.sg-player-recent-list>div>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.sg-player-recent-list strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-player-recent-list small{font-size:7px;color:var(--sg-muted);margin-top:2px}.sg-player-recent-list b{font-size:8px;text-align:right}
.sg-player-stats-sections>div{padding:12px;border-bottom:1px solid var(--sg-line)}.sg-player-stats-sections>div:last-child{border-bottom:0}.sg-player-stats-sections h3{margin:0 0 9px;font-size:9px;text-transform:uppercase;letter-spacing:.35px;color:var(--sg-muted)}.sg-player-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.sg-player-metric-grid span{min-height:62px;padding:9px 6px;border-radius:7px;background:var(--sg-surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.sg-player-metric-grid b{font-size:15px}.sg-player-metric-grid small{margin-top:4px;font-size:7px;color:var(--sg-muted)}
.sg-player-match-table>a{min-width:560px;min-height:48px;padding:7px 12px;display:grid;grid-template-columns:minmax(250px,1fr) 46px 42px 42px 38px;align-items:center;gap:5px;border-bottom:1px solid var(--sg-line);font-size:9px;text-align:center}.sg-player-match-table>a:hover{background:var(--sg-surface-2)}.sg-player-match-table>a>span:first-child{min-width:0;text-align:left;display:flex;flex-direction:column}.sg-player-match-table strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-player-match-table small{font-size:7px;color:var(--sg-muted);margin-bottom:2px}.sg-player-match-table{overflow:auto}
.sg-career-current{min-height:78px;padding:12px;display:flex;align-items:center;gap:12px}.sg-career-current img{width:52px;height:52px;object-fit:contain}.sg-career-current span{display:flex;flex-direction:column}.sg-career-current strong{font-size:12px}.sg-career-current small{font-size:8px;color:var(--sg-muted);margin-top:3px}.sg-card-note{border-top:1px solid var(--sg-line);margin:0!important}
.sg-transfer-list>div{min-height:52px;padding:8px 12px;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;border-bottom:1px solid var(--sg-line)}.sg-transfer-list>div:last-child{border-bottom:0}.sg-transfer-list time{font-size:8px;color:var(--sg-muted)}.sg-transfer-list span{display:flex;flex-direction:column}.sg-transfer-list strong{font-size:9px}.sg-transfer-list small{font-size:7px;color:var(--sg-muted);margin-top:3px}

.sg-squad-preview{display:grid;grid-template-columns:repeat(4,1fr)}.sg-squad-preview>a{min-width:0;min-height:112px;padding:10px 5px;display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}.sg-squad-preview>a:nth-child(4n){border-right:0}.sg-squad-preview>a:nth-last-child(-n+4){border-bottom:0}.sg-squad-preview>a:hover{background:var(--sg-surface-2)}.sg-squad-preview>a>span{width:46px;height:46px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center;color:var(--sg-muted)}.sg-squad-preview img{width:100%;height:100%;object-fit:cover}.sg-squad-preview strong{max-width:100%;margin-top:6px;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-squad-preview small{max-width:100%;margin-top:2px;font-size:7px;color:var(--sg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-roster-group>h3{margin:0;padding:9px 12px;background:var(--sg-surface-2);border-top:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line);font-size:8px;text-transform:uppercase;letter-spacing:.4px;color:var(--sg-muted)}.sg-roster-group:first-of-type>h3{border-top:0}.sg-roster-list{display:grid;grid-template-columns:1fr 1fr}.sg-roster-list>a{min-width:0;min-height:62px;padding:8px 10px;display:grid;grid-template-columns:42px minmax(0,1fr) 34px 15px;align-items:center;gap:8px;border-bottom:1px solid var(--sg-line);border-right:1px solid var(--sg-line)}.sg-roster-list>a:nth-child(even){border-right:0}.sg-roster-list>a:hover{background:var(--sg-surface-2)}.sg-roster-photo{width:40px;height:40px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center;color:var(--sg-muted)}.sg-roster-photo img{width:100%;height:100%;object-fit:cover}.sg-roster-copy{min-width:0;display:flex;flex-direction:column}.sg-roster-copy strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-roster-copy small{font-size:7px;color:var(--sg-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-roster-list>a>b{font-size:10px;text-align:right}.sg-roster-list>a>.sg-svg{color:var(--sg-muted)}

html[data-sg-theme="dark"] .sg-player-search{background:rgba(255,255,255,.035)}
html[data-sg-theme="dark"] .sg-player-filter-form select,
html[data-sg-theme="dark"] .sg-player-filter-form>a{background:rgba(255,255,255,.035)}

@media(max-width:760px){
  .sg-player-directory-tools{align-items:stretch;flex-direction:column}.sg-player-filter-form{display:grid;grid-template-columns:1fr 112px auto}.sg-player-search{min-width:0;max-width:none}.sg-player-filter-form>a{display:none}.sg-directory-summary{justify-content:flex-end}
  .sg-player-directory-grid{grid-template-columns:1fr}.sg-player-directory-card{border-right:0}
  .sg-player-profile-hero{min-height:116px;padding:14px 11px}.sg-player-profile-photo{width:68px;height:68px}.sg-player-profile-copy h1{font-size:18px}.sg-player-profile-hero>.sg-follow-btn{padding-inline:8px}.sg-player-profile-hero>.sg-follow-btn span{display:none}
  .sg-player-stat-tiles>div{min-height:64px}.sg-player-stat-tiles strong{font-size:15px}
  .sg-player-overview-grid{grid-template-columns:1fr}.sg-player-metric-grid{grid-template-columns:1fr 1fr}
  .sg-squad-preview{grid-template-columns:repeat(4,1fr)}.sg-squad-preview>a{min-height:100px}.sg-squad-preview>a>span{width:40px;height:40px}
  .sg-roster-list{grid-template-columns:1fr}.sg-roster-list>a{border-right:0}
}
@media(max-width:420px){
  .sg-player-filter-form{grid-template-columns:1fr 106px}.sg-player-filter-form button{grid-column:1/-1}.sg-player-profile-main{gap:10px}.sg-player-profile-photo{width:60px;height:60px}.sg-player-profile-copy h1{font-size:16px}.sg-player-profile-copy>p{font-size:8px}.sg-player-club-link{margin-top:6px}.sg-squad-preview{grid-template-columns:repeat(2,1fr)}.sg-squad-preview>a:nth-child(2n){border-right:0}.sg-squad-preview>a:nth-last-child(-n+4){border-bottom:1px solid var(--sg-line)}.sg-squad-preview>a:nth-last-child(-n+2){border-bottom:0}
}

/* ========================================================================== 
   SerieAGoal SG.4.1 — PLAYER profile tabs only.
   Intentionally scoped to .sg-player-profile so no team/competition/global
   navigation or layout rule can be affected.
   ========================================================================== */
.sg-player-profile > .sg-profile-tabs {
  min-height: 46px;
  padding: 4px 10px 0;
  align-items: stretch;
}
.sg-player-profile > .sg-profile-tabs > a {
  min-height: 41px;
  padding: 0 12px 2px;
  display: flex;
  align-items: center;
  line-height: 1;
  border-bottom-width: 2px;
}

@media (max-width: 760px) {
  .sg-player-profile > .sg-profile-tabs {
    min-height: 43px;
    padding: 3px 7px 0;
  }
  .sg-player-profile > .sg-profile-tabs > a {
    min-height: 39px;
    padding: 0 10px 2px;
  }
}

/* ========================================================================== 
   SerieAGoal SG.5 — stats leaderboards + global search. Scoped additions only.
   ========================================================================== */
.sg-global-search-form{position:relative;margin:0;cursor:text}.sg-global-search-form input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--sg-text);font:inherit;font-size:10px}.sg-global-search-form input::placeholder{color:var(--sg-muted)}
.sg-search-suggest{position:absolute;z-index:1000;left:0;right:0;top:calc(100% + 7px);max-height:430px;overflow:auto;border:1px solid var(--sg-line);border-radius:10px;background:var(--sg-surface);box-shadow:0 18px 45px rgba(0,0,0,.28);padding:5px}.sg-search-suggest[hidden]{display:none!important}.sg-search-suggest>a{min-height:48px;padding:6px 8px;border-radius:7px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px}.sg-search-suggest>a:hover{background:var(--sg-surface-2)}.sg-search-suggest-media{width:32px;height:32px;border-radius:7px;background:var(--sg-surface-2);display:grid;place-items:center;overflow:hidden}.sg-search-suggest-media img{width:100%;height:100%;object-fit:contain}.sg-search-suggest>a>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.sg-search-suggest small{font-size:6.5px;color:var(--sg-accent);text-transform:uppercase;font-weight:800;letter-spacing:.4px}.sg-search-suggest strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.sg-search-suggest em{font-style:normal;font-size:7px;color:var(--sg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.sg-search-suggest .sg-search-suggest-all{min-height:34px;display:flex;justify-content:center;color:var(--sg-accent);font-size:8px;font-weight:800;border-top:1px solid var(--sg-line);border-radius:0}.sg-search-suggest-empty{padding:14px;text-align:center;color:var(--sg-muted);font-size:8px}

.sg-search-page-box{padding:10px}.sg-search-page-box form{display:flex;align-items:center;gap:7px}.sg-search-page-box label{height:42px;flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface-2);color:var(--sg-muted)}.sg-search-page-box input{width:100%;border:0;outline:0;background:transparent;color:var(--sg-text);font:inherit;font-size:10px}.sg-search-page-box button{height:42px;padding:0 15px;border:0;border-radius:8px;background:var(--sg-accent);color:#fff;font:inherit;font-size:9px;font-weight:800;cursor:pointer}.sg-search-summary{padding:2px 4px;display:flex;align-items:baseline;gap:6px;color:var(--sg-muted);font-size:8px}.sg-search-summary strong{font-size:15px;color:var(--sg-text)}.sg-search-group{overflow:hidden}.sg-search-row{min-height:54px;padding:7px 11px;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:9px;border-bottom:1px solid var(--sg-line)}.sg-search-row:last-child{border-bottom:0}.sg-search-row:hover{background:var(--sg-surface-2)}.sg-search-logo{width:36px;height:36px;border-radius:8px;background:var(--sg-surface-2);display:grid;place-items:center;overflow:hidden;color:var(--sg-muted)}.sg-search-logo img{width:100%;height:100%;object-fit:contain}.sg-search-logo.sg-search-player{border-radius:50%}.sg-search-logo.sg-search-player img{object-fit:cover}.sg-search-row>span:nth-child(2){min-width:0;display:flex;flex-direction:column}.sg-search-row strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-search-row small{font-size:7px;color:var(--sg-muted);margin-top:2px}.sg-search-row>.sg-svg{color:var(--sg-muted)}

.sg-leaderboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sg-leaderboard-card{overflow:hidden}.sg-leaderboard-list>a{min-height:49px;padding:6px 10px;display:grid;grid-template-columns:20px 34px minmax(0,1fr) 38px;align-items:center;gap:7px;border-bottom:1px solid var(--sg-line)}.sg-leaderboard-list>a:last-child{border-bottom:0}.sg-leaderboard-list>a:hover{background:var(--sg-surface-2)}.sg-leader-rank{font-size:9px;color:var(--sg-muted);text-align:center}.sg-leader-photo{width:32px;height:32px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center}.sg-leader-photo img{width:100%;height:100%;object-fit:cover}.sg-leader-copy{min-width:0;display:flex;flex-direction:column}.sg-leader-copy>strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-leader-copy small{display:flex;align-items:center;gap:4px;margin-top:2px;font-size:7px;color:var(--sg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-leader-copy small img{width:13px;height:13px;object-fit:contain}.sg-leader-value{font-size:12px;text-align:right;color:var(--sg-text)}
.sg-team-rank-card{overflow:hidden}.sg-team-rank-list>a{min-height:62px;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--sg-line)}.sg-team-rank-list>a:last-child{border-bottom:0}.sg-team-rank-list>a:hover{background:var(--sg-surface-2)}.sg-team-rank-list>a>span{min-width:0;display:flex;flex-direction:column}.sg-team-rank-list small{font-size:7px;color:var(--sg-muted)}.sg-team-rank-list span>strong{display:flex;align-items:center;gap:7px;margin-top:4px;font-size:9px}.sg-team-rank-list img{width:21px;height:21px;object-fit:contain}.sg-team-rank-list>a>b{font-size:13px;white-space:nowrap}.sg-team-rank-list>a>b small{font-size:7px;font-weight:700}
.sg-outcome-bars{padding:9px 12px}.sg-outcome-bars>div{margin-bottom:11px}.sg-outcome-bars>div:last-child{margin-bottom:0}.sg-outcome-bars span{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.sg-outcome-bars strong,.sg-outcome-bars b{font-size:8px}.sg-outcome-bars b{color:var(--sg-muted)}.sg-outcome-bars i{height:6px;border-radius:999px;background:var(--sg-surface-2);display:block;overflow:hidden}.sg-outcome-bars em{height:100%;display:block;border-radius:inherit;background:var(--sg-accent)}

.sg-player-ranking-nav{min-height:44px;padding:5px 7px;display:flex;align-items:center;gap:4px;overflow:auto}.sg-player-ranking-nav>a{min-width:max-content;height:32px;padding:0 11px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:800;color:var(--sg-muted)}.sg-player-ranking-nav>a:hover{background:var(--sg-surface-2);color:var(--sg-text)}.sg-player-ranking-nav>a.is-active{background:var(--sg-accent-soft);color:var(--sg-accent)}
.sg-full-player-ranking{overflow:hidden}.sg-full-ranking-head,.sg-full-player-ranking>a{min-width:590px;display:grid;grid-template-columns:34px minmax(180px,1fr) minmax(135px,.8fr) 62px;align-items:center;gap:8px}.sg-full-ranking-head{height:32px;padding:0 12px;border-bottom:1px solid var(--sg-line);color:var(--sg-muted);font-size:7px;text-transform:uppercase;font-weight:800}.sg-full-ranking-head b{text-align:right}.sg-full-player-ranking>a{min-height:52px;padding:7px 12px;border-bottom:1px solid var(--sg-line)}.sg-full-player-ranking>a:last-child{border-bottom:0}.sg-full-player-ranking>a:hover{background:var(--sg-surface-2)}.sg-full-player-ranking>a>b:first-child{font-size:9px;color:var(--sg-muted)}.sg-full-player-ranking>a>strong:last-child{text-align:right;font-size:12px}.sg-full-ranking-player{min-width:0;display:flex;align-items:center;gap:8px}.sg-full-ranking-player i{width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);display:grid;place-items:center;font-style:normal}.sg-full-ranking-player img{width:100%;height:100%;object-fit:cover}.sg-full-ranking-player strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-full-ranking-team{display:flex;align-items:center;gap:6px;font-size:8px;color:var(--sg-muted)}.sg-full-ranking-team img{width:19px;height:19px;object-fit:contain}

@media(max-width:760px){.sg-global-search-form input{font-size:9px}.sg-search-suggest{position:fixed;left:8px;right:8px;top:58px;max-height:65vh}.sg-search-page-box form{align-items:stretch}.sg-search-page-box button{padding:0 11px}.sg-leaderboard-grid{grid-template-columns:1fr}.sg-full-player-ranking{overflow:auto}.sg-player-ranking-nav{margin-left:0;margin-right:0}}

/* ========================================================================== 
   SerieAGoal SG.5.1 — performance-safe search/mobile UX fixes.
   Scoped additions only: no global layout reset.
   ========================================================================== */

/* Desktop search: readable in dark mode. */
html[data-sg-theme="dark"] .sg-global-search-form{
  background:rgba(15,18,31,.34);
  border:1px solid rgba(255,255,255,.15);
  color:#eef1ff;
  box-shadow:none;
}
html[data-sg-theme="dark"] .sg-global-search-form:hover,
html[data-sg-theme="dark"] .sg-global-search-form:focus-within{
  background:rgba(15,18,31,.46);
  border-color:rgba(255,255,255,.24);
}
html[data-sg-theme="dark"] .sg-global-search-form input{color:#fff}
html[data-sg-theme="dark"] .sg-global-search-form input::placeholder{color:rgba(236,239,255,.66)}
html[data-sg-theme="dark"] .sg-search-suggest{
  background:#1b1d22;
  border-color:#333844;
  color:#f5f6f8;
}
html[data-sg-theme="dark"] .sg-search-suggest>a:hover{background:#242832}
html[data-sg-theme="dark"] .sg-search-suggest-media{background:#252932}
html[data-sg-theme="dark"] .sg-search-suggest-empty{color:#aeb4c0}

/* Mobile search is a real action in the right-side header actions, not a tiny
   search field occupying the middle column. */
.sg-mobile-search-trigger{display:none}
.sg-mobile-search-panel{display:none}
body.sg-search-open{overflow:hidden}

/* Harden team profile tabs on touch devices: horizontally scrollable and all
   items remain tappable, including Rosa and Statistiche. */
.sg-team-cover:before{pointer-events:none}

@media(max-width:760px){
  .sg-desktop-search{display:none!important}
  .sg-mobile-search-trigger{display:grid!important}
  .sg-topbar-inner{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  .sg-top-actions{grid-column:2;gap:1px}
  .sg-top-actions .sg-top-icon{flex:0 0 36px}

  .sg-mobile-search-panel{
    position:fixed;
    z-index:1000;
    inset:0;
    display:block;
    background:var(--sg-bg);
    color:var(--sg-text);
    padding:max(env(safe-area-inset-top),8px) 8px 12px;
  }
  .sg-mobile-search-panel[hidden]{display:none!important}
  .sg-mobile-search-head{
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    align-items:start;
    gap:6px;
    max-width:680px;
    margin:0 auto;
  }
  .sg-mobile-search-close{
    width:40px;height:42px;border:0;border-radius:9px;background:transparent;
    color:var(--sg-text);display:grid;place-items:center;cursor:pointer;
  }
  .sg-mobile-search-form{
    position:relative;
    min-height:42px;
    display:grid;
    grid-template-columns:22px minmax(0,1fr) auto;
    align-items:center;
    gap:7px;
    padding:0 7px 0 11px;
    border:1px solid var(--sg-line);
    border-radius:10px;
    background:var(--sg-surface);
    color:var(--sg-muted);
  }
  .sg-mobile-search-form input{
    width:100%;min-width:0;border:0;outline:0;background:transparent;
    color:var(--sg-text);font:inherit;font-size:14px;
  }
  .sg-mobile-search-form input::placeholder{color:var(--sg-muted)}
  .sg-mobile-search-submit{
    height:30px;padding:0 10px;border:0;border-radius:7px;background:var(--sg-accent);
    color:#fff;font-size:11px;font-weight:800;cursor:pointer;
  }
  .sg-mobile-search-panel .sg-search-suggest{
    position:absolute!important;
    left:0!important;right:0!important;top:calc(100% + 7px)!important;
    max-height:calc(100vh - 84px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch;
    border-radius:10px;
  }
  html[data-sg-theme="dark"] .sg-mobile-search-panel{background:#111217}
  html[data-sg-theme="dark"] .sg-mobile-search-form{
    background:#1b1d22;border-color:#333844;color:#aeb4c0;
  }
  html[data-sg-theme="dark"] .sg-mobile-search-form input{color:#fff}
  html[data-sg-theme="dark"] .sg-mobile-search-form input::placeholder{color:#8f96a3}
  html[data-sg-theme="dark"] .sg-mobile-search-close:hover,
  html[data-sg-theme="dark"] .sg-mobile-search-close:active{background:#20242c}

  .sg-team-profile{position:relative;isolation:isolate}
  .sg-team-profile > .sg-profile-tabs{
    position:relative!important;
    z-index:8!important;
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
    scrollbar-width:none;
  }
  .sg-team-profile > .sg-profile-tabs::-webkit-scrollbar{display:none}
  .sg-team-profile > .sg-profile-tabs > a{
    position:relative!important;
    z-index:9!important;
    flex:0 0 auto!important;
    min-width:max-content!important;
    pointer-events:auto!important;
    touch-action:manipulation;
  }
}

@media(hover:none) and (pointer:coarse){
  .sg-mobile-search-trigger:hover{background:transparent}
  .sg-search-suggest>a:hover{background:transparent}
}

@media(max-width:760px){
  .sg-top-actions .sg-top-icon:nth-child(2){display:grid!important}
  .sg-top-actions .sg-top-icon:nth-child(3){display:none!important}
}

/* SG.6 — Editorial Graph */
.sg-editorial-heading small{display:block;color:var(--sg-accent);font-size:11px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.sg-editorial-tabs{display:flex;gap:6px;margin:0 0 10px;padding:4px;background:var(--sg-card);border:1px solid var(--sg-border);border-radius:12px;overflow-x:auto;scrollbar-width:none}
.sg-editorial-tabs::-webkit-scrollbar{display:none}.sg-editorial-tabs a{flex:0 0 auto;padding:8px 13px;border-radius:9px;color:var(--sg-muted);font-size:13px;font-weight:760;text-decoration:none}.sg-editorial-tabs a:hover{background:var(--sg-hover);color:var(--sg-text)}.sg-editorial-tabs a.is-active{background:var(--sg-accent-soft);color:var(--sg-accent)}
.sg-editorial-feed{overflow:hidden}.sg-editorial-list{display:flex;flex-direction:column}.sg-editorial-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:13px;padding:13px 14px;border-bottom:1px solid var(--sg-border);text-decoration:none;color:var(--sg-text);transition:background .15s ease}.sg-editorial-card:last-child{border-bottom:0}.sg-editorial-card:hover{background:var(--sg-hover)}.sg-editorial-thumb{width:150px;aspect-ratio:16/10;border-radius:9px;overflow:hidden;background:var(--sg-soft)}.sg-editorial-thumb img{width:100%;height:100%;object-fit:cover;display:block}.sg-editorial-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px}.sg-editorial-copy small{color:var(--sg-accent);font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}.sg-editorial-copy strong{font-size:16px;line-height:1.27;letter-spacing:-.15px}.sg-editorial-copy>span{font-size:12.5px;line-height:1.4;color:var(--sg-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sg-editorial-card.is-compact{grid-template-columns:70px minmax(0,1fr);padding:9px 0;gap:10px;border-bottom:1px solid var(--sg-border)}.sg-editorial-card.is-compact .sg-editorial-thumb{width:70px;aspect-ratio:16/10;border-radius:7px}.sg-editorial-card.is-compact .sg-editorial-copy strong{font-size:13px}.sg-editorial-card.is-compact .sg-editorial-copy small{font-size:9.5px}.sg-editorial-card.is-compact:hover{background:transparent}.sg-editorial-block{overflow:hidden}
.sg-prediction-list{display:flex;flex-direction:column}.sg-prediction-card{display:block;padding:12px 14px;border-bottom:1px solid var(--sg-border);text-decoration:none;color:var(--sg-text)}.sg-prediction-card:last-child{border-bottom:0}.sg-prediction-card:hover{background:var(--sg-hover)}.sg-prediction-card>small{display:block;color:var(--sg-muted);font-size:10px;margin-bottom:4px}.sg-prediction-card>strong{display:block;font-size:13.5px;margin-bottom:8px}.sg-prediction-card>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.sg-prediction-card>div span{padding:6px 8px;border-radius:8px;background:var(--sg-soft);font-size:11px;display:flex;justify-content:space-between}.sg-prediction-card em{display:block;color:var(--sg-muted);font-size:11px;margin-top:7px;font-style:normal}
.sg-article-card{padding:20px}.sg-article-kicker{color:var(--sg-accent);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.sg-article-card h1{font-size:31px;line-height:1.1;letter-spacing:-.8px;margin:7px 0 9px}.sg-article-subtitle{font-size:17px;line-height:1.45;color:var(--sg-muted);margin:0 0 12px}.sg-article-meta{display:flex;gap:8px 14px;flex-wrap:wrap;color:var(--sg-muted);font-size:11.5px;margin-bottom:12px}.sg-article-meta strong{color:var(--sg-text)}.sg-article-entities{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.sg-article-entities a{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--sg-border);border-radius:999px;color:var(--sg-text);text-decoration:none;background:var(--sg-soft);font-size:11px;font-weight:700}.sg-article-entities img{width:18px;height:18px;object-fit:contain}.sg-article-entities img.is-round{border-radius:50%;object-fit:cover}.sg-article-cover{display:block;width:100%;height:auto;border-radius:10px;margin:0 0 18px}.sg-related-fixture{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0;text-decoration:none;color:var(--sg-text)}.sg-related-fixture small{color:var(--sg-muted)}.sg-related-fixture strong{flex:1 1 220px}.sg-related-fixture span{color:var(--sg-accent);font-size:12px;font-weight:750}
[data-theme="dark"] .sg-editorial-tabs,[data-theme="dark"] .sg-editorial-card,[data-theme="dark"] .sg-prediction-card{color:var(--sg-text)}
@media(max-width:720px){.sg-editorial-tabs{margin-left:0;margin-right:0}.sg-editorial-card{grid-template-columns:104px minmax(0,1fr);padding:11px}.sg-editorial-thumb{width:104px}.sg-editorial-copy strong{font-size:14px}.sg-editorial-copy>span{display:none}.sg-article-card{padding:15px}.sg-article-card h1{font-size:25px}.sg-article-subtitle{font-size:15px}.sg-editorial-card.is-compact{grid-template-columns:64px minmax(0,1fr)}.sg-editorial-card.is-compact .sg-editorial-thumb{width:64px}}


/* SG.7.2 — post-import editorial visual fixes (strictly scoped) */
.sg-editorial-list.sg-editorial-list-inset{
  padding:6px 14px;
}
.sg-editorial-list.sg-editorial-list-inset .sg-editorial-card.is-compact{
  padding:10px 0;
}
.sg-editorial-list.sg-editorial-list-inset .sg-editorial-card.is-compact:first-child{
  padding-top:8px;
}
.sg-editorial-list.sg-editorial-list-inset .sg-editorial-card.is-compact:last-child{
  padding-bottom:8px;
}
@media(max-width:760px){
  .sg-editorial-list.sg-editorial-list-inset{padding:5px 10px}
  .sg-editorial-list.sg-editorial-list-inset .sg-editorial-card.is-compact{padding:9px 0}
}

/* SG.7.3 — News magazine layout + editorial card spacing. Strictly scoped. */
.sg-page-news .sg-shell{
  grid-template-columns:minmax(0,1fr);
  max-width:1360px;
  padding-left:20px;
  padding-right:20px;
}
.sg-page-news .sg-sidebar{display:none!important}
.sg-news-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:18px;
  align-items:start;
}
.sg-news-main{min-width:0}
.sg-news-rail{
  position:sticky;
  top:116px;
  min-width:0;
}
.sg-news-rail .slr-google-ad{
  margin:0!important;
  min-height:420px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.sg-news-rail .slr-google-ad-stage{min-height:380px}
.sg-news-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 12px;
  padding:2px 2px 0;
}
.sg-news-heading small{
  display:block;
  margin-bottom:4px;
  color:var(--sg-muted);
  font-size:11px;
}
.sg-news-heading h1{margin:0;font-size:26px;letter-spacing:-.5px}
.sg-news-heading p{margin:5px 0 0;color:var(--sg-muted);font-size:12.5px}
.sg-news-feature{
  display:grid;
  grid-template-columns:minmax(0,44%) minmax(0,56%);
  min-height:315px;
  overflow:hidden;
  border-radius:16px;
  background:#252b4b;
  color:#fff;
  text-decoration:none;
  box-shadow:var(--sg-shadow);
  margin-bottom:14px;
}
.sg-news-feature-media{min-height:315px;background:#1b2039;overflow:hidden}
.sg-news-feature-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.sg-news-feature:hover .sg-news-feature-media img{transform:scale(1.018)}
.sg-news-feature-copy{
  min-width:0;
  padding:28px 30px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.sg-news-feature-copy small{
  color:rgba(255,255,255,.66);
  font-size:11px;
  font-weight:700;
  margin-bottom:10px;
}
.sg-news-feature-copy h2{
  margin:0;
  color:#fff;
  font-size:26px;
  line-height:1.12;
  letter-spacing:-.55px;
}
.sg-news-feature-copy p{
  margin:12px 0 0;
  color:rgba(255,255,255,.76);
  font-size:13.5px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.sg-news-feature-more{
  margin-top:20px;
  color:#aeb8ff;
  font-size:12px;
  font-weight:800;
}
.sg-news-top-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:24px;
}
.sg-news-tile{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--sg-line);
  border-radius:13px;
  background:var(--sg-surface);
  color:var(--sg-text);
  text-decoration:none;
  box-shadow:var(--sg-shadow);
}
.sg-news-tile-media{aspect-ratio:16/9;background:var(--sg-soft);overflow:hidden}
.sg-news-tile-media img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease}
.sg-news-tile:hover .sg-news-tile-media img{transform:scale(1.025)}
.sg-news-tile-copy{padding:11px 12px 12px;display:flex;flex:1;flex-direction:column;gap:7px}
.sg-news-tile-copy strong{font-size:13.5px;line-height:1.25;letter-spacing:-.1px}
.sg-news-tile-copy small{margin-top:auto;color:var(--sg-muted);font-size:10px}
.sg-news-section{margin:0 0 24px}
.sg-news-section-head{
  min-height:38px;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:9px;
}
.sg-news-section-head h2{margin:0;font-size:18px;letter-spacing:-.25px}
.sg-news-section-head a{color:var(--sg-accent);font-size:11px;font-weight:800}
.sg-news-transfer-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.sg-transfer-mini,
.sg-market-mini{
  min-width:0;
  border:1px solid var(--sg-line);
  border-radius:13px;
  background:var(--sg-surface);
  color:var(--sg-text);
  text-decoration:none;
  box-shadow:var(--sg-shadow);
  overflow:hidden;
}
.sg-transfer-mini{padding:12px}
.sg-transfer-player{display:flex;align-items:center;gap:9px;min-width:0}
.sg-transfer-player>img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:var(--sg-soft)}
.sg-transfer-player>span{min-width:0;display:flex;flex-direction:column}
.sg-transfer-player strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-transfer-player small{color:var(--sg-muted);font-size:9.5px;margin-top:2px}
.sg-transfer-route{
  display:grid;
  grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);
  align-items:center;
  gap:5px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--sg-line);
}
.sg-transfer-team{min-width:0;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700}
.sg-transfer-team:last-child{justify-content:flex-end;text-align:right}
.sg-transfer-team img{width:18px;height:18px;object-fit:contain;flex:0 0 auto}
.sg-transfer-team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-transfer-arrow{color:var(--sg-muted);display:grid;place-items:center}
.sg-market-mini{display:grid;grid-template-columns:74px minmax(0,1fr);gap:9px;padding:8px}
.sg-market-mini img{width:74px;height:58px;border-radius:8px;object-fit:cover;background:var(--sg-soft)}
.sg-market-mini span{min-width:0;display:flex;flex-direction:column;justify-content:center}
.sg-market-mini strong{font-size:11.5px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sg-market-mini small{color:var(--sg-muted);font-size:9px;margin-top:5px}
.sg-news-more-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.sg-news-more-grid .sg-news-tile-copy strong{font-size:14px}

/* Editorial related lists: real inset + slightly larger thumbnails. */
.sg-editorial-block .sg-editorial-list.sg-editorial-list-inset,
.sg-page-pronostici .sg-editorial-list.sg-editorial-list-inset{
  padding:8px 18px 10px;
}
.sg-editorial-block .sg-editorial-card.is-compact,
.sg-page-pronostici .sg-editorial-card.is-compact{
  grid-template-columns:88px minmax(0,1fr);
  gap:12px;
  padding:11px 0;
}
.sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-thumb,
.sg-page-pronostici .sg-editorial-card.is-compact .sg-editorial-thumb{
  width:88px;
  aspect-ratio:4/3;
  border-radius:8px;
}
.sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-copy strong,
.sg-page-pronostici .sg-editorial-card.is-compact .sg-editorial-copy strong{
  font-size:13.5px;
  line-height:1.28;
}
.sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-copy small,
.sg-page-pronostici .sg-editorial-card.is-compact .sg-editorial-copy small{font-size:9.5px}

html[data-sg-theme="dark"] .sg-news-feature{background:#20253f}
html[data-sg-theme="dark"] .sg-news-tile,
html[data-sg-theme="dark"] .sg-transfer-mini,
html[data-sg-theme="dark"] .sg-market-mini{background:var(--sg-surface)}

@media(max-width:1120px){
  .sg-news-layout{grid-template-columns:minmax(0,1fr)}
  .sg-news-rail{display:none}
}
@media(max-width:820px){
  .sg-news-top-grid,.sg-news-transfer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sg-news-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .sg-page-news .sg-shell{padding-left:7px;padding-right:7px}
  .sg-news-heading{padding:2px 4px}.sg-news-heading h1{font-size:22px}
  .sg-news-feature{grid-template-columns:1fr;min-height:0;border-radius:12px}
  .sg-news-feature-media{min-height:0;aspect-ratio:16/9}
  .sg-news-feature-copy{padding:16px}
  .sg-news-feature-copy h2{font-size:20px}
  .sg-news-feature-copy p{-webkit-line-clamp:2;font-size:12.5px}
  .sg-news-feature-more{margin-top:13px}
  .sg-news-top-grid,.sg-news-transfer-grid,.sg-news-more-grid{gap:8px}
  .sg-news-tile-copy{padding:9px 10px 10px}.sg-news-tile-copy strong{font-size:12px}
  .sg-news-section{margin-bottom:18px}.sg-news-section-head{padding:0 4px;margin-bottom:7px}
  .sg-news-section-head h2{font-size:16px}
  .sg-transfer-mini{padding:9px}.sg-transfer-player>img{width:34px;height:34px}
  .sg-market-mini{grid-template-columns:62px minmax(0,1fr);gap:7px;padding:7px}.sg-market-mini img{width:62px;height:52px}
  .sg-editorial-block .sg-editorial-list.sg-editorial-list-inset,
  .sg-page-pronostici .sg-editorial-list.sg-editorial-list-inset{padding:7px 12px 9px}
  .sg-editorial-block .sg-editorial-card.is-compact,
  .sg-page-pronostici .sg-editorial-card.is-compact{grid-template-columns:78px minmax(0,1fr);gap:10px;padding:10px 0}
  .sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-thumb,
  .sg-page-pronostici .sg-editorial-card.is-compact .sg-editorial-thumb{width:78px}
}
@media(max-width:520px){
  .sg-news-top-grid,.sg-news-transfer-grid,.sg-news-more-grid{grid-template-columns:1fr 1fr}
  .sg-news-feature-copy h2{font-size:19px}
}


/* SG.7.4 — Single article: left-aligned editorial column + sticky AdSense rail. */
.sg-page-news .sg-article-layout{
  display:grid;
  grid-template-columns:minmax(0,860px) 300px;
  gap:20px;
  align-items:start;
  justify-content:start;
  width:100%;
}
.sg-page-news .sg-article-main{min-width:0}
.sg-page-news .sg-article-main>.sg-article-card{margin:0}
.sg-page-news .sg-article-ad-rail{
  position:sticky;
  top:116px;
  min-width:0;
  align-self:start;
}
.sg-page-news .sg-article-ad-rail .slr-google-ad{
  margin:0!important;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  background:transparent!important;
  box-shadow:none!important;
}
.sg-page-news .sg-article-ad-rail .slr-google-ad-stage{
  min-height:480px;
  width:100%;
}
.sg-page-news .sg-article-main .sg-section{max-width:860px}

@media(max-width:1180px){
  .sg-page-news .sg-article-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}
}
@media(max-width:980px){
  .sg-page-news .sg-article-layout{grid-template-columns:minmax(0,1fr)}
  .sg-page-news .sg-article-ad-rail{display:none}
}
@media(max-width:760px){
  .sg-page-news .sg-article-layout{display:block}
}

/* SG.9 — Preferiti / follow multi-entità */
.sg-follow-btn.is-following,.sg-favorite-remove.is-following{background:var(--sg-accent-strong);color:#fff}
.sg-follow-btn.is-following .sg-svg,.sg-star-button.is-following .sg-svg,.sg-favorite-remove.is-following .sg-svg{fill:currentColor}
.sg-star-button.is-following{color:var(--sg-accent);background:var(--sg-accent-soft)}
.sg-follow-btn.is-loading,.sg-star-button.is-loading,.sg-favorite-remove.is-loading{opacity:.58;pointer-events:none}
.sg-favorites-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.sg-favorites-intro h1{margin:5px 0 4px}.sg-favorites-intro p{max-width:690px;margin:0;color:var(--sg-muted)}
.sg-favorites-settings{display:flex;align-items:center;gap:7px;flex:none;padding:9px 12px;border-radius:9px;background:var(--sg-surface);border:1px solid var(--sg-line);font-size:11px;font-weight:800;color:var(--sg-accent)}
.sg-favorites-empty{text-align:center;padding:45px 22px}.sg-favorites-empty>span{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:var(--sg-accent-soft);color:var(--sg-accent)}
.sg-favorites-empty h2{margin:0 0 7px;font-size:20px}.sg-favorites-empty p{margin:0 auto 16px;max-width:460px;color:var(--sg-muted)}.sg-favorites-empty>a{display:inline-flex;padding:9px 13px;border-radius:8px;background:var(--sg-accent);color:#fff;font-weight:800;font-size:11px}
.sg-favorites-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.sg-favorites-summary>div{background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:10px;padding:12px 14px}.sg-favorites-summary strong{display:block;font-size:21px}.sg-favorites-summary span{font-size:10px;color:var(--sg-muted);font-weight:700}
.sg-favorites-section{overflow:hidden;margin-bottom:12px}.sg-favorites-list{display:grid}.sg-favorite-item{border-top:1px solid var(--sg-line);padding:10px 14px;transition:opacity .18s ease}.sg-favorite-item:first-child{border-top:0}
.sg-favorite-main{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;gap:11px;align-items:center;color:var(--sg-text)}.sg-favorite-logo{width:48px;height:48px;border-radius:10px;background:var(--sg-surface-2);display:grid;place-items:center;overflow:hidden}.sg-favorite-logo img{width:38px;height:38px;object-fit:contain}.sg-favorite-main strong{display:block;font-size:12px}.sg-favorite-main small{display:block;margin-top:2px;color:var(--sg-muted);font-size:9px;text-transform:uppercase;font-weight:750}
.sg-favorite-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;padding-left:59px}.sg-pref-chips{display:flex;gap:5px;flex-wrap:wrap}.sg-pref-chips label{cursor:pointer}.sg-pref-chips input{position:absolute;opacity:0;pointer-events:none}.sg-pref-chips span{display:inline-flex;align-items:center;height:25px;padding:0 8px;border-radius:999px;border:1px solid var(--sg-line);background:var(--sg-surface-2);font-size:9px;font-weight:400;color:var(--sg-muted)}.sg-pref-chips input:checked+span{background:var(--sg-accent-soft);border-color:rgba(80,97,255,.28);color:var(--sg-accent)}.sg-pref-chips input:disabled+span{opacity:.55}
.sg-favorite-remove{border:0;border-radius:8px;height:30px;padding:0 9px;display:flex;align-items:center;gap:5px;cursor:pointer;background:var(--sg-accent);color:#fff;font-size:9px;font-weight:800}
@media(max-width:720px){.sg-favorites-intro{align-items:flex-start;flex-direction:column}.sg-favorites-settings{align-self:flex-start}.sg-favorites-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-favorite-item{padding-inline:10px}.sg-favorite-actions{padding-left:0;align-items:flex-start;flex-direction:column}.sg-favorite-remove{align-self:flex-end}.sg-pref-chips{gap:4px}.sg-pref-chips span{height:27px;padding-inline:9px}}

/* SG.9.1 — Transfers + player career. Scoped additions only. */
.sg-transfer-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px}.sg-transfer-hero-copy h1{margin:3px 0 4px;font-size:28px}.sg-transfer-hero-copy p{margin:0;color:var(--sg-muted)}.sg-transfer-hero-count{min-width:92px;text-align:center;padding:11px 14px;border-radius:12px;background:var(--sg-soft)}.sg-transfer-hero-count strong{display:block;font-size:22px}.sg-transfer-hero-count span{font-size:12px;color:var(--sg-muted)}
.sg-transfer-filters{padding:14px 16px}.sg-transfer-filters form{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(190px,1.4fr) auto;gap:10px;align-items:end}.sg-transfer-filters label{display:grid;gap:5px}.sg-transfer-filters label>span{font-size:11px;font-weight:700;color:var(--sg-muted);text-transform:uppercase;letter-spacing:.04em}.sg-transfer-filters select,.sg-transfer-filters input{width:100%;height:40px;border:1px solid var(--sg-border);border-radius:9px;background:var(--sg-surface-2);color:var(--sg-text);padding:0 11px}.sg-transfer-filters button{height:40px;border:0;border-radius:9px;padding:0 18px;background:var(--sg-accent);color:#fff;font-weight:800;cursor:pointer}
.sg-transfer-archive-list{display:grid}.sg-transfer-archive-list>a{display:grid;grid-template-columns:80px minmax(180px,.9fr) minmax(260px,1.3fr) 20px;gap:12px;align-items:center;padding:13px 18px;border-top:1px solid var(--sg-border);color:inherit;text-decoration:none}.sg-transfer-archive-list>a:hover{background:var(--sg-hover)}.sg-transfer-archive-list time{font-size:12px;color:var(--sg-muted)}.sg-transfer-archive-player{display:flex;align-items:center;gap:10px;min-width:0}.sg-transfer-archive-player>img{width:42px;height:42px;object-fit:contain;border-radius:50%;background:var(--sg-soft)}.sg-transfer-archive-player>span{min-width:0}.sg-transfer-archive-player strong,.sg-transfer-archive-player small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-transfer-archive-player small{margin-top:2px;color:var(--sg-muted);font-size:12px}.sg-transfer-archive-route{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:7px}.sg-transfer-archive-route>span{display:flex;align-items:center;gap:7px;min-width:0}.sg-transfer-archive-route img{width:24px;height:24px;object-fit:contain}.sg-transfer-archive-route b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sg-transfer-archive-route i{text-align:center;color:var(--sg-muted);font-style:normal}
.sg-player-career-list{display:grid}.sg-player-career-row{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:12px;padding:13px 18px;border-top:1px solid var(--sg-border)}.sg-player-career-logo{width:44px;height:44px;border-radius:10px;background:var(--sg-soft);display:grid;place-items:center}.sg-player-career-logo img{max-width:34px;max-height:34px;object-fit:contain}.sg-player-career-row strong,.sg-player-career-row small{display:block}.sg-player-career-row small{margin-top:3px;color:var(--sg-muted)}
@media(max-width:820px){.sg-transfer-hero{padding:18px}.sg-transfer-hero-copy h1{font-size:24px}.sg-transfer-filters form{grid-template-columns:1fr 1fr}.sg-transfer-search{grid-column:1/-1}.sg-transfer-filters button{grid-column:1/-1}.sg-transfer-archive-list>a{grid-template-columns:58px minmax(0,1fr) 18px;padding:12px 14px}.sg-transfer-archive-route{grid-column:2/3;margin-top:-2px}.sg-transfer-archive-list>a>.sg-svg{grid-column:3;grid-row:1/3}.sg-transfer-archive-player>img{width:38px;height:38px}.sg-transfer-archive-route b{font-size:12px}}
@media(max-width:520px){.sg-transfer-filters form{grid-template-columns:1fr}.sg-transfer-search,.sg-transfer-filters button{grid-column:auto}.sg-transfer-hero-count{min-width:76px}.sg-transfer-archive-list>a{grid-template-columns:52px minmax(0,1fr) 16px}.sg-transfer-archive-route{grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}.sg-transfer-archive-route img{width:20px;height:20px}}
.sg-transfer-archive-list>.sg-player-transfer-static{display:grid;grid-template-columns:80px minmax(180px,.9fr) minmax(260px,1.3fr);gap:12px;align-items:center;padding:13px 18px;border-top:1px solid var(--sg-border)}.sg-player-transfer-static time{font-size:12px;color:var(--sg-muted)}
@media(max-width:820px){.sg-transfer-archive-list>.sg-player-transfer-static{grid-template-columns:58px minmax(0,1fr);padding:12px 14px}.sg-player-transfer-static .sg-transfer-archive-route{grid-column:2}}
@media(min-width:1101px){.sg-news-transfer-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* SG 9.1.1 transfer filter button visibility fix */
.sg-transfer-filters form{grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(190px,1.4fr) minmax(118px,.42fr);align-items:end}
.sg-transfer-filters button{width:100%;min-width:118px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:0 16px;box-sizing:border-box}
.sg-transfer-filters .sg-transfer-search{min-width:0}
@media(max-width:820px){.sg-transfer-filters form{grid-template-columns:1fr 1fr}.sg-transfer-filters button{grid-column:1/-1;min-width:0}}
@media(max-width:520px){.sg-transfer-filters form{grid-template-columns:1fr}.sg-transfer-filters button{grid-column:auto;width:100%}}

/* SG 9.1.2 — Trasferimenti: filtri sempre contenuti + nomi completi, senza ellissi. */
.sg-transfer-filters,
.sg-transfer-filters form,
.sg-transfer-filters label,
.sg-transfer-filters select,
.sg-transfer-filters input,
.sg-transfer-filters button{min-width:0;box-sizing:border-box}
.sg-transfer-filters form{
  width:100%;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.18fr) 110px;
  gap:10px;
}
.sg-transfer-filters button{
  width:110px;
  min-width:0;
  max-width:100%;
  padding-inline:12px;
  overflow:visible;
}

/* Archivio trasferimenti: diamo più spazio alla tratta e lasciamo andare a capo i nomi. */
.sg-transfer-archive-list>a{
  grid-template-columns:72px minmax(185px,.82fr) minmax(0,1.55fr) 18px;
  gap:11px;
}
.sg-transfer-archive-player>span{min-width:0;padding-right:3px}
.sg-transfer-archive-player strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
  line-height:1.18;
  font-size:12.5px;
}
.sg-transfer-archive-player small{white-space:normal;overflow:visible;text-overflow:clip}
.sg-transfer-archive-route{min-width:0;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:6px}
.sg-transfer-archive-route>span{min-width:0;align-items:center}
.sg-transfer-archive-route b{
  min-width:0;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
  line-height:1.15;
  font-size:11.5px;
}
.sg-transfer-archive-route img{flex:0 0 auto}

/* Anche le card trasferimenti nella News mostrano nomi completi. */
.sg-transfer-mini .sg-transfer-player strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
  line-height:1.15;
  font-size:11.5px;
}
.sg-transfer-mini .sg-transfer-team span{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
  line-height:1.12;
  font-size:9.5px;
}
.sg-transfer-mini .sg-transfer-team{align-items:center}

@media(max-width:980px){
  .sg-transfer-filters form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sg-transfer-search{grid-column:1/-1}
  .sg-transfer-filters button{grid-column:1/-1;width:100%}
}
@media(max-width:820px){
  .sg-transfer-archive-list>a{grid-template-columns:56px minmax(0,1fr) 18px;gap:9px}
  .sg-transfer-archive-route{grid-column:2/3;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);margin-top:2px}
  .sg-transfer-archive-player strong{font-size:12px}
  .sg-transfer-archive-route b{font-size:10.5px}
}
@media(max-width:520px){
  .sg-transfer-filters form{grid-template-columns:minmax(0,1fr)}
  .sg-transfer-search,.sg-transfer-filters button{grid-column:auto}
  .sg-transfer-filters button{width:100%}
  .sg-transfer-archive-list>a{grid-template-columns:50px minmax(0,1fr) 16px;padding-inline:11px}
  .sg-transfer-archive-route b{font-size:10px}
}

/* SG.9.3 — Trasferimenti: carosello leggibile, card larghe, nomi completi. */
.sg-transfer-carousel-section{min-width:0;overflow:hidden}
.sg-transfer-carousel-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.sg-transfer-carousel-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.sg-transfer-carousel-actions>a{font-size:12px;font-weight:800;color:var(--sg-accent);text-decoration:none;margin-right:2px}
.sg-transfer-carousel-actions button{width:32px;height:32px;border:1px solid var(--sg-border);border-radius:50%;background:var(--sg-surface);color:var(--sg-text);display:grid;place-items:center;font-size:21px;line-height:1;cursor:pointer;transition:background .16s ease,border-color .16s ease,opacity .16s ease}
.sg-transfer-carousel-actions button:hover{background:var(--sg-hover);border-color:color-mix(in srgb,var(--sg-accent) 35%,var(--sg-border))}
.sg-transfer-carousel-actions button:disabled{opacity:.35;cursor:default}
.sg-transfer-carousel-viewport{overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 8px}
.sg-transfer-carousel-viewport::-webkit-scrollbar{display:none}
.sg-transfer-carousel-track{display:flex;gap:12px;width:max-content;min-width:100%}
.sg-transfer-carousel-card{scroll-snap-align:start;flex:0 0 clamp(300px,31vw,360px);min-height:138px;border:1px solid var(--sg-border);border-radius:14px;background:var(--sg-surface);color:var(--sg-text);text-decoration:none;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;box-shadow:0 1px 2px rgba(18,25,38,.04);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.sg-transfer-carousel-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--sg-accent) 28%,var(--sg-border));box-shadow:0 8px 24px rgba(18,25,38,.08)}
.sg-transfer-carousel-player{display:flex;align-items:center;gap:10px;min-width:0}
.sg-transfer-carousel-player>img,.sg-transfer-avatar-fallback{width:46px;height:46px;flex:0 0 46px;border-radius:50%;object-fit:contain;background:var(--sg-soft)}
.sg-transfer-avatar-fallback{display:grid;place-items:center;font-weight:900;color:var(--sg-accent)}
.sg-transfer-carousel-player>span{min-width:0}
.sg-transfer-carousel-player strong{display:block;font-size:15px;line-height:1.18;white-space:normal;overflow-wrap:anywhere}
.sg-transfer-carousel-player small{display:block;margin-top:3px;color:var(--sg-muted);font-size:11.5px;line-height:1.25;white-space:normal}
.sg-transfer-carousel-route{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:7px;min-width:0}
.sg-transfer-carousel-team{display:flex;align-items:center;gap:7px;min-width:0}
.sg-transfer-carousel-team img{width:28px;height:28px;flex:0 0 28px;object-fit:contain}
.sg-transfer-carousel-team b{font-size:12.5px;line-height:1.15;white-space:normal;overflow-wrap:anywhere;min-width:0}
.sg-transfer-carousel-route i{font-style:normal;text-align:center;color:var(--sg-muted);font-size:17px}
.sg-transfer-carousel-article{justify-content:flex-start}
.sg-transfer-carousel-article-image{width:100%;height:126px;object-fit:cover;border-radius:10px}
.sg-transfer-carousel-article>span strong{display:block;font-size:14px;line-height:1.25}
.sg-transfer-carousel-article>span small{display:block;color:var(--sg-muted);font-size:11px;margin-top:5px}

/* Il filtro non può uscire dalla card anche in rail/main più stretti. */
.sg-transfer-filters{overflow:hidden}
.sg-transfer-filters form{grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) minmax(160px,1.18fr) 104px}
.sg-transfer-filters button{width:104px}

html[data-sg-theme="dark"] .sg-transfer-carousel-card{background:var(--sg-surface);border-color:var(--sg-border)}
html[data-sg-theme="dark"] .sg-transfer-carousel-actions button{background:var(--sg-surface-2);border-color:var(--sg-border)}

@media(max-width:1100px){
  .sg-transfer-carousel-card{flex-basis:330px}
}
@media(max-width:980px){
  .sg-transfer-filters form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sg-transfer-search{grid-column:1/-1}
  .sg-transfer-filters button{grid-column:1/-1;width:100%}
}
@media(max-width:640px){
  .sg-transfer-carousel-section{margin-inline:0}
  .sg-transfer-carousel-head{align-items:flex-start}
  .sg-transfer-carousel-actions>a{display:none}
  .sg-transfer-carousel-card{flex-basis:min(84vw,330px);padding:12px;min-height:132px}
  .sg-transfer-carousel-player strong{font-size:14px}
  .sg-transfer-carousel-team b{font-size:11.5px}
  .sg-transfer-carousel-player>img,.sg-transfer-avatar-fallback{width:42px;height:42px;flex-basis:42px}
  .sg-transfer-carousel-team img{width:25px;height:25px;flex-basis:25px}
}
@media(max-width:520px){
  .sg-transfer-filters form{grid-template-columns:minmax(0,1fr)}
  .sg-transfer-search,.sg-transfer-filters button{grid-column:auto}
  .sg-transfer-filters button{width:100%}
}


/* SG.9.4.1 — country flags on player profile. Scoped only to player information rows. */
.sg-player-country-value{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
  min-width:0;
}
.sg-country-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:inherit;
  text-decoration:none;
  border-radius:8px;
  padding:2px 4px;
  margin:-2px -4px;
  transition:background-color .16s ease,color .16s ease;
}
.sg-country-badge.is-linked{cursor:pointer}
.sg-country-badge.is-linked:hover,
.sg-country-badge.is-linked:focus-visible{
  background:rgba(57,73,214,.09);
  color:var(--sg-accent,#3448d5);
  outline:none;
}
.sg-country-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 25px;
  width:25px;
  font-size:21px;
  line-height:1;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}
.sg-country-flag.is-fallback{font-size:17px;opacity:.72}
.sg-country-name{min-width:0}
.sg-player-birth-value{column-gap:6px}
.sg-birth-place-name{min-width:0}
.sg-birth-separator{color:var(--sg-muted,#7b8190);font-weight:500}
[data-theme="dark"] .sg-country-badge.is-linked:hover,
[data-theme="dark"] .sg-country-badge.is-linked:focus-visible{
  background:rgba(112,125,255,.14);
}
@media(max-width:640px){
  .sg-player-country-value{max-width:66%;text-align:right}
  .sg-country-flag{flex-basis:23px;width:23px;font-size:19px}
}

/* SG.9.5 — editorial sections are independent pages with the News magazine layout. */
.sg-page-pronostici .sg-shell,
.sg-page-fantacalcio .sg-shell{
  grid-template-columns:minmax(0,1fr);
  max-width:1360px;
  padding-left:20px;
  padding-right:20px;
}
.sg-page-pronostici .sg-sidebar,
.sg-page-fantacalcio .sg-sidebar{display:none!important}
.sg-page-pronostici .sg-news-layout,
.sg-page-fantacalcio .sg-news-layout{grid-template-columns:minmax(0,1fr) 300px}
.sg-predictions-magazine{margin-top:26px}
.sg-predictions-magazine .sg-news-section-head>span{color:var(--sg-muted);font-size:12px;font-weight:750}
.sg-predictions-magazine .sg-prediction-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sg-predictions-magazine .sg-prediction-card{margin:0;height:100%}

/* Juventus: black mark ONLY inside the light logo tile on the single-team hero.
   Everywhere else keep the original API-Football logo so it remains visible on dark surfaces. */
.sg-team-profile-juventus .sg-team-profile-logo img{
  filter:brightness(0) saturate(100%)!important;
}

@media(max-width:1120px){
  .sg-page-pronostici .sg-news-layout,
  .sg-page-fantacalcio .sg-news-layout{grid-template-columns:minmax(0,1fr)}
  .sg-page-pronostici .sg-news-rail,
  .sg-page-fantacalcio .sg-news-rail{display:none}
}
@media(max-width:760px){
  .sg-page-pronostici .sg-shell,
  .sg-page-fantacalcio .sg-shell{padding-left:7px;padding-right:7px}
  .sg-predictions-magazine .sg-prediction-list{grid-template-columns:1fr}
}


/* SG.10.2 — desktop density, transfer text-only, larger related-news thumbnails. */
@media (min-width:1121px){
  /* Sidebar appena più stretta; centro più largo. Il gap centro/rail resta 14px. */
  .sg-shell{grid-template-columns:172px minmax(0,1fr);gap:14px}
  .sg-content-grid{grid-template-columns:minmax(0,680px) 300px;gap:14px;justify-content:center}
}

/* Trasferimenti: niente avatar/foto giocatore, layout basato su nome + club. */
.sg-transfer-archive-player{gap:0}
.sg-transfer-archive-player>img{display:none!important}
.sg-transfer-archive-list>a{grid-template-columns:72px minmax(150px,.72fr) minmax(0,1.62fr) 18px}
.sg-transfer-archive-player strong{font-size:13px;line-height:1.2}
.sg-transfer-carousel-player{display:block}
.sg-transfer-carousel-player>img,.sg-transfer-avatar-fallback{display:none!important}
.sg-transfer-carousel-player>span{display:block;min-width:0}
.sg-transfer-carousel-card{min-height:124px}
.sg-transfer-carousel-player strong{font-size:15.5px}

/* News correlate nei tab Squadra / Competizione / Giocatore: thumbnail più visibile. */
.sg-editorial-block .sg-editorial-list.sg-editorial-list-inset{padding:10px 18px 12px}
.sg-editorial-block .sg-editorial-card.is-compact{
  grid-template-columns:120px minmax(0,1fr);
  gap:15px;
  padding:12px 0;
  align-items:center;
}
.sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-thumb{
  width:120px;
  aspect-ratio:4/3;
  border-radius:9px;
}
.sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-copy strong{
  font-size:14.5px;
  line-height:1.3;
}
.sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-copy small{font-size:10px}

@media(max-width:1120px) and (min-width:761px){
  .sg-editorial-block .sg-editorial-card.is-compact{grid-template-columns:108px minmax(0,1fr)}
  .sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-thumb{width:108px}
}
@media(max-width:760px){
  .sg-editorial-block .sg-editorial-list.sg-editorial-list-inset{padding:8px 12px 10px}
  .sg-editorial-block .sg-editorial-card.is-compact{grid-template-columns:92px minmax(0,1fr);gap:11px;padding:10px 0}
  .sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-thumb{width:92px}
  .sg-editorial-block .sg-editorial-card.is-compact .sg-editorial-copy strong{font-size:13.5px}
}
@media (min-width:1121px){
  .sg-topbar-inner{grid-template-columns:172px minmax(320px,500px) 1fr}
}

/* SG.10.3 — season scoped stats + smart competition/team filters */
.sg-season-switcher{display:flex;align-items:center;gap:12px;padding:8px 10px;min-height:46px;overflow:hidden}
.sg-season-switcher>span{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--sg-muted);white-space:nowrap}
.sg-season-switcher>div{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.sg-season-switcher>div::-webkit-scrollbar{display:none}
.sg-season-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:max-content;height:30px;padding:0 11px;border-radius:8px;color:var(--sg-muted);font-size:9px;font-weight:800;border:1px solid transparent}
.sg-season-switcher a:hover{background:var(--sg-surface-2);color:var(--sg-text)}
.sg-season-switcher a.is-active{background:var(--sg-accent-soft);border-color:color-mix(in srgb,var(--sg-accent) 24%,transparent);color:var(--sg-accent)}
.sg-player-scope-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px;overflow:visible;position:relative;z-index:12}
.sg-smart-filter{display:grid;gap:5px;position:relative;min-width:0}
.sg-smart-filter>span{font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--sg-muted)}
.sg-smart-filter-box{height:38px;border:1px solid var(--sg-line);border-radius:9px;background:var(--sg-surface-2);display:flex;align-items:center;gap:8px;padding:0 10px;min-width:0}
.sg-smart-filter-box>.sg-svg{color:var(--sg-muted);flex:0 0 auto}
.sg-smart-filter-box input{border:0!important;background:transparent!important;color:var(--sg-text)!important;outline:0;width:100%;min-width:0;font:inherit;font-size:10px;font-weight:700;padding:0!important;height:auto!important}
.sg-smart-filter-box input::placeholder{color:var(--sg-muted)}
.sg-smart-filter-box button{border:0;background:transparent;color:var(--sg-muted);font-size:17px;line-height:1;cursor:pointer;padding:2px 3px}
.sg-smart-results{position:absolute;left:0;right:0;top:calc(100% + 5px);background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:10px;box-shadow:0 14px 36px rgba(0,0,0,.16);padding:5px;z-index:80;max-height:320px;overflow:auto}
.sg-smart-results button{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;border:0;background:transparent;color:var(--sg-text);text-align:left;padding:7px 8px;border-radius:7px;cursor:pointer}
.sg-smart-results button:hover{background:var(--sg-accent-soft)}
.sg-smart-results button>span:first-child{width:30px;height:30px;display:flex;align-items:center;justify-content:center}
.sg-smart-results img{max-width:28px;max-height:28px;object-fit:contain}
.sg-smart-results strong{display:block;font-size:9px}.sg-smart-results small{display:block;color:var(--sg-muted);font-size:8px;margin-top:2px}
.sg-smart-empty{padding:10px;color:var(--sg-muted);font-size:9px;text-align:center}
html[data-sg-theme="dark"] .sg-smart-filter-box{background:rgba(255,255,255,.04)}
.sg-player-season-switcher{margin-top:8px}
.sg-transfer-season-switcher{margin-bottom:0}

/* Single Pronostici/Fantacalcio: same two-column article layout as News */
.sg-page-pronostici .sg-article-layout,.sg-page-fantacalcio .sg-article-layout{width:min(1180px,calc(100vw - 32px));margin:0 auto;display:grid;grid-template-columns:minmax(0,860px) minmax(260px,300px);gap:18px;align-items:start}
.sg-page-pronostici .sg-article-main,.sg-page-fantacalcio .sg-article-main{min-width:0}
.sg-page-pronostici .sg-article-main>.sg-article-card,.sg-page-fantacalcio .sg-article-main>.sg-article-card{margin:0}
.sg-page-pronostici .sg-article-ad-rail,.sg-page-fantacalcio .sg-article-ad-rail{position:sticky;top:82px;min-width:0;align-self:start}
.sg-page-pronostici .sg-article-ad-rail .slr-google-ad,.sg-page-fantacalcio .sg-article-ad-rail .slr-google-ad{width:100%;margin:0}
.sg-page-pronostici .sg-article-main .sg-section,.sg-page-fantacalcio .sg-article-main .sg-section{max-width:860px}

@media(max-width:980px){
  .sg-page-pronostici .sg-article-layout,.sg-page-fantacalcio .sg-article-layout{grid-template-columns:minmax(0,1fr);width:min(860px,calc(100vw - 24px))}
  .sg-page-pronostici .sg-article-ad-rail,.sg-page-fantacalcio .sg-article-ad-rail{display:none}
}
@media(max-width:760px){
  .sg-player-scope-tools{grid-template-columns:1fr;gap:9px;padding:10px}
  .sg-season-switcher{padding:7px 8px;gap:8px}
  .sg-season-switcher a{height:29px;padding:0 10px}
  .sg-page-pronostici .sg-article-layout,.sg-page-fantacalcio .sg-article-layout{display:block;width:auto;margin:0}
}


/* SG.10.5 — team single hero theme coherence.
   Light: all team hero tiles remain light; Juventus mark is black only here.
   Dark: every team hero becomes dark and Juventus returns to the original API logo. */
html:not([data-sg-theme="dark"]) .sg-team-profile-juventus .sg-team-profile-logo img{
  filter:brightness(0) saturate(100%)!important;
}
html[data-sg-theme="dark"] .sg-team-profile .sg-team-cover{
  background:linear-gradient(135deg,rgba(55,72,229,.16),#171b29 58%)!important;
}
html[data-sg-theme="dark"] .sg-team-profile .sg-team-cover:before{
  background:rgba(93,108,255,.08)!important;
}
html[data-sg-theme="dark"] .sg-team-profile .sg-team-profile-logo{
  background:#202536!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:0 3px 16px rgba(0,0,0,.24)!important;
}
html[data-sg-theme="dark"] .sg-team-profile .sg-team-profile-copy h1{
  color:#fff!important;
}
html[data-sg-theme="dark"] .sg-team-profile .sg-team-profile-copy p{
  color:rgba(255,255,255,.68)!important;
}
html[data-sg-theme="dark"] .sg-team-profile-juventus .sg-team-profile-logo img{
  filter:none!important;
}

/* SG.10.6 — Juventus logo theme rule, global and deterministic.
   Day/light: use a black mark everywhere Juventus appears.
   Night/dark: keep the original white API-Football mark everywhere. */
html:not([data-sg-theme="dark"]) img[src*="/football/teams/496"]{
  filter:brightness(0) saturate(100%)!important;
}
html[data-sg-theme="dark"] img[src*="/football/teams/496"]{
  filter:none!important;
}

/* =========================================================
   SG.12 — score-app header + global search command palette
   ========================================================= */
.sg-topbar{height:58px;background:#3044c7}
.sg-topbar-inner{
  max-width:1320px!important;
  grid-template-columns:172px auto minmax(230px,330px) auto!important;
  gap:14px!important;
  padding-inline:16px!important;
}
.sg-brand{min-width:0}
.sg-brand-name{font-size:20px!important;letter-spacing:-.6px}
.sg-brand-mark{width:35px!important;height:35px!important;border-radius:9px!important}
.sg-primary-nav{display:flex;align-items:center;gap:5px;min-width:0;height:100%}
.sg-primary-nav>a{height:38px;display:flex;align-items:center;gap:7px;padding:0 11px;border-radius:8px;color:rgba(255,255,255,.82);font-size:11px;font-weight:800;white-space:nowrap;transition:background .15s ease,color .15s ease}
.sg-primary-nav>a>span{display:grid;place-items:center}
.sg-primary-nav>a:hover{background:rgba(255,255,255,.1);color:#fff}
.sg-primary-nav>a.is-active{background:#fff;color:#17191f;box-shadow:0 1px 3px rgba(15,20,60,.14)}
.sg-search-launch{height:38px;min-width:0;border:1px solid rgba(255,255,255,.36);border-radius:20px;background:rgba(255,255,255,.08);color:#fff;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 11px;cursor:pointer;text-align:left;transition:background .15s ease,border-color .15s ease}
.sg-search-launch:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.55)}
.sg-search-launch>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;color:rgba(255,255,255,.9)}
.sg-search-launch kbd{height:22px;min-width:32px;padding:0 6px;border:0;border-radius:6px;background:rgba(255,255,255,.13);display:grid;place-items:center;font-family:inherit;font-size:9px;font-weight:800;color:rgba(255,255,255,.84)}
.sg-top-actions{gap:2px!important}
.sg-top-icon{width:36px!important;height:36px!important}

.sg-sportbar{background:#293cb8}
.sg-sportbar-inner{max-width:1320px!important;justify-content:space-between;gap:18px;overflow:hidden!important}
.sg-sportbar-main,.sg-sportbar-tools{display:flex;align-items:stretch;min-width:0}
.sg-sportbar-main{overflow:auto;scrollbar-width:none}
.sg-sportbar-main::-webkit-scrollbar{display:none}
.sg-sportbar-tools{margin-left:auto;flex:0 0 auto}
.sg-sportbar a{font-size:11px!important;padding-inline:13px!important}
.sg-sportbar-main>a:first-child{margin:6px 5px 6px 0;height:32px;border-radius:17px;border-bottom:0!important;padding-inline:14px!important;background:rgba(255,255,255,.1);color:#fff}
.sg-sportbar-main>a:first-child.is-active{background:#fff;color:#17191f}
.sg-sportbar-tools>a{color:rgba(255,255,255,.82);border-bottom:0!important}
.sg-sportbar-tools>a:hover{color:#fff}

/* Search modal */
body.sg-search2-open{overflow:hidden}
.sg-search2-overlay{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-start;justify-content:center;padding:36px 16px 24px}
.sg-search2-overlay[hidden]{display:none!important}
.sg-search2-backdrop{position:absolute;inset:0;background:rgba(10,13,24,.62);backdrop-filter:blur(2px)}
.sg-search2-dialog{position:relative;z-index:1;width:min(900px,calc(100vw - 32px));max-height:calc(100vh - 64px);display:flex;flex-direction:column;background:var(--sg-surface);border:1px solid color-mix(in srgb,var(--sg-line) 85%,transparent);border-radius:18px;box-shadow:0 28px 80px rgba(8,12,28,.32);overflow:hidden;animation:sgSearchIn .14s ease-out}
@keyframes sgSearchIn{from{opacity:0;transform:translateY(-8px) scale(.992)}to{opacity:1;transform:none}}
.sg-search2-head{height:70px;flex:0 0 70px;display:grid;grid-template-columns:32px minmax(0,1fr) 38px;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid var(--sg-line)}
.sg-search2-icon{color:var(--sg-text);display:grid;place-items:center}
.sg-search2-head input{width:100%;height:100%;border:0!important;outline:0!important;background:transparent!important;color:var(--sg-text)!important;font-size:18px!important;font-weight:520!important;letter-spacing:-.2px;padding:0!important;box-shadow:none!important}
.sg-search2-head input::placeholder{color:var(--sg-muted);opacity:.78}
.sg-search2-close{width:34px;height:34px;border:0;border-radius:50%;background:var(--sg-surface-2);color:var(--sg-muted);font-size:23px;line-height:1;cursor:pointer;display:grid;place-items:center}
.sg-search2-close:hover{background:var(--sg-surface-3);color:var(--sg-text)}
.sg-search2-types{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:11px 18px 12px;border-bottom:1px solid var(--sg-line);flex:0 0 auto}
.sg-search2-types::-webkit-scrollbar{display:none}
.sg-search2-types button{height:34px;padding:0 14px;border:0;border-radius:17px;background:var(--sg-surface-2);color:var(--sg-text);font-size:11px;font-weight:400;white-space:nowrap;cursor:pointer}
.sg-search2-types button:hover{background:var(--sg-surface-3)}
.sg-search2-types button.is-active{background:#202126;color:#fff}
html[data-sg-theme="dark"] .sg-search2-types button.is-active{background:#f4f5f7;color:#17191d}
.sg-search2-scroll{position:relative;overflow:auto;overscroll-behavior:contain;min-height:220px;max-height:calc(100vh - 190px);padding:8px 0 14px;scrollbar-color:var(--sg-muted) transparent;scrollbar-width:thin}
.sg-search2-group+ .sg-search2-group{margin-top:8px}
.sg-search2-group>header{height:40px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.sg-search2-group>header>strong{font-size:12px;font-weight:800}
.sg-search2-clear{border:0;background:transparent;color:var(--sg-accent);font-size:10px;font-weight:800;cursor:pointer;padding:6px}
.sg-search2-row{min-height:64px;display:grid;grid-template-columns:46px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:8px 20px;transition:background .12s ease}
.sg-search2-row:hover{background:var(--sg-surface-2)}
.sg-search2-media{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:var(--sg-surface-2);overflow:hidden;color:var(--sg-muted);font-size:15px;font-weight:850}
.sg-search2-media img{max-width:38px;max-height:38px;width:auto;height:auto;object-fit:contain}
.sg-search2-row[data-kind="player"] .sg-search2-media{border-radius:50%;background:var(--sg-surface-3)}
.sg-search2-row[data-kind="player"] .sg-search2-media img,.sg-search2-row[data-kind="news"] .sg-search2-media img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
.sg-search2-row[data-kind="news"] .sg-search2-media{border-radius:8px}
.sg-search2-media.is-match{grid-template-columns:1fr 1fr;gap:0;padding:4px}
.sg-search2-media.is-match img{width:25px;height:25px;max-width:25px;max-height:25px}.sg-search2-media.is-match img+img{margin-left:-5px}
.sg-search2-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.sg-search2-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.15;font-weight:760;color:var(--sg-text)}
.sg-search2-copy small{display:flex;align-items:center;gap:6px;min-width:0;color:var(--sg-muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-search2-copy small b{font-weight:700;color:var(--sg-muted)}
.sg-search2-copy small i{width:4px;height:4px;border-radius:50%;background:var(--sg-line);flex:0 0 auto}
.sg-search2-arrow{color:var(--sg-muted);font-size:23px;font-weight:300;text-align:right}
.sg-search2-empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--sg-muted)}
.sg-search2-empty strong{color:var(--sg-text);font-size:15px}.sg-search2-empty span{font-size:11px;margin-top:6px;max-width:360px;line-height:1.5}
.sg-search2-loading{position:sticky;top:0;z-index:2;height:35px;margin:-8px 0 0;background:color-mix(in srgb,var(--sg-surface) 92%,transparent);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--sg-muted);font-size:10px}
.sg-search2-loading[hidden]{display:none!important}.sg-search2-loading i{width:12px;height:12px;border-radius:50%;border:2px solid var(--sg-line);border-top-color:var(--sg-accent);animation:sgSpin .7s linear infinite}@keyframes sgSpin{to{transform:rotate(360deg)}}

html[data-sg-theme="dark"] .sg-search2-dialog{background:#191b21;border-color:#30343e}
html[data-sg-theme="dark"] .sg-search2-backdrop{background:rgba(0,0,0,.7)}
html[data-sg-theme="dark"] .sg-search2-media{background:#22252d}

@media(max-width:1120px){
  .sg-topbar-inner{grid-template-columns:160px auto minmax(200px,270px) auto!important;gap:9px!important}
  .sg-primary-nav>a{padding-inline:8px;font-size:10px}.sg-primary-nav>a span{display:none}
  .sg-search-launch kbd{display:none}
  .sg-sportbar-tools>a span{display:none}.sg-sportbar-tools>a{padding-inline:11px!important}
}
@media(max-width:860px) and (min-width:761px){
  .sg-primary-nav>a:nth-child(4){display:none}
  .sg-topbar-inner{grid-template-columns:150px auto minmax(180px,1fr) auto!important}
  .sg-search-launch>span{font-size:10px}
}
@media(max-width:760px){
  .sg-topbar-inner{grid-template-columns:minmax(0,1fr) 38px auto!important;gap:5px!important;padding-inline:10px!important}
  .sg-primary-nav{display:none!important}
  .sg-search-launch{width:36px;height:36px;border:0;border-radius:50%;grid-template-columns:1fr;padding:0;place-items:center;background:rgba(255,255,255,.11)}
  .sg-search-launch>span,.sg-search-launch kbd{display:none}
  .sg-top-actions .sg-top-icon:first-child{display:none}
  .sg-sportbar-inner{padding-inline:5px!important;overflow:hidden!important}
  .sg-sportbar-main{overflow-x:auto}.sg-sportbar-tools{display:none}
  .sg-sportbar-main>a{padding-inline:12px!important}
  .sg-search2-overlay{padding:0;align-items:stretch}
  .sg-search2-dialog{width:100%;height:100%;max-height:none;border:0;border-radius:0;animation:none}
  .sg-search2-head{height:62px;flex-basis:62px;padding:0 12px;grid-template-columns:28px minmax(0,1fr) 34px}
  .sg-search2-head input{font-size:15px!important}
  .sg-search2-types{padding:9px 10px 10px;gap:6px}
  .sg-search2-types button{height:32px;padding-inline:12px;font-size:10px}
  .sg-search2-scroll{max-height:none;flex:1;padding-top:5px}
  .sg-search2-group>header{height:38px;padding-inline:14px}.sg-search2-row{min-height:61px;padding:7px 14px;grid-template-columns:42px minmax(0,1fr) 18px;gap:10px}
  .sg-search2-media{width:40px;height:40px}.sg-search2-copy strong{font-size:13px}.sg-search2-copy small{font-size:9px}
}


/* SG.13 — calendar/results archive grouped by competition, round and date */
.sg-fixture-archive{overflow:hidden}
.sg-fixture-archive>.sg-card-title{min-height:58px;padding-inline:20px}
.sg-fixture-groups{display:grid;gap:0}
.sg-fixture-competition-head{min-height:62px;display:flex;align-items:center;gap:12px;padding:12px 20px;background:var(--sg-surface-2);border-top:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}
.sg-fixture-competition-head:first-child{border-top:0}
.sg-fixture-competition-head img{width:34px;height:34px;object-fit:contain;background:#fff;border-radius:8px;padding:3px}
.sg-fixture-competition-head span{display:grid;gap:2px;min-width:0}.sg-fixture-competition-head strong{font-size:14px}.sg-fixture-competition-head small{font-size:10px;color:var(--sg-muted);font-weight:700}
.sg-fixture-round{border-bottom:1px solid var(--sg-line)}.sg-fixture-round:last-child{border-bottom:0}
.sg-fixture-round-title{min-height:44px;display:flex;align-items:center;padding:0 20px;background:color-mix(in srgb,var(--sg-accent-soft) 56%,var(--sg-surface));border-bottom:1px solid var(--sg-line)}
.sg-fixture-round-title strong{font-size:12px;color:var(--sg-accent);letter-spacing:.01em}
.sg-fixture-date{background:var(--sg-surface)}
.sg-fixture-date-title{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 20px;background:var(--sg-surface);border-bottom:1px solid var(--sg-line)}
.sg-fixture-date-title span{font-size:11px;font-weight:800;color:var(--sg-text)}.sg-fixture-date-title small{font-size:9px;color:var(--sg-muted);font-weight:700}
.sg-fixture-date .sg-match-row{padding-left:20px!important;padding-right:20px!important}
.sg-fixture-date+.sg-fixture-date{border-top:1px solid var(--sg-line)}
@media(max-width:760px){
 .sg-fixture-archive>.sg-card-title{padding-inline:12px;min-height:52px}
 .sg-fixture-competition-head{min-height:56px;padding:10px 12px}.sg-fixture-competition-head img{width:30px;height:30px}
 .sg-fixture-round-title{min-height:40px;padding:0 12px}.sg-fixture-round-title strong{font-size:11px}
 .sg-fixture-date-title{min-height:36px;padding:0 12px}.sg-fixture-date-title span{font-size:10px}
 .sg-fixture-date .sg-match-row{padding-left:10px!important;padding-right:8px!important}
}


/* ========================================================================== 
   SerieAGoal SG.13.1 — calendar priority + competition tab hit-area safety.
   ========================================================================== */
/* Decorative hero circles must never sit above the tab hit area. */
.sg-competition-cover::before,.sg-team-cover::before{pointer-events:none!important;z-index:0!important}
.sg-competition-profile-main,.sg-team-profile-main,.sg-competition-cover>.sg-follow-btn,.sg-team-cover>.sg-follow-btn{position:relative;z-index:1}
.sg-competition-profile>.sg-profile-tabs,.sg-team-profile>.sg-profile-tabs{position:relative;z-index:5;isolation:isolate}
.sg-competition-profile>.sg-profile-tabs>a,.sg-team-profile>.sg-profile-tabs>a{position:relative;z-index:6;pointer-events:auto!important}

/* Calendar: the first actual future round is visually identified. */
.sg-fixture-round.is-next>.sg-fixture-round-title{background:linear-gradient(90deg,var(--sg-accent-soft),transparent 72%)}
.sg-next-round-badge{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;margin-left:auto;border-radius:999px;background:var(--sg-accent);color:#fff;font-size:8px;font-weight:850;letter-spacing:.02em;white-space:nowrap}
.sg-recovery-section{margin-top:12px;border-top:1px solid var(--sg-line);background:var(--sg-surface)}
.sg-recovery-title{min-height:52px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:color-mix(in srgb,var(--sg-warning,#d98b00) 8%,var(--sg-surface));border-bottom:1px solid var(--sg-line)}
.sg-recovery-title strong{font-size:12px}.sg-recovery-title small{font-size:9px;color:var(--sg-muted);text-align:right}

/* AJAX profile-tab swaps keep the current page painted while the next tab loads. */
.sg-feed[data-sg-tab-loading="1"]{cursor:progress}
.sg-feed[data-sg-tab-loading="1"] .sg-profile-tabs{pointer-events:none}

@media(max-width:760px){
 .sg-next-round-badge{font-size:7px;min-height:18px;padding-inline:7px}
 .sg-recovery-title{min-height:48px;padding:9px 12px;align-items:flex-start;flex-direction:column;gap:2px}
 .sg-recovery-title small{text-align:left}
}

/* ========================================================================== 
   SerieAGoal SG.14 — football entities + Match Center 2.0
   ========================================================================== */
.sg-entity-search{padding:10px 12px;overflow:visible}
.sg-entity-search form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.sg-entity-search label{height:40px;display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:center;padding:0 11px;border:1px solid var(--sg-line);border-radius:9px;background:var(--sg-surface-2);color:var(--sg-muted)}
.sg-entity-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:var(--sg-text);font:inherit;font-size:12px}
.sg-entity-search input::placeholder{color:var(--sg-muted)}
.sg-entity-search button{height:40px;padding:0 15px;border:0;border-radius:9px;background:var(--sg-accent);color:#fff;font-size:11px;font-weight:850;cursor:pointer}
.sg-entity-search button:hover{background:var(--sg-accent-strong)}

.sg-entity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--sg-line)}
.sg-entity-card{min-width:0;min-height:78px;display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:10px;align-items:center;padding:11px 13px;background:var(--sg-surface);color:var(--sg-text)}
.sg-entity-card:hover{background:var(--sg-surface-2)}
.sg-entity-avatar{width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--sg-line);border-radius:50%;background:var(--sg-surface-2);overflow:hidden;color:var(--sg-muted)}
.sg-entity-avatar img{width:100%;height:100%;object-fit:cover}
.sg-entity-card>span:nth-child(2){min-width:0;display:grid;gap:3px}
.sg-entity-card strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.sg-entity-card small{font-size:9px;color:var(--sg-muted);line-height:1.35;overflow-wrap:anywhere}
.sg-entity-action{height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface-2);color:var(--sg-text);font-size:10px;font-weight:800;white-space:nowrap}
.sg-entity-action:hover{background:var(--sg-accent-soft);color:var(--sg-accent)}

.sg-person-hero{min-height:126px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,var(--sg-surface),var(--sg-surface-2))}
.sg-person-main{min-width:0;display:flex;align-items:center;gap:16px}
.sg-person-photo{width:82px;height:82px;flex:0 0 82px;display:grid;place-items:center;border-radius:50%;overflow:hidden;border:1px solid var(--sg-line);background:var(--sg-surface);color:var(--sg-muted)}
.sg-person-photo img{width:100%;height:100%;object-fit:cover}
.sg-person-main h1{margin:3px 0 5px;font-size:24px;line-height:1.04;letter-spacing:-.5px}
.sg-person-main p{margin:0;color:var(--sg-muted);font-size:11px;font-weight:650}

.sg-career-list{display:grid}
.sg-career-row{min-height:62px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:center;padding:9px 14px;border-bottom:1px solid var(--sg-line)}
.sg-career-row:last-child{border-bottom:0}.sg-career-row:hover{background:var(--sg-surface-2)}
.sg-career-logo{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--sg-line);border-radius:9px;background:#fff;overflow:hidden;color:var(--sg-muted)}
.sg-career-logo img{width:30px;height:30px;object-fit:contain}
.sg-career-row>span:last-child{display:grid;gap:3px;min-width:0}.sg-career-row strong{font-size:11px}.sg-career-row small{font-size:9px;color:var(--sg-muted)}

.sg-venue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--sg-line)}
.sg-venue-card{min-width:0;min-height:112px;display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:center;padding:12px;background:var(--sg-surface);color:var(--sg-text)}
.sg-venue-card:hover{background:var(--sg-surface-2)}
.sg-venue-thumb{width:86px;height:76px;border-radius:9px;overflow:hidden;border:1px solid var(--sg-line);background:var(--sg-surface-2);display:grid;place-items:center;color:var(--sg-muted)}
.sg-venue-thumb img{width:100%;height:100%;object-fit:cover}
.sg-venue-card>span:last-child{display:grid;gap:4px;min-width:0}.sg-venue-card strong{font-size:12px;line-height:1.25;overflow-wrap:anywhere}.sg-venue-card small{font-size:9px;color:var(--sg-muted);line-height:1.35}
.sg-venue-hero{position:relative;min-height:190px;background:var(--sg-surface);overflow:hidden}
.sg-venue-hero-image{height:150px;overflow:hidden;background:var(--sg-surface-2)}
.sg-venue-hero-image img{width:100%;height:100%;object-fit:cover;display:block}
.sg-venue-hero-copy{padding:16px 20px 18px}.sg-venue-hero-copy h1{margin:3px 0 5px;font-size:24px;letter-spacing:-.55px;line-height:1.05}.sg-venue-hero-copy p{margin:0;color:var(--sg-muted);font-size:11px;font-weight:650}
.sg-linked-teams{display:flex;flex-wrap:wrap;gap:7px;padding:12px 14px;border-top:1px solid var(--sg-line)}
.sg-linked-teams a{height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--sg-line);border-radius:9px;background:var(--sg-surface-2);color:var(--sg-text);font-size:10px}
.sg-linked-teams img{width:24px;height:24px;object-fit:contain}.sg-linked-teams a:hover{background:var(--sg-accent-soft);color:var(--sg-accent)}

.sg-filter-pills{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0 9px}.sg-filter-pills::-webkit-scrollbar{display:none}
.sg-filter-pills a{min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface);color:var(--sg-muted);font-size:10px;font-weight:800;white-space:nowrap}
.sg-filter-pills a:hover{background:var(--sg-surface-2);color:var(--sg-text)}.sg-filter-pills a.is-active{background:var(--sg-accent);border-color:var(--sg-accent);color:#fff}

.sg-referee-list{display:grid}
.sg-referee-list>a{min-height:62px;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;gap:11px;align-items:center;padding:9px 14px;border-bottom:1px solid var(--sg-line);color:var(--sg-text)}
.sg-referee-list>a:last-child{border-bottom:0}.sg-referee-list>a:hover{background:var(--sg-surface-2)}
.sg-referee-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--sg-line);border-radius:50%;background:var(--sg-surface-2);color:var(--sg-accent)}
.sg-referee-list>a>span:nth-child(2){display:grid;gap:3px;min-width:0}.sg-referee-list strong{font-size:11px}.sg-referee-list small{font-size:9px;color:var(--sg-muted)}
.sg-referee-hero{min-height:114px;padding:18px 20px;display:flex;align-items:center;gap:15px;background:linear-gradient(135deg,var(--sg-surface),var(--sg-surface-2))}
.sg-referee-hero>span{width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:var(--sg-accent-soft);color:var(--sg-accent)}
.sg-referee-hero h1{margin:3px 0 5px;font-size:24px;letter-spacing:-.5px}.sg-referee-hero p{margin:0;color:var(--sg-muted);font-size:11px}
.sg-metric-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.sg-metric-grid>div{min-height:76px;padding:13px;display:grid;align-content:center;text-align:center;border-right:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line)}
.sg-metric-grid>div:nth-child(3n){border-right:0}.sg-metric-grid>div:nth-last-child(-n+3){border-bottom:0}
.sg-metric-grid strong{font-size:18px;line-height:1}.sg-metric-grid span{margin-top:6px;font-size:9px;color:var(--sg-muted);font-weight:750}

.sg-injury-list{display:grid}
.sg-injury-list>a,.sg-injury-list>div{min-height:58px;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;padding:8px 14px;border-bottom:1px solid var(--sg-line);color:var(--sg-text)}
.sg-injury-list>a:last-child,.sg-injury-list>div:last-child{border-bottom:0}.sg-injury-list>a:hover{background:var(--sg-surface-2)}
.sg-injury-list>a>span:first-child,.sg-injury-list>div>span:first-child{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:var(--sg-surface-2);border:1px solid var(--sg-line);color:var(--sg-muted)}
.sg-injury-list img{width:100%;height:100%;object-fit:cover}.sg-injury-list>a>span:last-child,.sg-injury-list>div>span:last-child{display:grid;gap:3px;min-width:0}.sg-injury-list strong{font-size:11px}.sg-injury-list small{font-size:9px;color:var(--sg-muted);line-height:1.35}

.sg-team-coach-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px}
.sg-coach-inline{display:flex;align-items:center;gap:11px;min-width:0}.sg-coach-inline img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:var(--sg-surface-2)}
.sg-coach-inline>span{display:grid;gap:3px;min-width:0}.sg-coach-inline strong{font-size:12px}.sg-coach-inline small{font-size:9px;color:var(--sg-muted)}
.sg-inline-link{color:var(--sg-accent);font-weight:800}.sg-inline-link:hover{text-decoration:underline}

.sg-match-coaches{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--sg-line)}
.sg-match-coach-team{min-height:86px;display:flex;align-items:center;justify-content:center;padding:12px;background:var(--sg-surface)}
.sg-match-coach-person{display:flex;align-items:center;gap:10px;color:var(--sg-text);text-align:left}.sg-match-coach-person:hover{color:var(--sg-accent)}
.sg-match-coach-person img{width:50px;height:50px;border-radius:50%;object-fit:cover;background:var(--sg-surface-2);border:1px solid var(--sg-line)}
.sg-match-coach-person span{display:grid;gap:3px}.sg-match-coach-person strong{font-size:11px}.sg-match-coach-person small{font-size:8px;color:var(--sg-muted)}
.sg-match-injuries{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--sg-line)}
.sg-match-injuries>div{background:var(--sg-surface)}
.sg-lineup-coach{margin:8px 8px 2px;padding:8px 10px;display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:rgba(0,0,0,.18);color:#fff;font-size:9px;font-weight:800;backdrop-filter:blur(4px)}
.sg-lineup-coach img{width:27px;height:27px;border-radius:50%;object-fit:cover;background:#fff}.sg-lineup-coach:hover{background:rgba(0,0,0,.28)}
.sg-match-meta-line a{display:inline-flex;align-items:center;gap:5px;color:inherit}.sg-match-meta-line a:hover{color:var(--sg-accent)}

/* Search page rows for new entity kinds. */
.sg-search-group .sg-referee-icon{flex:0 0 36px}

html[data-sg-theme="dark"] .sg-career-logo{background:#fff}
html[data-sg-theme="dark"] .sg-venue-card,.sg-entity-card{box-shadow:none}

@media(max-width:760px){
  .sg-entity-search{padding:8px}.sg-entity-search form{grid-template-columns:minmax(0,1fr) 74px}.sg-entity-search button{padding:0 10px}
  .sg-entity-grid,.sg-venue-grid{grid-template-columns:1fr}
  .sg-entity-card{min-height:72px;padding:9px 11px;grid-template-columns:44px minmax(0,1fr) 16px}.sg-entity-avatar{width:42px;height:42px}
  .sg-person-hero{min-height:108px;padding:14px 12px;align-items:flex-start}.sg-person-main{gap:11px}.sg-person-photo{width:66px;height:66px;flex-basis:66px}.sg-person-main h1{font-size:20px}.sg-entity-action{height:32px;padding-inline:9px;font-size:9px}
  .sg-career-row{padding:8px 12px}
  .sg-venue-card{min-height:96px;grid-template-columns:74px minmax(0,1fr);padding:10px}.sg-venue-thumb{width:74px;height:66px}
  .sg-venue-hero{min-height:150px}.sg-venue-hero-image{height:118px}.sg-venue-hero-copy{padding:13px 12px 15px}.sg-venue-hero-copy h1{font-size:20px}
  .sg-linked-teams{padding:10px 12px}.sg-linked-teams a{height:34px;padding-inline:9px}
  .sg-referee-list>a{padding:8px 12px}.sg-referee-hero{min-height:96px;padding:14px 12px}.sg-referee-hero>span{width:52px;height:52px}.sg-referee-hero h1{font-size:20px}
  .sg-metric-grid{grid-template-columns:repeat(2,1fr)}.sg-metric-grid>div{min-height:68px;border-right:1px solid var(--sg-line)!important;border-bottom:1px solid var(--sg-line)!important}.sg-metric-grid>div:nth-child(2n){border-right:0!important}.sg-metric-grid>div:nth-last-child(-n+2){border-bottom:0!important}
  .sg-injury-list>a,.sg-injury-list>div{padding:8px 12px}
  .sg-team-coach-card{grid-template-columns:minmax(0,1fr);padding:11px 12px}.sg-team-coach-card>.sg-entity-action{justify-self:start}
  .sg-match-coaches,.sg-match-injuries{grid-template-columns:1fr}.sg-match-coach-team{min-height:72px;justify-content:flex-start;padding:10px 12px}
}

/* SG.14 component-shape corrections for existing card markup. */
.sg-team-coach-card{display:block!important;padding:0!important}
.sg-team-coach-card>.sg-coach-inline{min-height:72px;padding:10px 14px;display:grid;grid-template-columns:52px minmax(0,1fr) 18px;gap:11px;color:var(--sg-text)}
.sg-team-coach-card>.sg-coach-inline:hover{background:var(--sg-surface-2)}
.sg-team-coach-card>.sg-coach-inline>span:first-child{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;overflow:hidden;border:1px solid var(--sg-line);background:var(--sg-surface-2);color:var(--sg-muted)}
.sg-team-coach-card>.sg-coach-inline>span:first-child img{width:100%;height:100%;object-fit:cover}
.sg-team-coach-card>.sg-coach-inline>span:nth-child(2){display:grid;gap:3px;min-width:0}
.sg-team-coach-card>.sg-coach-inline strong{font-size:12px}.sg-team-coach-card>.sg-coach-inline small{font-size:9px;color:var(--sg-muted)}
.sg-match-coaches>a{min-height:84px;display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr) 18px;gap:10px;align-items:center;padding:10px 13px;background:var(--sg-surface);color:var(--sg-text)}
.sg-match-coaches>a:hover{background:var(--sg-surface-2)}
.sg-match-coach-team{min-height:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;padding:0!important;background:transparent!important}
.sg-match-coach-team img{width:30px;height:30px;object-fit:contain;background:#fff;border-radius:7px;padding:2px}
.sg-match-coach-team small{font-size:8px;color:var(--sg-muted);font-weight:400;line-height:1.25}
.sg-match-coach-person{min-width:0}.sg-match-coach-person strong{overflow-wrap:anywhere}
@media(max-width:760px){
 .sg-team-coach-card>.sg-coach-inline{padding:9px 12px;grid-template-columns:46px minmax(0,1fr) 16px}.sg-team-coach-card>.sg-coach-inline>span:first-child{width:46px;height:46px}
 .sg-match-coaches>a{grid-template-columns:84px minmax(0,1fr) 16px;padding:9px 11px}.sg-match-coach-person img{width:42px;height:42px}.sg-match-coach-team img{width:26px;height:26px}
}

/* SG.21 — left rail competition navigator: featured + international + country accordions. */
.sg-sidebar-competitions{border-top:1px solid var(--sg-line);margin-top:16px;padding-top:15px;display:grid;gap:10px}
.sg-side-label-icon{display:flex;align-items:center;gap:6px}.sg-side-label-icon>span{font-size:11px;color:var(--sg-accent)}
.sg-sidebar-featured-list{display:grid;gap:3px;margin-top:7px}
.sg-sidebar-competition-link{min-height:36px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:5px 8px;border-radius:8px;color:var(--sg-muted);font-size:11px;font-weight:720;line-height:1.2;transition:background .14s ease,color .14s ease}
.sg-sidebar-competition-link:hover{background:var(--sg-surface);color:var(--sg-text)}
.sg-sidebar-competition-link.is-featured{min-height:39px;color:var(--sg-text)}
.sg-sidebar-competition-link.is-active{background:var(--sg-accent-soft);color:var(--sg-accent-strong);font-weight:850}
.sg-sidebar-competition-logo{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#fff;border:1px solid var(--sg-line);overflow:hidden}
.sg-sidebar-competition-logo img{width:19px;height:19px;object-fit:contain}.sg-sidebar-competition-logo.is-fallback{font-size:11px}
.sg-sidebar-international{margin-top:2px}
.sg-sidebar-countries-label{margin-top:3px;padding-top:7px;border-top:1px solid var(--sg-line)}
.sg-sidebar-country-groups{display:grid;gap:2px}
.sg-sidebar-country{border-radius:8px;overflow:hidden}
.sg-sidebar-country>summary{list-style:none;min-height:38px;display:grid;grid-template-columns:22px minmax(0,1fr) auto 16px;align-items:center;gap:7px;padding:0 7px;cursor:pointer;color:var(--sg-muted);user-select:none;border-radius:8px}
.sg-sidebar-country>summary::-webkit-details-marker{display:none}.sg-sidebar-country>summary::marker{display:none;content:''}
.sg-sidebar-country>summary:hover{background:var(--sg-surface);color:var(--sg-text)}
.sg-sidebar-country[open]>summary{color:var(--sg-text);background:var(--sg-surface-2)}
.sg-sidebar-country>summary strong{font-size:11px;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-sidebar-country>summary small{min-width:19px;height:19px;padding:0 5px;border-radius:999px;display:grid;place-items:center;background:var(--sg-surface-2);color:var(--sg-muted);font-size:8px;font-weight:800}
.sg-sidebar-country[open]>summary small{background:var(--sg-surface);color:var(--sg-text)}
.sg-country-chevron{display:grid;place-items:center;transition:transform .15s ease}.sg-sidebar-country[open]>summary .sg-country-chevron{transform:rotate(90deg)}
.sg-country-flag,.sg-country-symbol{width:22px;height:22px;display:grid;place-items:center;border-radius:6px;overflow:hidden;font-size:14px}
.sg-country-flag img{width:20px;height:14px;object-fit:cover;border-radius:3px}
.sg-sidebar-country-list{display:grid;gap:2px;padding:4px 0 5px 13px;margin-left:10px;border-left:1px solid var(--sg-line)}
.sg-sidebar-country-list .sg-sidebar-competition-link{min-height:32px;padding-block:4px;grid-template-columns:22px minmax(0,1fr);font-size:10px}
.sg-sidebar-country-list .sg-sidebar-competition-logo{width:22px;height:22px}.sg-sidebar-country-list .sg-sidebar-competition-logo img{width:17px;height:17px}
.sg-sidebar-country.is-extra-country{display:none}.sg-sidebar-competitions.is-expanded .sg-sidebar-country.is-extra-country{display:block}
.sg-sidebar-more-countries{width:100%;min-height:36px;border:0;background:transparent;color:var(--sg-accent);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px;border-radius:8px;font-size:10px;font-weight:800;cursor:pointer}
.sg-sidebar-more-countries:hover{background:var(--sg-surface)}.sg-sidebar-more-countries .sg-svg{transition:transform .15s ease}.sg-sidebar-competitions.is-expanded .sg-sidebar-more-countries .sg-svg{transform:rotate(90deg)}
html[data-sg-theme="dark"] .sg-sidebar-competition-link:hover,html[data-sg-theme="dark"] .sg-sidebar-country>summary:hover,html[data-sg-theme="dark"] .sg-sidebar-more-countries:hover{background:var(--sg-surface-2);color:var(--sg-text)}
html[data-sg-theme="dark"] .sg-sidebar-competition-link.is-active{background:var(--sg-accent-soft);color:#aeb6ff}
@media(max-width:980px){.sg-sidebar-competitions{display:none}}

/* SG.21.1 — sidebar desktop dedicata esclusivamente alle competizioni.
   La navigazione globale vive nell'header, quindi il rail non replica più voci. */
.sg-sidebar-competition-only .sg-sidebar-competitions{
  border-top:0;
  margin-top:0;
  padding-top:0;
}
.sg-sidebar-competition-only .sg-sidebar-featured:first-child .sg-side-label{
  padding-top:2px;
}

/* =========================================================
   SG.21.2 — mobile header breathing room + competition drawer
   ========================================================= */
.sg-mobile-menu-trigger{display:none!important}
.sg-mobile-menu-overlay{display:none}
body.sg-mobile-menu-open{overflow:hidden}

@media(max-width:760px){
  .sg-topbar-inner{
    padding-left:max(14px,env(safe-area-inset-left))!important;
    padding-right:max(14px,env(safe-area-inset-right))!important;
    grid-template-columns:minmax(0,1fr) 38px 38px!important;
    gap:8px!important;
  }
  .sg-brand{gap:9px;min-width:0}
  .sg-brand-mark{flex:0 0 34px;width:34px!important;height:34px!important}
  .sg-brand-name{font-size:18px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sg-search-launch{grid-column:2;width:38px;height:38px}
  .sg-top-actions{grid-column:3!important;display:block!important;width:38px;height:38px}
  .sg-top-actions>.sg-top-icon{display:none!important}
  .sg-top-actions>.sg-mobile-menu-trigger{display:grid!important;width:38px!important;height:38px!important;background:rgba(255,255,255,.11);border-radius:50%}
  .sg-top-actions>.sg-mobile-menu-trigger:hover,
  .sg-top-actions>.sg-mobile-menu-trigger:active{background:rgba(255,255,255,.18)}

  .sg-sportbar-inner{
    padding-left:max(12px,env(safe-area-inset-left))!important;
    padding-right:max(12px,env(safe-area-inset-right))!important;
    overflow:hidden!important;
  }
  .sg-sportbar-main{gap:2px;padding-right:4px;scroll-padding-inline:12px}
  .sg-sportbar-main>a{padding-inline:13px!important}
  .sg-sportbar-main>a:first-child{margin-left:0!important;margin-right:5px!important}

  .sg-shell{
    padding-left:max(12px,env(safe-area-inset-left))!important;
    padding-right:max(12px,env(safe-area-inset-right))!important;
  }

  .sg-mobile-menu-overlay{position:fixed;inset:0;z-index:420;display:block;pointer-events:none}
  .sg-mobile-menu-overlay[hidden]{display:none!important}
  .sg-mobile-menu-overlay.is-open{pointer-events:auto}
  .sg-mobile-menu-backdrop{position:absolute;inset:0;border:0;padding:0;background:rgba(9,12,24,.56);opacity:0;transition:opacity .18s ease;cursor:pointer}
  .sg-mobile-menu-drawer{
    position:absolute;inset:0 auto 0 0;width:min(88vw,370px);max-width:100%;
    display:flex;flex-direction:column;background:var(--sg-bg);color:var(--sg-text);
    box-shadow:18px 0 50px rgba(10,14,30,.26);transform:translateX(-104%);transition:transform .2s ease;
    padding-left:env(safe-area-inset-left);
  }
  .sg-mobile-menu-overlay.is-open .sg-mobile-menu-backdrop{opacity:1}
  .sg-mobile-menu-overlay.is-open .sg-mobile-menu-drawer{transform:none}
  .sg-mobile-menu-head{
    min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;
    padding:10px 14px 10px 16px;background:var(--sg-header);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)
  }
  .sg-mobile-menu-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
  .sg-mobile-menu-head span{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.12em;font-weight:850;color:rgba(255,255,255,.72)}
  .sg-mobile-menu-head strong{font-size:19px;line-height:1.1;letter-spacing:-.35px}
  .sg-mobile-menu-head>button{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer}
  .sg-mobile-menu-scroll{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:12px 12px calc(24px + env(safe-area-inset-bottom))}
  .sg-mobile-menu-all{min-height:46px;display:grid;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:0 11px;margin-bottom:12px;border:1px solid var(--sg-line);border-radius:10px;background:var(--sg-surface);box-shadow:var(--sg-shadow);font-size:12px;font-weight:800}
  .sg-mobile-menu-all>svg:last-child{color:var(--sg-muted)}
  .sg-mobile-menu-scroll .sg-sidebar-competitions{padding-bottom:4px}
  .sg-mobile-menu-scroll .sg-sidebar-featured-list{display:grid;grid-template-columns:1fr;gap:2px}
  .sg-mobile-menu-scroll .sg-sidebar-competition-link{min-height:43px}
  .sg-mobile-menu-scroll .sg-sidebar-country summary{min-height:45px}
}

@media(max-width:380px){
  .sg-brand-name{font-size:17px!important}
  .sg-topbar-inner{padding-left:max(11px,env(safe-area-inset-left))!important;padding-right:max(11px,env(safe-area-inset-right))!important;gap:6px!important}
  .sg-sportbar-inner{padding-left:max(9px,env(safe-area-inset-left))!important;padding-right:max(9px,env(safe-area-inset-right))!important}
  .sg-shell{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
}

/* =========================================================
   SG.21.3 — mobile menu, Diretta-inspired information hierarchy
   SerieAGoal styling and data model.
   ========================================================= */
@media(max-width:760px){
  body.sg-mobile-menu-open .sg-mobile-nav{display:none!important}
  body.sg-mobile-menu-open .sg-top-actions>.sg-mobile-menu-trigger{
    background:#fff!important;color:var(--sg-header)!important;
    box-shadow:0 0 0 3px rgba(255,255,255,.18),0 0 0 2px #1789ff inset;
  }

  .sg-mobile-menu-overlay{
    position:fixed!important;left:0!important;right:0!important;top:54px!important;bottom:0!important;
    z-index:420!important;display:block!important;pointer-events:none;background:transparent!important;
  }
  .sg-mobile-menu-overlay[hidden]{display:none!important}
  .sg-mobile-menu-overlay.is-open{pointer-events:auto!important}
  .sg-mobile-menu-backdrop,.sg-mobile-menu-head{display:none!important}
  .sg-mobile-menu-drawer{
    position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;
    display:flex!important;flex-direction:column!important;background:var(--sg-surface)!important;color:var(--sg-text)!important;
    box-shadow:none!important;transform:translateY(-8px)!important;opacity:0!important;
    transition:transform .16s ease,opacity .16s ease!important;padding:0!important;
    border-radius:0!important;
  }
  .sg-mobile-menu-overlay.is-open .sg-mobile-menu-drawer{transform:none!important;opacity:1!important}
  .sg-mobile-menu-scroll{
    flex:1!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;
    padding:0 max(16px,env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;
    background:var(--sg-surface)!important;
  }

  .sg-mobile-utility{display:flex;flex-direction:column;margin:0 -16px 0;border-bottom:1px solid var(--sg-line);background:var(--sg-surface)}
  .sg-mobile-utility>a,.sg-mobile-utility>button{
    min-height:66px;width:100%;border:0;border-bottom:1px solid var(--sg-line);background:transparent;color:var(--sg-text);
    display:grid;grid-template-columns:38px minmax(0,1fr) 28px;align-items:center;gap:11px;padding:0 20px;
    text-align:left;font:inherit;cursor:pointer;text-decoration:none;
  }
  .sg-mobile-utility>a:last-child,.sg-mobile-utility>button:last-child{border-bottom:0}
  .sg-mobile-utility strong{font-size:15px;line-height:1.2;font-weight:690;letter-spacing:-.08px}
  .sg-mobile-utility>a>.sg-svg:last-child{color:var(--sg-muted)}
  .sg-mobile-utility-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--sg-text)}
  .sg-mobile-theme-switch{justify-self:end;width:44px;height:25px;border-radius:999px;background:#e1e4e9;position:relative;transition:background .16s ease}
  .sg-mobile-theme-switch i{position:absolute;width:19px;height:19px;border-radius:50%;left:3px;top:3px;background:#9297a0;transition:transform .16s ease,background .16s ease}
  html[data-sg-theme="dark"] .sg-mobile-theme-switch{background:#3147c8}
  html[data-sg-theme="dark"] .sg-mobile-theme-switch i{transform:translateX(19px);background:#fff}

  .sg-mobile-menu-section{padding:24px 0 8px;border-bottom:1px solid var(--sg-line)}
  .sg-mobile-menu-section:last-child{border-bottom:0}
  .sg-mobile-menu-section>header{height:32px;display:flex;align-items:center;gap:9px;padding:0 4px 10px;color:var(--sg-text)}
  .sg-mobile-menu-section>header>span{width:23px;display:grid;place-items:center}
  .sg-mobile-menu-section>header strong{font-size:13px;text-transform:uppercase;letter-spacing:.085em;font-weight:850}

  .sg-mobile-featured-list,.sg-mobile-team-list{display:flex;flex-direction:column}
  .sg-mobile-featured-row{min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center}
  .sg-mobile-featured-row>a{min-width:0;min-height:52px;display:grid;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:11px;padding:0 4px;color:var(--sg-text);text-decoration:none}
  .sg-mobile-featured-row>a strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:610}
  .sg-mobile-comp-media,.sg-mobile-team-media{width:27px;height:27px;display:grid;place-items:center;overflow:hidden}
  .sg-mobile-comp-media img{width:25px;height:20px;object-fit:contain}
  .sg-mobile-team-media img{width:26px;height:26px;object-fit:contain}
  .sg-mobile-pin{width:40px;height:40px;border:0;border-radius:9px;background:transparent;color:#1687ff;display:grid;place-items:center;cursor:pointer}
  .sg-mobile-pin:hover,.sg-mobile-pin:active{background:var(--sg-surface-2)}
  .sg-mobile-pin>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .sg-mobile-pin:not(.is-following){color:var(--sg-muted);opacity:.62}
  .sg-mobile-pin.is-following{color:#1687ff;opacity:1}

  .sg-mobile-menu-more,.sg-mobile-empty-action{
    min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;
    color:var(--sg-accent);font-size:14px;font-weight:720;text-decoration:none;padding:0 4px;border-top:1px solid var(--sg-line);margin-top:5px;
  }
  .sg-mobile-empty-action{color:var(--sg-text);border-top:0;margin-top:0}
  .sg-mobile-menu-more>.sg-svg,.sg-mobile-empty-action>.sg-svg{justify-self:end;color:var(--sg-muted)}

  .sg-mobile-team-list>a{min-height:52px;display:grid;grid-template-columns:31px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:0 4px;color:var(--sg-text);text-decoration:none}
  .sg-mobile-team-list>a strong{font-size:15px;font-weight:610;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sg-mobile-team-list>a>.sg-svg{color:var(--sg-muted)}

  html[data-sg-theme="dark"] .sg-mobile-menu-scroll,
  html[data-sg-theme="dark"] .sg-mobile-menu-drawer,
  html[data-sg-theme="dark"] .sg-mobile-utility{background:#11151c!important}
  html[data-sg-theme="dark"] .sg-mobile-utility>a,
  html[data-sg-theme="dark"] .sg-mobile-utility>button{color:#f5f7fb}
}

/* =========================================================
   SG.21.4 — mobile header stabile + controllo chiusura menu
   ========================================================= */
.sg-mobile-menu-icon-open,.sg-mobile-menu-icon-close{display:grid;place-items:center}
.sg-mobile-menu-icon-close{display:none;font-size:30px;line-height:1;font-weight:350;margin-top:-2px}
@media(max-width:760px){
  .sg-topbar{z-index:540!important}
  .sg-topbar-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 40px 40px!important;
    align-items:center!important;
    gap:10px!important;
    padding-left:max(14px,env(safe-area-inset-left))!important;
    padding-right:max(14px,env(safe-area-inset-right))!important;
  }
  .sg-brand{grid-column:1!important;justify-self:start!important;min-width:0!important;max-width:100%!important}
  .sg-search-launch{
    grid-column:2!important;justify-self:end!important;width:40px!important;height:40px!important;
    min-width:40px!important;padding:0!important;display:grid!important;place-items:center!important;
    border-radius:50%!important;
  }
  .sg-search-launch>span,.sg-search-launch>kbd{display:none!important}
  .sg-top-actions{
    grid-column:3!important;justify-self:end!important;align-self:center!important;
    width:40px!important;height:40px!important;display:grid!important;place-items:center!important;
    margin:0!important;padding:0!important;
  }
  .sg-top-actions>.sg-mobile-menu-trigger{
    width:40px!important;height:40px!important;margin:0!important;padding:0!important;
    display:grid!important;place-items:center!important;border-radius:12px!important;
  }
  body.sg-mobile-menu-open .sg-mobile-menu-icon-open{display:none!important}
  body.sg-mobile-menu-open .sg-mobile-menu-icon-close{display:grid!important}
  body.sg-mobile-menu-open .sg-top-actions>.sg-mobile-menu-trigger{
    background:#fff!important;color:var(--sg-header)!important;
    box-shadow:0 0 0 2px #1687ff inset!important;
  }
  .sg-mobile-menu-overlay{
    top:54px!important;bottom:0!important;left:0!important;right:0!important;z-index:520!important;
  }
  .sg-mobile-menu-drawer{padding-top:0!important}
}
@media(max-width:380px){
  .sg-topbar-inner{grid-template-columns:minmax(0,1fr) 38px 38px!important;gap:7px!important}
  .sg-search-launch,.sg-top-actions,.sg-top-actions>.sg-mobile-menu-trigger{width:38px!important;height:38px!important;min-width:38px!important}
}

/* =========================================================
   SG.21.4.1 — hamburger nell'header accanto ai Preferiti
   Mobile: logo | ricerca | stella | menu. Il menu diventa X
   nello stesso punto quando il pannello e' aperto.
   ========================================================= */
@media(max-width:760px){
  .sg-topbar-inner{
    grid-template-columns:minmax(0,1fr) 40px auto!important;
    gap:8px!important;
  }
  .sg-search-launch{
    grid-column:2!important;
  }
  .sg-top-actions{
    grid-column:3!important;
    width:auto!important;
    height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:4px!important;
  }
  /* Su mobile teniamo soltanto Preferiti + Menu nell'area azioni. */
  .sg-top-actions>.sg-top-icon{display:none!important}
  .sg-top-actions>.sg-top-icon:nth-child(2){
    display:grid!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin:0!important;
    padding:0!important;
    place-items:center!important;
  }
  .sg-top-actions>.sg-mobile-menu-trigger{
    display:grid!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin:0!important;
    padding:0!important;
    place-items:center!important;
    border-radius:50%!important;
  }
  body.sg-mobile-menu-open .sg-top-actions>.sg-mobile-menu-trigger{
    display:grid!important;
  }
}
@media(max-width:380px){
  .sg-topbar-inner{grid-template-columns:minmax(0,1fr) 38px auto!important;gap:6px!important}
  .sg-search-launch,
  .sg-top-actions>.sg-top-icon:nth-child(2),
  .sg-top-actions>.sg-mobile-menu-trigger{
    width:38px!important;height:38px!important;min-width:38px!important;
  }
  .sg-top-actions{height:38px!important;gap:2px!important}
}

/* SG.21.5 — lineups fallback: panchina verticale e leggibile */
.sg-bench>div{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin-top:7px!important}
.sg-bench a{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-height:32px;padding:5px 4px;border-top:1px solid var(--sg-line);color:var(--sg-text);text-decoration:none}
.sg-bench a:first-child{border-top:0}
.sg-bench a:hover{background:var(--sg-surface-2)}
.sg-bench a>b{font-size:8px;color:var(--sg-muted);text-align:center}
.sg-bench a>em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-style:normal;font-weight:700;color:var(--sg-text)}

/* SG.21.7 — match hero scorers/red cards, player faces on pitch, scalable competitions directory */
.sg-match-stage{align-items:start!important;padding-top:20px!important;padding-bottom:15px!important}
.sg-match-team-events{display:grid;gap:3px;margin-top:7px;max-width:190px;width:100%}
.sg-match-team-event{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;color:var(--sg-text);font-size:8px;line-height:1.2}
.sg-match-team-event>i{width:12px;height:12px;flex:0 0 12px;display:grid;place-items:center;font-size:10px;font-style:normal;line-height:1}
.sg-match-team-event.is-red>i{width:8px;height:11px;flex-basis:8px;border-radius:1px;background:#d9363e;font-size:0;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.sg-match-team-event>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:760}
.sg-match-team-event>b small{font-size:7px;color:var(--sg-muted);font-weight:700}
.sg-match-team-event>em{flex:0 0 auto;font-size:7px;font-style:normal;color:var(--sg-muted);font-weight:800}
.sg-match-team-events+small{margin-top:6px}

.sg-pitch-player>.sg-pitch-avatar{position:relative;width:30px!important;height:30px!important;border-radius:50%!important;border:2px solid #fff!important;background:var(--sg-accent)!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;overflow:visible!important;box-shadow:0 2px 5px rgba(0,0,0,.24)!important}
.sg-pitch-player>.sg-pitch-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;background:#e9edf1}
.sg-pitch-player>.sg-pitch-avatar>i{font-style:normal;font-size:8px;font-weight:850;color:#fff}
.sg-pitch-player>.sg-pitch-avatar>em{position:absolute;right:-4px;bottom:-3px;min-width:14px;height:14px;padding:0 3px;border-radius:7px;display:grid;place-items:center;background:#1d2530;color:#fff;border:1px solid rgba(255,255,255,.92);font-size:6px;font-style:normal;font-weight:850;line-height:1}
.sg-pitch-player>b{margin-top:4px!important}

.sg-competition-finder{padding:14px;margin-bottom:10px;overflow:visible!important}
.sg-competition-finder-search{height:46px;display:grid;grid-template-columns:20px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--sg-line);border-radius:11px;background:var(--sg-surface-2)}
.sg-competition-finder-search>.sg-svg{color:var(--sg-muted)}
.sg-competition-finder-search input{width:100%;height:100%;border:0!important;outline:0!important;background:transparent!important;color:var(--sg-text)!important;padding:0!important;font:inherit;font-size:12px!important;font-weight:650!important;box-shadow:none!important}
.sg-competition-finder-search input::placeholder{color:var(--sg-muted)}
.sg-competition-finder-search button{width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--sg-muted);font-size:19px;cursor:pointer;display:grid;place-items:center}
.sg-competition-finder-search button:hover{background:var(--sg-surface-3);color:var(--sg-text)}
.sg-competition-finder-filters{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:11px}
.sg-competition-type-filter{display:flex;gap:6px;overflow:auto;scrollbar-width:none}
.sg-competition-type-filter::-webkit-scrollbar{display:none}
.sg-competition-type-filter button{height:34px;padding:0 13px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface);color:var(--sg-muted);font-size:9px;font-weight:800;white-space:nowrap;cursor:pointer}
.sg-competition-type-filter button:hover{background:var(--sg-surface-2);color:var(--sg-text)}
.sg-competition-type-filter button.is-active{border-color:var(--sg-accent);background:var(--sg-accent);color:#fff}
.sg-competition-country-filter{display:grid;gap:4px;min-width:180px}
.sg-competition-country-filter>span{font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--sg-muted)}
.sg-competition-country-filter select{height:34px;border:1px solid var(--sg-line);border-radius:8px;background:var(--sg-surface);color:var(--sg-text);padding:0 28px 0 9px;font:inherit;font-size:9px;font-weight:400;outline:0}
.sg-competition-finder-meta{min-height:25px;margin-top:9px;display:flex;align-items:center;gap:6px;color:var(--sg-muted);font-size:8px}
.sg-competition-finder-meta strong{font-size:10px;color:var(--sg-text)}
.sg-competition-finder-meta i{margin-left:auto;width:12px;height:12px;border-radius:50%;border:2px solid var(--sg-line);border-top-color:var(--sg-accent);animation:sgSpin .7s linear infinite}
.sg-competition-search-results{overflow:hidden!important}
.sg-competition-search-row{min-height:70px;display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:10px 13px;border-bottom:1px solid var(--sg-line);color:var(--sg-text);transition:background .12s ease}
.sg-competition-search-row:last-child{border-bottom:0}
.sg-competition-search-row:hover{background:var(--sg-surface-2)}
.sg-competition-search-logo{width:44px;height:44px;border-radius:9px;background:var(--sg-surface-2);display:grid;place-items:center;overflow:hidden}
.sg-competition-search-logo img{max-width:38px;max-height:38px;width:auto;height:auto;object-fit:contain}
.sg-competition-search-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.sg-competition-search-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800}
.sg-competition-search-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:var(--sg-muted)}
.sg-competition-search-row>.sg-svg,.sg-competition-search-arrow{color:var(--sg-muted);font-size:21px;text-align:right}
.sg-competition-search-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--sg-muted)}
.sg-competition-search-empty strong{font-size:12px;color:var(--sg-text)}
.sg-competition-search-empty span{margin-top:5px;font-size:9px}
html[data-sg-theme="dark"] .sg-competition-finder-search,html[data-sg-theme="dark"] .sg-competition-search-logo{background:rgba(255,255,255,.04)}

@media(max-width:760px){
  .sg-match-stage{padding-top:16px!important}
  .sg-match-team-events{max-width:120px;gap:2px;margin-top:6px}
  .sg-match-team-event{gap:3px;font-size:7px}
  .sg-match-team-event>b{font-size:7px}.sg-match-team-event>em{font-size:6px}.sg-match-team-event>i{transform:scale(.9)}
  .sg-pitch-player>.sg-pitch-avatar{width:29px!important;height:29px!important}
  .sg-competition-finder{padding:10px}
  .sg-competition-finder-filters{align-items:stretch;flex-direction:column;gap:9px}
  .sg-competition-type-filter{width:100%}
  .sg-competition-country-filter{width:100%;min-width:0}
  .sg-competition-country-filter select{width:100%}
  .sg-competition-search-row{grid-template-columns:42px minmax(0,1fr) 18px;gap:9px;min-height:64px;padding:9px 10px}
  .sg-competition-search-logo{width:40px;height:40px}.sg-competition-search-logo img{max-width:34px;max-height:34px}
}

/* ========================================================================== 
   SG 2.1.69 — SINGLE ARTICLE: MEDIA FULL-BLEED + ENTITÀ A CAROSELLO
   Cover e immagini interne arrivano ai bordi orizzontali della card.
   Squadre, competizioni e giocatori restano su una sola riga scorrevole.
   ========================================================================== */
.sg-page-news .sg-article-main>.sg-article-card{
  padding:0;
  overflow:hidden;
}
.sg-page-news .sg-article-head{
  padding:20px 20px 14px;
}
.sg-page-news .sg-article-head .sg-article-meta{
  margin-bottom:0;
}
.sg-page-news .sg-article-entities{
  display:grid;
  gap:13px;
  margin:0;
  padding:0 20px 16px;
}
.sg-page-news .sg-article-entity-group{
  min-width:0;
}
.sg-page-news .sg-article-entity-label{
  margin:0 0 7px;
  color:var(--sg-muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.sg-page-news .sg-article-entity-track{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 3px 5px 0;
  scroll-snap-type:x proximity;
  scroll-padding-inline:0;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:var(--sg-line) transparent;
}
.sg-page-news .sg-article-entity-track::-webkit-scrollbar{height:5px}
.sg-page-news .sg-article-entity-track::-webkit-scrollbar-track{background:transparent}
.sg-page-news .sg-article-entity-track::-webkit-scrollbar-thumb{background:var(--sg-line);border-radius:999px}
.sg-page-news .sg-article-entity-chip,
.sg-page-news .sg-article-entities a.sg-article-entity-chip{
  flex:0 0 auto;
  min-width:0;
  max-width:250px;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px 6px 6px;
  border:1px solid var(--sg-border);
  border-radius:12px;
  background:var(--sg-soft);
  color:var(--sg-text);
  text-decoration:none;
  font-size:11px;
  font-weight:400;
  scroll-snap-align:start;
  white-space:nowrap;
}
.sg-page-news .sg-article-entity-chip:hover{
  border-color:color-mix(in srgb,var(--sg-accent) 42%,var(--sg-border));
  background:var(--sg-surface-2);
}
.sg-page-news .sg-article-entity-chip>strong,
.sg-page-news .sg-article-entity-chip>span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sg-page-news .sg-article-entity-chip>span:last-child strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sg-page-news .sg-article-entity-chip small{
  display:block;
  margin-top:2px;
  color:var(--sg-muted);
  font-size:9px;
  font-weight:650;
}
.sg-page-news .sg-article-entity-chip.is-team{min-width:132px}
.sg-page-news .sg-article-entity-chip.is-competition{min-width:150px}
.sg-page-news .sg-article-entity-chip.is-player{min-width:152px}
.sg-page-news .sg-article-entity-media{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:8px;
  background:var(--sg-surface);
  color:var(--sg-muted);
}
.sg-page-news .sg-article-entity-media.is-player{border-radius:50%}
.sg-page-news .sg-article-entity-media img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.sg-page-news .sg-article-entity-media.is-player img{
  object-fit:cover;
  object-position:center 18%;
}
.sg-page-news .sg-article-cover{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
  border:0;
  border-top:1px solid var(--sg-line);
  border-bottom:1px solid var(--sg-line);
  border-radius:0;
}
.sg-page-news .sg-article-body{
  padding:20px;
}
.sg-page-news .sg-article-body :is(figure,.wp-caption,.wp-block-image){
  max-width:none;
  margin:1.35em 0;
}
.sg-page-news .sg-article-body img{
  display:block;
  width:calc(100% + 40px);
  max-width:none;
  height:auto;
  margin:24px -20px;
  border-radius:0;
}
.sg-page-news .sg-article-body :is(figure,.wp-caption,.wp-block-image) img{
  margin-top:0;
  margin-bottom:0;
}
.sg-page-news .sg-article-body figcaption,
.sg-page-news .sg-article-body .wp-caption-text{
  margin:8px 0 0;
  color:var(--sg-muted);
  font-size:11px;
  line-height:1.45;
}

@media(max-width:720px){
  .sg-page-news .sg-article-main>.sg-article-card{padding:0}
  .sg-page-news .sg-article-head{padding:15px 15px 12px}
  .sg-page-news .sg-article-entities{padding:0 15px 13px;gap:11px}
  .sg-page-news .sg-article-entity-track{gap:7px;padding-bottom:4px}
  .sg-page-news .sg-article-entity-chip,
  .sg-page-news .sg-article-entities a.sg-article-entity-chip{max-width:205px;min-height:40px}
  .sg-page-news .sg-article-entity-chip.is-team{min-width:124px}
  .sg-page-news .sg-article-entity-chip.is-competition{min-width:142px}
  .sg-page-news .sg-article-entity-chip.is-player{min-width:146px}
  .sg-page-news .sg-article-body{padding:15px}
  .sg-page-news .sg-article-body img{width:calc(100% + 30px);margin:21px -15px}
}


/* ========================================================================== 
   SG 2.1.70 — SINGLE ARTICLE: UNICO CAROSELLO TAG
   Squadre, competizioni e giocatori convivono nella stessa riga, senza titoli.
   Le competizioni usano esclusivamente il logo reale della competizione.
   ========================================================================== */
.sg-page-news .sg-article-entities{
  display:block;
  padding:0 20px 16px;
}
.sg-page-news .sg-article-entity-group,
.sg-page-news .sg-article-entity-label{display:none!important}
.sg-page-news .sg-article-entity-track{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:7px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:1px 2px 6px 0;
  scroll-snap-type:x proximity;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.sg-page-news .sg-article-entity-chip,
.sg-page-news .sg-article-entities a.sg-article-entity-chip{
  min-width:0!important;
  max-width:220px;
  min-height:36px;
  gap:7px;
  padding:4px 10px 4px 5px;
  border-radius:10px;
  font-size:10.5px;
  line-height:1;
}
.sg-page-news .sg-article-entity-chip>strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.sg-page-news .sg-article-entity-media{
  width:26px;
  height:26px;
  flex:0 0 26px;
  border-radius:7px;
}
.sg-page-news .sg-article-entity-media.is-player{border-radius:50%}
.sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media{
  background:transparent;
}
.sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media img{
  object-fit:contain;
}
@media(max-width:760px){
  .sg-page-news .sg-article-entities{padding:0 14px 13px}
  .sg-page-news .sg-article-entity-chip,
  .sg-page-news .sg-article-entities a.sg-article-entity-chip{max-width:190px}
}

/* ========================================================================== 
   SG 2.1.71 — SINGLE ARTICLE: MODULAR STORY LAYOUT
   Cover fuori dalla scheda, card di lettura per H2/H3, tag unificati con follow.
   Tutti i colori dipendono dalle variabili SerieAGoal: tema giorno/notte nativo.
   ========================================================================== */
.sg-page-news .sg-article-story{min-width:0}
.sg-page-news .sg-article-hero-media{
  display:block;
  width:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  background:var(--sg-surface-2);
}
.sg-page-news .sg-article-hero-media .sg-article-cover{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
  border:0;
  border-radius:0;
}
@media(min-width:761px){
  .sg-page-news .sg-article-hero-media{
    width:calc(100% + 18px);
    margin-left:-18px;
  }
}

.sg-page-news .sg-article-main>.sg-article-story>.sg-article-card{
  margin:0;
  padding:0;
  border:0;
  background:var(--sg-surface);
  box-shadow:none;
  border-radius:0;
  overflow:hidden;
}
/* La prima card risale sulla cover come nel riferimento Goal: la cover resta più larga
   verso sinistra su desktop, quindi l'incastro lascia visibile quel piccolo sbalzo. */
.sg-page-news .sg-article-main>.sg-article-story>.sg-article-lead-card{
  position:relative;
  z-index:2;
  margin-top:-42px;
}
.sg-page-news .sg-article-main>.sg-article-story>.sg-article-section-card{margin-top:12px}
.sg-page-news .sg-article-main>.sg-article-story>.sg-article-section-card.is-h3{margin-top:9px}

.sg-page-news .sg-article-lead-card .sg-article-head{
  padding:28px 52px 25px;
}
.sg-page-news .sg-article-meta{
  margin:0;
  gap:7px 14px;
  color:var(--sg-muted);
  font-size:12px;
  line-height:1.35;
}
.sg-page-news .sg-article-meta strong{color:var(--sg-text)}
.sg-page-news .sg-article-author-link{color:inherit;text-decoration:none}
.sg-page-news .sg-article-author-link:hover{color:var(--sg-accent)}

/* Una sola riga: squadra, competizione e giocatore hanno lo stesso contenitore. */
.sg-page-news .sg-article-entities{
  display:block;
  margin:15px 0 23px;
  padding:0;
  min-width:0;
}
.sg-page-news .sg-article-entity-track{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:7px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:1px 0 5px;
  scroll-snap-type:x proximity;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.sg-page-news .sg-article-entity-track::-webkit-scrollbar{display:none}
.sg-page-news .sg-article-entity-chip,
.sg-page-news .sg-article-entities .sg-article-entity-chip{
  flex:0 0 auto;
  min-width:0!important;
  max-width:245px;
  min-height:40px;
  display:flex;
  align-items:stretch;
  gap:0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--sg-line);
  border-radius:999px;
  background:var(--sg-surface);
  color:var(--sg-text);
  scroll-snap-align:start;
  white-space:nowrap;
}
.sg-page-news .sg-article-entity-chip:hover{
  border-color:color-mix(in srgb,var(--sg-accent) 35%,var(--sg-line));
  background:var(--sg-surface-2);
}
.sg-page-news .sg-article-entities a.sg-article-entity-link{
  min-width:0;
  max-width:205px;
  min-height:38px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:4px 9px 4px 5px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--sg-text);
  text-decoration:none;
  font-size:11px;
  font-weight:400;
}
.sg-page-news .sg-article-entity-link>strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:400;
}
.sg-page-news .sg-article-entity-media{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:7px;
  background:var(--sg-surface-2);
  color:var(--sg-muted);
}
.sg-page-news .sg-article-entity-media.is-player{border-radius:50%}
.sg-page-news .sg-article-entity-media img{
  width:100%;
  height:100%;
  max-width:none;
  margin:0;
  object-fit:contain;
}
.sg-page-news .sg-article-entity-media.is-player img{object-fit:cover;object-position:center 18%}
.sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media{background:transparent}
.sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media img{object-fit:contain}
.sg-page-news .sg-article-tag-follow{
  width:38px;
  flex:0 0 38px;
  min-height:38px;
  margin:0;
  padding:0;
  border:0;
  border-left:1px solid var(--sg-line);
  border-radius:0;
  background:transparent;
  color:var(--sg-muted);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .14s ease,color .14s ease;
}
.sg-page-news .sg-article-tag-follow:hover{background:var(--sg-accent-soft);color:var(--sg-accent)}
.sg-page-news .sg-article-tag-follow.is-following{background:var(--sg-accent-soft);color:var(--sg-accent)}
.sg-page-news .sg-article-tag-follow.is-following .sg-svg{fill:currentColor}
.sg-page-news .sg-article-tag-follow.is-loading{opacity:.55;pointer-events:none}

.sg-page-news .sg-article-card h1{
  margin:0;
  max-width:790px;
  color:var(--sg-text);
  font-size:clamp(32px,3.15vw,43px);
  line-height:1.08;
  letter-spacing:-1.15px;
  font-weight:850;
}
.sg-page-news .sg-article-subtitle{
  max-width:760px;
  margin:18px 0 0;
  color:var(--sg-text);
  font-size:18px;
  line-height:1.5;
  font-weight:520;
}

.sg-page-news .sg-article-section-body{
  padding:34px 52px 38px;
  color:var(--sg-text);
  font-size:18px;
  line-height:1.68;
}
.sg-page-news .sg-article-lead-card .sg-article-section-body.is-intro{
  padding-top:0;
}
.sg-page-news .sg-article-section-body p{margin:0 0 1.35em}
.sg-page-news .sg-article-section-body p:last-child{margin-bottom:0}
.sg-page-news .sg-article-section-body>h2:first-child,
.sg-page-news .sg-article-section-body>h3:first-child{
  margin-top:0;
}
.sg-page-news .sg-article-section-body>h2:first-child{
  margin-bottom:24px;
  color:var(--sg-text);
  font-size:31px;
  line-height:1.12;
  letter-spacing:-.7px;
  font-weight:850;
}
.sg-page-news .sg-article-section-body>h3:first-child{
  margin-bottom:20px;
  color:var(--sg-text);
  font-size:25px;
  line-height:1.16;
  letter-spacing:-.45px;
  font-weight:830;
}
.sg-page-news .sg-article-section-body h2:not(:first-child),
.sg-page-news .sg-article-section-body h3:not(:first-child){color:var(--sg-text)}
.sg-page-news .sg-article-section-body a{color:var(--sg-accent)}
.sg-page-news .sg-article-section-body blockquote{
  margin:1.45em 0;
  padding:14px 18px;
  border-left:3px solid var(--sg-accent);
  border-radius:0 9px 9px 0;
  background:var(--sg-surface-2);
  color:var(--sg-text);
}

/* Reset media generici: non allarghiamo avatar, loghi o immagini dentro embed. */
.sg-page-news .sg-article-section-body img{
  width:auto;
  max-width:100%;
  height:auto;
  margin:0;
  border-radius:0;
}
.sg-page-news .sg-article-section-body>img,
.sg-page-news .sg-article-section-body>figure.wp-block-image,
.sg-page-news .sg-article-section-body>.wp-block-image,
.sg-page-news .sg-article-section-body>.wp-caption{
  width:calc(100% + 104px);
  max-width:none;
  margin:28px -52px;
}
.sg-page-news .sg-article-section-body>figure.wp-block-image img,
.sg-page-news .sg-article-section-body>.wp-block-image img,
.sg-page-news .sg-article-section-body>.wp-caption img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:0;
}
.sg-page-news .sg-article-section-body>figure.wp-block-image figcaption,
.sg-page-news .sg-article-section-body>.wp-block-image figcaption,
.sg-page-news .sg-article-section-body>.wp-caption .wp-caption-text{
  margin:0;
  padding:8px 52px 0;
  color:var(--sg-muted);
  font-size:11px;
  line-height:1.45;
}
.sg-page-news .sg-article-section-body .twitter-tweet{margin-left:auto!important;margin-right:auto!important}

/* SG 2.1.73 — AdSense come modulo autonomo TRA le schede, mai dentro il testo. */
.sg-page-news .sg-article-ad-break{
  box-sizing:border-box;
  width:100%;
  min-height:300px;
  margin:12px 0;
  padding:22px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:var(--sg-surface-2);
  color:var(--sg-muted);
}
.sg-page-news .sg-article-ad-break>.slr-google-ad{
  width:100%;
  max-width:100%;
  margin:0!important;
}
.sg-page-news .sg-article-ad-break .slr-google-ad-label{
  display:block;
  margin:0 0 12px;
  color:var(--sg-muted);
  font-size:11px;
  font-weight:400;
  line-height:1.2;
  text-align:center;
}
.sg-page-news .sg-article-ad-break .slr-google-ad-stage{min-height:180px}

/* Le schede vivono naturalmente anche nel tema notte tramite --sg-surface/--sg-bg. */
html[data-sg-theme="dark"] .sg-page-news .sg-article-entity-chip{
  background:var(--sg-surface-2);
  border-color:var(--sg-line);
}
html[data-sg-theme="dark"] .sg-page-news .sg-article-entity-chip:hover{background:var(--sg-surface-3)}

@media(max-width:760px){
  .sg-page-news .sg-article-hero-media{
    width:100%;
    margin:0;
    border-radius:0;
  }
  .sg-page-news .sg-article-main>.sg-article-story>.sg-article-card{border-radius:0}
  .sg-page-news .sg-article-main>.sg-article-story>.sg-article-lead-card{margin-top:0}
  .sg-page-news .sg-article-main>.sg-article-story>.sg-article-section-card{margin-top:9px}
  .sg-page-news .sg-article-main>.sg-article-story>.sg-article-section-card.is-h3{margin-top:7px}
  .sg-page-news .sg-article-lead-card .sg-article-head{padding:18px 16px 20px}
  .sg-page-news .sg-article-meta{font-size:10.5px;gap:5px 10px}
  .sg-page-news .sg-article-entities{margin:12px 0 18px;padding:0}
  .sg-page-news .sg-article-entity-track{gap:6px;padding-bottom:4px}
  .sg-page-news .sg-article-entity-chip,
  .sg-page-news .sg-article-entities .sg-article-entity-chip{max-width:220px;min-height:38px}
  .sg-page-news .sg-article-entities a.sg-article-entity-link{max-width:182px;min-height:36px;font-size:10.5px;padding-right:8px}
  .sg-page-news .sg-article-tag-follow{width:36px;flex-basis:36px;min-height:36px}
  .sg-page-news .sg-article-entity-media{width:26px;height:26px;flex-basis:26px}
  .sg-page-news .sg-article-card h1{font-size:29px;line-height:1.08;letter-spacing:-.75px}
  .sg-page-news .sg-article-subtitle{margin-top:13px;font-size:16px;line-height:1.46}
  .sg-page-news .sg-article-section-body{padding:23px 16px 26px;font-size:16.5px;line-height:1.66}
  .sg-page-news .sg-article-lead-card .sg-article-section-body.is-intro{padding-top:0}
  .sg-page-news .sg-article-section-body>h2:first-child{font-size:25px;margin-bottom:18px}
  .sg-page-news .sg-article-section-body>h3:first-child{font-size:21px;margin-bottom:16px}
  .sg-page-news .sg-article-section-body>img,
  .sg-page-news .sg-article-section-body>figure.wp-block-image,
  .sg-page-news .sg-article-section-body>.wp-block-image,
  .sg-page-news .sg-article-section-body>.wp-caption{
    width:calc(100% + 32px);
    margin:22px -16px;
  }
  .sg-page-news .sg-article-section-body>figure.wp-block-image figcaption,
  .sg-page-news .sg-article-section-body>.wp-block-image figcaption,
  .sg-page-news .sg-article-section-body>.wp-caption .wp-caption-text{padding:7px 16px 0}
  .sg-page-news .sg-article-ad-break{min-height:250px;margin:9px 0;padding:18px 10px}
  .sg-page-news .sg-article-ad-break .slr-google-ad-stage{min-height:150px}
}

/* =========================================================
   SerieAGoal 2.1.74 — article entity chips: logo safe-area
   Team and competition crests always fit entirely inside the chip.
   Player portraits keep their existing crop/size.
   ========================================================= */
.sg-page-news .sg-article-entity-chip,
.sg-page-news .sg-article-entities .sg-article-entity-chip{
  min-height:38px;
}
.sg-page-news .sg-article-entities a.sg-article-entity-link{
  min-height:36px;
  padding:4px 8px 4px 5px;
  gap:6px;
}
.sg-page-news .sg-article-entity-chip.is-team .sg-article-entity-media,
.sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media{
  width:26px;
  height:26px;
  flex-basis:26px;
  padding:2px;
  box-sizing:border-box;
}
.sg-page-news .sg-article-entity-chip.is-team .sg-article-entity-media img,
.sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}
.sg-page-news .sg-article-tag-follow{
  width:36px;
  flex-basis:36px;
  min-height:36px;
}

@media (max-width:700px){
  .sg-page-news .sg-article-entity-chip,
  .sg-page-news .sg-article-entities .sg-article-entity-chip{min-height:36px}
  .sg-page-news .sg-article-entities a.sg-article-entity-link{min-height:34px}
  .sg-page-news .sg-article-entity-chip.is-team .sg-article-entity-media,
  .sg-page-news .sg-article-entity-chip.is-competition .sg-article-entity-media{
    width:24px;
    height:24px;
    flex-basis:24px;
    padding:2px;
  }
  .sg-page-news .sg-article-tag-follow{
    width:34px;
    flex-basis:34px;
    min-height:34px;
  }
}

/* =========================================================
   SerieAGoal 2.1.75 — unified entity order
   Partite → Squadre → Giocatori → Competizioni.
   Fixture chip uses both club crests inside the same safe area.
   ========================================================= */
.sg-page-news .sg-article-entity-chip.is-fixture .sg-article-entity-media{
  width:34px;
  height:26px;
  flex:0 0 34px;
  padding:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  overflow:visible;
  background:transparent;
  box-sizing:border-box;
}
.sg-page-news .sg-article-entity-chip.is-fixture .sg-article-entity-media img{
  width:14px;
  height:22px;
  max-width:14px;
  max-height:22px;
  object-fit:contain;
  object-position:center;
  flex:0 0 14px;
}
@media (max-width:700px){
  .sg-page-news .sg-article-entity-chip.is-fixture .sg-article-entity-media{
    width:32px;
    height:24px;
    flex-basis:32px;
  }
  .sg-page-news .sg-article-entity-chip.is-fixture .sg-article-entity-media img{
    width:13px;
    height:20px;
    max-width:13px;
    max-height:20px;
    flex-basis:13px;
  }
}


/* ==========================================================================
   SerieAGoal 2.1.76 — square editorial story cards
   Le sole schede di lettura del single news non hanno angoli arrotondati.
   Chip/tag, media ed altri componenti restano invariati.
   ========================================================================== */
.sg-page-news .sg-article-main>.sg-article-story>.sg-article-card{border-radius:0!important}

/* SG.21.84 — Article Prediction / Slip widgets. Theme-aware by design. */
.sg-article-prediction-widget,.sg-article-slip-widget{display:grid;gap:12px;margin:22px 0;padding:16px;border:1px solid var(--sg-line);background:var(--sg-surface-2);color:var(--sg-text);box-shadow:none}.sg-article-prediction-widget{border-left:3px solid var(--sg-accent)}.sg-article-prediction-widget.is-won,.sg-article-slip-widget.is-won{border-left-color:#18a558}.sg-article-prediction-widget.is-lost,.sg-article-slip-widget.is-lost{border-left-color:#d33b47}.sg-pred-widget-top,.sg-slip-widget-head,.sg-slip-widget-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.sg-pred-widget-brand,.sg-slip-widget-head>div>span{font-size:10.5px;line-height:1.2;letter-spacing:.055em;text-transform:uppercase;color:var(--sg-muted);font-weight:800}.sg-pred-widget-state{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:var(--sg-muted)}.sg-article-prediction-widget.is-won .sg-pred-widget-state,.sg-article-slip-widget.is-won .sg-pred-widget-state{color:#16834a}.sg-article-prediction-widget.is-lost .sg-pred-widget-state,.sg-article-slip-widget.is-lost .sg-pred-widget-state{color:#c5303d}.sg-pred-widget-match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;color:var(--sg-text)!important;text-decoration:none!important}.sg-pred-widget-team{display:flex;align-items:center;gap:8px;min-width:0}.sg-pred-widget-team.is-away{justify-content:flex-end;text-align:right}.sg-pred-widget-team strong{font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg-pred-widget-logo{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:4px;border:1px solid var(--sg-line);background:var(--sg-surface);border-radius:50%}.sg-pred-widget-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;border-radius:0!important}.sg-pred-widget-vs{color:var(--sg-muted);font-weight:700}.sg-pred-widget-meta{display:flex;gap:6px 12px;flex-wrap:wrap;color:var(--sg-muted);font-size:11px}.sg-pred-widget-pick{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;padding-top:11px;border-top:1px solid var(--sg-line)}.sg-pred-widget-pick strong{font-size:18px;line-height:1.1;color:var(--sg-text)}.sg-pred-widget-pick>span{font-size:11px;color:var(--sg-muted)}.sg-pred-widget-confidence{letter-spacing:.04em;color:var(--sg-accent)!important}.sg-article-prediction-widget>p{margin:0!important;color:var(--sg-muted);font-size:13px;line-height:1.5}.sg-pred-widget-draft{display:inline-flex;width:max-content;padding:4px 7px;border:1px dashed var(--sg-line);color:var(--sg-muted);font-size:10px;font-weight:800}.sg-slip-widget-head>div{display:grid;gap:3px}.sg-slip-widget-head strong{font-size:18px}.sg-slip-widget-summary{margin:0!important;color:var(--sg-muted);font-size:13px}.sg-slip-widget-items{display:grid;border-top:1px solid var(--sg-line)}.sg-slip-widget-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--sg-line);color:var(--sg-text)!important;text-decoration:none!important}.sg-slip-widget-item>span{display:grid;gap:2px;min-width:0}.sg-slip-widget-item strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg-slip-widget-item small{color:var(--sg-muted);font-size:11px}.sg-slip-widget-item em{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:var(--sg-soft);color:var(--sg-muted);font-style:normal;font-size:12px;font-weight:900}.sg-slip-widget-item em.is-won{background:rgba(24,165,88,.12);color:#16834a}.sg-slip-widget-item em.is-lost{background:rgba(211,59,71,.12);color:#c5303d}.sg-slip-widget-foot{font-size:11px;color:var(--sg-muted)}.sg-slip-widget-foot strong{font-size:12px;color:var(--sg-text)}
.sg-article-prediction-summary{display:grid;gap:12px;margin:10px 0 0;padding:18px 0 10px;border:1px solid var(--sg-line);border-radius:0;background:var(--sg-surface);color:var(--sg-text)}.sg-article-prediction-summary-head{display:grid;gap:3px;padding:0 20px}.sg-article-prediction-summary-head>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--sg-muted);font-weight:800}.sg-article-prediction-summary-head h2{margin:0;font-size:20px;line-height:1.15}.sg-article-prediction-summary-track{display:flex;gap:10px;overflow-x:auto;padding:0 20px 8px;scroll-snap-type:x proximity;scrollbar-width:none}.sg-article-prediction-summary-track::-webkit-scrollbar{display:none}.sg-article-prediction-summary-item{flex:0 0 min(360px,86vw);scroll-snap-align:start}.sg-article-prediction-widget.is-compact{height:100%;margin:0;padding:13px;gap:9px}.sg-article-prediction-widget.is-compact .sg-pred-widget-pick strong{font-size:15px}.sg-article-prediction-widget.is-compact .sg-pred-widget-logo{width:28px;height:28px;flex-basis:28px}.sg-article-prediction-widget.is-compact .sg-pred-widget-team strong{font-size:12px}.sg-article-prediction-widget.is-compact .sg-pred-widget-meta{font-size:10px}
@media(max-width:720px){.sg-article-prediction-widget,.sg-article-slip-widget{margin:18px 0;padding:13px}.sg-pred-widget-match{gap:6px}.sg-pred-widget-logo{width:30px;height:30px;flex-basis:30px}.sg-pred-widget-team strong{font-size:12.5px}.sg-pred-widget-pick strong{font-size:16px}.sg-article-prediction-summary-head,.sg-article-prediction-summary-track{padding-left:15px;padding-right:15px}.sg-article-prediction-summary-item{flex-basis:88vw}}


/* SG.22.16 — dark theme coherence + paint containment.
   --sg-card/--sg-border/--sg-soft are aliases used by newer modules: without
   them their light fallbacks leaked into dark mode as white cards/dividers. */
html[data-sg-theme="dark"] :is(
  .sg-card,
  .sg-editorial-card,
  .sg-news-index-card,
  .sg-network-home-card,
  .sg-network-home-v2,
  .sg-news-league-section,
  .sg-news-all-section,
  .sg-editorial-pagination,
  .sg-profile-tabs,
  .sg-contextbar
){border-color:var(--sg-line)!important}
html[data-sg-theme="dark"] :is(
  .sg-network-home-v2,
  .sg-network-home-card,
  .sg-editorial-card,
  .sg-news-index-card
){background:var(--sg-surface)!important;color:var(--sg-text)!important}
html[data-sg-theme="dark"] :is(
  .sg-network-home-head,
  .sg-network-home-grid .sg-editorial-card,
  .sg-editorial-pagination,
  .sg-card-title,
  .sg-news-all-head,
  .sg-news-league-head
){border-color:var(--sg-line)!important}
html[data-sg-theme="dark"] .sg-network-mark{background:#272b34!important;color:#f5f6f8!important}
html[data-sg-theme="dark"] .sg-network-home-card:hover{box-shadow:none!important;background:var(--sg-surface-2)!important}

/* Below-the-fold editorial hubs do not need to be painted during first render. */
@supports (content-visibility:auto){
  .sg-page-news .sg-news-league-blocks .sg-news-league-section,
  .sg-page-news .sg-news-all-section{
    content-visibility:auto;
    contain-intrinsic-size:auto 720px;
  }
}

/* === seriesagoal-brand-live-v1.css === */
/* SG.21.15 — brand originale serieagoal.it, layer isolato */
.sg-topbar .sg-brand.sg-brand-live{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:0!important;
  max-width:138px!important;
  height:42px!important;
  padding:0!important;
  gap:0!important;
  overflow:visible!important;
}
.sg-topbar .sg-brand-live-logo{
  display:block!important;
  width:auto!important;
  height:40px!important;
  max-width:138px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
@media(max-width:760px){
  .sg-topbar .sg-brand.sg-brand-live{max-width:112px!important;height:36px!important}
  .sg-topbar .sg-brand-live-logo{height:34px!important;max-width:112px!important}
}

/* SG.21.16 — dark theme: competition logos keep a white tile.
   Scoped to competition directory and competition results in global search. */
html[data-sg-theme="dark"] .sg-competition-search-logo,
html[data-sg-theme="dark"] .sg-search2-row[data-kind="competition"] .sg-search2-media {
  background:#fff!important;
  border:1px solid rgba(255,255,255,.12)!important;
}

/* Also cover the full search page when a league logo comes from API-Football. */
@supports selector(:has(*)) {
  html[data-sg-theme="dark"] .sg-search-logo:has(img[src*="/leagues/"]) {
    background:#fff!important;
    border:1px solid rgba(255,255,255,.12)!important;
  }
}

/* === seriesagoal-header-nav-v2.css === */
/* SG.21.17 — desktop sportbar pills, isolated layer.
   SofaScore-like interaction: every item gets the same rounded hit-area;
   only the current section is solid white, hover is translucent. */
@media (min-width:761px){
  .sg-sportbar-main,
  .sg-sportbar-tools{
    align-items:center!important;
  }

  .sg-sportbar-main>a,
  .sg-sportbar-tools>a{
    height:34px!important;
    margin:7px 2px!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:rgba(255,255,255,.84)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    transition:background-color .16s ease,color .16s ease,transform .16s ease!important;
  }

  /* Remove the old special-case that permanently drew a pill around Calcio. */
  .sg-sportbar-main>a:first-child{
    height:34px!important;
    margin:7px 2px!important;
    padding:0 14px!important;
    background:transparent!important;
    color:rgba(255,255,255,.84)!important;
  }

  .sg-sportbar-main>a:hover,
  .sg-sportbar-main>a:focus-visible,
  .sg-sportbar-tools>a:hover,
  .sg-sportbar-tools>a:focus-visible{
    background:rgba(255,255,255,.14)!important;
    color:#fff!important;
    outline:none!important;
  }

  .sg-sportbar-main>a.is-active,
  .sg-sportbar-main>a.is-active:hover,
  .sg-sportbar-main>a.is-active:focus-visible,
  .sg-sportbar-tools>a.is-active,
  .sg-sportbar-tools>a.is-active:hover,
  .sg-sportbar-tools>a.is-active:focus-visible{
    background:#fff!important;
    color:#17191f!important;
  }

  .sg-sportbar-main>a b{
    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.13);
    color:inherit;
    font-size:9px;
    line-height:1;
  }
  .sg-sportbar-main>a.is-active b{background:rgba(23,25,31,.08)}
}


/* SG.21.27 — mobile editorial navigation. */
@media (max-width:760px){
  /* Keep the secondary header truly scrollable: News and Pronostici must not
     disappear behind the legacy nth-child mobile cut-off. */
  .sg-sportbar-main{display:flex!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important}
  .sg-sportbar-main::-webkit-scrollbar{display:none!important}
  .sg-sportbar-main>a{display:flex!important;flex:0 0 auto!important;min-height:34px!important;padding-inline:13px!important}
  .sg-sportbar-main>a:nth-child(n+5){display:flex!important}
  .sg-sportbar-main>a.is-active{background:rgba(255,255,255,.16)!important;color:#fff!important;border-radius:999px!important;border-bottom-color:transparent!important}

  .sg-mobile-sections{padding-top:18px!important}
  .sg-mobile-section-links{display:flex;flex-direction:column}
  .sg-mobile-section-links>a{min-height:54px;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:0 4px;color:var(--sg-text);text-decoration:none;border-radius:10px}
  .sg-mobile-section-links>a:hover,.sg-mobile-section-links>a:active{background:var(--sg-surface-2)}
  .sg-mobile-section-links>a.is-active{color:var(--sg-accent);background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-surface))}
  .sg-mobile-section-links>a strong{font-size:15px;font-weight:650;letter-spacing:-.08px}
  .sg-mobile-section-links>a>.sg-svg{justify-self:end;color:var(--sg-muted)}
  .sg-mobile-section-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--sg-line);border-radius:10px;background:var(--sg-surface)}
  .sg-mobile-section-links>a.is-active .sg-mobile-section-icon{border-color:color-mix(in srgb,var(--sg-accent) 28%,var(--sg-line));color:var(--sg-accent)}
}

/* === seriesagoal-live-goal-v236.css === */
/* SG.21.36 — clean LIVE Goal Pulse.
   No oval/pill/row background: only red blinking dot -> GOAL -> score update. */
.sg-page-home .sg-match-teams>div{position:relative}
.sg-page-home .sg-match-row.sg-goal-row,
.sg-page-home .sg-match-row.sg-goal-confirmed{background:transparent!important}
.sg-page-home .sg-match-teams>div.sg-goal-target span{padding-right:45px}
.sg-page-home .sg-goal-signal{position:absolute;right:30px;top:50%;transform:translateY(-50%);z-index:3;pointer-events:none;background:transparent!important;border:0!important;box-shadow:none!important}
.sg-page-home .sg-goal-signal.is-pending{width:8px;height:8px;border-radius:50%;background:var(--sg-live)!important;box-shadow:none!important;animation:sgGoalDotBlink .72s ease-in-out infinite}
.sg-page-home .sg-goal-signal.is-goal{right:29px;width:auto;height:auto;border-radius:0;background:transparent!important;color:var(--sg-live);font-size:9px;font-weight:950;letter-spacing:.055em;line-height:1;text-shadow:none!important;animation:sgGoalPopClean .24s ease-out both}
.sg-page-home .sg-match-row.sg-goal-confirmed .sg-goal-target b{color:var(--sg-live)!important;transform:scale(1.12);transform-origin:center;transition:transform .18s ease}

[data-sg-live-fixture] .sg-match-team{position:relative;transition:none}
[data-sg-live-fixture] .sg-match-team.sg-goal-target{background:transparent!important;box-shadow:none!important}
[data-sg-live-fixture] .sg-hero-goal-signal{position:absolute;top:9px;right:10px;z-index:4;pointer-events:none;background:transparent!important;border:0!important;box-shadow:none!important}
[data-sg-live-fixture] .sg-hero-goal-signal.is-pending{width:9px;height:9px;border-radius:50%;background:var(--sg-live)!important;box-shadow:none!important;animation:sgHeroGoalDotBlink .72s ease-in-out infinite}
[data-sg-live-fixture] .sg-hero-goal-signal.is-goal{width:auto;height:auto;border-radius:0;background:transparent!important;color:var(--sg-live);font-size:10px;font-weight:950;letter-spacing:.06em;text-shadow:none!important;animation:sgHeroGoalPopClean .24s ease-out both}
[data-sg-live-fixture].sg-live-goal-confirmed .sg-match-score-center .sg-score-big{color:var(--sg-live);animation:sgScorePopClean .34s ease-out both}

@keyframes sgGoalDotBlink{
  0%,100%{opacity:.35;transform:translateY(-50%) scale(.82)}
  50%{opacity:1;transform:translateY(-50%) scale(1.18)}
}
@keyframes sgHeroGoalDotBlink{
  0%,100%{opacity:.35;transform:scale(.82)}
  50%{opacity:1;transform:scale(1.18)}
}
@keyframes sgGoalPopClean{0%{opacity:0;transform:translateY(-50%) scale(.82)}100%{opacity:1;transform:translateY(-50%) scale(1)}}
@keyframes sgHeroGoalPopClean{0%{opacity:0;transform:scale(.82)}100%{opacity:1;transform:scale(1)}}
@keyframes sgScorePopClean{0%{transform:scale(.94)}55%{transform:scale(1.08)}100%{transform:scale(1)}}

@media(max-width:760px){
 .sg-page-home .sg-goal-signal{right:27px}
 .sg-page-home .sg-goal-signal.is-goal{right:26px;font-size:8px}
 .sg-page-home .sg-match-teams>div.sg-goal-target span{padding-right:40px}
 [data-sg-live-fixture] .sg-hero-goal-signal{top:6px;right:6px}
}
@media(prefers-reduced-motion:reduce){
 .sg-goal-signal,.sg-hero-goal-signal,[data-sg-live-fixture].sg-live-goal-confirmed .sg-match-score-center .sg-score-big{animation:none!important}
 .sg-page-home .sg-goal-signal.is-pending,[data-sg-live-fixture] .sg-hero-goal-signal.is-pending{opacity:1!important}
}

/* === seriesagoal-match-favorites-v235.css === */
/* SG.21.35 — match stars everywhere + live-style fixtures on /preferiti/. */
.sg-match-row-wrap{position:relative;border-bottom:1px solid var(--sg-line);background:var(--sg-surface);transition:background .14s ease}
.sg-match-row-wrap:last-child{border-bottom:0}
.sg-match-row-wrap:hover{background:var(--sg-surface-2)}
.sg-match-row-wrap>.sg-match-row{border-bottom:0!important;padding-left:42px!important;background:transparent!important;width:100%}
.sg-match-favorite{position:absolute;z-index:5;left:9px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;background:transparent;color:var(--sg-muted);display:grid;place-items:center;border-radius:50%;cursor:pointer;transition:color .15s ease,background .15s ease,transform .15s ease}
.sg-match-favorite:hover{color:var(--sg-accent);background:var(--sg-accent-soft)}
.sg-match-favorite.is-following{color:var(--sg-accent)}
.sg-match-favorite.is-following .sg-svg{fill:currentColor}
.sg-match-favorite.is-loading{opacity:.55;pointer-events:none}
.sg-match-favorite:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}

.sg-page-preferiti .sg-favorites-summary>button{appearance:none;text-align:left;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:10px;padding:12px 14px;color:var(--sg-text);cursor:pointer}
.sg-page-preferiti .sg-favorites-summary>button:hover{border-color:var(--sg-accent)}
.sg-page-preferiti .sg-favorites-tools{padding:10px 11px;margin-bottom:12px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.sg-page-preferiti .sg-favorites-filter-row{display:flex;gap:5px;align-items:center;overflow:auto;scrollbar-width:none}
.sg-page-preferiti .sg-favorites-filter-row::-webkit-scrollbar{display:none}
.sg-page-preferiti .sg-favorites-filter-row button{height:32px;padding:0 10px;border-radius:999px;border:1px solid var(--sg-line);background:var(--sg-surface-2);color:var(--sg-muted);display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:9px;font-weight:850;cursor:pointer}
.sg-page-preferiti .sg-favorites-filter-row button small{font-size:8px}
.sg-page-preferiti .sg-favorites-filter-row button.is-active{background:var(--sg-accent);border-color:var(--sg-accent);color:#fff}
.sg-page-preferiti .sg-favorites-search{width:min(260px,40%);height:36px;border:1px solid var(--sg-line);border-radius:9px;background:var(--sg-surface-2);display:flex;align-items:center;gap:7px;padding:0 10px;color:var(--sg-muted)}
.sg-page-preferiti .sg-favorites-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--sg-text);font-size:10px}
.sg-page-preferiti .sg-favorites-no-results{padding:22px;text-align:center;color:var(--sg-muted);font-size:10px}
.sg-page-preferiti .sg-favorites-global-warning{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid rgba(220,155,43,.28);background:rgba(220,155,43,.08);border-radius:10px;margin-bottom:12px}
.sg-page-preferiti .sg-favorites-global-warning>span{width:34px;height:34px;border-radius:9px;background:rgba(220,155,43,.12);display:grid;place-items:center;color:#c88717}
.sg-page-preferiti .sg-favorites-global-warning strong{display:block;font-size:10px}.sg-page-preferiti .sg-favorites-global-warning small{display:block;margin-top:2px;color:var(--sg-muted);font-size:9px;line-height:1.4}.sg-page-preferiti .sg-favorites-global-warning>a{font-size:9px;font-weight:850;color:var(--sg-accent)}
.sg-page-preferiti .sg-favorite-item[hidden],.sg-page-preferiti [data-sg-fav-section][hidden],.sg-page-preferiti .sg-match-row-wrap[hidden]{display:none!important}

.sg-favorites-live-section{margin:2px 0 14px}
.sg-favorites-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:4px 2px 10px}
.sg-favorites-section-heading h2{margin:3px 0 0;font-size:19px;line-height:1.15}.sg-favorites-section-heading>small{font-size:9px;color:var(--sg-muted);font-weight:800}
.sg-favorites-score-flow>.sg-league-card{margin-bottom:10px;overflow:hidden}
.sg-page-preferiti .sg-favorites-score-flow .sg-match-row-wrap.is-live{background:color-mix(in srgb,var(--sg-live) 4%,var(--sg-surface))}
.sg-favorites-empty-inline{padding:20px;display:grid;gap:4px}.sg-favorites-empty-inline span{color:var(--sg-muted);font-size:10px}

/* The same provider-confirmed GOAL pulse used on Home also works in favorites. */
.sg-page-preferiti .sg-match-teams>div{position:relative}
.sg-page-preferiti .sg-match-row.sg-goal-row{background:color-mix(in srgb,var(--sg-live) 9%,var(--sg-surface))!important}
.sg-page-preferiti .sg-match-row.sg-goal-confirmed{background:color-mix(in srgb,var(--sg-live) 15%,var(--sg-surface))!important}
.sg-page-preferiti .sg-match-teams>div.sg-goal-target span{padding-right:45px}
.sg-page-preferiti .sg-goal-signal{position:absolute;right:30px;top:50%;transform:translateY(-50%);z-index:3;pointer-events:none}
.sg-page-preferiti .sg-goal-signal.is-pending{width:8px;height:8px;border-radius:50%;background:var(--sg-live);box-shadow:0 0 0 0 color-mix(in srgb,var(--sg-live) 34%,transparent);animation:sgGoalPulse .72s ease-out infinite}
.sg-page-preferiti .sg-goal-signal.is-goal{right:29px;color:var(--sg-live);font-size:9px;font-weight:950;letter-spacing:.055em;line-height:1;animation:sgGoalPop .24s ease-out both}
.sg-page-preferiti .sg-match-row.sg-goal-confirmed .sg-goal-target b{color:var(--sg-live)!important;transform:scale(1.12)}

@media(max-width:720px){
 .sg-match-row-wrap>.sg-match-row{padding-left:35px!important}
 .sg-match-favorite{left:4px;width:27px;height:27px}
 .sg-page-preferiti .sg-favorites-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sg-page-preferiti .sg-favorites-tools{align-items:stretch;flex-direction:column}
 .sg-page-preferiti .sg-favorites-search{width:100%}
 .sg-page-preferiti .sg-favorites-global-warning{grid-template-columns:34px minmax(0,1fr)}
 .sg-page-preferiti .sg-favorites-global-warning>a{grid-column:2}
 .sg-favorites-section-heading h2{font-size:17px}
 .sg-page-preferiti .sg-goal-signal{right:27px}.sg-page-preferiti .sg-goal-signal.is-goal{right:26px;font-size:8px}
}

/* === seriesagoal-live-goal-v249.css === */
/* SG.21.49 — Goal Pulse finale.
   SOLO pallino rosso circolare per 2s -> GOAL per 10s -> reset.
   Nessun ovale, pill, alone o background sulla riga/squadra/status. */
.sg-match-row.sg-goal-row,
.sg-match-row.sg-goal-confirmed,
.sg-page-home .sg-match-row.sg-goal-row,
.sg-page-home .sg-match-row.sg-goal-confirmed,
.sg-page-preferiti .sg-match-row.sg-goal-row,
.sg-page-preferiti .sg-match-row.sg-goal-confirmed{
  background:transparent!important;
  box-shadow:none!important;
}
.sg-match-row.sg-goal-row .sg-match-status,
.sg-match-row.sg-goal-confirmed .sg-match-status,
.sg-page-preferiti .sg-favorites-score-flow .sg-match-row-wrap.is-live{
  box-shadow:none!important;
}
.sg-match-row.sg-goal-row .sg-match-status,
.sg-match-row.sg-goal-confirmed .sg-match-status{
  background:transparent!important;
  border-radius:0!important;
}

.sg-match-teams>div{position:relative}
.sg-match-teams>div.sg-goal-target,
[data-sg-live-fixture] .sg-match-team.sg-goal-target{
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
.sg-match-teams>div.sg-goal-target span{padding-right:48px}

/* Home + Preferiti */
.sg-goal-signal{
  position:absolute!important;
  right:30px!important;
  top:50%!important;
  transform:translateY(-50%);
  z-index:5;
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  pointer-events:none;
  box-sizing:border-box!important;
  white-space:nowrap;
}
.sg-goal-signal.is-pending{
  width:8px!important;
  min-width:8px!important;
  max-width:8px!important;
  height:8px!important;
  min-height:8px!important;
  max-height:8px!important;
  border-radius:50%!important;
  background:#ff0046!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  overflow:hidden!important;
  animation:sgGoalDot249 .68s ease-in-out infinite!important;
}
.sg-goal-signal.is-goal{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  border-radius:0!important;
  background:transparent!important;
  color:#ff0046!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
  animation:sgGoalText249 .2s ease-out both!important;
}
.sg-match-row.sg-goal-confirmed .sg-goal-target b{
  color:#ff0046!important;
  transform:none!important;
}

/* Match Center hero */
[data-sg-live-fixture] .sg-hero-goal-signal{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  z-index:5;
  display:block!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  pointer-events:none;
  box-sizing:border-box!important;
  white-space:nowrap;
}
[data-sg-live-fixture] .sg-hero-goal-signal.is-pending{
  width:9px!important;
  min-width:9px!important;
  max-width:9px!important;
  height:9px!important;
  min-height:9px!important;
  max-height:9px!important;
  border-radius:50%!important;
  background:#ff0046!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  overflow:hidden!important;
  animation:sgHeroGoalDot249 .68s ease-in-out infinite!important;
}
[data-sg-live-fixture] .sg-hero-goal-signal.is-goal{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  border-radius:0!important;
  background:transparent!important;
  color:#ff0046!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.05em!important;
  animation:sgHeroGoalText249 .2s ease-out both!important;
}
[data-sg-live-fixture].sg-live-goal-pending,
[data-sg-live-fixture].sg-live-goal-confirmed{
  background:inherit!important;
  box-shadow:inherit!important;
}
[data-sg-live-fixture].sg-live-goal-confirmed .sg-match-score-center .sg-score-big{
  color:var(--sg-text)!important;
  animation:none!important;
}

@keyframes sgGoalDot249{
  0%,100%{opacity:.25;transform:translateY(-50%) scale(.8)}
  50%{opacity:1;transform:translateY(-50%) scale(1.22)}
}
@keyframes sgHeroGoalDot249{
  0%,100%{opacity:.25;transform:scale(.8)}
  50%{opacity:1;transform:scale(1.22)}
}
@keyframes sgGoalText249{
  0%{opacity:0;transform:translateY(-50%) scale(.9)}
  100%{opacity:1;transform:translateY(-50%) scale(1)}
}
@keyframes sgHeroGoalText249{
  0%{opacity:0;transform:scale(.9)}
  100%{opacity:1;transform:scale(1)}
}

@media(max-width:760px){
  .sg-goal-signal{right:26px!important}
  .sg-goal-signal.is-goal{font-size:9px!important}
  .sg-match-teams>div.sg-goal-target span{padding-right:43px}
  [data-sg-live-fixture] .sg-hero-goal-signal{top:6px!important;right:6px!important}
}
@media(prefers-reduced-motion:reduce){
  .sg-goal-signal.is-pending,
  [data-sg-live-fixture] .sg-hero-goal-signal.is-pending{animation:none!important;opacity:1!important}
}

/* === seriesagoal-competition-collapse-v248.css === */
/* SG.21.48 — blocchi competizione comprimibili, come un livescore moderno. */
.sg-league-head{position:relative}
.sg-league-toggle{
  appearance:none;border:0;background:transparent;color:var(--sg-muted,#737b88);font:inherit;
  display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-height:38px;padding:4px 8px;
  border-radius:9px;cursor:pointer;white-space:nowrap;margin-left:auto;
}
.sg-league-toggle:hover{background:var(--sg-soft,#f3f5f8);color:var(--sg-text,#15171c)}
.sg-league-toggle .sg-chevron{display:grid;place-items:center;transform:rotate(-90deg);transition:transform .18s ease}
.sg-league-toggle-label{font-size:12px;font-weight:650;color:currentColor}
.sg-league-card:not(.is-collapsed) .sg-league-toggle-label{font-size:0}
.sg-league-card:not(.is-collapsed) .sg-league-toggle-label::after{content:'Nascondi';font-size:12px;opacity:0;transition:opacity .15s ease}
.sg-league-card:not(.is-collapsed) .sg-league-toggle:hover .sg-league-toggle-label::after{opacity:1}
.sg-league-card.is-collapsed .sg-league-toggle .sg-chevron{transform:rotate(90deg)}
.sg-league-card.is-collapsed .sg-league-card-body{display:none}
.sg-league-card.is-collapsed .sg-home-live-ribbon{display:none}
html[data-theme="dark"] .sg-league-toggle:hover{background:rgba(255,255,255,.06);color:#fff}
@media(max-width:620px){
  .sg-league-toggle{padding-inline:5px;gap:5px}
  .sg-league-toggle-label{font-size:11px}
  .sg-league-card:not(.is-collapsed) .sg-league-toggle-label{display:none}
}
.sg-fixture-competition-block{margin-bottom:14px}
.sg-fixture-competition-head{display:flex;align-items:center;gap:10px}
.sg-fixture-competition-head>span{min-width:0;display:flex;flex-direction:column}
.sg-fixture-competition-head .sg-league-toggle{margin-left:auto}
.sg-fixture-competition-block.is-collapsed .sg-fixture-competition-head{border-bottom:0}

/* === seriesagoal-modern-entities-v242.css === */
/* SerieAGoal SG.21.24 — modernizzazione isolata profili giocatori/squadre + Match Player ratings. */

/* Shared card hierarchy in the central column */
.sg-page-giocatori .sg-feed>.sg-card,
.sg-page-squadre .sg-feed>.sg-card,
.sg-page-partite .sg-feed>.sg-card{
  border-radius:16px;
}
.sg-page-giocatori .sg-card-title,
.sg-page-squadre .sg-card-title,
.sg-page-partite .sg-card-title{
  min-height:56px;
  padding-inline:18px;
  font-size:15px;
  letter-spacing:-.18px;
}
.sg-page-giocatori .sg-card-title a,
.sg-page-squadre .sg-card-title a,
.sg-page-partite .sg-card-title a{font-size:12px}
.sg-page-giocatori .sg-card-title small,
.sg-page-squadre .sg-card-title small,
.sg-page-partite .sg-card-title small{font-size:11px}

/* PLAYER — profile hero */
.sg-page-giocatori .sg-player-profile-hero{
  min-height:154px;
  padding:24px 22px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--sg-accent-soft) 70%,var(--sg-surface)),var(--sg-surface) 68%);
}
.sg-page-giocatori .sg-player-profile-main{gap:18px}
.sg-page-giocatori .sg-player-profile-photo{
  width:96px;height:96px;
  border:1px solid var(--sg-line);
  box-shadow:0 8px 28px rgba(20,31,60,.10);
  background:var(--sg-surface);
}
.sg-page-giocatori .sg-player-profile-copy .sg-kicker{font-size:11px;letter-spacing:.08em}
.sg-page-giocatori .sg-player-profile-copy h1{font-size:30px;letter-spacing:-.75px;margin:4px 0 7px}
.sg-page-giocatori .sg-player-profile-copy>p{font-size:12px;line-height:1.45}
.sg-page-giocatori .sg-player-club-link{
  min-height:38px;margin-top:12px;padding:7px 10px;gap:8px;border:1px solid var(--sg-line);border-radius:10px;font-size:11px;background:var(--sg-surface);
}
.sg-page-giocatori .sg-player-club-link img{width:24px;height:24px}
.sg-page-giocatori .sg-player-club-link strong{font-size:12px}
.sg-page-giocatori .sg-player-profile>.sg-profile-tabs>a{font-size:12px;font-weight:800}

/* PLAYER — season key numbers */
.sg-page-giocatori .sg-player-key-stats .sg-card-title{min-height:54px}
.sg-page-giocatori .sg-player-rating-large{min-width:48px;min-height:30px;padding:6px 9px;border-radius:9px;font-size:12px}
.sg-page-giocatori .sg-player-stat-tiles{gap:10px;padding:14px}
.sg-page-giocatori .sg-player-stat-tiles>div{
  min-height:88px;border:1px solid var(--sg-line)!important;border-radius:12px;background:var(--sg-surface-2);
}
.sg-page-giocatori .sg-player-stat-tiles strong{font-size:24px;letter-spacing:-.5px}
.sg-page-giocatori .sg-player-stat-tiles span{margin-top:6px;font-size:10px;font-weight:750}

/* PLAYER — info becomes readable data tiles */
.sg-page-giocatori .sg-player-overview-grid{grid-template-columns:1.12fr .88fr;gap:14px}
.sg-page-giocatori .sg-player-info-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}
.sg-page-giocatori .sg-player-info-list>div{
  min-height:74px;padding:12px 13px;border:1px solid var(--sg-line)!important;border-radius:11px;background:var(--sg-surface-2);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;
}
.sg-page-giocatori .sg-player-info-list>div>span:first-child{font-size:9px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}
.sg-page-giocatori .sg-player-info-list strong{font-size:13px;line-height:1.3;text-align:left;font-weight:850}
.sg-page-giocatori .sg-player-country-badge{gap:6px}
.sg-page-giocatori .sg-player-country-value .sg-country-name,
.sg-page-giocatori .sg-player-birth-value{font-size:12px}

/* PLAYER — overview recent matches */
.sg-page-giocatori .sg-player-recent-list{padding:7px 10px 10px}
.sg-page-giocatori .sg-player-recent-item{
  min-height:64px;margin-top:7px;padding:8px 10px;display:grid;grid-template-columns:minmax(0,1fr) 48px 62px 42px;align-items:center;gap:10px;border:1px solid var(--sg-line);border-radius:11px;background:var(--sg-surface);transition:transform .14s ease,background .14s ease,border-color .14s ease;
}
.sg-page-giocatori .sg-player-recent-item:hover{background:var(--sg-surface-2);border-color:color-mix(in srgb,var(--sg-accent) 25%,var(--sg-line));transform:translateY(-1px)}
.sg-player-recent-opponent{display:flex;align-items:center;gap:10px;min-width:0}
.sg-player-recent-opponent>img{width:34px;height:34px;object-fit:contain;flex:0 0 34px}
.sg-player-recent-opponent>span{display:flex;flex-direction:column;min-width:0}
.sg-page-giocatori .sg-player-recent-opponent strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-page-giocatori .sg-player-recent-opponent small{font-size:9px;margin-top:3px}
.sg-player-recent-output{display:grid;place-items:center;gap:3px}.sg-player-recent-output small{font-size:10px!important;font-weight:850;color:var(--sg-text)!important}
.sg-player-recent-numbers{display:grid;gap:2px;text-align:center}.sg-player-recent-numbers b{font-size:9px!important;color:var(--sg-muted)}
.sg-player-result-badge{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#9aa0ab;color:#fff;font-size:10px;font-weight:900}
.sg-player-result-badge.is-win{background:#12a84f}.sg-player-result-badge.is-draw{background:#f59e0b}.sg-player-result-badge.is-loss{background:#e11d2e}

/* PLAYER — statistics cards */
.sg-page-giocatori .sg-player-stats-sections{padding:4px 0}
.sg-page-giocatori .sg-player-stats-sections>div{padding:18px;border-bottom:1px solid var(--sg-line)}
.sg-page-giocatori .sg-player-stats-sections h3{margin:0 0 12px;font-size:11px;letter-spacing:.06em}
.sg-page-giocatori .sg-player-metric-grid{gap:10px}
.sg-page-giocatori .sg-player-metric-grid span{min-height:84px;padding:12px 8px;border:1px solid var(--sg-line);border-radius:12px}
.sg-page-giocatori .sg-player-metric-grid b{font-size:21px;letter-spacing:-.35px}
.sg-page-giocatori .sg-player-metric-grid small{font-size:9.5px;line-height:1.25;font-weight:700}

/* PLAYER — dedicated matches tab: app-like score cards */
.sg-player-match-app-list{display:grid;gap:10px;padding:14px}
.sg-player-match-app{
  min-height:92px;display:grid;grid-template-columns:72px minmax(0,1fr) auto 18px;align-items:center;gap:14px;padding:12px 13px;border:1px solid var(--sg-line);border-radius:13px;background:var(--sg-surface);transition:background .14s ease,border-color .14s ease,transform .14s ease;
}
.sg-player-match-app:hover{background:var(--sg-surface-2);border-color:color-mix(in srgb,var(--sg-accent) 24%,var(--sg-line));transform:translateY(-1px)}
.sg-player-match-date{display:grid;gap:4px;align-content:center}.sg-player-match-date strong{font-size:13px}.sg-player-match-date small{font-size:8.5px;color:var(--sg-muted);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-player-match-clubs{display:grid;gap:7px;min-width:0}
.sg-player-match-clubs>span{display:grid;grid-template-columns:28px minmax(0,1fr) 22px;align-items:center;gap:9px;min-width:0}
.sg-player-match-clubs img{width:26px;height:26px;object-fit:contain}
.sg-player-match-clubs strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-player-match-clubs b{font-size:14px;text-align:right}
.sg-player-match-performance{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.sg-player-match-performance>span:not(.sg-player-result-badge){min-width:38px;display:grid;gap:3px;text-align:center}
.sg-player-match-performance small{font-size:7.5px;color:var(--sg-muted);font-weight:850;letter-spacing:.05em}
.sg-player-match-performance span>b{font-size:11px}
.sg-player-match-performance .sg-rating{min-width:48px;min-height:32px;border-radius:9px;font-size:12px}
.sg-player-match-chevron{display:grid;place-items:center;color:var(--sg-muted)}

/* PLAYER — transfers, injuries and career should not fall back to tiny typography */
.sg-page-giocatori .sg-player-career-row strong,
.sg-page-giocatori .sg-transfer-archive-player strong,
.sg-page-giocatori .sg-transfer-archive-route b,
.sg-page-giocatori .sg-transfer-list strong{font-size:12px}
.sg-page-giocatori .sg-player-career-row small,
.sg-page-giocatori .sg-transfer-archive-player small,
.sg-page-giocatori .sg-transfer-list small,
.sg-page-giocatori .sg-transfer-archive-list time{font-size:9px}

/* PLAYER DIRECTORY — cards readable even before entering profile */
.sg-page-giocatori .sg-player-team-head{height:58px;padding-inline:15px}
.sg-page-giocatori .sg-player-team-head img{width:34px;height:34px}
.sg-page-giocatori .sg-player-team-head strong{font-size:13px}.sg-page-giocatori .sg-player-team-head small{font-size:9px}
.sg-page-giocatori .sg-player-directory-card{min-height:74px;grid-template-columns:48px minmax(0,1fr) 18px;padding:10px 12px;gap:10px}
.sg-page-giocatori .sg-player-directory-photo{width:46px;height:46px}
.sg-page-giocatori .sg-player-directory-copy strong{font-size:12px}.sg-page-giocatori .sg-player-directory-copy small{font-size:9px;margin-top:4px}

/* TEAM — stronger hero and information hierarchy */
.sg-page-squadre .sg-team-cover{min-height:156px;padding:24px 22px}
.sg-page-squadre .sg-team-profile-main{gap:18px}
.sg-page-squadre .sg-team-profile-logo{width:96px;height:96px;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(20,31,60,.09)}
.sg-page-squadre .sg-team-profile-logo img{width:76px;height:76px}
.sg-page-squadre .sg-team-profile-copy .sg-kicker{font-size:11px}
.sg-page-squadre .sg-team-profile-copy h1{font-size:30px;letter-spacing:-.75px}
.sg-page-squadre .sg-team-profile-copy p{font-size:12px}
.sg-page-squadre .sg-team-profile>.sg-profile-tabs>a{font-size:12px;font-weight:800}
.sg-page-squadre .sg-team-overview-grid{gap:14px}
.sg-page-squadre .sg-team-rank{padding:18px}.sg-page-squadre .sg-rank-number{width:56px;height:56px;font-size:25px;border-radius:14px}
.sg-page-squadre .sg-team-rank strong{font-size:13px}.sg-page-squadre .sg-team-rank small{font-size:10px}
.sg-page-squadre .sg-team-form{padding:13px 18px;font-size:10px}
.sg-page-squadre .sg-team-mini-stats>div{padding:15px 6px}.sg-page-squadre .sg-team-mini-stats strong{font-size:20px}.sg-page-squadre .sg-team-mini-stats span{font-size:9px}

/* TEAM — preview and roster */
.sg-page-squadre .sg-squad-preview{gap:8px;padding:10px}
.sg-page-squadre .sg-squad-preview>a{min-height:132px;padding:12px 7px;border:1px solid var(--sg-line)!important;border-radius:12px;background:var(--sg-surface)}
.sg-page-squadre .sg-squad-preview>a>span{width:58px;height:58px}
.sg-page-squadre .sg-squad-preview strong{margin-top:8px;font-size:11px}.sg-page-squadre .sg-squad-preview small{font-size:9px;margin-top:4px}
.sg-page-squadre .sg-roster-group>h3{padding:12px 15px;font-size:10px;letter-spacing:.055em}
.sg-page-squadre .sg-roster-list{gap:0}
.sg-page-squadre .sg-roster-list>a{min-height:76px;grid-template-columns:50px minmax(0,1fr) 38px 17px;padding:10px 13px;gap:10px}
.sg-page-squadre .sg-roster-photo{width:48px;height:48px}
.sg-page-squadre .sg-roster-copy strong{font-size:12.5px}.sg-page-squadre .sg-roster-copy small{font-size:9px;margin-top:4px}.sg-page-squadre .sg-roster-list>a>b{font-size:12px}

/* TEAM — information/statistics as app tiles */
.sg-page-squadre .sg-team-info-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:14px}
.sg-page-squadre .sg-team-info-grid>div{min-height:76px;padding:12px 13px;border:1px solid var(--sg-line)!important;border-radius:11px;background:var(--sg-surface-2)}
.sg-page-squadre .sg-team-info-grid small{font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;margin-bottom:7px}
.sg-page-squadre .sg-team-info-grid strong{font-size:13px;line-height:1.3}
.sg-page-squadre .sg-team-stats-grid{grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}
.sg-page-squadre .sg-team-stats-grid>div{min-height:100px;padding:16px 10px;border:1px solid var(--sg-line)!important;border-radius:12px;background:var(--sg-surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center}
.sg-page-squadre .sg-team-stats-grid strong{font-size:27px;letter-spacing:-.6px}.sg-page-squadre .sg-team-stats-grid span{font-size:10px;font-weight:750}
.sg-page-squadre .sg-team-coach-card>.sg-coach-inline{min-height:82px;padding:12px 16px;grid-template-columns:58px minmax(0,1fr) 18px}.sg-page-squadre .sg-team-coach-card>.sg-coach-inline>span:first-child{width:56px;height:56px}.sg-page-squadre .sg-team-coach-card>.sg-coach-inline strong{font-size:13px}.sg-page-squadre .sg-team-coach-card>.sg-coach-inline small{font-size:10px}

/* TEAM — match lists are easier to scan */
.sg-page-squadre .sg-match-row{min-height:70px!important;padding:7px 14px!important}
.sg-page-squadre .sg-match-status{font-size:10px!important}
.sg-page-squadre .sg-match-teams span{font-size:12px!important}.sg-page-squadre .sg-match-teams img{width:24px!important;height:24px!important}.sg-page-squadre .sg-match-teams b{font-size:13px}

/* MATCH PAGE — more app-like lineups and player ratings */
.sg-page-partite .sg-lineup-team>header{height:54px!important;padding:10px 14px!important}
.sg-page-partite .sg-lineup-team>header img{width:28px!important;height:28px!important}
.sg-page-partite .sg-lineup-team>header strong{font-size:13px!important}.sg-page-partite .sg-lineup-team>header b{font-size:11px!important}
.sg-page-partite .sg-lineup-coach{margin:10px 10px 4px;padding:9px 11px;border-radius:10px;font-size:10px}
.sg-page-partite .sg-lineup-coach img{width:31px;height:31px}
.sg-page-partite .sg-pitch{
  margin:0 10px 12px;border-radius:14px!important;border:2px solid rgba(255,255,255,.82)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(0,0,0,.025)),linear-gradient(90deg,rgba(255,255,255,.035) 50%,transparent 50%),#3f9b62!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08),0 7px 20px rgba(19,39,28,.10);
}
.sg-page-partite .sg-pitch-player{width:78px!important}
.sg-page-partite .sg-pitch-player>.sg-pitch-avatar{width:36px!important;height:36px!important;border-width:2px!important;box-shadow:0 4px 9px rgba(0,0,0,.24)!important}
.sg-page-partite .sg-pitch-player>.sg-pitch-avatar>em{min-width:16px;height:16px;right:-5px;bottom:-3px;font-size:7px}
.sg-page-partite .sg-pitch-player>b{max-width:76px!important;margin-top:5px!important;padding:3px 6px!important;border-radius:6px!important;font-size:9px!important;line-height:1.2!important;font-weight:850!important}
.sg-page-partite .sg-bench{padding:12px 14px}.sg-page-partite .sg-bench>strong{font-size:12px}.sg-page-partite .sg-bench a{min-height:38px;grid-template-columns:38px minmax(0,1fr);padding:6px 5px}.sg-page-partite .sg-bench a>b{font-size:9px}.sg-page-partite .sg-bench a>em{font-size:10px}

/* Critical SG.21.23 cache-proof fix: team logos in player ratings can never expand. */
.sg-page-partite .sg-player-team-title{min-height:58px!important;padding:12px 16px!important}
.sg-page-partite .sg-player-team-title>span{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.sg-page-partite .sg-player-team-title img{
  display:block!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important;object-fit:contain!important;flex:0 0 34px!important;margin:0!important;padding:0!important;
}
.sg-page-partite .sg-player-team-title strong{font-size:14px!important}.sg-page-partite .sg-player-team-title small{font-size:10px!important}
.sg-page-partite .sg-player-head,.sg-page-partite .sg-player-row{min-height:52px!important;padding:9px 15px!important;grid-template-columns:minmax(230px,1fr) 52px 46px 50px 60px!important}
.sg-page-partite .sg-player-head{font-size:9px!important}.sg-page-partite .sg-player-row{font-size:11px!important}
.sg-page-partite .sg-player-person{gap:10px}.sg-page-partite .sg-player-person img{width:38px!important;height:38px!important;flex:0 0 38px}
.sg-page-partite .sg-player-person b{font-size:12px}.sg-page-partite .sg-player-person small{display:block;margin-top:2px;font-size:9px;color:var(--sg-muted)}
.sg-page-partite .sg-player-row .sg-rating{min-width:44px;min-height:30px;border-radius:8px;font-size:11px}

@media(max-width:820px){
  .sg-page-giocatori .sg-player-overview-grid{grid-template-columns:1fr}
  .sg-player-match-app{grid-template-columns:60px minmax(0,1fr) auto 16px;gap:10px}
  .sg-player-match-performance>span:not(.sg-player-result-badge){display:none}
  .sg-page-squadre .sg-team-stats-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .sg-page-giocatori .sg-card-title,.sg-page-squadre .sg-card-title,.sg-page-partite .sg-card-title{min-height:52px;padding-inline:13px;font-size:14px}
  .sg-page-giocatori .sg-player-profile-hero{min-height:132px;padding:18px 14px}.sg-page-giocatori .sg-player-profile-photo{width:74px;height:74px}.sg-page-giocatori .sg-player-profile-copy h1{font-size:22px}.sg-page-giocatori .sg-player-profile-copy>p{font-size:10px}.sg-page-giocatori .sg-player-club-link{min-height:34px;margin-top:8px}.sg-page-giocatori .sg-player-profile-main{gap:12px}
  .sg-page-giocatori .sg-player-stat-tiles{grid-template-columns:repeat(2,1fr)}.sg-page-giocatori .sg-player-stat-tiles>div{min-height:76px}.sg-page-giocatori .sg-player-stat-tiles strong{font-size:21px}.sg-page-giocatori .sg-player-stat-tiles span{font-size:9px}
  .sg-page-giocatori .sg-player-info-list{grid-template-columns:1fr 1fr;padding:10px;gap:8px}.sg-page-giocatori .sg-player-info-list>div{min-height:68px;padding:10px}.sg-page-giocatori .sg-player-info-list strong{font-size:12px}
  .sg-page-giocatori .sg-player-metric-grid{grid-template-columns:repeat(2,1fr)}.sg-page-giocatori .sg-player-metric-grid span{min-height:76px}.sg-page-giocatori .sg-player-metric-grid b{font-size:19px}
  .sg-page-giocatori .sg-player-recent-item{grid-template-columns:minmax(0,1fr) 40px 38px;padding:8px}.sg-player-recent-numbers{display:none}.sg-player-recent-opponent>img{width:30px;height:30px;flex-basis:30px}.sg-page-giocatori .sg-player-recent-opponent strong{font-size:11px}
  .sg-player-match-app-list{padding:10px;gap:8px}.sg-player-match-app{min-height:84px;grid-template-columns:50px minmax(0,1fr) auto;padding:10px;gap:9px}.sg-player-match-date small,.sg-player-match-chevron{display:none}.sg-player-match-clubs>span{grid-template-columns:24px minmax(0,1fr) 18px;gap:7px}.sg-player-match-clubs img{width:22px;height:22px}.sg-player-match-clubs strong{font-size:11px}.sg-player-match-performance{gap:6px}.sg-player-match-performance .sg-rating{min-width:42px;min-height:29px;font-size:11px}
  .sg-page-squadre .sg-team-cover{min-height:136px;padding:18px 14px}.sg-page-squadre .sg-team-profile-logo{width:76px;height:76px}.sg-page-squadre .sg-team-profile-logo img{width:60px;height:60px}.sg-page-squadre .sg-team-profile-copy h1{font-size:23px}.sg-page-squadre .sg-team-profile-copy p{font-size:10px}
  .sg-page-squadre .sg-squad-preview{grid-template-columns:repeat(2,1fr)}.sg-page-squadre .sg-squad-preview>a{min-height:118px}.sg-page-squadre .sg-squad-preview>a>span{width:52px;height:52px}
  .sg-page-squadre .sg-team-info-grid{grid-template-columns:1fr 1fr;padding:10px;gap:8px}.sg-page-squadre .sg-team-info-grid>div{min-height:68px;padding:10px}.sg-page-squadre .sg-team-info-grid strong{font-size:12px}
  .sg-page-squadre .sg-team-stats-grid{padding:10px;gap:8px}.sg-page-squadre .sg-team-stats-grid>div{min-height:86px}.sg-page-squadre .sg-team-stats-grid strong{font-size:23px}.sg-page-squadre .sg-team-stats-grid span{font-size:9px}
  .sg-page-squadre .sg-roster-list{grid-template-columns:1fr}.sg-page-squadre .sg-roster-list>a{border-right:0!important;min-height:70px;grid-template-columns:46px minmax(0,1fr) 34px 16px;padding:9px 11px}.sg-page-squadre .sg-roster-photo{width:44px;height:44px}.sg-page-squadre .sg-roster-copy strong{font-size:12px}
  .sg-page-partite .sg-pitch-player{width:72px!important}.sg-page-partite .sg-pitch-player>.sg-pitch-avatar{width:34px!important;height:34px!important}.sg-page-partite .sg-pitch-player>b{max-width:70px!important;font-size:8.5px!important}
  .sg-page-partite .sg-player-team-title{min-height:54px!important;padding:10px 12px!important}.sg-page-partite .sg-player-team-title img{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;flex-basis:30px!important}.sg-page-partite .sg-player-team-title strong{font-size:13px!important}
}

@media(max-width:470px){
  .sg-page-giocatori .sg-player-info-list,.sg-page-squadre .sg-team-info-grid{grid-template-columns:1fr}
  .sg-page-giocatori .sg-player-stat-tiles{gap:7px;padding:9px}.sg-page-giocatori .sg-player-metric-grid{gap:7px}
  .sg-player-match-app{grid-template-columns:44px minmax(0,1fr) auto}.sg-player-match-date strong{font-size:11px}.sg-player-match-performance>.sg-player-result-badge{display:none}
}

/* TEAM DIRECTORY — less catalogue-like, more app card. */
.sg-page-squadre .sg-team-grid{gap:10px!important;padding:10px;background:transparent!important}
.sg-page-squadre .sg-team-tile{min-height:156px!important;border:1px solid var(--sg-line);border-radius:13px!important;background:var(--sg-surface);box-shadow:0 2px 8px rgba(20,31,60,.035)}
.sg-page-squadre .sg-team-tile:hover{border-color:color-mix(in srgb,var(--sg-accent) 24%,var(--sg-line));transform:translateY(-2px)}
.sg-page-squadre .sg-team-logo-wrap{width:70px;height:70px;border-radius:16px;margin-bottom:11px;background:var(--sg-surface-2)}
.sg-page-squadre .sg-team-tile img{width:56px;height:56px}
.sg-page-squadre .sg-team-tile strong{font-size:13px;letter-spacing:-.12px}.sg-page-squadre .sg-team-tile small{font-size:9.5px;margin-top:5px}
@media(max-width:760px){
  .sg-page-squadre .sg-team-grid{gap:8px!important;padding:8px}.sg-page-squadre .sg-team-tile{min-height:142px!important}.sg-page-squadre .sg-team-logo-wrap{width:62px;height:62px}.sg-page-squadre .sg-team-tile img{width:50px;height:50px}.sg-page-squadre .sg-team-tile strong{font-size:12px}
}

/* SG.21.24B — Player overview: single vertical flow, readable flags and full recent matches. */
.sg-page-giocatori .sg-player-overview-grid{
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;
}

/* Information stays compact inside the full-width card. */
.sg-page-giocatori .sg-player-info-list{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  padding:14px;
}
.sg-page-giocatori .sg-player-info-list>div{
  min-height:82px;
  padding:13px 14px;
}
.sg-page-giocatori .sg-player-info-list strong{
  font-size:14px;
}

/* Country flags: intentionally larger and easier to scan. */
.sg-page-giocatori .sg-player-country-value{
  justify-content:flex-start!important;
  max-width:none!important;
  text-align:left!important;
  gap:8px!important;
}
.sg-page-giocatori .sg-country-badge{
  gap:9px!important;
  padding:3px 5px!important;
}
.sg-page-giocatori .sg-country-flag{
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  height:30px!important;
  font-size:28px!important;
  line-height:30px!important;
  overflow:visible!important;
}
.sg-page-giocatori .sg-country-flag.is-fallback{font-size:23px!important}
.sg-page-giocatori .sg-country-name,
.sg-page-giocatori .sg-birth-place-name{
  font-size:13px!important;
  font-weight:800!important;
}
.sg-page-giocatori .sg-player-birth-value{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  column-gap:8px!important;
}

/* Recent performances now use the whole central column: no more truncated opponent name. */
.sg-page-giocatori .sg-player-recent-card{width:100%}
.sg-page-giocatori .sg-player-recent-list{
  display:grid;
  gap:9px;
  padding:12px 14px 15px;
}
.sg-page-giocatori .sg-player-recent-item{
  width:100%;
  min-height:78px;
  margin:0;
  padding:11px 13px;
  grid-template-columns:minmax(0,1fr) 62px 88px 58px;
  gap:14px;
  border-radius:13px;
}
.sg-page-giocatori .sg-player-recent-opponent{
  gap:12px;
  min-width:0;
}
.sg-page-giocatori .sg-player-recent-opponent>img{
  width:42px;
  height:42px;
  flex:0 0 42px;
  object-fit:contain;
}
.sg-page-giocatori .sg-player-recent-opponent>span{min-width:0}
.sg-page-giocatori .sg-player-recent-opponent strong{
  display:block;
  max-width:none;
  font-size:14px;
  line-height:1.25;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}
.sg-page-giocatori .sg-player-recent-opponent small{
  margin-top:4px;
  font-size:10px;
  font-weight:700;
}
.sg-page-giocatori .sg-player-recent-output small{font-size:11px!important}
.sg-page-giocatori .sg-player-recent-numbers b{font-size:10px!important}
.sg-page-giocatori .sg-player-recent-item .sg-rating{
  min-width:52px;
  min-height:34px;
  border-radius:9px;
  font-size:12px;
}

@media(max-width:900px){
  .sg-page-giocatori .sg-player-info-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .sg-page-giocatori .sg-player-info-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}
  .sg-page-giocatori .sg-country-flag{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:27px!important;font-size:25px!important;line-height:27px!important}
  .sg-page-giocatori .sg-player-recent-list{padding:9px 10px 11px}
  .sg-page-giocatori .sg-player-recent-item{min-height:72px;grid-template-columns:minmax(0,1fr) 50px 50px;padding:9px 10px;gap:9px}
  .sg-page-giocatori .sg-player-recent-opponent>img{width:36px;height:36px;flex-basis:36px}
  .sg-page-giocatori .sg-player-recent-opponent strong{font-size:12px}
  .sg-page-giocatori .sg-player-recent-numbers{display:none}
}

@media(max-width:470px){
  .sg-page-giocatori .sg-player-info-list{grid-template-columns:1fr}
  .sg-page-giocatori .sg-player-recent-item{grid-template-columns:minmax(0,1fr) 46px 46px}
  .sg-page-giocatori .sg-player-recent-opponent strong{font-size:11.5px}
}

/* ==========================================================
   SG.21.42 — Player analytics / radar / rating trend
   Native SVG + real Football Core data. No generated images.
   ========================================================== */
.sg-page-giocatori .sg-player-analytics-card{overflow:hidden}
.sg-page-giocatori .sg-player-analytics-card>.sg-card-title small{font-size:10px;font-weight:750;color:var(--sg-muted)}
.sg-player-analytics-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:18px;padding:18px;align-items:center}
.sg-radar-wrap{display:grid;place-items:center;min-width:0;padding:4px 8px}
.sg-player-radar{display:block;width:min(100%,390px);height:auto;overflow:visible}
.sg-radar-grid{fill:color-mix(in srgb,var(--sg-accent) 4%,var(--sg-surface-2));stroke:color-mix(in srgb,var(--sg-line) 88%,transparent);stroke-width:1}
.sg-radar-grid:not(:last-of-type){fill:transparent}
.sg-radar-axis{stroke:var(--sg-line);stroke-width:1}
.sg-radar-data{fill:color-mix(in srgb,var(--sg-accent) 22%,transparent);stroke:var(--sg-accent);stroke-width:3;stroke-linejoin:round;filter:drop-shadow(0 4px 9px color-mix(in srgb,var(--sg-accent) 18%,transparent))}
.sg-radar-dot{fill:var(--sg-surface);stroke:var(--sg-accent);stroke-width:3}
.sg-radar-label{fill:var(--sg-muted);font-size:10px;font-weight:850;letter-spacing:.02em;text-transform:uppercase}
.sg-radar-score-list{display:grid;gap:11px;align-content:center}
.sg-radar-score-list>div{display:grid;gap:6px}
.sg-radar-score-list>div>span{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sg-radar-score-list b{font-size:12px;font-weight:850;color:var(--sg-text)}
.sg-radar-score-list em{font-style:normal;font-size:13px;font-weight:900;color:var(--sg-accent);font-variant-numeric:tabular-nums}
.sg-radar-score-list i{display:block;height:7px;border-radius:999px;background:var(--sg-surface-2);overflow:hidden;border:1px solid var(--sg-line)}
.sg-radar-score-list i>u{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--sg-accent),color-mix(in srgb,var(--sg-accent) 64%,#5bd6ff));text-decoration:none}
.sg-radar-score-list>p{display:grid;gap:3px;margin:5px 0 0;padding:12px;border-radius:12px;background:var(--sg-surface-2);border:1px solid var(--sg-line)}
.sg-radar-score-list>p strong{font-size:11px}.sg-radar-score-list>p span{font-size:9.5px;line-height:1.4;color:var(--sg-muted)}
.sg-rating-trend{grid-column:1/-1;border-top:1px solid var(--sg-line);padding-top:16px;margin-top:2px;min-width:0}
.sg-rating-trend-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:3px}
.sg-rating-trend-head>span{font-size:12px;font-weight:850}.sg-rating-trend-head>small{font-size:9.5px;font-weight:700;color:var(--sg-muted)}
.sg-rating-trend svg{display:block;width:100%;height:auto;max-height:180px}
.sg-trend-grid{stroke:var(--sg-line);stroke-width:1;stroke-dasharray:4 6}
.sg-trend-line{fill:none;stroke:var(--sg-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 5px color-mix(in srgb,var(--sg-accent) 20%,transparent))}
.sg-trend-dot{fill:var(--sg-surface);stroke:var(--sg-accent);stroke-width:3}
.sg-rating-trend-scale{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:-3px;color:var(--sg-muted);font-size:9px;font-weight:750}
.sg-rating-trend-scale strong{color:var(--sg-text);font-size:10px}
.sg-analytics-note{padding:11px 18px 14px;border-top:1px solid var(--sg-line);font-size:9px;line-height:1.45;color:var(--sg-muted)}
.sg-player-analytics-card.is-compact{margin-bottom:14px}
.sg-player-analytics-card.is-compact .sg-player-analytics-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.72fr);padding-block:14px}
.sg-player-analytics-card.is-compact .sg-player-radar{width:min(100%,340px)}
.sg-player-analytics-card.is-compact .sg-rating-trend svg{max-height:145px}

@media (max-width:900px){
  .sg-player-analytics-layout,.sg-player-analytics-card.is-compact .sg-player-analytics-layout{grid-template-columns:1fr;gap:8px;padding:14px}
  .sg-radar-wrap{padding:0 16px}.sg-player-radar{width:min(100%,360px)}
  .sg-radar-score-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
  .sg-radar-score-list>p{grid-column:1/-1}
  .sg-rating-trend{margin-top:7px;padding-top:14px}
}
@media (max-width:560px){
  .sg-page-giocatori .sg-player-analytics-card>.sg-card-title{min-height:50px;padding-inline:13px}
  .sg-page-giocatori .sg-player-analytics-card>.sg-card-title small{font-size:8.5px}
  .sg-player-analytics-layout,.sg-player-analytics-card.is-compact .sg-player-analytics-layout{padding:10px;gap:5px}
  .sg-radar-wrap{padding:0 4px}.sg-player-radar{width:min(100%,315px)}
  .sg-radar-label{font-size:9px}
  .sg-radar-score-list{grid-template-columns:1fr 1fr;gap:8px 10px;padding:0 4px}
  .sg-radar-score-list b{font-size:10.5px}.sg-radar-score-list em{font-size:11.5px}
  .sg-radar-score-list i{height:6px}
  .sg-radar-score-list>p{padding:9px}.sg-radar-score-list>p strong{font-size:10px}.sg-radar-score-list>p span{font-size:8.5px}
  .sg-rating-trend-head{padding-inline:3px}.sg-rating-trend-head>span{font-size:11px}.sg-rating-trend-head>small{font-size:8px}
  .sg-rating-trend svg{min-height:116px}
  .sg-analytics-note{padding:9px 13px 12px;font-size:8px}
}

/* === seriesagoal-team-global-v241.css === */
/* SG.21.40 — canonical team page: global fixtures, competition-scoped data. */
.sg-team-context-switch{margin:0 0 12px;padding:10px 12px;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:12px;display:flex;align-items:center;gap:12px;overflow:hidden}
.sg-team-context-switch>span{flex:0 0 auto;font-size:9px;font-weight:850;color:var(--sg-muted);text-transform:uppercase;letter-spacing:.04em}
.sg-team-context-switch>div{min-width:0;display:flex;gap:7px;overflow:auto;scrollbar-width:none}
.sg-team-context-switch>div::-webkit-scrollbar{display:none}
.sg-team-context-switch a{flex:0 0 auto;min-height:38px;padding:5px 10px 5px 7px;border:1px solid var(--sg-line);border-radius:10px;background:var(--sg-surface-2);color:var(--sg-text);display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center}
.sg-team-context-switch a i{grid-row:1/3;width:28px;height:28px;border-radius:8px;background:#fff;display:grid;place-items:center;padding:4px}
.sg-team-context-switch a i img{max-width:100%;max-height:100%;object-fit:contain}
.sg-team-context-switch a b{font-size:10px;line-height:1.1;white-space:nowrap}
.sg-team-context-switch a small{font-size:8px;line-height:1.1;color:var(--sg-muted);white-space:nowrap}
.sg-team-context-switch a.is-active{border-color:var(--sg-accent);box-shadow:inset 0 0 0 1px var(--sg-accent);background:var(--sg-accent-soft)}

/* Give the fixture star its own visual lane on Team > Calendar/Results. */
.sg-team-fixtures-global .sg-match-row-wrap>.sg-match-row{padding-left:56px!important}
.sg-team-fixtures-global .sg-match-favorite{left:14px!important;width:30px;height:30px}
.sg-team-fixtures-global .sg-fixture-date .sg-match-row-wrap>.sg-match-row{padding-left:56px!important}

@media(max-width:720px){
  .sg-team-context-switch{align-items:flex-start;flex-direction:column;gap:7px;padding:9px 10px}
  .sg-team-context-switch>div{width:100%}
  .sg-team-context-switch a{min-height:36px}
  .sg-team-fixtures-global .sg-match-row-wrap>.sg-match-row,
  .sg-team-fixtures-global .sg-fixture-date .sg-match-row-wrap>.sg-match-row{padding-left:48px!important}
  .sg-team-fixtures-global .sg-match-favorite{left:9px!important;width:28px;height:28px}
}

/* SG.21.40B — reserve a real star lane also in Team Overview cards. */
.sg-team-overview-fixtures .sg-match-row-wrap>.sg-match-row{padding-left:62px!important}
.sg-team-overview-fixtures .sg-match-favorite{left:14px!important;width:30px;height:30px}
@media(max-width:720px){
  .sg-team-overview-fixtures .sg-match-row-wrap>.sg-match-row{padding-left:52px!important}
  .sg-team-overview-fixtures .sg-match-favorite{left:9px!important;width:28px;height:28px}
}

/* === seriesagoal-player-modern-v2230.css === */
/* SerieAGoal 2.2.29 — Player single modern phase 7
   Scope rigoroso: solo la singola pagina giocatore tramite .sg-player-modern-v2228. */
.sg-player-modern-v2228{
  --sg-player-radius:10px;
  --sg-player-soft:var(--sg-accent-soft);
}
.sg-player-modern-v2228 .sg-feed{min-width:0}
.sg-player-modern-v2228 .sg-card{border-radius:var(--sg-player-radius)!important;box-shadow:none!important}

/* Profilo: più compatto, più informativo, meno hero editoriale. */
.sg-player-modern-v2228 .sg-player-profile{
  overflow:hidden!important;border:1px solid var(--sg-line)!important;background:var(--sg-surface)!important;
}
.sg-player-modern-v2228 .sg-player-profile-hero{
  min-height:96px!important;padding:13px 15px!important;gap:12px!important;
  background:linear-gradient(110deg,var(--sg-player-soft),var(--sg-surface) 70%)!important;
}
.sg-player-modern-v2228 .sg-player-profile-main{gap:12px!important;min-width:0!important}
.sg-player-modern-v2228 .sg-player-profile-photo{
  width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;
  border-radius:13px!important;border:1px solid var(--sg-line)!important;background:var(--sg-surface-2)!important;
}
.sg-player-modern-v2228 .sg-player-profile-copy .sg-kicker{
  font-size:8px!important;letter-spacing:.1em!important;color:var(--sg-accent)!important;
}
.sg-player-modern-v2228 .sg-player-profile-copy h1{
  margin:3px 0 3px!important;font-size:21px!important;line-height:1.08!important;letter-spacing:-.45px!important;
}
.sg-player-modern-v2228 .sg-player-profile-copy>p{font-size:9px!important;color:var(--sg-muted)!important}
.sg-player-modern-v2228 .sg-player-club-link{
  min-height:28px!important;margin-top:7px!important;padding:4px 7px!important;border-radius:7px!important;
  background:var(--sg-surface-2)!important;font-size:8.5px!important;
}
.sg-player-modern-v2228 .sg-player-club-link img{width:18px!important;height:18px!important}
.sg-player-modern-v2228 .sg-follow-btn{
  min-height:34px!important;height:34px!important;padding:0 11px!important;border-radius:8px!important;
  font-size:10px!important;gap:6px!important;box-shadow:none!important;
}

/* Un solo nastro tab, da app. */
.sg-player-modern-v2228 .sg-profile-tabs{
  min-height:43px!important;height:43px!important;padding:0 7px!important;gap:2px!important;
  display:flex!important;align-items:stretch!important;overflow-x:auto!important;overflow-y:hidden!important;
  scrollbar-width:none!important;border-top:1px solid var(--sg-line)!important;background:var(--sg-surface)!important;
}
.sg-player-modern-v2228 .sg-profile-tabs::-webkit-scrollbar{display:none!important}
.sg-player-modern-v2228 .sg-profile-tabs>a{
  position:relative!important;min-width:max-content!important;height:42px!important;padding:0 10px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border:0!important;
  border-radius:0!important;background:transparent!important;color:var(--sg-muted)!important;
  font-size:9.5px!important;font-weight:780!important;white-space:nowrap!important;box-shadow:none!important;
}
.sg-player-modern-v2228 .sg-profile-tabs>a:hover{color:var(--sg-text)!important;background:var(--sg-surface-2)!important}
.sg-player-modern-v2228 .sg-profile-tabs>a.is-active{color:var(--sg-accent)!important;background:transparent!important}
.sg-player-modern-v2228 .sg-profile-tabs>a.is-active:after{
  content:""!important;position:absolute!important;left:9px!important;right:9px!important;bottom:0!important;
  height:2px!important;border-radius:2px 2px 0 0!important;background:var(--sg-accent)!important;
}

/* Selettori competizione/stagione: tecnici e compatti. */
.sg-player-modern-v2228 .sg-player-context-switch{
  margin:10px 0 0!important;padding:8px 10px!important;border-radius:9px!important;gap:8px!important;box-shadow:none!important;
}
.sg-player-modern-v2228 .sg-player-context-switch>span{font-size:8px!important}
.sg-player-modern-v2228 .sg-player-context-switch a{
  min-height:34px!important;padding:4px 8px 4px 6px!important;border-radius:8px!important;
  grid-template-columns:24px auto!important;column-gap:6px!important;
}
.sg-player-modern-v2228 .sg-player-context-switch a i{width:24px!important;height:24px!important;border-radius:6px!important}
.sg-player-modern-v2228 .sg-player-context-switch a b{font-size:9px!important}
.sg-player-modern-v2228 .sg-player-context-switch a small{font-size:7.5px!important}
.sg-player-modern-v2228 .sg-player-season-switcher{
  margin-top:8px!important;padding:7px 10px!important;border-radius:9px!important;box-shadow:none!important;
}
.sg-player-modern-v2228 .sg-player-season-switcher>span{font-size:8px!important}
.sg-player-modern-v2228 .sg-player-season-switcher a{min-height:29px!important;padding:0 9px!important;border-radius:7px!important;font-size:8.5px!important}

/* Titoli e spacing comuni. */
.sg-player-modern-v2228 .sg-card-title{min-height:42px!important;padding:0 12px!important;border-bottom:1px solid var(--sg-line)!important}
.sg-player-modern-v2228 .sg-card-title>span{font-size:11.5px!important;font-weight:820!important}
.sg-player-modern-v2228 .sg-card-title>a,
.sg-player-modern-v2228 .sg-card-title>small{font-size:9px!important}
.sg-player-modern-v2228 .sg-player-key-stats,
.sg-player-modern-v2228 .sg-player-analytics-card,
.sg-player-modern-v2228 .sg-player-overview-grid,
.sg-player-modern-v2228 .sg-player-matches-card,
.sg-player-modern-v2228 .sg-player-career-card,
.sg-player-modern-v2228 .sg-transfer-archive{margin-top:10px!important}

/* KPI principali: una riga compatta. */
.sg-player-modern-v2228 .sg-player-rating-large{
  min-width:36px!important;padding:5px 7px!important;border-radius:7px!important;font-size:10px!important;
}
.sg-player-modern-v2228 .sg-player-stat-tiles>div{min-height:62px!important;padding:8px 4px!important}
.sg-player-modern-v2228 .sg-player-stat-tiles strong{font-size:17px!important;line-height:1!important}
.sg-player-modern-v2228 .sg-player-stat-tiles span{font-size:7.5px!important;margin-top:4px!important}

/* Panoramica: informazioni + ultime prestazioni come dashboard. */
.sg-player-modern-v2228 .sg-player-overview-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important}
/* Informazioni: ripristino della leggibilità precedente. Le due sezioni restano impilate,
   ma le tile tornano grandi e le bandiere non vengono più miniaturizzate. */
.sg-player-modern-v2228 .sg-player-info-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:14px!important}
.sg-player-modern-v2228 .sg-player-info-list>div{min-height:82px!important;padding:13px 14px!important;gap:6px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important}
.sg-player-modern-v2228 .sg-player-info-list>div>span:first-child{font-size:9px!important}
.sg-player-modern-v2228 .sg-player-info-list strong{font-size:14px!important;line-height:1.3!important;text-align:left!important}
.sg-player-modern-v2228 .sg-player-country-value{justify-content:flex-start!important;max-width:none!important;text-align:left!important;gap:8px!important}
.sg-player-modern-v2228 .sg-country-badge{min-height:32px!important;gap:9px!important;padding:3px 5px!important;border-radius:7px!important;font-size:13px!important}
.sg-player-modern-v2228 .sg-country-flag{flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:30px!important;font-size:28px!important;line-height:30px!important;overflow:visible!important}
.sg-player-modern-v2228 .sg-country-flag.is-fallback{font-size:23px!important}
.sg-player-modern-v2228 .sg-country-badge img{width:34px!important;height:22px!important;object-fit:cover!important;border-radius:2px!important}
.sg-player-modern-v2228 .sg-country-name,
.sg-player-modern-v2228 .sg-birth-place-name{font-size:13px!important;font-weight:800!important}
.sg-player-modern-v2228 .sg-player-birth-value{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important}

.sg-player-modern-v2228 .sg-player-recent-list{overflow:hidden!important}
.sg-player-modern-v2228 .sg-player-recent-item{
  min-height:52px!important;padding:7px 10px!important;gap:8px!important;border-bottom:1px solid var(--sg-line)!important;
}
.sg-player-modern-v2228 .sg-player-recent-item:last-child{border-bottom:0!important}
.sg-player-modern-v2228 .sg-player-recent-opponent img{width:27px!important;height:27px!important;object-fit:contain!important}
.sg-player-modern-v2228 .sg-player-recent-opponent strong{font-size:9.5px!important}
.sg-player-modern-v2228 .sg-player-recent-opponent small{font-size:7.5px!important}
.sg-player-modern-v2228 .sg-player-recent-numbers b{font-size:8px!important}
.sg-player-modern-v2228 .sg-player-result-badge{width:20px!important;height:20px!important;min-width:20px!important;font-size:7.5px!important;border-radius:6px!important}

/* Radar e andamento voto: meno spazio morto. */
.sg-player-modern-v2228 .sg-player-analytics-card{overflow:hidden!important}
.sg-player-modern-v2228 .sg-player-analytics-layout{gap:10px!important;padding:12px!important}
.sg-player-modern-v2228 .sg-player-analytics-card.is-compact .sg-player-analytics-layout{padding:10px 12px!important}
.sg-player-modern-v2228 .sg-radar-wrap{min-height:250px!important}
.sg-player-modern-v2228 .sg-player-radar{max-height:250px!important}

/* Statistiche: pannelli bassi, numeri leggibili. */
.sg-player-modern-v2228 .sg-player-stats-sections{gap:10px!important;padding:10px!important}
.sg-player-modern-v2228 .sg-player-stats-sections>div{border-radius:9px!important;overflow:hidden!important}
.sg-player-modern-v2228 .sg-player-stats-sections h3{min-height:36px!important;padding:0 10px!important;font-size:10px!important}
.sg-player-modern-v2228 .sg-player-metric-grid>span{min-height:62px!important;padding:10px 6px!important}
.sg-player-modern-v2228 .sg-player-metric-grid b{font-size:15px!important}
.sg-player-modern-v2228 .sg-player-metric-grid small{font-size:7.5px!important}

/* Partite del giocatore: righe evento compatte. */
.sg-player-modern-v2228 .sg-player-match-app{
  min-height:68px!important;padding:8px 10px!important;gap:9px!important;border-bottom:1px solid var(--sg-line)!important;
}
.sg-player-modern-v2228 .sg-player-match-app:last-child{border-bottom:0!important}
.sg-player-modern-v2228 .sg-player-match-date strong{font-size:9.5px!important}
.sg-player-modern-v2228 .sg-player-match-date small{font-size:7px!important}
.sg-player-modern-v2228 .sg-player-match-clubs img{width:20px!important;height:20px!important;object-fit:contain!important}
.sg-player-modern-v2228 .sg-player-match-clubs strong{font-size:9px!important}
.sg-player-modern-v2228 .sg-player-match-clubs b{font-size:10px!important}
.sg-player-modern-v2228 .sg-player-match-performance small{font-size:6.5px!important}
.sg-player-modern-v2228 .sg-player-match-performance b{font-size:8.5px!important}

/* Carriera, trasferimenti e infortuni: liste, non card editoriali. */
.sg-player-modern-v2228 .sg-player-career-row{
  grid-template-columns:40px minmax(0,1fr)!important;gap:9px!important;padding:9px 12px!important;
}
.sg-player-modern-v2228 .sg-player-career-logo{width:38px!important;height:38px!important;border-radius:8px!important}
.sg-player-modern-v2228 .sg-player-career-logo img{max-width:29px!important;max-height:29px!important}
.sg-player-modern-v2228 .sg-player-career-row strong{font-size:10px!important}
.sg-player-modern-v2228 .sg-player-career-row small{font-size:8px!important}
.sg-player-modern-v2228 .sg-player-transfer-static{min-height:54px!important;padding-top:8px!important;padding-bottom:8px!important}
.sg-player-modern-v2228 .sg-transfer-list>div{min-height:48px!important;padding-top:7px!important;padding-bottom:7px!important}

html[data-sg-theme="dark"] .sg-player-modern-v2228 .sg-player-profile-hero{
  background:linear-gradient(110deg,rgba(77,97,222,.12),var(--sg-surface) 70%)!important;
}

@media(max-width:760px){
  .sg-player-modern-v2228 .sg-player-info-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px!important;gap:8px!important}
  .sg-player-modern-v2228 .sg-player-info-list>div{min-height:72px!important;padding:10px 11px!important}
  .sg-player-modern-v2228 .sg-player-info-list strong{font-size:12.5px!important}
  .sg-player-modern-v2228 .sg-country-flag{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:26px!important;font-size:25px!important;line-height:26px!important}
  .sg-player-modern-v2228 .sg-country-badge img{width:30px!important;height:20px!important}
}
@media(max-width:460px){
  .sg-player-modern-v2228 .sg-player-info-list{grid-template-columns:1fr!important}
  .sg-player-modern-v2228 .sg-player-info-list>div{min-height:68px!important}
}

@media(max-width:900px){
  .sg-player-modern-v2228 .sg-player-overview-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .sg-player-modern-v2228 .sg-player-profile-hero{min-height:82px!important;padding:10px 11px!important;gap:9px!important}
  .sg-player-modern-v2228 .sg-player-profile-photo{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;border-radius:11px!important}
  .sg-player-modern-v2228 .sg-player-profile-copy h1{font-size:18px!important}
  .sg-player-modern-v2228 .sg-player-profile-copy>p{font-size:8.5px!important}
  .sg-player-modern-v2228 .sg-player-club-link{margin-top:5px!important;min-height:25px!important}
  .sg-player-modern-v2228 .sg-follow-btn{height:32px!important;min-height:32px!important;padding:0 9px!important}
  .sg-player-modern-v2228 .sg-profile-tabs{height:41px!important;min-height:41px!important;padding-inline:4px!important}
  .sg-player-modern-v2228 .sg-profile-tabs>a{height:40px!important;padding:0 9px!important;font-size:9px!important}
  .sg-player-modern-v2228 .sg-player-context-switch{align-items:flex-start!important;flex-direction:column!important;gap:6px!important}
  .sg-player-modern-v2228 .sg-player-context-switch>div{width:100%!important}
  .sg-player-modern-v2228 .sg-player-season-switcher{align-items:flex-start!important;gap:6px!important}
  .sg-player-modern-v2228 .sg-player-stat-tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .sg-player-modern-v2228 .sg-player-stat-tiles>div{min-height:56px!important}
  .sg-player-modern-v2228 .sg-player-stat-tiles strong{font-size:15px!important}
  .sg-player-modern-v2228 .sg-player-analytics-layout{grid-template-columns:1fr!important}
  .sg-player-modern-v2228 .sg-radar-wrap{min-height:220px!important}
  .sg-player-modern-v2228 .sg-player-radar{max-height:220px!important}
}
@media(max-width:520px){
  .sg-player-modern-v2228 .sg-follow-btn span{display:none!important}
  .sg-player-modern-v2228 .sg-follow-btn{width:34px!important;padding:0!important;justify-content:center!important}
  .sg-player-modern-v2228 .sg-player-profile-copy h1{max-width:190px!important}
  .sg-player-modern-v2228 .sg-player-stat-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sg-player-modern-v2228 .sg-player-stat-tiles>div:nth-child(2){border-right:0!important}
  .sg-player-modern-v2228 .sg-player-stat-tiles>div:nth-child(-n+2){border-bottom:1px solid var(--sg-line)!important}
  .sg-player-modern-v2228 .sg-player-match-app{grid-template-columns:44px minmax(0,1fr) auto!important}
  .sg-player-modern-v2228 .sg-player-match-performance>span{display:none!important}
}

/* === seriesagoal-layout-1300-v237.css === */
/* SG.21.32C — shell desktop 1300px + sidebar card naturale + icona risultati scoreboard.
   Base cumulativa: SG.21.31B/32B.

   
   Nessun override sui breakpoint tablet/mobile già esistenti. */

@media (min-width:1241px){
  .sg-topbar-inner,
  .sg-sportbar-inner,
  .sg-shell{
    width:100%;
    max-width:1300px !important;
    margin-left:auto;
    margin-right:auto;
  }

  .sg-topbar-inner{
    grid-template-columns:160px minmax(360px,480px) 1fr;
    gap:16px;
    padding-left:14px;
    padding-right:14px;
  }

  .sg-sportbar-inner{
    padding-left:14px;
    padding-right:14px;
  }

  .sg-shell{
    grid-template-columns:160px minmax(0,1fr);
    gap:14px;
    padding:16px 14px 34px;
  }

  .sg-content-grid{
    grid-template-columns:minmax(0,1fr) 268px;
    gap:14px;
    justify-content:stretch;
  }

  .sg-feed,
  .sg-main,
  .sg-right-rail{
    min-width:0;
  }

  /* Hub editoriali: stessa larghezza massima del prodotto. */
  .sg-page-news .sg-shell,
  .sg-page-pronostici .sg-shell,
  .sg-page-fantacalcio .sg-shell{
    grid-template-columns:minmax(0,1fr);
    max-width:1300px !important;
  }

  .sg-page-news .sg-news-layout,
  .sg-page-pronostici .sg-news-layout,
  .sg-page-fantacalcio .sg-news-layout{
    grid-template-columns:minmax(0,1fr) 268px;
    gap:14px;
  }

  .sg-page-account .sg-shell{
    grid-template-columns:minmax(0,1fr);
    max-width:1180px !important;
  }
}

/* Fascia laptop: usa il viewport senza comprimere la colonna centrale. */
@media (min-width:1121px) and (max-width:1240px){
  .sg-topbar-inner,
  .sg-sportbar-inner,
  .sg-shell{
    max-width:100%;
  }

  .sg-shell{
    grid-template-columns:154px minmax(0,1fr);
    gap:12px;
    padding-left:12px;
    padding-right:12px;
  }

  .sg-content-grid{
    grid-template-columns:minmax(0,1fr);
    justify-content:stretch;
  }

  .sg-right-rail{display:none}

  .sg-page-news .sg-shell,
  .sg-page-pronostici .sg-shell,
  .sg-page-fantacalcio .sg-shell{
    grid-template-columns:minmax(0,1fr);
    max-width:100%;
  }

  .sg-page-news .sg-news-layout,
  .sg-page-pronostici .sg-news-layout,
  .sg-page-fantacalcio .sg-news-layout{
    grid-template-columns:minmax(0,1fr);
  }

  .sg-page-news .sg-news-rail,
  .sg-page-pronostici .sg-news-rail,
  .sg-page-fantacalcio .sg-news-rail{
    display:none;
  }
}

/* Hero partita: orario/risultato/stato realmente centrati fra le due squadre.
   Corregge il vecchio align-items:start imposto dalla SG.21.7. */
@media (min-width:768px){
  .sg-page-partite .sg-match-stage{
    align-items:center !important;
    min-height:168px !important;
    padding-top:8px !important;
    padding-bottom:5px !important;
  }

  .sg-page-partite .sg-match-team{
    align-self:center;
  }

  .sg-page-partite .sg-match-score-center{
    align-self:center !important;
    justify-self:center;
    justify-content:center;
    margin:0 !important;
    padding:0 !important;
  }
}


/* SG.21.31B — compattezza verticale Match Center.
   Mantiene loghi, risultato, eventi e tab: elimina solo spazio vuoto. */
@media (min-width:768px){
  .sg-page-partite .sg-match-center-head{
    height:40px;
  }
  .sg-page-partite .sg-match-meta-line{
    min-height:24px;
    padding-top:0;
    padding-bottom:3px;
  }
  .sg-page-partite .sg-match-tabs{
    height:40px;
  }
  .sg-page-partite .sg-match-team strong{
    margin-top:4px;
  }
  .sg-page-partite .sg-match-team small{
    margin-top:2px;
  }
}

@media (max-width:767px){
  .sg-page-partite .sg-match-stage{
    min-height:138px !important;
    padding-top:8px !important;
    padding-bottom:5px !important;
    align-items:center !important;
  }
  .sg-page-partite .sg-match-meta-line{
    min-height:24px;
    padding-bottom:3px;
  }
  .sg-page-partite .sg-match-tabs{
    height:40px;
  }
}

/* =========================================================
   SG.21.32D — rail sinistro ancora più largo + centro riequilibrato
   Mantiene la shell desktop a 1300px e non cambia tablet/mobile.
   ========================================================= */
@media (min-width:1241px){
  /* Più presenza alla navigazione laterale: i pixel vengono sottratti
     esclusivamente al contenuto centrale, senza allargare la pagina. */
  body:not(.sg-page-news):not(.sg-page-pronostici):not(.sg-page-fantacalcio):not(.sg-page-account) .sg-shell{
    grid-template-columns:225px minmax(0,1fr);
  }

  /* Il rail diventa una vera card, coerente con le altre superfici.
     var(--sg-surface) e var(--sg-line) seguono automaticamente giorno/notte. */
  .sg-sidebar.sg-sidebar-competition-only{
    background:var(--sg-surface);
    border:1px solid var(--sg-line);
    border-radius:12px;
    box-shadow:var(--sg-shadow);
    padding:11px 9px 13px;
    top:116px;
    height:auto !important;
    max-height:calc(100vh - 132px);
    overflow:auto;
    overscroll-behavior:contain;
    align-self:start;
  }

  .sg-sidebar-competition-only .sg-sidebar-competitions{
    gap:9px;
  }

  /* Ora che la sidebar ha una superficie propria, gli hover usano il
     secondo livello della card invece di un'altra superficie bianca. */
  .sg-sidebar-competition-only .sg-sidebar-competition-link:hover,
  .sg-sidebar-competition-only .sg-sidebar-country>summary:hover,
  .sg-sidebar-competition-only .sg-sidebar-more-countries:hover{
    background:var(--sg-surface-2);
  }
}


/* SG.21.32C — la card laterale termina con l'ultima voce.
   max-height mantiene lo scroll solo quando il menu supera il viewport. */
@media (min-width:1241px){
  .sg-sidebar.sg-sidebar-competition-only{
    height:auto !important;
    min-height:0 !important;
    max-height:calc(100vh - 132px);
  }
}

/* =========================================================
   SG.21.33 — sottomenu mobile: una sola riga, più respiro verticale,
   allineamento uniforme di tutte le voci.
   Desktop invariato.
   ========================================================= */
@media (max-width:760px){
  /* La barra cresce di poco e il contenuto pagina viene compensato. */
  .sg-sportbar{
    top:54px !important;
    height:56px !important;
  }

  .sg-body{
    padding-top:110px !important; /* 54px topbar + 56px sportbar */
  }

  .sg-sportbar-inner{
    height:56px !important;
    min-height:56px !important;
    display:flex !important;
    align-items:center !important;
    padding-top:7px !important;
    padding-bottom:7px !important;
    padding-left:max(12px,env(safe-area-inset-left)) !important;
    padding-right:max(12px,env(safe-area-inset-right)) !important;
    overflow:hidden !important;
  }

  .sg-sportbar-main{
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:4px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch;
    scroll-padding-inline:4px;
    padding:0 !important;
  }

  .sg-sportbar-main::-webkit-scrollbar{
    display:none !important;
  }

  .sg-sportbar-main>a,
  .sg-sportbar-main>a:first-child{
    box-sizing:border-box !important;
    flex:0 0 auto !important;
    height:38px !important;
    min-height:38px !important;
    margin:0 !important;
    padding:0 13px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    line-height:1 !important;
    border-bottom:0 !important;
    border-radius:999px !important;
    vertical-align:middle !important;
  }

  .sg-sportbar-main>a:nth-child(n+5){
    display:inline-flex !important;
  }

  .sg-sportbar-main>a>span,
  .sg-sportbar-main>a>b,
  .sg-sportbar-main>a>.sg-svg{
    align-self:center !important;
    line-height:1 !important;
  }

  .sg-sportbar-main>a b{
    height:18px !important;
    min-width:18px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  .sg-sportbar-main>a.is-active{
    border-bottom:0 !important;
  }
}

@media (max-width:380px){
  .sg-sportbar-inner{
    padding-left:max(10px,env(safe-area-inset-left)) !important;
    padding-right:max(10px,env(safe-area-inset-right)) !important;
  }
  .sg-sportbar-main>a,
  .sg-sportbar-main>a:first-child{
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

/* === seriesagoal-ad-rail-v245.css === */
/* SG.21.45 — Rail AdSense desktop stabile SerieAGoal.
   300px reali per unità verticali; il centro non salta più a tutta larghezza
   mentre CMP/AdSense stanno inizializzando. */

@media (min-width:1241px){
  .sg-content-grid:has(> .sg-right-rail.sg-right-rail-ads){
    grid-template-columns:minmax(0,1fr) 300px !important;
    gap:14px !important;
    align-items:start;
  }
  .sg-news-layout:has(> .sg-right-rail.sg-right-rail-ads),
  .sg-page-pronostici .sg-news-layout:has(> .sg-right-rail.sg-right-rail-ads),
  .sg-page-fantacalcio .sg-news-layout:has(> .sg-right-rail.sg-right-rail-ads){
    grid-template-columns:minmax(0,1fr) 300px !important;
    gap:14px !important;
  }

  .sg-right-rail.sg-right-rail-ads{
    position:sticky;
    top:116px;
    align-self:start;
    display:block !important;
    box-sizing:border-box;
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
    min-height:600px;
    max-height:none;
    overflow:visible;
  }

  .sg-right-rail-ads .slr-google-ad,
  .sg-right-rail-ads .slr-google-ad-sidebar{
    box-sizing:border-box;
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
    min-height:600px;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  .sg-right-rail-ads .slr-google-ad-label{
    display:block;
    margin:0 0 7px;
    color:var(--sg-muted);
    font-size:9px;
    line-height:1;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:.08em;
  }
  .sg-right-rail-ads .slr-google-ad-stage,
  .sg-right-rail-ads .adsbygoogle{
    box-sizing:border-box;
    display:block !important;
    width:300px !important;
    min-width:300px !important;
    max-width:300px !important;
    min-height:600px !important;
    margin:0 auto !important;
    padding:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  .sg-right-rail-ad-placeholder{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    box-sizing:border-box;
    width:300px;
    min-height:600px;
    padding-top:6px;
    color:var(--sg-muted);
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.08em;
  }

  /* Se Premium elimina davvero la rail, il centro torna ad avere lo spazio. */
  .sg-content-grid:not(:has(> .sg-right-rail)){
    grid-template-columns:minmax(0,1fr) !important;
  }
}

@media (min-width:1121px) and (max-width:1240px){
  .sg-right-rail.sg-right-rail-ads{display:none !important}
}

/* === seriesagoal-footer-v251b.css === */
/* SG.21.51 — Footer full-width SerieAGoal, ispirato alla struttura editoriale dei grandi livescore. */
.sg-site-footer{
  --sgf-bg:#fff;
  --sgf-bg-soft:#f6f7f9;
  --sgf-text:#23313a;
  --sgf-muted:#69757f;
  --sgf-line:#e5e8eb;
  --sgf-accent:#3044c7;
  --sgf-live:#ff0a4f;
  position:relative;
  width:100%;
  max-width:none;
  margin:34px 0 0;
  border:0;
  border-top:8px solid var(--sgf-bg-soft);
  border-radius:0;
  background:var(--sgf-bg);
  color:var(--sgf-text);
  box-shadow:none;
  overflow:hidden;
}
[data-sg-theme="dark"] .sg-site-footer,
html[data-sg-theme="dark"] .sg-site-footer{
  --sgf-bg:#17191e;
  --sgf-bg-soft:#111318;
  --sgf-text:#f0f2f5;
  --sgf-muted:#a5adb7;
  --sgf-line:#30343b;
  --sgf-accent:#7f8dff;
}
.sg-site-footer a,.sg-site-footer button{font:inherit}
.sg-site-footer-main{max-width:1300px;margin:0 auto;padding:34px 30px 0}
.sg-site-footer-grid{
  display:grid;
  grid-template-columns:1.05fr 1.05fr 1.2fr 1.35fr;
  gap:52px;
  padding-bottom:34px;
}
.sg-site-footer-col{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.sg-site-footer-col>strong{
  margin-bottom:5px;
  color:var(--sgf-text);
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.sg-site-footer-col a,.sg-site-footer-col button,.sg-site-footer-col>span{
  max-width:100%;
  border:0;
  padding:0;
  color:var(--sgf-text);
  background:transparent;
  text-decoration:none;
  font-size:12.5px;
  line-height:1.35;
  font-weight:560;
  text-align:left;
  cursor:pointer;
  transition:color .16s ease,transform .16s ease;
}
.sg-site-footer-col a:hover,.sg-site-footer-col button:hover{color:var(--sgf-accent);transform:translateX(2px)}
.sg-site-footer-news a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
}
.sg-site-footer-live a{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
}
.sg-site-footer-live a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sg-site-footer-live a b{font-size:11.5px;color:var(--sgf-muted);font-variant-numeric:tabular-nums}
.sg-site-footer-live a b.is-live{color:var(--sgf-live);font-weight:900}

.sg-site-footer-secondary{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(320px,.9fr);
  gap:54px;
  padding:34px 0 0;
  border-top:1px solid var(--sgf-line);
}
.sg-site-footer-secondary-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(150px,1fr));
  gap:40px;
  padding-bottom:38px;
}
.sg-site-footer-follow>span{color:var(--sgf-muted);line-height:1.55}

.sg-footer-app{
  position:relative;
  min-height:280px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 178px;
  gap:20px;
  align-items:start;
  padding:2px 0 0 8px;
}
.sg-footer-app-copy{padding-top:2px}
.sg-footer-app-copy>strong{display:block;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.sg-footer-app-copy p{max-width:300px;margin:13px 0 16px;color:var(--sgf-muted);font-size:12.5px;line-height:1.55}
.sg-footer-app-install{
  min-height:40px;
  padding:0 16px;
  border:1px solid var(--sgf-text);
  border-radius:9px;
  color:var(--sgf-text);
  background:transparent;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.sg-footer-app-install:hover{background:var(--sgf-text);color:var(--sgf-bg)}
.sg-footer-phone{
  position:absolute;
  right:6px;
  bottom:-20px;
  width:174px;
  height:300px;
  padding:9px;
  border:5px solid #07131a;
  border-radius:30px 30px 0 0;
  background:#07131a;
  box-shadow:0 12px 30px rgba(0,0,0,.2);
}
.sg-footer-phone-speaker{position:absolute;z-index:2;top:8px;left:50%;width:34px;height:4px;border-radius:10px;background:#2d3a40;transform:translateX(-50%)}
.sg-footer-phone-screen{height:100%;padding:22px 9px 12px;border-radius:20px 20px 0 0;background:#f7f8fa;color:#10161b;overflow:hidden}
.sg-footer-phone-head{height:32px;display:grid;grid-template-columns:20px 1fr 20px;align-items:center;border-bottom:1px solid #dfe3e6;font-size:10px}
.sg-footer-phone-head b{text-align:center;color:#3044c7}
.sg-footer-phone-head i{width:13px;height:2px;background:#9aa2a9;box-shadow:0 4px 0 #9aa2a9,0 -4px 0 #9aa2a9}
.sg-footer-phone-head i:last-child{justify-self:end;width:12px;height:12px;border:1px solid #9aa2a9;border-radius:50%;box-shadow:none;background:transparent}
.sg-footer-phone-match{margin:14px 0 11px;padding:12px 9px;border:1px solid #e1e4e7;border-radius:10px;background:#fff;display:grid;grid-template-columns:1fr auto 1fr;gap:7px;align-items:center;text-align:center}
.sg-footer-phone-match small{grid-column:1/-1;color:#ff0a4f;font-size:7px;font-weight:900;letter-spacing:.1em}
.sg-footer-phone-match span{display:flex;align-items:center;justify-content:center;gap:5px;font-size:15px}
.sg-footer-phone-match span em{width:17px;height:17px;border-radius:50%;background:#3044c7}
.sg-footer-phone-match span:last-child em{background:#ff425f}
.sg-footer-phone-match strong{font-size:13px;color:#8a9299}
.sg-footer-phone-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:11px}
.sg-footer-phone-tabs i{height:5px;border-radius:8px;background:#d4d9dd}.sg-footer-phone-tabs i:first-child{background:#3044c7}
.sg-footer-phone-lines{display:grid;gap:8px}.sg-footer-phone-lines span{display:block;height:27px;border-radius:8px;background:linear-gradient(90deg,#e9ecef 0 24%,#f3f5f6 24% 100%)}

.sg-site-footer-legalbar{background:#061f2a;color:#eef7fa}
.sg-site-footer-legal-inner{
  max-width:1300px;
  min-height:94px;
  margin:0 auto;
  padding:18px 30px;
  display:grid;
  grid-template-columns:minmax(330px,.9fr) minmax(0,1.4fr);
  gap:38px;
  align-items:center;
}
.sg-footer-responsible{display:flex;align-items:center;gap:10px;min-width:0}
.sg-footer-18,.sg-footer-shield{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.5);border-radius:50%;color:#fff;font-size:12px;font-weight:950}
.sg-footer-shield{border-radius:10px}
.sg-footer-responsible>span:last-child{display:grid;gap:2px}.sg-footer-responsible strong{font-size:12px}.sg-footer-responsible small{color:#aebec5;font-size:9.5px;line-height:1.35}
.sg-site-footer-registration{display:grid;gap:4px;text-align:right}.sg-site-footer-registration strong{font-size:12px}.sg-site-footer-registration span{color:#b4c3ca;font-size:10px;line-height:1.4}
.sg-site-footer-copyright{
  max-width:1300px;
  margin:0 auto;
  padding:12px 30px 16px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#9fb1b9;
  font-size:9.5px;
}

@media (max-width:1100px){
  .sg-site-footer-main{padding-inline:24px}
  .sg-site-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 46px}
  .sg-site-footer-secondary{grid-template-columns:1fr;gap:20px}
  .sg-footer-app{min-height:245px;max-width:620px}
  .sg-site-footer-legal-inner{padding-inline:24px}
  .sg-site-footer-copyright{padding-inline:24px}
}
@media (max-width:720px){
  .sg-site-footer{margin-top:22px;border-top-width:6px;padding-bottom:70px}
  .sg-site-footer-main{padding:28px 18px 0}
  .sg-site-footer-grid{grid-template-columns:1fr 1fr;gap:30px 20px;padding-bottom:30px}
  .sg-site-footer-col{gap:10px}.sg-site-footer-col>strong{font-size:11px}.sg-site-footer-col a,.sg-site-footer-col button,.sg-site-footer-col>span{font-size:12px}
  .sg-site-footer-news,.sg-site-footer-live{grid-column:1/-1}
  .sg-site-footer-secondary{padding-top:28px}
  .sg-site-footer-secondary-links{grid-template-columns:1fr 1fr;gap:28px 20px;padding-bottom:26px}
  .sg-site-footer-follow{grid-column:1/-1}
  .sg-footer-app{min-height:320px;grid-template-columns:1fr;padding:0;border-top:1px solid var(--sgf-line);padding-top:26px}
  .sg-footer-app-copy{max-width:55%}
  .sg-footer-phone{right:8px;bottom:-16px;width:146px;height:255px}
  .sg-site-footer-legal-inner{grid-template-columns:1fr;gap:16px;padding:18px}
  .sg-site-footer-registration{text-align:left}
  .sg-site-footer-copyright{padding:12px 18px 18px;flex-direction:column;gap:5px}
}
@media (max-width:440px){
  .sg-site-footer-grid{grid-template-columns:1fr;gap:26px}
  .sg-site-footer-news,.sg-site-footer-live{grid-column:auto}
  .sg-site-footer-secondary-links{grid-template-columns:1fr 1fr}
  .sg-footer-app{min-height:350px}
  .sg-footer-app-copy{max-width:56%}
  .sg-footer-phone{width:138px;height:240px;right:0}
  .sg-footer-responsible{align-items:flex-start;flex-wrap:wrap}
  .sg-footer-responsible>span:last-child{width:100%}
}


/* SG.21.51 — logo reale nel mockup e fascia Gioco Responsabile con badge compatti. */
.sg-footer-phone-brand{min-width:0;display:flex;align-items:center;justify-content:center;height:24px;padding:0 4px;overflow:hidden}
.sg-footer-phone-brand img{display:block;max-width:100%;width:auto;height:18px;object-fit:contain}
.sg-footer-responsible{gap:14px}
.sg-footer-responsible-badges{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.sg-footer-resp-logo{height:40px;min-width:62px;padding:4px 7px;border:1px solid rgba(255,255,255,.48);border-radius:7px;color:#fff;text-decoration:none;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr 1fr;column-gap:5px;align-items:center;line-height:1}
.sg-footer-resp-logo svg{grid-row:1/-1}
.sg-footer-resp-logo b{font-size:10px;line-height:1;font-weight:950;letter-spacing:.02em}
.sg-footer-resp-logo small{font-size:6.5px;line-height:1.05;color:#c8d5da;font-weight:750;letter-spacing:.02em}
.sg-footer-resp-adm{min-width:88px;grid-template-columns:38px 1fr;background:rgba(255,255,255,.04)}
.sg-footer-resp-adm b{grid-row:1/-1;font-size:18px;letter-spacing:-.06em;align-self:center}
.sg-footer-resp-adm small{grid-column:2;grid-row:1/-1;align-self:center;font-size:6.4px;line-height:1.12}
.sg-footer-resp-adm:hover{background:rgba(255,255,255,.1);color:#fff}
.sg-footer-responsible-copy{display:grid;gap:2px;min-width:0}
.sg-footer-responsible-copy strong{font-size:12px}.sg-footer-responsible-copy small{color:#aebec5;font-size:9.5px;line-height:1.35}
@media (max-width:720px){
  .sg-footer-responsible{align-items:flex-start;flex-direction:column;gap:10px}
  .sg-footer-responsible-badges{flex-wrap:wrap}
  .sg-footer-responsible-copy{width:100%}
}

/* SG.21.51B — correzione logo telefono e loghi Gioca Responsabile forniti dall'utente. */
.sg-footer-phone-head{
  margin:-22px -9px 0;
  padding:22px 9px 0;
  height:54px;
  background:#07131a;
  border-bottom:1px solid rgba(255,255,255,.16);
}
.sg-footer-phone-head i{
  background:#dce6eb;
  box-shadow:0 4px 0 #dce6eb,0 -4px 0 #dce6eb;
}
.sg-footer-phone-head i:last-child{
  border-color:#dce6eb;
  background:transparent;
  box-shadow:none;
}
.sg-footer-phone-brand{height:28px;padding:0 5px}
.sg-footer-phone-brand img{height:20px;max-width:112px;filter:none}

.sg-footer-responsible{gap:14px}
.sg-footer-responsible-official{display:flex;align-items:center;gap:12px;flex:0 0 auto;min-width:0}
.sg-footer-responsible-official>strong{white-space:nowrap;font-size:13px;font-weight:700;color:#eef7fa}
.sg-footer-responsible-logos{display:flex;align-items:center;padding:5px 8px;border-radius:6px;background:#fff;line-height:0}
.sg-footer-responsible-logos img{display:block;width:auto;height:40px;max-width:150px;object-fit:contain}
.sg-footer-responsible-copy{min-width:180px}
.sg-footer-responsible-copy small{color:#aebec5;font-size:9.5px;line-height:1.35}
/* disattiva definitivamente i badge ricostruiti della 21.51 */
.sg-footer-responsible-badges,.sg-footer-resp-logo,.sg-footer-18{display:none!important}
@media (max-width:720px){
  .sg-footer-responsible-official{flex-wrap:wrap;gap:8px}
  .sg-footer-responsible-logos img{height:34px;max-width:138px}
  .sg-footer-responsible-copy{min-width:0;width:100%}
}

/* === pwa-install-v9421.css === */
/* SerieAGoal V9.421 — invito installazione Web App */
.slr-pwa-install-root{
  --pwa-bg:#fff;
  --pwa-panel:#f4f5f7;
  --pwa-text:#11151a;
  --pwa-muted:#596776;
  --pwa-line:#d8dee5;
  --pwa-accent:#0077bf;
  position:fixed;
  z-index:1700;
  inset:0;
  display:grid;
  place-items:end center;
  padding:18px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
html[data-slr-theme="dark"] .slr-pwa-install-root{
  --pwa-bg:#0d1014;
  --pwa-panel:#171b20;
  --pwa-text:#f7f8fa;
  --pwa-muted:#a8b1bc;
  --pwa-line:#323841;
  --pwa-accent:#179cff;
}
.slr-pwa-install-root[hidden]{display:none!important}
.slr-pwa-install-root.is-open{opacity:1;pointer-events:auto}
body.slr-pwa-install-open{overflow:hidden!important;overscroll-behavior:none}
.slr-pwa-install-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(4,6,9,.64);backdrop-filter:blur(5px);cursor:default}
.slr-pwa-install-sheet{
  position:relative;
  width:min(100%,560px);
  max-height:min(82dvh,720px);
  overflow:auto;
  padding:12px 22px calc(22px + env(safe-area-inset-bottom));
  border:1px solid var(--pwa-line);
  border-radius:28px;
  background:var(--pwa-bg);
  color:var(--pwa-text);
  box-shadow:0 28px 80px rgba(0,0,0,.34);
  transform:translateY(24px);
  transition:transform .2s ease;
  scrollbar-width:thin;
  overscroll-behavior:contain;
}
.slr-pwa-install-root.is-open .slr-pwa-install-sheet{transform:translateY(0)}
.slr-pwa-install-handle{display:block;width:42px;height:4px;margin:0 auto 12px;border-radius:999px;background:var(--pwa-line)}
.slr-pwa-install-close{position:absolute;top:18px;right:18px;display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--pwa-line);border-radius:50%;background:transparent;color:var(--pwa-text);font:700 25px/1 system-ui;cursor:pointer}
.slr-pwa-install-close:hover,.slr-pwa-install-close:focus-visible{background:var(--pwa-panel)}
.slr-pwa-install-brand{display:flex;align-items:center;gap:13px;padding-right:52px}
.slr-pwa-install-brand img{flex:none;width:58px;height:58px;border-radius:15px;box-shadow:0 8px 24px rgba(0,0,0,.15)}
.slr-pwa-install-brand span,.slr-pwa-install-eyebrow{display:block;color:var(--pwa-accent);font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.slr-pwa-install-brand strong{display:block;margin-top:3px;font-size:19px;letter-spacing:-.025em}
.slr-pwa-install-copy{margin-top:20px}
.slr-pwa-install-copy h2{margin:7px 0 8px;color:var(--pwa-text);font-size:clamp(28px,7vw,42px);line-height:1.03;letter-spacing:-.045em}
.slr-pwa-install-copy p{margin:0;color:var(--pwa-muted);font-size:16px;line-height:1.5}
.slr-pwa-install-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:20px}
.slr-pwa-install-benefits span{display:flex;min-width:0;align-items:center;gap:7px;padding:11px 10px;border:1px solid var(--pwa-line);border-radius:15px;background:var(--pwa-panel);color:var(--pwa-text);font-size:12px;font-weight:760;line-height:1.2}
.slr-pwa-install-benefits svg{flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.slr-pwa-install-ios,.slr-pwa-install-browser-help{margin-top:18px;padding:16px;border:1px solid var(--pwa-line);border-radius:18px;background:var(--pwa-panel)}
.slr-pwa-install-ios[hidden],.slr-pwa-install-browser-help[hidden]{display:none!important}
.slr-pwa-install-ios>strong,.slr-pwa-install-browser-help strong{display:block;margin-bottom:10px;font-size:16px}
.slr-pwa-install-ios ol{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.slr-pwa-install-ios li{display:grid;grid-template-columns:28px 1fr 24px;align-items:center;gap:10px;color:var(--pwa-muted);font-size:14px;line-height:1.35}
.slr-pwa-install-ios li b{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:var(--pwa-text);color:var(--pwa-bg);font-size:12px}
.slr-pwa-install-ios li em{color:var(--pwa-text);font-style:normal;font-weight:800}
.slr-pwa-install-ios svg{width:23px;height:23px;fill:none;stroke:var(--pwa-text);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.slr-pwa-install-browser-help p{margin:0;color:var(--pwa-muted);font-size:14px;line-height:1.45}
.slr-pwa-install-actions{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:10px;margin-top:20px}
.slr-pwa-install-actions button{min-height:52px;border-radius:999px;padding:12px 18px;font:800 15px/1.1 system-ui;cursor:pointer}
.slr-pwa-install-actions .is-primary{border:1px solid #0e1217;background:#0e1217;color:#fff}
html[data-slr-theme="dark"] .slr-pwa-install-actions .is-primary{border-color:#179cff;background:#179cff;color:#111}
.slr-pwa-install-actions .is-secondary{border:1px solid var(--pwa-line);background:transparent;color:var(--pwa-text)}
.slr-pwa-install-actions button:hover,.slr-pwa-install-actions button:focus-visible{filter:brightness(.94)}
.slr-pwa-install-actions button:focus-visible,.slr-pwa-install-close:focus-visible{outline:3px solid color-mix(in srgb,var(--pwa-accent) 55%,transparent);outline-offset:2px}
.slr-pwa-install-status{min-height:18px;margin:10px 0 0;color:var(--pwa-muted);font-size:12px;text-align:center}
.slr-pwa-install-status.is-error{color:#0068a8}

/* Voce permanente nel menu Altro. */
.slr-social-mobile-more-panel nav>button[data-slr-pwa-install-open]{
  display:flex;
  width:100%;
  align-items:center;
  gap:13px;
  padding:13px 12px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:760;
  text-align:left;
  cursor:pointer;
}
.slr-social-mobile-more-panel nav>button[data-slr-pwa-install-open]:active{background:rgba(255,255,255,.08)}
.slr-social-mobile-more-panel nav>button[data-slr-pwa-install-open] svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Richiamo permanente nelle impostazioni. */
.slr-pwa-settings-state{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid var(--slr-line,#dce1e6);border-radius:20px;background:var(--slr-surface-soft,#f6f7f8)}
.slr-pwa-settings-state>div{min-width:0}
.slr-pwa-settings-state strong{display:block;font-size:17px}
.slr-pwa-settings-state span{display:block;margin-top:5px;color:var(--slr-muted,#5d6874);line-height:1.45}
.slr-pwa-settings-state button{flex:none;border:0;border-radius:999px;background:#0e1217;color:#fff;padding:13px 18px;font:800 14px/1 system-ui;cursor:pointer}
html[data-slr-theme="dark"] .slr-pwa-settings-state button{background:#179cff;color:#111}
html[data-slr-pwa-installed="1"] [data-slr-pwa-install-open]{display:none!important}

@media(max-width:700px){
  .slr-pwa-install-root{padding:10px;align-items:end}
  .slr-pwa-install-sheet{width:100%;max-height:calc(88dvh - env(safe-area-inset-top));padding:10px 16px calc(17px + env(safe-area-inset-bottom));border-radius:24px}
  .slr-pwa-install-close{top:15px;right:15px}
  .slr-pwa-install-brand{padding-right:46px}
  .slr-pwa-install-brand img{width:52px;height:52px;border-radius:13px}
  .slr-pwa-install-copy{margin-top:16px}
  .slr-pwa-install-copy h2{font-size:31px}
  .slr-pwa-install-copy p{font-size:15px}
  .slr-pwa-install-benefits{grid-template-columns:1fr;gap:6px;margin-top:16px}
  .slr-pwa-install-benefits span{padding:9px 11px}
  .slr-pwa-install-actions{margin-top:16px}
  .slr-pwa-settings-state{align-items:flex-start;flex-direction:column}
  .slr-pwa-settings-state button{width:100%}
}
@media(max-width:380px){
  .slr-pwa-install-actions{grid-template-columns:1fr}
  .slr-pwa-install-sheet{max-height:91dvh}
}
@media(prefers-reduced-motion:reduce){
  .slr-pwa-install-root,.slr-pwa-install-sheet{transition:none!important}
}

/* V9.499 HF1 — contrasto Web App nelle Impostazioni, tema Notte. */
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-card{
  background:#111418!important;
  border-color:#2f3336!important;
  color:#f2f4f5!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-card>header{
  border-bottom-color:#2f3336!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-card>header h3{
  color:#f2f4f5!important;
  -webkit-text-fill-color:#f2f4f5!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-card>header p{
  color:#9aa4ae!important;
  -webkit-text-fill-color:#9aa4ae!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-state{
  border-color:#343a40!important;
  background:#0b0e11!important;
  color:#f5f7f8!important;
  -webkit-text-fill-color:#f5f7f8!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-state strong{
  color:#f5f7f8!important;
  -webkit-text-fill-color:#f5f7f8!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-state span{
  color:#a6afb9!important;
  -webkit-text-fill-color:#a6afb9!important;
}
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-state button,
html[data-slr-theme="dark"] body.slr-account-settings-page .slr-pwa-settings-state button:is(:hover,:focus,:focus-visible,:active){
  background:#179cff!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
}

/* === seriesagoal-network-v2242.css === */
/* SG.22.11 — Editorial Network */
.sg-network-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:10px;line-height:1;font-weight:800;letter-spacing:.02em;color:var(--sg-text,#152033)}
.sg-network-badge>span{padding:4px 6px;border-radius:999px;background:color-mix(in srgb,var(--sg-accent,#1f6feb) 11%,transparent);color:var(--sg-accent,#1f6feb);text-transform:uppercase;letter-spacing:.07em;font-size:8px}
.sg-network-badge>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.sg-network-badge.is-card,.sg-network-badge.is-flow{margin-top:5px}
.sg-network-badge.is-feature{margin:7px 0 2px}.sg-network-badge.is-article{font-size:11px}.sg-network-badge.is-article>b{font-size:11px}
.sg-network-sourcebar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 18px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--sg-border,#dfe5ec) 88%,transparent);border-radius:12px;background:color-mix(in srgb,var(--sg-accent,#1f6feb) 4%,var(--sg-card,#fff))}
.sg-network-sourcebar-copy{display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;min-width:0}.sg-network-sourcebar-copy>span{font-size:12px;line-height:1.45;color:var(--sg-muted,#657184)}
.sg-network-sourcebar>a,.sg-network-original-card>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:9px;padding:9px 11px;font-size:11px;font-weight:800;text-decoration:none;background:var(--sg-accent,#1f6feb);color:#fff}
.sg-network-original-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin-top:14px}.sg-network-original-card>div{display:grid;gap:3px}.sg-network-original-card small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--sg-muted,#657184)}.sg-network-original-card strong{font-size:15px}.sg-network-original-card span{font-size:12px;color:var(--sg-muted,#657184);line-height:1.45}
.sg-network-home{padding:0;overflow:hidden}.sg-network-home-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border-bottom:1px solid var(--sg-border,#e4e9ef)}.sg-network-home-head>div{display:flex;align-items:center;gap:10px}.sg-network-home-head small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:var(--sg-muted,#657184);font-weight:800}.sg-network-home-head h2{font-size:16px;line-height:1.15;margin:2px 0 0}.sg-network-home-head>a{font-size:11px;font-weight:800;text-decoration:none;color:var(--sg-accent,#1f6feb)}
.sg-network-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:950;letter-spacing:-.02em;background:var(--sg-text,#152033);color:var(--sg-card,#fff)}
.sg-network-home-grid{display:grid;grid-template-columns:1fr 1fr}.sg-network-home-grid .sg-editorial-card{border-radius:0;border:0;border-bottom:1px solid var(--sg-border,#e4e9ef)}.sg-network-home-grid .sg-editorial-card:nth-child(odd){border-right:1px solid var(--sg-border,#e4e9ef)}.sg-network-home-grid .sg-editorial-card:nth-last-child(-n+2){border-bottom:0}
[data-theme="dark"] .sg-network-mark{background:#f5f7fa;color:#121820}
@media(max-width:720px){.sg-network-sourcebar,.sg-network-original-card{align-items:flex-start;flex-direction:column}.sg-network-sourcebar>a,.sg-network-original-card>a{width:100%}.sg-network-home-grid{grid-template-columns:1fr}.sg-network-home-grid .sg-editorial-card:nth-child(odd){border-right:0}.sg-network-home-grid .sg-editorial-card:nth-last-child(2){border-bottom:1px solid var(--sg-border,#e4e9ef)}}

/* === seriesagoal-header-modern-v2221.css === */
/* SerieAGoal 2.2.21 — modern header, original SerieAGoal blue
   Scope rigoroso: solo topbar + menu globale. Nessuna regola su shell,
   main, feed, News, card, colonne o contenitori pagina. */

:root{
  --sg-header-modern:#3044c7;
  --sg-header-modern-hover:#293db8;
  --sg-header-modern-line:rgba(255,255,255,.14);
  --sg-header-modern-text:rgba(255,255,255,.84);
  --sg-header-modern-accent:#ffffff;
}

.sg-topbar{
  height:58px!important;
  background:var(--sg-header-modern)!important;
  box-shadow:0 1px 0 var(--sg-header-modern-line)!important;
}
.sg-topbar-inner{
  width:100%!important;
  max-width:1300px!important;
  height:58px!important;
  margin:0 auto!important;
  padding:0 14px!important;
  display:grid!important;
  grid-template-columns:160px auto minmax(150px,250px) auto!important;
  align-items:center!important;
  gap:14px!important;
}

/* Tre sole destinazioni principali. */
.sg-primary-nav.sg-primary-nav-modern{
  height:58px!important;
  display:flex!important;
  align-items:stretch!important;
  gap:0!important;
  min-width:0!important;
}
.sg-primary-nav.sg-primary-nav-modern>a{
  position:relative!important;
  height:58px!important;
  min-width:86px!important;
  padding:0 15px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--sg-header-modern-text)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:720!important;
  letter-spacing:-.05px!important;
  box-shadow:none!important;
  transition:color .15s ease,background-color .15s ease!important;
}
.sg-primary-nav.sg-primary-nav-modern>a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:0;
  height:3px;
  border-radius:3px 3px 0 0;
  background:transparent;
}
.sg-primary-nav.sg-primary-nav-modern>a:hover,
.sg-primary-nav.sg-primary-nav-modern>a:focus-visible{
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
  outline:none!important;
}
.sg-primary-nav.sg-primary-nav-modern>a.is-active{
  background:rgba(255,255,255,.035)!important;
  color:#fff!important;
}
.sg-primary-nav.sg-primary-nav-modern>a.is-active::after{
  background:var(--sg-header-modern-accent)!important;
}

/* Ricerca più compatta; la palette completa resta invariata. */
.sg-topbar .sg-search-launch{
  width:100%!important;
  max-width:250px!important;
  height:38px!important;
  justify-self:end!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.06)!important;
  color:#fff!important;
  grid-template-columns:19px minmax(0,1fr) auto!important;
  gap:8px!important;
  padding:0 10px!important;
  box-shadow:none!important;
}
.sg-topbar .sg-search-launch:hover,
.sg-topbar .sg-search-launch:focus-visible{
  border-color:rgba(255,255,255,.25)!important;
  background:rgba(255,255,255,.09)!important;
  outline:none!important;
}
.sg-topbar .sg-search-launch>span{
  color:rgba(255,255,255,.72)!important;
  font-size:11px!important;
  font-weight:650!important;
}
.sg-topbar .sg-search-launch kbd{
  height:21px!important;
  min-width:31px!important;
  border-radius:5px!important;
  background:rgba(255,255,255,.09)!important;
  color:rgba(255,255,255,.62)!important;
}

.sg-topbar .sg-top-actions{
  width:auto!important;
  height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:3px!important;
}
.sg-topbar .sg-top-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border:0!important;
  border-radius:8px!important;
  color:rgba(255,255,255,.83)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.sg-topbar .sg-top-icon:hover,
.sg-topbar .sg-top-icon:focus-visible{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  outline:none!important;
}
/* Il menu è ora un ingresso reale anche su desktop. */
.sg-topbar .sg-top-actions>.sg-mobile-menu-trigger{
  display:grid!important;
  place-items:center!important;
}
body.sg-mobile-menu-open .sg-topbar .sg-top-actions>.sg-mobile-menu-trigger{
  background:#fff!important;
  color:#151d26!important;
}
body.sg-mobile-menu-open .sg-mobile-menu-icon-open{display:none!important}
body.sg-mobile-menu-open .sg-mobile-menu-icon-close{display:grid!important}

/* Drawer globale. Riutilizza lo stesso markup/JS mobile, senza toccare le pagine. */
.sg-mobile-menu-overlay{
  position:fixed!important;
  top:58px!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  z-index:520!important;
  display:block!important;
  pointer-events:none!important;
}
.sg-mobile-menu-overlay[hidden]{display:none!important}
.sg-mobile-menu-overlay.is-open{pointer-events:auto!important}
.sg-mobile-menu-backdrop{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  border:0!important;
  background:rgba(6,10,15,.58)!important;
  opacity:0!important;
  cursor:pointer!important;
  transition:opacity .18s ease!important;
  backdrop-filter:blur(1px)!important;
}
.sg-mobile-menu-overlay.is-open .sg-mobile-menu-backdrop{opacity:1!important}
.sg-mobile-menu-drawer{
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  width:min(430px,92vw)!important;
  max-width:100%!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  background:var(--sg-surface)!important;
  color:var(--sg-text)!important;
  border-left:1px solid var(--sg-line)!important;
  box-shadow:-22px 0 60px rgba(0,0,0,.24)!important;
  transform:translateX(104%)!important;
  opacity:1!important;
  transition:transform .2s ease!important;
}
.sg-mobile-menu-overlay.is-open .sg-mobile-menu-drawer{transform:none!important}
.sg-mobile-menu-head{
  min-height:64px!important;
  padding:9px 14px 9px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  background:var(--sg-surface)!important;
  color:var(--sg-text)!important;
  border-bottom:1px solid var(--sg-line)!important;
}
.sg-mobile-menu-head>div{display:flex!important;flex-direction:column!important;gap:3px!important}
.sg-mobile-menu-head span{font-size:9px!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:var(--sg-muted)!important}
.sg-mobile-menu-head strong{font-size:19px!important;line-height:1!important;letter-spacing:-.35px!important}
.sg-mobile-menu-head>button{
  width:36px!important;height:36px!important;border:0!important;border-radius:8px!important;
  background:var(--sg-surface-2)!important;color:var(--sg-text)!important;font-size:25px!important;
  line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;
}
.sg-mobile-menu-scroll{
  flex:1!important;
  min-height:0!important;
  overflow:auto!important;
  padding:12px 14px 28px!important;
  background:var(--sg-surface)!important;
}
.sg-mobile-utility{
  display:grid!important;
  grid-template-columns:1fr!important;
  margin:0 0 12px!important;
  padding:4px!important;
  border:1px solid var(--sg-line)!important;
  border-radius:10px!important;
  background:var(--sg-surface-2)!important;
  overflow:hidden!important;
}
.sg-mobile-utility>a,.sg-mobile-utility>button{
  min-height:46px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:9px!important;
  padding:0 9px!important;
  border:0!important;
  border-bottom:1px solid var(--sg-line)!important;
  background:transparent!important;
  color:var(--sg-text)!important;
  text-align:left!important;
}
.sg-mobile-utility>a:last-child,.sg-mobile-utility>button:last-child{border-bottom:0!important}
.sg-mobile-utility strong{font-size:13px!important;font-weight:700!important}
.sg-mobile-utility-icon{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;color:var(--sg-muted)!important}

.sg-mobile-menu-section{
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.sg-mobile-menu-section>header{
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 3px!important;
  color:var(--sg-muted)!important;
}
.sg-mobile-menu-section>header strong{
  font-size:10px!important;
  font-weight:820!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.sg-mobile-section-links{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px!important;
}
.sg-mobile-section-links>a{
  min-height:50px!important;
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr) 15px!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 9px!important;
  border:1px solid var(--sg-line)!important;
  border-radius:9px!important;
  background:var(--sg-surface)!important;
  color:var(--sg-text)!important;
  text-decoration:none!important;
}
.sg-mobile-section-links>a:hover,.sg-mobile-section-links>a:focus-visible{
  background:var(--sg-surface-2)!important;
  outline:none!important;
}
.sg-mobile-section-links>a.is-active{
  border-color:color-mix(in srgb,var(--sg-accent) 42%,var(--sg-line))!important;
  background:color-mix(in srgb,var(--sg-accent) 8%,var(--sg-surface))!important;
  color:var(--sg-accent)!important;
}
.sg-mobile-section-icon{
  width:31px!important;height:31px!important;border:0!important;border-radius:7px!important;
  background:var(--sg-surface-2)!important;display:grid!important;place-items:center!important;
}
.sg-mobile-section-links>a strong{font-size:12px!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.sg-mobile-section-links>a>.sg-svg:last-child{color:var(--sg-muted)!important}

/* I blocchi competizioni/squadre già esistenti restano funzionali, solo più ordinati nel drawer. */
.sg-mobile-menu-drawer .sg-mobile-featured-list,
.sg-mobile-menu-drawer .sg-mobile-team-list{display:grid!important;gap:3px!important}
.sg-mobile-menu-drawer .sg-mobile-featured-row,
.sg-mobile-menu-drawer .sg-mobile-team-list>a,
.sg-mobile-menu-drawer .sg-mobile-empty-action,
.sg-mobile-menu-drawer .sg-mobile-menu-more{border-radius:8px!important}

html[data-sg-theme="dark"] .sg-mobile-menu-drawer,
html[data-sg-theme="dark"] .sg-mobile-menu-head,
html[data-sg-theme="dark"] .sg-mobile-menu-scroll{background:#14191f!important}
html[data-sg-theme="dark"] .sg-mobile-utility{background:#191f26!important}


/* 2.2.17 — Drawer hardening desktop/tablet.
   Le vecchie regole per featured competitions/team erano solo mobile;
   qui vengono rese valide a ogni breakpoint per impedire immagini/flag giganti. */
.sg-mobile-menu-drawer .sg-mobile-featured-list,
.sg-mobile-menu-drawer .sg-mobile-team-list{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}
.sg-mobile-menu-drawer .sg-mobile-featured-row{
  min-height:48px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 40px!important;
  align-items:center!important;
  gap:4px!important;
  min-width:0!important;
}
.sg-mobile-menu-drawer .sg-mobile-featured-row>a{
  min-width:0!important;
  min-height:48px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 5px!important;
  color:var(--sg-text)!important;
  text-decoration:none!important;
}
.sg-mobile-menu-drawer .sg-mobile-featured-row>a strong,
.sg-mobile-menu-drawer .sg-mobile-team-list>a strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:700!important;
}
.sg-mobile-menu-drawer .sg-mobile-comp-media,
.sg-mobile-menu-drawer .sg-mobile-team-media{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border-radius:6px!important;
  background:var(--sg-surface-2)!important;
}
.sg-mobile-menu-drawer .sg-mobile-comp-media img,
.sg-mobile-menu-drawer .sg-mobile-team-media img{
  display:block!important;
  width:24px!important;
  height:24px!important;
  min-width:0!important;
  min-height:0!important;
  max-width:24px!important;
  max-height:24px!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.sg-mobile-menu-drawer .sg-mobile-comp-media img{height:20px!important;max-height:20px!important}
.sg-mobile-menu-drawer .sg-mobile-pin{
  position:relative!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--sg-muted)!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
.sg-mobile-menu-drawer .sg-mobile-pin:hover,
.sg-mobile-menu-drawer .sg-mobile-pin:focus-visible{
  background:var(--sg-surface-2)!important;
  color:var(--sg-accent)!important;
  outline:none!important;
}
.sg-mobile-menu-drawer .sg-mobile-pin.is-following{color:var(--sg-accent)!important}
.sg-mobile-menu-drawer .sg-mobile-pin>span{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
.sg-mobile-menu-drawer .sg-mobile-team-list>a{
  min-width:0!important;
  min-height:48px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 16px!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 5px!important;
  color:var(--sg-text)!important;
  text-decoration:none!important;
}
.sg-mobile-menu-drawer .sg-mobile-team-list>a>.sg-svg{color:var(--sg-muted)!important}
.sg-mobile-menu-drawer .sg-mobile-menu-more,
.sg-mobile-menu-drawer .sg-mobile-empty-action{
  min-width:0!important;
  min-height:44px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 5px!important;
  color:var(--sg-accent)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:720!important;
  text-decoration:none!important;
  border-top:1px solid var(--sg-line)!important;
  margin-top:3px!important;
}
.sg-mobile-menu-drawer .sg-mobile-empty-action{color:var(--sg-text)!important;border-top:0!important}
.sg-mobile-menu-drawer .sg-mobile-menu-more>.sg-svg,
.sg-mobile-menu-drawer .sg-mobile-empty-action>.sg-svg{justify-self:end!important;color:var(--sg-muted)!important}

/* Ultima cintura di sicurezza: nessuna immagine contenuta nel drawer può
   espandere la geometria del menu oltre la propria cella. */
.sg-mobile-menu-drawer img{
  max-width:100%!important;
  max-height:100%!important;
}

@media(max-width:1120px) and (min-width:761px){
  .sg-topbar-inner{
    grid-template-columns:145px auto minmax(44px,180px) auto!important;
    gap:8px!important;
    padding-inline:12px!important;
  }
  .sg-primary-nav.sg-primary-nav-modern>a{min-width:72px!important;padding-inline:10px!important;font-size:11px!important}
  .sg-topbar .sg-search-launch kbd{display:none!important}
}

@media(max-width:900px) and (min-width:761px){
  .sg-topbar-inner{grid-template-columns:140px auto 42px auto!important}
  .sg-topbar .sg-search-launch{width:38px!important;height:38px!important;grid-template-columns:1fr!important;padding:0!important;place-items:center!important}
  .sg-topbar .sg-search-launch>span,.sg-topbar .sg-search-launch kbd{display:none!important}
}

@media(max-width:760px){
  .sg-topbar{height:54px!important}
  .sg-topbar-inner{
    height:54px!important;
    grid-template-columns:minmax(0,1fr) 38px auto!important;
    gap:6px!important;
    padding-left:max(11px,env(safe-area-inset-left))!important;
    padding-right:max(11px,env(safe-area-inset-right))!important;
  }
  .sg-primary-nav.sg-primary-nav-modern{display:none!important}
  .sg-topbar .sg-search-launch{
    grid-column:2!important;
    width:38px!important;height:38px!important;min-width:38px!important;
    padding:0!important;border:0!important;border-radius:8px!important;
    grid-template-columns:1fr!important;place-items:center!important;
    background:rgba(255,255,255,.07)!important;
  }
  .sg-topbar .sg-search-launch>span,.sg-topbar .sg-search-launch kbd{display:none!important}
  .sg-topbar .sg-top-actions{
    grid-column:3!important;height:38px!important;width:auto!important;gap:2px!important;
  }
  .sg-topbar .sg-top-actions>.sg-top-icon{display:none!important}
  .sg-topbar .sg-top-actions>.sg-top-icon:nth-child(2),
  .sg-topbar .sg-top-actions>.sg-mobile-menu-trigger{
    display:grid!important;width:38px!important;height:38px!important;min-width:38px!important;border-radius:8px!important;
  }
  .sg-mobile-menu-overlay{top:54px!important}
  .sg-mobile-menu-drawer{
    right:0!important;left:auto!important;width:min(92vw,390px)!important;
    padding-left:0!important;
  }
  .sg-mobile-menu-scroll{padding:10px 10px calc(22px + env(safe-area-inset-bottom))!important}
  .sg-mobile-section-links{grid-template-columns:1fr!important;gap:3px!important}
  .sg-mobile-section-links>a{min-height:48px!important}
}

/* === seriesagoal-context-nav-v2218.css === */
/* SerieAGoal 2.2.18 — contextual second navigation. Scope: sportbar only. */
.sg-contextbar{background:var(--sg-surface,#fff);color:var(--sg-text,#171a21);border-top:0;border-bottom:1px solid var(--sg-line,#e4e7ec);box-shadow:none}
html[data-sg-theme="dark"] .sg-contextbar{background:#121920;color:#eef2f5;border-bottom-color:rgba(255,255,255,.08)}
.sg-contextbar-inner{align-items:center;overflow:hidden}
.sg-contextbar-nav{display:flex;align-items:center;gap:4px;min-width:0;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0 2px}
.sg-contextbar-nav::-webkit-scrollbar{display:none}
.sg-contextbar .sg-contextbar-link{height:32px;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border:0;border-radius:7px;color:var(--sg-muted,#667085);font-size:11.5px;font-weight:780;line-height:1;white-space:nowrap;background:transparent;transition:background .16s ease,color .16s ease}
html[data-sg-theme="dark"] .sg-contextbar .sg-contextbar-link{color:#9ca9b4}
.sg-contextbar .sg-contextbar-link:hover{background:rgba(48,68,199,.08);color:var(--sg-text,#171a21)}
html[data-sg-theme="dark"] .sg-contextbar .sg-contextbar-link:hover{background:rgba(255,255,255,.07);color:#fff}
.sg-contextbar .sg-contextbar-link.is-active{background:rgba(48,68,199,.11);color:var(--sg-accent,#3044c7);box-shadow:inset 0 0 0 1px rgba(48,68,199,.13)}
html[data-sg-theme="dark"] .sg-contextbar .sg-contextbar-link.is-active{background:rgba(114,132,255,.14);color:#fff;box-shadow:inset 0 0 0 1px rgba(141,154,255,.15)}
.sg-contextbar .sg-contextbar-link b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:rgba(102,112,133,.11);font-size:9px;font-weight:800;color:inherit}
.sg-contextbar .sg-contextbar-link svg{width:15px!important;height:15px!important;flex:0 0 15px}
.sg-context-live-dot{width:7px;height:7px;border-radius:50%;background:#e31b36;box-shadow:0 0 0 3px rgba(227,27,54,.12);flex:0 0 7px}
.sg-contextbar .sg-contextbar-link.is-live.is-active{color:#d91532;background:rgba(227,27,54,.08);box-shadow:inset 0 0 0 1px rgba(227,27,54,.12)}
html[data-sg-theme="dark"] .sg-contextbar .sg-contextbar-link.is-live.is-active{color:#ff7185;background:rgba(227,27,54,.11)}
@media(max-width:760px){
  .sg-contextbar-inner{padding:0 7px!important;overflow:hidden}
  .sg-contextbar-nav{gap:3px;padding-right:12px}
  .sg-contextbar .sg-contextbar-link{display:inline-flex!important;height:30px;padding:0 10px;font-size:10.5px;border-radius:6px}
  .sg-contextbar .sg-contextbar-link:nth-child(n+5){display:inline-flex!important}
}

/* === seriesagoal-light-contrast-v2220.css === */
/* SerieAGoal 2.2.20 — contrast guardrail for the modern header/context navigation.
   No page widths, grids or News content are modified here. */
html[data-sg-theme="light"] .sg-contextbar{
  background:#fff!important;
  color:#202126!important;
  border-bottom-color:#dfe3e8!important;
}
html[data-sg-theme="light"] .sg-contextbar .sg-contextbar-link{
  color:#515b68!important;
}
html[data-sg-theme="light"] .sg-contextbar .sg-contextbar-link:hover,
html[data-sg-theme="light"] .sg-contextbar .sg-contextbar-link:focus-visible{
  background:#f1f3f7!important;
  color:#181c22!important;
}
html[data-sg-theme="light"] .sg-contextbar .sg-contextbar-link.is-active{
  background:#eef0ff!important;
  color:#3044c7!important;
  box-shadow:inset 0 0 0 1px #d9defd!important;
}
html[data-sg-theme="light"] .sg-contextbar .sg-contextbar-link b{
  background:#e9edf2!important;
  color:#4b5563!important;
  opacity:1!important;
}
html[data-sg-theme="light"] .sg-contextbar .sg-contextbar-link.is-live{
  color:#c91d35!important;
}
html[data-sg-theme="light"] .sg-context-live-dot{
  background:#df1f3a!important;
  box-shadow:0 0 0 3px rgba(223,31,58,.13)!important;
}

/* === seriesagoal-directories-modern-v2236.css === */
/* SerieAGoal 2.2.36 — directory pages modern phase 11.
   Scope rigoroso: solo wrapper .sg-directory-modern-v2236 delle directory.
   Nessun effetto sui single, News, Home o Match Page. */
.sg-directory-modern-v2236{
  --sg-dir-radius:10px;
  --sg-dir-gap:10px;
}
.sg-directory-modern-v2236 .sg-feed{
  min-width:0;
  display:grid;
  gap:var(--sg-dir-gap);
}
.sg-directory-modern-v2236 .sg-card{
  margin:0!important;
  border-radius:var(--sg-dir-radius)!important;
  box-shadow:none!important;
}

/* Intro directory: informativa, non hero. */
.sg-directory-modern-v2236 .sg-page-intro{
  min-height:0!important;
  margin:0!important;
  padding:11px 13px!important;
  border:1px solid var(--sg-line)!important;
  border-radius:var(--sg-dir-radius)!important;
  background:var(--sg-surface)!important;
  box-shadow:none!important;
  align-items:center!important;
}
.sg-directory-modern-v2236 .sg-page-intro>div{min-width:0}
.sg-directory-modern-v2236 .sg-page-intro .sg-kicker{
  margin:0 0 2px!important;
  font-size:8px!important;
  letter-spacing:.1em!important;
  color:var(--sg-accent)!important;
}
.sg-directory-modern-v2236 .sg-page-intro h1{
  margin:0!important;
  font-size:20px!important;
  line-height:1.08!important;
  letter-spacing:-.4px!important;
}
.sg-directory-modern-v2236 .sg-page-intro p{
  margin:4px 0 0!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  color:var(--sg-muted)!important;
}
.sg-directory-modern-v2236 .sg-page-intro>svg{width:26px!important;height:26px!important;color:var(--sg-accent)!important}
.sg-directory-modern-v2236 .sg-page-intro-logo{width:38px!important;height:38px!important;object-fit:contain!important}

/* Titoli sezione uniformi. */
.sg-directory-modern-v2236 .sg-card-title{
  min-height:40px!important;
  padding:0 11px!important;
  border-bottom:1px solid var(--sg-line)!important;
}
.sg-directory-modern-v2236 .sg-card-title>span{font-size:11px!important;font-weight:820!important}
.sg-directory-modern-v2236 .sg-card-title>small{font-size:8.5px!important;color:var(--sg-muted)!important}

/* Search e filtri condivisi. */
.sg-directory-modern-v2236 .sg-entity-search,
.sg-directory-modern-v2236 .sg-player-directory-tools,
.sg-directory-modern-v2236 .sg-player-scope-tools,
.sg-directory-modern-v2236 .sg-competition-finder{
  padding:10px!important;
  border:1px solid var(--sg-line)!important;
  background:var(--sg-surface)!important;
}
.sg-directory-modern-v2236 .sg-entity-search form,
.sg-directory-modern-v2236 .sg-player-filter-form{
  gap:7px!important;
  align-items:center!important;
}
.sg-directory-modern-v2236 .sg-entity-search label,
.sg-directory-modern-v2236 .sg-player-search,
.sg-directory-modern-v2236 .sg-competition-finder-search{
  min-height:38px!important;
  height:38px!important;
  border:1px solid var(--sg-line)!important;
  border-radius:8px!important;
  background:var(--sg-surface-2)!important;
  box-shadow:none!important;
}
.sg-directory-modern-v2236 .sg-entity-search input,
.sg-directory-modern-v2236 .sg-player-search input,
.sg-directory-modern-v2236 .sg-competition-finder-search input{
  height:36px!important;
  font-size:10.5px!important;
  color:var(--sg-text)!important;
}
.sg-directory-modern-v2236 .sg-entity-search button,
.sg-directory-modern-v2236 .sg-player-filter-form button,
.sg-directory-modern-v2236 .sg-player-filter-form>a{
  min-height:38px!important;
  height:38px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:9.5px!important;
  font-weight:800!important;
}

/* COMPETIZIONI */
.sg-directory-competitions .sg-competition-finder{display:grid!important;gap:8px!important}
.sg-directory-competitions .sg-competition-finder-filters{gap:8px!important;align-items:end!important}
.sg-directory-competitions .sg-competition-type-filter{gap:4px!important}
.sg-directory-competitions .sg-competition-type-filter button{
  min-height:30px!important;height:30px!important;padding:0 10px!important;border-radius:7px!important;
  font-size:9px!important;font-weight:780!important;
}
.sg-directory-competitions .sg-competition-country-filter{gap:3px!important}
.sg-directory-competitions .sg-competition-country-filter>span{font-size:8px!important;color:var(--sg-muted)!important;font-weight:800!important}
.sg-directory-competitions .sg-competition-country-filter select{
  height:32px!important;min-height:32px!important;border-radius:7px!important;font-size:9.5px!important;
  background:var(--sg-surface-2)!important;color:var(--sg-text)!important;border:1px solid var(--sg-line)!important;
}
.sg-directory-competitions .sg-competition-finder-meta{min-height:24px!important;font-size:8.5px!important}
.sg-directory-competitions .sg-competition-search-results{overflow:hidden!important}
.sg-directory-competitions .sg-competition-search-row{
  min-height:56px!important;padding:7px 10px!important;gap:10px!important;border-bottom:1px solid var(--sg-line)!important;
  background:var(--sg-surface)!important;
}
.sg-directory-competitions .sg-competition-search-row:last-child{border-bottom:0!important}
.sg-directory-competitions .sg-competition-search-row:hover{background:var(--sg-surface-2)!important}
.sg-directory-competitions .sg-competition-search-logo{
  width:38px!important;height:38px!important;min-width:38px!important;border-radius:9px!important;
  border:1px solid var(--sg-line)!important;background:#fff!important;
}
.sg-directory-competitions .sg-competition-search-logo img{width:29px!important;height:29px!important;object-fit:contain!important}
.sg-directory-competitions .sg-competition-search-copy strong{font-size:10.5px!important}
.sg-directory-competitions .sg-competition-search-copy small{font-size:8.5px!important;color:var(--sg-muted)!important}

/* SQUADRE */
.sg-directory-teams .sg-teams-card{overflow:hidden!important}
.sg-directory-teams .sg-team-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1px!important;
  background:var(--sg-line)!important;
  padding:0!important;
}
.sg-directory-teams .sg-team-tile{
  min-height:64px!important;padding:8px 10px!important;border:0!important;border-radius:0!important;
  background:var(--sg-surface)!important;box-shadow:none!important;
  display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  column-gap:9px!important;align-items:center!important;text-align:left!important;
}
.sg-directory-teams .sg-team-tile:hover{background:var(--sg-surface-2)!important}
.sg-directory-teams .sg-team-logo-wrap{
  grid-row:1/3!important;width:40px!important;height:40px!important;min-width:40px!important;
  border-radius:9px!important;background:#fff!important;border:1px solid var(--sg-line)!important;
}
.sg-directory-teams .sg-team-logo-wrap img{width:32px!important;height:32px!important;object-fit:contain!important}
.sg-directory-teams .sg-team-tile strong{font-size:10px!important;line-height:1.15!important;min-width:0!important}
.sg-directory-teams .sg-team-tile small{font-size:8px!important;color:var(--sg-muted)!important;min-width:0!important}

/* GIOCATORI */
.sg-directory-players .sg-player-scope-tools{display:grid!important;gap:8px!important}
.sg-directory-players .sg-player-ranking-nav{
  min-height:38px!important;padding:4px!important;display:flex!important;gap:3px!important;overflow-x:auto!important;
}
.sg-directory-players .sg-player-ranking-nav a{
  min-height:30px!important;height:30px!important;padding:0 10px!important;border-radius:7px!important;
  font-size:9px!important;white-space:nowrap!important;
}
.sg-directory-players .sg-player-filter-form select{
  min-height:38px!important;height:38px!important;border-radius:8px!important;font-size:9.5px!important;
  background:var(--sg-surface-2)!important;color:var(--sg-text)!important;border:1px solid var(--sg-line)!important;
}
.sg-directory-players .sg-directory-summary{padding-top:7px!important;border-top:1px solid var(--sg-line)!important;gap:4px!important}
.sg-directory-players .sg-directory-summary strong{font-size:14px!important}
.sg-directory-players .sg-directory-summary span{font-size:8.5px!important;color:var(--sg-muted)!important}
.sg-directory-players .sg-player-team-group{overflow:hidden!important}
.sg-directory-players .sg-player-team-head{min-height:46px!important;padding:0 10px!important;border-bottom:1px solid var(--sg-line)!important}
.sg-directory-players .sg-player-team-head>a{gap:8px!important}
.sg-directory-players .sg-player-team-head img{width:28px!important;height:28px!important;object-fit:contain!important}
.sg-directory-players .sg-player-team-head strong{font-size:10.5px!important}
.sg-directory-players .sg-player-team-head small{font-size:8px!important;color:var(--sg-muted)!important}
.sg-directory-players .sg-player-directory-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1px!important;background:var(--sg-line)!important;padding:0!important;
}
.sg-directory-players .sg-player-directory-card{
  min-height:58px!important;padding:6px 9px!important;gap:8px!important;border:0!important;border-radius:0!important;
  background:var(--sg-surface)!important;box-shadow:none!important;
}
.sg-directory-players .sg-player-directory-card:hover{background:var(--sg-surface-2)!important}
.sg-directory-players .sg-player-directory-photo{
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:50%!important;
  background:var(--sg-surface-2)!important;overflow:hidden!important;
}
.sg-directory-players .sg-player-directory-photo img{width:100%!important;height:100%!important;object-fit:cover!important}
.sg-directory-players .sg-player-directory-copy strong{font-size:9.8px!important}
.sg-directory-players .sg-player-directory-copy small{font-size:7.8px!important;color:var(--sg-muted)!important}
.sg-directory-players .sg-full-player-ranking{overflow:hidden!important}
.sg-directory-players .sg-full-ranking-head,
.sg-directory-players .sg-full-player-ranking>a{min-height:46px!important;padding:0 9px!important;font-size:9px!important}
.sg-directory-players .sg-full-ranking-player i{width:30px!important;height:30px!important}
.sg-directory-players .sg-full-ranking-team img{width:20px!important;height:20px!important}

/* ALLENATORI */
.sg-directory-coaches .sg-entity-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1px!important;
  padding:0!important;background:var(--sg-line)!important;
}
.sg-directory-coaches .sg-entity-card{
  min-height:64px!important;padding:7px 9px!important;gap:9px!important;border:0!important;border-radius:0!important;
  background:var(--sg-surface)!important;box-shadow:none!important;
}
.sg-directory-coaches .sg-entity-card:hover{background:var(--sg-surface-2)!important}
.sg-directory-coaches .sg-entity-avatar{
  width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;
  background:var(--sg-surface-2)!important;overflow:hidden!important;
}
.sg-directory-coaches .sg-entity-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
.sg-directory-coaches .sg-entity-card strong{font-size:10px!important}
.sg-directory-coaches .sg-entity-card small{font-size:8px!important;color:var(--sg-muted)!important}

/* STADI */
.sg-directory-venues .sg-venue-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1px!important;
  padding:0!important;background:var(--sg-line)!important;
}
.sg-directory-venues .sg-venue-card{
  min-height:72px!important;padding:7px!important;gap:9px!important;border:0!important;border-radius:0!important;
  background:var(--sg-surface)!important;box-shadow:none!important;display:grid!important;
  grid-template-columns:88px minmax(0,1fr)!important;align-items:center!important;
}
.sg-directory-venues .sg-venue-card:hover{background:var(--sg-surface-2)!important}
.sg-directory-venues .sg-venue-thumb{
  width:88px!important;height:58px!important;min-width:88px!important;border-radius:8px!important;overflow:hidden!important;
  background:var(--sg-surface-2)!important;
}
.sg-directory-venues .sg-venue-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
.sg-directory-venues .sg-venue-card strong{font-size:10px!important;line-height:1.15!important}
.sg-directory-venues .sg-venue-card small{font-size:8px!important;color:var(--sg-muted)!important}
.sg-directory-venues .sg-venue-card em{font-size:7.8px!important;color:var(--sg-accent)!important;font-style:normal!important;font-weight:800!important}

/* ARBITRI */
.sg-directory-referees .sg-referee-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1px!important;background:var(--sg-line)!important}
.sg-directory-referees .sg-referee-list>a{
  min-height:56px!important;padding:7px 9px!important;gap:9px!important;border:0!important;background:var(--sg-surface)!important;
}
.sg-directory-referees .sg-referee-list>a:hover{background:var(--sg-surface-2)!important}
.sg-directory-referees .sg-referee-icon{
  width:36px!important;height:36px!important;min-width:36px!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;background:var(--sg-accent-soft)!important;color:var(--sg-accent)!important;
}
.sg-directory-referees .sg-referee-list strong{font-size:10px!important}
.sg-directory-referees .sg-referee-list small{font-size:8px!important;color:var(--sg-muted)!important}

@media(max-width:900px){
  .sg-directory-teams .sg-team-grid,
  .sg-directory-players .sg-player-directory-grid,
  .sg-directory-coaches .sg-entity-grid,
  .sg-directory-venues .sg-venue-grid,
  .sg-directory-referees .sg-referee-list{grid-template-columns:1fr!important}
}

@media(max-width:640px){
  .sg-directory-modern-v2236{--sg-dir-gap:8px}
  .sg-directory-modern-v2236 .sg-page-intro{padding:10px 11px!important}
  .sg-directory-modern-v2236 .sg-page-intro h1{font-size:18px!important}
  .sg-directory-modern-v2236 .sg-page-intro p{font-size:9px!important}
  .sg-directory-modern-v2236 .sg-entity-search form,
  .sg-directory-modern-v2236 .sg-player-filter-form{display:grid!important;grid-template-columns:1fr!important}
  .sg-directory-modern-v2236 .sg-entity-search button,
  .sg-directory-modern-v2236 .sg-player-filter-form button,
  .sg-directory-modern-v2236 .sg-player-filter-form>a{width:100%!important}
  .sg-directory-competitions .sg-competition-finder-filters{display:grid!important;grid-template-columns:1fr!important}
  .sg-directory-competitions .sg-competition-type-filter{overflow-x:auto!important;display:flex!important}
  .sg-directory-venues .sg-venue-card{grid-template-columns:76px minmax(0,1fr)!important}
  .sg-directory-venues .sg-venue-thumb{width:76px!important;min-width:76px!important;height:54px!important}
}

/* SG.22.34 — SEO Phase 5: introduzioni entity-first visibili e sobrie. */
.sg-seo-entity-intro{padding:18px 20px}
.sg-seo-entity-intro h2{margin:0 0 8px;font-size:18px;line-height:1.25;font-weight:750;color:var(--sg-text)}
.sg-seo-entity-intro p{margin:0;color:var(--sg-muted);font-size:14px;line-height:1.65;font-weight:450}
.sg-seo-entity-intro a{color:var(--sg-blue);font-weight:650;text-decoration:none}
.sg-seo-entity-intro a:hover{text-decoration:underline}
@media (max-width:720px){.sg-seo-entity-intro{padding:16px}.sg-seo-entity-intro h2{font-size:17px}.sg-seo-entity-intro p{font-size:13.5px;line-height:1.6}}

/* =========================================================
   SG.2.2.120 — mobile search: input sempre visibile sotto header
   Il modal resta sotto la topbar mobile (54px), evitando che la
   riga di ricerca venga coperta dall'header a z-index superiore.
   ========================================================= */
@media(max-width:760px){
  .sg-search2-overlay{
    inset:54px 0 0 0!important;
    height:auto!important;
    padding:0!important;
    z-index:530!important;
  }
  .sg-search2-dialog{
    width:100%!important;
    height:100%!important;
    max-height:100%!important;
  }
  .sg-search2-head{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 62px!important;
    position:relative!important;
    z-index:3!important;
  }
  .sg-search2-head input{
    display:block!important;
    min-width:0!important;
  }
}
