/* AFM tour: foglio unico GENERATO dai fogli originali, nello stesso ordine: <style>, refine-v1.css, desktop-reset-v1.css, afm-global-premium-bg-v1095.css. Prima di modificarlo leggi agents/css-bundles/README.md */
:root{--bg:#04111d;--bg2:#071b2c;--card:#081a2a;--card2:#0b2236;--line:#17364e;--gold:#e7b83f;--gold2:#ffd86f;--text:#f7f9fb;--muted:#93a6b8;--green:#43d18d;--shadow:0 24px 60px rgba(0,0,0,.34)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 85% 5%,rgba(31,105,158,.18),transparent 25%),radial-gradient(circle at 10% 28%,rgba(231,184,63,.08),transparent 22%),linear-gradient(180deg,#04111d,#061827 42%,#04111d);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding-bottom:72px}
a{color:inherit}
button,input{font:inherit}
.shell{width:min(1120px,calc(100% - 24px));margin:auto}
.topbar{position:sticky;top:0;z-index:50;background:rgba(4,17,29,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand img{width:42px;height:42px;object-fit:contain}
.brand strong{display:block;font:800 15px/1.05 Georgia,serif;letter-spacing:.02em}
.brand small{display:block;margin-top:3px;color:var(--gold);font-size:8px;font-weight:800;letter-spacing:.14em}
.login-btn,.hero-cta-primary,.hero-cta-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;border-radius:11px;min-height:42px;padding:0 15px}
.login-btn{background:var(--gold);color:#061421;font-size:11px}
.hero{position:relative;overflow:hidden;margin-top:14px;border:1px solid rgba(231,184,63,.26);border-radius:24px;background:linear-gradient(135deg,rgba(10,38,60,.96),rgba(4,16,27,.98) 62%),radial-gradient(circle at 80% 25%,rgba(38,127,188,.22),transparent 34%);box-shadow:var(--shadow);padding:34px 30px}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,black,transparent 82%)}
.hero:after{content:"";position:absolute;left:-5%;right:-5%;bottom:-40px;height:170px;background:radial-gradient(ellipse at center,rgba(34,136,75,.3),rgba(5,37,27,.08) 58%,transparent 70%);transform:perspective(300px) rotateX(54deg)}
.hero-logo{position:absolute;right:18px;top:22px;width:180px;height:180px;object-fit:contain;opacity:.11;filter:drop-shadow(0 18px 22px rgba(0,0,0,.5))}
.hero-copy{position:relative;z-index:3;max-width:700px}
.live-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(67,209,141,.32);background:rgba(67,209,141,.09);color:#bdf7d8;padding:7px 10px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.live-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(67,209,141,.1)}
.hero h1{margin:15px 0 12px;font:900 clamp(38px,7vw,76px)/.91 Georgia,serif;letter-spacing:-.035em;text-transform:uppercase;max-width:800px}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero p{max-width:650px;margin:0;color:#c5d1dc;font-size:15px;line-height:1.55}
.hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.hero-cta-primary{background:linear-gradient(180deg,var(--gold2),var(--gold));color:#081522;box-shadow:0 10px 28px rgba(231,184,63,.18)}
.hero-cta-secondary{border:1px solid #2b4b64;background:rgba(3,15,25,.46);color:#edf3f8}
.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:24px;max-width:720px}
.hero-stat{border:1px solid rgba(255,255,255,.08);background:rgba(2,13,22,.46);border-radius:12px;padding:10px 11px}
.hero-stat strong{display:block;font-size:18px}
.hero-stat small{display:block;color:#8297aa;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-top:2px}
.section{margin-top:24px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:11px}
.section-head .eyebrow{display:block;color:var(--gold);font-size:8px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.section-head h2{margin:4px 0 0;font:800 23px/1.05 Georgia,serif}
.section-head p{margin:0;color:var(--muted);font-size:10px}
.league-toolbar{display:flex;align-items:center;gap:9px}
.search{min-height:40px;width:210px;border:1px solid var(--line);background:#071827;color:#fff;border-radius:10px;padding:0 11px;outline:none}
.search:focus{border-color:var(--gold)}
.league-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.league-card{position:relative;overflow:hidden;min-height:122px;text-align:left;border:1px solid var(--line);background:linear-gradient(145deg,#0b263d,#071827);color:#fff;border-radius:15px;padding:13px;cursor:pointer;transition:.18s transform,.18s border-color}
.league-card:hover,.league-card.active{transform:translateY(-2px);border-color:rgba(231,184,63,.75)}
.league-card.active{box-shadow:inset 0 0 0 1px rgba(231,184,63,.16)}
.league-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-45px;bottom:-52px;background:radial-gradient(circle,rgba(231,184,63,.14),transparent 68%)}
.league-flag{font-size:24px}
.league-live{float:right;color:var(--green);font-size:7px;font-weight:900;letter-spacing:.12em}
.league-card strong{display:block;margin-top:10px;font:800 15px/1.05 Georgia,serif}
.league-card small{display:block;color:#8ea2b5;font-size:8px;margin-top:5px}
.search-results:empty{display:none}
.search-results{margin-top:8px;border:1px solid var(--line);background:#061827;border-radius:12px;padding:8px}
.search-result{display:flex;align-items:center;gap:8px;padding:8px;border-radius:9px;text-decoration:none}
.search-result:hover{background:#0b2439}
.search-result img{width:28px;height:28px;object-fit:contain}
.search-result strong{font-size:10px}
.search-result small{display:block;color:var(--muted);font-size:8px}
.stage{border:1px solid var(--line);background:linear-gradient(180deg,rgba(7,25,40,.96),rgba(4,18,30,.96));border-radius:18px;overflow:hidden;box-shadow:0 20px 44px rgba(0,0,0,.22)}
.stage-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid var(--line)}
.stage-title strong{display:block;font:800 15px Georgia,serif}
.stage-title small{display:block;color:var(--muted);font-size:8px;margin-top:3px}
.stage-tabs{display:flex;gap:5px;overflow:auto;padding:9px 12px;border-bottom:1px solid rgba(255,255,255,.05)}
.stage-tabs button{white-space:nowrap;border:1px solid #24445e;background:#071b2c;color:#a9bac9;border-radius:999px;padding:8px 10px;font-size:8px;font-weight:800}
.stage-tabs button.active{background:var(--gold);border-color:var(--gold);color:#07131f}
.stage-body{padding:12px;min-height:250px}
.standings-head,.standings-row{display:grid;grid-template-columns:28px minmax(145px,1.4fr) repeat(6,minmax(36px,.55fr));gap:5px;align-items:center}
.standings-head{padding:7px 8px;color:#6f879b;font-size:7px;font-weight:900;text-transform:uppercase}
.standings-row{padding:8px;border-top:1px solid #173047;font-size:9px;cursor:pointer;border-radius:7px}
.standings-row:hover{background:#0a2236}
.standings-row .club{display:flex;align-items:center;gap:7px;min-width:0}
.standings-row .club img{width:23px;height:23px;object-fit:contain}
.standings-row .club strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.standings-row .pts{color:var(--gold2);font-weight:900}
.standings-row .tot{color:#b8c6d2}
.pos{color:#6b8eaa;font-weight:900}
.pos.top{color:var(--gold)}
.matches-list{display:grid;gap:5px}
.match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;padding:10px;border:1px solid #17344d;background:#071b2d;border-radius:10px;font-size:9px}
.match .away{text-align:right}
.score{min-width:43px;text-align:center;font-weight:900;color:var(--gold2)}
.match-extra{display:none}
.stage.expanded .match-extra{display:grid}
.show-more-btn{min-height:34px;padding:0 11px;margin:0 0 9px;border:1px solid #24445e;border-radius:8px;background:transparent;color:#b9c7d2;font-size:9px;font-weight:800}
.show-more-btn:hover{background:#0b2439;color:#fff}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.team-card{display:flex;align-items:center;gap:8px;border:1px solid #17344d;background:#071b2d;border-radius:11px;padding:9px;text-decoration:none;min-height:55px}
.team-card img{width:30px;height:30px;object-fit:contain}
.team-card strong{display:block;font-size:9px}
.team-card small{display:block;color:var(--muted);font-size:7px;margin-top:3px}
.empty{display:grid;place-items:center;min-height:180px;text-align:center;color:var(--muted);font-size:10px}
.honour{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-bottom:1px solid #17344d;font-size:9px}
.honour span{color:var(--gold)}
.final-cta{position:relative;overflow:hidden;margin:26px 0 0;border:1px solid rgba(231,184,63,.3);border-radius:20px;background:linear-gradient(135deg,#0c2d48,#071827 65%);padding:24px}
.final-cta:after{content:"AFM";position:absolute;right:-10px;bottom:-30px;font:900 100px Georgia,serif;color:rgba(231,184,63,.06)}
.final-cta h2{position:relative;z-index:2;margin:0;font:900 28px/1 Georgia,serif}
.final-cta p{position:relative;z-index:2;color:#aebdcc;font-size:10px;max-width:560px}
.final-cta .hero-actions{position:relative;z-index:2;margin-top:14px}
.public-note{text-align:center;color:#607b91;font-size:8px;line-height:1.5;margin:16px 0 0}
.bottom-nav{display:none}
@media(max-width:820px){
.value-grid,.league-grid{grid-template-columns:repeat(2,1fr)}
.team-grid{grid-template-columns:repeat(2,1fr)}
.hero-logo{width:135px;height:135px;right:-6px;top:28px}
.standings-head,.standings-row{min-width:650px}
.standings-wrap{overflow-x:auto}
}
@media(max-width:600px){
body{padding-bottom:74px}
.shell{width:min(100% - 18px,1120px)}
.topbar-inner{height:58px}
.brand img{width:36px;height:36px}
.brand strong{font-size:13px}
.login-btn{min-height:36px;padding:0 11px}
.hero{margin-top:8px;border-radius:18px;padding:22px 16px 18px}
.hero-logo{width:120px;height:120px;right:-18px;top:38px;opacity:.08}
.hero h1{font-size:39px;max-width:320px}
.hero p{font-size:11px;max-width:310px}
.hero-actions{margin-top:16px}
.hero-cta-primary,.hero-cta-secondary{min-height:40px;font-size:10px;padding:0 12px}
.hero-stats{grid-template-columns:repeat(2,1fr);margin-top:18px}
.hero-stat strong{font-size:16px}
.section{margin-top:18px}
.section-head{align-items:center}
.section-head h2{font-size:19px}
.section-head p{display:none}
.league-toolbar{width:100%;justify-content:flex-end}
.search{width:150px;font-size:16px}
.league-grid{grid-template-columns:repeat(2,1fr);gap:6px}
.league-card{min-height:105px;padding:11px}
.stage{border-radius:15px}
.stage-head{padding:12px}
.stage-tabs{padding:8px}
.stage-body{padding:8px}
.team-grid{grid-template-columns:1fr 1fr}
.final-cta{padding:19px 15px}
.final-cta h2{font-size:23px}
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:80;display:grid;grid-template-columns:repeat(4,1fr);min-height:59px;padding:5px 8px max(5px,env(safe-area-inset-bottom));background:rgba(3,15,25,.97);border-top:1px solid rgba(151,177,197,.16);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#7f94a7;text-decoration:none;font-size:15px}
.bottom-nav small{font-size:7px}
.bottom-nav a.active{color:var(--gold)}
}
.tour-quicklinks{display:flex;flex-wrap:wrap;gap:8px}
.tour-quicklinks a{flex:1 1 190px;display:flex;justify-content:center;align-items:center;text-decoration:none;background:#0e2b40;border:1px solid #36556d;border-radius:11px;color:#e9cf89;min-height:48px;padding:12px;font-size:12px;font-weight:900}
.nation-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:12px 0}
.nation-choice{min-width:0;min-height:88px;border:1px solid #36516c;border-radius:12px;background:#0b2639;color:#f1f4fa;padding:10px 4px;font:850 10px system-ui;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.nation-choice span{font-size:26px;line-height:1}
.nation-choice.active,.nation-choice:hover{border-color:#ebc36b;background:#1e3a4c}
@media(max-width:830px){
.nation-picker{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:600px){
.nation-picker{gap:6px}
.nation-choice{min-height:76px;font-size:9px;padding:7px 2px}
.nation-choice span{font-size:24px}
}
: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}
.shell,.trade-shell{padding-left:10px!important;padding-right:10px!important}
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){
.shell,.trade-shell{padding-left:8px!important;padding-right:8px!important}
.panel,.admin-card,.trade-card{max-width:100%;overflow:hidden}
.section-head{gap:6px!important}
.section-head h2{font-size:19px!important}
}
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;
}
.empty,.empty-m,.cup-empty{
  border-radius:10px;
}
.empty strong,.empty-m strong,.cup-empty strong{
  color:#eef3f6;
}
.empty p,.empty-m,.cup-empty,.next-note{
  color:#91a4b5;
}
@media (min-width:901px){
:root{
    --dr-text:#eef4f7;
    --dr-muted:#9fb1be;
    --dr-meta:#8fa4b3;
    --dr-line:rgba(132,160,181,.20);
  }
body.afm-desktop-v4{font-size:13px!important}
body.afm-desktop-v4 .afm-d4-brand small{font-size:10px!important}
body.afm-desktop-v4 .afm-d4-label{font-size:10px!important;letter-spacing:.11em!important;margin-top:13px!important}
body.afm-desktop-v4 .afm-d4-nav a{font-size:13px!important;min-height:42px!important}
body.afm-desktop-v4 .afm-d4-page small{font-size:10px!important}
body.afm-desktop-v4 .afm-d4-page strong{font-size:17px!important}
body.afm-desktop-v4 .afm-d4-actions a,
  body.afm-desktop-v4 .afm-d4-actions button{font-size:12px!important;min-height:38px!important}
body.afm-desktop-v4 .eyebrow,
  body.afm-desktop-v4 .kicker{font-size:11px!important;letter-spacing:.11em!important}
body.afm-desktop-v4 input,
  body.afm-desktop-v4 select,
  body.afm-desktop-v4 textarea,
  body.afm-desktop-v4 button{font-size:12px!important}
body.afm-desktop-v4.afm-home main.shell.home{
    background:
      linear-gradient(90deg,rgba(3,10,17,.95) 0%,rgba(3,10,17,.68) 38%,rgba(3,10,17,.27) 70%,rgba(3,10,17,.45) 100%),
      linear-gradient(180deg,rgba(3,10,16,.10),rgba(3,10,16,.80)),
      url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=2200&q=90") center 56%/cover no-repeat fixed!important;
  }
body.afm-desktop-v4.afm-competition table.standings{font-size:13px!important}
body.afm-desktop-v4.afm-competition table.standings th{font-size:11px!important;height:42px!important}
body.afm-desktop-v4.afm-competition table.standings td{font-size:13px!important;height:56px!important}
body.afm-desktop-v4.afm-credits .afm-subhead-v5 p{font-size:12px!important}
body.afm-desktop-v4.afm-nation .tier,
  body.afm-desktop-v4.afm-nation .division-clubs{font-size:10px!important}
body.afm-desktop-v4.afm-trades #history>.status{font-size:11px!important;min-width:260px!important;padding:8px 10px!important}
body.afm-desktop-v4.afm-trades #history>.status small{font-size:10px!important}
body.afm-desktop-v4.afm-trades #tradeCreate>summary{font-size:12px!important;min-height:42px!important}
body.afm-desktop-v4.afm-trades label{font-size:11px!important}
body.afm-desktop-v4.afm-trades #clubA,
  body.afm-desktop-v4.afm-trades #clubB{height:40px!important;min-height:40px!important;font-size:12px!important}
body.afm-desktop-v4.afm-trades .afm-value-box small{font-size:10px!important}
body.afm-desktop-v4.afm-stadium .afm-subhead-v5 p{font-size:12px!important}
body.afm-desktop-v4.afm-lineup .page{
    display:grid!important;width:auto!important;max-width:1440px!important;margin:0 auto!important;padding:18px 24px 32px!important;
    grid-template-columns:minmax(0,1fr) 320px!important;gap:8px 12px!important;align-items:start!important
  }
body.afm-desktop-v4.afm-lineup .page>*{min-width:0!important;margin:0!important;order:0!important;grid-column:1/-1!important;grid-row:auto!important}
body.afm-desktop-v4.afm-lineup .page>[hidden]{display:none!important}
body.afm-desktop-v4.afm-lineup .page>.top{grid-area:1 / 1 / 2 / -1!important;padding:0!important;min-height:36px!important;height:42px!important;border:0!important}
body.afm-desktop-v4.afm-lineup .top .title{font-size:14px!important}
body.afm-desktop-v4.afm-lineup .page>.hero{grid-area:2 / 1 / 3 / 2!important;padding:8px 16px!important;min-height:84px!important;border-radius:12px!important}
body.afm-desktop-v4.afm-lineup .hero h1{font-size:28px!important;margin:5px 0!important}
body.afm-desktop-v4.afm-lineup .hero small{font-size:11px!important}
body.afm-desktop-v4.afm-lineup .hero .manager{font-size:13px!important}
body.afm-desktop-v4.afm-lineup .hero>.module-card{
    margin:8px 0 0!important;
    min-height:58px!important;
    padding:8px 12px!important;
    display:grid!important;
    grid-template-columns:auto minmax(180px,320px)!important;
    justify-content:start!important;
    gap:14px!important;
    border-radius:12px!important;
  }
body.afm-desktop-v4.afm-lineup .hero>.module-card label{font-size:14px!important}
body.afm-desktop-v4.afm-lineup .hero>.module-card select{
    min-height:46px!important;
    width:280px!important;
    max-width:100%!important;
    font-size:23px!important;
    padding:0 16px!important;
  }
body.afm-desktop-v4.afm-lineup .hero>.submission-banner{
    margin:8px 0 0!important;
    min-height:52px!important;
    padding:8px 10px!important;
  }
body.afm-desktop-v4.afm-lineup .page>.submission-banner{grid-area:3 / 1 / 4 / 2!important;padding:10px 12px!important;min-height:64px!important}
body.afm-desktop-v4.afm-lineup .page>.lineup-state{grid-area:3 / 2 / 4 / 3!important;min-height:64px!important;padding:10px 12px!important}
body.afm-desktop-v4.afm-lineup .lineup-state strong,body.afm-desktop-v4.afm-lineup .countdown,body.afm-desktop-v4.afm-lineup .state-pill{font-size:11px!important;line-height:1.4!important}
body.afm-desktop-v4.afm-lineup .page>.module-card:not(#competitionScope){
    grid-area:4 / 1 / 5 / 2!important;
    min-height:64px!important;
    padding:10px 16px!important;
    gap:16px!important;
  }
body.afm-desktop-v4.afm-lineup .module-card label{font-size:14px!important}
body.afm-desktop-v4.afm-lineup .module-card select{
    min-height:48px!important;
    max-width:320px!important;
    font-size:24px!important;
    padding:0 16px!important;
  }
body.afm-desktop-v4.afm-lineup .page>.manager-strip{grid-area:4 / 2 / 5 / 3!important;gap:8px!important}
body.afm-desktop-v4.afm-lineup .page>.pitch{grid-area:3 / 1 / 4 / 2!important;width:100%!important;height:680px!important;min-height:680px!important;max-height:none!important;aspect-ratio:auto!important}
body.afm-desktop-v4.afm-lineup .slot{width:100px!important;min-width:0!important;min-height:98px!important}
body.afm-desktop-v4.afm-lineup .page>.bench{grid-area:3 / 2 / 4 / 3!important;height:680px!important;max-height:680px!important;overflow-y:auto!important;padding:12px!important;position:static!important}
body.afm-desktop-v4.afm-lineup .bench>.lineup-state{
    margin:0 0 8px!important;
    min-height:54px!important;
    padding:8px 10px!important;
  }
body.afm-desktop-v4.afm-lineup .bench>.manager-strip{
    margin:0 0 12px!important;
    gap:6px!important;
  }
body.afm-desktop-v4.afm-lineup .bench h2{font-size:20px!important}
body.afm-desktop-v4.afm-lineup .bench p{font-size:12px!important;margin:6px 0 12px!important}
body.afm-desktop-v4.afm-lineup .page>#competitionScope{grid-area:5 / 1 / 6 / -1!important;display:block!important;padding:12px!important}
body.afm-desktop-v4.afm-lineup .page>#competitionScope[hidden]{display:none!important}
body.afm-desktop-v4.afm-lineup #competitionScope label{display:flex!important;align-items:flex-start!important;width:100%!important;gap:10px!important}
body.afm-desktop-v4.afm-lineup #competitionScope input{flex:0 0 20px!important}
body.afm-desktop-v4.afm-lineup #competitionScope label>span{display:block!important;min-width:0!important}
body.afm-desktop-v4.afm-lineup #competitionScope strong,body.afm-desktop-v4.afm-lineup #competitionScope small{display:block!important;white-space:normal!important;font-size:13px!important;letter-spacing:normal!important;line-height:1.5!important}
body.afm-desktop-v4.afm-lineup .page>.afm-form{grid-area:11 / 2 / 12 / 3!important;width:100%!important;max-width:none!important;padding:12px!important}
}
@media (min-width:901px){
@media(max-width:1100px){
body.afm-desktop-v4.afm-lineup .page{grid-template-columns:minmax(0,1fr)!important}
body.afm-desktop-v4.afm-lineup .page>*{grid-area:auto / 1!important}
body.afm-desktop-v4.afm-lineup .page>.bench{height:auto!important;max-height:none!important}
}}
@media (min-width:901px){
body.afm-desktop-v4.afm-diretta-gol{
    background-color:#04101a!important;
    background-image:
      radial-gradient(circle at 84% 6%,rgba(36,98,136,.14),transparent 28%),
      radial-gradient(circle at 18% 92%,rgba(230,191,84,.05),transparent 30%),
      linear-gradient(180deg,#03101a 0%,#061724 100%)!important;
    background-size:auto!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-attachment:fixed!important;
  }
body.afm-desktop-v4.afm-diretta-gol .afm-page-watermark{display:none!important}
body.afm-desktop-v4.afm-diretta-gol .live-dot{
    width:10px!important;height:10px!important;margin-right:7px!important;box-shadow:0 0 0 4px rgba(230,83,83,.10)!important
  }
body.afm-desktop-v4.afm-diretta-gol .teams{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    gap:14px!important
  }
body.afm-desktop-v4.afm-diretta-gol .team{
    gap:10px!important;font-size:16px!important;line-height:1.25!important;color:#f3f6f8!important;font-weight:900!important
  }
body.afm-desktop-v4.afm-diretta-gol .team img{
    width:42px!important;height:42px!important
  }
body.afm-desktop-v4.afm-diretta-gol .score{
    min-width:88px!important;
    padding:8px 10px!important;
    border-radius:12px!important;
    background:rgba(230,191,84,.08)!important;
    font-size:30px!important;line-height:1!important;color:#f0ca65!important;text-align:center!important
  }
body.afm-desktop-v4.afm-diretta-gol .event{padding:3px 0!important}
body.afm-desktop-v4.afm-diretta-gol .empty{
    grid-column:1/-1!important;
    min-height:170px!important;
    display:grid!important;place-items:center!important;
    padding:28px!important;
    border:1px solid rgba(130,160,182,.16)!important;
    border-radius:17px!important;
    background:#071925!important;
    color:#b9c8d2!important;
    font-size:14px!important;line-height:1.6!important
  }
body.afm-desktop-v4.afm-diretta-gol .empty strong{font-size:18px!important;color:#f0f3f5!important}
body.afm-desktop-v4.afm-reconfirmations main.s,
  body.afm-desktop-v4.afm-releases main.s{max-width:1120px!important}
body.afm-desktop-v4.afm-reconfirmations .p,
  body.afm-desktop-v4.afm-releases .p{min-height:48px!important;padding:6px 9px!important}
body.afm-desktop-v4.afm-reconfirmations .p img,
  body.afm-desktop-v4.afm-releases .p img{width:34px!important;height:34px!important}
body.afm-desktop-v4.afm-releases .p button{font-size:11px!important;height:34px!important}
body.afm-desktop-v4.afm-lineup-history .list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.afm-desktop-v4.afm-lineup-history .top .back{font-size:11px!important}
body.afm-desktop-v4.afm-lineup-history .sub,
  body.afm-desktop-v4.afm-lineup-history .meta{font-size:10px!important}
body.afm-desktop-v4.afm-lineup-history .match{font-size:11px!important;min-height:50px!important}
body.afm-desktop-v4.afm-lineup-history .box small{font-size:9.5px!important}
body.afm-desktop-v4.afm-lineup-history .box strong{font-size:12px!important}
body.afm-desktop-v4 main.shell>.hero p{font-size:13px!important}
body.afm-desktop-v4 main.shell>.grid .card small{font-size:11px!important;line-height:1.45!important}
.afm-help-launch{
    right:18px!important;bottom:18px!important;
    width:52px!important;height:52px!important;min-height:52px!important;
    padding:0!important;justify-content:center!important;gap:0!important
  }
body.afm-desktop-v4 .afm-help-launch{
    left:174px!important;right:auto!important;bottom:18px!important
  }
.afm-help-launch>span{display:none!important}
.afm-help-robot{width:38px!important;height:38px!important}
.afm-help-panel{right:18px!important;bottom:82px!important}
body.afm-desktop-v4 .afm-help-panel{
    left:252px!important;right:auto!important;bottom:18px!important
  }
body.afm-market-envelopes>.shell .btn{height:36px!important;min-height:36px!important;font-size:11px!important}
body.afm-admin-desktop .afm-admin-brand small{font-size:10px!important}
body.afm-admin-desktop .afm-admin-group-label{font-size:10px!important}
body.afm-admin-desktop .afm-admin-link{font-size:12px!important;min-height:40px!important}
body.afm-tour-public .brand small{font-size:10px!important}
body.afm-tour-public .live-pill{font-size:10px!important}
body.afm-tour-public .hero-stat small{font-size:10px!important}
body.afm-tour-public .section-head .eyebrow{font-size:10px!important}
body.afm-tour-public .section-head p{font-size:12px!important}
body.afm-tour-public .league-live{font-size:10px!important}
body.afm-tour-public .league-card small{font-size:11px!important}
body.afm-tour-public .search-result strong{font-size:12px!important}
body.afm-tour-public .search-result small{font-size:10px!important}
body.afm-tour-public .stage-title small{font-size:10px!important}
body.afm-tour-public .stage-tabs button{font-size:11px!important;min-height:36px!important}
body.afm-tour-public .standings-head{font-size:10px!important}
body.afm-tour-public .standings-row{font-size:12px!important;min-height:48px!important}
body.afm-tour-public .match{font-size:12px!important;min-height:48px!important}
body.afm-tour-public .show-more-btn{font-size:11px!important;min-height:38px!important}
body.afm-tour-public .team-card{min-height:64px!important}
body.afm-tour-public .team-card strong{font-size:12px!important}
body.afm-tour-public .team-card small{font-size:10px!important}
body.afm-tour-public .empty{font-size:11px!important}
body.afm-tour-public .honour{font-size:11px!important}
body.afm-tour-public .final-cta p{font-size:12px!important}
body.afm-tour-public .public-note{font-size:10px!important}
body.afm-club-public .top{margin-bottom:12px!important}
body.afm-club-public .brand img{width:52px!important;height:52px!important}
body.afm-club-public .brand strong{font-size:18px!important}
body.afm-club-public .brand small{font-size:10px!important}
body.afm-club-public .btn{font-size:12px!important;min-height:40px!important}
body.afm-club-public .hero,
  body.afm-club-public .panel{padding:16px!important;border-radius:14px!important;margin-bottom:10px!important}
body.afm-club-public .hero h1{font-size:32px!important}
body.afm-club-public .hero p{font-size:12px!important}
body.afm-club-public .panel h2{font-size:18px!important;margin-bottom:10px!important}
body.afm-club-public .row{
    grid-template-columns:34px minmax(0,1.35fr) minmax(120px,1fr) 40px!important;
    min-height:48px!important;padding:8px 2px!important;font-size:12px!important
  }
body.afm-club-public .match{min-height:48px!important;padding:9px 2px!important;font-size:12px!important}
body.afm-club-public .empty{font-size:11px!important}
}
@media (min-width:901px) and (max-width:1199px){
html,html body:has(.app){min-width:0!important;max-width:100%!important;overflow-x:clip!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 · 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-tour-public{font-family:Barlow,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
