/* AFM regolamento: foglio unico GENERATO dai fogli originali, nello stesso ordine: theme.css, pro.css, mobile.css, <style>, refine-v1.css, afm-navigation-v2.css, desktop-v4.css, afm-global-premium-bg-v1095.css. 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}
.app{min-height:100vh}
.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)}
.eyebrow,.kicker{font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--gold)}
.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}
.back-link{display:inline-block;color:#b7c6d4;text-decoration:none;margin:6px 0 24px}
@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}
}
@media(max-width:560px){
.back-link{margin:2px 0 14px;font-size:12px}
}
: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}
.rule-note{font-size:10px;color:var(--muted);margin:12px 0 0}
.matchday{margin-bottom:18px}
.matchday h3{font-size:15px;margin:0 0 8px;color:var(--gold)}
@media(max-width:700px){
.standings{font-size:11px}
.standings th,.standings td{padding:8px 6px}
}
@media(max-width:360px){
.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;
}
.eyebrow,.kicker{color:#78bfff!important;letter-spacing:.13em!important}
.back-link{color:#8fc9f7!important;font-weight:800}
.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)}
.kicker,.eyebrow{font-size:9px;letter-spacing:.16em;color:var(--afm-gold)}
.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;
}
.eyebrow,.kicker{color:var(--ui-accent)!important;font-size:10px!important;letter-spacing:.10em!important}
.back-link{color:#9fb2c2!important;text-decoration:none!important;font-size:12px!important}
.back-link:hover{color:#fff!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
}
.search-hero,.notice-hero,.profile-hero,.rules-head,.player-hero{
  background:var(--ui-surface)!important;
  border:1px solid var(--ui-border)!important;
  border-radius:var(--ui-radius)!important;
  box-shadow:none!important;
}
.search-hero h1,.notice-hero h1,.profile-hero h1,.rules-head h1,.player-hero h1{
  font-family:'Barlow',Arial,sans-serif!important;
  text-transform:none!important;letter-spacing:-.02em!important;
}
.status{border-color:var(--ui-border)!important;background:#071620!important;font-size:10px!important}
.status.pending{border-left:3px solid #b99a49!important}
.rules-head{padding:16px!important}
.rules-head h1{font-size:24px!important}
.rules-head p{font-size:11px!important;color:var(--ui-muted)!important}
.rules-nav{background:var(--ui-bg)!important}
.rules-nav a{
  border:0!important;border-radius:7px!important;background:#0a2232!important;
  color:#c8d3dc!important;font-size:9px!important
}
.rule-card{
  background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;
  border-radius:10px!important;box-shadow:none!important;padding:14px!important
}
.rule-card h2{font-size:15px!important}
.rule-card p,.rule-card li{font-size:10px!important;color:#bdc8d2!important}
.rule-note{font-size:9px!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}
.kicker,.eyebrow{font-size:8px!important;letter-spacing:.13em!important}
.panel{width:100%!important;padding:12px!important;border-radius:9px!important}
.back-link{margin:0 0 11px!important;font-size:11px!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){
.rule-note{font-size:7px!important;line-height:1.4!important}
.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}
}
@media(max-width:360px){
.section-bottom-nav{padding-left:4px;padding-right:4px}
.section-bottom-nav small{font-size:6.5px}
}
@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}
.back-link{margin:3px 0 8px!important;font-size:10px!important}
.standings{font-size:10px!important}
.standings th{font-size:7px!important;padding:7px 5px!important}
.standings td{padding:8px 5px!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}
.search-shell,.notice-shell,.profile-shell,.list-shell,.rules-shell,.trade-shell,.player-shell,.m-shell{
   width:100%!important;max-width:100%!important;padding:7px 9px 80px!important
 }
.search-hero,.notice-hero,.profile-hero,.rules-head,.player-hero,.m-hero{
   margin:6px 0 9px!important;padding:12px!important;border-radius:10px!important
 }
.search-hero h1,.notice-hero h1,.profile-hero h1,.rules-head h1,.player-hero h1,.m-hero h1{
   font-size:19px!important
 }
.status{font-size:9px!important;padding:9px!important}
.rules-nav{margin:0 -9px!important;padding:5px 9px!important;gap:4px!important}
.rules-nav a{padding:7px 9px!important;font-size:8px!important}
.rule-card{padding:11px!important;margin:6px 0!important}
.rule-card h2{font-size:13px!important}
.rule-card p,.rule-card li{font-size:9px!important;line-height:1.5!important}
}
.rules-shell{max-width:900px;margin:0 auto;padding:10px}
.rules-head{padding:16px 14px;border:1px solid #29455e;border-radius:12px;background:radial-gradient(circle at 90% 10%,rgba(225,179,61,.12),transparent 30%),linear-gradient(135deg,#0d2b43,#071522 72%);margin:10px 0}
.rules-head h1{font:900 25px/1 Georgia,serif;margin:5px 0}
.rules-head p{font-size:13px;color:#aebdcb;margin:0;line-height:1.5}
.rules-nav{display:flex;gap:6px;overflow:auto;position:sticky;top:0;z-index:10;padding:7px 0;background:#06131f}
.rules-nav a{flex:0 0 auto;padding:8px 10px;border:1px solid #29455e;border-radius:999px;color:#c7d3dd;text-decoration:none;font-size:12px;font-weight:900}
.rule-card{scroll-margin-top:52px;margin:8px 0;padding:12px;border:1px solid #29455e;border-radius:10px;background:#071827}
.rule-card h2{font-size:19px;margin:0 0 7px}
.rule-card p,.rule-card li{font-size:13px;line-height:1.55;color:#b7c5d3}
.rule-card ul{padding-left:18px;margin:6px 0}
.rule-note{font-size:12px;color:#71869a;margin-top:10px}
@media(min-width:901px){
.rules-shell{max-width:1360px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:0 22px;padding:22px 20px 90px}
.rules-shell>.back-link,.rules-shell>.rules-head{grid-column:1/-1}
.rules-head{padding:28px 26px;margin:10px 0 18px}
.rules-head .eyebrow{font-size:12px}
.rules-head h1{font-size:38px}
.rules-head p{font-size:14px;line-height:1.5}
.rules-nav{grid-column:1;grid-row:3 / span 8;align-self:start;position:sticky;top:18px;display:grid;gap:8px;padding:14px;border:1px solid #29455e;border-radius:13px;background:#071827}
.rules-nav:before{content:"INDICE";display:block;color:#e1b33d;font-size:11px;font-weight:900;letter-spacing:.12em;padding:3px 4px 7px}
.rules-nav a{display:flex;align-items:center;min-height:44px;border-radius:9px;padding:0 12px;font-size:13px;background:#081725}
.rules-nav a:hover{border-color:#e1b33d;color:#e1b33d}
.rule-card{grid-column:2;margin:0 0 12px;padding:21px 22px;border-radius:13px}
.rule-card h2{font-size:22px;margin-bottom:11px}
.rule-card p,.rule-card li{font-size:14px;line-height:1.72}
.rule-card ul{padding-left:22px}
.rule-note{grid-column:2;font-size:12px;line-height:1.5;padding:6px 2px 18px}
.section-bottom-nav{grid-column:1/-1}
}
@media(max-width:600px){
body{padding-bottom:70px}
.rules-shell{padding:8px 9px 78px}
.rules-head h1{font-size:22px}
.rules-nav{margin:0 -9px;padding:7px 9px;background:rgba(6,19,31,.97);backdrop-filter:blur(12px)}
}
.rule-table{width:100%;border-collapse:collapse;margin:10px 0 14px;font-size:12px}
.rule-table th,.rule-table td{border-bottom:1px solid #29455e;padding:9px 6px;text-align:left}
.rule-table th{color:#e1b33d;font-weight:900}
.rule-example{margin:8px 0;padding:12px;border-left:3px solid #e1b33d;border-radius:7px;background:#102638;color:#dce7ef;font-size:13px;line-height:1.55}
.rule-card h3{margin:14px 0 6px;color:#e9ce80;font-size:15px}
@media(min-width:901px){
.rule-table{font-size:14px}
.rule-example{font-size:14px}
}
:root{--afm-bg:#04111c;--afm-panel:#071827;--afm-line:#29455e;--afm-gold:#e1b33d;--afm-muted:#96a8b8}
html{scroll-behavior:smooth}
body{background:var(--afm-bg)}
a,button,select,input,textarea{touch-action:manipulation}
button,a,[role="button"],select,input{outline-offset:3px}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--afm-gold)}
.panel,.trade-card,.admin-card,.club-card,.my-club-card{box-shadow:none!important}
.afm-context-strip{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:8px 0;padding:8px 10px;border:1px solid var(--afm-line);border-radius:9px;background:#06131f}
.afm-context-strip strong{font-size:12px}
.afm-context-strip small{font-size:10px;color:var(--afm-muted)}
.afm-state-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #35506a;border-radius:999px;font-size:10px;font-weight:800}
.afm-state-pill.ready{border-color:#2d7e57;color:#9bd7a9}
.afm-state-pill.wait{border-color:#8a7334;color:#f2d67e}
.afm-value-box{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin:9px 0;padding:10px;border:1px solid var(--afm-line);border-radius:9px;background:#06131f}
.afm-value-box>div{text-align:center}
.afm-value-box small{display:block;color:var(--afm-muted);font-size:10px}
.afm-value-box strong{display:block;margin-top:2px;font-size:16px}
.afm-value-box b{color:var(--afm-gold)}
@media(max-width:700px){
body{font-size:15px}
button,.tabs button,.section-bottom-nav a,.section-bottom-nav button{min-height:44px}
label{font-size:11px!important}
.muted,.rule-note,.trade-note,.hold-hint,.team-card span,.notice-card time{font-size:10px!important;line-height:1.45}
.eyebrow,.kicker{font-size:9px!important}
.afm-page-watermark{opacity:.025!important}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,textarea{
    max-width:100%;
    background:#06131f!important;
    color:#eef3f6!important;
    border-color:#35506a!important;
  }
input::placeholder,textarea::placeholder{color:#71879a!important}
}
@media(max-width:390px){
.panel,.admin-card,.trade-card{max-width:100%;overflow:hidden}
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,textarea,button{
  border-radius:9px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,textarea{
  min-height:42px;
}
@media(max-width:600px){
.muted,.rule-note,.trade-note,.hold-hint,.notice-card time,.next-note{
    color:#9aabba!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}
}
@media (min-width:901px){
:root{
    --d4-bg:#04101a;--d4-panel:#071a28;--d4-panel2:#0a2233;--d4-line:rgba(134,161,182,.18);
    --d4-gold:#e6bf54;--d4-gold2:#f2d476;--d4-text:#f3f6f8;--d4-muted:#8da1b1;--d4-blue:#6fb9e8;
  }
html{background:var(--d4-bg)!important}
body.afm-desktop-v4{
    min-height:100vh!important;margin:0!important;padding:72px 0 0 240px!important;overflow-x:hidden!important;
    background:
      radial-gradient(circle at 82% 4%,rgba(35,93,128,.14),transparent 24%),
      radial-gradient(circle at 16% 88%,rgba(230,191,84,.045),transparent 28%),
      linear-gradient(180deg,#04101a 0%,#061522 100%)!important;
    color:var(--d4-text)!important;
  }
body.afm-desktop-v4::before,body.afm-desktop-v4::after{display:none!important;background:none!important}
body.afm-desktop-v4 .afm-page-watermark{display:none!important}
body.afm-desktop-v4 .afm-appbar,
  body.afm-desktop-v4 .afm-nav2-bar,
  body.afm-desktop-v4 .section-bottom-nav,
  body.afm-desktop-v4 .mobile-club-nav,
  body.afm-desktop-v4 .club-bottom-nav{display:none!important}
.afm-d4-side{
    position:fixed;left:0;top:0;bottom:0;z-index:1600;width:240px;padding:18px 14px 16px;
    background:linear-gradient(180deg,#06131f 0%,#071927 100%);border-right:1px solid rgba(141,166,184,.13);
    box-shadow:12px 0 34px rgba(0,0,0,.16);overflow:auto
  }
.afm-d4-brand{display:flex;align-items:center;gap:11px;padding:2px 8px 18px;text-decoration:none;color:#fff;border-bottom:1px solid rgba(141,166,184,.11)}
.afm-d4-brand img{width:76px;height:76px;object-fit:contain;flex:0 0 76px}
.afm-d4-brand{min-height:92px!important;gap:14px!important}
.afm-d4-brand strong{font-size:18px!important}
.afm-d4-brand strong{display:block;font-size:15px;letter-spacing:.04em}
.afm-d4-brand small{display:block;margin-top:2px;color:#6f8697;font-size:8px;letter-spacing:.14em;text-transform:uppercase}
.afm-d4-nav{display:grid;gap:3px;padding-top:14px}
.afm-d4-label{margin:11px 8px 5px;color:#536a7b;font-size:7px;font-weight:950;letter-spacing:.14em}
.afm-d4-nav a{
    min-height:38px;padding:0 10px;border-radius:10px;display:flex;align-items:center;gap:10px;
    color:#9eb0bd;text-decoration:none;font-size:10px;font-weight:850;border:1px solid transparent
  }
.afm-d4-nav a:hover{color:#edf3f6;background:#0a2131;border-color:rgba(136,164,184,.14)}
.afm-d4-nav a.active{color:#f1cc69;background:linear-gradient(90deg,rgba(230,191,84,.11),rgba(230,191,84,.025));border-color:rgba(230,191,84,.20)}
.afm-d4-nav svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7;flex:0 0 auto}
.afm-d4-top{
    position:fixed;left:240px;right:0;top:0;z-index:1590;height:72px;padding:0 28px;
    display:flex;align-items:center;gap:18px;background:rgba(4,14,23,.94);border-bottom:1px solid rgba(141,166,184,.13);
    backdrop-filter:blur(16px)
  }
.afm-d4-page small{display:block;color:#6e8393;font-size:7px;font-weight:900;letter-spacing:.13em}
.afm-d4-page strong{display:block;margin-top:3px;color:#eef3f6;font-size:15px}
.afm-d4-back{
    min-height:38px!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    border:1px solid rgba(138,164,184,.22)!important;
    border-radius:9px!important;
    background:#081b29!important;
    color:#d6e0e6!important;
    font-size:11px!important;
    font-weight:900!important;
    cursor:pointer!important;
    flex:0 0 auto!important;
  }
.afm-d4-back:hover{border-color:rgba(230,191,84,.42)!important;color:#f0cb68!important;background:#0a2232!important}
.afm-d4-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.afm-d4-actions a,.afm-d4-actions button{
    min-height:36px;padding:0 11px;border-radius:9px;border:1px solid rgba(138,164,184,.16);
    background:#081b29;color:#cbd6dd;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;
    font:850 8px/1 Arial,sans-serif;cursor:pointer
  }
.afm-d4-actions .primary{border-color:rgba(230,191,84,.28);color:#efca66;background:rgba(230,191,84,.055)}
.afm-d4-actions .afm-d4-club-switch{position:relative;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;padding:3px!important;border-radius:50%!important;border:2px solid rgba(225,184,77,.75)!important;background:#071827!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.afm-d4-actions .afm-d4-club-switch img{width:42px!important;height:42px!important;object-fit:contain!important;border-radius:50%!important;background:#fff}
.afm-d4-actions .afm-d4-club-switch>span{font-size:18px!important;font-weight:900!important;color:#f1c85d!important}
.afm-d4-actions .afm-d4-club-switch b{position:absolute;right:-4px;bottom:-4px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#e1b84d;color:#07121b;font-size:10px}
body.afm-desktop-v4 main.shell,
  body.afm-desktop-v4 main.club-page,
  body.afm-desktop-v4 main.club-subpage,
  body.afm-desktop-v4 main.trade-shell,
  body.afm-desktop-v4 main.cups-shell,
  body.afm-desktop-v4 main.dg,
  body.afm-desktop-v4 main.list-shell,
  body.afm-desktop-v4 main.s,
  body.afm-desktop-v4 main.page{
    box-sizing:border-box!important;width:calc(100% - 54px)!important;max-width:1400px!important;margin:0 auto!important;padding:28px 0 56px!important
  }
body.afm-desktop-v4 .back-link{display:inline-flex;align-items:center;min-height:32px;margin:0 0 14px;color:#7f95a6!important;text-decoration:none!important;font-size:8px!important}
body.afm-desktop-v4 .panel,
  body.afm-desktop-v4 .trade-card,
  body.afm-desktop-v4 .module-card,
  body.afm-desktop-v4 .bench,
  body.afm-desktop-v4 .live-summary,
  body.afm-desktop-v4 .modifier,
  body.afm-desktop-v4 .switch-plus{
    border-color:var(--d4-line)!important;background:linear-gradient(180deg,rgba(8,25,38,.96),rgba(5,17,27,.98))!important;
    box-shadow:0 18px 42px rgba(0,0,0,.12)!important
  }
body.afm-desktop-v4.afm-home #afmEuropeHome,
  body.afm-desktop-v4.afm-home .home-diretta-gol,
  body.afm-desktop-v4.afm-home #myClubSection,
  body.afm-desktop-v4.afm-home #homePriority,
  body.afm-desktop-v4.afm-home .home-v2-secondary{display:none!important}
body.afm-desktop-v4 table.standings{font-size:11px!important}
body.afm-desktop-v4 table.standings th{font-size:8px!important;height:38px!important}
body.afm-desktop-v4 table.standings td{height:50px!important}
body.afm-desktop-v4 #roster.panel{padding:18px!important}
body.afm-desktop-v4 .afm-head-logo{width:74px!important;height:74px!important}
body.afm-desktop-v4 main.s,body.afm-desktop-v4 main.shell{font-size:inherit}
body.afm-desktop-v4 main.s>section,body.afm-desktop-v4 main.s>article{border-radius:16px!important}
body.afm-desktop-v4 .grid{gap:14px!important}
body.afm-desktop-v4 .team{font-size:14px!important}
body.afm-desktop-v4 .team img{width:42px!important;height:42px!important}
body.afm-desktop-v4 .score{font-size:25px!important}
body.afm-desktop-v4{
    padding:68px 0 0 224px!important;
    background:
      radial-gradient(circle at 78% 8%,rgba(46,105,140,.10),transparent 27%),
      linear-gradient(180deg,#04101a 0%,#061521 100%)!important;
  }
body.afm-desktop-v4::before,
  body.afm-desktop-v4::after{display:none!important}
body.afm-desktop-v4 .afm-page-watermark{display:none!important}
.afm-d4-side{width:224px!important;padding:16px 12px!important;background:#06131f!important}
.afm-d4-top{left:224px!important;height:68px!important;padding:0 24px 0 44px!important}
.afm-d4-nav a{min-height:40px!important;font-size:11px!important}
.afm-d4-label{font-size:8px!important;margin-top:8px!important}
.afm-d4-nav{gap:1px!important}
.afm-d4-nav a{min-height:32px!important;padding-top:5px!important;padding-bottom:5px!important}
body.afm-desktop-v4 main.shell,
  body.afm-desktop-v4 main.club-page,
  body.afm-desktop-v4 main.club-subpage,
  body.afm-desktop-v4 main.trade-shell,
  body.afm-desktop-v4 main.cups-shell,
  body.afm-desktop-v4 main.dg,
  body.afm-desktop-v4 main.list-shell,
  body.afm-desktop-v4 main.s,
  body.afm-desktop-v4 main.page{
    width:calc(100% - 48px)!important;
    max-width:1600px!important;
    margin:0 auto!important;
    padding:24px 0 48px!important;
  }
body.afm-desktop-v4.afm-competition .afm-context-strip{
    min-width:260px!important;
    padding:13px 15px!important;
    border:1px solid rgba(230,191,84,.22)!important;
    border-radius:12px!important;
    background:rgba(230,191,84,.045)!important;
  }
body.afm-desktop-v4.afm-competition table.standings th{height:38px!important;font-size:9px!important}
body.afm-desktop-v4.afm-competition table.standings td{height:48px!important;font-size:11px!important}
body.afm-desktop-v4 .status{padding:12px!important;font-size:10px!important}
body.afm-desktop-v4.afm-roster #roster.panel{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
}
@media (min-width:901px){
@media (min-width:901px) and (max-width:1180px){
body.afm-desktop-v4.afm-roster #roster.panel{grid-template-columns:1fr!important}
}}
@media (min-width:901px){
body.afm-desktop-v4 main.shell,
  body.afm-desktop-v4 main.club-page,
  body.afm-desktop-v4 main.club-subpage,
  body.afm-desktop-v4 main.trade-shell,
  body.afm-desktop-v4 main.cups-shell,
  body.afm-desktop-v4 main.dg,
  body.afm-desktop-v4 main.list-shell,
  body.afm-desktop-v4 main.s,
  body.afm-desktop-v4 main.page{
    width:calc(100% - 40px)!important;
    max-width:1580px!important;
    margin:0 auto!important;
    padding:22px 0 44px!important;
  }
body.afm-desktop-v4.afm-competition table.standings{width:100%!important;font-size:12px!important}
body.afm-desktop-v4.afm-competition table.standings th{height:34px!important;font-size:8px!important}
body.afm-desktop-v4.afm-competition table.standings td{height:46px!important}
body.afm-desktop-v4.afm-roster #roster.panel{padding:14px!important}
body.afm-desktop-v4 main.shell,
  body.afm-desktop-v4 main.club-page,
  body.afm-desktop-v4 main.club-subpage,
  body.afm-desktop-v4 main.trade-shell,
  body.afm-desktop-v4 main.page{
    width:calc(100% - 48px)!important;
    max-width:1600px!important;
  }
body.afm-desktop-v4.afm-roster #roster.panel{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
}
@media (min-width:901px) and (max-width:1180px){
body.afm-desktop-v4.afm-roster #roster.panel{grid-template-columns:1fr!important}
}
@media (min-width:901px){
body.afm-desktop-v4{
    background:
      radial-gradient(circle at 80% 0%,rgba(35,91,126,.12),transparent 25%),
      radial-gradient(circle at 18% 100%,rgba(229,187,74,.045),transparent 30%),
      linear-gradient(180deg,#030d16 0%,#061522 100%)!important;
  }
body.afm-desktop-v4 main.shell,
  body.afm-desktop-v4 main.club-page,
  body.afm-desktop-v4 main.club-subpage,
  body.afm-desktop-v4 main.trade-shell,
  body.afm-desktop-v4 main.page{
    width:calc(100% - 56px)!important;
    max-width:1660px!important;
    padding:30px 0 60px!important;
  }
body.afm-desktop-v4.afm-competition .afm-context-strip{
    min-width:300px!important;min-height:88px!important;padding:16px 18px!important;
    border-radius:15px!important;background:rgba(4,16,25,.55)!important;
    border:1px solid rgba(230,191,84,.24)!important;backdrop-filter:blur(8px)
  }
body.afm-desktop-v4.afm-competition table.standings th{
    height:42px!important;font-size:9px!important;color:#7f95a5!important;background:#061723!important
  }
body.afm-desktop-v4.afm-competition table.standings td{
    height:56px!important;font-size:12px!important;border-color:rgba(133,159,178,.09)!important
  }
body.afm-desktop-v4.afm-competition table.standings tbody tr:hover{background:#0b2638!important}
body.afm-desktop-v4.afm-roster #roster.panel{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:16px!important;
    padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important
  }
}
@media (min-width:901px) and (max-width:1280px){
body.afm-desktop-v4.afm-roster #roster.panel{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:901px){
body.afm-desktop-v4.afm-trades .status{padding:6px 8px!important;margin-top:3px!important;font-size:8px!important}
}
@media (min-width:1101px) and (max-width:1440px){
body.afm-desktop-v4 main.notice-shell,
  body.afm-desktop-v4 main.rules-shell,
  body.afm-desktop-v4 main.privacy-shell,
  body.afm-desktop-v4 main.contact-shell,
  body.afm-desktop-v4 main.profile-shell,
  body.afm-desktop-v4 main.player-shell,
  body.afm-desktop-v4 main.live-mode-shell,
  body.afm-desktop-v4 main.history-shell,
  body.afm-desktop-v4 main.archive-shell{
    box-sizing:border-box!important;
    width:calc(100% - 54px)!important;
    max-width:none!important;
    margin:0 auto!important;
    padding:28px 0 56px!important;
  }
body.afm-desktop-v4 .rules-shell{max-width:1380px!important}
body.afm-desktop-v4 .rules-head{padding:24px 26px!important;border-radius:18px!important}
body.afm-desktop-v4 .rules-head h1{font-size:38px!important}
body.afm-desktop-v4 .rules-nav{top:72px!important;padding:10px 0!important}
body.afm-desktop-v4 .rule-card{padding:18px 20px!important;border-radius:14px!important}
body.afm-desktop-v4 .rule-card h2{font-size:18px!important}
body.afm-desktop-v4 .rule-card p,
  body.afm-desktop-v4 .rule-card li{font-size:11px!important;line-height:1.65!important}
}
@media (min-width:901px){
body.afm-desktop-v4.afm-reconfirmations main.s{
    width:calc(100vw - 258px)!important;
    max-width:none!important;
    margin:0 18px 0 240px!important;
    padding:20px 0 90px!important;
    box-sizing:border-box!important
  }
body.afm-desktop-v4.afm-reconfirmations .head h1{font-size:36px!important;margin:4px 0!important}
body.afm-desktop-v4.afm-reconfirmations .meta{gap:10px!important;margin-top:8px!important}
body.afm-desktop-v4.afm-reconfirmations .meta div{padding:12px 14px!important}
body.afm-desktop-v4.afm-reconfirmations .players{
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important
  }
body.afm-desktop-v4.afm-reconfirmations .p{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    grid-template-columns:46px minmax(0,1fr) minmax(260px,1.15fr) 28px!important;
    gap:8px!important;
    min-height:68px!important;
    padding:10px 12px!important;
    border-radius:10px!important;
    overflow:hidden!important
  }
body.afm-desktop-v4.afm-reconfirmations .p img{width:46px!important;height:46px!important;border-radius:8px!important}
body.afm-desktop-v4.afm-reconfirmations .p>input{
    width:20px!important;
    height:20px!important;
    margin:0 auto!important;
    justify-self:center!important;
    flex:0 0 auto!important
  }
body.afm-desktop-v4.afm-releases main.s{
    width:calc(100vw - 258px)!important;
    max-width:none!important;
    margin:0 18px 0 240px!important;
    padding:20px 0 90px!important;
    box-sizing:border-box!important
  }
body.afm-desktop-v4.afm-releases .head h1{font-size:36px!important;margin:4px 0!important}
body.afm-desktop-v4.afm-releases .players{
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:8px!important
  }
body.afm-desktop-v4.afm-releases .players>.p{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important
  }
body.afm-desktop-v4.afm-releases .p{
    grid-template-columns:46px minmax(0,1fr) 94px!important;
    grid-template-rows:auto auto!important;
    gap:8px 10px!important;
    min-height:112px!important;
    padding:10px 12px!important;
    border-radius:10px!important;
    overflow:hidden!important
  }
body.afm-desktop-v4.afm-releases .p img{
    width:46px!important;
    height:46px!important;
    border-radius:8px!important;
    grid-column:1!important;
    grid-row:1!important
  }
body.afm-desktop-v4.afm-releases .p button{
    grid-column:3!important;
    grid-row:1!important;
    align-self:center!important;
    justify-self:end!important;
    width:94px!important;
    height:38px!important;
    padding:0 8px!important;
    font-size:9.5px!important
  }
body.afm-desktop-v4.afm-releases .history{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important
  }
body.afm-desktop-v4.afm-releases .h{padding:10px 12px!important}
body.afm-desktop-v4:not(.afm-home) main.shell,
  body.afm-desktop-v4:not(.afm-home) main.club-page,
  body.afm-desktop-v4:not(.afm-home) main.club-subpage,
  body.afm-desktop-v4:not(.afm-home) main.trade-shell,
  body.afm-desktop-v4:not(.afm-home) main.cups-shell,
  body.afm-desktop-v4:not(.afm-home) main.dg,
  body.afm-desktop-v4:not(.afm-home) main.list-shell,
  body.afm-desktop-v4:not(.afm-home) main.notice-shell,
  body.afm-desktop-v4:not(.afm-home) main.profile-shell,
  body.afm-desktop-v4:not(.afm-home) main.rules-shell,
  body.afm-desktop-v4:not(.afm-home) main.privacy-shell,
  body.afm-desktop-v4:not(.afm-home) main.s,
  body.afm-desktop-v4:not(.afm-home) main.page{
    width:calc(100% - 80px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!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}
/* AFM font ott-2026 · Barlow: è già il font scelto dal tema AFM ma mancava il file, per cui si vedeva Arial. 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}

/* AFM Tema Bianco — Regolamento: contrasto WCAG, nessun cambio contenuti. */
html:root[data-afm-theme="white"] body .rules-head{
 background:#fff!important;border-color:#cad9e4!important;color:#19354c!important;
 box-shadow:0 6px 22px rgba(21,64,94,.06)!important;
}
html:root[data-afm-theme="white"] body .rules-head h1,
html:root[data-afm-theme="white"] body .rules-shell .rule-card h2,
html:root[data-afm-theme="white"] body .rules-shell .rule-card h3{color:#173750!important}
html:root[data-afm-theme="white"] body .rules-head p,
html:root[data-afm-theme="white"] body .rules-shell .rule-note{color:#4b6477!important}
html:root[data-afm-theme="white"] body .rules-head .eyebrow{color:#155c90!important}
html:root[data-afm-theme="white"] body .rules-shell .rules-nav{
 background:#eef4f8!important;border-color:#c6d5e0!important;box-shadow:none!important
}
html:root[data-afm-theme="white"] body .rules-shell .rules-nav:before{color:#175f94!important}
html:root[data-afm-theme="white"] body .rules-shell .rules-nav a{
 background:#fff!important;border:1px solid #c4d5e2!important;color:#294c65!important
}
html:root[data-afm-theme="white"] body .rules-shell .rules-nav a:hover,
html:root[data-afm-theme="white"] body .rules-shell .rules-nav a:focus-visible{
 border-color:#1768a3!important;color:#12598d!important
}
html:root[data-afm-theme="white"] body .rules-shell .rule-card{
 background:#fff!important;border-color:#cbd9e4!important;color:#253e51!important;
 box-shadow:0 4px 16px rgba(20,57,87,.04)!important
}
html:root[data-afm-theme="white"] body .rules-shell .rule-card p,
html:root[data-afm-theme="white"] body .rules-shell .rule-card li,
html:root[data-afm-theme="white"] body .rules-shell .rule-card td{color:#2f485b!important}
html:root[data-afm-theme="white"] body .rules-shell .rule-table th{color:#175e91!important}
html:root[data-afm-theme="white"] body .rules-shell .rule-table th,
html:root[data-afm-theme="white"] body .rules-shell .rule-table td{border-color:#d1dfe8!important}
html:root[data-afm-theme="white"] body .rules-shell .rule-example{
 background:#eaf3f9!important;color:#22435a!important;border-left-color:#2273ab!important
}
html:root[data-afm-theme="white"] body .rules-shell .rule-card a{color:#145e93!important}
html:root[data-afm-theme="white"] body .rules-shell .back-link{
 color:#255978!important;background:#f1f7fb!important
}
html:root[data-afm-theme="white"] body .rules-shell .section-bottom-nav{
 background:#fff!important;border-top-color:#c6d6e2!important;
 box-shadow:0 -3px 15px rgba(20,57,87,.06)!important
}
html:root[data-afm-theme="white"] body .rules-shell .section-bottom-nav a{
 color:#476277!important;background:transparent!important
}
html:root[data-afm-theme="white"] body .rules-shell .section-bottom-nav .active{
 color:#165d91!important;background:#e6f2fa!important
}

/* Regolamento AFM: categorie e ricerca, solo interfaccia (non cambia il testo). */
.rules-shell:has(.afm-rules-groups){display:block!important;max-width:1100px!important}
.rules-shell .afm-rules-tools,.rules-shell .afm-rules-hint,.rules-shell .afm-rules-groups,.rules-shell .afm-rules-results{width:100%;grid-column:1/-1!important;min-width:0}
.rules-shell .afm-rules-group-body>.rule-card{grid-column:1!important;min-width:0;width:100%}
.rules-shell:has(.afm-rules-groups)>.rule-note{grid-column:1/-1!important}
.rules-shell .afm-rules-tools{display:flex;align-items:stretch;gap:9px;margin:18px 0 10px}
.rules-shell .afm-rules-search{flex:1;min-width:0;width:100%;height:48px;border:1px solid #50718d;border-radius:12px;padding:0 15px;background:#0b2335;color:#fff;font:600 13px Barlow,Arial,sans-serif;outline-offset:2px}
.rules-shell .afm-rules-search::placeholder{color:#b4c8d6}
.rules-shell .afm-rules-expand{flex:0 0 auto;border:1px solid #597994;border-radius:12px;background:#193d56;color:#e7f3ff;font:700 12px Barlow,Arial,sans-serif;padding:0 14px;cursor:pointer}
.rules-shell .afm-rules-hint{display:block;min-height:9px;font-size:12px;color:#afc7d7;margin-bottom:7px}
.rules-shell .afm-rules-groups{display:grid;gap:13px;margin:10px 0 26px}
.rules-shell .afm-rules-group{min-width:0;background:#071827;border:1px solid #35566f;border-radius:16px;overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.10)}
.rules-shell .afm-rules-group-head{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;min-height:76px;color:#eff8ff;background:linear-gradient(135deg,#10324a,#081d30)}
.rules-shell .afm-rules-group-head::-webkit-details-marker{display:none}
.rules-shell .afm-rules-group-head>span:first-child{display:flex;flex-direction:column;gap:5px;flex:1}
.rules-shell .afm-rules-group-title{font-size:18px;font-weight:850;letter-spacing:.005em}
.rules-shell .afm-rules-group-head small{font-size:12px;line-height:1.3;color:#b4c9da}
.rules-shell .afm-rules-count{white-space:nowrap;font-size:11px;font-weight:800;border:1px solid #426a86;border-radius:20px;color:#b5d6ef;padding:7px 10px}
.rules-shell .afm-rules-chevron{font-size:27px;line-height:1;color:#9dcae6;transition:transform .15s ease}
.rules-shell .afm-rules-group[open] .afm-rules-chevron{transform:rotate(180deg)}
.rules-shell .afm-rules-group-body{display:grid;gap:10px;padding:17px;background:rgba(2,12,21,.14)}
.rules-shell .afm-rules-group-links{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:6px}
.rules-shell .afm-rules-group-links a{display:inline-block;padding:7px 11px;border:1px solid #3a5b75;border-radius:99px;background:#0f2d43;color:#c2e5ff;text-decoration:none;font-size:11px;font-weight:750}
.rules-shell .afm-rules-group-links a:focus-visible,.rules-shell .afm-rules-group-links a:hover{border-color:#79c3fa;text-decoration:underline}
.rules-shell .afm-rules-group-body>.rule-card{margin:0!important;scroll-margin-top:18px}
.rules-shell .afm-rules-results{padding:18px;background:#0c2335;border:1px solid #496a84;border-radius:12px;color:#e1edf5}
.rules-shell .afm-rules-results[hidden],.rules-shell .afm-rules-group[hidden],.rules-shell .rule-card[hidden]{display:none!important}
html[data-afm-theme="white"] body .rules-shell .afm-rules-search{background:#fff;color:#183f59;border-color:#a8c5d7}
html[data-afm-theme="white"] body .rules-shell .afm-rules-search::placeholder{color:#52728a}
html[data-afm-theme="white"] body .rules-shell .afm-rules-expand{background:#e8f3fa;color:#1d567e;border-color:#adcede}
html[data-afm-theme="white"] body .rules-shell .afm-rules-hint{color:#496d84}
html[data-afm-theme="white"] body .rules-shell .afm-rules-group{background:#fff;border-color:#c4d7e5;box-shadow:0 4px 16px rgba(20,57,87,.06)}
html[data-afm-theme="white"] body .rules-shell .afm-rules-group-head{background:#eaf3f9;color:#183c55}
html[data-afm-theme="white"] body .rules-shell .afm-rules-group-head small{color:#4a6a80}
html[data-afm-theme="white"] body .rules-shell .afm-rules-count{background:#fff;border-color:#b8d1e2;color:#285b7b}
html[data-afm-theme="white"] body .rules-shell .afm-rules-chevron{color:#28638c}
html[data-afm-theme="white"] body .rules-shell .afm-rules-group-body{background:#f7fafc}
html[data-afm-theme="white"] body .rules-shell .afm-rules-group-links a{background:#e6f2fa;color:#235c83;border-color:#c2d9e9}
html[data-afm-theme="white"] body .rules-shell .afm-rules-results{background:#fff;color:#244760;border-color:#c5d9e6}
html[data-afm-theme="blue"] body .rules-shell .afm-rules-group{background:#113d57;border-color:#537e98}
html[data-afm-theme="blue"] body .rules-shell .afm-rules-group-head{background:#18506d;color:#fff}
html[data-afm-theme="blue"] body .rules-shell .afm-rules-group-body{background:#11374f}
@media(max-width:650px){
 .rules-shell .afm-rules-tools{gap:7px}
 .rules-shell .afm-rules-search{height:44px;font-size:12px;padding:0 10px}
 .rules-shell .afm-rules-expand{padding:0 9px;font-size:10px}
 .rules-shell .afm-rules-group-head{padding:14px 13px;min-height:70px;gap:7px}
 .rules-shell .afm-rules-group-title{font-size:16px}
 .rules-shell .afm-rules-group-head small{font-size:11px}
 .rules-shell .afm-rules-count{font-size:9px;padding:5px 7px}
 .rules-shell .afm-rules-chevron{font-size:22px}
 .rules-shell .afm-rules-group-body{padding:10px;gap:8px}
 .rules-shell .afm-rules-group-links a{font-size:10px;padding:6px 9px}
}
