.control-tag { display:inline-block; width:max-content; padding:3px 6px; border-radius:99px; font-style:normal; font-size:7px; font-weight:950; letter-spacing:.7px; }
.control-tag.cpu { color:#cbd5e1; background:#334155; }
.control-tag.human { color:#052e16; background:#4ade80; }
.standing-row>a { min-width:0; }
.standing-row>a strong,.standing-row>a small { display:block; }
.division-list { display:grid; gap:17px; }
.division { overflow:hidden; border:1px solid var(--line); border-radius:18px; background:var(--panel); }
.division-head { display:flex; align-items:center; justify-content:space-between; padding:17px; background:linear-gradient(120deg,#213653,#111d2c); }
.division.tier-1 .division-head { background:linear-gradient(120deg,#6e5310,#1f2833); }
.division-head span { color:var(--gold); font-size:8px; letter-spacing:1.4px; font-weight:900; }
.division-head h2 { margin:2px 0 0; }
.division-head>b { color:var(--muted); font-size:9px; }
.division-head>img{width:48px;height:58px;margin-right:10px;object-fit:contain;filter:drop-shadow(0 5px 7px #0008)}.division-head>div{flex:1}
.division>div:last-child>a { display:grid; grid-template-columns:23px 1fr auto 42px; gap:8px; align-items:center; padding:11px 13px; border-bottom:1px solid var(--line); }
.division>div:last-child>a>span { color:var(--muted); font-size:10px; }
.division>div:last-child>a strong,.division>div:last-child>a small { display:block; }
.division>div:last-child>a strong { font-size:11px; }
.division>div:last-child>a small { color:var(--muted); font-size:8px; }
.division>div:last-child>a>b { text-align:right; color:var(--gold); font-size:10px; }
.club-profile-hero { position:relative; display:flex; align-items:center; gap:18px; padding:25px 18px; margin:-24px -18px 20px; background:radial-gradient(circle at 80%,var(--club-a),transparent 50%),linear-gradient(135deg,var(--club-b),#0d1725); overflow:hidden; }
.club-profile-hero h1 { margin:7px 0; font-size:37px; }
.club-profile-hero p { margin:0; color:#d4deeb; }
.club-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; border:1px solid var(--line); border-radius:13px; overflow:hidden; }
.club-kpis span { padding:11px 4px; text-align:center; background:var(--panel); }
.club-kpis small,.club-kpis b { display:block; }
.club-kpis small { color:var(--muted); font-size:8px; }
.club-player-list { display:grid; gap:7px; }
.club-player-list>a { display:grid; grid-template-columns:48px 1fr 40px; align-items:center; gap:10px; padding:8px; background:var(--panel); border:1px solid var(--line); border-radius:12px; }
.club-player-photo { width:48px; height:48px; border-radius:9px; }
.club-player-list strong,.club-player-list small { display:block; }
.club-player-list strong { font-size:11px; }
.club-player-list small { color:var(--muted); font-size:8px; }
.club-player-list>a>b { display:grid; place-items:center; width:37px; height:37px; color:var(--gold); background:#22344e; border-radius:50%; }
.club-crest-image { width:92px; height:92px; flex:0 0 92px; object-fit:contain; filter:drop-shadow(0 8px 15px #0009); }
.public-club-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:0 0 22px;padding:5px;border:1px solid var(--line);border-radius:15px;background:#0c1625}.public-club-tabs a{padding:11px 5px;border-radius:10px;color:var(--muted);text-align:center;font-size:10px;font-weight:900}.public-club-tabs a.active{background:var(--gold);color:#101820}
.public-stadium-card{position:relative;min-height:260px;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#101a28}.public-stadium-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.public-stadium-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#08111fed)}.public-stadium-card>div{position:absolute;z-index:1;left:20px;right:20px;bottom:18px}.public-stadium-card span{color:var(--gold);font-size:8px;font-weight:950;letter-spacing:.15em}.public-stadium-card h2{margin:5px 0}.public-stadium-card p{margin:0;color:#d2dbe7;font-size:10px}.club-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.club-identity-grid article{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}.club-identity-grid span,.club-identity-grid strong,.club-identity-grid small{display:block}.club-identity-grid span{color:var(--muted);font-size:8px;text-transform:uppercase}.club-identity-grid strong{margin:5px 0;font-size:13px}.club-identity-grid small{color:#b8c4d3;font-size:8px}.club-identity-grid i{display:flex;gap:5px;margin-top:8px}.club-identity-grid i b{width:25px;height:9px;border-radius:99px}.club-public-description{margin-top:12px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.club-public-description h2{margin-top:0}.club-public-description p{margin-bottom:0;color:var(--muted);line-height:1.6}.public-facilities-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.public-facilities-grid article{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.public-facilities-grid article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#233653;color:var(--gold)}.public-facilities-grid strong,.public-facilities-grid small{display:block}.public-facilities-grid strong{font-size:10px}.public-facilities-grid small{margin-top:3px;color:var(--muted);font-size:8px}
.public-honours .section-head{align-items:end}.public-honours .section-head h2{margin:3px 0}.public-honours .section-head>b{color:var(--gold);font-size:10px}.public-trophy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.public-trophy-grid article{display:grid;grid-template-columns:100px 1fr;align-items:center;min-height:135px;padding:12px;border:1px solid #c89b3555;border-radius:18px;background:radial-gradient(circle at 15%,#6d511b55,transparent 45%),linear-gradient(145deg,#222738,#111a28)}.public-trophy-grid img{width:95px;height:110px;object-fit:contain;filter:drop-shadow(0 9px 12px #0009)}.public-trophy-grid span,.public-trophy-grid strong,.public-trophy-grid small,.public-trophy-grid a{display:block}.public-trophy-grid span{color:var(--gold);font-size:7px;letter-spacing:.12em}.public-trophy-grid strong{margin:5px 0;font-size:11px}.public-trophy-grid small,.public-trophy-grid a{color:var(--muted);font-size:8px}.public-trophy-grid a{color:#93c5fd}.public-trophy-grid .trophy-top_scorer{border-color:#f7c94899;background:radial-gradient(circle at 15%,#a46d1555,transparent 48%),#171f2d}
.public-transfer-history .section-head{align-items:end}.public-transfer-history .section-head h2{margin:3px 0}.public-transfer-history select{width:auto;min-width:130px;margin:0;padding:9px;font-size:9px}.club-transfer-list{display:grid;gap:7px}.club-transfer-list article{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.transfer-direction{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:20px;font-weight:950}.club-transfer-list .incoming .transfer-direction{background:#14532d;color:#86efac}.club-transfer-list .outgoing .transfer-direction{background:#5f1d24;color:#fca5a5}.club-transfer-list small,.club-transfer-list strong,.club-transfer-list p{display:block}.club-transfer-list small{color:var(--muted);font-size:7px;text-transform:uppercase}.club-transfer-list strong{margin:3px 0;font-size:11px}.club-transfer-list p{margin:0;color:#b9c5d3;font-size:8px}.club-transfer-list p a{color:#93c5fd}.club-transfer-list>article>b{color:var(--gold);font-size:10px}
.squad-hero { justify-content:flex-start; }
.squad-hero>div:nth-child(2) { min-width:0; flex:1; }
.squad-hero>.btn { margin-left:auto; }
.squad-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin:18px 0 24px; padding:5px; border:1px solid var(--line); border-radius:15px; background:#0c1625; }
.squad-tabs a { padding:11px; border-radius:11px; color:var(--muted); text-align:center; font-size:11px; font-weight:900; }
.squad-tabs a.active { color:#0a1422; background:var(--gold); }
.squad-stats-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:15px; }
.squad-stats { width:100%; min-width:760px; border-collapse:collapse; background:var(--panel); }
.squad-stats th,.squad-stats td { padding:11px 9px; border-bottom:1px solid var(--line); text-align:center; font-size:10px; }
.squad-stats th:first-child,.squad-stats td:first-child { text-align:left; }
.squad-stats th { color:var(--muted); font-size:8px; letter-spacing:.08em; text-transform:uppercase; }
.squad-stats td a strong,.squad-stats td a small { display:block; }
.squad-stats td a small { margin-top:3px; color:var(--muted); font-size:8px; }
.identity-preview { display:flex; align-items:center; gap:16px; min-height:130px; margin-bottom:18px; padding:22px; border:1px solid #ffffff25; border-radius:20px; background:radial-gradient(circle at 80%,var(--identity-a),transparent 52%),linear-gradient(135deg,var(--identity-b),#0b1421); }
.identity-preview>img,.identity-preview>div { width:82px; height:82px; flex:0 0 82px; object-fit:contain; }
.identity-preview>div { display:grid; place-items:center; border-radius:50%; color:white; background:linear-gradient(145deg,var(--identity-a),var(--identity-b)); font-size:25px; font-weight:950; }
.identity-preview span>* { display:block; }
.identity-preview strong { font-size:25px; }
.identity-preview small { margin-top:6px; color:#d7e2ee; }
.identity-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.fan-hero{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.fan-hero>div{padding:18px;border:1px solid var(--line);border-radius:17px;background:var(--panel)}.fan-hero span,.fan-hero strong,.fan-hero small{display:block}.fan-hero span{color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.1em}.fan-hero strong{margin-top:7px;color:var(--gold);font-size:25px}.fan-hero small{color:#b8c4d3}.fan-active{display:flex;align-items:center;justify-content:space-between;border-color:#ffcc3366}.fan-active span{color:var(--gold);font-size:8px;font-weight:950;letter-spacing:.12em}.fan-active h2{margin:5px 0}.fan-active p{margin:0;color:var(--muted)}.fan-active>b{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--gold);color:#091321}.fan-campaign-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.fan-campaign-grid article{padding:17px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.fan-campaign-grid article>span{color:var(--gold);font-size:9px;font-weight:900;text-transform:uppercase}.fan-campaign-grid h3{margin:8px 0;font-size:24px}.fan-campaign-grid p{min-height:42px;color:var(--muted);font-size:9px;line-height:1.5}.fan-campaign-grid dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}.fan-campaign-grid dl div{padding:9px;border-radius:10px;background:#091321}.fan-campaign-grid dt{color:var(--muted);font-size:7px}.fan-campaign-grid dd{margin:4px 0 0;font-size:9px;font-weight:850}.fan-rules{margin-top:16px}.fan-rules p{margin-bottom:0;color:var(--muted);line-height:1.6}.fan-archive-title{margin-top:34px;padding-top:8px;border-top:1px solid var(--line)}.fan-history{display:grid;gap:7px}.fan-history article{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.fan-history strong,.fan-history small{display:block}.fan-history small{margin-top:3px;color:var(--muted)}.fan-history b{color:var(--gold)}
.club-color-picker { display:grid; grid-template-columns:1fr 1fr minmax(100px,.7fr); gap:12px; align-items:stretch; }
.club-color-picker label { margin:0; }
.club-color-picker input[type=color] { min-height:52px; padding:4px; cursor:pointer; }
.club-color-preview { display:grid; place-items:center; align-content:center; min-height:80px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(135deg,var(--preview-a,#f7c948) 50%,var(--preview-b,#111827) 50%); text-align:center; }
.club-color-preview span,.club-color-preview small { display:block; text-shadow:0 1px 4px #000; }
.club-color-preview span { color:white; font-size:20px; font-weight:950; }
.club-color-preview small { color:white; font-size:8px; }
.home-crest.has-image,.crest.has-image { background:none; }
.home-crest-image { width:100%; height:100%; object-fit:contain; }
@media(min-width:760px) {
  .division-list { grid-template-columns:1fr 1fr; align-items:start; }
  .club-profile-hero { margin-top:-40px; padding:38px; border-radius:0 0 24px 24px; }
  .club-player-list { grid-template-columns:1fr 1fr; }
  .public-facilities-grid{grid-template-columns:repeat(5,1fr)}
}

/* Panoramica di tutte le serie */
.world-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px;border:1px solid var(--line);border-radius:24px;background:radial-gradient(circle at 85% 10%,#eabf3b26,transparent 38%),linear-gradient(145deg,#192c45,#0c1624)}.world-hero h1{margin:4px 0}.world-hero p{max-width:650px;margin:0;color:var(--muted)}
.tier-jump{position:sticky;z-index:4;top:68px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:14px 0;padding:5px;border:1px solid var(--line);border-radius:14px;background:#0b1625ee;backdrop-filter:blur(12px)}.tier-jump a{padding:10px;border-radius:9px;color:var(--muted);font-size:9px;font-weight:950;text-align:center}.tier-jump a:hover{background:#22334a;color:var(--gold)}
.football-pyramid{display:grid;justify-items:center;gap:5px;margin:22px auto;max-width:700px}.football-pyramid a{display:flex;justify-content:space-between;gap:20px;padding:12px 18px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(90deg,#1d304a,#101b2b)}.football-pyramid a b{color:var(--gold)}.football-pyramid a small{color:var(--muted)}.pyramid-a{width:42%}.pyramid-b{width:58%}.pyramid-c{width:76%}.pyramid-d{width:94%}
.world-snapshot{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.world-snapshot article{display:grid;gap:4px;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}.world-snapshot article>span{color:var(--gold);font-size:8px;font-weight:950}.world-snapshot strong{font-size:13px}.world-snapshot small{color:var(--muted);font-size:8px}
.world-tier{scroll-margin-top:130px;margin-top:30px}.world-tier-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.world-tier-title img{width:52px;height:62px;object-fit:contain}.world-tier-title h2{margin:2px 0}.world-tier-title>small{margin-left:auto;color:var(--muted)}
.division-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.division-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.division-card[open]{border-color:#eabf3b66}.division-card summary{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;gap:14px;align-items:center;padding:16px;cursor:pointer;list-style:none;background:linear-gradient(135deg,#1b2d46,#101b2a)}.division-card summary::-webkit-details-marker{display:none}.division-card summary>div:first-child>span{color:var(--gold);font-size:8px;font-weight:950}.division-card summary h3{margin:4px 0 1px}.division-card summary small{color:var(--muted);font-size:8px}.division-card summary>i{color:var(--gold);font-style:normal}.division-card[open] summary>i{transform:rotate(180deg)}.division-summary-stats{display:flex;gap:12px}.division-summary-stats span{display:grid}.division-summary-stats b{font-size:8px}
.world-table{border-top:1px solid var(--line)}.world-row{display:grid;grid-template-columns:25px minmax(0,1fr) 30px 38px 38px;gap:6px;align-items:center;min-height:48px;padding:8px 12px;border-bottom:1px solid var(--line)}.world-row.heading{min-height:auto;color:var(--muted);font-size:7px}.world-row>span:nth-child(2){display:flex;align-items:center;gap:8px;min-width:0}.world-row>span:nth-child(2)>img,.world-row>span:nth-child(2)>i{flex:0 0 27px;width:27px;height:30px;object-fit:contain}.world-row>span:nth-child(2)>i{display:grid;place-items:center;background:linear-gradient(145deg,var(--c1),var(--c2));clip-path:polygon(8% 0,92% 0,100% 72%,50% 100%,0 72%);font-size:6px;font-style:normal}.world-row>span:nth-child(2)>span{display:grid;min-width:0}.world-row strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.world-row small{color:var(--muted);font-size:7px}.world-row>b{color:var(--gold);text-align:right}.world-row.promoted{box-shadow:inset 3px 0 #22c55e}.world-row.relegated{box-shadow:inset 3px 0 #ef4444}.world-row.mine{background:#eabf3b13}
.runner-up-comparison{margin-top:14px;padding:17px;border:1px solid var(--line);border-radius:18px;background:#0d1828}.runner-up-comparison .section-head small{color:var(--gold)}.runner-up-comparison>div:last-of-type{overflow:hidden;border:1px solid var(--line);border-radius:12px}.runner-up-comparison a{display:grid;grid-template-columns:24px minmax(0,1fr) 55px 55px 65px;gap:7px;align-items:center;padding:11px;border-bottom:1px solid var(--line)}.runner-up-comparison a.qualified{background:#14532d33}.runner-up-comparison a div{display:grid}.runner-up-comparison a small,.runner-up-comparison>p{color:var(--muted);font-size:8px}.runner-up-comparison a>b{color:#94a3b8;font-size:7px;text-align:right}.runner-up-comparison a.qualified>b{color:#4ade80}
.movement-projection,.world-rules{margin-top:30px;padding:20px;border:1px solid var(--line);border-radius:21px;background:linear-gradient(145deg,#142238,#0b1523)}.movement-projection>div{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.movement-projection article{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#0a1421}.movement-projection article>b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%}.movement-projection .up>b{background:#14532d;color:#4ade80}.movement-projection .down>b{background:#7f1d1d;color:#fca5a5}.movement-projection article span{display:grid}.movement-projection article small,.movement-projection>p{color:var(--muted);font-size:8px}
.world-rules>div{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.world-rules article{padding:14px;border:1px solid var(--line);border-radius:13px;background:#0a1421}.world-rules h3{margin:0}.world-rules p{margin:6px 0 0;color:var(--muted);font-size:9px;line-height:1.5}
@media(max-width:700px){.world-hero{display:grid;padding:18px}.tier-jump{top:62px}.pyramid-a{width:58%}.pyramid-b{width:70%}.pyramid-c{width:84%}.pyramid-d{width:100%}.world-snapshot{grid-template-columns:1fr}.division-grid{grid-template-columns:1fr}.division-card summary{grid-template-columns:1fr 18px}.division-summary-stats{grid-column:1/-1;grid-row:2;justify-content:space-between}.runner-up-comparison a{grid-template-columns:22px minmax(0,1fr) 45px 46px}.runner-up-comparison a>b{display:none}.movement-projection>div,.world-rules>div{grid-template-columns:1fr}}
@media(max-width:560px) {
  .club-profile-hero { gap:12px; }
  .club-profile-hero h1 { font-size:28px; }
  .club-crest-image { width:70px; height:70px; flex-basis:70px; }
  .public-club-tabs a{font-size:8px}.public-trophy-grid{grid-template-columns:1fr}.public-stadium-card{min-height:220px}
  .squad-hero>.btn { padding-inline:12px; }
  .identity-grid,.club-color-picker,.fan-hero,.fan-campaign-grid { grid-template-columns:1fr; }
  .club-color-picker { grid-template-columns:1fr 1fr; }
  .club-color-preview { grid-column:1/-1; min-height:68px; }
}
