/* AFM storico-voti: foglio unico GENERATO dai fogli originali, nello stesso ordine: theme.css, pro.css, mobile.css, premium-v2.css, afm-navigation-v2.css, afm-global-premium-bg-v1095.css, <style>. Prima di modificarlo leggi agents/css-bundles/README.md */
:root{font-family:'Barlow',Arial,sans-serif;--navy:#071728;--navy2:#0c2943;--gold:#e1b33d;--text:#f5f7fa;--muted:#a9b7c7;--line:#29445d}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--text);background:linear-gradient(rgba(3,14,25,.88),rgba(3,14,25,.96)),radial-gradient(circle at 50% 0,#164a72,#061523 55%,#030c15);background-attachment:fixed}
body:before{content:"AFM";position:fixed;z-index:-1;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-10deg);font-family:Georgia,serif;font-size:min(42vw,520px);font-weight:900;color:rgba(225,179,61,.035);letter-spacing:-.08em;pointer-events:none}
.brand-row{display:flex;align-items:center;gap:12px}
.brand-row strong{display:block;font-family:Georgia,serif;font-size:20px;letter-spacing:.02em}
.brand-row small{display:block;color:var(--gold);font-size:10px;letter-spacing:.14em;text-transform:uppercase;margin-top:3px}
.home{width:min(94vw,1380px)}
.section-head h2,.panel h3{margin:5px 0 0}
.flag{font-size:34px}
.panel{border:1px solid var(--line);background:rgba(5,22,37,.88);padding:20px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.panel h3{font-size:20px;text-transform:uppercase}
footer{display:flex;justify-content:space-between;color:#71869a;font-size:10px;letter-spacing:.12em;text-transform:uppercase;padding:32px 2px}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.nation-card,.panel,.country-hero,.competition-card{animation:rise .45s ease both}
@media(max-width:560px){
html,body{max-width:100%;overflow-x:hidden}
.brand-row{gap:7px;min-width:0;flex:1}
.brand-row strong{font-size:14px;line-height:1.05;white-space:normal;max-width:92px}
.brand-row small{display:none}
.flag{font-size:30px}
.panel{width:100%}
footer{flex-direction:column;gap:8px}
}
@media(max-width:380px){
.brand-row strong{font-size:12px;max-width:74px}
}
:root{--fs-display:clamp(30px,5vw,54px);--fs-page:clamp(28px,4.5vw,46px);--fs-section:clamp(21px,3vw,28px);--fs-card:clamp(17px,2.2vw,22px)}
.panel h3{font-size:clamp(16px,2vw,19px)}
.brand-row strong{font-size:clamp(14px,1.8vw,18px)}
body,button,input{overflow-wrap:break-word}
@media(max-width:560px){
.panel h3{font-size:16px}
h1,h2,h3,strong,p,span,button,a{max-width:100%}
.country-hero,.competition-hero,.competition-card,.panel{overflow:hidden}
}
.standings{width:100%;border-collapse:collapse;font-size:13px}
.standings th{color:var(--gold);font-size:9px;letter-spacing:.08em;text-transform:uppercase;text-align:left;padding:9px 8px;border-bottom:1px solid #35516a}
.standings td{padding:10px 8px;border-bottom:1px solid #1d3549}
.standings th:not(:nth-child(2)),.standings td:not(:nth-child(2)){text-align:center}
.matchday{margin-bottom:18px}
.matchday h3{font-size:15px;margin:0 0 8px;color:var(--gold)}
.fixture{display:grid;grid-template-columns:1fr 58px 1fr;align-items:center;gap:8px;padding:10px 8px;border-bottom:1px solid #203b52;font-size:12px}
.fixture span:last-child{text-align:right}
.fixture strong{text-align:center}
@media(max-width:700px){
.standings{font-size:11px}
.standings th,.standings td{padding:8px 6px}
.fixture{font-size:11px;grid-template-columns:1fr 45px 1fr}
}
@media(max-width:360px){
.fixture{font-size:10px}
.standings{font-size:10px}
}
@media(max-width:560px){
html,body{width:100%;max-width:100%;overflow-x:hidden}
.dashboard-main,.home,.welcome,.nation-grid,.nation-card{max-width:100%;min-width:0}
.brand-row{gap:6px;min-width:0;flex:1}
.brand-row strong{
    font-size:14px;
    line-height:1.05;
    max-width:none;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
.brand-row small{display:none}
}
@media(max-width:360px){
.brand-row strong{font-size:12px}
}
.afm-page-watermark{position:fixed;right:3vw;bottom:3vh;width:min(32vw,390px);height:auto;opacity:.045;filter:grayscale(1);pointer-events:none;z-index:0}
@media(max-width:560px){
.afm-page-watermark{width:54vw;right:-7vw;bottom:8vh;opacity:.035}
}
:root{
 --afm-bg:#03111d;--afm-bg2:#061a2a;--afm-card:#071d2e;--afm-card2:#0a2940;
 --afm-line:#1f4966;--afm-blue:#1187e8;--afm-blue2:#0b63b7;--afm-gold:#e7b941;
 --afm-text:#f7fbff;--afm-muted:#9db0c1;--afm-soft:#c9d6e1;
}
body{background:
 radial-gradient(circle at 50% -10%,rgba(20,98,154,.30),transparent 32%),
 linear-gradient(180deg,#03111d 0%,#041522 48%,#020b13 100%);color:var(--afm-text)}
body:before{display:none}
.panel,.manager-card,.agenda-card,.control-card,.m-card,.f-card{
 border:1px solid var(--afm-line)!important;
 border-radius:16px!important;
 background:linear-gradient(160deg,rgba(9,35,55,.96),rgba(5,22,36,.96))!important;
 box-shadow:0 16px 38px rgba(0,0,0,.20)!important;
}
.club-bottom-nav,.section-bottom-nav,.mobile-bottom-nav{
 background:rgba(3,16,27,.96)!important;border-top:1px solid #1f4966!important;backdrop-filter:blur(16px)!important;
}
.club-bottom-nav a,.section-bottom-nav a,.section-bottom-nav button,.mobile-bottom-nav a{color:#8098ab!important}
.club-bottom-nav .active,.section-bottom-nav .active,.mobile-bottom-nav .active{color:#53aef2!important;background:rgba(17,135,232,.08)!important}
@media(max-width:700px){
body{padding-bottom:76px}
.afm-head-logo{width:54px!important;height:54px!important}
}
img[src*="/api/player-avatar/"]{
  border-radius:50%!important;
  clip-path:circle(50% at 50% 50%)!important;
  object-fit:cover!important;
  object-position:center!important;
}
body{
  background-color:#06131f!important;
  background-image:
    linear-gradient(180deg,rgba(2,8,14,.04) 0%,rgba(2,8,14,.10) 28%,rgba(2,8,14,.20) 62%,rgba(2,8,14,.36) 100%),
    radial-gradient(circle at 50% 18%,transparent 0 34%,rgba(2,8,14,.03) 66%,rgba(2,8,14,.14) 100%),
    url('/afm-premium-stadium-vector-v1094.svg')!important;
  background-size:cover,cover,cover!important;
  background-position:center,center,center 18%!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-attachment:scroll,scroll,scroll!important;
}
.afm-page-watermark{display:none!important}
@media(min-width:901px){
html{background:#06131f!important}
body{
    background-color:#06131f!important;
    background-image:
      radial-gradient(circle at 78% 8%,rgba(31,78,108,.14),transparent 32%),
      radial-gradient(circle at 18% 88%,rgba(225,179,61,.045),transparent 30%),
      linear-gradient(180deg,#06131f 0%,#071827 52%,#04101a 100%)!important;
    background-size:auto!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-attachment:fixed!important;
  }
}
:root{
 --afm-bg:#04111c;--afm-surface:#071b2a;--afm-surface2:#0a2234;
 --afm-border:rgba(151,177,197,.18);--afm-gold:#d7aa45;
 --afm-text:#f2f5f7;--afm-muted:#91a4b5;--afm-radius:10px;
}
body{background:#04111c}
body:before{display:none!important}
.brand-row strong{font-family:Arial,sans-serif;font-size:17px;letter-spacing:.01em}
.brand-row small{font-size:9px;color:var(--afm-muted)}
.flag{font-size:23px}
.panel,.competition-card,.nation-division-card,.my-club-card,.team-card,.honour-tile{border:1px solid var(--afm-border)!important;border-radius:var(--afm-radius);background:var(--afm-surface)!important;box-shadow:none!important}
.panel{padding:15px}
footer{font-size:9px;color:#63788a}
@media(max-width:560px){
.brand-row strong{font-size:14px;white-space:nowrap}
.brand-row small{display:none}
.panel{padding:13px}
}
@media(max-width:350px){
.brand-row strong{font-size:13px}
}
.afm-section-strip{display:flex;align-items:center;gap:9px;height:56px;margin:0 0 12px;padding:7px 10px;border:1px solid var(--afm-border);border-radius:9px;background:linear-gradient(90deg,#071b2a,#091f31)}
.afm-section-strip img{width:40px;height:40px;object-fit:contain}
.afm-section-strip div{display:flex;align-items:baseline;gap:6px;flex:1}
.afm-section-strip strong{font-size:13px}
.afm-section-strip span{font-size:9px;color:var(--afm-muted)}
.afm-section-strip em{font-style:normal;font-size:8px;letter-spacing:.1em;color:var(--afm-gold)}
.afm-page-watermark{display:block!important;position:fixed!important;right:2.5vw!important;bottom:4vh!important;width:min(25vw,300px)!important;height:auto!important;opacity:.035!important;filter:grayscale(1)!important;pointer-events:none!important;z-index:0!important}
.afm-page-watermark+main,body>main,.manager-page{position:relative;z-index:1}
:root{
  --ui-bg:#06131f;
  --ui-surface:#091b29;
  --ui-surface-2:#0c2232;
  --ui-border:rgba(181,202,216,.12);
  --ui-border-strong:rgba(181,202,216,.22);
  --ui-text:#f4f7f9;
  --ui-muted:#91a4b5;
  --ui-accent:#d7aa45;
  --ui-radius:12px;
}
html,body{background:var(--ui-bg)!important}
body{color:var(--ui-text)!important}
body:before{display:none!important}
h1,h2,h3,.section-head h2,.panel h3,.country-hero h1,.competition-hero h1,.club-identity h1,.subpage-head h1,
.manager-hero h1,.control-hero h1,.f-hero h1,.m-hero h1{
  font-family:'Barlow',Arial,sans-serif!important;
  letter-spacing:-.02em!important;
  text-transform:none!important;
}
.panel,.manager-card,.control-card,.admin-card,.f-card,.trade-card,.m-card,.agenda-card,
.competition-card,.nation-division-card,.my-club-card,.team-card,.honour-tile,.club-manager-card,.club-fin,.admin-club{
  background:var(--ui-surface)!important;
  border:1px solid var(--ui-border)!important;
  border-radius:var(--ui-radius)!important;
  box-shadow:none!important;
}
.panel,.manager-card,.control-card,.admin-card,.f-card,.trade-card,.m-card{padding:16px!important}
.panel-head h3,.panel h3{font-size:16px!important}
.standings th{color:var(--ui-muted)!important;border-color:var(--ui-border)!important}
.standings td,.fixture{border-color:var(--ui-border)!important}
.status-pill,.status{font-size:8px!important}
.section-bottom-nav,.club-bottom-nav,.mobile-bottom-nav{
  background:rgba(6,19,31,.98)!important;border-top:1px solid var(--ui-border)!important;box-shadow:none!important
}
.status{border-color:var(--ui-border)!important;background:#071620!important;font-size:10px!important}
.status.pending{border-left:3px solid #b99a49!important}
@media (max-width:600px){
html,body{width:100%;max-width:100%;overflow-x:hidden!important}
body{background:#04111c!important}
*{min-width:0}
.app,.dashboard-layout,.dashboard-main,.home,.shell{width:100%!important;max-width:100%!important;margin-left:0!important}
.brand-row{display:flex!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;overflow:visible}
.brand-row>div{display:none!important}
.brand-row strong{
    display:block!important;font-family:Arial,sans-serif!important;
    font-size:13px!important;line-height:1.05!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
.brand-row small{display:none!important}
.panel{width:100%!important;padding:12px!important;border-radius:9px!important}
.afm-page-watermark{opacity:.055!important;max-width:none!important;width:68vw!important;right:-16vw!important;bottom:7vh!important}
}
@media(max-width:360px){
.brand-row strong{font-size:12px!important}
}
@media(max-width:600px){
.afm-page-watermark{display:block!important;position:fixed!important;right:-16vw!important;bottom:7vh!important;width:68vw!important;max-width:360px!important;opacity:.055!important;filter:grayscale(.55) saturate(.65)!important;pointer-events:none!important;z-index:0!important}
.afm-section-strip{
    width:100%!important;height:52px!important;margin:0 0 10px!important;padding:6px 9px!important;
    display:flex!important;align-items:center!important;gap:8px!important;
    border:1px solid rgba(151,177,197,.16)!important;border-radius:9px!important;
    background:linear-gradient(90deg,#071b2a,#091f31)!important;
  }
.afm-section-strip img{width:38px!important;height:38px!important;object-fit:contain!important;flex:0 0 38px!important}
.afm-section-strip div{display:flex!important;align-items:baseline!important;gap:5px!important;flex:1!important}
.afm-section-strip strong{font-size:13px!important;letter-spacing:.04em!important}
.afm-section-strip span{font-size:9px!important;color:#91a4b5!important}
.afm-section-strip em{
    font-style:normal!important;font-size:8px!important;letter-spacing:.08em!important;
    color:#d7aa45!important;border-left:1px solid rgba(215,170,69,.25)!important;padding-left:8px!important;
  }
}
@media(max-width:360px){
.afm-section-strip{height:48px!important}
.afm-section-strip img{width:34px!important;height:34px!important;flex-basis:34px!important}
}
@media(max-width:600px){
.home .afm-home-v4{height:292px!important;min-height:292px!important;margin:0 0 0!important;border-radius:0!important;border-width:0 0 1px!important;padding:12px!important;background:linear-gradient(145deg,#061827,#020b13)!important}
.afm-home-centre{position:relative!important;z-index:4!important;width:100%!important;height:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
.afm-home-centre img{width:100px!important;height:100px!important;object-fit:contain!important;filter:drop-shadow(0 7px 14px rgba(0,0,0,.38))!important}
.afm-home-centre h1{font-family:Georgia,serif!important;font-size:25px!important;line-height:.98!important;letter-spacing:.015em!important;margin:7px 0 9px!important;color:#fff!important}
.afm-home-centre p{font-size:7px!important;letter-spacing:.17em!important;color:#d7aa45!important;margin:0!important}
}
@media(max-width:360px){
.home .afm-home-v4{height:270px!important;min-height:270px!important}
.afm-home-centre img{width:88px!important;height:88px!important}
.afm-home-centre h1{font-size:22px!important}
}
@media(max-width:600px){
.afm-subhead-v5{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:10px!important;align-items:center!important}
.afm-subhead-v5 .afm-head-logo{display:block!important;width:50px!important;height:50px!important;object-fit:contain!important;filter:drop-shadow(0 4px 9px rgba(0,0,0,.3))!important}
.afm-subhead-v5>div{min-width:0!important}
.afm-subhead-v5 h1{margin:3px 0!important;font-size:20px!important}
.afm-subhead-v5 p{font-size:8px!important;line-height:1.3!important;white-space:normal!important}
}
@media(max-width:360px){
.afm-subhead-v5{grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important}
.afm-subhead-v5 .afm-head-logo{width:44px!important;height:44px!important}
.afm-subhead-v5 h1{font-size:18px!important}
}
.mobile-bottom-nav{display:none}
@media(max-width:600px){
html{scroll-behavior:smooth}
body{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
.home .afm-home-v4{height:264px!important;min-height:264px!important}
.afm-home-centre img{width:88px!important;height:88px!important}
.afm-home-centre h1{font-size:23px!important;line-height:1!important;margin:7px 0 8px!important}
.afm-home-centre p{font-size:7px!important;letter-spacing:.14em!important}
#nationsSection,#results,#matches,#bulletin{scroll-margin-top:74px}
footer{padding:14px 2px 6px!important;margin-top:14px!important;font-size:8px!important}
.mobile-bottom-nav{
   position:fixed;left:0;right:0;bottom:0;z-index:80;
   display:grid;grid-template-columns:repeat(5,1fr);
   min-height:calc(58px + env(safe-area-inset-bottom));
   padding:5px 8px env(safe-area-inset-bottom);
   background:rgba(3,15,25,.97);
   border-top:1px solid rgba(151,177,197,.18);
   backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
   box-shadow:0 -10px 28px rgba(0,0,0,.28)
 }
.mobile-bottom-nav a{
   display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;
   gap:2px;color:#8fa3b4;text-decoration:none;border-radius:8px;font-size:15px
 }
.mobile-bottom-nav a small{font-size:7px;letter-spacing:.02em}
.mobile-bottom-nav a.active,.mobile-bottom-nav a:active{color:#d7aa45;background:rgba(215,170,69,.07)}
}
@media(max-width:360px){
.home .afm-home-v4{height:246px!important;min-height:246px!important}
.afm-home-centre img{width:80px!important;height:80px!important}
.afm-home-centre h1{font-size:21px!important}
.mobile-bottom-nav{padding-left:4px;padding-right:4px}
.mobile-bottom-nav a small{font-size:6.5px}
}
.club-bottom-nav{display:none}
@media(max-width:600px){
.club-bottom-nav{
   position:fixed;left:0;right:0;bottom:0;z-index:82;
   display:grid;grid-template-columns:repeat(5,1fr);
   min-height:calc(58px + env(safe-area-inset-bottom));
   padding:5px 8px env(safe-area-inset-bottom);
   background:rgba(3,15,25,.97);
   border-top:1px solid rgba(151,177,197,.18);
   box-shadow:0 -10px 28px rgba(0,0,0,.3);
   backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
 }
.club-bottom-nav a{
   display:flex;flex-direction:column;align-items:center;justify-content:center;
   gap:2px;min-width:0;border-radius:8px;color:#8fa3b4;text-decoration:none;font-size:15px
 }
.club-bottom-nav a small{font-size:7px;letter-spacing:.02em}
.club-bottom-nav a.active,.club-bottom-nav a:active{color:#d7aa45;background:rgba(215,170,69,.08)}
.club-official-head,.afm-subhead-v5{
   border-color:rgba(215,170,69,.24)!important;
   box-shadow:0 10px 28px rgba(0,0,0,.16)!important
 }
.club-identity>img,.club-big-mark,.afm-subhead-v5 .afm-head-logo{
   border-radius:10px!important;background:rgba(3,15,25,.36)!important
 }
}
@media(max-width:360px){
.club-bottom-nav{padding-left:4px;padding-right:4px}
.club-bottom-nav a small{font-size:6.5px}
}
.section-bottom-nav{display:none}
@media(max-width:600px){
.section-bottom-nav{
   position:fixed;left:0;right:0;bottom:0;z-index:82;
   display:grid;grid-template-columns:repeat(4,1fr);
   min-height:calc(58px + env(safe-area-inset-bottom));
   padding:5px 8px env(safe-area-inset-bottom);
   background:rgba(3,15,25,.97);
   border-top:1px solid rgba(151,177,197,.18);
   box-shadow:0 -10px 28px rgba(0,0,0,.3);
   backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
 }
.section-bottom-nav a,.section-bottom-nav button{
   display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;
   gap:2px;border:0;border-radius:8px;background:transparent;color:#8fa3b4;
   text-decoration:none;font:inherit;font-size:15px
 }
.section-bottom-nav small{font-size:7px;letter-spacing:.02em}
.section-bottom-nav .active,.section-bottom-nav a:active,.section-bottom-nav button:active{color:#d7aa45;background:rgba(215,170,69,.08)}
.matchday{margin-bottom:10px!important}
.matchday h3{font-size:11px!important;margin:0 0 6px!important;padding-bottom:6px!important;border-bottom:1px solid rgba(151,177,197,.12)!important}
.fixture{
   display:grid!important;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr)!important;
   align-items:center!important;gap:6px!important;min-height:46px!important;
   padding:8px!important;margin-bottom:5px!important;border-radius:7px!important;
   background:#061725!important;border:1px solid rgba(151,177,197,.12)!important
 }
.fixture span{font-size:9px!important;line-height:1.25!important}
.fixture span:last-child{text-align:right!important}
.fixture strong{text-align:center!important;font-size:11px!important;color:#d7aa45!important}
}
@media(max-width:360px){
.section-bottom-nav{padding-left:4px;padding-right:4px}
.section-bottom-nav small{font-size:6.5px}
.fixture{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)!important}
}
@media(max-width:600px){
body{background:#06131f!important;padding-bottom:72px!important}
.brand-row{flex:0 0 auto!important}
.panel{padding:12px!important;border-radius:10px!important}
footer{padding:20px 2px 8px!important;font-size:8px!important}
.standings{font-size:10px!important}
.standings th{font-size:7px!important;padding:7px 5px!important}
.standings td{padding:8px 5px!important}
.fixture{
   grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)!important;
   min-height:42px!important;padding:7px 4px!important;margin:0!important;border-radius:0!important;
   background:transparent!important;border:0!important;border-bottom:1px solid rgba(181,202,216,.10)!important
 }
.fixture span{font-size:9px!important}
.fixture strong{font-size:10px!important}
.matchday{margin-bottom:12px!important}
.matchday h3{font-size:12px!important;margin-bottom:5px!important}
.mobile-bottom-nav,.section-bottom-nav,.club-bottom-nav{
   min-height:58px!important;padding-bottom:env(safe-area-inset-bottom)!important;
   background:rgba(6,19,31,.98)!important;border-top:1px solid rgba(181,202,216,.12)!important;
   box-shadow:none!important
 }
.mobile-bottom-nav a,.section-bottom-nav a,.section-bottom-nav button,.club-bottom-nav a{
   color:#8194a4!important;background:transparent!important
 }
.mobile-bottom-nav .active,.section-bottom-nav .active,.club-bottom-nav .active{
   color:#fff!important;background:rgba(215,170,69,.06)!important
 }
.mobile-bottom-nav small,.section-bottom-nav small,.club-bottom-nav small{font-size:7px!important}
.status{font-size:9px!important;padding:9px!important}
}
:root{
  --afmp-bg:#050b12;
  --afmp-surface:#09131d;
  --afmp-surface-2:#0d1823;
  --afmp-surface-3:#111f2c;
  --afmp-line:rgba(160,180,198,.15);
  --afmp-line-strong:rgba(160,180,198,.25);
  --afmp-text:#f4f7f9;
  --afmp-muted:#8e9eac;
  --afmp-muted-2:#6f8190;
  --afmp-gold:#e1b84d;
  --afmp-gold-soft:rgba(225,184,77,.10);
  --afmp-green:#6bd0a3;
  --afmp-red:#ef8a82;
  --afmp-blue:#79b8ff;
  --afmp-r-sm:10px;
  --afmp-r:14px;
  --afmp-r-lg:20px;
  --afmp-shadow:0 18px 48px rgba(0,0,0,.22);
}
body.afm-premium{
  background:
    radial-gradient(circle at 50% -18%,rgba(31,70,96,.22),transparent 38%),
    var(--afmp-bg)!important;
  color:var(--afmp-text);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  letter-spacing:0;
}
body.afm-premium:before{display:none!important}
body.afm-premium .afm-page-watermark{opacity:.025!important;filter:grayscale(1)}
body.afm-premium button,
body.afm-premium a,
body.afm-premium select,
body.afm-premium input{font-family:inherit}
body.afm-premium button:focus-visible,
body.afm-premium a:focus-visible,
body.afm-premium select:focus-visible,
body.afm-premium input:focus-visible{
  outline:2px solid var(--afmp-gold);
  outline-offset:2px;
}
body.afm-premium .back-link,
body.afm-premium .back{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  margin:0 0 16px;
  padding:0 11px;
  border:1px solid var(--afmp-line);
  border-radius:999px;
  background:rgba(255,255,255,.025);
  color:#c7d0d7;
  text-decoration:none;
  font-size:11px;
  font-weight:750;
}
body.afm-premium .panel{
  border:1px solid var(--afmp-line)!important;
  border-radius:var(--afmp-r-lg)!important;
  background:var(--afmp-surface)!important;
  box-shadow:none!important;
}
body.afm-home .brand-row strong{font-family:inherit!important;font-size:16px!important;font-weight:850!important}
body.afm-home .brand-row small{font-size:9px!important;color:var(--afmp-muted)!important}
body.afm-home .home{max-width:1180px!important}
body.afm-lineup .page{width:min(100%,720px)!important;padding:18px 14px 40px!important}
body.afm-lineup .top{
  margin:0 0 18px!important;
  padding:4px 0 10px!important;
  border-bottom:1px solid var(--afmp-line);
}
body.afm-lineup .back{
  min-height:40px!important;
  padding:0 12px!important;
  border-color:var(--afmp-line)!important;
  background:transparent!important;
  color:#c9d2d8!important;
  font-size:11px!important;
}
body.afm-lineup .title{font-size:12px!important;color:var(--afmp-gold)!important;letter-spacing:.11em!important}
body.afm-lineup .day{
  padding:6px 8px;
  border-radius:999px;
  background:var(--afmp-gold-soft);
  color:var(--afmp-gold)!important;
  font-size:9px!important;
}
body.afm-lineup .hero{
  margin:0 0 10px!important;
  padding:12px 4px 16px!important;
  border-bottom:1px solid var(--afmp-line)!important;
}
body.afm-lineup .hero small{font-size:9px!important;color:var(--afmp-muted)!important}
body.afm-lineup .hero h1{margin:6px 0!important;font-size:32px!important;font-weight:900!important;letter-spacing:-.035em!important}
body.afm-lineup .hero .manager{font-size:12px!important;color:var(--afmp-muted)!important}
body.afm-lineup .index{margin:0 2px 13px!important;font-size:10px!important;color:var(--afmp-muted)!important}
body.afm-lineup .preview{background:var(--afmp-gold-soft)!important;color:var(--afmp-gold)!important}
body.afm-lineup .afm-form{
  margin-bottom:10px!important;
  padding:11px 12px!important;
  border-color:var(--afmp-line)!important;
  border-radius:15px!important;
  background:var(--afmp-surface)!important;
}
body.afm-lineup .afm-form-head{margin-bottom:8px!important}
body.afm-lineup .afm-form-head strong{font-size:12px!important}
body.afm-lineup .lineup-state{
  margin-bottom:12px!important;
  padding:9px 11px!important;
  border-color:var(--afmp-line)!important;
  border-radius:13px!important;
  background:transparent!important;
}
body.afm-lineup .lineup-state strong{font-size:9px!important;color:#cbd4db!important}
body.afm-lineup .module-card{
  margin-bottom:8px!important;
  padding:10px 11px!important;
  border-color:var(--afmp-line)!important;
  border-radius:15px!important;
  background:var(--afmp-surface)!important;
}
body.afm-lineup .module-card label{font-size:10px!important;color:var(--afmp-muted)!important}
body.afm-lineup .module-card select{
  min-height:44px!important;
  border-color:var(--afmp-line-strong)!important;
  border-radius:11px!important;
  background:var(--afmp-surface-2)!important;
  font-size:21px!important;
}
body.afm-lineup .pitch{
  border-radius:20px!important;
  box-shadow:0 20px 42px rgba(0,0,0,.26)!important;
  margin-bottom:10px!important;
}
body.afm-lineup .slot{width:76px!important}
body.afm-lineup .bench{
  margin-bottom:14px!important;
  padding:14px 12px!important;
  border:1px solid var(--afmp-line)!important;
  border-radius:18px!important;
  background:var(--afmp-surface)!important;
}
body.afm-lineup .bench h2{font-size:18px!important;color:var(--afmp-text)!important;letter-spacing:-.01em}
body.afm-lineup .bench p{margin:5px 0 12px!important;font-size:9px!important;color:var(--afmp-muted)!important}
body.afm-lineup .sheet{
  border-top-color:var(--afmp-line)!important;
  background:#08121b!important;
}
body.afm-manager{background:var(--afmp-bg)!important}
body.afm-manager .brand{
  min-height:68px!important;
  padding:12px 16px!important;
  background:#07111a!important;
  border-bottom:1px solid var(--afmp-line)!important;
}
body.afm-manager .brand img{width:44px!important;height:44px!important}
body.afm-manager .brand b{font-size:18px!important;color:var(--afmp-text)!important}
body.afm-manager .brand small{font-size:8px!important;color:var(--afmp-muted)!important}
body.afm-manager .block{padding:14px 16px!important;border-bottom:1px solid var(--afmp-line)!important}
body.afm-manager .label{margin-bottom:7px!important;font-size:9px!important;color:var(--afmp-muted)!important}
body.afm-manager .profile strong{font-size:13px!important}
body.afm-manager .profile a{
  width:36px!important;height:36px!important;
  border-color:var(--afmp-line)!important;
  border-radius:10px!important;
}
body.afm-manager .season{margin-top:10px!important}
body.afm-manager nav{padding:8px 6px!important}
body.afm-manager nav a{
  min-height:50px!important;
  margin:2px 0!important;
  padding:0 12px!important;
  border-radius:11px!important;
  color:#c9d2d8!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.afm-manager nav a:active{background:var(--afmp-surface-2)!important}
body.afm-manager .top{
  height:66px!important;
  border-bottom:1px solid var(--afmp-line)!important;
  background:rgba(5,11,18,.92)!important;
}
body.afm-manager .top strong{font-size:14px!important}
body.afm-manager .top small{font-size:9px!important;color:var(--afmp-muted)!important}
body.afm-roster .afm-head-logo{width:54px!important;height:54px!important}
body.afm-roster #roster{padding:4px 14px 12px!important}
body.afm-competition .afm-context-strip{margin-top:10px!important}
body.afm-competition .standings{font-size:12px!important}
body.afm-competition .standings th{
  padding:10px 7px!important;
  border-bottom:1px solid var(--afmp-line)!important;
  color:var(--afmp-muted)!important;
  font-size:8px!important;
}
body.afm-competition .standings td{
  padding:11px 7px!important;
  border-bottom:1px solid var(--afmp-line)!important;
}
body.afm-competition .standings tbody tr:active{background:var(--afmp-surface-2)!important}
body.afm-competition .standings td:nth-child(9) strong{color:var(--afmp-gold)!important}
body.afm-competition .matchday h3{font-size:13px!important;color:#dce3e8!important}
body.afm-competition .fixture{border-bottom-color:var(--afmp-line)!important;font-size:11px!important}
body.afm-live .hero{
  margin:10px 0 14px!important;
  padding:20px!important;
  border:1px solid var(--afmp-line)!important;
  border-radius:20px!important;
  background:var(--afmp-surface)!important;
  box-shadow:none!important;
}
body.afm-live .hero h1{margin:5px 0 7px!important;font-size:31px!important;letter-spacing:-.03em!important}
body.afm-live .hero p{font-size:11px!important;color:var(--afmp-muted)!important}
body.afm-live .lock,
body.afm-live .algo,
body.afm-live .fixture{
  border:1px solid var(--afmp-line)!important;
  border-radius:16px!important;
  background:var(--afmp-surface)!important;
}
body.afm-live .players{grid-template-columns:1fr 1fr!important}
body.afm-live .vote{font-size:22px!important;color:var(--afmp-gold)!important}
body.afm-live .preview{
  border-color:rgba(225,184,77,.28)!important;
  background:var(--afmp-gold-soft)!important;
  color:#efca64!important;
}
body.afm-live .bottom{
  background:rgba(5,11,18,.94)!important;
  border-top:1px solid var(--afmp-line)!important;
  backdrop-filter:blur(16px);
}
body.afm-live .bottom a{color:var(--afmp-muted)!important;font-size:9px!important}
body.afm-live .bottom a.active{color:var(--afmp-text)!important}
body.afm-premium .club-bottom-nav,
body.afm-premium .section-bottom-nav{
  background:rgba(5,11,18,.94)!important;
  border-top:1px solid var(--afmp-line)!important;
  backdrop-filter:blur(16px)!important;
}
body.afm-premium .club-bottom-nav a,
body.afm-premium .section-bottom-nav a,
body.afm-premium .section-bottom-nav button{color:var(--afmp-muted)!important}
body.afm-premium .club-bottom-nav .active,
body.afm-premium .section-bottom-nav .active{color:var(--afmp-text)!important}
@media(max-width:700px){
body.afm-lineup .page{padding:12px 10px 28px!important}
body.afm-lineup .top{grid-template-columns:auto minmax(0,1fr) auto!important}
body.afm-lineup .title{font-size:10px!important}
body.afm-lineup .hero h1{font-size:29px!important}
body.afm-lineup .slot{width:67px!important}
body.afm-manager .brand{padding:12px 14px!important}
body.afm-manager .block{padding:13px 14px!important}
body.afm-manager nav{padding:8px 8px 18px!important}
body.afm-manager nav a{min-height:52px!important;font-size:13px!important}
body.afm-competition .standings td{padding-top:10px!important;padding-bottom:10px!important}
body.afm-live .players{grid-template-columns:1fr!important}
body.afm-home .brand-row{min-width:0!important;flex:1!important}
body.afm-home .brand-row>div{min-width:0!important}
body.afm-home .brand-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:1 1 auto!important}
body.afm-home .brand-row>div{display:block!important;min-width:0!important}
body.afm-home .brand-row strong{display:block!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important;line-height:1.1!important}
body.afm-home .brand-row small{display:block!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:8px!important;line-height:1.2!important;color:var(--afmp-muted)!important;margin-top:2px!important}
body.afm-home .brand-row:after{content:"⌄";margin-left:0;color:var(--afmp-gold);font-size:11px;font-weight:900}
}
body.afm-premium{
  background-color:#06131f!important;
  background-image:
    linear-gradient(180deg,rgba(2,8,14,.04) 0%,rgba(2,8,14,.10) 28%,rgba(2,8,14,.20) 62%,rgba(2,8,14,.36) 100%),
    radial-gradient(circle at 50% 18%,transparent 0 34%,rgba(2,8,14,.03) 66%,rgba(2,8,14,.14) 100%),
    url('/afm-premium-stadium-vector-v1094.svg')!important;
  background-size:cover,cover,cover!important;
  background-position:center,center,center 18%!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-attachment:scroll,scroll,scroll!important;
}
body.afm-premium .afm-page-watermark{display:none!important}
@media(min-width:901px){
body.afm-premium{
    background-color:#06131f!important;
    background-image:
      radial-gradient(circle at 78% 8%,rgba(31,78,108,.14),transparent 32%),
      radial-gradient(circle at 18% 88%,rgba(225,179,61,.045),transparent 30%),
      linear-gradient(180deg,#06131f 0%,#071827 52%,#04101a 100%)!important;
    background-size:auto!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-attachment:fixed!important;
  }
}
:root{
  --afm-nav-h:68px;
}
.afm-nav2-bar{
  display:none;
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:900;
  grid-template-columns:repeat(5,minmax(0,1fr));
  padding:5px 7px calc(5px + env(safe-area-inset-bottom));
  background:rgba(5,11,18,.94);
  border-top:1px solid rgba(160,180,198,.15);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}
.afm-nav2-item{
  min-width:0;
  min-height:54px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#788b9a;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:4px 2px;
  font:700 9px/1.05 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.afm-nav2-item svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.afm-nav2-item>span{
  display:block;
  width:100%;
  max-width:100%;
  text-align:center;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
  overflow:hidden;
  text-overflow:clip;
  font-size:9px;
  line-height:1.05;
}
.afm-nav2-item.is-active{color:#f2f5f7;background:rgba(255,255,255,.035)}
.afm-nav2-item.is-active svg{color:#e1b84d}
.afm-nav2-item:active{background:rgba(255,255,255,.055)}
.afm-nav2-sheet-wrap{display:none;position:fixed;inset:0;z-index:1000}
.afm-nav2-sheet-wrap.open{display:block}
.afm-nav2-shade{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(2px)}
.afm-nav2-sheet{
  position:absolute;
  left:0;right:0;bottom:0;
  max-height:min(82dvh,720px);
  overflow:auto;
  padding:9px 14px calc(18px + env(safe-area-inset-bottom));
  border-radius:24px 24px 0 0;
  border-top:1px solid rgba(225,184,77,.24);
  background:#08121b;
  box-shadow:0 -22px 60px rgba(0,0,0,.42);
}
.afm-nav2-grab{width:42px;height:4px;border-radius:4px;background:#41505d;margin:0 auto 13px}
.afm-nav2-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.afm-nav2-sheet-title{min-width:0}
.afm-nav2-sheet-title small{display:block;color:#90a2b0;font-size:10.5px;font-weight:800;letter-spacing:.10em;text-transform:uppercase}
.afm-nav2-sheet-title strong{display:block;margin-top:3px;color:#f3f6f8;font-size:20px;letter-spacing:-.02em}
.afm-nav2-close{width:40px;height:40px;border:1px solid rgba(160,180,198,.18);border-radius:50%;background:#0d1924;color:#d5dce1;font-size:22px}
.afm-nav2-club{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  margin-bottom:13px;
  padding:9px;
  border:1px solid rgba(160,180,198,.15);
  border-radius:14px;
  background:#0b1721;
}
.afm-nav2-club-logo{width:46px;height:46px;border-radius:11px;background:#111f2c;display:grid;place-items:center;overflow:hidden;color:#e1b84d;font-size:8px;font-weight:900}
.afm-nav2-club-logo img{width:100%;height:100%;object-fit:contain;padding:3px}
.afm-nav2-club strong{display:block;color:#eef2f4;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afm-nav2-club small{display:block;margin-top:3px;color:#9aabb8;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afm-nav2-club a{min-height:36px;padding:0 10px;border:1px solid rgba(160,180,198,.18);border-radius:10px;color:#cdd5da;text-decoration:none;display:flex;align-items:center;font-size:9px;font-weight:800}
.afm-nav2-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.afm-nav2-link{
  min-width:0;
  min-height:68px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:10px;
  border:1px solid rgba(160,180,198,.14);
  border-radius:14px;
  background:#0a1620;
  color:#e8edf0;
  text-decoration:none;
}
.afm-nav2-link svg{width:21px;height:21px;fill:none;stroke:#96a6b3;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.afm-nav2-link strong{display:block;font-size:13px}
.afm-nav2-link small{display:block;margin-top:3px;color:#9aabb8;font-size:10.5px;line-height:1.3}
.afm-nav2-link.wide{grid-column:1/-1;min-height:72px;border-color:rgba(225,184,77,.30);background:rgba(225,184,77,.06)}
.afm-nav2-link.wide svg{stroke:#e1b84d}
.afm-nav2-link.wide strong{font-size:13px}
.afm-nav2-link.admin{border-color:rgba(225,184,77,.22);background:rgba(225,184,77,.055)}
.afm-nav2-link.admin svg{stroke:#e1b84d}
.afm-nav2-link.logout{width:100%;font:inherit;text-align:left;cursor:pointer;border-color:rgba(184,84,92,.24);background:rgba(92,28,35,.10)}
.afm-nav2-link.logout svg{stroke:#d78b92}
.afm-nav2-link.logout:disabled{opacity:.55;cursor:wait}
.afm-nav2-section-label{
  display:block;
  margin:16px 2px 7px;
  color:#90a2b0;
  font-size:10.5px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.afm-nav2-open{overflow:hidden}
.afm-appbar{
  position:sticky;top:0;z-index:850;
  min-height:64px;
  padding:8px max(14px,calc((100vw - 1180px)/2));
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:12px;
  background:rgba(5,11,18,.92);
  border-bottom:1px solid rgba(160,180,198,.14);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.afm-appbar-left{min-width:0;display:flex;align-items:center;gap:10px}
.afm-appbar-back,.afm-appbar-search{display:none}
.afm-appbar-home{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;text-decoration:none}
.afm-appbar-logo{width:42px;height:42px;object-fit:contain}
.afm-appbar-context{
  min-width:0;border:0;background:transparent;color:#fff;padding:0;text-align:left;
  display:block;cursor:pointer
}
.afm-appbar-context small{
  display:block;color:#7f92a1;font-size:8px;font-weight:850;letter-spacing:.10em;text-transform:uppercase
}
.afm-appbar-context strong{
  display:flex;align-items:center;gap:5px;min-width:0;margin-top:3px;
  color:#f3f6f8;font-size:14px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.afm-appbar-context strong span:first-child{overflow:hidden;text-overflow:ellipsis}
.afm-appbar-chevron{color:#e1b84d;font-size:11px;flex:0 0 auto}
.afm-appbar-actions{display:flex;align-items:center;gap:7px}
.afm-appbar-action{
  width:38px;height:38px;border:1px solid rgba(160,180,198,.16);border-radius:50%;
  background:#0a1620;color:#d7dfe4;text-decoration:none;display:grid;place-items:center;
  font-size:12px;font-weight:900
}
.afm-appbar-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.afm-appbar-avatar{color:#e1b84d}
.afm-club-switch-wrap{display:none;position:fixed;inset:0;z-index:1100}
.afm-club-switch-wrap.open{display:block}
.afm-club-switch-shade{position:absolute;inset:0;background:rgba(0,0,0,.64);backdrop-filter:blur(2px)}
.afm-club-switch-sheet{
  position:absolute;left:0;right:0;bottom:0;max-height:min(78dvh,650px);overflow:auto;
  padding:9px 14px calc(18px + env(safe-area-inset-bottom));
  border-radius:24px 24px 0 0;border-top:1px solid rgba(225,184,77,.24);
  background:#08121b;box-shadow:0 -20px 60px rgba(0,0,0,.4)
}
.afm-club-switch-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.afm-club-switch-head div small{display:block;color:#728594;font-size:8px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.afm-club-switch-head div strong{display:block;margin-top:3px;color:#f3f6f8;font-size:20px}
.afm-club-list{display:grid;gap:7px}
.afm-club-option{
  width:100%;min-height:66px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(160,180,198,.14);
  border-radius:14px;background:#0a1620;color:#eef2f4;text-align:left
}
.afm-club-option.is-current{border-color:rgba(225,184,77,.36);background:rgba(225,184,77,.06)}
.afm-club-option-logo{
  width:48px;height:48px;border-radius:11px;background:#111f2c;display:grid;place-items:center;
  overflow:hidden;color:#e1b84d;font-size:8px;font-weight:900
}
.afm-club-option-logo img{width:100%;height:100%;object-fit:contain;padding:3px}
.afm-club-option strong{display:block;font-size:14px}
.afm-club-option small{display:block;margin-top:3px;color:#9aabb8;font-size:11px}
.afm-club-option b{color:#e1b84d;font-size:15px}
body.afm-has-appbar>.page,
body.afm-has-appbar>.shell,
body.afm-has-appbar>.live-shell{padding-top:16px!important}
@media(min-width:901px){
.afm-appbar{padding:10px 28px;min-height:66px;grid-template-columns:minmax(0,1fr) auto;background:rgba(6,17,27,.96)}
.afm-appbar-search{display:grid}
.afm-appbar-back{display:grid;width:36px;height:36px;place-items:center;flex:0 0 36px;border:1px solid rgba(141,165,184,.18);border-radius:10px;background:#0a1824;color:#d8e1e7;font-size:17px;cursor:pointer}
.afm-appbar-home{width:38px;height:38px;flex-basis:38px}
.afm-appbar-logo{width:38px;height:38px}
.afm-appbar-context{padding:0 4px}
.afm-appbar-context small{font-size:7px}
.afm-appbar-context strong{font-size:13px}
.afm-appbar-actions{margin-left:auto;gap:7px}
.afm-appbar-action{width:36px;height:36px;border-radius:10px;background:#0a1824}
.afm-club-switch-sheet{left:50%;right:auto;width:min(520px,calc(100vw - 32px));transform:translateX(-50%);border-radius:24px;bottom:22px}
.afm-club-switch-sheet{left:50%;right:auto;width:min(520px,calc(100vw - 32px));transform:translateX(-50%);border-radius:24px;bottom:22px}
}
@media(max-width:900px){
body.afm-nav2{padding-bottom:calc(var(--afm-nav-h) + env(safe-area-inset-bottom))}
.afm-nav2-item{padding-left:1px;padding-right:1px}
.afm-nav2-item>span{font-size:8.5px;letter-spacing:-.01em}
/* AFM nav ott-2026 · scritte della barra in basso più grandi: la misura cresce con lo schermo (da 8,5 a 12 px) e "Formazione" resta intera anche a 320 px. */
.afm-nav2-item{font-family:Barlow,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.afm-nav2-item>span{font-size:clamp(8.5px,calc(3vw - .6px),12px)}
body.afm-nav2 .afm-nav2-bar{display:grid}
body.afm-nav2 .mobile-bottom-nav,
  body.afm-nav2 .club-bottom-nav,
  body.afm-nav2 .section-bottom-nav,
  body.afm-nav2 nav.bottom{display:none!important}
}
@media(min-width:901px){
.afm-nav2-sheet-wrap{display:none!important}
.afm-appbar{padding:8px 22px!important}
.afm-appbar-left{gap:9px!important}
.afm-appbar-actions{margin-left:auto!important}
.afm-appbar-back{width:38px;height:38px;border:1px solid rgba(160,180,198,.18);border-radius:10px;background:#0a1620;color:#d9e2e8;font-size:18px;font-weight:900;display:grid;place-items:center;cursor:pointer}
.afm-appbar-back:hover{border-color:rgba(225,184,77,.42);color:#efca66}
.afm-appbar-home{width:38px;height:38px;flex-basis:38px}
.afm-appbar-logo{width:38px;height:38px}
}
@media(max-width:900px){
.afm-appbar-back{display:grid!important;width:36px;height:36px;place-items:center;flex:0 0 36px;border:1px solid rgba(225,184,77,.28);border-radius:10px;background:rgba(225,184,77,.06);color:#efca66;font-size:18px;font-weight:900;cursor:pointer}
.afm-appbar-left{gap:7px}
.afm-appbar-home{width:38px;height:38px;flex-basis:38px}
.afm-appbar-logo{width:38px;height:38px}
.afm-appbar-context strong{font-size:12px}
.afm-appbar-actions{gap:5px}
.afm-appbar-action{width:36px;height:36px}
}
@media(min-width:901px){
body.afm-home>.afm-appbar{margin-left:220px;width:calc(100% - 220px);box-sizing:border-box}
body.afm-home .afm-appbar-back{display:none!important}
body.afm-home .afm-appbar-context{min-width:190px;padding:7px 11px;border:1px solid rgba(160,180,198,.14);border-radius:10px;background:#0a1722}
body.afm-home .afm-appbar-context small{color:#e0ba54;font-size:7px;letter-spacing:.11em}
body.afm-home .afm-appbar-context strong{margin-top:2px;font-size:13px}
.afm-appbar-desktop{min-height:62px!important;padding:8px 24px!important}
.afm-appbar-desktop .afm-appbar-actions{margin-left:auto!important;gap:8px!important}
.afm-appbar-desktop .afm-appbar-action{width:38px;height:38px;border-radius:10px;background:#0a1722;border-color:rgba(160,180,198,.14)}
.afm-appbar-desktop .afm-appbar-action:hover{border-color:rgba(225,184,77,.38);color:#efca66}
.afm-appbar-desktop{min-height:78px!important;padding:8px 24px!important}
.afm-appbar-page{display:flex;flex-direction:column;justify-content:center;min-width:0;padding-left:2px}
.afm-appbar-page small{color:#6f8393;font-size:7px;font-weight:900;letter-spacing:.12em}
.afm-appbar-page strong{margin-top:3px;color:#eef3f6;font-size:14px;font-weight:900;white-space:nowrap}
.afm-appbar-desktop .afm-appbar-actions{gap:9px!important}
.afm-club-orb{position:relative;width:62px;height:62px;flex:0 0 62px;padding:5px;border-radius:50%;border:2px solid rgba(232,194,88,.72);background:radial-gradient(circle at 35% 28%,#163049 0%,#091824 68%,#06111b 100%);box-shadow:0 0 0 4px rgba(225,184,77,.08),0 12px 30px rgba(0,0,0,.35);display:grid;place-items:center;cursor:pointer;transition:.16s transform,.16s border-color,.16s box-shadow}
.afm-club-orb:hover{transform:translateY(-2px);border-color:#f0cc67;box-shadow:0 0 0 5px rgba(225,184,77,.11),0 16px 34px rgba(0,0,0,.40)}
.afm-club-orb img{width:100%;height:100%;object-fit:contain;border-radius:50%;padding:3px}
.afm-club-orb>span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;color:#efca66;font-size:15px;font-weight:950}
.afm-club-orb i{position:absolute;right:-3px;bottom:-2px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e2b84d;color:#071019;border:3px solid #07131f;font-size:12px;font-style:normal;font-weight:950;line-height:1}
.afm-club-orb:disabled{opacity:.55;cursor:default;transform:none}
.afm-appbar-desktop .afm-appbar-avatar{margin-left:2px}
.afm-club-switch-sheet{left:auto!important;right:22px!important;top:86px!important;bottom:auto!important;width:min(430px,calc(100vw - 260px))!important;transform:none!important;border:1px solid rgba(225,184,77,.24)!important;border-radius:18px!important;background:#08131d!important;box-shadow:0 26px 70px rgba(0,0,0,.48)!important;padding:14px!important}
.afm-club-switch-shade{background:rgba(0,0,0,.34)!important;backdrop-filter:blur(1px)!important}
.afm-club-switch-sheet .afm-nav2-grab{display:none!important}
.afm-club-switch-head{margin-bottom:10px!important;padding:2px 2px 8px!important;border-bottom:1px solid rgba(160,180,198,.10)}
.afm-club-switch-sheet{max-height:calc(100dvh - 106px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.afm-club-list{min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin;padding-right:5px}
.afm-club-switch-head{flex:0 0 auto!important}
.afm-club-option{min-height:72px!important;flex-shrink:0;border-radius:13px!important;background:#0a1722!important}
.afm-club-option.is-current{border-color:rgba(225,184,77,.46)!important;background:rgba(225,184,77,.075)!important}
.afm-appbar-desktop .afm-appbar-back{width:auto!important;min-width:104px!important;height:42px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border:1px solid rgba(225,184,77,.36)!important;border-radius:11px!important;background:rgba(225,184,77,.07)!important;color:#f0cc67!important;font-size:10px!important;font-weight:950!important;letter-spacing:.06em!important}
.afm-appbar-desktop .afm-appbar-back span{font-size:18px!important;line-height:1!important}
.afm-appbar-desktop .afm-appbar-back b{font-size:9px!important;line-height:1!important}
.afm-appbar-desktop .afm-appbar-back:hover{border-color:#e8c45e!important;background:rgba(225,184,77,.11)!important;color:#fff3c8!important}
}
html{background:#06131f}
body,body[class]{
  background-color:#06131f!important;
  background-image:
    linear-gradient(180deg,rgba(2,8,14,.04) 0%,rgba(2,8,14,.10) 28%,rgba(2,8,14,.20) 62%,rgba(2,8,14,.36) 100%),
    radial-gradient(circle at 50% 18%,transparent 0 34%,rgba(2,8,14,.03) 66%,rgba(2,8,14,.14) 100%),
    url('/afm-premium-stadium-vector-v1094.svg')!important;
  background-size:cover,cover,cover!important;
  background-position:center,center,center 18%!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-attachment:scroll,scroll,scroll!important;
}
.afm-page-watermark{display:none!important}
@media(min-width:901px){
html{background:#06131f!important}
body,body[class]{
    background-color:#06131f!important;
    background-image:
      radial-gradient(circle at 78% 8%,rgba(31,78,108,.14),transparent 32%),
      radial-gradient(circle at 18% 88%,rgba(225,179,61,.045),transparent 30%),
      linear-gradient(180deg,#06131f 0%,#071827 52%,#04101a 100%)!important;
    background-size:auto!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-attachment:fixed!important;
  }
}
@media(max-width:900px){
html{background:#06131f!important}
body,body[class]{
    position:relative!important;
    isolation:isolate!important;
    background-color:transparent!important;
    background-image:none!important;
  }
body[class]::before{
    content:""!important;
    display:block!important;
    position:fixed!important;
    inset:-1.5%!important;
    z-index:-2!important;
    pointer-events:none!important;
    background-image:url('/afm-premium-stadium-vector-v1094.svg')!important;
    background-size:cover!important;
    background-position:center 18%!important;
    background-repeat:no-repeat!important;
    opacity:.90!important;
    filter:none!important;
    transform:translateZ(0) scale(1.015)!important;
  }
body.afm-home::before{opacity:.86!important;filter:none!important}
body.afm-club::before{opacity:.86!important;filter:none!important}
body.afm-lineup::before{opacity:.75!important;filter:none!important}
body.afm-roster::before{opacity:.75!important;filter:none!important}
body.afm-competition::before{opacity:.83!important;filter:none!important}
body.afm-manager::before{opacity:.80!important;filter:none!important}
}
html:root {
  background-color:#061523!important;
}
html body,
html body[class] {
  --afm-stadium-strength:.82;
  position:relative!important;
  isolation:isolate!important;
  background-color:transparent!important;
  background-image:none!important;
  background-attachment:scroll!important;
}
html body::before,
html body[class]::before {
  content:""!important;
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  width:auto!important;
  height:auto!important;
  pointer-events:none!important;
  background-color:#061523!important;
  background-image:url('/afm-premium-stadium-vector-v1094.svg')!important;
  background-size:cover!important;
  background-position:center 24%!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
  opacity:var(--afm-stadium-strength,.82)!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
  border:0!important;
}
html body:is(
  .afm-home,.afm-diretta-gol,.afm-competition,.afm-nation,
  .afm-stadium,.afm-club-public,.afm-tour-public
) {--afm-stadium-strength:.94}
html body.afm-listone {--afm-stadium-strength:.90}
html body:is(
  .afm-club,.afm-manager,.afm-roster,.afm-credits,
  .afm-lineup-history,.afm-live-mode
) {--afm-stadium-strength:.77}
html body:is(
  .afm-lineup,.afm-trades,.afm-releases,.afm-reconfirmations,
  .afm-initial-bids,.afm-market-envelopes
) {--afm-stadium-strength:.70}
html body:is(
  .afm-admin-dashboard,.afm-audit-admin,.afm-cups-admin,
  .afm-auction-admin
) {--afm-stadium-strength:.62}
@media(min-width:901px){
html body,html body[class] {--afm-stadium-strength:.72}
html body:is(.afm-home,.afm-diretta-gol,.afm-competition,.afm-nation,.afm-stadium,.afm-club-public) {
    --afm-stadium-strength:.82
  }
html body.afm-listone,html body.afm-premium.coppe-watermark {--afm-stadium-strength:.82}
html body:is(.afm-lineup,.afm-trades,.afm-releases,.afm-reconfirmations,.afm-initial-bids,.afm-market-envelopes) {
    --afm-stadium-strength:.56
  }
html body:is(.afm-admin-dashboard,.afm-audit-admin,.afm-cups-admin,.afm-auction-admin) {
    --afm-stadium-strength:.50
  }
}
@media(max-width:900px){
html body,html body[class] {
    background-color:transparent!important;
    background-image:none!important;
  }
html body::before,html body[class]::before {
    inset:-1%!important;
    background-position:center 19%!important;
  }
}
@media(prefers-reduced-motion:reduce){
html body::before,html body[class]::before {animation:none!important;transition:none!important}
html{scroll-behavior:auto!important}
*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
:where(a,button,summary,select,[role="button"]):focus-visible{outline:2px solid #e1b33d;outline-offset:3px}
:root{color-scheme:dark}
body{margin:0;background:#07111c;color:#f1f4f9;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.history-wrap{max-width:1060px;margin:auto;padding:24px 16px 90px}
.h-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.h-nav a,.h-btn{border:1px solid #34485d;background:#132437;color:#e7eff9;border-radius:10px;padding:10px 12px;text-decoration:none;font-weight:750;cursor:pointer}
.h-btn:disabled{opacity:.4;cursor:default}
.h-kicker{color:#dbb76b;font-size:11px;letter-spacing:.15em;text-transform:uppercase;font-weight:900}
h1{font-size:clamp(25px,4.8vw,38px);line-height:1.08;margin:8px 0 10px}
.h-intro{color:#bdc8d7;line-height:1.6;max-width:700px;margin:0 0 22px;font-size:14px}
.h-card{background:linear-gradient(145deg,rgba(17,36,57,.96),rgba(8,18,30,.96));border:1px solid #273c53;border-radius:18px;padding:17px;margin-bottom:14px;box-shadow:0 12px 28px rgba(0,0,0,.15)}
.h-filters{display:grid;grid-template-columns:1fr 1.5fr auto auto;gap:10px;align-items:end}
.h-filter{display:grid;gap:5px;font-weight:700;color:#afc0d5;font-size:11px}
.h-filter select{width:100%;height:43px;color:#fff;background:#12243a;border:1px solid #395069;border-radius:9px;font:inherit;font-size:13px;padding:0 10px}
.h-sub{font-size:13px;color:#a9b9c9;margin:6px 0 15px}
.h-feed{display:grid;gap:10px}
.h-match{border:1px solid #29415a;border-radius:14px;background:#102238;overflow:hidden}
.h-match-button{appearance:none;width:100%;background:transparent;border:none;color:inherit;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:11px;align-items:center;cursor:pointer;text-align:left}
.h-team{font-size:13px;font-weight:850;min-width:0;overflow-wrap:anywhere}
.h-team.away{text-align:right}
.h-score{display:flex;flex-direction:column;align-items:center;white-space:nowrap;gap:4px}
.h-score b{font-size:19px;color:#f4d586;letter-spacing:.04em}
.h-score small{font-size:10px;color:#a9b8c7}
.h-date{font-size:11px;color:#94a9c2;margin-top:7px}
.h-chevron{font-size:16px;color:#dbb76b}
.h-details{border-top:1px solid #29415a;background:rgba(5,13,23,.55);padding:14px}
.h-notice{padding:12px;border:1px solid #31445a;border-radius:10px;color:#afc0d4;font-size:12px;line-height:1.5;margin-bottom:12px}
.h-group-title{font-size:14px;color:#edc97a;margin:16px 0 9px}
.h-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.h-player{background:#13283e;border:1px solid #253b50;border-radius:10px;padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.h-player-name{font-size:12px;font-weight:750;overflow-wrap:anywhere}
.h-player-meta{font-size:10px;color:#9eafc2;margin-top:3px;line-height:1.45}
.h-ratings{display:flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}
.h-rating{display:grid;gap:2px;min-width:35px;text-align:center}
.h-rating small{color:#94a9bf;font-size:9px}
.h-rating b{color:#fff;font-size:14px}
.h-rating.fv b{color:#f4d179}
.h-error{color:#ffd1ce;background:#3a2026;border:1px solid #70434b;border-radius:10px;padding:12px}
.h-empty{padding:25px 12px;text-align:center;color:#b7c6d9}
@media(max-width:630px){
.history-wrap{padding:17px 12px 70px}
.h-filters{grid-template-columns:1fr 1fr}
.h-filters .h-btn{width:100%}
.h-player-grid{grid-template-columns:1fr}
.h-match-button{gap:6px;padding:13px 10px}
.h-team{font-size:11px}
.h-score b{font-size:16px}
.h-ratings{gap:5px}
}
/* AFM font ott-2026 · prova Barlow (font del tema AFM, file propri in /fonts, licenza OFL). Se il file non carica resta il font di prima. Solo questa pagina. */
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/barlow-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/barlow-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/barlow-latin-ext-600.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/barlow-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-latin-ext-700.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Barlow";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/barlow-latin-ext-800.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/barlow-latin-800.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body.afm-premium{font-family:Barlow,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
