@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Caveat:wght@600;700&family=Fredoka:wght@500;600;700&family=Lilita+One&family=Nunito+Sans:wght@500;600;700;800&display=swap");
:root{--bg:#f4f7fb;--card:#ffffff;--text:#172033;--muted:#687386;--line:#d8e0ea;--accent:#2f7fe5}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
a{color:inherit}.topbar{position:sticky;top:0;background:#ffffff;border-bottom:1px solid var(--line);padding:14px 20px;display:flex;justify-content:space-between;gap:18px;align-items:center;z-index:2}
.topbar nav{display:flex;gap:12px;flex-wrap:wrap}.topbar nav a{text-decoration:none;color:var(--muted)}.container{max-width:1100px;margin:0 auto;padding:24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px}.narrow{max-width:460px;margin:70px auto}
.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stack{display:grid;gap:14px}
label{display:grid;gap:8px;font-weight:650}input,select,button{width:100%;padding:12px;border-radius:12px;border:1px solid var(--line);font:inherit}
input,select{background:#ffffff;color:var(--text)}button,.button{background:var(--accent);color:white;border:none;font-weight:800;text-decoration:none;display:inline-block;padding:12px 16px;border-radius:12px;text-align:center}
.button.secondary{background:#e8eef6;color:#223047}.button.disabled{background:#e2e7ee;color:#8792a3}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.muted{color:var(--muted);font-weight:400}
.status,.notice{padding:12px;border-radius:12px;background:#eef5ff;border:1px solid #c9daf3}.notice.big{font-size:1.05rem;margin-bottom:18px}.alert{padding:12px 14px;border-radius:12px;margin-bottom:12px}.alert.error{background:#fff0f1;border:1px solid #e3a7ad;color:#7f2028}
.slot{min-height:106px}table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid var(--line);text-align:left}.formation-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
small{color:var(--muted);font-weight:400}.demo-tools{margin-bottom:18px}
@media(max-width:760px){.grid.two{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.container{padding:16px}}
.anomaly{margin-top:14px;padding:14px;border-radius:14px;border:1px solid #e1bd63;background:#fff8e7}
.anomaly.confirmed{border-color:#78bf97;background:#edf9f2}
.anomaly.dismissed{border-color:#c9d1dc;background:#f1f4f8}
.checkline{display:flex;align-items:center;gap:9px;margin:8px 0;font-weight:600}.checkline input{width:auto}
.burned{text-decoration:line-through;opacity:.72}.penalty{font-weight:900;color:#b4232c}.okline{color:#1d7a46;font-weight:800}

.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.matchcard{margin:18px 0}.inlineform{display:grid;grid-template-columns:120px 120px 140px 1fr;gap:10px;align-items:end}.statsgrid{display:grid;gap:8px;margin-top:12px}.statrow{display:grid;grid-template-columns:minmax(170px,2fr) repeat(10,minmax(56px,1fr)) 80px;gap:6px;align-items:end;border-top:1px solid var(--line);padding:8px 0}.statrow label{font-size:.72rem}.statrow input{padding:8px}.statname{display:grid}.breakdown{margin:.5rem 0 0 1rem;padding:0}.breakdown li{margin:3px 0}details summary{cursor:pointer}.score-positive{font-weight:800}.penalty{font-weight:800;color:#b4232c}
@media(max-width:1050px){.statrow{grid-template-columns:repeat(4,minmax(0,1fr))}.statname{grid-column:1/-1}.inlineform{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:1fr}}

.pass td{background:rgba(37,194,110,.08)}
.fail td{background:rgba(255,90,95,.12)}
.pass td:nth-child(4){font-weight:800}
.fail td:nth-child(4){font-weight:800}

.table-scroll{overflow-x:auto}
.dq td{opacity:.72;text-decoration:line-through}
.dq td:first-child,.dq td:nth-child(2){text-decoration:none}
section.card+section.card{margin-top:18px}

textarea{width:100%;padding:12px;border-radius:12px;border:1px solid var(--line);background:#ffffff;color:var(--text);font:inherit;resize:vertical}
.inlineform{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.inlineform input,.inlineform select{width:auto;min-width:110px}
.smallbtn{width:auto;padding:8px 10px;border-radius:9px}
.active-row td{background:rgba(37,194,110,.08)}
hr{border:0;border-top:1px solid var(--line);margin:18px 0}
code{background:#edf1f6;padding:2px 5px;border-radius:5px}

.match-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
.scorebig{font-size:1.35em;padding:0 8px}
.resultbar{margin:12px 0 18px;padding:12px;border:1px solid var(--line);border-radius:12px}
.numtiny{width:68px!important;min-width:58px!important;padding:7px!important}
.stats-table{font-size:.92rem}
.stats-table th,.stats-table td{white-space:nowrap;vertical-align:middle}
.stats-table input[type="checkbox"]{transform:scale(1.15)}
.wide-save{margin-top:12px;width:100%}
.dangerbtn{background:#b4232c!important}
.matchcard details{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.matchcard summary{cursor:pointer}

button:disabled{opacity:.45;cursor:not-allowed}

.plus-auto-banner{margin:12px 0}
.api-plus-row td{font-weight:500}
.manual-fallback{
  margin-top:14px;
  border:1px dashed var(--border,#c9c9d2);
  border-radius:10px;
  padding:10px 12px;
}
.manual-fallback > summary{cursor:pointer}

.player-filters{
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.player-filters input{min-width:220px}
.player-filters select{min-width:160px}

#giocatori{scroll-margin-top:18px}


/* MVP 0.8.25 · tema chiaro */
body{min-height:100vh}
.topbar{box-shadow:0 1px 10px rgba(23,32,51,.06)}
.card,.matchcard{box-shadow:0 4px 16px rgba(31,47,70,.05)}
input:focus,select:focus,textarea:focus{
  outline:2px solid rgba(47,127,229,.18);
  border-color:var(--accent)
}
th{background:#f7f9fc}
tr:hover td{background:rgba(47,127,229,.035)}
.pass td{background:#eef9f3}
.fail td{background:#fff0f1}
.active-row td{background:#eef9f3}
.resultbar{background:#fafcff}
.manual-fallback{background:#fafcff}


/* MVP 0.8.26 · abbreviazioni con spiegazione al passaggio del mouse */
.ui-abbr{
  text-decoration: underline dotted;
  text-underline-offset:3px;
  cursor:help;
  font-weight:inherit;
}


/* MVP 0.8.35 · rifiniture usabilità tabelle/nav */
.topbar nav a.nav-current{color:var(--accent);font-weight:800}
th.sortable-ui{cursor:pointer;user-select:none;white-space:nowrap}
th.sortable-ui:hover{background:#edf4fd}
th.sortable-ui:focus{outline:2px solid rgba(47,127,229,.28);outline-offset:-2px}
th.sortable-ui.sort-asc,th.sortable-ui.sort-desc{color:var(--accent)}

/* MVP 0.8.40 · Premi e report finali */
.prize-table td:last-child,.prize-table th:last-child{text-align:right;white-space:nowrap}
.prize-total{display:flex;justify-content:flex-end;align-items:baseline;gap:14px;margin-top:16px}
.prize-total span{color:var(--muted)}
.prize-total strong{font-size:1.35rem;color:#9a6700}
.prize-skip{display:inline-block;margin-top:5px;color:#9a6700;font-weight:700}
.success{color:#1d7a46;font-weight:800}
.print-button{width:auto;cursor:pointer}

@media print{
  body{background:#fff;color:#000}
  .topbar,.no-print{display:none!important}
  .container{max-width:none;padding:0}
  .card{border:0;box-shadow:none;padding:0}
  .notice{border:0;background:transparent;padding:0 0 12px}
  .prize-table th,.prize-table td{color:#000;border-bottom:1px solid #aaa}
  .prize-total strong{color:#000}
}

/* MVP 0.8.61 · Fondazione UI: ADMIN pulito / UTENTE FANTA6 */
html[data-ui="admin"] body{
  background:#f5f7fa;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}
html[data-ui="admin"] .topbar{box-shadow:none;background:#fff}
html[data-ui="admin"] .card,
html[data-ui="admin"] .matchcard{
  border-radius:12px;
  box-shadow:none;
}
html[data-ui="admin"] h1,
html[data-ui="admin"] h2,
html[data-ui="admin"] h3{letter-spacing:-.015em}

html[data-ui="user"] body{
  background:
    radial-gradient(circle at 12% 0%,rgba(255,207,86,.18),transparent 28rem),
    radial-gradient(circle at 100% 18%,rgba(67,111,255,.14),transparent 32rem),
    linear-gradient(180deg,#f8fbff 0%,#f2f5fb 100%);
}
html[data-ui="user"] .topbar{
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(31,47,70,.10);
}
html[data-ui="user"] .topbar>div>strong,
html[data-ui="user"] h1,
html[data-ui="user"] h2,
html[data-ui="user"] h3,
html[data-ui="user"] .team-total strong{
  font-family:"Arial Rounded MT Bold","Trebuchet MS",Inter,system-ui,sans-serif;
  letter-spacing:-.025em;
}
html[data-ui="user"] .topbar nav a{
  padding:7px 10px;
  border-radius:999px;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
html[data-ui="user"] .topbar nav a:hover{background:#eef4ff;color:#215fae;transform:translateY(-1px)}
html[data-ui="user"] .topbar nav a.nav-current{background:#e8f1ff;color:#1f65bd}
html[data-ui="user"] .card{
  border-color:rgba(33,57,91,.10);
  box-shadow:0 10px 30px rgba(31,47,70,.07);
}

/* Quadro Giornata */
.scoreboard-hero{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
  gap:18px;
  align-items:center;
  margin-bottom:20px;
  padding:22px;
  border:1px solid rgba(47,127,229,.16);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(239,246,255,.95));
  box-shadow:0 14px 40px rgba(31,47,70,.08);
}
.scoreboard-hero h1{margin:.2rem 0 .15rem;font-size:clamp(1.8rem,4vw,2.7rem)}
.scoreboard-hero p{margin:0;color:var(--muted);font-weight:700}
.ui-kicker{
  display:inline-block;
  font-size:12px;
  line-height:1;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#48627f;
}
.team-search-box{display:grid;gap:7px}
.team-search-box label{font-weight:900}
.team-search-line{display:grid;grid-template-columns:1fr auto;gap:8px}
.team-search-line button{width:auto;min-width:74px}
.team-search-box small{min-height:1.2em}
.score-grid{align-items:start}
.team-score-card{scroll-margin-top:115px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.team-score-card:hover{transform:translateY(-2px)}
.team-score-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
.team-score-head h2{margin:.18rem 0 0;font-size:1.42rem}
.team-total{
  flex:0 0 auto;
  min-width:92px;
  padding:9px 13px;
  text-align:center;
  border-radius:16px;
  background:#f1f5fb;
  border:1px solid #dce4ef;
}
.team-total span{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:900}
.team-total strong{display:block;font-size:1.65rem;line-height:1.1;margin-top:3px}
.team-total.is-positive{background:#eef9f3;border-color:#b9e2cb;color:#147342}
.team-total.is-negative{background:#fff1f2;border-color:#f1c1c6;color:#9d2832}
.team-total.is-zero{background:#f3f5f8;color:#536174}
.team-score-summary{display:flex;justify-content:space-between;gap:12px;padding:11px 0 4px;border-top:1px solid var(--line);margin-top:5px}
.team-score-summary span{color:var(--muted);font-weight:700}
.team-score-summary strong{font-size:1.08rem}
.team-search-hit{
  border-color:#f2b632!important;
  box-shadow:0 0 0 4px rgba(242,182,50,.20),0 18px 42px rgba(31,47,70,.14)!important;
  transform:translateY(-3px) scale(1.008)!important;
}
@media(max-width:760px){
  .scoreboard-hero{grid-template-columns:1fr;padding:18px;border-radius:18px}
  .team-search-line{grid-template-columns:1fr}
  .team-search-line button{width:100%}
  .team-score-head{align-items:flex-start}
  .team-total{min-width:78px;padding:8px 10px}
}

/* MVP 0.8.62 · HOME UTENTE FANTA6
   ADMIN resta volutamente pulito; lo spettacolo vive solo lato partecipante. */
html[data-ui="user"] .user-home-shell{
  position:relative;
  overflow:hidden;
  display:grid;
  gap:16px;
  padding:18px;
  border-radius:30px;
  color:#f7fbff;
  background:
    radial-gradient(circle at 92% 4%,rgba(255,205,69,.20),transparent 24rem),
    radial-gradient(circle at 0% 45%,rgba(48,176,255,.18),transparent 28rem),
    linear-gradient(160deg,#062e73 0%,#071f50 48%,#06183b 100%);
  box-shadow:0 24px 60px rgba(6,28,69,.22);
}
html[data-ui="user"] .user-home-shell:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,#000,transparent 85%);
}
html[data-ui="user"] .user-home-shell>*{position:relative;z-index:1}
.user-home-hero{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
  padding:4px 4px 2px;
}
.user-home-hero h1{font-size:clamp(2rem,5vw,3.2rem);margin:.22rem 0 .35rem;color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.18)}
.user-home-hero p{margin:0;color:#cfe4ff;font-weight:700}
.user-kicker{color:#ffd65b!important}
.user-home-mark{
  flex:0 0 auto;
  min-width:122px;
  min-height:88px;
  display:grid;
  place-items:center;
  align-content:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.04));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
  font-size:2rem;
}
.user-home-mark span{display:block;font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;font-size:.86rem;font-weight:900;letter-spacing:.08em;color:#fff}

.formation-command{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,.55fr);
  gap:18px;
  align-items:center;
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(135deg,#ff4167 0%,#e93460 55%,#b91f4b 100%);
  box-shadow:0 18px 36px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.24);
}
.formation-command.formation-edit{background:linear-gradient(135deg,#5a56f2,#304ad5 55%,#18349c)}
.formation-command.formation-submitted{background:linear-gradient(135deg,#17945a,#0c774b 58%,#06543a)}
.formation-command.formation-expired,.formation-command.formation-dq{background:linear-gradient(135deg,#585f70,#3f4655 55%,#2a303b)}
.formation-command .ui-kicker{color:rgba(255,255,255,.78)}
.formation-command h2{margin:.25rem 0 .5rem;color:#fff;font-size:clamp(1.55rem,4vw,2.25rem)}
.formation-command p{margin:.55rem 0 0;color:#fff;font-weight:700}
.formation-deadline-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;color:#fff}
.deadline-countdown{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(16,26,56,.30);
  border:1px solid rgba(255,255,255,.18);
  font-weight:900;
}
.formation-main-action{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 18px;
  border-radius:20px;
  background:#fff;
  color:#bd214d;
  text-decoration:none;
  text-align:center;
  font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;
  font-size:1.15rem;
  font-weight:900;
  box-shadow:0 12px 24px rgba(43,8,23,.18);
  transition:transform .16s ease,box-shadow .16s ease;
}
.formation-main-action:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(43,8,23,.24)}
.formation-edit .formation-main-action{color:#3047ba}
.formation-main-action span{font-size:1.75rem;line-height:1}
.formation-main-action.is-disabled{opacity:.78;color:#606979;box-shadow:none}

.home-status-card,.home-phase-card{
  border-radius:22px;
  padding:18px;
  border:1px solid rgba(110,205,255,.30);
  background:linear-gradient(145deg,rgba(11,64,132,.92),rgba(6,40,92,.94));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 12px 26px rgba(0,0,0,.10);
}
.home-status-title,.home-phase-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.home-status-title h2,.home-phase-head h2{margin:.22rem 0 0;color:#fff}
.home-status-card .ui-kicker,.home-phase-card .ui-kicker{color:#9ed7ff}
.projection-pill{
  padding:8px 13px;
  border-radius:999px;
  font-weight:950;
  font-size:.78rem;
  letter-spacing:.035em;
  color:#081735;
  background:#f3f6fb;
}
.projection-pill.gold-direct{background:linear-gradient(135deg,#ffe887,#ffc83d)}
.projection-pill.playoff{background:linear-gradient(135deg,#b9e5ff,#74bfff)}
.projection-pill.silver{background:linear-gradient(135deg,#eef1f6,#bfc8d7)}
.home-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:16px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  overflow:hidden;
  background:rgba(1,21,58,.27);
}
.home-kpis>div{padding:14px;text-align:center;border-right:1px solid rgba(255,255,255,.10)}
.home-kpis>div:last-child{border-right:0}
.home-kpis span{display:block;color:#bcd5f6;font-size:.78rem;font-weight:800;min-height:2.1em}
.home-kpis strong{display:block;margin-top:3px;color:#fff;font-size:1.72rem}
.home-kpis strong.positive{color:#62e7a2}.home-kpis strong.negative{color:#ff7388}.home-kpis strong.neutral{color:#fff}
.projection-message{margin:13px 0 0;color:#ffe681;font-weight:800;text-align:center}

.home-phase-head>strong{color:#cfe4ff}
.league-progress{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:8px;
  position:relative;
  margin:17px 0;
}
.league-progress:before{
  content:"";
  position:absolute;
  left:4%;right:4%;top:50%;height:4px;
  transform:translateY(-50%);
  border-radius:999px;
  background:rgba(255,255,255,.15);
}
.league-step{
  position:relative;
  z-index:1;
  aspect-ratio:1;
  max-width:42px;
  width:100%;
  margin:auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#173c78;
  border:2px solid #5377ad;
  color:#bcd1ec;
  font-weight:950;
  box-shadow:0 0 0 4px #092b62;
}
.league-step.done{background:#21c66d;border-color:#58e99a;color:#fff}
.league-step.active{background:#fff;border-color:#82c5ff;color:#0a3979;box-shadow:0 0 0 5px rgba(84,181,255,.22),0 0 24px rgba(99,190,255,.25)}
.qualification-road{display:grid;grid-template-columns:1fr 2fr 1fr;gap:8px}
.qualification-zone{padding:10px 8px;text-align:center;border-radius:14px;border:1px solid rgba(255,255,255,.13);opacity:.73;transition:transform .16s ease,opacity .16s ease}
.qualification-zone strong,.qualification-zone span{display:block}
.qualification-zone strong{font-size:.8rem}.qualification-zone span{font-size:.7rem;font-weight:900;margin-top:2px}
.qualification-zone.gold{background:linear-gradient(135deg,#f8c52f,#b57b05);color:#2e2100}
.qualification-zone.playoff{background:linear-gradient(135deg,#389eea,#1860b7);color:#fff}
.qualification-zone.silver{background:linear-gradient(135deg,#d9e0ea,#8794a8);color:#152030}
.qualification-zone.is-current{opacity:1;transform:translateY(-3px);box-shadow:0 9px 20px rgba(0,0,0,.18),0 0 0 2px rgba(255,255,255,.46)}

.home-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.home-quick-card{
  display:grid;
  grid-template-columns:48px 1fr auto;
  gap:12px;
  align-items:center;
  min-height:78px;
  padding:13px 14px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  border:1px solid rgba(115,194,255,.28);
  background:linear-gradient(145deg,rgba(34,91,177,.92),rgba(23,60,133,.94));
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  transition:transform .16s ease,border-color .16s ease;
}
a.home-quick-card:hover{transform:translateY(-2px);border-color:rgba(255,220,93,.70)}
.home-quick-card.is-disabled{opacity:.48;filter:saturate(.55)}
.home-quick-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.11);font-size:1.55rem}
.home-quick-card strong{display:block;font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;font-size:1.02rem}
.home-quick-card small{display:block;color:#c6dbf7;margin-top:3px;line-height:1.25}
.home-quick-card>b{font-size:1.4rem}
.home-folklore-strip{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding:13px;
  text-align:center;
  border-radius:18px;
  color:#ffd95b;
  background:rgba(0,9,31,.34);
  border:1px solid rgba(255,214,91,.20);
  font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;
  letter-spacing:.025em;
}

.formation-reminder-backdrop{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(3,15,42,.74);
  backdrop-filter:blur(8px);
}
.formation-reminder-backdrop[hidden]{display:none!important}
body.has-reminder{overflow:hidden}
.formation-reminder{
  position:relative;
  width:min(440px,100%);
  padding:28px 24px 22px;
  text-align:center;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff,#f3f8ff);
  color:#102347;
  border:2px solid rgba(93,181,255,.74);
  box-shadow:0 30px 80px rgba(0,0,0,.34),0 0 0 7px rgba(75,169,255,.10);
}
.formation-reminder h2{margin:.35rem 0 .8rem;font-size:clamp(1.65rem,5vw,2.2rem);color:#092b62}
.formation-reminder .ui-kicker{color:#2c71ba}
.reminder-visual{font-size:3.2rem;filter:drop-shadow(0 8px 14px rgba(24,80,150,.18))}
.reminder-deadline{font-size:1.08rem}
#formation-reminder-countdown{display:inline-block;margin:.2rem 0 .5rem;padding:8px 13px;border-radius:999px;background:#fff0f2;color:#b42544;font-weight:950}
.reminder-submit{display:block;margin:16px 0 6px;background:linear-gradient(135deg,#27c96f,#139952);font-size:1.08rem;padding:15px}
.reminder-later{width:auto;border:0;background:transparent;color:#2869af;font-weight:850;cursor:pointer}
.reminder-close{position:absolute;top:12px;right:12px;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:#e9eff7;color:#40516d;font-size:1.55rem;line-height:1;cursor:pointer}

@media(max-width:760px){
  html[data-ui="user"] .container{padding:10px 10px 22px}
  html[data-ui="user"] .user-home-shell{padding:13px;border-radius:22px;gap:12px}
  .user-home-hero{padding:3px 2px;align-items:flex-start}
  .user-home-hero h1{font-size:1.85rem}
  .user-home-hero p{font-size:.9rem}
  .user-home-mark{min-width:82px;min-height:72px;border-radius:18px;font-size:1.6rem}
  .user-home-mark span{font-size:.67rem}
  .formation-command{grid-template-columns:1fr;padding:16px;border-radius:20px;gap:12px}
  .formation-command h2{font-size:1.6rem}
  .formation-main-action{min-height:62px;border-radius:16px;font-size:1.06rem}
  .home-status-card,.home-phase-card{padding:15px;border-radius:19px}
  .home-status-title,.home-phase-head{align-items:flex-start}
  .home-kpis>div{padding:11px 7px}
  .home-kpis span{font-size:.68rem}
  .home-kpis strong{font-size:1.4rem}
  .league-progress{gap:4px}
  .league-step{font-size:.76rem;box-shadow:0 0 0 3px #092b62}
  .qualification-road{grid-template-columns:1fr 1.7fr 1fr;gap:5px}
  .qualification-zone{padding:8px 4px}
  .qualification-zone span{font-size:.59rem}
  .home-shortcuts{grid-template-columns:1fr 1fr;gap:8px}
  .home-quick-card{grid-template-columns:40px 1fr auto;gap:8px;min-height:70px;padding:10px}
  .home-quick-icon{width:40px;height:40px;border-radius:12px;font-size:1.3rem}
  .home-quick-card strong{font-size:.9rem}
  .home-quick-card small{font-size:.7rem}
  .home-folklore-strip{font-size:.78rem}
}

@media(max-width:430px){
  .user-home-mark{display:none}
  .home-shortcuts{grid-template-columns:1fr 1fr}
  .home-quick-card{grid-template-columns:38px 1fr;}
  .home-quick-card>b{display:none}
  .qualification-zone strong{font-size:.72rem}
  .qualification-zone span{font-size:.55rem}
}


/* MVP 0.8.63 · NAVIGAZIONE UTENTE A CARD: il vecchio menu superiore sparisce. */
html[data-ui="user"] .topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
html[data-ui="user"] .participant-mini-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}
html[data-ui="user"] .participant-mini-nav a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  text-decoration:none;
  font-weight:400;
  font-size:.86rem;
  color:#315b92;
  background:#edf4ff;
  border:1px solid #d8e6f8;
}
html[data-ui="user"] .participant-mini-nav a:hover{
  transform:none;
  background:#e3efff;
  color:#1f5eab;
}
html[data-ui="user"] .participant-logout-link{
  color:#6c7483!important;
  background:#f4f6f9!important;
  border-color:#e4e8ef!important;
}
@media(max-width:760px){
  html[data-ui="user"] .topbar{padding:12px 14px;}
  html[data-ui="user"] .topbar>div:first-child{font-size:.93rem;}
  html[data-ui="user"] .participant-mini-nav a{padding:6px 9px;font-size:.78rem;}
}
@media(max-width:430px){
  html[data-ui="user"] .participant-home-link span{display:none;}
  html[data-ui="user"] .participant-home-link{width:34px;height:34px;justify-content:center;padding:0;}
  html[data-ui="user"] .participant-logout-link{padding:6px 8px;}
}

/* MVP 0.8.67 · HOME UTENTE LOOK FANTA6
   Struttura funzionale invariata; identità visuale più vicina al progetto approvato. */
html[data-ui="user"] body{
  background:
    radial-gradient(circle at 50% -8%,rgba(80,170,255,.28),transparent 28rem),
    radial-gradient(circle at 8% 10%,rgba(255,202,61,.16),transparent 22rem),
    linear-gradient(180deg,#071c48 0,#0b2e6e 18rem,#eef4ff 42rem,#f4f7fb 100%);
}
html[data-ui="user"] .topbar{
  min-height:76px;
  padding:9px max(14px,calc((100vw - 1100px)/2 + 14px));
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  background:
    radial-gradient(circle at 20% 0,rgba(46,145,255,.30),transparent 19rem),
    linear-gradient(120deg,#041538,#082b69 58%,#04183e);
  border-bottom:1px solid rgba(119,190,255,.35);
  box-shadow:0 8px 24px rgba(2,15,45,.25);
}
html[data-ui="user"] .participant-brand{
  display:block;
  min-width:0;
  line-height:0;
  text-decoration:none;
}
html[data-ui="user"] .participant-brand-logo{
  display:block;
  width:min(280px,54vw);
  max-width:100%;
}
html[data-ui="user"] .participant-brand-logo-native{
  line-height:1;
  color:#fff;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,.28));
  user-select:none;
}
html[data-ui="user"] .participant-brand-main{
  display:flex;
  align-items:center;
  gap:1px;
  font-family:Fredoka,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:clamp(24px,3.2vw,39px);
  font-weight:900;
  letter-spacing:-1.2px;
  white-space:nowrap;
}
html[data-ui="user"] .participant-brand-cup{
  display:inline-block;
  margin-right:5px;
  font-size:.82em;
  transform:translateY(-1px);
}
html[data-ui="user"] .participant-brand-word{
  color:#fff;
  text-shadow:0 2px 0 rgba(0,0,0,.18);
}
html[data-ui="user"] .participant-brand-six{
  color:#ffd33d;
  font-size:1.15em;
  margin-left:1px;
  text-shadow:0 2px 0 rgba(94,63,0,.35);
}
html[data-ui="user"] .participant-brand-sub{
  display:block;
  margin:2px 0 0 31px;
  color:#dbeaff;
  font-family:Fredoka,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:clamp(8px,1.05vw,11px);
  font-weight:700;
  letter-spacing:1.45px;
  line-height:1.1;
  white-space:nowrap;
}
html[data-ui="user"] .participant-mini-nav{
  flex:0 0 auto;
  gap:7px;
}
html[data-ui="user"] .participant-mini-nav a{
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-ui="user"] .participant-mini-nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.18);
}
html[data-ui="user"] .participant-logout-link{
  color:#dceaff!important;
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.15)!important;
}

html[data-ui="user"] .container{padding-top:16px}
html[data-ui="user"] .user-home-shell{
  border:1px solid rgba(102,184,255,.35);
  background:
    radial-gradient(circle at 89% 5%,rgba(255,198,46,.25),transparent 17rem),
    radial-gradient(circle at 8% 27%,rgba(41,166,255,.24),transparent 24rem),
    linear-gradient(155deg,#073681 0%,#08265e 44%,#05183e 100%);
  box-shadow:0 26px 70px rgba(2,20,55,.36),inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-ui="user"] .user-home-shell:before{
  opacity:.48;
  background-image:
    radial-gradient(circle at 12% 5%,rgba(255,255,255,.8) 0 1px,transparent 2px),
    radial-gradient(circle at 42% 8%,rgba(255,255,255,.55) 0 1px,transparent 2px),
    radial-gradient(circle at 76% 3%,rgba(255,255,255,.8) 0 1px,transparent 2px),
    radial-gradient(circle at 94% 12%,rgba(255,255,255,.52) 0 1px,transparent 2px),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:auto,auto,auto,auto,34px 34px,34px 34px;
}
html[data-ui="user"] .user-home-shell:after{
  content:"";
  position:absolute;
  z-index:0;
  left:-8%;right:-8%;top:0;
  height:165px;
  pointer-events:none;
  opacity:.45;
  background:
    radial-gradient(ellipse at 12% 10%,rgba(255,255,255,.8) 0 2px,rgba(104,189,255,.65) 3px 8px,transparent 9px),
    radial-gradient(ellipse at 28% 6%,rgba(255,255,255,.75) 0 2px,rgba(104,189,255,.55) 3px 7px,transparent 8px),
    radial-gradient(ellipse at 73% 5%,rgba(255,255,255,.75) 0 2px,rgba(104,189,255,.55) 3px 7px,transparent 8px),
    radial-gradient(ellipse at 90% 10%,rgba(255,255,255,.8) 0 2px,rgba(104,189,255,.65) 3px 8px,transparent 9px);
}

.user-home-hero{
  min-height:145px;
  padding:9px 8px 5px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.user-home-welcome{min-width:0}
.user-home-hero h1{
  font-family:"Avenir Next Rounded","Arial Rounded MT Bold","Trebuchet MS",sans-serif!important;
  font-weight:900;
  text-shadow:0 6px 20px rgba(0,0,0,.28);
}
.user-home-hero p{max-width:560px;color:#d7eaff}
.user-kicker{letter-spacing:.13em;text-shadow:0 2px 8px rgba(0,0,0,.24)}
.user-home-mascot{
  flex:0 0 158px;
  width:158px;
  margin:0;
  padding:6px;
  border-radius:28px;
  background:linear-gradient(145deg,rgba(255,218,89,.96),rgba(48,163,255,.78));
  box-shadow:0 16px 32px rgba(1,12,38,.34),0 0 0 4px rgba(255,255,255,.09);
  transform:rotate(1.3deg);
}
.user-home-mascot img{
  display:block;
  width:100%;
  aspect-ratio:1.15/1;
  object-fit:cover;
  object-position:center top;
  border-radius:22px 22px 15px 15px;
  border:2px solid rgba(255,255,255,.55);
}
.user-home-mascot figcaption{
  padding:7px 5px 3px;
  text-align:center;
  color:#061738;
  font-family:"Avenir Next Rounded","Arial Rounded MT Bold","Trebuchet MS",sans-serif;
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.035em;
  text-transform:uppercase;
}

.formation-command{
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.30);
  box-shadow:0 18px 38px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.25);
}
.formation-command:after{
  content:"";
  position:absolute;
  width:180px;height:180px;
  right:-70px;top:-85px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.25),transparent 67%);
  pointer-events:none;
}
.formation-command-copy,.formation-command-action{position:relative;z-index:1}
.formation-command h2,
.home-status-title h2,.home-phase-head h2,
.home-quick-card strong{
  font-family:"Avenir Next Rounded","Arial Rounded MT Bold","Trebuchet MS",sans-serif!important;
}

.home-status-card,.home-phase-card{
  overflow:hidden;
  position:relative;
  border:1px solid rgba(98,194,255,.45);
  background:
    radial-gradient(circle at 100% 0,rgba(71,170,255,.24),transparent 15rem),
    linear-gradient(145deg,rgba(13,75,154,.98),rgba(5,39,92,.98));
  box-shadow:0 16px 34px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.09);
}
.home-status-card:after,.home-phase-card:after{
  content:"";
  position:absolute;
  pointer-events:none;
  left:16px;right:16px;top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,#62c9ff,#ffe174,transparent);
  opacity:.7;
}
.projection-pill{box-shadow:0 7px 16px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.45)}
.home-kpis{background:rgba(1,15,48,.38);border-color:rgba(255,255,255,.13)}
.projection-message{font-size:1.01rem;text-shadow:0 2px 7px rgba(0,0,0,.24)}

.qualification-zone{border-width:2px;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.qualification-zone.is-current{box-shadow:0 12px 24px rgba(0,0,0,.22),0 0 0 2px rgba(255,255,255,.55),0 0 22px rgba(81,178,255,.22)}

.home-shortcuts{gap:12px}
.home-quick-card{
  --tone-a:#2b6fe1;
  --tone-b:#164797;
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.20);
  background:
    radial-gradient(circle at 95% 5%,rgba(255,255,255,.16),transparent 8rem),
    linear-gradient(145deg,var(--tone-a),var(--tone-b));
  box-shadow:0 13px 27px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.14);
}
.home-quick-card:before{
  content:"";
  position:absolute;
  width:90px;height:90px;
  right:-42px;bottom:-50px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  pointer-events:none;
}
.home-quick-card>*{position:relative;z-index:1}
.home-quick-card.tone-gold{--tone-a:#735512;--tone-b:#3d2c07;border-color:rgba(255,215,83,.55)}
.home-quick-card.tone-cyan{--tone-a:#117cab;--tone-b:#075070}
.home-quick-card.tone-pink{--tone-a:#9b2e73;--tone-b:#5d1644}
.home-quick-card.tone-violet{--tone-a:#6846b5;--tone-b:#3e267a}
.home-quick-card.tone-orange{--tone-a:#a75718;--tone-b:#6d3009}
.home-quick-card.tone-green{--tone-a:#258c62;--tone-b:#13583e}
.home-quick-icon{
  background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.15);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
a.home-quick-card:hover{transform:translateY(-3px) scale(1.005);border-color:rgba(255,229,128,.72);box-shadow:0 17px 34px rgba(0,0,0,.25)}

.home-folklore-strip{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,218,93,.45);
  background:linear-gradient(120deg,rgba(3,15,45,.82),rgba(20,50,105,.70),rgba(3,15,45,.82));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 22px rgba(0,0,0,.16);
  text-shadow:0 2px 8px rgba(0,0,0,.35);
}
.home-folklore-strip:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.07) 48%,transparent 66%);
  pointer-events:none;
}

@media(max-width:760px){
  html[data-ui="user"] .topbar{min-height:64px;padding:7px 10px}
  html[data-ui="user"] .participant-brand-logo{width:min(220px,63vw);max-height:54px}
  html[data-ui="user"] .participant-mini-nav{gap:5px}
  html[data-ui="user"] .participant-mini-nav a{font-size:.74rem;padding:6px 8px}
  html[data-ui="user"] .user-home-shell{padding:11px;border-radius:24px;gap:11px}
  .user-home-hero{min-height:118px;gap:10px;padding:6px 4px}
  .user-home-hero h1{font-size:1.72rem;margin:.18rem 0 .2rem}
  .user-home-hero p{font-size:.82rem;line-height:1.28}
  .user-kicker{font-size:.62rem}
  .user-home-mascot{flex-basis:106px;width:106px;padding:4px;border-radius:20px}
  .user-home-mascot img{border-radius:16px 16px 11px 11px}
  .user-home-mascot figcaption{font-size:.58rem;padding:5px 2px 2px}
  .formation-command{padding:15px}
  .home-status-card,.home-phase-card{padding:14px}
  .home-shortcuts{gap:9px}
  .home-quick-card{min-height:74px}
}
@media(max-width:390px){
  html[data-ui="user"] .participant-brand-logo{width:min(192px,60vw)}
  .user-home-mascot{flex-basis:92px;width:92px}
  .user-home-hero h1{font-size:1.55rem}
  .user-home-hero p{font-size:.76rem}
  .home-shortcuts{grid-template-columns:1fr}
}


/* MVP 0.8.67 · FONT LAB reale + login ariosa + stop mascotte sporche */
.topbar:empty{display:none}

/* Il Font Lab usa veri web-font: la scelta resta salvata sul telefono. */
html[data-font-style="A"]{--f6-display:"Fredoka","Arial Rounded MT Bold",system-ui,sans-serif}
html[data-font-style="B"]{--f6-display:"Baloo 2","Arial Rounded MT Bold",system-ui,sans-serif}
html[data-font-style="C"]{--f6-display:"Lilita One","Arial Rounded MT Bold",system-ui,sans-serif}
html[data-ui="user"]{--f6-body:"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
html[data-ui="user"] body{font-family:var(--f6-body)}

/* Titoli e CTA: la famiglia cambia davvero con A/B/C. */
.login-folk-intro h1,.login-folk-intro h2,.login-card h3,.login-card button,
html[data-ui="user"] .formation-command h2,
html[data-ui="user"] .formation-main-action,
html[data-ui="user"] .home-status-title h2,
html[data-ui="user"] .home-phase-head h2,
html[data-ui="user"] .home-quick-card strong,
html[data-ui="user"] .home-folklore-strip strong,
html[data-ui="user"] .projection-pill,
html[data-ui="user"] .user-home-hero h1,
html[data-ui="user"] .ui-kicker{
  font-family:var(--f6-display)!important;
}

.login-folk-shell{
  position:relative;overflow:hidden;display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);
  gap:38px;align-items:center;min-height:calc(100vh - 40px);
  padding:44px 46px;border-radius:36px;
  border:1px solid rgba(102,184,255,.34);
  background:
    radial-gradient(circle at 88% 8%,rgba(255,207,86,.22),transparent 19rem),
    radial-gradient(circle at 12% 18%,rgba(57,166,255,.24),transparent 22rem),
    linear-gradient(150deg,#061a45 0%,#0a3175 48%,#05173a 100%);
  box-shadow:0 28px 80px rgba(3,16,46,.34),inset 0 1px 0 rgba(255,255,255,.08);
}
.login-folk-shell:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.42;
  background-image:
    radial-gradient(circle at 11% 9%,rgba(255,255,255,.85) 0 1px,transparent 2px),
    radial-gradient(circle at 38% 6%,rgba(255,255,255,.6) 0 1px,transparent 2px),
    radial-gradient(circle at 76% 8%,rgba(255,255,255,.85) 0 1px,transparent 2px),
    linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px);
  background-size:auto,auto,auto,34px 34px,34px 34px;
}
.login-folk-shell>*{position:relative;z-index:1}
.login-folk-intro{color:#fff;padding:12px 10px}
.login-folk-logo{display:block;width:min(390px,100%);height:auto;filter:drop-shadow(0 11px 22px rgba(0,0,0,.30));margin:0 0 28px}
.login-kicker{margin:0 0 16px;color:#ffd85c;font-size:.86rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.login-folk-intro h1{margin:.08rem 0 .45rem;font-size:clamp(2.65rem,8vw,4.5rem);line-height:.92;letter-spacing:-.025em;text-shadow:0 8px 22px rgba(0,0,0,.34)}
.login-folk-intro h2{margin:.45rem 0 0;font-size:clamp(1.25rem,3.8vw,2.05rem);line-height:1.08;color:#dceaff;letter-spacing:-.01em;text-shadow:0 5px 14px rgba(0,0,0,.26)}
.login-tagline{
  margin:25px 0 2px;color:#ffe680;
  font-family:"Caveat",cursive!important;font-size:clamp(1.75rem,5vw,2.45rem);font-weight:700;
  line-height:1;transform:rotate(-1.2deg);text-shadow:0 4px 11px rgba(0,0,0,.30);
}
.login-card{
  border-radius:30px;padding:30px 28px;border:1px solid rgba(255,255,255,.35);
  background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(243,248,255,.97));
  box-shadow:0 20px 46px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.58);
}
.login-card h3{margin:.1rem 0 .7rem;font-size:1.85rem;letter-spacing:-.015em;color:#0b2960}
.login-card .muted{font-size:1rem;line-height:1.5;color:#5c6b81;margin-bottom:6px}
.login-card .stack{gap:18px}
.login-card label{gap:9px}
.login-card input{padding:15px 15px;border-radius:17px;border:1px solid #d4dfed;background:#fff;font-size:1rem}
.login-card button{margin-top:4px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#27c96f,#119552 62%,#0a6a3c);box-shadow:0 14px 28px rgba(16,86,52,.18);font-size:1.12rem;letter-spacing:.015em}
.login-helper{margin:18px 0 0;color:#66758c;font-size:.92rem;text-align:center}
.login-error{margin-bottom:16px}

/* Selettore temporaneo A/B/C: serve solo a decidere insieme la famiglia definitiva. */
.font-lab{margin-top:28px;padding:15px;border-radius:20px;border:1px solid rgba(255,255,255,.28);background:rgba(2,18,55,.50);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.font-lab-compact{margin:4px 0 2px;background:rgba(3,23,65,.72)}
.font-lab-label{display:block;margin-bottom:9px;color:#ffe071;font-family:"Nunito Sans",sans-serif;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.font-lab-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.font-choice{min-height:58px;padding:7px 6px;border-radius:15px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.10);color:#fff;box-shadow:none;display:grid;gap:0;align-content:center;cursor:pointer}
.font-choice b{font-size:1.15rem;line-height:1}
.font-choice span{font-size:.77rem;line-height:1.1;opacity:.9}
.font-choice[data-font-choice="A"]{font-family:"Fredoka",sans-serif}
.font-choice[data-font-choice="B"]{font-family:"Baloo 2",sans-serif}
.font-choice[data-font-choice="C"]{font-family:"Lilita One",sans-serif}
.font-choice.is-active{background:linear-gradient(135deg,#ffd95d,#f1a927);color:#102552;border-color:#fff2b0;box-shadow:0 7px 18px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.55)}
.font-lab small{display:block;margin-top:9px;color:#d8e8ff;font-family:"Nunito Sans",sans-serif;font-size:.72rem;line-height:1.25}

/* Home: più respiro, tipografia coerente, nessuna mascotte ritagliata mostrata finché gli asset non sono puliti. */
html[data-ui="user"] .user-home-shell{gap:16px}
html[data-ui="user"] .user-home-hero{padding:13px 9px;min-height:126px}
html[data-ui="user"] .user-home-team-badge{transform:none}
html[data-ui="user"] .formation-command{padding:21px}
html[data-ui="user"] .formation-command h2{font-size:clamp(1.88rem,5vw,2.58rem);line-height:1.02;letter-spacing:-.02em;text-shadow:0 5px 12px rgba(0,0,0,.16)}
html[data-ui="user"] .formation-main-action{font-size:1.25rem;letter-spacing:.01em;text-transform:none;text-shadow:0 1px 0 rgba(255,255,255,.35)}
html[data-ui="user"] .home-status-card,html[data-ui="user"] .home-phase-card{padding:19px}
html[data-ui="user"] .home-status-title h2,html[data-ui="user"] .home-phase-head h2{letter-spacing:-.02em;text-shadow:0 4px 14px rgba(0,0,0,.16)}
html[data-ui="user"] .home-quick-card{min-height:92px;padding:15px 16px}
html[data-ui="user"] .home-quick-card strong{font-size:1.16rem;line-height:1.05;letter-spacing:-.01em}
html[data-ui="user"] .home-quick-card small{font-family:var(--f6-body);font-size:.83rem;line-height:1.25}
html[data-ui="user"] .projection-pill{letter-spacing:.035em;text-transform:uppercase}
html[data-ui="user"] .user-home-hero h1{letter-spacing:-.025em}
html[data-ui="user"] .home-folklore-strip strong{letter-spacing:.02em}

@media(max-width:760px){
  .login-folk-shell{grid-template-columns:1fr;min-height:auto;padding:24px 20px 28px;border-radius:27px;gap:24px}
  .login-folk-intro{padding:5px 2px;text-align:left}
  .login-folk-logo{width:min(315px,88vw);margin:0 auto 22px}
  .login-kicker{font-size:12px;margin-bottom:13px;text-align:center}
  .login-folk-intro h1{text-align:center;font-size:clamp(2.35rem,12vw,3.5rem);margin-bottom:.55rem}
  .login-folk-intro h2{text-align:center;font-size:clamp(1.08rem,5.7vw,1.55rem);line-height:1.12}
  .login-tagline{text-align:center;margin:23px 0 4px;font-size:2rem}
  .login-card{padding:24px 20px;border-radius:24px}
  .login-card h3{font-size:1.58rem}
  .font-lab{margin-top:22px;padding:12px}
  .font-choice{min-height:56px}
  html[data-ui="user"] .user-home-shell{gap:13px}
  html[data-ui="user"] .formation-command{padding:17px}
  html[data-ui="user"] .home-status-card,html[data-ui="user"] .home-phase-card{padding:16px}
  html[data-ui="user"] .home-quick-card{min-height:86px}
}
@media(max-width:390px){
  .login-folk-shell{padding:20px 15px 24px;gap:20px}
  .login-folk-logo{width:min(285px,88vw)}
  .login-card{padding:21px 17px}
  .font-lab-actions{gap:6px}
  .font-choice{padding:6px 4px}
}


/* MVP 0.8.67 · MIX A+B DEFINITIVO + PRIMO PACCHETTO MASCOTTE UFFICIALI
   Fredoka = testi/dati. Baloo 2 = titoli/CTA. Caveat = firma folkloristica. */
html[data-ui="user"]{
  --f6-body:"Fredoka","Arial Rounded MT Bold",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f6-display:"Baloo 2","Arial Rounded MT Bold",system-ui,sans-serif;
  --f6-script:"Caveat",cursive;
}
html[data-ui="user"] body,
html[data-ui="user"] input,
html[data-ui="user"] select,
html[data-ui="user"] textarea{font-family:var(--f6-body)!important}
.font-lab{display:none!important}

.login-folk-shell{gap:48px;padding:52px 54px}
.login-folk-intro{padding:18px 12px}
.login-folk-logo{margin-bottom:34px}
.login-kicker{font-family:var(--f6-body)!important;font-weight:700;letter-spacing:.105em}
.login-folk-intro h1,.login-folk-intro h2,.login-card h3,.login-card button{font-family:var(--f6-display)!important}
.login-folk-intro h1{font-weight:800;letter-spacing:-.018em}
.login-folk-intro h2{font-weight:700;letter-spacing:-.005em}
.login-tagline{margin-top:32px;font-family:var(--f6-script)!important;font-size:clamp(2rem,5.4vw,2.75rem);font-weight:700;letter-spacing:.015em;transform:rotate(-1.6deg);text-shadow:0 4px 11px rgba(0,0,0,.30)}
.login-card{padding:34px 32px}
.login-card h3{font-weight:800}
.login-card .muted,.login-card label,.login-helper{font-family:var(--f6-body)!important}
.login-card button{font-size:1.22rem;font-weight:800;letter-spacing:.005em}

html[data-ui="user"] .ui-kicker,
html[data-ui="user"] .user-kicker,
html[data-ui="user"] .formation-deadline-row,
html[data-ui="user"] .formation-command p,
html[data-ui="user"] .home-kpis,
html[data-ui="user"] .projection-message,
html[data-ui="user"] .league-progress,
html[data-ui="user"] .qualification-zone,
html[data-ui="user"] .home-quick-card small{font-family:var(--f6-body)!important}
html[data-ui="user"] .user-home-hero h1,
html[data-ui="user"] .formation-command h2,
html[data-ui="user"] .formation-main-action,
html[data-ui="user"] .home-status-title h2,
html[data-ui="user"] .home-phase-head h2,
html[data-ui="user"] .home-quick-card strong,
html[data-ui="user"] .home-folklore-strip strong,
html[data-ui="user"] .projection-pill{font-family:var(--f6-display)!important}
html[data-ui="user"] .formation-command h2,html[data-ui="user"] .home-quick-card strong{font-weight:800}
html[data-ui="user"] .home-shortcuts{gap:14px}
html[data-ui="user"] .home-quick-card{min-height:98px;padding:17px 18px}
html[data-ui="user"] .home-quick-card small{font-size:.87rem;font-weight:600}

.user-home-mascot-official{flex:0 0 150px;width:150px;margin:0;padding:7px 7px 8px;border-radius:29px;background:linear-gradient(145deg,#ffe073 0%,#5cc5ff 58%,#1a73c9 100%);box-shadow:0 17px 34px rgba(1,12,38,.34),0 0 0 3px rgba(255,255,255,.10),inset 0 1px 0 rgba(255,255,255,.52);transform:none}
.user-home-mascot-official img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;border-radius:22px;border:2px solid rgba(255,255,255,.68);box-shadow:0 6px 14px rgba(0,0,0,.20)}
.user-home-mascot-official figcaption{margin:6px 2px 0;text-align:center;color:#061738;font-family:var(--f6-display)!important;font-size:.78rem;font-weight:800;line-height:1;letter-spacing:.015em;text-transform:uppercase}

@media(max-width:760px){
  .login-folk-shell{padding:30px 22px 34px;gap:29px}
  .login-folk-intro{padding:7px 2px}
  .login-folk-logo{margin-bottom:27px}
  .login-tagline{margin-top:27px;font-size:2.25rem}
  .login-card{padding:27px 22px}
  html[data-ui="user"] .user-home-hero{min-height:136px;padding:15px 8px}
  .user-home-mascot-official{flex-basis:112px;width:112px;padding:5px 5px 7px;border-radius:23px}
  .user-home-mascot-official img{border-radius:18px}
  .user-home-mascot-official figcaption{font-size:.62rem;margin-top:5px}
  html[data-ui="user"] .home-quick-card{min-height:92px;padding:16px}
}
@media(max-width:390px){
  .login-folk-shell{padding:24px 16px 28px;gap:24px}
  .login-tagline{font-size:2.05rem}
  .user-home-mascot-official{flex-basis:98px;width:98px}
}


/* MVP 0.8.68 · SEZIONI UTENTE: separazione Quadro/Tabellino + layout folkloristico responsive */
html[data-ui="user"] .user-section-shell{
  position:relative;overflow:hidden;display:grid;gap:16px;
  padding:18px;border-radius:30px;
  border:1px solid rgba(92,184,255,.34);
  background:
    radial-gradient(circle at 92% 2%,rgba(255,215,88,.16),transparent 18rem),
    radial-gradient(circle at 4% 22%,rgba(52,160,255,.16),transparent 22rem),
    linear-gradient(155deg,#061a45 0%,#0a3477 46%,#051739 100%);
  box-shadow:0 24px 60px rgba(3,16,46,.22),inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-ui="user"] .user-section-shell:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.20;
  background-image:radial-gradient(circle at 12% 10%,#fff 0 1px,transparent 2px),radial-gradient(circle at 77% 8%,#fff 0 1px,transparent 2px);
}
html[data-ui="user"] .user-section-shell>*{position:relative;z-index:1}
html[data-ui="user"] .user-section-hero{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:20px 22px;border-radius:24px;color:#fff;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 14px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.22);
}
html[data-ui="user"] .user-section-hero.tone-cyan{background:linear-gradient(135deg,#0d8db9,#07527e 65%,#06365e)}
html[data-ui="user"] .user-section-hero.tone-pink{background:linear-gradient(135deg,#b33581,#70215a 62%,#43153e)}
html[data-ui="user"] .user-section-hero.tone-orange{background:linear-gradient(135deg,#b96522,#7a350d 64%,#4c2109)}
html[data-ui="user"] .user-section-hero h1{margin:.15rem 0 .25rem;font-family:var(--f6-display)!important;font-size:clamp(1.8rem,5vw,2.65rem);line-height:1;color:#fff;text-shadow:0 5px 15px rgba(0,0,0,.24)}
html[data-ui="user"] .user-section-hero p{margin:0;color:#eaf5ff;font-family:var(--f6-body)!important;font-weight:600}
html[data-ui="user"] .section-hero-emblem{flex:0 0 72px;width:72px;height:72px;display:grid;place-items:center;border-radius:22px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);font-size:2rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
html[data-ui="user"] .section-mascot{flex:0 0 92px;width:92px;height:92px;object-fit:cover;border-radius:24px;border:3px solid rgba(255,255,255,.72);box-shadow:0 10px 24px rgba(0,0,0,.26)}
html[data-ui="user"] .section-note{padding:11px 14px;border-radius:15px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:#eaf5ff;font-weight:600}
html[data-ui="user"] .section-note a{color:#ffe27a;font-weight:800}

/* Quadro Giornata: search e tabellini avversari */
html[data-ui="user"] .scores-section-shell .scoreboard-hero{margin:0;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)}
html[data-ui="user"] .scores-section-shell .team-search-box{background:rgba(3,20,58,.36);border-color:rgba(255,255,255,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
html[data-ui="user"] .scores-section-shell .team-search-box label,html[data-ui="user"] .scores-section-shell .team-search-box small{color:#eaf4ff}
html[data-ui="user"] .scores-section-shell .team-search-line input{background:#fff;border-color:rgba(255,255,255,.55)}
html[data-ui="user"] .scores-section-shell .team-search-line button{font-family:var(--f6-display)!important;background:linear-gradient(135deg,#ffd95c,#efa829);color:#17325c;border:1px solid #ffeb9e;box-shadow:0 7px 16px rgba(0,0,0,.18)}
html[data-ui="user"] .score-grid{gap:16px}
html[data-ui="user"] .team-score-card{position:relative;overflow:hidden;border:1px solid rgba(83,151,220,.26);background:linear-gradient(180deg,#ffffff,#f5f9ff);box-shadow:0 14px 28px rgba(0,0,0,.18)}
html[data-ui="user"] .team-score-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#54c4ff,#7057e8,#ffcf58)}
html[data-ui="user"] .team-score-card .ui-kicker{color:#2e6ba6}
html[data-ui="user"] .team-score-card h2{font-family:var(--f6-display)!important;color:#102b58}
html[data-ui="user"] .team-total{border-radius:16px;min-width:78px;padding:9px 11px;box-shadow:inset 0 1px 0 rgba(255,255,255,.55)}
html[data-ui="user"] .score-table-wrap{width:100%;overflow-x:auto;border-radius:14px;border:1px solid #e1e9f4}
html[data-ui="user"] .score-table-wrap table{min-width:430px;background:#fff}
html[data-ui="user"] .score-table-wrap th{background:#eaf3ff;color:#244d7a;font-family:var(--f6-body)!important}
html[data-ui="user"] .score-table-wrap td{vertical-align:top}
html[data-ui="user"] .team-score-summary{padding:12px 2px 6px}
html[data-ui="user"] .team-score-card details{margin-top:10px;padding:10px 12px;border-radius:13px;background:#f3f7fc;border:1px solid #e0e8f2}
html[data-ui="user"] .missing-score-message{font-weight:700;color:#9a2832}
html[data-ui="user"] .team-search-hit{transform:translateY(-2px);border-color:#ffd252!important;box-shadow:0 0 0 3px rgba(255,210,82,.42),0 18px 36px rgba(0,0,0,.24)!important}

/* Tabellino personale: una sola squadra e gerarchia più forte */
html[data-ui="user"] .my-score-shell{max-width:860px;margin:0 auto}
html[data-ui="user"] .is-own-score{border-color:rgba(255,190,73,.55);box-shadow:0 18px 38px rgba(0,0,0,.24)}
html[data-ui="user"] .is-own-score:before{height:7px;background:linear-gradient(90deg,#ffcc51,#ff8c5a,#b84493)}
html[data-ui="user"] .is-own-score .team-score-head{padding-top:4px}
html[data-ui="user"] .is-own-score .team-score-head h2{font-size:1.7rem}

/* Giocatori usati: niente più tabella compressa su mobile */
html[data-ui="user"] .used-summary{display:flex;align-items:baseline;gap:10px;padding:13px 16px;border-radius:17px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:#fff}
html[data-ui="user"] .used-summary strong{font-family:var(--f6-display)!important;font-size:2rem;color:#ffe073}
html[data-ui="user"] .used-summary span{font-weight:600;color:#eaf4ff}
html[data-ui="user"] .used-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
html[data-ui="user"] .used-player-card{min-width:0;padding:16px;border-radius:20px;border:1px solid rgba(255,210,106,.28);background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,247,232,.97));box-shadow:0 12px 26px rgba(0,0,0,.16)}
html[data-ui="user"] .used-player-name{display:flex;align-items:center;gap:9px;min-width:0;margin-bottom:12px;color:#5d2c08}
html[data-ui="user"] .used-player-name span{flex:0 0 auto}
html[data-ui="user"] .used-player-name strong{min-width:0;font-family:Fanta6Reading,sans-serif!important;font-weight:600;font-size:1.18rem;line-height:1.25;overflow-wrap:anywhere}
html[data-ui="user"] .used-player-meta{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px}
html[data-ui="user"] .used-player-meta>div{min-width:0;padding:9px 10px;border-radius:13px;background:#fff;border:1px solid #efdcc4}
html[data-ui="user"] .used-player-meta>div:nth-child(3){grid-column:1/-1}
html[data-ui="user"] .used-player-meta span{display:block;margin-bottom:2px;color:#9b6a3d;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.055em}
html[data-ui="user"] .used-player-meta strong{display:block;min-width:0;color:#432208;font-size:.91rem;line-height:1.18;overflow-wrap:anywhere;word-break:normal}
html[data-ui="user"] .empty-folk-card{display:grid;gap:5px;text-align:center;color:#213c65}

@media(max-width:760px){
  html[data-ui="user"] .user-section-shell{padding:12px;border-radius:24px;gap:12px}
  html[data-ui="user"] .user-section-hero{padding:16px;gap:12px;border-radius:20px}
  html[data-ui="user"] .user-section-hero h1{font-size:1.75rem}
  html[data-ui="user"] .user-section-hero p{font-size:.82rem;line-height:1.25}
  html[data-ui="user"] .section-hero-emblem{flex-basis:58px;width:58px;height:58px;border-radius:18px;font-size:1.55rem}
  html[data-ui="user"] .section-mascot{flex-basis:72px;width:72px;height:72px;border-radius:19px}
  html[data-ui="user"] .scores-section-shell .scoreboard-hero{grid-template-columns:1fr;padding:16px}
  html[data-ui="user"] .team-search-line{grid-template-columns:minmax(0,1fr) 68px}
  html[data-ui="user"] .score-grid{grid-template-columns:1fr!important;gap:12px}
  html[data-ui="user"] .team-score-card{padding:15px}
  html[data-ui="user"] .team-score-head{gap:9px}
  html[data-ui="user"] .team-score-head h2{font-size:1.30rem}
  html[data-ui="user"] .team-total{min-width:70px;padding:8px 9px}
  html[data-ui="user"] .used-player-grid{grid-template-columns:1fr}
  html[data-ui="user"] .used-player-card{padding:14px}
  html[data-ui="user"] .used-player-meta{grid-template-columns:64px minmax(0,1fr)}
}
@media(max-width:390px){
  html[data-ui="user"] .user-section-hero{align-items:flex-start}
  html[data-ui="user"] .section-mascot,html[data-ui="user"] .section-hero-emblem{flex-basis:60px;width:60px;height:60px}
  html[data-ui="user"] .team-score-head{align-items:center}
  html[data-ui="user"] .used-player-meta{grid-template-columns:1fr}
  html[data-ui="user"] .used-player-meta>div:nth-child(3){grid-column:auto}
}


/* MVP 0.8.70 · LEGGIBILITA NUMERI + CERCA QUADRO PIU FUNZIONALE */
/* F6 NUMERIC LEGIBILITY 0.8.70
   I numeri restano Fredoka, ma con peso medio e cifre tabulari: 8 e 9 respirano meglio. */
html[data-ui="user"] .home-kpis strong,
html[data-ui="user"] .home-phase-head>strong,
html[data-ui="user"] .league-step,
html[data-ui="user"] .qualification-zone strong,
html[data-ui="user"] .team-total strong,
html[data-ui="user"] .team-score-summary strong,
html[data-ui="user"] .used-summary strong,
html[data-ui="user"] .table-scroll td strong,
html[data-ui="user"] .prize-total strong{
  font-family:var(--f6-body)!important;
  font-weight:600!important;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  letter-spacing:.015em;
}
html[data-ui="user"] .league-step{font-weight:600!important}
html[data-ui="user"] .qualification-zone strong{font-weight:600!important}
html[data-ui="user"] .table-scroll td:not(:nth-child(2)){
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}

/* F6 SEARCH WIDE 0.8.70
   Il cerca-squadra del Quadro diventa un vero pannello orizzontale, non una colonnina laterale. */
html[data-ui="user"] .scores-section-shell .scoreboard-hero{
  grid-template-columns:1fr!important;
  align-items:stretch;
  gap:18px;
}
html[data-ui="user"] .scores-section-shell .team-search-box{
  width:100%;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:19px;
  background:linear-gradient(135deg,rgba(2,22,62,.48),rgba(13,82,126,.40));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 9px 22px rgba(0,0,0,.14);
}
html[data-ui="user"] .scores-section-shell .team-search-box label{
  font-family:var(--f6-display)!important;
  font-size:1.10rem;
  font-weight:700;
  letter-spacing:.005em;
}
html[data-ui="user"] .scores-section-shell .team-search-line{
  grid-template-columns:minmax(0,1fr) 116px;
  gap:11px;
  align-items:stretch;
}
html[data-ui="user"] .scores-section-shell .team-search-line input{
  min-width:0;
  min-height:52px;
  padding:13px 16px;
  border-radius:15px;
  font-size:1rem;
}
html[data-ui="user"] .scores-section-shell .team-search-line button{
  width:116px;
  min-width:116px;
  min-height:52px;
  padding:11px 14px;
  border-radius:15px;
  font-size:1.02rem;
}
html[data-ui="user"] .scores-section-shell .team-search-box small{
  display:block;
  margin-top:2px;
  font-size:.80rem;
  line-height:1.3;
}
@media(max-width:560px){
  html[data-ui="user"] .scores-section-shell .team-search-box{padding:14px}
  html[data-ui="user"] .scores-section-shell .team-search-line{grid-template-columns:1fr;gap:9px}
  html[data-ui="user"] .scores-section-shell .team-search-line button{width:100%;min-width:0}
  html[data-ui="user"] .scores-section-shell .team-search-line input{font-size:16px}
}


/* F6 NUMERIC LIGHT 0.8.70
   Secondo affinamento: i numeri utente scendono a peso 500, soprattutto in tabellini e totali. */
html[data-ui="user"] .home-kpis strong,
html[data-ui="user"] .home-phase-head>strong,
html[data-ui="user"] .league-step,
html[data-ui="user"] .qualification-zone strong,
html[data-ui="user"] .team-total strong,
html[data-ui="user"] .team-score-summary strong,
html[data-ui="user"] .used-summary strong,
html[data-ui="user"] .table-scroll td strong,
html[data-ui="user"] .prize-total strong,
html[data-ui="user"] .score-table-wrap details summary strong,
html[data-ui="user"] .score-table-wrap .breakdown strong{
  font-family:var(--f6-body)!important;
  font-weight:500!important;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  letter-spacing:.02em;
}

/* F6 SEARCH STACKED 0.8.70
   Nel Quadro Giornata il blocco Cerca è SEMPRE sotto titolo e sottotitolo, mai affiancato. */
html[data-ui="user"] .scores-section-shell .scoreboard-hero.user-section-hero{
  display:block!important;
  width:100%;
  box-sizing:border-box;
}
html[data-ui="user"] .scores-section-shell .scoreboard-hero.user-section-hero>div:first-child{
  width:100%;
}
html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-box{
  display:grid!important;
  width:100%!important;
  box-sizing:border-box;
  margin-top:20px;
  padding:15px 16px;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(2,22,62,.42),rgba(7,63,108,.34));
}
html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-line{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px!important;
  width:100%;
  gap:10px;
}
html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-line input{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-line button{
  width:112px;
  min-width:112px;
}
@media(max-width:560px){
  html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-box{margin-top:16px;padding:13px}
  html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-line{grid-template-columns:1fr!important;gap:9px}
  html[data-ui="user"] .scores-section-shell .scoreboard-hero .team-search-line button{width:100%;min-width:0}
}
html[data-ui="user"] .f6-empty-ranking{padding:24px;text-align:center;color:#d6e8ff}
@media(max-width:620px){
}


/* MVP 0.8.71 · NOMI GIOCATORI PIU LEGGIBILI
   Lato partecipante: aumenta il formato dei nomi nei tabellini senza cambiare il font approvato. */
html[data-ui="user"] .score-table-wrap td:nth-child(2){
  font-family:var(--f6-body)!important;
  font-size:1.14rem;
  font-weight:600;
  line-height:1.24;
  letter-spacing:.005em;
}
@media(max-width:760px){
  html[data-ui="user"] .score-table-wrap td:nth-child(2){font-size:1.10rem}
}


/* F6 SEARCH UNIVERSAL 0.8.72
   Quadro Giornata: stessa barra Cerca squadra in ADMIN e partecipante.
   Sempre sotto titolo/sottotitolo, a tutta larghezza; su mobile pulsante sotto l'input. */
.score-search-hero{
  display:block!important;
  width:100%!important;
  box-sizing:border-box;
}
.score-search-hero>div:first-child{width:100%!important}
.score-search-hero .team-search-box{
  display:grid!important;
  width:100%!important;
  box-sizing:border-box;
  margin-top:20px!important;
  padding:15px 16px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:18px!important;
}
.score-search-hero .team-search-line{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px!important;
  width:100%!important;
  gap:10px!important;
}
.score-search-hero .team-search-line input{
  width:100%!important;
  min-width:0!important;
  min-height:52px;
  box-sizing:border-box!important;
  font-size:16px;
}
.score-search-hero .team-search-line button{
  width:112px!important;
  min-width:112px!important;
  min-height:52px;
}
@media(max-width:560px){
  .score-search-hero .team-search-box{margin-top:16px!important;padding:13px!important}
  .score-search-hero .team-search-line{grid-template-columns:1fr!important;gap:9px!important}
  .score-search-hero .team-search-line button{width:100%!important;min-width:0!important}
}

/* MVP 0.8.72 · MASCOTTE UFFICIALI BLOCCATE
   Il layout non altera identità/asset; eventuali pose future devono essere asset approvati separatamente. */
.user-home-mascot-official img,.section-mascot{
  object-fit:contain;
}


/* MVP 0.8.73 · TABELLINI FANTA6 — LEGGIBILITA + RUOLI + MASCOTTE
   Standard ufficiale: nomi maiuscoli, badge P/D/C/A, righe separate, PLUS oro. */
.team-score-identity{display:flex;align-items:center;gap:12px;min-width:0}
.score-team-mascot{
  flex:0 0 58px;width:58px;height:58px;object-fit:contain;
  border-radius:16px;padding:3px;background:linear-gradient(145deg,#fff,#eef5ff);
  border:2px solid rgba(37,90,156,.22);box-shadow:0 6px 16px rgba(20,45,80,.13)
}
.team-score-identity>div{min-width:0}
.team-score-identity h2{overflow-wrap:anywhere}

.score-table-wrap table{width:100%;min-width:0!important;table-layout:fixed;border-collapse:collapse}
.score-table-wrap th:first-child{width:56px}
.score-table-wrap th:last-child{width:112px;text-align:center}
.score-table-wrap .score-player-row>td{
  padding:13px 10px!important;border-bottom:1px solid #dfe8f2!important;vertical-align:middle!important
}
.score-table-wrap .score-player-row:last-child>td{border-bottom:0!important}
.score-table-wrap .score-player-row:nth-child(even)>td{background:rgba(241,246,252,.52)}
.score-role-cell{text-align:center}
.score-role-badge{
  display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;
  color:#fff;font-weight:900;font-size:.92rem;line-height:1;box-shadow:inset 0 1px 0 rgba(255,255,255,.34)
}
.score-player-cell{min-width:0;border-left:4px solid transparent!important}
.score-player-main{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.score-player-name{
  display:inline-block;min-width:0;font-family:var(--f6-body)!important;
  font-size:1.12rem;font-weight:800;line-height:1.16;letter-spacing:.025em;
  overflow-wrap:anywhere
}
.score-player-club{
  display:block;margin-top:3px;color:#74849a;font-size:.73rem;font-weight:700;
  line-height:1.1;text-transform:uppercase;letter-spacing:.055em
}
.score-plus-badge,.score-burned-badge{
  display:inline-flex;align-items:center;justify-content:center;min-height:21px;padding:3px 7px;
  border-radius:999px;font-size:.61rem;font-weight:900;letter-spacing:.055em;white-space:nowrap
}
.score-plus-badge{color:#5c3900;background:linear-gradient(135deg,#ffe889,#ffc83d);border:1px solid #e9aa18}
.score-burned-badge{color:#8d1f2a;background:#ffe9eb;border:1px solid #efb9bf}
.score-points-cell{text-align:center}
.score-points-cell>details>summary{justify-content:center;font-size:1rem}

.score-player-row.role-p .score-role-badge{background:#16865c}
.score-player-row.role-d .score-role-badge{background:#2468bd}
.score-player-row.role-c .score-role-badge{background:#c3690e}
.score-player-row.role-a .score-role-badge{background:#be3444}
.score-player-row.role-p .score-player-cell{border-left-color:#48a982!important}.score-player-row.role-p .score-player-name{color:#116c4a}
.score-player-row.role-d .score-player-cell{border-left-color:#70a1de!important}.score-player-row.role-d .score-player-name{color:#20599d}
.score-player-row.role-c .score-player-cell{border-left-color:#e4a050!important}.score-player-row.role-c .score-player-name{color:#a65308}
.score-player-row.role-a .score-player-cell{border-left-color:#df7b87!important}.score-player-row.role-a .score-player-name{color:#a72b39}
.score-player-row.burned{opacity:.68}
.score-player-row.out-of-role .score-player-name{text-decoration:underline wavy #b62939 1px;text-underline-offset:3px}

html[data-ui="user"] .score-table-wrap .score-player-name{font-size:1.16rem}
html[data-ui="user"] .is-own-score .score-player-name{font-size:1.20rem}

@media(max-width:620px){
  .team-score-identity{gap:9px}.score-team-mascot{flex-basis:48px;width:48px;height:48px;border-radius:13px}
  .score-table-wrap th:first-child{width:48px}.score-table-wrap th:last-child{width:92px}
  .score-table-wrap .score-player-row>td{padding:12px 7px!important}
  .score-role-badge{width:31px;height:31px;border-radius:10px;font-size:.86rem}
  .score-player-name,html[data-ui="user"] .score-table-wrap .score-player-name,html[data-ui="user"] .is-own-score .score-player-name{font-size:1.06rem}
  .score-player-club{font-size:.68rem}
  .score-plus-badge,.score-burned-badge{font-size:.56rem;padding:2px 6px}
  .score-points-cell>details>summary{font-size:.92rem}
}
@media(max-width:390px){
  .score-table-wrap th:first-child{width:44px}.score-table-wrap th:last-child{width:82px}
  .score-table-wrap .score-player-row>td{padding:11px 5px!important}
  .score-player-name,html[data-ui="user"] .score-table-wrap .score-player-name,html[data-ui="user"] .is-own-score .score-player-name{font-size:.98rem}
  .score-player-club{font-size:.64rem}
}


/* MVP 0.8.74 · LOGIN CLEAN
   Il logo principale resta soltanto nella testata: niente duplicazione nella card di accesso. */
.login-folk-intro{align-self:center}
.login-edition{
  display:inline-flex;align-items:center;min-height:30px;padding:7px 11px;margin:0 0 18px;
  border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);
  color:#eaf4ff!important;font-size:12px!important;letter-spacing:.11em!important
}
@media(max-width:760px){
  .login-edition{margin:0 auto 15px}
}

/* F6 SCORE NUMBERS 0.8.74
   Nel FANTA6 il punteggio e' il dato primario: piu grande, tabulare e leggibile. */
.score-points-cell>details>summary strong{
  font-size:1.30rem!important;line-height:1!important;font-weight:600!important;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1
}
.team-total strong{
  font-size:2.02rem!important;line-height:1!important;font-weight:600!important;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1
}
.team-score-summary strong{
  font-size:1.30rem!important;line-height:1.05!important;font-weight:600!important;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1
}
@media(max-width:620px){
  .score-points-cell>details>summary strong{font-size:1.20rem!important}
  .team-total strong{font-size:1.82rem!important}
  .team-score-summary strong{font-size:1.20rem!important}
}
@media(max-width:390px){
  .score-points-cell>details>summary strong{font-size:1.13rem!important}
  .team-total strong{font-size:1.72rem!important}
}


/* MVP 0.8.95 · REGISTRO UFFICIALE 40 MASCOTTE + INTEGRAZIONE CLASSIFICA */
.team-mascot-inline{width:34px;height:34px;object-fit:contain;flex:0 0 34px}
.technical-team-with-mascot{display:inline-flex;align-items:center;gap:8px;min-width:0}
.technical-team-with-mascot>span{min-width:0}
.official-teams-shell{display:grid;gap:18px}
.official-teams-hero{position:relative;overflow:hidden;padding:24px;border-radius:26px;background:linear-gradient(135deg,#071e4a,#0a5f91);color:#fff;box-shadow:0 16px 34px rgba(5,32,71,.2)}
.official-teams-hero h1{margin:4px 0 6px;font-size:clamp(2rem,6vw,3.2rem);color:#fff}
.official-teams-hero p{margin:0;max-width:680px;color:#d9efff}
.mascot-registry-kpi{position:absolute;right:20px;top:20px;display:grid;text-align:center;padding:10px 15px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22)}
.mascot-registry-kpi strong{font-size:1.5rem;color:#ffe16b}.mascot-registry-kpi span{font-size:.72rem;color:#e8f6ff}
.official-mascot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.official-mascot-card{overflow:hidden;border-radius:22px;background:#fff;border:1px solid #dce6f2;box-shadow:0 10px 24px rgba(18,49,83,.1)}
.official-mascot-visual{position:relative;display:grid;place-items:center;height:220px;padding:10px;background:radial-gradient(circle at 50% 42%,#fff 0,#f3f8ff 65%,#e7f0fa 100%)}
.official-mascot-visual img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 10px rgba(23,44,67,.15))}
.mascot-placeholder{font-size:4rem;opacity:.4}.mascot-lock{position:absolute;left:9px;bottom:9px;padding:5px 8px;border-radius:999px;background:rgba(7,41,78,.88);color:#fff;font-size:.65rem;font-weight:800;letter-spacing:.03em}
.official-mascot-copy{padding:13px 14px 16px}.official-mascot-copy h2{margin:0 0 8px;font-size:1.03rem;color:#123765}.official-mascot-copy p{margin:8px 0 0;font-size:.78rem;line-height:1.35;color:#52677e}
.mascot-palette{display:flex;gap:5px}.mascot-palette i{width:20px;height:8px;border-radius:999px;background:var(--sw);border:1px solid rgba(0,0,0,.12)}
.mascot-tech-state{display:block;margin-top:9px;font-family:monospace}.mascot-tech-state.ok{color:#137550}.mascot-tech-state.bad{color:#b42318}
@media(max-width:900px){.official-mascot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.official-mascot-visual{height:190px}}
@media(max-width:560px){.mascot-registry-kpi{position:static;margin-top:14px;width:max-content}.official-teams-hero{padding:20px}.official-mascot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.official-mascot-visual{height:155px;padding:7px}.official-mascot-copy{padding:10px}.official-mascot-copy h2{font-size:.86rem}.official-mascot-copy p{font-size:.7rem}.mascot-lock{font-size:.55rem}}


/* MVP 0.8.95 · RIORDINO MASCOTTE
   Quadro Giornata più visibile, Classifica più compatta, Le Squadre normalizzata. */
.score-team-mascot{flex:0 0 74px!important;width:74px!important;height:74px!important;border-radius:18px!important;padding:4px!important}
.official-mascot-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.official-mascot-card{display:flex!important;flex-direction:column!important}
.official-mascot-visual{display:flex!important;align-items:flex-end!important;justify-content:center!important;height:210px!important;padding:16px 16px 12px!important;overflow:hidden!important}
.official-mascot-visual img{width:84%!important;height:84%!important;max-width:84%!important;max-height:84%!important;object-fit:contain!important;object-position:center bottom!important;image-rendering:auto}
.official-mascot-copy h2{text-wrap:balance}
@media(max-width:620px){
  .score-team-mascot{flex-basis:62px!important;width:62px!important;height:62px!important;border-radius:16px!important}
  .official-mascot-visual{height:176px!important;padding:12px 12px 10px!important}
  .official-mascot-visual img{width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important}
}
@media(max-width:560px){
  .official-mascot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .official-mascot-visual{height:162px!important}
}


/* MVP 0.8.95 · MASCOTTE RIORDINO FINALE */
.score-team-mascot{flex:0 0 84px!important;width:84px!important;height:84px!important;border-radius:20px!important;padding:4px!important}
.official-teams-shell{gap:14px!important}
.official-teams-hero p{display:none!important}
.official-mascot-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
.official-mascot-card{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.official-mascot-visual{position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;height:165px!important;padding:10px 8px 6px!important;background:transparent!important;overflow:hidden!important}
.official-mascot-visual img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 8px 12px rgba(16,41,70,.16))!important}
.mascot-lock,.mascot-palette,.official-mascot-copy p{display:none!important}
.official-mascot-copy{padding:6px 4px 0!important;text-align:center!important}
.official-mascot-copy h2{margin:0!important;font-size:.93rem!important;line-height:1.15!important;color:#17355a!important}
.mascot-tech-state{display:block;margin-top:5px;font-size:.64rem!important}
@media(max-width:900px){.official-mascot-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.official-mascot-visual{height:152px!important}}
@media(max-width:620px){
  .score-team-mascot{flex-basis:70px!important;width:70px!important;height:70px!important;border-radius:18px!important}
  .official-mascot-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  .official-mascot-visual{height:138px!important;padding:8px 5px 4px!important}
  .official-mascot-copy h2{font-size:.82rem!important}
}
@media(max-width:430px){
  .official-mascot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .official-mascot-visual{height:132px!important}
}


/* MVP 0.8.95 · MASCOTTE FULL VISIBILITY + RIMOZIONE SEZIONE LE SQUADRE */
.score-team-mascot{flex:0 0 96px!important;width:96px!important;height:96px!important;object-fit:cover!important;object-position:center center!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:22px!important}
.team-mascot-inline, html[data-ui="user"] .f6-ranking-mascot{width:42px!important;height:42px!important;flex:0 0 42px!important;object-fit:cover!important;object-position:center center!important}
@media(max-width:620px){
  .score-team-mascot{flex-basis:82px!important;width:82px!important;height:82px!important;border-radius:20px!important}
  .team-mascot-inline, html[data-ui="user"] .f6-ranking-mascot{width:37px!important;height:37px!important;flex-basis:37px!important}
}


/* F6 FORMATION BUILDER 0.8.95 · CONSeGNA / MODIFICA FORMAZIONE */
.formation-builder-shell{display:grid;gap:18px;max-width:1180px;margin:0 auto}
.formation-builder-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:190px;padding:24px 28px;border-radius:28px;background:linear-gradient(135deg,#071f4d 0%,#0a5e96 58%,#1685bd 100%);color:#fff;box-shadow:0 18px 42px rgba(5,34,74,.20)}
.formation-builder-hero:after{content:"";position:absolute;right:-70px;top:-90px;width:290px;height:290px;border-radius:50%;background:rgba(255,255,255,.08)}
.formation-builder-title{position:relative;z-index:1;min-width:0}.formation-builder-title .ui-kicker{color:#aee4ff}.formation-builder-title h1{margin:.25rem 0 .35rem;color:#fff;font-size:clamp(2rem,6vw,3.35rem);line-height:.98}.formation-builder-title p{margin:0;color:#d9efff;font-weight:700}.formation-deadline-chip{display:inline-flex;margin-top:14px;padding:8px 12px;border-radius:999px;background:rgba(3,19,48,.38);border:1px solid rgba(255,255,255,.2);font-size:.78rem;font-weight:850;color:#fff}
.formation-hero-mascot{position:relative;z-index:1;flex:0 0 164px;width:164px;height:164px;display:grid;place-items:center;overflow:hidden;border-radius:28px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18)}
.formation-hero-mascot img{width:100%;height:100%;object-fit:cover;object-position:center}
.formation-builder-form{display:grid;gap:16px}.formation-builder-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(285px,.65fr);gap:16px;align-items:start}
.formation-selection-panel,.formation-summary-panel,.formation-plus-card{border:1px solid #d9e4f0;background:#fff;border-radius:24px;box-shadow:0 10px 28px rgba(23,53,86,.08)}
.formation-selection-panel{padding:18px}.formation-panel-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:15px}.formation-panel-heading h2,.formation-summary-panel h2,.formation-plus-card h2{margin:.15rem 0 0}.formation-panel-heading>strong{display:grid;place-items:center;min-width:58px;height:42px;padding:0 10px;border-radius:14px;background:#edf5ff;color:#185eaa;font-size:1.08rem}
.formation-slots-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.formation-slot{--role:#46698d;position:relative;overflow:hidden;padding:14px;border:1px solid #dce5ef;border-radius:19px;background:linear-gradient(180deg,#fff,#f9fbfe);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.formation-slot.role-p{--role:#16865c}.formation-slot.role-d{--role:#2468bd}.formation-slot.role-c{--role:#c3690e}.formation-slot.role-a{--role:#be3444}.formation-slot.has-player{border-color:color-mix(in srgb,var(--role) 38%,#dce5ef);box-shadow:0 8px 18px rgba(31,61,95,.08);transform:translateY(-1px)}
.formation-slot-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.formation-role-badge{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:var(--role);color:#fff;font-weight:950}.formation-slot-head strong{display:block;font-size:1rem}.formation-slot-head small{display:block;margin-top:2px;font-size:.62rem;font-weight:800;letter-spacing:.09em;color:#7b8ca1}
.formation-select-label{display:grid;gap:6px}.formation-select-label>span{font-size:.69rem;text-transform:uppercase;letter-spacing:.06em;color:#718096}.formation-player-select{min-height:46px;border:1px solid #cfdce9!important;background:#fff!important;font-weight:800;text-transform:uppercase}
.formation-search-label{display:grid;gap:6px;margin-bottom:9px}.formation-search-label>span{font-size:.69rem;text-transform:uppercase;letter-spacing:.06em;color:#718096;font-weight:800}.formation-player-search{min-height:43px;border:1px solid #bcd0e4!important;border-radius:12px!important;background:#fff!important;padding:0 12px!important;font-weight:750}.formation-player-search:focus{outline:3px solid color-mix(in srgb,var(--role) 18%,transparent);border-color:var(--role)!important}.formation-player-search::placeholder{color:#8b9aae;font-weight:650}
.formation-slot-preview{margin-top:10px;padding:10px 11px;border-left:4px solid var(--role);border-radius:10px;background:#f4f8fc}.formation-slot-preview strong{display:block;font-size:.84rem;line-height:1.14;color:#263c55}.formation-slot-preview span{display:block;margin-top:4px;font-size:.66rem;font-weight:750;color:#7a8da2;letter-spacing:.035em}
.formation-summary-panel{position:sticky;top:88px;padding:18px;background:linear-gradient(180deg,#071f4d,#0b3969);color:#fff}.formation-summary-panel .ui-kicker{color:#89d5ff}.formation-summary-panel h2{color:#fff;margin-bottom:14px}.formation-summary-list{display:grid;gap:8px}.formation-summary-row{--role:#8096ad;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;padding:9px;border-radius:13px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.08)}.formation-summary-row.role-p{--role:#3bc18c}.formation-summary-row.role-d{--role:#65a7ef}.formation-summary-row.role-c{--role:#f2a44d}.formation-summary-row.role-a{--role:#ef7d8b}.formation-summary-role{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--role);color:#fff;font-weight:950}.formation-summary-row strong{display:block;font-size:.76rem;line-height:1.1;color:#fff}.formation-summary-row small{display:block;margin-top:3px;font-size:.63rem;color:#b7cce2}.formation-summary-row.has-player{background:rgba(255,255,255,.13)}
.formation-summary-plus{display:grid;gap:5px;margin-top:12px;padding:11px 12px;border-radius:14px;background:linear-gradient(135deg,#ffd864,#f2b72e);color:#573700}.formation-summary-plus span{font-size:.66rem;font-weight:950;letter-spacing:.08em}.formation-summary-plus strong{font-size:.85rem;line-height:1.15}
.formation-plus-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(240px,.7fr);gap:14px;align-items:center;padding:16px 18px;border-color:#ecd48a;background:linear-gradient(135deg,#fffdf5,#fff7d9)}.formation-plus-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#ffe889,#ffc83d);font-size:1.65rem;box-shadow:0 7px 16px rgba(190,137,15,.18)}.formation-plus-copy .ui-kicker{color:#9a6700}.formation-plus-copy p{margin:4px 0 0;color:#74623a;font-size:.82rem}.formation-plus-card label{gap:6px}.formation-plus-card label>span{font-size:.69rem;text-transform:uppercase;letter-spacing:.06em;color:#8b702e}.formation-plus-card select{font-weight:850;text-transform:uppercase;background:#fff}
.formation-safety-notice{padding:12px 14px;border-radius:14px;background:#eef5ff;border:1px solid #ccdff4;color:#36526f;font-size:.82rem;font-weight:700}.formation-submit-btn{min-height:60px;border-radius:17px;background:linear-gradient(135deg,#157b50,#0a633f);font-size:1.12rem;letter-spacing:.02em;box-shadow:0 10px 22px rgba(10,99,63,.2)}.formation-submit-btn:hover{transform:translateY(-1px)}
@media(max-width:820px){.formation-builder-layout{grid-template-columns:1fr}.formation-summary-panel{position:static}.formation-plus-card{grid-template-columns:auto 1fr}.formation-plus-card label{grid-column:1/-1}.formation-hero-mascot{flex-basis:132px;width:132px;height:132px}}
@media(max-width:620px){.formation-builder-shell{gap:13px}.formation-builder-hero{min-height:0;padding:18px;border-radius:21px;gap:12px}.formation-builder-title h1{font-size:1.8rem}.formation-builder-title p{font-size:.8rem}.formation-deadline-chip{font-size:.68rem;margin-top:10px}.formation-hero-mascot{flex-basis:96px;width:96px;height:96px;border-radius:20px}.formation-selection-panel,.formation-summary-panel,.formation-plus-card{border-radius:19px}.formation-selection-panel{padding:13px}.formation-slots-grid{grid-template-columns:1fr;gap:9px}.formation-slot{padding:12px}.formation-panel-heading{align-items:center}.formation-panel-heading h2{font-size:1.22rem}.formation-player-select{font-size:.92rem}.formation-summary-panel{padding:14px}.formation-plus-card{padding:13px}.formation-plus-icon{width:48px;height:48px;border-radius:15px}.formation-plus-copy h2{font-size:1.18rem}.formation-submit-btn{min-height:58px;font-size:1rem}}


/* MVP 0.8.95 · FORMAZIONE CONSEGNATA VISIBILE IN SOLA LETTURA */
.formation-main-action.formation-view-only{background:linear-gradient(135deg,#173f78,#246fbd)!important;color:#fff!important}
.formation-builder-form.is-readonly .formation-player-select,
.formation-builder-form.is-readonly #plus_player_id{opacity:1!important;color:#1d2b3f!important;background:#f2f6fb!important;cursor:default!important}
.formation-builder-form.is-readonly .formation-slot{box-shadow:none!important}
.formation-builder-form.is-readonly .formation-slot-preview{opacity:1!important}
.formation-deadline-chip.is-closed{background:#eef2f7!important;color:#42536a!important;border-color:#cbd5e1!important}
.formation-readonly-back{display:block;text-decoration:none;text-align:center;background:#183c68!important}


/* MVP 0.8.95 · FORMAZIONE LABELS IN MAIUSCOLO */
.formation-slot-head strong,.formation-summary-row small{ text-transform:uppercase!important; letter-spacing:.05em!important; }


/* MVP 0.8.95 · HOME + CLASSIFICHE — RIFINITURA GRAFICA FINALE */
/* HOME: gerarchia più netta, CTA dominante, stato + percorso affiancati. */
html[data-ui="user"] .user-home-shell{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px!important;
  padding:16px!important;
}
html[data-ui="user"] .user-home-hero,
html[data-ui="user"] .formation-command,
html[data-ui="user"] .home-shortcuts,
html[data-ui="user"] .home-folklore-strip{grid-column:1/-1}
html[data-ui="user"] .user-home-hero{
  min-height:132px!important;
  padding:4px 5px 8px!important;
}
html[data-ui="user"] .user-home-hero h1{font-size:clamp(2rem,5vw,3rem)!important}
html[data-ui="user"] .user-home-hero p{font-size:.92rem;opacity:.92}
html[data-ui="user"] .user-home-mascot-official{flex:0 0 132px!important;width:132px!important}
html[data-ui="user"] .user-home-mascot-official img{aspect-ratio:1/1!important;object-fit:cover!important}
html[data-ui="user"] .formation-command{
  grid-template-columns:minmax(0,1fr) minmax(280px,.52fr)!important;
  min-height:156px;
  padding:22px!important;
  border-radius:25px!important;
}
html[data-ui="user"] .formation-command .ui-kicker{font-size:12px;letter-spacing:.12em}
html[data-ui="user"] .formation-command h2{font-size:clamp(2rem,5vw,2.72rem)!important;margin:.22rem 0 .42rem!important}
html[data-ui="user"] .formation-deadline-row>strong{font-size:1.04rem}
html[data-ui="user"] .deadline-countdown{padding:7px 12px;font-size:.92rem}
html[data-ui="user"] .formation-command p{font-size:.88rem;opacity:.9}
html[data-ui="user"] .formation-main-action{
  min-height:88px!important;
  border-radius:21px!important;
  font-size:1.22rem!important;
  letter-spacing:.01em;
}
html[data-ui="user"] .formation-main-action.formation-view-only{color:#17653f}
html[data-ui="user"] .home-status-card,
html[data-ui="user"] .home-phase-card{
  min-width:0;
  padding:18px!important;
  border-radius:22px!important;
}
html[data-ui="user"] .home-status-title h2,
html[data-ui="user"] .home-phase-head h2{font-size:1.23rem}
html[data-ui="user"] .home-kpis{margin-top:13px}
html[data-ui="user"] .home-kpis>div{padding:12px 8px}
html[data-ui="user"] .home-kpis strong{font-size:1.55rem!important}
html[data-ui="user"] .projection-message{font-size:.85rem!important;line-height:1.35}
html[data-ui="user"] .league-progress{margin:15px 0 14px;gap:5px}
html[data-ui="user"] .league-step{max-width:37px}
html[data-ui="user"] .qualification-zone{padding:9px 5px}
html[data-ui="user"] .home-shortcuts{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
html[data-ui="user"] .home-quick-card{
  min-height:76px!important;
  padding:12px 13px!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
}
html[data-ui="user"] .home-quick-icon{width:44px;height:44px;font-size:1.4rem}
html[data-ui="user"] .home-quick-card strong{font-size:.96rem}
html[data-ui="user"] .home-quick-card small{font-size:.7rem;line-height:1.2}
html[data-ui="user"] .home-folklore-strip{padding:11px!important;font-size:.8rem}

@media(max-width:820px){
  html[data-ui="user"] .user-home-shell{grid-template-columns:1fr!important;padding:13px!important}
  html[data-ui="user"] .user-home-hero,
  html[data-ui="user"] .formation-command,
  html[data-ui="user"] .home-status-card,
  html[data-ui="user"] .home-phase-card,
  html[data-ui="user"] .home-shortcuts,
  html[data-ui="user"] .home-folklore-strip{grid-column:1!important}
  html[data-ui="user"] .formation-command{grid-template-columns:1fr!important;min-height:0;padding:17px!important}
  html[data-ui="user"] .formation-main-action{min-height:66px!important}
  html[data-ui="user"] .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  html[data-ui="user"] .user-home-mascot-official{flex-basis:100px!important;width:100px!important}
  html[data-ui="user"] .user-home-hero{min-height:105px!important}
  html[data-ui="user"] .formation-command h2{font-size:1.72rem!important}
  html[data-ui="user"] .home-status-card,html[data-ui="user"] .home-phase-card{padding:14px!important}
  html[data-ui="user"] .home-shortcuts{gap:8px!important}
  html[data-ui="user"] .home-quick-card{grid-template-columns:40px minmax(0,1fr)!important;min-height:68px!important;padding:9px!important}
  html[data-ui="user"] .home-quick-card>b{display:none!important}
  html[data-ui="user"] .home-quick-icon{width:40px;height:40px;font-size:1.25rem}
}
@media(max-width:390px){
  html[data-ui="user"] .home-shortcuts{grid-template-columns:1fr!important}
}
@media(max-width:620px){}


/* MVP 0.8.95 · PREMI PUBBLICI: MONTEPREMI + SUDDIVISIONE SEMPRE VISIBILI */
html[data-ui="user"] .prize-public-shell{display:grid;gap:16px}
html[data-ui="user"] .prize-public-hero{padding:22px 24px;border-radius:24px;background:linear-gradient(135deg,#061f4a,#0b5f8f);color:#fff;box-shadow:0 14px 32px rgba(13,48,86,.16)}
html[data-ui="user"] .prize-public-hero .ui-kicker{color:#92dcff}
html[data-ui="user"] .prize-public-hero h1{margin:.2rem 0 .3rem;color:#fff;font-size:clamp(2rem,5vw,3rem)}
html[data-ui="user"] .prize-public-hero p{margin:0;color:#d9efff;font-weight:700}
html[data-ui="user"] .prize-public-overview{padding:20px;border-radius:22px}
html[data-ui="user"] .prize-public-total{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-4px 0 18px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#fff4b8,#ffd45a);border:1px solid #e8bd32;color:#4c3500}
html[data-ui="user"] .prize-public-total span{font-size:.78rem;font-weight:500;letter-spacing:.08em}
html[data-ui="user"] .prize-public-total strong{font-family:Fanta6Reading,sans-serif!important;font-weight:600;font-size:2rem;line-height:1.2;white-space:nowrap}
html[data-ui="user"] .prize-public-overview h2{margin:0 0 12px}
html[data-ui="user"] .prize-public-table th:last-child,html[data-ui="user"] .prize-public-table td:last-child{text-align:right;white-space:nowrap}
html[data-ui="user"] .prize-public-table td:nth-child(2){font-weight:800}
html[data-ui="user"] .prize-public-table td:last-child strong{font-size:1.08rem;color:#0d5d3e}
html[data-ui="user"] .prize-public-note{margin:14px 0 0;padding:11px 13px;border-radius:13px;background:#eef6ff;color:#39536f;font-size:.82rem;font-weight:700;line-height:1.4}
@media(max-width:620px){
  html[data-ui="user"] .prize-public-hero{padding:18px;border-radius:20px}
  html[data-ui="user"] .prize-public-overview{padding:13px}
  html[data-ui="user"] .prize-public-total{padding:13px 14px}
  html[data-ui="user"] .prize-public-total span{font-size:12px}
  html[data-ui="user"] .prize-public-total strong{font-size:1.65rem}
  html[data-ui="user"] .prize-public-table th,html[data-ui="user"] .prize-public-table td{padding:9px 7px;font-size:.82rem}
}


/* MVP 0.8.95 · PREMI FONT PIÙ GRANDE */
html[data-ui="user"] .prize-public-overview h2{font-size:1.42rem!important}
html[data-ui="user"] .prize-public-table th,html[data-ui="user"] .prize-public-table td{font-size:1rem!important;padding:11px 10px!important}
html[data-ui="user"] .prize-public-table th{font-weight:800!important}
html[data-ui="user"] .prize-public-table td:nth-child(1){font-size:.94rem!important}
html[data-ui="user"] .prize-public-table td:nth-child(2){font-size:1.02rem!important}
html[data-ui="user"] .prize-public-table td:last-child strong{font-size:1.18rem!important}
html[data-ui="user"] .prize-public-note{font-size:.96rem!important;line-height:1.5!important;padding:13px 15px!important}
@media(max-width:620px){html[data-ui="user"] .prize-public-overview h2{font-size:1.2rem!important}html[data-ui="user"] .prize-public-table th,html[data-ui="user"] .prize-public-table td{font-size:.92rem!important;padding:10px 8px!important}html[data-ui="user"] .prize-public-table td:last-child strong{font-size:1.08rem!important}html[data-ui="user"] .prize-public-note{font-size:.9rem!important}}


/* MVP 0.8.95 · PREMI COLORATI + MAIUSCOLO + ORDINE IMPORTANZA */
html[data-ui="user"] .prize-public-hero{background:linear-gradient(135deg,#062a64 0%,#0c6ca3 52%,#26a8d8 100%)!important}
html[data-ui="user"] .prize-public-hero p,
html[data-ui="user"] .prize-public-hero h1,
html[data-ui="user"] .prize-public-overview h2,
html[data-ui="user"] .prize-public-table th,
html[data-ui="user"] .prize-public-table td,
html[data-ui="user"] .prize-public-note,
html[data-ui="user"] .prize-public-total span{ text-transform:uppercase!important; }
html[data-ui="user"] .prize-public-overview{padding:22px!important;border-radius:24px!important;background:linear-gradient(180deg,#fffdf2 0%,#fff6cf 100%)!important;border:1px solid #f1d36a!important;box-shadow:0 14px 28px rgba(168,121,11,.12)!important}
html[data-ui="user"] .prize-public-total{background:linear-gradient(135deg,#ffe36f 0%,#ffc83d 100%)!important;border:1px solid #e1a91f!important;color:#4f3000!important;box-shadow:0 10px 18px rgba(191,133,10,.16)!important}
html[data-ui="user"] .prize-public-overview h2{color:#8a4f00!important;letter-spacing:.04em!important}
html[data-ui="user"] .prize-public-table{border-collapse:separate!important;border-spacing:0 8px!important}
html[data-ui="user"] .prize-public-table tr:first-child th{background:#103d73!important;color:#fff!important;border:0!important;padding:12px 10px!important}
html[data-ui="user"] .prize-public-table td{background:#fff!important;border-top:1px solid #f1df9f!important;border-bottom:1px solid #f1df9f!important}
html[data-ui="user"] .prize-public-table td:first-child{border-left:1px solid #f1df9f!important;border-radius:12px 0 0 12px!important;font-weight:900!important;color:#6c4600!important}
html[data-ui="user"] .prize-public-table td:last-child{border-right:1px solid #f1df9f!important;border-radius:0 12px 12px 0!important}
html[data-ui="user"] .prize-public-table .prize-importance-1 td{background:linear-gradient(90deg,#fff3a6 0%,#ffe074 100%)!important;border-color:#edc341!important}
html[data-ui="user"] .prize-public-table .prize-importance-2 td{background:linear-gradient(90deg,#fff6c4 0%,#ffe9a1 100%)!important;border-color:#efd57a!important}
html[data-ui="user"] .prize-public-table .prize-importance-3 td{background:linear-gradient(90deg,#eef8ff 0%,#d8f0ff 100%)!important;border-color:#9fd4f5!important}
html[data-ui="user"] .prize-public-table .prize-importance-4 td{background:linear-gradient(90deg,#f4fbff 0%,#e6f6ff 100%)!important;border-color:#b8def0!important}
html[data-ui="user"] .prize-public-table .prize-importance-5 td{background:linear-gradient(90deg,#f9f7ff 0%,#efe7ff 100%)!important;border-color:#d5c2ff!important}
html[data-ui="user"] .prize-public-table .prize-importance-6 td,
html[data-ui="user"] .prize-public-table .prize-importance-7 td,
html[data-ui="user"] .prize-public-table .prize-importance-8 td{background:linear-gradient(90deg,#fffaf2 0%,#fff3e2 100%)!important;border-color:#efd2a0!important}
html[data-ui="user"] .prize-public-table td:last-child strong{color:#0b5d3d!important}
html[data-ui="user"] .prize-public-note{background:linear-gradient(135deg,#0e4f78,#1577a9)!important;color:#fff!important;border-radius:16px!important}
@media(max-width:620px){
  html[data-ui="user"] .prize-public-overview{padding:16px!important}
  html[data-ui="user"] .prize-public-table{border-spacing:0 6px!important}
  html[data-ui="user"] .prize-public-table tr:first-child th{padding:10px 8px!important}
}


/* MVP 0.8.95 · RIFINITURE FINALI MULTI-SEZIONE */
html[data-ui="user"].nav-loading a.is-loading{opacity:.72!important;transform:scale(.98)!important}
html[data-ui="user"].nav-loading, html[data-ui="user"].nav-loading body{cursor:progress!important}

/* Login più pulito: niente topbar/logo grande e intro più curata */
body.login-view{background:radial-gradient(circle at 50% -8%,rgba(80,170,255,.26),transparent 28rem),linear-gradient(180deg,#061842 0,#0a2d6e 20rem,#eef4ff 44rem,#f4f7fb 100%)}
body.login-view .container{padding-top:24px!important}
.login-pixar-buddy{display:grid;place-items:center;width:116px;height:116px;margin:18px 0 0;border-radius:32px;background:linear-gradient(145deg,#ffe57b,#ffbe39 58%,#ff8c45);box-shadow:0 18px 35px rgba(0,0,0,.22),inset 0 2px 0 rgba(255,255,255,.45)}
.login-pixar-buddy span{font-size:3rem;filter:drop-shadow(0 6px 12px rgba(0,0,0,.18))}
.login-folk-shell{max-width:1120px;margin:0 auto}
.login-folk-intro{display:grid;align-content:center;gap:0}
.login-card{border-radius:34px!important}
@media(max-width:760px){.login-pixar-buddy{width:92px;height:92px;margin:14px auto 0;border-radius:26px}.login-pixar-buddy span{font-size:2.4rem}.login-folk-intro{text-align:center!important}}

/* Home icon più visibile */
html[data-ui="user"] .participant-mini-nav{gap:9px!important}
html[data-ui="user"] .participant-home-link{min-width:48px;justify-content:center;font-size:1rem!important;font-weight:400!important}
html[data-ui="user"] .participant-home-link span{font-size:.92rem}
@media(max-width:430px){html[data-ui="user"] .participant-home-link{width:42px!important;height:42px!important;font-size:1.15rem!important}}
@media(max-width:620px){
}

/* Quadro giornata: card allineate e uniforme */
html[data-ui="user"] .score-grid{align-items:stretch!important}
html[data-ui="user"] .team-score-card{height:100%!important;display:flex!important;flex-direction:column!important}
html[data-ui="user"] .score-table-wrap{flex:1 1 auto!important}

/* Formazione desktop più FANTA6 */
@media(min-width:821px){
  .formation-selection-panel,.formation-summary-panel,.formation-plus-card{border-radius:28px!important;box-shadow:0 16px 32px rgba(17,49,87,.12)!important}
  .formation-selection-panel{background:linear-gradient(180deg,#ffffff 0%,#f4f9ff 100%)!important;border-color:#b6d8ff!important}
  .formation-panel-heading>strong{background:linear-gradient(135deg,#ffe27a,#ffb942)!important;color:#4b2b00!important;box-shadow:0 10px 18px rgba(255,180,66,.18)!important}
  .formation-slot{background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%)!important;border-width:2px!important}
  .formation-slot.role-p{background:linear-gradient(180deg,#f4fffb,#e6fff5)!important}
  .formation-slot.role-d{background:linear-gradient(180deg,#f5faff,#e9f3ff)!important}
  .formation-slot.role-c{background:linear-gradient(180deg,#fffaf3,#fff0d7)!important}
  .formation-slot.role-a{background:linear-gradient(180deg,#fff6f7,#ffe5ea)!important}
  .formation-summary-panel{background:linear-gradient(180deg,#0b2d69,#123f86)!important;color:#fff!important;border-color:#2b6fbc!important}
  .formation-summary-panel h2,.formation-summary-row strong,.formation-summary-row small{color:#fff!important}
}

/* Giocatori usati più colorata */
html[data-ui="user"] .used-section-shell{background:linear-gradient(180deg,#0c2d67 0%,#12478c 30%,#eef6ff 100%)!important;border-radius:28px;padding:16px!important}
html[data-ui="user"] .used-summary{background:linear-gradient(135deg,#ffdb6d,#ffb64d)!important;color:#4a2d00!important;border-color:#f5c15e!important;box-shadow:0 10px 22px rgba(186,120,18,.18)!important}
html[data-ui="user"] .used-summary strong{color:#5a2e00!important}
html[data-ui="user"] .used-summary span{color:#6b3d00!important}
html[data-ui="user"] .used-player-card{border-color:#ffd37a!important;background:linear-gradient(145deg,#fffdf4,#fff4d7)!important}
html[data-ui="user"] .used-player-meta>div{background:#fffaf0!important;border-color:#f0d694!important}

/* Premi: tre box totali */
html[data-ui="user"] .prize-public-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
html[data-ui="user"] .prize-public-total{margin:0!important}
html[data-ui="user"] .prize-public-total.costs{background:linear-gradient(135deg,#ffd9d9,#ffb3b3)!important;border-color:#ed9393!important;color:#6f1717!important}
html[data-ui="user"] .prize-public-total.net{background:linear-gradient(135deg,#ffe36f,#ffc83d)!important}
@media(max-width:620px){html[data-ui="user"] .prize-public-totals{grid-template-columns:1fr!important}}


/* MVP 0.8.95 · LOGIN E QUADRO GIORNATA RIFINITI */
/* Login */
body.login-view .container{max-width:1220px!important;padding-top:30px!important}
.login-folk-shell{align-items:stretch!important;grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr)!important;gap:26px!important}
.login-folk-intro,.login-card{min-height:100%!important}
.login-folk-intro{padding:34px 32px!important;border-radius:34px!important;background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.05))!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 36px rgba(0,0,0,.16)!important}
.login-card{padding:34px 32px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.login-pixar-buddy{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:150px!important;height:150px!important;margin:18px 0 4px!important;border-radius:38px!important;background:linear-gradient(145deg,#ffe87e 0%,#ffc64d 58%,#ff9a4a 100%)!important;box-shadow:0 20px 36px rgba(0,0,0,.22),inset 0 2px 0 rgba(255,255,255,.55)!important}
.login-buddy-head{position:relative;width:86px;height:86px;border-radius:30px;background:linear-gradient(180deg,#fffaf2,#ffe3a6);border:2px solid rgba(118,74,0,.18);box-shadow:0 8px 16px rgba(0,0,0,.12)}
.login-buddy-body{margin-top:-8px;width:62px;height:32px;border-radius:20px 20px 16px 16px;background:linear-gradient(180deg,#1aa1ff,#1458d1);box-shadow:0 6px 12px rgba(0,0,0,.16)}
.login-buddy-head .buddy-eye{position:absolute;top:32px;width:10px;height:14px;border-radius:999px;background:#1c2a3d}
.login-buddy-head .buddy-eye.left{left:24px}.login-buddy-head .buddy-eye.right{right:24px}
.login-buddy-head .buddy-smile{position:absolute;left:50%;bottom:20px;width:28px;height:14px;border:3px solid #a55d00;border-top:0;border-left-color:transparent;border-right-color:transparent;transform:translateX(-50%);border-radius:0 0 22px 22px}
@media(max-width:760px){body.login-view .container{padding-top:16px!important}.login-folk-shell{grid-template-columns:1fr!important;gap:18px!important}.login-folk-intro,.login-card{min-height:0!important}.login-folk-intro{padding:26px 20px!important;text-align:center!important}.login-pixar-buddy{width:116px!important;height:116px!important;margin:14px auto 0!important;border-radius:32px!important}.login-buddy-head{width:68px;height:68px;border-radius:22px}.login-buddy-head .buddy-eye{top:25px;width:8px;height:11px}.login-buddy-head .buddy-eye.left{left:19px}.login-buddy-head .buddy-eye.right{right:19px}.login-buddy-head .buddy-smile{bottom:15px;width:22px;height:10px;border-width:2px}.login-buddy-body{width:50px;height:24px}}

/* Quadro giornata: allineamento card */
html[data-ui="user"] .score-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:1fr!important;align-items:stretch!important;gap:16px!important}
html[data-ui="user"] .team-score-card{height:100%!important;display:flex!important;flex-direction:column!important}
html[data-ui="user"] .team-score-head{align-items:flex-start!important;min-height:92px!important}
html[data-ui="user"] .team-score-head h2{line-height:1.05!important}
html[data-ui="user"] .score-table-wrap{flex:1 1 auto!important}
html[data-ui="user"] .team-score-summary{margin-top:8px!important}
@media(max-width:760px){html[data-ui="user"] .score-grid{grid-template-columns:1fr!important;gap:12px!important}html[data-ui="user"] .team-score-head{min-height:0!important}}


/* MVP 0.8.95 · FIX LOGIN + ALLINEAMENTO QUADRO GIORNATA */
/* LOGIN: due riquadri davvero allineati */
body.login-view .container{max-width:1240px!important;padding-top:32px!important}
body.login-view .login-folk-shell{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(430px,.92fr)!important;align-items:stretch!important;gap:26px!important;max-width:1120px!important;margin:0 auto!important}
body.login-view .login-folk-shell>*{margin:0!important;align-self:stretch!important}
body.login-view .login-folk-intro{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;min-height:520px!important;padding:34px 34px 28px!important;text-align:left!important}
body.login-view .login-card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:520px!important;padding:34px 32px!important;margin-top:0!important}
body.login-view .login-pixar-buddy{margin:20px 0 10px!important;width:168px!important;height:168px!important;border-radius:42px!important}
body.login-view .login-buddy-head{width:96px!important;height:96px!important;border-radius:32px!important}
body.login-view .login-buddy-head .buddy-eye{top:35px!important;width:11px!important;height:15px!important}
body.login-view .login-buddy-head .buddy-eye.left{left:28px!important}
body.login-view .login-buddy-head .buddy-eye.right{right:28px!important}
body.login-view .login-buddy-head .buddy-smile{bottom:22px!important;width:30px!important;height:14px!important}
body.login-view .login-buddy-body{width:70px!important;height:36px!important;margin-top:-10px!important;border-radius:22px 22px 16px 16px!important}
body.login-view .login-folk-intro h2{max-width:22ch!important}
@media(max-width:760px){body.login-view .login-folk-shell{grid-template-columns:1fr!important;gap:18px!important}body.login-view .login-folk-intro,body.login-view .login-card{min-height:0!important}body.login-view .login-folk-intro{align-items:center!important;text-align:center!important;padding:24px 20px!important}body.login-view .login-card{padding:24px 20px!important}body.login-view .login-pixar-buddy{margin:14px auto 8px!important;width:124px!important;height:124px!important;border-radius:34px!important}body.login-view .login-buddy-head{width:72px!important;height:72px!important;border-radius:24px!important}body.login-view .login-buddy-head .buddy-eye{top:26px!important;width:8px!important;height:11px!important}body.login-view .login-buddy-head .buddy-eye.left{left:20px!important}body.login-view .login-buddy-head .buddy-eye.right{right:20px!important}body.login-view .login-buddy-head .buddy-smile{bottom:16px!important;width:22px!important;height:10px!important}body.login-view .login-buddy-body{width:52px!important;height:24px!important}}

/* QUADRO GIORNATA: uniforma davvero card e header, inclusi AC MILAN e AMAPAOLO */
html[data-ui="user"] .score-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:16px!important;align-items:stretch!important}
html[data-ui="user"] .score-grid>.team-score-card{height:100%!important;min-height:460px!important;display:flex!important;flex-direction:column!important}
html[data-ui="user"] .team-score-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:12px!important;min-height:108px!important;margin-bottom:12px!important}
html[data-ui="user"] .team-score-identity{align-items:flex-start!important;gap:12px!important;min-height:84px!important}
html[data-ui="user"] .team-score-identity>div{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:84px!important}
html[data-ui="user"] .team-score-identity h2{margin-top:2px!important;line-height:1.02!important}
html[data-ui="user"] .score-table-wrap{flex:1 1 auto!important}
html[data-ui="user"] .team-score-summary{margin-top:10px!important}
@media(max-width:760px){html[data-ui="user"] .score-grid{grid-template-columns:1fr!important;gap:12px!important}html[data-ui="user"] .score-grid>.team-score-card{min-height:0!important}html[data-ui="user"] .team-score-head{min-height:0!important}}


/* MVP 0.8.95 · LOGIN DAVVERO ALLINEATA + MASCOTTE PIXAR-LIKE + QUADRO GIORNATA FIX */
/* Il backdrop non deve occupare celle della grid */
.login-folk-shell{position:relative!important}
.login-folk-backdrop{position:absolute!important;inset:0!important;pointer-events:none!important;z-index:0!important}
.login-folk-intro,.login-card{position:relative!important;z-index:1!important}

/* Login desktop davvero a due colonne allineate */
body.login-view .container{max-width:1220px!important;padding-top:30px!important}
body.login-view .login-folk-shell{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(420px,.96fr)!important;gap:28px!important;align-items:stretch!important;min-height:auto!important;padding:40px 40px 34px!important}
body.login-view .login-folk-intro,body.login-view .login-card{margin:0!important;align-self:stretch!important;min-height:500px!important}
body.login-view .login-folk-intro{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;padding:28px 26px!important;border-radius:32px!important;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04))!important;border:1px solid rgba(255,255,255,.15)!important}
body.login-view .login-card{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:34px 30px!important}
body.login-view .login-pixar-buddy{display:flex!important;align-items:center!important;justify-content:center!important;width:190px!important;height:190px!important;margin:18px 0 8px!important;border-radius:42px!important;background:linear-gradient(145deg,#ffe57b 0%,#ffc13e 58%,#ff964a 100%)!important;box-shadow:0 22px 38px rgba(0,0,0,.24),inset 0 2px 0 rgba(255,255,255,.42)!important;overflow:hidden!important}
body.login-view .login-pixar-mascot{display:block!important;width:88%!important;height:88%!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 10px 14px rgba(0,0,0,.18))!important}
body.login-view .login-buddy-head,body.login-view .login-buddy-body{display:none!important}
body.login-view .login-tagline{margin-top:12px!important;max-width:14ch!important}
@media(max-width:760px){body.login-view .login-folk-shell{grid-template-columns:1fr!important;padding:24px 20px 26px!important}body.login-view .login-folk-intro,body.login-view .login-card{min-height:0!important}body.login-view .login-folk-intro{text-align:center!important;align-items:center!important;padding:22px 18px!important}body.login-view .login-card{padding:24px 20px!important}body.login-view .login-pixar-buddy{width:140px!important;height:140px!important;margin:12px auto 8px!important;border-radius:34px!important}body.login-view .login-tagline{max-width:none!important;text-align:center!important}}

/* Quadro giornata: header rigidamente uniforme */
html[data-ui="user"] .score-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
html[data-ui="user"] .score-grid>.team-score-card{display:flex!important;flex-direction:column!important;height:100%!important;min-height:468px!important}
html[data-ui="user"] .team-score-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;min-height:114px!important;padding-bottom:2px!important}
html[data-ui="user"] .team-score-identity{flex:1 1 auto!important;display:flex!important;align-items:flex-start!important;gap:12px!important;min-height:92px!important}
html[data-ui="user"] .team-score-identity>div{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:92px!important}
html[data-ui="user"] .team-score-identity h2{line-height:1.02!important;min-height:44px!important;display:flex!important;align-items:flex-start!important}
html[data-ui="user"] .team-score-summary{flex:0 0 auto!important;align-self:flex-start!important;min-width:92px!important;margin-top:0!important}
html[data-ui="user"] .score-table-wrap{flex:1 1 auto!important}
@media(max-width:760px){html[data-ui="user"] .score-grid{grid-template-columns:1fr!important;gap:12px!important}html[data-ui="user"] .score-grid>.team-score-card{min-height:0!important}html[data-ui="user"] .team-score-head,html[data-ui="user"] .team-score-identity,html[data-ui="user"] .team-score-identity>div{min-height:0!important}}


/* MVP 0.8.95 · TABELLINI / QUADRO GIORNATA HEADER FIX REALE */
html[data-ui="user"] .score-team-mascot{flex:0 0 84px!important;width:84px!important;height:84px!important;min-width:84px!important;min-height:84px!important;object-fit:contain!important;object-position:center bottom!important;border-radius:18px!important;padding:4px!important;background:linear-gradient(145deg,#fff2b3,#ffffff 52%,#dcecff)!important;border:1px solid #dbe7f5!important;box-shadow:0 8px 16px rgba(18,59,109,.12)!important}
html[data-ui="user"] .team-score-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:14px!important;min-height:116px!important;margin-bottom:12px!important}
html[data-ui="user"] .team-score-identity{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-height:96px!important}
html[data-ui="user"] .team-score-identity>div{display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:96px!important}
html[data-ui="user"] .team-score-identity h2{margin:.12rem 0 0!important;line-height:.98!important;font-size:2rem!important}
html[data-ui="user"] .team-score-card .ui-kicker{font-size:.78rem!important}
html[data-ui="user"] .team-total{min-width:110px!important;padding:12px 14px!important;align-self:start!important}
html[data-ui="user"] .team-total strong{font-size:1.9rem!important}
html[data-ui="user"] .score-grid>.team-score-card{min-height:486px!important}
@media(max-width:760px){html[data-ui="user"] .score-team-mascot{width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important}.team-score-head{grid-template-columns:1fr auto!important;min-height:0!important}.team-score-identity{grid-template-columns:70px minmax(0,1fr)!important;min-height:0!important}.team-score-identity>div{min-height:0!important}.team-score-identity h2{font-size:1.52rem!important}.team-total{min-width:90px!important;padding:10px 12px!important}.team-total strong{font-size:1.6rem!important}.score-grid>.team-score-card{min-height:0!important}}


/* MVP 0.8.95 · FIX CHIRURGICO AC MILAN + AMAPAOLO */
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"],
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"]{min-height:486px!important}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .team-score-head,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .team-score-head{display:grid!important;grid-template-columns:minmax(0,1fr) 110px!important;align-items:start!important;gap:14px!important;min-height:116px!important;margin-bottom:12px!important}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .team-score-identity,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .team-score-identity{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-height:96px!important}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .team-score-identity>div,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .team-score-identity>div{display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:96px!important;padding-top:0!important}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .team-score-identity h2,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .team-score-identity h2{display:flex!important;align-items:center!important;min-height:44px!important;line-height:.98!important;margin:.12rem 0 0!important}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .score-team-mascot,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .score-team-mascot{align-self:center!important;justify-self:center!important}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .team-total,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .team-total{min-width:110px!important;align-self:start!important;margin-top:0!important}
@media(max-width:760px){html[data-ui="user"] .team-score-card[data-team-name="AC Milan"],html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"]{min-height:0!important}}


/* MVP 0.8.95 · REGOLAMENTO UFFICIALE */
html[data-ui="user"] .rules-public-shell{display:grid;gap:16px}
html[data-ui="user"] .rules-public-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-radius:28px;background:linear-gradient(135deg,#071f50 0%,#0c5b9e 62%,#1188c9 100%);border:1px solid rgba(112,194,255,.35);box-shadow:0 18px 38px rgba(3,28,67,.24);color:#fff}
html[data-ui="user"] .rules-public-hero .ui-kicker{color:#ffe174!important}
html[data-ui="user"] .rules-public-hero h1{margin:.22rem 0 .25rem;font-family:var(--f6-display)!important;font-size:clamp(2rem,5vw,3rem);line-height:1;color:#fff}
html[data-ui="user"] .rules-public-hero p{margin:0;font-weight:750;color:#e9f5ff}
html[data-ui="user"] .rules-hero-emblem{display:grid;place-items:center;flex:0 0 88px;width:88px;height:88px;border-radius:26px;background:linear-gradient(145deg,#ffe887,#ffc640);box-shadow:0 12px 24px rgba(0,0,0,.20);font-size:2.4rem}
html[data-ui="user"] .rules-public-card{padding:18px;border-radius:26px;background:linear-gradient(180deg,#fff,#f6faff);border:1px solid #cfe1f4;box-shadow:0 14px 30px rgba(18,55,96,.10)}
html[data-ui="user"] .rules-public-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#fff7cf,#ffed9a);border:1px solid #efd16c}
html[data-ui="user"] .rules-public-actions>div{display:grid;gap:3px}
html[data-ui="user"] .rules-public-actions strong{font-family:var(--f6-display)!important;font-size:1.15rem;color:#5b3b00}
html[data-ui="user"] .rules-public-actions span{font-size:.88rem;color:#765f2c}
html[data-ui="user"] .rules-open-button{flex:0 0 auto;background:linear-gradient(135deg,#145ca9,#0a3d7a)!important;color:#fff!important;border-color:#84b7e8!important;white-space:nowrap}
html[data-ui="user"] .rules-pdf-frame-wrap{overflow:hidden;border-radius:18px;border:1px solid #cbd9ea;background:#e9eff6;box-shadow:inset 0 1px 0 #fff}
html[data-ui="user"] .rules-pdf-frame{display:block;width:100%;height:min(78vh,900px);min-height:620px;border:0;background:#fff}
html[data-ui="user"] .rules-public-note{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#0c3c75;color:#eaf5ff;font-size:.9rem;line-height:1.45}
@media(max-width:760px){html[data-ui="user"] .rules-public-hero{padding:18px;border-radius:22px}.rules-hero-emblem{flex-basis:64px!important;width:64px!important;height:64px!important;border-radius:19px!important;font-size:1.8rem!important}html[data-ui="user"] .rules-public-actions{display:grid;grid-template-columns:1fr;padding:13px}html[data-ui="user"] .rules-open-button{width:100%;text-align:center}html[data-ui="user"] .rules-pdf-frame{height:72vh;min-height:520px}}

/* ==========================================================
   MVP 0.8.96 · CHECKLIST FINALE
   Audit leggibilità, allineamenti, mascotte e sola lettura.
   ========================================================== */

/* 0.8.96 · MASCOTTE UNIFORMI
   Gli asset ufficiali hanno canvas normalizzato: contain evita crop diversi
   e mantiene la stessa scala visiva in tutte le sezioni partecipante. */
html[data-ui="user"] .user-home-mascot-official img,
html[data-ui="user"] .section-mascot,
html[data-ui="user"] .formation-hero-mascot img,
html[data-ui="user"] .team-mascot-inline,
html[data-ui="user"] .f6-ranking-mascot,
html[data-ui="user"] .score-team-mascot{
  object-fit:contain!important;
  object-position:center bottom!important;
}
html[data-ui="user"] .user-home-mascot-official img,
html[data-ui="user"] .formation-hero-mascot img{
  padding:3px!important;
}
html[data-ui="user"] .section-mascot{
  padding:3px!important;
  background:rgba(255,255,255,.13)!important;
}

/* 0.8.96 · MICROTESTI LEGGIBILI
   Nessuna informazione importante deve dipendere da caratteri microscopici. */
html[data-ui="user"] .participant-mini-nav a{font-size:.82rem!important}
html[data-ui="user"] .user-kicker,
html[data-ui="user"] .formation-command .ui-kicker{font-size:.76rem!important}
html[data-ui="user"] .user-home-mascot-official figcaption{font-size:.74rem!important;line-height:1.12!important}
html[data-ui="user"] .home-quick-card small{font-size:.80rem!important;line-height:1.28!important}
html[data-ui="user"] .home-folklore-strip{font-size:.86rem!important;line-height:1.35!important}
html[data-ui="user"] .qualification-zone strong{font-size:.82rem!important}
html[data-ui="user"] .qualification-zone span{font-size:.74rem!important;line-height:1.18!important}
html[data-ui="user"] .used-player-meta span{font-size:.76rem!important}
html[data-ui="user"] .score-player-club{font-size:.74rem!important;line-height:1.2!important}
html[data-ui="user"] .score-plus-badge,
html[data-ui="user"] .score-burned-badge{font-size:.72rem!important;line-height:1.12!important}
html[data-ui="user"] .formation-slot-head small,
html[data-ui="user"] .formation-select-label>span,
html[data-ui="user"] .formation-plus-card label>span{font-size:14px!important;line-height:1.35!important}
html[data-ui="user"] .formation-slot-preview span,
html[data-ui="user"] .formation-summary-row small{font-size:.72rem!important;line-height:1.2!important}
html[data-ui="user"] .formation-summary-row strong{font-size:.80rem!important}
html[data-ui="user"] .formation-deadline-chip{font-size:.76rem!important}
html[data-ui="user"] .prize-public-total span{font-size:12px!important;line-height:1.3!important}

/* 0.8.96 · ALLINEAMENTI FINALI
   Tutte le card di una stessa griglia condividono geometria e spaziature. */
html[data-ui="user"] .home-shortcuts{align-items:stretch!important}
html[data-ui="user"] .home-quick-card{height:100%!important;align-content:center!important}
html[data-ui="user"] .score-grid{align-items:stretch!important}
html[data-ui="user"] .score-grid>.team-score-card{height:100%!important}
html[data-ui="user"] .team-score-head{
  grid-template-columns:minmax(0,1fr) 110px!important;
  min-height:116px!important;
}
html[data-ui="user"] .team-score-identity{
  grid-template-columns:84px minmax(0,1fr)!important;
  min-height:96px!important;
}
html[data-ui="user"] .team-score-identity h2{
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  overflow-wrap:anywhere!important;
  text-wrap:balance;
}
html[data-ui="user"] .team-total{width:110px!important;min-width:110px!important;box-sizing:border-box!important}

/* 0.8.96 · Regolamento ufficiale: consultazione protetta in SOLA LETTURA. */
html[data-ui="user"] .rules-readonly-banner{margin-bottom:16px!important}
html[data-ui="user"] .rules-readonly-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:42px;
  padding:9px 14px;
  border-radius:999px;
  background:#0d5d3e;
  color:#fff;
  border:1px solid #68bd94;
  font-family:var(--f6-display)!important;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.06em;
  white-space:nowrap;
}
html[data-ui="user"] .rules-pages{
  display:grid;
  gap:18px;
  padding:16px;
  border-radius:20px;
  background:linear-gradient(180deg,#dfe8f3,#edf3f9);
  border:1px solid #c5d4e4;
}
html[data-ui="user"] .rules-page{
  position:relative;
  margin:0 auto;
  width:min(100%,980px);
  overflow:hidden;
  border-radius:10px;
  background:#fff;
  box-shadow:0 10px 28px rgba(13,47,84,.16);
  border:1px solid #c9d5e3;
  user-select:none;
  -webkit-user-select:none;
}
html[data-ui="user"] .rules-page img{
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
html[data-ui="user"] .rules-page-label{
  position:absolute;
  right:10px;
  top:10px;
  z-index:2;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(7,31,80,.88);
  color:#fff;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 3px 9px rgba(0,0,0,.16);
}
.rules-print-blocked{display:none}

/* Anche la vista premi del partecipante non produce un documento ufficiale via stampa.
   L'ADMIN mantiene gli strumenti nella pagina /admin/prizes. */
@media print{
  html[data-ui="user"] .rules-readonly-viewer,
  html[data-ui="user"] .prize-public-shell,
  html[data-ui="user"] .topbar{display:none!important}
  html[data-ui="user"] .rules-print-blocked{
    display:block!important;
    margin:40px!important;
    padding:24px!important;
    border:2px solid #123b6d!important;
    color:#123b6d!important;
    font:700 16pt/1.35 Arial,sans-serif!important;
    text-align:center!important;
  }
}

@media(max-width:760px){
  html[data-ui="user"] .rules-readonly-banner{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  html[data-ui="user"] .rules-readonly-badge{width:max-content!important;max-width:100%!important}
  html[data-ui="user"] .rules-pages{padding:9px!important;gap:12px!important;border-radius:15px!important}
  html[data-ui="user"] .rules-page{border-radius:7px!important}
  html[data-ui="user"] .rules-page-label{font-size:.72rem!important;right:7px!important;top:7px!important}
  html[data-ui="user"] .team-score-head{grid-template-columns:minmax(0,1fr) 90px!important;min-height:0!important}
  html[data-ui="user"] .team-score-identity{grid-template-columns:70px minmax(0,1fr)!important;min-height:0!important}
  html[data-ui="user"] .team-total{width:90px!important;min-width:90px!important}
}

@media(max-width:390px){
  html[data-ui="user"] .home-quick-card small{font-size:.78rem!important}
  html[data-ui="user"] .qualification-zone span{font-size:.74rem!important}
  html[data-ui="user"] .user-home-mascot-official figcaption{font-size:.74rem!important}
}

/* 0.8.96 · AUDIT MICROTESTI CRITICI
   Ultimo passaggio: badge e didascalie informative non scendono sotto ~12px. */
html[data-ui="user"] .team-total span,
html[data-ui="user"] .home-kpis span,
html[data-ui="user"] .f6-zone-legend>span,
html[data-ui="user"] .score-role-badge,
html[data-ui="user"] .formation-role-badge,
html[data-ui="user"] .formation-summary-plus span,
html[data-ui="user"] .user-home-mark span{
  font-size:.74rem!important;
  line-height:1.18!important;
}
@media(max-width:390px){
  html[data-ui="user"] .team-total span,
  html[data-ui="user"] .home-kpis span,
  html[data-ui="user"] .f6-zone-legend>span,
  html[data-ui="user"] .score-role-badge,
  html[data-ui="user"] .formation-role-badge,
  html[data-ui="user"] .formation-summary-plus span,
  html[data-ui="user"] .user-home-mark span{font-size:.74rem!important}
}

/* 0.8.97 · ADMIN & ACCOUNT FINALIZATION
   ADMIN volutamente freddo, compatto e orientato all'operativita. */
html[data-ui="admin"] .container{max-width:1280px}
html[data-ui="admin"] .admin-brand{white-space:nowrap}
html[data-ui="admin"] .admin-top-nav{gap:6px;align-items:center}
html[data-ui="admin"] .admin-top-nav a{
  padding:7px 9px;
  border-radius:7px;
  color:#536174;
  font-size:.86rem;
  font-weight:750;
  border:1px solid transparent;
}
html[data-ui="admin"] .admin-top-nav a:hover{
  background:#f1f4f8;
  border-color:#d8e0ea;
  color:#172033;
}
html[data-ui="admin"] .admin-section-nav{
  position:sticky;
  top:68px;
  z-index:5;
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:14px 0 18px;
  padding:9px;
  border:1px solid #d6dde7;
  border-radius:10px;
  background:rgba(248,250,252,.97);
  box-shadow:0 3px 10px rgba(31,47,70,.05);
}
html[data-ui="admin"] .admin-section-nav a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 10px;
  border:1px solid #d6dde7;
  border-radius:7px;
  background:#fff;
  color:#334155;
  text-decoration:none;
  font-size:.82rem;
  font-weight:800;
}
html[data-ui="admin"] .admin-section-nav a:hover{background:#eaf0f7;border-color:#b9c6d6}
html[data-ui="admin"] #setup-create,
html[data-ui="admin"] #squadre,
html[data-ui="admin"] #gironi-finali,
html[data-ui="admin"] #account,
html[data-ui="admin"] #club,
html[data-ui="admin"] #giocatori,
html[data-ui="admin"] #giornate,
html[data-ui="admin"] #api-wizard,
html[data-ui="admin"] #api-connection,
html[data-ui="admin"] #api-teams,
html[data-ui="admin"] #api-fixtures,
html[data-ui="admin"] #api-sync,
html[data-ui="admin"] #selected-players,
html[data-ui="admin"] #team-mapping,
html[data-ui="admin"] #assist-review,
html[data-ui="admin"] #assist-protected,
html[data-ui="admin"] #api-calls,
html[data-ui="admin"] #scoring-load,
html[data-ui="admin"] .matchcard{scroll-margin-top:132px}
html[data-ui="admin"] .admin-toolbox{margin:16px 0;background:#f8fafc;border-color:#cfd8e5}
html[data-ui="admin"] .admin-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
html[data-ui="admin"] .admin-section-heading h2{margin:0 0 4px}
html[data-ui="admin"] .admin-section-heading p{margin:0}
html[data-ui="admin"] .admin-kpi-chip{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;
  border-radius:999px;background:#e9eef5;border:1px solid #cbd5e1;color:#334155;font-weight:850;font-size:.8rem
}
html[data-ui="admin"] .admin-filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px}
html[data-ui="admin"] .admin-filter-row input[type="search"]{flex:1 1 260px;min-width:220px;width:auto}
html[data-ui="admin"] .admin-filter-row .smallbtn{min-height:38px}
html[data-ui="admin"] .admin-filter-row .is-active{box-shadow:inset 0 0 0 2px rgba(47,127,229,.22)}
html[data-ui="admin"] .admin-match-jumps{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;max-height:145px;overflow:auto;padding-right:4px}
html[data-ui="admin"] .admin-match-jump{
  display:inline-flex;align-items:center;padding:6px 8px;border-radius:7px;border:1px solid #d4dce7;background:#fff;text-decoration:none;font-size:.78rem;font-weight:750;color:#334155
}
html[data-ui="admin"] .admin-match-jump.is-pending{border-left:3px solid #d28a00}
html[data-ui="admin"] .admin-match-jump.is-complete{border-left:3px solid #23835a}
html[data-ui="admin"] .matchcard[hidden],html[data-ui="admin"] .admin-team-card[hidden]{display:none!important}
html[data-ui="admin"] .matchcard details>summary{padding:3px 0}
html[data-ui="admin"] .admin-status-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;font-size:12px;font-weight:900;letter-spacing:.02em;border:1px solid}
html[data-ui="admin"] .admin-status-badge.ok{background:#edf8f2;border-color:#9bcdb0;color:#17663b}
html[data-ui="admin"] .admin-status-badge.warn{background:#fff7df;border-color:#e2c472;color:#805e00}
html[data-ui="admin"] .admin-status-badge.off{background:#f0f2f5;border-color:#cbd2db;color:#657184}
html[data-ui="admin"] .account-missing-row td{background:#fffaf0}
html[data-ui="admin"] .account-create-inline input{min-width:150px}
html[data-ui="admin"] .admin-row-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
html[data-ui="admin"] .admin-row-actions form{margin:0}
html[data-ui="admin"] .admin-account-table td{vertical-align:middle}
html[data-ui="admin"] .admin-credential-shell{max-width:760px;margin:0 auto}
html[data-ui="admin"] .admin-credential-card code.credential-password{display:inline-block;font-size:1.12rem;padding:7px 10px;letter-spacing:.06em;background:#eef2f7}
html[data-ui="admin"] .admin-credential-card textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#f8fafc}

/* Account partecipante: essenziale, senza toccare il layout login approvato. */
html[data-ui="user"] .account-shell{max-width:760px;margin:0 auto}
html[data-ui="user"] .account-hero{margin-bottom:16px;padding:18px 20px;border-radius:20px;background:linear-gradient(135deg,#f7fbff,#eef5ff);border:1px solid #cfdef0}
html[data-ui="user"] .account-hero h1{margin:.2rem 0 .1rem}
html[data-ui="user"] .account-hero p{margin:0;color:#5b6d82;font-weight:750}
html[data-ui="user"] .account-security-card{max-width:680px;margin:0 auto}
.account-recovery-shell{display:flex!important;justify-content:center!important;align-items:center!important;grid-template-columns:1fr!important;min-height:70vh!important}
.account-recovery-card{width:min(100%,620px)!important;min-height:0!important;margin:0 auto!important}
.login-helper a{font-weight:800;text-decoration:underline;text-underline-offset:2px}

@media(max-width:900px){
  html[data-ui="admin"] .topbar{position:relative}
  html[data-ui="admin"] .admin-section-nav{top:8px}
  html[data-ui="admin"] .admin-top-nav{width:100%}
  html[data-ui="admin"] .admin-top-nav a{font-size:.8rem;padding:6px 8px}
}
@media(max-width:760px){
  html[data-ui="admin"] .admin-section-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  html[data-ui="admin"] .admin-section-nav a{justify-content:center;text-align:center}
  html[data-ui="admin"] .admin-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-ui="admin"] .admin-filter-row input[type="search"]{grid-column:1/-1;min-width:0;width:100%}
  html[data-ui="admin"] .admin-match-jumps{max-height:180px}
  html[data-ui="admin"] .admin-account-table{min-width:760px}
}
html[data-ui="admin"] #validation-next,
html[data-ui="admin"] #validation-checks,
html[data-ui="admin"] #validation-compare,
html[data-ui="admin"] #validation-teams{scroll-margin-top:132px}

/* MVP 0.9.00 · ACCOUNT INVITES — ADMIN freddo, compatto, operativo */
.admin-account-kpis{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px}
.admin-account-kpis span{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid #d7dee8;border-radius:8px;background:#f6f8fb;color:#334155;font-size:.86rem;font-weight:800}
.admin-account-bulk-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0 16px}
.admin-account-bulk-actions form{margin:0}
.admin-account-bulk-actions button{min-height:40px}
.admin-account-table td{vertical-align:top}
.admin-account-table code{font-size:.9rem;font-weight:800;white-space:normal}
.account-contact-summary{margin-top:7px;color:#64748b;font-size:.78rem;line-height:1.45;word-break:break-word}
.admin-account-contact-details{margin-top:8px;max-width:290px}
.admin-account-contact-details summary{cursor:pointer;color:#334155;font-size:.78rem;font-weight:800}
.admin-account-contact-details .compact{margin-top:8px;gap:7px}
.admin-account-contact-details label{font-size:.75rem}
.admin-account-contact-details input{min-height:34px;padding:7px 9px;font-size:.82rem}
.admin-status-badge.info{background:#e8f0fb;border-color:#bfd0ea;color:#254f7d}
.admin-row-actions{align-items:flex-start}
.admin-row-actions .ghost{background:#f8fafc!important;color:#475569!important;border:1px solid #d7dee8!important;box-shadow:none!important}
.admin-invite-actions{align-items:center;gap:8px;flex-wrap:wrap}
.admin-invite-actions form{margin:0}
.admin-bulk-invite-shell{max-width:1500px;margin:0 auto}
.bulk-invite-link{min-width:330px;max-width:520px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.77rem}
.invite-hidden-message{position:absolute!important;left:-99999px!important}
.admin-credential-card #invite-link{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.82rem}
.account-recovery-card{max-width:560px}
@media(max-width:900px){
  .admin-account-bulk-actions{display:grid;grid-template-columns:1fr}
  .admin-account-bulk-actions form,.admin-account-bulk-actions button{width:100%}
  .bulk-invite-link{min-width:260px;width:100%}
}


/* MVP 0.9.00 · ACCOUNT INVITES LAYOUT PIU ORDINATO */
.admin-bulk-invite-shell table{table-layout:auto;width:100%}
.invite-actions-inline{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.invite-actions-inline form{margin:0!important;flex:0 0 auto!important}
.invite-actions-inline .smallbtn,.invite-actions-inline .button{flex:0 0 auto!important;padding:7px 9px!important;font-size:.78rem!important;min-height:34px!important}
.admin-bulk-invite-shell th:last-child,.admin-bulk-invite-shell td:last-child{min-width:280px!important;width:280px!important}
.admin-bulk-invite-shell .table-scroll{overflow-x:auto!important}
.admin-bulk-invite-shell .bulk-invite-link{min-width:300px!important;max-width:460px!important}
@media(max-width:1100px){.admin-bulk-invite-shell th:last-child,.admin-bulk-invite-shell td:last-child{min-width:250px!important;width:250px!important}.invite-actions-inline .smallbtn,.invite-actions-inline .button{font-size:.74rem!important;padding:7px 8px!important}}


/* MVP 0.9.01 · PASSWORD VISIBILITY TOGGLE */
.password-field-wrap{
  position:relative;
  display:block;
  width:100%;
}
.password-field-wrap > input{
  width:100%!important;
  box-sizing:border-box!important;
  padding-right:48px!important;
}
.password-visibility-toggle{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:3!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:18px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible{
  background:rgba(15,23,42,.08)!important;
  outline:2px solid rgba(37,99,235,.38)!important;
  outline-offset:1px!important;
}
body.login-view .password-visibility-toggle{
  background:rgba(255,255,255,.72)!important;
}
body.login-view .password-visibility-toggle:hover,
body.login-view .password-visibility-toggle:focus-visible{
  background:#fff!important;
}

/* MVP 0.9.02 · BRAND HOTFIX RAILWAY
   Il logo partecipante è renderizzato nativamente: nessun asset /assets/brand richiesto. */
@media (max-width:560px){
  html[data-ui="user"] .participant-brand-logo{width:min(210px,58vw)}
  html[data-ui="user"] .participant-brand-main{font-size:clamp(21px,7vw,31px)}
  html[data-ui="user"] .participant-brand-sub{margin-left:27px;letter-spacing:1px;font-size:8px}
}

/* ==========================================================
   FANTA6 0.9.04 · QUADRO GIORNATA — GEOMETRIA DEFINITIVA
   Le sei righe giocatore hanno la stessa altezza su tutte le card.
   Evita disallineamenti tra AC Milan / Amapaolo e in generale tra
   squadre con nomi giocatore/club di lunghezza diversa.
   ========================================================== */
html[data-ui="user"] .score-table-wrap table{
  width:100%!important;
  table-layout:fixed!important;
}
html[data-ui="user"] .score-table-wrap th:first-child,
html[data-ui="user"] .score-table-wrap td:first-child{width:52px!important}
html[data-ui="user"] .score-table-wrap th:last-child,
html[data-ui="user"] .score-table-wrap td:last-child{width:112px!important}
html[data-ui="user"] .score-table-wrap .score-player-row{height:78px!important}
html[data-ui="user"] .score-table-wrap .score-player-row>td{
  height:78px!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
html[data-ui="user"] .score-player-cell{overflow:hidden!important}
html[data-ui="user"] .score-player-main{min-height:28px!important;align-content:center!important}
html[data-ui="user"] .score-player-name{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
}
html[data-ui="user"] .score-player-club{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .score-player-row,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .score-player-row,
html[data-ui="user"] .team-score-card[data-team-name="AC Milan"] .score-player-row>td,
html[data-ui="user"] .team-score-card[data-team-name="Amapaolo"] .score-player-row>td{
  height:78px!important;
}
@media(max-width:620px){
  html[data-ui="user"] .score-table-wrap .score-player-row,
  html[data-ui="user"] .score-table-wrap .score-player-row>td{height:72px!important}
  html[data-ui="user"] .score-table-wrap th:first-child,
  html[data-ui="user"] .score-table-wrap td:first-child{width:46px!important}
  html[data-ui="user"] .score-table-wrap th:last-child,
  html[data-ui="user"] .score-table-wrap td:last-child{width:92px!important}
}

/* ==========================================================
   FANTA6 0.9.05 · QUADRO GIORNATA — ALLINEAMENTO GRID
   Neutralizza la regola generica section.card + section.card che
   aggiungeva 18px di margin-top alla seconda card della griglia.
   In una CSS Grid il gap è già gestito da .score-grid.
   ========================================================== */
html[data-ui="user"] .score-grid > .team-score-card{
  margin-top:0!important;
}

/* MVP 0.9.06 · LOGIN PIXAR APPROVATO
   Asset ufficiale: bimbo-calcio + coppa. Form reale separato dall'illustrazione. */
body.login-view{
  background:
    radial-gradient(circle at 14% 8%,rgba(38,135,255,.20),transparent 26rem),
    linear-gradient(180deg,#061330 0%,#081f48 100%)!important;
}
body.login-view .login-folk-shell.login-pixar-approved{
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr)!important;
  gap:26px!important;
  align-items:stretch!important;
  min-height:min(760px,calc(100vh - 34px))!important;
  padding:22px!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 83% 12%,rgba(255,196,37,.14),transparent 22rem),
    linear-gradient(145deg,#06295c 0%,#041937 58%,#082b57 100%)!important;
  border:1px solid rgba(62,199,255,.38)!important;
}
body.login-view .login-folk-shell.login-pixar-approved:before{opacity:.18!important}
body.login-view .login-pixar-scene-wrap{
  padding:0!important;
  margin:0!important;
  min-height:680px!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:#08224b!important;
  box-shadow:0 20px 45px rgba(0,0,0,.28)!important;
}
body.login-view .login-pixar-scene{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:680px!important;
  object-fit:cover!important;
  object-position:center 15%!important;
}
body.login-view .login-pixar-card{
  margin:0!important;
  align-self:stretch!important;
  min-height:680px!important;
  padding:34px 34px 30px!important;
  border-radius:30px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 86% 4%,rgba(67,169,255,.20),transparent 14rem),
    linear-gradient(180deg,#063b73 0%,#042955 56%,#032347 100%)!important;
  border:1px solid rgba(57,205,255,.72)!important;
  box-shadow:0 22px 48px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
body.login-view .login-pixar-brand{
  display:block!important;
  width:min(100%,520px)!important;
  max-height:245px!important;
  object-fit:cover!important;
  object-position:center top!important;
  margin:0 auto 4px!important;
  border-radius:20px!important;
}
body.login-view .login-raia-title{
  margin:8px 0 0!important;
  text-align:center!important;
  color:#ffc62f!important;
  font-family:var(--f6-script,"Caveat",cursive)!important;
  font-size:clamp(2.45rem,4.6vw,3.85rem)!important;
  font-weight:800!important;
  line-height:.95!important;
  transform:rotate(-1deg)!important;
  text-shadow:0 5px 14px rgba(0,0,0,.28)!important;
}
body.login-view .login-raia-subtitle{
  margin:6px 0 24px!important;
  text-align:center!important;
  color:#fff!important;
  font-family:var(--f6-script,"Caveat",cursive)!important;
  font-size:clamp(1.42rem,2.5vw,2rem)!important;
  font-weight:700!important;
  line-height:1.05!important;
}
body.login-view .login-pixar-form{gap:17px!important}
body.login-view .login-pixar-card label{
  color:#ddebff!important;
  font-weight:700!important;
  font-size:.93rem!important;
}
body.login-view .login-pixar-card input{
  min-height:58px!important;
  padding:16px 18px!important;
  border-radius:17px!important;
  background:#f7faff!important;
  border:1px solid rgba(255,255,255,.92)!important;
  color:#10295a!important;
  font-size:1.08rem!important;
  box-shadow:inset 0 1px 1px rgba(16,41,90,.07)!important;
}
body.login-view .login-pixar-card input::placeholder{color:#7a88a5!important;opacity:1!important}
body.login-view .login-pixar-card button:not(.password-visibility-toggle){
  min-height:62px!important;
  margin-top:3px!important;
  border-radius:18px!important;
  color:#082657!important;
  background:linear-gradient(180deg,#ffd34b 0%,#f7b817 100%)!important;
  border:1px solid #ffe47d!important;
  box-shadow:0 13px 27px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.50)!important;
  font-size:1.35rem!important;
  font-weight:400!important;
}
body.login-view .login-pixar-card button:not(.password-visibility-toggle):hover{filter:brightness(1.035)!important;transform:translateY(-1px)!important}
body.login-view .login-helper{color:#d7e7ff!important;margin-top:18px!important}
body.login-view .login-helper a{color:#fff!important;text-decoration:underline!important;text-underline-offset:3px!important}
body.login-view .login-pixar-card .password-visibility-toggle{
  color:#173b70!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.login-view .login-pixar-card .login-error{margin:0 0 16px!important}

@media(max-width:900px){
  body.login-view .login-folk-shell.login-pixar-approved{
    grid-template-columns:1fr!important;
    min-height:auto!important;
    padding:14px!important;
    gap:14px!important;
  }
  body.login-view .login-pixar-scene-wrap{min-height:390px!important;max-height:48vh!important}
  body.login-view .login-pixar-scene{min-height:390px!important;max-height:48vh!important;object-position:center 18%!important}
  body.login-view .login-pixar-card{min-height:auto!important;padding:26px 22px 24px!important}
  body.login-view .login-pixar-brand{width:min(100%,430px)!important;max-height:185px!important}
  body.login-view .login-raia-title{font-size:clamp(2.35rem,9vw,3.35rem)!important}
  body.login-view .login-raia-subtitle{font-size:clamp(1.35rem,5vw,1.8rem)!important;margin-bottom:20px!important}
}
@media(max-width:520px){
  body.login-view .login-pixar-scene-wrap{min-height:315px!important;max-height:38vh!important}
  body.login-view .login-pixar-scene{min-height:315px!important;max-height:38vh!important;object-position:center 16%!important}
  body.login-view .login-pixar-card{padding:22px 17px 21px!important;border-radius:24px!important}
  body.login-view .login-pixar-brand{max-height:145px!important;border-radius:16px!important}
  body.login-view .login-raia-title{margin-top:4px!important}
  body.login-view .login-pixar-card input{min-height:54px!important}
  body.login-view .login-pixar-card button:not(.password-visibility-toggle){min-height:58px!important}
}

/* 0.9.06b · LOGIN RESPONSIVE DEFINITIVO
   Desktop: scena completa + form allineato. Mobile: solo form. */
@media (min-width:901px){
  body.login-view .container{
    max-width:1480px!important;
    padding:18px 22px!important;
  }
  body.login-view .login-folk-shell.login-pixar-approved{
    display:grid!important;
    grid-template-columns:minmax(0,1.12fr) minmax(455px,.88fr)!important;
    gap:0!important;
    width:min(100%,1440px)!important;
    height:min(740px,calc(100vh - 54px))!important;
    min-height:620px!important;
    padding:0!important;
    border-radius:30px!important;
    overflow:hidden!important;
    background:#062653!important;
  }
  body.login-view .login-pixar-scene-wrap,
  body.login-view .login-pixar-card{
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    border-radius:0!important;
  }
  body.login-view .login-pixar-scene-wrap{
    display:block!important;
    padding:0!important;
    overflow:hidden!important;
    border-right:1px solid rgba(69,199,255,.42)!important;
  }
  body.login-view .login-pixar-scene{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 43%!important;
  }
  body.login-view .login-pixar-card{
    display:flex!important;
    justify-content:center!important;
    padding:34px 38px!important;
  }
  body.login-view .login-pixar-brand{
    width:min(100%,555px)!important;
    height:auto!important;
    max-height:175px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto 6px!important;
    border-radius:0!important;
  }
  body.login-view .login-raia-title{
    margin:4px 0 0!important;
    font-size:clamp(2.7rem,3.7vw,4rem)!important;
  }
  body.login-view .login-raia-subtitle{
    margin:7px 0 26px!important;
    font-size:clamp(1.45rem,2vw,2.05rem)!important;
  }
}

@media (max-width:900px){
  body.login-view{
    min-height:100vh!important;
    background:linear-gradient(180deg,#061a3c 0%,#07366d 100%)!important;
  }
  body.login-view .container{
    max-width:590px!important;
    padding:14px 12px 22px!important;
  }
  body.login-view .login-folk-shell.login-pixar-approved{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    padding:0!important;
    border-radius:28px!important;
    overflow:hidden!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  body.login-view .login-pixar-scene-wrap{
    display:none!important;
  }
  body.login-view .login-pixar-card{
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:28px 24px 26px!important;
    border-radius:28px!important;
  }
  body.login-view .login-pixar-brand{
    width:min(100%,500px)!important;
    height:auto!important;
    max-height:160px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto 4px!important;
    border-radius:0!important;
  }
  body.login-view .login-raia-title{
    margin:4px 0 0!important;
    font-size:clamp(2.65rem,11vw,3.65rem)!important;
  }
  body.login-view .login-raia-subtitle{
    margin:6px 0 24px!important;
    font-size:clamp(1.35rem,5.7vw,1.85rem)!important;
  }
}

@media (max-width:520px){
  body.login-view .container{padding:8px 8px 16px!important}
  body.login-view .login-pixar-card{padding:22px 17px 21px!important;border-radius:23px!important}
  body.login-view .login-pixar-brand{max-height:132px!important}
  body.login-view .login-raia-title{font-size:clamp(2.35rem,12vw,3.15rem)!important}
  body.login-view .login-raia-subtitle{font-size:clamp(1.22rem,6vw,1.62rem)!important;margin-bottom:20px!important}
}

/* ============================================================
   FANTA6 0.9.07 · COMUNICATI UFFICIALI
   ============================================================ */
.official-notices-shell,.admin-notices-shell{display:grid;gap:22px}
.official-notices-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:26px 28px;border-radius:26px;background:linear-gradient(135deg,#06265a 0%,#0a4e97 58%,#061a3c 100%);color:#fff;border:1px solid rgba(111,198,255,.42);box-shadow:0 18px 45px rgba(1,18,47,.28);overflow:hidden;position:relative}
.official-notices-hero:after{content:"";position:absolute;right:-55px;top:-80px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(255,207,64,.24),rgba(255,207,64,0) 68%);pointer-events:none}
.official-notices-hero h1{margin:3px 0 6px;font-size:clamp(2rem,4vw,3.4rem);line-height:1}
.official-notices-hero p{margin:0;max-width:760px;color:#dcecff;font-weight:700}
.official-notices-hero .ui-kicker{color:#ffd64b}
.official-notices-seal{position:relative;z-index:1;min-width:110px;height:110px;border-radius:30px;display:grid;place-items:center;text-align:center;font-size:2.15rem;line-height:.8;font-weight:1000;color:#08295c;background:linear-gradient(145deg,#fff1a6,#f7bd1d 55%,#cc8500);border:4px solid rgba(255,255,255,.72);box-shadow:inset 0 2px 10px rgba(255,255,255,.8),0 10px 24px rgba(0,0,0,.24);transform:rotate(3deg)}
.official-notices-seal small{display:block;font-size:.58rem;letter-spacing:.12em;margin-top:8px}
.official-notices-list,.admin-notice-list{display:grid;gap:18px}
.official-notice-card{position:relative;border-radius:22px;padding:22px 24px 18px;background:linear-gradient(180deg,#fff,#f4f8ff);border:1px solid #d8e4f4;box-shadow:0 12px 28px rgba(13,47,91,.10);overflow:hidden}
.official-notice-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:#2e7dd3}
.official-notice-card.tone-penalty:before{background:#d44d4d}.official-notice-card.tone-deadline:before{background:#f0a400}.official-notice-card.tone-clarification:before{background:#5b67d9}.official-notice-card.tone-result:before{background:#1c9a68}.official-notice-card.is-featured{border-color:#e7b31d;box-shadow:0 14px 36px rgba(193,140,0,.18)}
.official-notice-topline{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.official-notice-category,.official-notice-featured,.official-notice-status{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;font-size:.76rem;font-weight:1000;letter-spacing:.05em}
.official-notice-category{background:#e8f2ff;color:#07519d}.official-notice-featured{background:#fff1b9;color:#805c00}.official-notice-status{margin-left:auto;background:#edf1f7;color:#53647b}.official-notice-status.status-published{background:#dff7e9;color:#12683f}.official-notice-status.status-archived{background:#ececec;color:#555}
.official-notice-card h2{margin:4px 0 12px;font-size:clamp(1.45rem,2.6vw,2.1rem);line-height:1.12;color:#092b5d}
.official-notice-body{font-size:1.04rem;line-height:1.58;color:#263e5e;white-space:normal}
.official-notice-card footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:13px;border-top:1px solid #dfe7f2;color:#6c7e96;font-size:.78rem;font-weight:800;letter-spacing:.03em}
.official-notice-empty{text-align:center;padding:40px 24px}
.admin-notice-create textarea,.admin-notice-edit textarea{resize:vertical;min-height:160px}
.admin-notice-options,.admin-notice-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.checkbox-row{display:flex!important;align-items:center;gap:8px;font-weight:800}.checkbox-row input{width:auto!important;margin:0!important}
.admin-notice-editor{display:grid;gap:14px}.admin-notice-editor>.official-notice-card{margin:0}
.admin-notice-actions form{margin:0}.admin-notice-actions .button,.admin-notice-actions button{min-height:42px}
.admin-notice-edit{border-top:1px solid #e0e7f0;padding-top:12px}.admin-notice-edit summary{cursor:pointer;font-weight:900;color:#0a4e97}
.admin-notice-edit[open] summary{margin-bottom:14px}
@media(max-width:760px){
  .official-notices-hero{padding:20px;border-radius:22px;align-items:flex-start}.official-notices-seal{min-width:78px;height:78px;border-radius:22px;font-size:1.55rem}.official-notices-hero p{font-size:.92rem}
  .official-notice-card{padding:18px 18px 16px}.official-notice-status{margin-left:0}.official-notice-card footer{display:grid;gap:4px}.admin-notice-actions{display:grid;grid-template-columns:1fr}.admin-notice-actions form,.admin-notice-actions button,.admin-notice-actions .button{width:100%}
}

/* ============================================================
   FANTA6 0.9.08 · GAZZETTA DEL FOLKLORE E GRAFICHE
   ============================================================ */
.editorial-shell,.admin-editorial-shell{display:grid;gap:22px}
.editorial-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:28px;background:linear-gradient(135deg,#071b42 0%,#0a4c91 56%,#08142f 100%);color:#fff;border:1px solid rgba(104,195,255,.38);box-shadow:0 18px 44px rgba(3,18,49,.28);position:relative;overflow:hidden}
.editorial-hero:after{content:"";position:absolute;right:-40px;top:-70px;width:245px;height:245px;border-radius:50%;background:radial-gradient(circle,rgba(255,196,0,.24),rgba(255,196,0,0) 68%);pointer-events:none}
.editorial-hero h1{margin:4px 0 7px;font-size:clamp(2rem,4.1vw,3.55rem);line-height:1}
.editorial-hero p{margin:0;max-width:780px;color:#e0edff;font-weight:750}
.editorial-hero .ui-kicker{color:#ffd84e}
.editorial-seal{position:relative;z-index:1;min-width:116px;height:116px;border-radius:31px;display:grid;place-items:center;text-align:center;font-size:2.15rem;line-height:.82;font-weight:1000;color:#08295c;background:linear-gradient(145deg,#fff0a0,#f8c225 58%,#ce8b00);border:4px solid rgba(255,255,255,.72);box-shadow:inset 0 2px 9px rgba(255,255,255,.76),0 12px 28px rgba(0,0,0,.23);transform:rotate(2deg)}
.editorial-seal small{display:block;font-size:12px;letter-spacing:.08em;margin-top:9px}
.editorial-filters{display:flex;flex-wrap:wrap;gap:9px;padding:4px 1px}
.editorial-filter{display:inline-flex;align-items:center;min-height:40px;padding:9px 14px;border-radius:999px;text-decoration:none;background:#edf4fd;color:#174b80;border:1px solid #d3e3f6;font-size:.8rem;font-weight:950;letter-spacing:.035em}
.editorial-filter:hover,.editorial-filter.is-active{background:#073e7d;color:#fff;border-color:#073e7d}
.editorial-grid,.admin-editorial-list{display:grid;gap:20px}
.editorial-card{display:grid;grid-template-columns:minmax(220px,38%) minmax(0,1fr);background:linear-gradient(180deg,#fff,#f5f9ff);border:1px solid #d6e3f2;border-radius:24px;overflow:hidden;box-shadow:0 14px 32px rgba(13,47,91,.11);position:relative}
.editorial-card.is-featured{border-color:#e4b320;box-shadow:0 16px 38px rgba(181,132,0,.18)}
.editorial-card:not(:has(.editorial-cover)){grid-template-columns:1fr}
.editorial-cover{min-height:250px;background:#061b40;display:grid;place-items:center;overflow:hidden}
.editorial-cover img{width:100%;height:100%;min-height:250px;max-height:520px;object-fit:cover;display:block}
.editorial-card-copy{display:flex;flex-direction:column;min-width:0;padding:22px 24px 18px}
.editorial-topline{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.editorial-category,.editorial-featured,.editorial-status{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:1000;letter-spacing:.045em}
.editorial-category{background:#e6f1ff;color:#07509b}.tone-graphic .editorial-category{background:#f2e9ff;color:#6a2aa0}.tone-interview .editorial-category{background:#e7f8f1;color:#166a50}.tone-special .editorial-category{background:#fff0bd;color:#7a5600}
.editorial-featured{background:#fff0b8;color:#7d5a00}.editorial-status{margin-left:auto;background:#edf1f6;color:#56677d}.editorial-status.status-published{background:#dff7e9;color:#12683f}.editorial-status.status-archived{background:#ececec;color:#555}
.editorial-card h2{margin:2px 0 11px;font-size:clamp(1.45rem,2.7vw,2.2rem);line-height:1.08;color:#092c5e}
.editorial-body{font-size:1rem;line-height:1.58;color:#29425f;overflow-wrap:anywhere}
.editorial-card footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:16px;border-top:1px solid #dee8f3;color:#718199;font-size:.76rem;font-weight:850;letter-spacing:.025em}
.editorial-empty{text-align:center;padding:42px 24px}
.admin-editorial-create textarea,.admin-editorial-edit textarea{resize:vertical;min-height:155px}
.admin-editorial-options,.admin-editorial-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.admin-editorial-editor{display:grid;gap:14px}.admin-editorial-editor>.editorial-card{margin:0}
.admin-editorial-actions form{margin:0}.admin-editorial-actions button{min-height:42px}
.admin-editorial-edit{border-top:1px solid #dfe7f1;padding-top:12px}.admin-editorial-edit summary{cursor:pointer;font-weight:950;color:#0a4e97}.admin-editorial-edit[open] summary{margin-bottom:14px}
.admin-editorial-create input[type="file"],.admin-editorial-edit input[type="file"]{padding:12px;background:#f7f9fc;border:1px dashed #a9bfd8;border-radius:14px}
@media(max-width:900px){
  .editorial-card{grid-template-columns:minmax(180px,34%) minmax(0,1fr)}
  .editorial-cover,.editorial-cover img{min-height:220px}
}
@media(max-width:700px){
  .editorial-hero{padding:21px;border-radius:22px;align-items:flex-start}.editorial-seal{min-width:78px;height:78px;border-radius:22px;font-size:1.5rem}.editorial-hero p{font-size:.92rem}
  .editorial-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:7px}.editorial-filter{white-space:nowrap}
  .editorial-card{grid-template-columns:1fr}.editorial-cover,.editorial-cover img{min-height:0;max-height:none;aspect-ratio:4/3}.editorial-cover img{object-fit:cover}
  .editorial-card-copy{padding:18px 18px 16px}.editorial-status{margin-left:0}.editorial-card footer{display:grid;gap:4px}
  .admin-editorial-actions{display:grid;grid-template-columns:1fr}.admin-editorial-actions form,.admin-editorial-actions button{width:100%}
}

/* ============================================================
   FANTA6 0.9.08B · MOBILE SCROLL STOP
   Evita overscroll/rubber-band oltre il contenuto nelle viste utente.
   ============================================================ */
@media (max-width:760px){
  html[data-ui="user"]{
    min-height:100%;
    background:#f4f7fb;
    overscroll-behavior-y:none;
  }
  html[data-ui="user"] body{
    min-height:100dvh;
    height:auto;
    overflow-x:hidden;
    overscroll-behavior-y:none;
    -webkit-overflow-scrolling:touch;
  }
  html[data-ui="user"] .container{
    padding-bottom:12px;
  }
}



/* FANTA6 0.9.098 · STATUS OPERATIVO ADMIN AD ALTA VISIBILITÀ */
.admin-round-status-card{--status:#2f7d55;display:grid;gap:16px;margin:0 0 16px;padding:20px;border:2px solid color-mix(in srgb,var(--status) 35%,#d8e2ec);border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--status) 8%,#fff),#fff 66%);box-shadow:0 12px 30px rgba(25,47,77,.09)}
.admin-round-status-card.is-open{--status:#168653}.admin-round-status-card.is-review{--status:#d97706}.admin-round-status-card.is-public{--status:#2563b8}
.admin-round-status-main{display:flex;align-items:flex-start;gap:13px}.admin-round-status-dot{flex:0 0 16px;width:16px;height:16px;margin-top:7px;border-radius:50%;background:var(--status);box-shadow:0 0 0 6px color-mix(in srgb,var(--status) 14%,transparent)}
.admin-round-status-main .ui-kicker{color:var(--status);font-weight:950}.admin-round-status-main h2{margin:.2rem 0 .35rem;color:var(--status);font-size:clamp(1.25rem,3vw,1.8rem);letter-spacing:.01em}.admin-round-status-main p{margin:0;color:#42566e;font-weight:700}
.admin-round-status-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-round-status-kpis>div{padding:11px 12px;border:1px solid #dce5ee;border-radius:14px;background:rgba(255,255,255,.8)}.admin-round-status-kpis span{display:block;margin-bottom:3px;color:#708197;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.admin-round-status-kpis strong{display:block;color:#20344d;font-size:.9rem;line-height:1.2}.admin-round-status-action{justify-self:start;background:var(--status)!important;border-color:var(--status)!important;color:#fff!important}
@media(max-width:760px){.admin-round-status-card{padding:15px;border-radius:18px}.admin-round-status-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-round-status-action{width:100%;text-align:center}.formation-player-search{min-height:46px;font-size:1rem}}

/* ============================================================
   FANTA6 0.9.098 · EDITORIA PASS 1 · GRAFICHE INTEGRALI + PREVIEW
   ============================================================ */
.editorial-cover.editorial-lightbox-trigger{appearance:none;-webkit-appearance:none;border:0;padding:0;margin:0;width:100%;cursor:zoom-in;text-align:inherit;color:inherit;font:inherit}
.editorial-card.tone-graphic.media-full{grid-template-columns:1fr}
.editorial-card.tone-graphic.media-full .editorial-cover{min-height:0;background:linear-gradient(135deg,#061b40,#0b326b);padding:12px}
.editorial-card.tone-graphic.media-full .editorial-cover img{width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;border-radius:14px;background:#fff}
.editorial-lightbox[hidden]{display:none!important}
.editorial-lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(3,12,28,.92);backdrop-filter:blur(8px)}
.editorial-lightbox figure{margin:0;display:grid;gap:10px;justify-items:center;max-width:min(96vw,1400px);max-height:94vh}
.editorial-lightbox img{display:block;max-width:96vw;max-height:86vh;width:auto;height:auto;object-fit:contain;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.5);background:#fff}
.editorial-lightbox figcaption{color:#fff;font-weight:850;text-align:center;max-width:900px}
.editorial-lightbox-close{position:fixed;top:max(14px,env(safe-area-inset-top));right:16px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.4);color:#fff;font-size:2rem;line-height:1;cursor:pointer}
body.editorial-lightbox-open{overflow:hidden}
.admin-editorial-previewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid #f1c94d;border-radius:16px;background:#fff8d8;color:#604b00}.admin-editorial-previewbar .ui-kicker{display:block;color:#8d6a00}.admin-editorial-previewbar strong{display:block;margin-top:2px}
@media(max-width:700px){.editorial-card.tone-graphic.media-full .editorial-cover{padding:7px}.editorial-card.tone-graphic.media-full .editorial-cover img{aspect-ratio:auto;max-height:none}.editorial-lightbox{padding:12px}.editorial-lightbox img{max-width:100%;max-height:82vh}.admin-editorial-previewbar{align-items:stretch;display:grid}.admin-editorial-previewbar .button{width:100%;text-align:center}}

/* =============================================================
   FANTA6 0.9.098 · EDITORIA PASS 2 · LETTORE GAZZETTA PREMIUM
   ============================================================= */
.editorial-eyebrow{margin:2px 0 7px;color:#a46b00;font-size:12px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}
.editorial-subtitle{margin:-3px 0 12px;color:#526980;font-size:.98rem;font-weight:760;line-height:1.42}
.editorial-readmore{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:15px 0 2px;padding:9px 15px;border-radius:999px;text-decoration:none;background:#082f67;color:#fff;font-size:.78rem;font-weight:1000;letter-spacing:.055em;box-shadow:0 7px 17px rgba(5,43,92,.18)}
.editorial-readmore:hover{transform:translateY(-1px);background:#0b4a94}
.admin-editorial-create label small,.admin-editorial-edit label small{font-weight:700}
@media(max-width:700px){.editorial-readmore{width:100%}
}

/* =============================================================
   FANTA6 0.9.098 · EDITORIA PASS 3 · HOME + ARCHIVIO PREMIUM
   ============================================================= */
.editorial-home-pass3{gap:26px}
.editorial-filters-counted .editorial-filter{display:inline-flex;align-items:center;gap:8px}
.editorial-filters-counted .editorial-filter b{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:rgba(8,47,103,.09);color:#0a3f7b;font-size:12px;font-weight:1000}
.editorial-filters-counted .editorial-filter.is-active b{background:rgba(255,255,255,.2);color:inherit}
.editorial-filter-heading{padding:6px 2px 0}.editorial-filter-heading h2{margin:3px 0 3px;color:#0b356c;font-size:clamp(1.6rem,3.5vw,2.35rem)}.editorial-filter-heading p{margin:0;color:#66788d;font-weight:750}
.editorial-graphic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.editorial-graphic-image{appearance:none;-webkit-appearance:none;display:grid;place-items:center;width:100%;height:290px;padding:8px;border:0;background:linear-gradient(135deg,#071b3f,#0b326b);cursor:zoom-in}
.editorial-graphic-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:11px;background:#fff}
.editorial-graphic-copy{display:grid;gap:3px;padding:12px 14px 14px}.editorial-graphic-copy strong{color:#11365f;font-size:.9rem;line-height:1.2}.editorial-graphic-copy span{color:#8090a2;font-size:12px;font-weight:800}
.admin-editorial-dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.admin-editorial-dashboard>div{display:grid;gap:4px;padding:16px;border:1px solid #dce5ef;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(20,45,75,.07)}.admin-editorial-dashboard span{color:#77899e;font-size:12px;font-weight:1000;letter-spacing:.08em}.admin-editorial-dashboard strong{color:#173654;font-size:1.8rem;line-height:1}.admin-editorial-dashboard .is-published{border-color:#bde3cc;background:#f4fff8}.admin-editorial-dashboard .is-published strong{color:#1d7548}.admin-editorial-dashboard .is-draft{border-color:#edd99a;background:#fffaf0}.admin-editorial-dashboard .is-draft strong{color:#986b00}.admin-editorial-dashboard .is-archived{background:#f5f7fa}.admin-editorial-dashboard .is-archived strong{color:#667587}
.admin-editorial-archive-tools{display:grid;gap:16px}.admin-editorial-archive-tools h2{margin:3px 0 4px;color:#0b356a}.admin-editorial-archive-tools p{margin:0;color:#6c7d90;font-weight:700}.admin-editorial-filter-group{display:grid;gap:8px}.admin-editorial-filter-group>strong{color:#495d72;font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}.admin-editorial-filter-group nav{display:flex;flex-wrap:wrap;gap:8px}.admin-editorial-filter{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #d4dfeb;border-radius:999px;background:#fff;color:#36516d;text-decoration:none;font-size:12px;font-weight:900}.admin-editorial-filter b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#edf2f8;color:#405b77;font-size:12px}.admin-editorial-filter.is-active{border-color:#0b4e96;background:#0b4e96;color:#fff}.admin-editorial-filter.is-active b{background:rgba(255,255,255,.2);color:#fff}.admin-editorial-filter.status.is-active{border-color:#8b6410;background:#8b6410}
.admin-editorial-list-heading{display:flex;align-items:end;justify-content:space-between;gap:14px}.admin-editorial-list-heading h2{margin:2px 0 0}.admin-editorial-list-heading>strong{padding:7px 11px;border-radius:999px;background:#edf3f9;color:#48637e;font-size:.78rem}
@media(max-width:900px){.editorial-graphic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-editorial-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.editorial-home-pass3{gap:20px}.editorial-graphic-grid{grid-template-columns:1fr}.editorial-graphic-image{height:auto;min-height:220px;max-height:430px}.editorial-graphic-image img{height:auto;max-height:410px}.admin-editorial-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-editorial-filter-group nav{display:grid;grid-template-columns:1fr 1fr}.admin-editorial-filter{justify-content:space-between}.admin-editorial-list-heading{align-items:flex-start}.editorial-filters-counted .editorial-filter{justify-content:space-between}}

/* =============================================================
   FANTA6 0.9.098 · EDITORIA PASS 4 · PIXAR FANTA6 DESIGN SYSTEM
   Standard editoriale ufficiale: 3D cinematografico, caldo,
   profondo, folkloristico, leggibile e mobile-first.
   ============================================================= */
.pixar-editorial-admin-hero{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.22);background:
  radial-gradient(circle at 84% 18%,rgba(255,211,77,.34),transparent 24%),
  radial-gradient(circle at 12% 84%,rgba(62,187,255,.26),transparent 28%),
  linear-gradient(135deg,#071b40 0%,#0b3d7a 48%,#102552 100%);box-shadow:0 24px 60px rgba(4,24,58,.28),inset 0 1px rgba(255,255,255,.2)}
.pixar-editorial-admin-hero:before,.pixar-editorial-admin-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none}.pixar-editorial-admin-hero:before{width:210px;height:210px;right:-80px;top:-90px;background:rgba(255,202,58,.22)}.pixar-editorial-admin-hero:after{width:160px;height:160px;left:-72px;bottom:-82px;background:rgba(53,183,255,.18)}
.pixar-editorial-admin-hero>div{position:relative;z-index:1}.pixar-editorial-admin-hero h1,.pixar-editorial-admin-hero p,.pixar-editorial-admin-hero .ui-kicker{color:#fff}.pixar-editorial-admin-hero p{max-width:760px;color:#dcecff}
.pixar-standard-lock{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:3px;align-items:center;max-width:720px;margin-top:18px;padding:13px 15px;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:rgba(4,21,48,.46);box-shadow:inset 0 1px rgba(255,255,255,.14),0 10px 24px rgba(0,0,0,.14);backdrop-filter:blur(8px)}
.pixar-standard-lock .pixar-dot{grid-row:1/3;width:13px;height:13px;border-radius:50%;background:#ffcc38;box-shadow:0 0 0 5px rgba(255,204,56,.15),0 0 18px rgba(255,204,56,.55)}.pixar-standard-lock strong{color:#fff;font-size:.8rem;letter-spacing:.055em}.pixar-standard-lock small{color:#c9def7;font-weight:700;line-height:1.35}
.pixar-seal{background:linear-gradient(145deg,#ffd85a,#ff9f1c)!important;color:#472900!important;border:4px solid rgba(255,255,255,.72)!important;box-shadow:0 13px 24px rgba(0,0,0,.22),inset 0 3px 0 rgba(255,255,255,.72),inset 0 -6px 12px rgba(177,83,0,.16)!important;transform:rotate(3deg)}
.admin-editorial-composer-pixar{overflow:hidden;border:1px solid #cbdcef;background:linear-gradient(180deg,#ffffff,#f6faff);box-shadow:0 20px 52px rgba(12,42,82,.14)}
.composer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid #dce8f3}.composer-head h2{margin:3px 0 5px;color:#0a315f;font-size:clamp(1.55rem,3vw,2.2rem)}.composer-head p{margin:0;max-width:720px;color:#63778e;font-weight:700}.pixar-style-pill{flex:0 0 auto;padding:9px 13px;border:1px solid #f0c34e;border-radius:999px;background:linear-gradient(180deg,#fff7c8,#ffe89a);color:#6a4a00;font-size:12px;font-weight:1000;letter-spacing:.07em;box-shadow:0 6px 14px rgba(136,91,0,.12)}
.admin-editorial-composer-pixar form{gap:16px}.composer-step{position:relative;display:grid;gap:14px;padding:20px;border:1px solid #d7e3ef;border-radius:22px;background:linear-gradient(160deg,#fff,#f8fbff);box-shadow:0 10px 26px rgba(24,57,95,.07),inset 0 1px #fff}.composer-step:hover{border-color:#bed3e8}.composer-step-title{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #e4edf5}.composer-step-title>b{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:13px;background:linear-gradient(145deg,#0e5baa,#082f67);color:#fff;font-size:1rem;box-shadow:0 8px 16px rgba(8,47,103,.22),inset 0 1px rgba(255,255,255,.3)}.composer-step-title>div{display:grid;gap:2px}.composer-step-title strong{color:#133d68;font-size:.82rem;letter-spacing:.055em}.composer-step-title small{color:#73869a;font-weight:700}
.composer-visual-step{background:radial-gradient(circle at 88% 8%,rgba(255,211,74,.18),transparent 24%),linear-gradient(160deg,#fffdf7,#f5faff)}.pixar-visual-rule{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:flex-start;padding:14px 15px;border:1px solid #f0d887;border-radius:18px;background:linear-gradient(145deg,#fffbed,#fff2bd);box-shadow:0 8px 18px rgba(122,86,0,.08)}.pixar-visual-rule>span{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#fff;font-size:1.25rem;box-shadow:0 6px 12px rgba(90,62,0,.1)}.pixar-visual-rule strong{color:#664b00}.pixar-visual-rule p{margin:3px 0 0;color:#745f27;font-size:.86rem;font-weight:700;line-height:1.45}
.pixar-live-preview{display:grid;grid-template-columns:minmax(220px,38%) minmax(0,1fr);min-height:250px;overflow:hidden;border:1px solid #bcd2e7;border-radius:24px;background:linear-gradient(145deg,#081f47,#0e4a86 56%,#18315d);box-shadow:0 18px 36px rgba(6,35,74,.2),inset 0 1px rgba(255,255,255,.18)}.pixar-live-media{display:grid;place-items:center;align-content:center;gap:8px;min-height:250px;padding:16px;background:radial-gradient(circle at 50% 35%,rgba(255,210,76,.26),transparent 32%),linear-gradient(145deg,#0b326b,#061b3d);color:#dcecff}.pixar-live-media>span{font-size:3.1rem;filter:drop-shadow(0 8px 10px rgba(0,0,0,.2))}.pixar-live-media small{font-weight:900;letter-spacing:.06em}.pixar-live-media img{display:block;width:100%;height:100%;max-height:390px;object-fit:contain;border-radius:14px;background:#fff}.pixar-live-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:26px;color:#fff}.pixar-live-copy>span{align-self:flex-start;margin-bottom:13px;padding:6px 9px;border-radius:999px;background:rgba(255,213,79,.95);color:#5c4000;font-size:12px;font-weight:1000;letter-spacing:.05em}.pixar-live-copy em{margin-bottom:8px;color:#9fd8ff;font-size:12px;font-style:normal;font-weight:1000;letter-spacing:.09em}.pixar-live-copy strong{font-size:clamp(1.55rem,4vw,3.05rem);line-height:.96;letter-spacing:-.035em;text-shadow:0 4px 12px rgba(0,0,0,.22);text-wrap:balance}.pixar-live-copy p{margin:14px 0 0;color:#d8eaff;font-size:1rem;font-weight:750;line-height:1.4}
.publish-choice{display:grid!important;grid-template-columns:auto auto 1fr;align-items:center!important}.publish-choice small{color:#697d92;font-weight:700}.pixar-edit-lock{margin:14px 0;padding:10px 12px;border:1px solid #efd075;border-radius:14px;background:#fff8d9;color:#6f5200;font-size:.78rem;font-weight:800}
.pixar-editorial.editorial-card{box-shadow:0 14px 34px rgba(9,38,76,.13),inset 0 1px rgba(255,255,255,.75)}.pixar-editorial.editorial-card{border-radius:24px}.pixar-editorial.editorial-card .editorial-category{box-shadow:inset 0 1px rgba(255,255,255,.55)}.pixar-editorial .editorial-featured{background:linear-gradient(180deg,#fff4b5,#ffdd66);color:#634600;border:1px solid #eac34e}
@media(max-width:760px){.composer-head{display:grid}.pixar-style-pill{justify-self:start}.composer-step{padding:16px;border-radius:18px}.pixar-live-preview{grid-template-columns:1fr}.pixar-live-media{min-height:200px}.pixar-live-copy{padding:20px}.pixar-standard-lock{grid-template-columns:auto 1fr}.publish-choice{grid-template-columns:auto 1fr!important}.publish-choice small{grid-column:2}}

/* ============================================================
   FANTA6 0.9.098 · EDITORIAL PASS 5
   PIXAR FANTA6 UI CONSOLIDATION
   Regola globale: il software resta operativo e leggibile, ma
   forme, profondità, luci, mascotte e micro-interazioni parlano
   sempre il linguaggio visivo del mondo FANTA6.
   ============================================================ */
:root{
  --f6-night:#06152f;
  --f6-blue:#0b4f99;
  --f6-sky:#52b8ff;
  --f6-gold:#ffd456;
  --f6-gold-deep:#e59a17;
  --f6-ink:#102844;
  --f6-cloud:#f7fbff;
  --f6-radius:22px;
  --f6-shadow:0 16px 38px rgba(8,35,72,.13);
  --f6-shadow-strong:0 22px 55px rgba(5,25,55,.22);
}

.f6-pixar-world{
  background:
    radial-gradient(circle at 4% -8%,rgba(255,212,86,.16),transparent 26rem),
    radial-gradient(circle at 102% 8%,rgba(82,184,255,.16),transparent 30rem),
    linear-gradient(180deg,#f8fbff 0%,#edf4fb 100%);
}
.f6-pixar-world .container{position:relative;z-index:1}
.f6-pixar-world h1,.f6-pixar-world h2,.f6-pixar-world h3,
.f6-pixar-world .button,.f6-pixar-world button{
  font-family:"Fredoka","Baloo 2","Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif;
}
.f6-pixar-world .card,.f6-pixar-world .matchcard{
  border-radius:var(--f6-radius);
  border-color:rgba(33,76,124,.14);
  box-shadow:var(--f6-shadow);
  background:linear-gradient(160deg,rgba(255,255,255,.99),rgba(247,251,255,.98));
}
.f6-pixar-world .card{position:relative}
.f6-pixar-world .card:where(:not(.login-card)):before{
  content:"";position:absolute;left:14px;right:14px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);
  pointer-events:none;
}

/* Topbar globale: profonda ma pulita. */
.f6-pixar-topbar{
  border-bottom:1px solid rgba(255,255,255,.16)!important;
  background:
    radial-gradient(circle at 14% -70%,rgba(255,212,86,.24),transparent 34%),
    linear-gradient(135deg,#061a3a,#0b4a89 58%,#07162f)!important;
  color:#fff;
  box-shadow:0 10px 30px rgba(4,21,48,.24)!important;
  backdrop-filter:blur(14px);
}
.f6-pixar-topbar .muted{color:#c6dcf4!important}
html[data-ui="admin"] .admin-top-nav a,
html[data-ui="user"] .participant-mini-nav a{
  color:#e8f4ff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.08)!important;
  border-radius:999px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.13);
}
html[data-ui="admin"] .admin-top-nav a:hover,
html[data-ui="admin"] .admin-top-nav a.nav-current,
html[data-ui="user"] .participant-mini-nav a:hover,
html[data-ui="user"] .participant-mini-nav a.nav-current{
  color:#173252!important;
  border-color:#ffe28a!important;
  background:linear-gradient(180deg,#fff8d4,#ffd95f)!important;
  box-shadow:0 7px 16px rgba(0,0,0,.16),inset 0 1px #fff!important;
  transform:translateY(-1px);
}

/* Brand ADMIN: piccola firma 3D, non un logo tecnico anonimo. */
.admin-brand-pixar{display:flex;align-items:center;gap:9px;min-width:max-content}
.admin-brand-orb{
  display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:14px;
  background:linear-gradient(145deg,#fff1a4,#f8b91f 62%,#c77800);
  border:2px solid rgba(255,255,255,.72);
  box-shadow:0 8px 17px rgba(0,0,0,.23),inset 0 2px 4px rgba(255,255,255,.78);
  transform:rotate(-3deg);
}
.admin-brand-copy{display:grid;gap:0;line-height:1}
.admin-brand-copy strong{font-family:"Fredoka","Baloo 2",sans-serif;font-size:1.02rem;letter-spacing:.025em;color:#fff}
.admin-brand-copy small{margin-top:3px;color:#bcd8f4;font-size:12px;font-weight:900;letter-spacing:.09em}
.admin-brand-version{padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.12);color:#eaf5ff;font-size:12px;font-weight:900}

/* Control Room: spettacolare nel carattere, ancora immediata nel lavoro. */
html[data-ui="admin"] body{
  background:
    radial-gradient(circle at 6% -4%,rgba(255,211,80,.15),transparent 25rem),
    radial-gradient(circle at 98% 14%,rgba(69,174,255,.16),transparent 30rem),
    linear-gradient(180deg,#f7fbff,#edf4fb)!important;
  color:#17304d;
}
html[data-ui="admin"] .container{max-width:1320px}
html[data-ui="admin"] h1,html[data-ui="admin"] h2,html[data-ui="admin"] h3{color:#0c315f;letter-spacing:-.025em}
.admin-control-hero{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;
  margin-bottom:18px;padding:26px 28px;border-radius:30px;overflow:hidden;color:#fff;
  border:1px solid rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 82% 0%,rgba(255,211,76,.28),transparent 30%),
    radial-gradient(circle at 8% 110%,rgba(71,190,255,.23),transparent 34%),
    linear-gradient(135deg,#061a3c 0%,#0b4e91 55%,#08172f 100%);
  box-shadow:var(--f6-shadow-strong),inset 0 1px rgba(255,255,255,.16);
}
.admin-control-hero:after{content:"";position:absolute;inset:auto -70px -110px auto;width:260px;height:260px;border-radius:50%;border:28px solid rgba(255,255,255,.035);pointer-events:none}
.admin-control-hero-copy{position:relative;z-index:1;max-width:800px}
.admin-control-hero .ui-kicker{color:#ffd75b;font-weight:1000;letter-spacing:.09em}
.admin-control-hero h1{margin:4px 0 7px!important;color:#fff!important;font-size:clamp(2rem,4.5vw,3.4rem);line-height:.98;text-shadow:0 5px 16px rgba(0,0,0,.24)}
.admin-control-hero p{margin:0;color:#d8ebff;font-weight:750;line-height:1.45}
.admin-control-hero-seal{
  position:relative;z-index:1;display:grid;place-items:center;align-content:center;flex:0 0 112px;width:112px;height:112px;
  border-radius:34px;background:linear-gradient(145deg,#fff1a3,#ffc735 58%,#d78400);color:#543300;
  border:4px solid rgba(255,255,255,.76);box-shadow:0 16px 30px rgba(0,0,0,.28),inset 0 3px 8px rgba(255,255,255,.78);
  font-size:2.35rem;transform:rotate(3deg);
}
.admin-control-hero-seal small{display:block;margin-top:5px;font-size:12px;font-weight:1000;letter-spacing:.12em}

/* Stato giornata: il pallino è il faro visivo della fase. */
html[data-ui="admin"] .admin-round-status-card{
  border-width:2px;border-radius:25px;padding:21px;
  background:
    radial-gradient(circle at 100% 0%,color-mix(in srgb,var(--status) 18%,transparent),transparent 28%),
    linear-gradient(145deg,color-mix(in srgb,var(--status) 7%,#fff),#fff 68%);
  box-shadow:0 17px 38px color-mix(in srgb,var(--status) 13%,rgba(8,35,72,.12)),inset 0 1px #fff;
}
html[data-ui="admin"] .admin-round-status-dot{width:18px;height:18px;flex-basis:18px;box-shadow:0 0 0 7px color-mix(in srgb,var(--status) 16%,transparent),0 0 22px color-mix(in srgb,var(--status) 46%,transparent)}
html[data-ui="admin"] .admin-round-status-kpis>div{
  border-radius:17px;background:linear-gradient(160deg,#fff,#f7fbff);box-shadow:0 7px 17px rgba(16,48,83,.07),inset 0 1px #fff;
}
html[data-ui="admin"] .admin-round-status-action{border-radius:15px!important;box-shadow:0 9px 18px color-mix(in srgb,var(--status) 25%,transparent)!important}

/* Squadre Control Room: mascotte ufficiali come identificatore, non decorazione casuale. */
.pixar-admin-team-card{overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.pixar-admin-team-card:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(8,35,72,.16);border-color:rgba(51,122,195,.28)}
.admin-team-card-head{display:flex;align-items:center;gap:13px;margin:-3px -3px 13px;padding:4px 4px 13px;border-bottom:1px solid #e1ebf5}
.admin-team-mascot{flex:0 0 58px;width:58px;height:58px;object-fit:cover;border-radius:19px;border:3px solid #fff;background:#eaf4ff;box-shadow:0 9px 18px rgba(9,42,79,.19),0 0 0 1px #cbdceb}
.admin-team-card-title{min-width:0}.admin-team-card-title .ui-kicker{color:#5a83ae;font-size:12px;font-weight:1000;letter-spacing:.08em}.admin-team-card-title h2{margin:2px 0 3px!important;font-size:1.24rem}.admin-team-delivery{margin:0!important;color:#278058;font-size:.76rem;font-weight:850}
.pixar-admin-team-card[data-team-status="missing"]{border-color:#e7b26b}.pixar-admin-team-card[data-team-status="anomaly"]{border-color:#df7d7d}.pixar-admin-team-card[data-team-status="submitted"]{border-color:#a6d2bb}.pixar-admin-team-card[data-team-status="disqualified"]{border-color:#d26b6b}

/* Toolbox, section-nav e filtri: pillole 3D, ma con densità da Control Room. */
html[data-ui="admin"] .admin-toolbox{
  border-radius:22px!important;border-color:#cbdceb!important;
  background:linear-gradient(160deg,#fff,#f4f9ff)!important;
  box-shadow:0 13px 30px rgba(12,47,87,.10)!important;
}
html[data-ui="admin"] .admin-section-nav{
  border-radius:18px!important;padding:10px!important;border-color:#cbdceb!important;
  background:rgba(249,252,255,.94)!important;box-shadow:0 10px 24px rgba(17,51,88,.10)!important;backdrop-filter:blur(12px)
}
html[data-ui="admin"] .admin-section-nav a,
html[data-ui="admin"] .admin-match-jump,
html[data-ui="admin"] .admin-kpi-chip,
html[data-ui="admin"] .admin-account-kpis span{
  border-radius:12px!important;background:linear-gradient(180deg,#fff,#f2f7fd)!important;border-color:#cedbe8!important;box-shadow:0 5px 11px rgba(14,50,88,.06),inset 0 1px #fff
}
html[data-ui="admin"] .admin-section-nav a:hover{background:linear-gradient(180deg,#edf7ff,#dcecff)!important;border-color:#9fc5e7!important;transform:translateY(-1px)}

/* Pulsanti: feedback “tattile” coerente. */
.f6-pixar-world button,.f6-pixar-world .button{
  border-radius:14px;border:1px solid rgba(255,255,255,.26);
  background:linear-gradient(180deg,#3c91f0,#1763b7 72%,#0d4f9a);
  box-shadow:0 8px 15px rgba(15,75,139,.20),inset 0 2px rgba(255,255,255,.28),inset 0 -2px rgba(0,39,88,.14);
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}
.f6-pixar-world button:hover,.f6-pixar-world .button:hover{transform:translateY(-1px);filter:saturate(1.05) brightness(1.02);box-shadow:0 11px 20px rgba(15,75,139,.24),inset 0 2px rgba(255,255,255,.3)}
.f6-pixar-world button:active,.f6-pixar-world .button:active{transform:translateY(1px);box-shadow:0 4px 8px rgba(15,75,139,.16),inset 0 2px 4px rgba(0,34,78,.14)}
.f6-pixar-world .button.secondary,.f6-pixar-world button.secondary{
  color:#254666;background:linear-gradient(180deg,#fff,#e9f2fb);border-color:#cad9e8;box-shadow:0 7px 14px rgba(19,55,91,.10),inset 0 1px #fff;
}
.f6-pixar-world .dangerbtn{background:linear-gradient(180deg,#ef6767,#b52832 72%,#8f1822)!important;box-shadow:0 8px 16px rgba(155,31,42,.22),inset 0 2px rgba(255,255,255,.24)!important}

/* Campi e tabelle: meno “form grigio”, più plancia FANTA6. */
.f6-pixar-world input,.f6-pixar-world select,.f6-pixar-world textarea{
  border-radius:14px;border-color:#cddbea;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:inset 0 2px 5px rgba(21,54,91,.035);
}
.f6-pixar-world input:focus,.f6-pixar-world select:focus,.f6-pixar-world textarea:focus{
  outline:3px solid rgba(66,156,239,.16);border-color:#62a8e7;box-shadow:0 0 0 1px rgba(66,156,239,.12),inset 0 1px #fff;
}
.f6-pixar-world .table-scroll{border-radius:16px;border:1px solid #d5e1ec;background:#fff;box-shadow:inset 0 1px #fff}
.f6-pixar-world .table-scroll table{margin:0}.f6-pixar-world th{background:linear-gradient(180deg,#eef6ff,#e4eef9);color:#274b6f;font-weight:900}.f6-pixar-world tr:hover td{background:#f3f9ff}
.f6-pixar-world code{border-radius:8px;background:#eaf2fb;color:#234463}

/* Alert e notice: forme morbide e gerarchia immediata. */
.f6-pixar-world .notice,.f6-pixar-world .alert{border-radius:16px;box-shadow:inset 0 1px rgba(255,255,255,.75)}
.f6-pixar-world .alert.success{background:linear-gradient(145deg,#effcf5,#e0f6ea);border:1px solid #a5d7bb;color:#17643d}
.f6-pixar-world .alert.error{background:linear-gradient(145deg,#fff5f5,#ffe7e8);border:1px solid #e7a5aa;color:#84262e}

/* Parte partecipante: non cambia struttura, ma la firma globale resta visibile. */
html[data-ui="user"] .card:not(.login-card){border-radius:24px;box-shadow:0 15px 34px rgba(10,38,74,.11),inset 0 1px rgba(255,255,255,.82)}
html[data-ui="user"] .participant-brand-logo-native{filter:drop-shadow(0 6px 12px rgba(0,0,0,.18))}
html[data-ui="user"] .home-quick-card{box-shadow:0 13px 27px rgba(1,19,47,.19),inset 0 1px rgba(255,255,255,.18)}

@media(max-width:980px){
  .f6-pixar-topbar{align-items:flex-start!important}.admin-brand-pixar{width:100%}.admin-brand-version{margin-left:auto}
  .admin-control-hero{padding:22px}.admin-control-hero-seal{flex-basis:92px;width:92px;height:92px;border-radius:28px;font-size:2rem}
}
@media(max-width:760px){
  .f6-pixar-topbar{padding:10px 12px!important;gap:10px!important}
  html[data-ui="admin"] .admin-top-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  html[data-ui="admin"] .admin-top-nav::-webkit-scrollbar{display:none}
  html[data-ui="admin"] .admin-top-nav a{flex:0 0 auto!important;font-size:12px!important;padding:6px 9px!important}
  .admin-brand-copy small{font-size:12px}.admin-brand-version{font-size:12px}
  .admin-control-hero{padding:19px;border-radius:24px}.admin-control-hero-seal{display:none}.admin-control-hero h1{font-size:2rem}.admin-control-hero p{font-size:.86rem}
  html[data-ui="admin"] .admin-round-status-card{padding:16px;border-radius:21px}.admin-team-mascot{width:52px;height:52px;flex-basis:52px;border-radius:17px}
  .f6-pixar-world .card,.f6-pixar-world .matchcard{border-radius:19px}
}
@media(max-width:430px){
  .admin-brand-orb{width:34px;height:34px;flex-basis:34px;border-radius:12px}.admin-brand-copy strong{font-size:.92rem}.admin-brand-copy small{display:none}
  .admin-control-hero{padding:17px}.admin-control-hero h1{font-size:1.75rem}
  .admin-team-card-head{gap:10px}.admin-team-mascot{width:48px;height:48px;flex-basis:48px}.admin-team-card-title h2{font-size:1.08rem}
}
@media (prefers-reduced-motion: reduce){
  .f6-pixar-world *, .f6-pixar-world *:before, .f6-pixar-world *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
  .f6-pixar-world button:hover,.f6-pixar-world .button:hover,.pixar-admin-team-card:hover,html[data-ui="admin"] .admin-section-nav a:hover{transform:none!important}
}

/* ================================================================
   FANTA6 0.9.098 · EDITORIA PASS 6 · COLLAUDO REALE + PREFLIGHT PIXAR
   ================================================================ */
.editorial-preflight{display:grid;gap:14px;padding:18px 20px;border-radius:24px;border:1px solid #d9e5f4;background:linear-gradient(180deg,#ffffff,#f5f9ff);box-shadow:0 14px 34px rgba(8,38,78,.10)}
.editorial-preflight.is-ready{border-color:#9cd9b4;background:linear-gradient(180deg,#f7fff9,#edf9f1)}
.editorial-preflight.is-blocked{border-color:#f0b1a9;background:linear-gradient(180deg,#fffafa,#fff1ef)}
.editorial-preflight header{display:flex;align-items:center;justify-content:space-between;gap:16px}.editorial-preflight header h2{margin:2px 0 0}.editorial-preflight header>strong{padding:8px 11px;border-radius:999px;background:#eef4fb;color:#26435f;font-size:.76rem;white-space:nowrap}
.editorial-preflight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editorial-preflight-check{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:start;padding:11px 12px;border-radius:16px;border:1px solid #dfe8f2;background:#fff}.editorial-preflight-check>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-weight:1000}.editorial-preflight-check div{display:grid;gap:2px}.editorial-preflight-check strong{font-size:.84rem}.editorial-preflight-check small{color:#6c7e90;font-weight:650;line-height:1.35}.editorial-preflight-check.ok>span{background:#dff6e7;color:#14733b}.editorial-preflight-check.warn>span{background:#fff2c7;color:#946500}.editorial-preflight-check.block>span{background:#ffe0dc;color:#a52a1d}
.editorial-preflight-mini{display:inline-grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin:12px 0 0;padding:8px 11px;border-radius:14px;border:1px solid #d9e4ef;background:#f7fbff}.editorial-preflight-mini>span{font-size:1.1rem}.editorial-preflight-mini div{display:grid}.editorial-preflight-mini strong{font-size:12px;letter-spacing:.05em}.editorial-preflight-mini small{font-size:12px;color:#6b7f94;font-weight:750}.editorial-preflight-mini.ready{border-color:#a9dfbb;background:#f1fbf4}.editorial-preflight-mini.blocked{border-color:#efb0a7;background:#fff4f2}
.admin-editorial-previewbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-editorial-previewbar>div:first-child{display:grid;gap:3px}.admin-editorial-previewbar small{color:#6e8195;font-weight:800}.admin-editorial-preview-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.admin-editorial-preview-actions form{margin:0}
@media (max-width:760px){.editorial-preflight-grid{grid-template-columns:1fr}.admin-editorial-previewbar{align-items:stretch;flex-direction:column}.admin-editorial-preview-actions{justify-content:stretch}.admin-editorial-preview-actions>*{flex:1}.admin-editorial-preview-actions .button,.admin-editorial-preview-actions button{width:100%}}


/* ================================================================
   FANTA6 0.9.098 · EDITORIA PASS 7 · INTERVISTE / SPECIALI + LIFECYCLE
   ================================================================ */
.editorial-lifecycle{display:flex;align-items:center;gap:9px;margin:14px 0;padding:12px 14px;border:1px solid #d6e3f0;border-radius:20px;background:linear-gradient(180deg,#fff,#f4f8fd);box-shadow:inset 0 1px #fff,0 8px 20px rgba(7,37,76,.07)}
.editorial-life-step{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 10px;border-radius:14px;color:#6a7c8f;background:#eef3f8;border:1px solid transparent;opacity:.68}
.editorial-life-step>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:12px;font-weight:1000;background:#d9e3ed;color:#486078;box-shadow:inset 0 1px rgba(255,255,255,.8)}
.editorial-life-step strong{font-size:12px;letter-spacing:.045em;white-space:nowrap}.editorial-lifecycle>i{font-style:normal;color:#9aacbd;font-weight:1000}
.editorial-life-step.is-current{opacity:1;transform:translateY(-1px);box-shadow:0 8px 16px rgba(10,45,87,.12),inset 0 1px #fff}
.editorial-life-step.tone-draft.is-current{background:linear-gradient(180deg,#fff8de,#ffefb7);border-color:#edce68;color:#725300}.editorial-life-step.tone-draft.is-current>span{background:#f2c84b;color:#4e3900}
.editorial-life-step.tone-published.is-current{background:linear-gradient(180deg,#effbf4,#dff3e7);border-color:#9ed4b2;color:#17623c}.editorial-life-step.tone-published.is-current>span{background:#42b874;color:#fff}
.editorial-life-step.tone-archived.is-current{background:linear-gradient(180deg,#f1f4f7,#e1e7ed);border-color:#b8c4cf;color:#47596b}.editorial-life-step.tone-archived.is-current>span{background:#74879a;color:#fff}
.editorial-lifecycle.compact{display:inline-flex;margin:10px 0 2px;padding:8px 10px;border-radius:16px}.editorial-lifecycle.compact .editorial-life-step{padding:5px 7px}.editorial-lifecycle.compact .editorial-life-step>span{width:22px;height:22px}.editorial-lifecycle.compact .editorial-life-step strong{font-size:12px}.composer-lifecycle{margin:4px 0 2px}
.lifecycle-actions{padding-top:6px;border-top:1px dashed #d4e0ec}.lifecycle-actions form{margin:0}
@media(max-width:760px){.editorial-lifecycle{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.editorial-lifecycle::-webkit-scrollbar{display:none}.editorial-life-step{flex:0 0 auto}.editorial-lifecycle.compact{display:flex;width:100%}.composer-lifecycle{width:100%}}


/* ================================================================
   FANTA6 0.9.098 · EDITORIA PASS 8 · MOBILE / LONG CONTENT / QA FINALE
   ================================================================ */
.editorial-reading-time{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;background:linear-gradient(180deg,#eaf5ff,#d9ebff);border:1px solid #bdd8f2;color:#15518a;font-size:12px;font-weight:1000;letter-spacing:.045em;box-shadow:inset 0 1px rgba(255,255,255,.8)}
.editorial-card h2,.editorial-subtitle{overflow-wrap:anywhere;word-break:normal}
.editorial-graphic-image{touch-action:manipulation}
.editorial-lightbox{padding:max(18px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overscroll-behavior:contain}
.editorial-lightbox figure{min-width:0;max-width:100%;max-height:100%}.editorial-lightbox img{max-width:100%;max-height:min(82dvh,900px)}
.editorial-lightbox figcaption{max-height:9dvh;overflow:auto;padding:0 54px 2px;overflow-wrap:anywhere}
.admin-editorial-composer-pixar input,.admin-editorial-composer-pixar select,.admin-editorial-composer-pixar textarea{max-width:100%}
.admin-editorial-composer-pixar input[type="file"]{white-space:normal;overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){.editorial-category,.editorial-featured,.editorial-reading-time{font-size:12px;padding:5px 8px;min-height:28px}
  .editorial-lightbox{place-items:center}.editorial-lightbox img{max-height:78dvh;border-radius:12px}.editorial-lightbox figcaption{font-size:.8rem;padding:0 46px}
  .composer-step{padding:14px}.composer-step-title{align-items:flex-start}.composer-step-title>b{flex-basis:32px;height:32px;border-radius:11px}
  .pixar-live-copy{padding:16px}.pixar-live-copy strong{overflow-wrap:anywhere}
}
@media(max-width:380px){
}

/* =========================================================
   EDITORIALE CONTRAST FIX 0.9.099
   Segnalazione LIVE: "Gazzetta & Grafiche" e controlli della
   sezione non devono apparire slavati / quasi trasparenti.
   ========================================================= */
html[data-ui="admin"] .admin-top-nav a[href="/admin/gazzetta"]{
  color:#ffffff!important;
  opacity:1!important;
  font-weight:900!important;
  text-shadow:0 1px 2px rgba(0,0,0,.28);
}
html[data-ui="admin"] .pixar-editorial-admin-hero h1,
html[data-ui="admin"] .pixar-editorial-admin-hero p,
html[data-ui="admin"] .pixar-editorial-admin-hero .ui-kicker,
html[data-ui="admin"] .admin-editorial-shell h2,
html[data-ui="admin"] .admin-editorial-shell label,
html[data-ui="admin"] .admin-editorial-filter,
html[data-ui="user"] .editorial-hero h1,
html[data-ui="user"] .editorial-hero p,
html[data-ui="user"] .editorial-filter,
html[data-ui="user"] .editorial-filter-heading h2{
  opacity:1!important;
}
html[data-ui="admin"] .pixar-editorial-admin-hero h1{color:#ffffff!important;text-shadow:0 3px 12px rgba(0,0,0,.34)}
html[data-ui="admin"] .pixar-editorial-admin-hero p{color:#edf6ff!important}
html[data-ui="admin"] .pixar-editorial-admin-hero .ui-kicker{color:#ffe073!important}
html[data-ui="admin"] .admin-editorial-filter{
  color:#173f67!important;
  background:#ffffff!important;
  border-color:#bfcfe0!important;
  font-weight:950!important;
}
html[data-ui="admin"] .admin-editorial-filter.is-active{
  color:#ffffff!important;
  background:#0b4e96!important;
  border-color:#0b4e96!important;
  box-shadow:0 7px 18px rgba(11,78,150,.22)!important;
}
html[data-ui="user"] .editorial-filter{
  color:#123f70!important;
  background:#f2f7fd!important;
  border-color:#bdd1e7!important;
  font-weight:950!important;
}
html[data-ui="user"] .editorial-filter:hover,
html[data-ui="user"] .editorial-filter.is-active{
  color:#ffffff!important;
  background:#073e7d!important;
  border-color:#073e7d!important;
}

/* ========================================================================
   FANTA6 0.9.099 · PASS 2 — HOME UTENTE CINEMATICA
   Reference: Home mobile scenica, CTA formazione dominante, mascotta viva,
   situazione personale immediata, percorso campionato e accessi rapidi.
   ======================================================================== */
html[data-ui="user"] .user-home-shell{
  gap:16px!important;
  padding:18px!important;
  border:1px solid rgba(103,190,255,.28)!important;
  background:
    radial-gradient(circle at 88% 5%,rgba(255,205,74,.20),transparent 21rem),
    radial-gradient(circle at 4% 38%,rgba(0,199,255,.18),transparent 24rem),
    linear-gradient(165deg,#073d8a 0%,#082a66 39%,#061a43 72%,#041331 100%)!important;
  box-shadow:0 28px 70px rgba(2,17,48,.34),inset 0 1px rgba(255,255,255,.08)!important;
}
html[data-ui="user"] .user-home-shell:before{
  opacity:.42!important;
  background:
    radial-gradient(circle at 15% 8%,rgba(255,255,255,.65) 0 1px,transparent 2px),
    radial-gradient(circle at 36% 13%,rgba(255,255,255,.40) 0 1px,transparent 2px),
    radial-gradient(circle at 67% 7%,rgba(255,255,255,.48) 0 1px,transparent 2px),
    linear-gradient(118deg,transparent 0 13%,rgba(62,191,255,.08) 13.2% 13.5%,transparent 13.8% 100%),
    linear-gradient(72deg,transparent 0 81%,rgba(255,225,127,.08) 81.2% 81.5%,transparent 81.8% 100%)!important;
  background-size:auto!important;
  mask-image:linear-gradient(to bottom,#000 0 74%,transparent 96%)!important;
}



html[data-ui="user"] .user-home-welcome{position:relative;z-index:3;max-width:66%}
html[data-ui="user"] .user-home-welcome .user-kicker{font-size:.72rem!important;letter-spacing:.13em!important;color:#ffdb63!important}


html[data-ui="user"] .home-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
html[data-ui="user"] .home-hero-chips span{
  display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;
  border:1px solid rgba(255,255,255,.18);border-radius:999px;
  background:rgba(1,21,58,.34);color:#fff;font-size:.7rem;font-weight:900;letter-spacing:.025em;
  box-shadow:inset 0 1px rgba(255,255,255,.08);
}
html[data-ui="user"] .home-mascot-scene{
  position:absolute;z-index:2;right:18px;bottom:0;
  width:245px;height:204px;
  display:flex;align-items:flex-end;justify-content:center;
}
html[data-ui="user"] .home-mascot-scene:after{
  content:"";position:absolute;left:13%;right:13%;bottom:9px;height:27px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(78,203,255,.47),rgba(78,203,255,0) 69%);
  filter:blur(2px);
}
html[data-ui="user"] .home-mascot-character{
  position:relative;z-index:3;display:block;
  width:auto!important;max-width:215px!important;height:auto!important;max-height:192px!important;
  object-fit:contain!important;object-position:center bottom!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  filter:drop-shadow(0 13px 16px rgba(0,0,0,.30));
}
html[data-ui="user"] .home-scene-orb{position:absolute;border-radius:50%;pointer-events:none}
html[data-ui="user"] .home-scene-orb.orb-a{width:170px;height:170px;right:16px;bottom:21px;background:radial-gradient(circle,rgba(65,197,255,.23),rgba(65,197,255,0) 67%);border:1px solid rgba(121,215,255,.16)}
html[data-ui="user"] .home-scene-orb.orb-b{width:112px;height:112px;right:46px;bottom:44px;border:1px solid rgba(255,222,104,.30);box-shadow:0 0 30px rgba(255,204,50,.07)}
html[data-ui="user"] .home-mascot-name{
  position:absolute;z-index:4;right:4px;bottom:8px;max-width:190px;
  padding:6px 10px;border-radius:999px;background:rgba(4,25,65,.82);border:1px solid rgba(255,255,255,.15);
  color:#fff;font-size:.64rem;font-weight:1000;letter-spacing:.08em;text-transform:uppercase;text-align:center;
  box-shadow:0 8px 18px rgba(0,0,0,.19);
}
html[data-ui="user"] .home-mascot-fallback{position:relative;z-index:3}

html[data-ui="user"] .formation-command-cinematic{
  grid-column:1/-1!important;
  grid-template-columns:110px minmax(0,1fr) minmax(250px,.52fr)!important;
  gap:18px!important;
  min-height:174px!important;
  padding:20px 22px!important;
  border:2px solid rgba(255,255,255,.23)!important;
  border-radius:28px!important;
  overflow:hidden;
  position:relative;
}
html[data-ui="user"] .formation-command-cinematic:before{
  content:"";position:absolute;width:290px;height:290px;left:-128px;top:-168px;border-radius:50%;
  background:rgba(255,255,255,.10);box-shadow:0 0 0 34px rgba(255,255,255,.025);pointer-events:none;
}
html[data-ui="user"] .formation-command-cinematic:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.09),transparent 32% 100%);
}
html[data-ui="user"] .formation-command-cinematic>*{position:relative;z-index:2}
html[data-ui="user"] .formation-command-visual{
  position:relative;width:94px;height:108px;display:grid;place-items:center;justify-self:center;
  border-radius:25px;background:linear-gradient(150deg,rgba(255,255,255,.28),rgba(255,255,255,.09));
  border:1px solid rgba(255,255,255,.34);box-shadow:0 15px 26px rgba(51,4,26,.17),inset 0 1px rgba(255,255,255,.24);
}
html[data-ui="user"] .formation-clipboard{font-size:3.2rem;filter:drop-shadow(0 6px 8px rgba(0,0,0,.18))}
html[data-ui="user"] .formation-ball{position:absolute;right:-13px;bottom:-9px;font-size:2.05rem;filter:drop-shadow(0 6px 8px rgba(0,0,0,.22));transform:rotate(8deg)}
html[data-ui="user"] .formation-command-cinematic .ui-kicker{font-size:12px!important;letter-spacing:.13em!important;color:rgba(255,255,255,.82)!important}
html[data-ui="user"] .formation-command-cinematic h2{font-size:clamp(2rem,4.7vw,2.85rem)!important;line-height:.98!important;margin:.22rem 0 .5rem!important;text-shadow:0 3px 12px rgba(0,0,0,.12)}
html[data-ui="user"] .formation-command-cinematic .formation-deadline-row{gap:8px!important}
html[data-ui="user"] .formation-command-cinematic .formation-deadline-row>strong{
  display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:12px;
  background:rgba(35,12,49,.25);border:1px solid rgba(255,255,255,.14);font-size:.88rem!important;
}
html[data-ui="user"] .formation-command-cinematic .deadline-countdown{
  min-height:36px!important;padding:7px 11px!important;background:rgba(35,12,49,.38)!important;border-radius:12px!important;font-size:.88rem!important;
}
html[data-ui="user"] .formation-command-cinematic p{font-size:.82rem!important;margin:.48rem 0 0!important}
html[data-ui="user"] .formation-command-cinematic .formation-main-action{
  min-height:98px!important;padding:18px!important;border-radius:22px!important;
  font-size:1.28rem!important;line-height:1.1!important;
  box-shadow:0 14px 28px rgba(35,8,25,.23),inset 0 1px rgba(255,255,255,.72)!important;
}
html[data-ui="user"] .formation-command-cinematic .formation-main-action span{font-size:2rem!important}

html[data-ui="user"] .home-status-card,html[data-ui="user"] .home-phase-card{
  border:1px solid rgba(71,203,255,.52)!important;
  background:linear-gradient(150deg,rgba(11,72,151,.94),rgba(5,39,93,.97))!important;
  box-shadow:0 15px 30px rgba(0,0,0,.15),inset 0 1px rgba(255,255,255,.10)!important;
}
html[data-ui="user"] .home-status-card{position:relative;overflow:hidden}
html[data-ui="user"] .home-status-card:after{content:"";position:absolute;width:180px;height:180px;right:-90px;bottom:-115px;border-radius:50%;background:rgba(66,194,255,.12);pointer-events:none}
html[data-ui="user"] .home-status-title,html[data-ui="user"] .home-phase-head{position:relative;z-index:1}
html[data-ui="user"] .home-status-title h2,html[data-ui="user"] .home-phase-head h2{font-size:1.36rem!important}
html[data-ui="user"] .projection-pill{box-shadow:0 7px 16px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.75)!important}
html[data-ui="user"] .home-kpis{border-color:rgba(255,255,255,.15)!important;background:rgba(0,17,54,.32)!important;box-shadow:inset 0 1px rgba(255,255,255,.04)}
html[data-ui="user"] .home-kpis>div{position:relative;z-index:1}
html[data-ui="user"] .home-kpis strong{font-size:1.72rem!important;text-shadow:0 2px 8px rgba(0,0,0,.20)}
html[data-ui="user"] .projection-message{position:relative;z-index:1;color:#ffe066!important;font-size:.86rem!important}
html[data-ui="user"] .league-progress:before{height:5px!important;background:linear-gradient(90deg,#27ca74 0 28%,rgba(255,255,255,.17) 28% 100%)!important}
html[data-ui="user"] .league-step{border-width:2px!important;box-shadow:0 0 0 4px #092b62,0 6px 13px rgba(0,0,0,.16)!important}
html[data-ui="user"] .league-step.active{box-shadow:0 0 0 5px rgba(84,181,255,.22),0 0 27px rgba(99,190,255,.38)!important}

html[data-ui="user"] .home-shortcuts-wrap{
  grid-column:1/-1!important;
  display:grid;gap:12px;
  padding:16px;border:1px solid rgba(87,192,255,.25);border-radius:24px;
  background:linear-gradient(155deg,rgba(11,59,126,.55),rgba(5,29,76,.70));
  box-shadow:0 14px 30px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.06);
}
html[data-ui="user"] .home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}
html[data-ui="user"] .home-section-heading h2{margin:2px 0 0;color:#fff;font-size:1.35rem}
html[data-ui="user"] .home-section-heading .ui-kicker{color:#8bd7ff}
html[data-ui="user"] .home-section-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:rgba(31,205,126,.15);border:1px solid rgba(73,224,151,.35);color:#80efb4;font-size:.67rem;font-weight:1000;letter-spacing:.08em}
html[data-ui="user"] .home-shortcuts{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
html[data-ui="user"] .home-quick-card{
  position:relative;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;
  align-content:center;justify-items:center;min-height:132px!important;padding:15px 12px!important;
  text-align:center;border-radius:21px!important;border-color:rgba(105,203,255,.36)!important;
  background:linear-gradient(155deg,var(--tone-a,#1a6bc0),var(--tone-b,#0a3d83))!important;
  box-shadow:0 13px 26px rgba(0,0,0,.17),inset 0 1px rgba(255,255,255,.16)!important;
}
html[data-ui="user"] .home-quick-card:before{opacity:.38!important}
html[data-ui="user"] .home-quick-card>b{position:absolute;right:10px;top:7px;opacity:.62;font-size:1.15rem!important}
html[data-ui="user"] .home-quick-icon{
  width:54px!important;height:54px!important;margin-bottom:2px;border-radius:17px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.07))!important;
  border:1px solid rgba(255,255,255,.17);font-size:1.65rem!important;
  box-shadow:0 8px 16px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.15);
}
html[data-ui="user"] .home-quick-card strong{font-size:1rem!important;line-height:1.05!important}
html[data-ui="user"] .home-quick-card small{max-width:180px;color:#d0e4ff!important;font-size:.72rem!important;line-height:1.18!important}
html[data-ui="user"] .home-secondary-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-ui="user"] .home-secondary-links a{
  min-height:44px;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 10px;
  border-radius:14px;text-decoration:none;color:#e8f4ff;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.10);
  font-size:.75rem;font-weight:800;transition:transform .15s ease,background .15s ease;
}
html[data-ui="user"] .home-secondary-links a:hover{transform:translateY(-1px);background:rgba(255,255,255,.10)}
html[data-ui="user"] .home-secondary-links a.home-notices-link{
  color:#ffffff!important;
  background:linear-gradient(145deg,#0f65ad,#073d79)!important;
  border-color:rgba(121,207,255,.68)!important;
  box-shadow:0 8px 18px rgba(0,22,63,.24),inset 0 1px rgba(255,255,255,.16)!important;
}
html[data-ui="user"] .home-secondary-links a.home-notices-link:hover{
  background:linear-gradient(145deg,#1473bf,#08488d)!important;
}
html[data-ui="user"] .home-folklore-signature{
  grid-column:1/-1!important;min-height:74px!important;padding:13px 18px!important;border-radius:22px!important;
  background:
    radial-gradient(circle at 8% 50%,rgba(31,183,255,.20),transparent 8rem),
    radial-gradient(circle at 92% 50%,rgba(255,201,43,.18),transparent 8rem),
    linear-gradient(135deg,#04183c,#062a63)!important;
  border:1px solid rgba(255,214,91,.28)!important;
  box-shadow:0 12px 26px rgba(0,0,0,.16)!important;
}
html[data-ui="user"] .home-folklore-signature>span{font-size:1.7rem;filter:drop-shadow(0 5px 8px rgba(0,0,0,.2))}
html[data-ui="user"] .home-folklore-signature>div{display:grid;gap:1px;text-align:center}
html[data-ui="user"] .home-folklore-signature strong{font-size:1.02rem;letter-spacing:.055em;color:#ffd84c}
html[data-ui="user"] .home-folklore-signature small{font-size:.71rem;font-weight:900;letter-spacing:.09em;color:#fff}

/* Popup consegna: più vicino al riferimento visivo approvato. */
.formation-reminder-backdrop{background:rgba(2,12,36,.78)!important;backdrop-filter:blur(11px)!important}
.reminder-cinematic{
  width:min(470px,100%)!important;padding:0 24px 22px!important;overflow:hidden;
  border:2px solid rgba(90,185,255,.86)!important;border-radius:30px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 74%,#eef5ff 100%)!important;
  box-shadow:0 36px 90px rgba(0,0,0,.43),0 0 0 7px rgba(74,171,255,.11)!important;
}
.reminder-cinematic .reminder-scene{
  position:relative;height:142px;margin:0 -24px 18px;overflow:hidden;
  background:
    radial-gradient(circle at 22% 45%,rgba(76,199,255,.26),transparent 8rem),
    radial-gradient(circle at 83% 23%,rgba(255,207,68,.18),transparent 8rem),
    linear-gradient(145deg,#073c85,#071d4b);
  border-bottom:1px solid #b9d9f4;
}
.reminder-cinematic .reminder-scene:after{content:"";position:absolute;left:7%;right:7%;bottom:5px;height:23px;border-radius:50%;background:radial-gradient(ellipse,rgba(85,205,255,.35),transparent 68%)}
.reminder-cinematic .reminder-scene img{position:absolute;z-index:2;right:13px;bottom:-2px;width:auto;max-width:145px;height:auto;max-height:136px;object-fit:contain;filter:drop-shadow(0 10px 11px rgba(0,0,0,.30))}
.reminder-cinematic .reminder-visual{position:absolute;z-index:3;left:32px;bottom:26px;width:96px;height:86px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(220,240,255,.95));border:1px solid rgba(255,255,255,.72);box-shadow:0 14px 25px rgba(0,0,0,.22);font-size:2.4rem!important}
.reminder-cinematic .reminder-visual span{position:absolute;left:-10px;top:-13px;font-size:2.1rem;filter:drop-shadow(0 5px 8px rgba(0,0,0,.22))}
.reminder-cinematic .reminder-visual b{font-size:2.8rem;filter:drop-shadow(0 5px 6px rgba(0,0,0,.13))}
.reminder-cinematic .ui-kicker{color:#2876bd!important;letter-spacing:.12em}
.reminder-cinematic h2{margin:.35rem 0 .8rem!important;color:#10264e!important;font-size:clamp(2rem,7vw,2.65rem)!important;line-height:.92!important;letter-spacing:-.03em}
.reminder-cinematic .reminder-deadline{margin:.55rem 0 .3rem;padding:10px 12px;border-radius:14px;background:#fff5d8;color:#624a09;border:1px solid #f0d174;font-size:.96rem!important;font-weight:800}
.reminder-cinematic #formation-reminder-countdown{display:block!important;margin:7px 0 9px!important;padding:10px 13px!important;border-radius:14px!important;background:#ffe4e7!important;border:1px solid #ffc1ca!important;color:#b51f3e!important;font-size:1.05rem!important}
.reminder-cinematic .reminder-warning{margin:6px 0 0;color:#43546c;font-size:.88rem;line-height:1.42}
.reminder-cinematic .reminder-warning strong{color:#9d1c37}
.reminder-cinematic .reminder-submit{display:flex!important;align-items:center;justify-content:center;gap:12px;min-height:61px;margin:15px 0 6px!important;border-radius:17px!important;background:linear-gradient(135deg,#31cf73,#12a24f)!important;color:#fff!important;font-size:1.15rem!important;font-weight:1000;box-shadow:0 12px 22px rgba(18,145,72,.26)!important}
.reminder-cinematic .reminder-submit span{font-size:1.7rem;line-height:1}
.reminder-cinematic .reminder-later{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:auto!important;min-height:44px;margin-top:4px;padding:10px 16px!important;
  border:1px solid #bfd7ee!important;border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff,#edf5ff)!important;
  color:#163f6f!important;font-weight:950!important;text-shadow:none!important;
  box-shadow:0 5px 12px rgba(22,63,111,.10)!important;
}
.reminder-cinematic .reminder-later:hover{
  background:linear-gradient(180deg,#ffffff,#e5f1ff)!important;
  color:#10365f!important;border-color:#9fc8ea!important;
}
.reminder-cinematic .reminder-close{z-index:5;top:12px!important;right:12px!important;background:rgba(255,255,255,.94)!important;color:#30435d!important;box-shadow:0 6px 14px rgba(0,0,0,.18)!important}

@media(max-width:900px){

  html[data-ui="user"] .user-home-welcome{max-width:64%}
  html[data-ui="user"] .home-mascot-scene{width:205px;height:180px;right:8px}
  html[data-ui="user"] .home-mascot-character{max-width:184px!important;max-height:171px!important}
  html[data-ui="user"] .formation-command-cinematic{grid-template-columns:88px minmax(0,1fr)!important}
  html[data-ui="user"] .formation-command-cinematic .formation-command-action{grid-column:1/-1}
  html[data-ui="user"] .formation-command-cinematic .formation-main-action{min-height:66px!important}
}
@media(max-width:700px){
  html[data-ui="user"] .user-home-shell{padding:11px!important;gap:11px!important;border-radius:24px!important}

  html[data-ui="user"] .user-home-welcome{max-width:64%;padding-top:2px}


  html[data-ui="user"] .home-hero-chips{gap:5px;margin-top:10px}
  html[data-ui="user"] .home-hero-chips span{min-height:27px;padding:5px 7px;font-size:.59rem}
  html[data-ui="user"] .home-mascot-scene{width:158px;height:162px;right:1px;bottom:0}
  html[data-ui="user"] .home-mascot-character{max-width:150px!important;max-height:153px!important}
  html[data-ui="user"] .home-mascot-name{right:4px;bottom:6px;max-width:145px;padding:4px 7px;font-size:.52rem}
  html[data-ui="user"] .home-scene-orb.orb-a{width:130px;height:130px;right:8px;bottom:16px}
  html[data-ui="user"] .home-scene-orb.orb-b{width:88px;height:88px;right:28px;bottom:37px}
  html[data-ui="user"] .formation-command-cinematic{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;min-height:0!important;padding:14px!important;border-radius:22px!important}
  html[data-ui="user"] .formation-command-visual{width:58px;height:68px;border-radius:18px}
  html[data-ui="user"] .formation-clipboard{font-size:2.15rem}
  html[data-ui="user"] .formation-ball{font-size:1.45rem;right:-8px;bottom:-6px}
  html[data-ui="user"] .formation-command-cinematic h2{font-size:1.62rem!important}
  html[data-ui="user"] .formation-command-cinematic .formation-deadline-row>strong,html[data-ui="user"] .formation-command-cinematic .deadline-countdown{min-height:31px!important;padding:5px 8px!important;font-size:.7rem!important}
  html[data-ui="user"] .formation-command-cinematic p{font-size:.72rem!important}
  html[data-ui="user"] .formation-command-cinematic .formation-command-action{grid-column:1/-1}
  html[data-ui="user"] .formation-command-cinematic .formation-main-action{min-height:58px!important;border-radius:16px!important;font-size:1.03rem!important}
  html[data-ui="user"] .home-status-card,html[data-ui="user"] .home-phase-card{padding:14px!important;border-radius:20px!important}
  html[data-ui="user"] .home-shortcuts-wrap{padding:11px;border-radius:20px}
  html[data-ui="user"] .home-section-heading{align-items:center}
  html[data-ui="user"] .home-section-heading h2{font-size:1.06rem}
  html[data-ui="user"] .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html[data-ui="user"] .home-quick-card{min-height:112px!important;padding:11px 8px!important;border-radius:18px!important}
  html[data-ui="user"] .home-quick-icon{width:47px!important;height:47px!important;border-radius:15px!important;font-size:1.45rem!important}
  html[data-ui="user"] .home-quick-card strong{font-size:.86rem!important}
  html[data-ui="user"] .home-quick-card small{font-size:.64rem!important}
  html[data-ui="user"] .home-secondary-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  html[data-ui="user"] .home-secondary-links a{min-height:40px;padding:7px 5px;font-size:.64rem;border-radius:12px}
  html[data-ui="user"] .home-folklore-signature{min-height:65px!important;padding:10px 11px!important}
  html[data-ui="user"] .home-folklore-signature strong{font-size:.88rem}
  html[data-ui="user"] .home-folklore-signature small{font-size:.6rem}
  html[data-ui="user"] .home-folklore-signature>span{font-size:1.4rem}
}
@media(max-width:420px){

  html[data-ui="user"] .user-home-welcome{max-width:62%}



  html[data-ui="user"] .home-hero-chips span:nth-child(2){display:none}
  html[data-ui="user"] .home-mascot-scene{width:142px;height:153px;right:-3px}
  html[data-ui="user"] .home-mascot-character{max-width:136px!important;max-height:146px!important}
  html[data-ui="user"] .home-mascot-name{max-width:130px;font-size:.48rem}
  html[data-ui="user"] .home-kpis span{font-size:.62rem!important}
  html[data-ui="user"] .home-kpis strong{font-size:1.35rem!important}
  html[data-ui="user"] .home-secondary-links a{font-size:.59rem}
  .reminder-cinematic{padding:0 17px 18px!important;border-radius:25px!important}
  .reminder-cinematic .reminder-scene{height:124px;margin:0 -17px 15px}
  .reminder-cinematic .reminder-scene img{max-width:118px;max-height:118px;right:8px}
  .reminder-cinematic .reminder-visual{left:23px;bottom:20px;width:80px;height:74px;border-radius:20px}
  .reminder-cinematic .reminder-visual b{font-size:2.35rem}.reminder-cinematic .reminder-visual span{font-size:1.8rem}
  .reminder-cinematic h2{font-size:2rem!important}
}
@media(max-width:420px){
  html[data-ui="user"] .home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
html[data-ui="user"] .f6-mascot-glow{
  position:absolute;z-index:-1;left:18%;right:18%;top:17%;height:57%;border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--mascot-accent) 32%,transparent),transparent 68%);filter:blur(3px);
}
@keyframes f6CrownFloat{0%,100%{transform:translateX(-50%) rotate(-6deg) translateY(0)}50%{transform:translateX(-50%) rotate(-3deg) translateY(-4px)}}
html[data-ui="user"] .f6-mascot-fallback{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#0c4f91;color:#fff;font-family:var(--f6-display);font-size:.8rem}

@media(max-width:700px){
}
@media(max-width:390px){
}
@media (prefers-reduced-motion: reduce){}

/* ========================================================================
   FANTA6 0.9.099 · PASS 4 — RIFINITURA FINALE UI/UX
   Coerenza visuale, accessibilità, micro-interazioni e protezione mobile.
   Nessuna modifica a regole, punteggi, database o identità mascotte.
   ======================================================================== */
html[data-ui="admin"] .admin-top-nav a.nav-current{
  color:#fff!important;
  background:linear-gradient(180deg,rgba(31,132,231,.95),rgba(9,73,151,.98))!important;
  border-color:rgba(130,211,255,.72)!important;
  box-shadow:0 8px 18px rgba(0,41,102,.30),inset 0 1px rgba(255,255,255,.22)!important;
  opacity:1!important;
}
html[data-ui="user"] .participant-mini-nav a.nav-current{
  color:#fff!important;
  background:rgba(28,115,209,.94)!important;
  border-color:rgba(129,208,255,.62)!important;
}

/* Focus sempre percepibile: importante sui controlli ad alto impatto. */
html[data-ui="user"] .formation-main-action:focus-visible,
html[data-ui="user"] .home-quick-card:focus-visible,
html[data-ui="user"] .home-secondary-links a:focus-visible,
html[data-ui="user"] .f6-zone-filters button:focus-visible,
html[data-ui="user"] .f6-standings-tabs a:focus-visible,
html[data-ui="user"] .reminder-submit:focus-visible,
html[data-ui="user"] .reminder-later:focus-visible,
html[data-ui="user"] .reminder-close:focus-visible,
html[data-ui="admin"] .admin-top-nav a:focus-visible,
html[data-ui="admin"] .button:focus-visible,
html[data-ui="admin"] button:focus-visible{
  outline:3px solid #ffd95b!important;
  outline-offset:3px!important;
}

/* Popup: CTA al centro del flusso visivo anche quando riceve il focus. */
html[data-ui="user"] .formation-reminder.reminder-cinematic:focus{outline:none}
html[data-ui="user"] .formation-reminder .reminder-submit:focus-visible{
  box-shadow:0 0 0 4px rgba(255,217,91,.38),0 14px 28px rgba(0,104,48,.28)!important;
}

/* Tablet/mobile: impedisce sovrapposizioni tra testo, mascotta e CTA. */
@media(max-width:700px){

  html[data-ui="user"] .user-home-welcome{max-width:63%!important}
  html[data-ui="user"] .home-mascot-scene{right:5px!important;width:42%!important;max-width:185px!important;height:185px!important}
  html[data-ui="user"] .home-mascot-character{max-width:170px!important;max-height:174px!important}
  html[data-ui="user"] .home-mascot-name{right:2px!important;max-width:155px!important;font-size:.56rem!important}
  html[data-ui="user"] .formation-command-cinematic{grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important}
  html[data-ui="user"] .formation-command-cinematic .formation-command-action{grid-column:1/-1!important;width:100%!important}
  html[data-ui="user"] .formation-command-cinematic .formation-main-action{width:100%!important;min-height:58px!important}
}

@media(max-width:430px){
  html[data-ui="user"] .user-home-shell{padding:10px!important;gap:12px!important}

  html[data-ui="user"] .user-home-welcome{max-width:68%!important}


  html[data-ui="user"] .home-hero-chips{gap:5px!important;margin-top:10px!important}
  html[data-ui="user"] .home-hero-chips span{min-height:27px!important;padding:4px 7px!important;font-size:.58rem!important}
  html[data-ui="user"] .home-mascot-scene{right:-2px!important;width:40%!important;height:175px!important}
  html[data-ui="user"] .home-mascot-character{max-width:145px!important;max-height:164px!important}
  html[data-ui="user"] .home-mascot-name{display:none!important}
  html[data-ui="user"] .formation-command-cinematic{padding:14px!important;border-radius:22px!important}
  html[data-ui="user"] .formation-command-visual{width:64px!important;min-width:64px!important}
  html[data-ui="user"] .formation-command-copy h2{font-size:clamp(1.35rem,7vw,1.8rem)!important}
}

@media(max-width:360px){

  html[data-ui="user"] .user-home-welcome{max-width:72%!important}
  html[data-ui="user"] .home-mascot-scene{right:-12px!important;width:38%!important;height:158px!important}
  html[data-ui="user"] .home-mascot-character{max-width:126px!important;max-height:148px!important}
  html[data-ui="user"] .formation-command-cinematic{grid-template-columns:1fr!important;text-align:center!important}
  html[data-ui="user"] .formation-command-visual{margin:0 auto!important}
  html[data-ui="user"] .formation-deadline-row{justify-content:center!important}
  html[data-ui="user"] .home-shortcuts{grid-template-columns:1fr!important}
  html[data-ui="user"] .home-secondary-links{grid-template-columns:1fr!important}
}

@media (prefers-reduced-motion: reduce){
  html[data-ui="user"] .home-quick-card,
  html[data-ui="user"] .formation-main-action,
  html[data-ui="user"] .f6-zone-filters button,
  html[data-ui="admin"] .admin-top-nav a{transition:none!important;transform:none!important}
}

/* ==========================================================
   FANTA6 0.9.099 · PASS 4C — GERARCHIA NOMI GIOCATORI
   Giocatore: MAIUSCOLO e forte · club: minuscolo · fascia invariata.
   ========================================================== */
html[data-ui="user"] .formation-player-select,
html[data-ui="user"] .formation-plus-card select{
  text-transform:none!important;
  font-weight:800!important;
}
html[data-ui="user"] .formation-slot-preview strong,
html[data-ui="user"] .formation-summary-row strong{
  font-weight:900!important;
  text-transform:uppercase!important;
}
html[data-ui="user"] .formation-summary-row.has-player small{
  text-transform:none!important;
  letter-spacing:.02em!important;
}
html[data-ui="user"] .formation-summary-row:not(.has-player) small{
  text-transform:uppercase!important;
}

/* =========================================================
   0.9.099 PASS4D · ARCHIVIO GIORNATE + RETTIFICHE UFFICIALI
   ========================================================= */
.history-shell{display:grid;gap:20px}
.history-hero{position:relative;overflow:hidden}
.history-principle{display:grid;gap:5px;padding:16px 18px;border-radius:20px;border:1px solid rgba(103,82,172,.22);background:linear-gradient(145deg,#f7f4ff,#eef5ff);box-shadow:0 10px 26px rgba(37,46,94,.08)}
.history-principle strong{color:#493d8f;font-size:.76rem;letter-spacing:.08em}
.history-principle span{color:#41536c;font-weight:700;line-height:1.45}
.history-round-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.history-round-card{display:grid;gap:14px;padding:20px;border:1px solid #d7e1ef;border-radius:24px;background:linear-gradient(160deg,#fff,#f7faff);box-shadow:0 14px 34px rgba(15,43,81,.10)}
.history-round-card.is-current{border-color:#b7d7f6;background:linear-gradient(160deg,#fff,#eef8ff)}
.history-round-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.history-round-card h2{margin:3px 0 5px;color:#102f5f;font-size:1.55rem}.history-round-card p{margin:0;color:#65768a;font-weight:700}
.history-lock-pill{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#edf2f8;color:#43566d;border:1px solid #d4dfea;font-size:.69rem;font-weight:1000;letter-spacing:.045em}
.history-correction-count{padding:10px 12px;border-radius:14px;background:#fff5cf;color:#6d5200;border:1px solid #efd787;font-weight:850;font-size:.82rem}
.history-round-actions{display:flex;flex-wrap:wrap;gap:9px}
.history-round-selector{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:10px 12px;border:1px solid #d8e3ef;border-radius:18px;background:#f8fbff;box-shadow:0 8px 22px rgba(12,42,78,.06)}
.history-round-selector>span{flex:0 0 auto;color:#617288;font-size:.7rem;font-weight:1000;letter-spacing:.07em}
.history-round-chip{flex:0 0 auto;padding:8px 11px;border-radius:999px;border:1px solid #cbd9e8;background:#fff;color:#31506f;text-decoration:none;font-size:.73rem;font-weight:950}
.history-round-chip.is-active{border-color:#4e3d9a;background:#5542a5;color:#fff;box-shadow:0 7px 18px rgba(72,56,153,.2)}
.history-lock-banner{display:grid;gap:4px;padding:13px 15px;border-radius:17px;border:1px solid #cbd7e5;background:linear-gradient(180deg,#f7f9fc,#edf2f7);color:#405168}
.history-lock-banner strong{font-size:.75rem;letter-spacing:.065em;color:#263c59}.history-lock-banner span{font-weight:750;font-size:.82rem}
.history-lock-banner.has-corrections{border-color:#ecd17a;background:linear-gradient(180deg,#fffaf0,#fff3c9);color:#65501a}
.history-lock-banner.has-corrections strong{color:#785a00}.history-lock-banner details{margin-top:6px}.history-lock-banner summary{cursor:pointer;font-weight:950}.history-lock-banner ul{margin:10px 0 0;padding-left:20px}.history-lock-banner li+li{margin-top:9px}
.history-admin-lock-shell{display:grid;gap:18px}.history-admin-lock-card{border:1px solid #cbd7e5;background:linear-gradient(160deg,#fff,#f3f6fa)}.history-admin-lock-card h1{margin:5px 0 10px}
.official-correction-start{border:1px solid #f0c56d;background:linear-gradient(160deg,#fffaf0,#fff3dc)}
.official-correction-live{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px;padding:18px 20px;border:2px solid #d9534f;border-radius:22px;background:linear-gradient(135deg,#fff6f5,#ffe4df);box-shadow:0 14px 34px rgba(139,42,32,.12)}
.official-correction-live h1{margin:3px 0 7px;color:#8f2e25;font-size:1.55rem}.official-correction-live p{margin:4px 0;color:#6c3d36;font-weight:720}
@media(max-width:760px){.history-round-grid{grid-template-columns:1fr}.history-round-card-head,.official-correction-live{display:grid}.history-round-actions{display:grid;grid-template-columns:1fr}.history-round-actions .button{width:100%;text-align:center}.history-round-selector{border-radius:14px}}

/* PASS4D · stato archivio: precedente ancora in consolidamento vs sigillata. */
.history-round-card.is-sealed{border-color:#c8d6e6;background:linear-gradient(160deg,#fff,#f4f7fb)}
.history-round-card.is-provisional{border-color:#e8c77b;background:linear-gradient(160deg,#fffdf7,#fff7df)}
.history-lock-pill.is-sealed{background:#edf2f8;color:#43566d;border-color:#d4dfea}
.history-lock-pill.is-provisional{background:#fff0bd;color:#765500;border-color:#e6c66d}
.history-lock-banner.is-provisional{border-color:#e7c979;background:linear-gradient(180deg,#fffdf5,#fff4d5);color:#6b571d}
.history-lock-banner.is-provisional strong{color:#765800}

/* ============================================================
   FANTA6 0.9.099 PASS 4E — RICERCA FORMAZIONE TYPEAHEAD
   ============================================================ */
.formation-search-feedback{
  display:block;
  min-height:17px;
  margin-top:1px;
  padding:0 2px;
  color:#66798d;
  font-size:.69rem;
  font-weight:800;
  line-height:1.25;
}
.formation-search-feedback.is-match{color:#147348}
.formation-search-feedback.is-many{color:#526b86}
.formation-search-feedback.is-empty{color:#a33a43}
.formation-search-feedback.is-locked{color:#9a6b08}
.formation-slot:has(.formation-search-feedback.is-match) .formation-player-select{
  border-color:#65b98c!important;
  box-shadow:0 0 0 3px rgba(45,151,94,.10)!important;
}
@media(max-width:760px){
  .formation-search-feedback{font-size:.72rem;min-height:18px}
}

/* FANTA6 0.9.100 P3 · GIOCATORI USATI: ricerca read-only + stato utilizzo */
html[data-ui="user"] .used-search-panel{padding:18px;border-radius:22px;border:1px solid rgba(255,191,71,.34);background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(255,247,231,.98));box-shadow:0 14px 30px rgba(74,42,10,.12)}
html[data-ui="user"] .used-search-copy strong{display:block;margin-top:3px;color:#4b2608;font-family:var(--f6-display)!important;font-size:1.32rem}
html[data-ui="user"] .used-search-copy p{margin:5px 0 0;color:#765536}
html[data-ui="user"] .used-search-form{margin-top:14px}
html[data-ui="user"] .used-search-form>label{display:block;margin-bottom:6px;color:#67411f;font-size:.79rem;font-weight:800;text-transform:uppercase;letter-spacing:.045em}
html[data-ui="user"] .used-search-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
html[data-ui="user"] .used-search-controls input{width:100%;min-width:0;border:1px solid #e4c98f;border-radius:14px;background:#fff;padding:13px 14px;font:inherit;color:#3f260f;outline:none}
html[data-ui="user"] .used-search-controls input:focus{border-color:#c98a18;box-shadow:0 0 0 3px rgba(224,161,45,.18)}
html[data-ui="user"] .used-search-controls .button{margin:0;white-space:nowrap}
html[data-ui="user"] .used-search-form small{display:block;margin-top:7px;color:#a15a19;font-weight:700}
html[data-ui="user"] .used-search-results{margin-top:15px;display:grid;gap:9px}
html[data-ui="user"] .used-search-results-head{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#68431e}
html[data-ui="user"] .used-search-results-head span{min-width:30px;text-align:center;padding:3px 8px;border-radius:999px;background:#f3dfb5;font-weight:800}
html[data-ui="user"] .used-search-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.7fr);gap:12px;align-items:center;padding:12px 13px;border-radius:16px;border:1px solid #ead8b7;background:#fff}
html[data-ui="user"] .used-search-result.is-used{border-color:#e1ad9c;background:#fff8f5}
html[data-ui="user"] .used-search-result.is-free{border-color:#bcdabf;background:#f8fff8}
html[data-ui="user"] .used-search-main{display:flex;align-items:center;gap:10px;min-width:0}
html[data-ui="user"] .used-search-main>div{min-width:0}
html[data-ui="user"] .used-search-main strong{display:block;color:#3c230d;font-family:var(--f6-display)!important;font-size:1.03rem;overflow-wrap:anywhere}
html[data-ui="user"] .used-search-main span:not(.used-role-badge){display:block;margin-top:2px;color:#806346;font-size:.86rem;overflow-wrap:anywhere}
html[data-ui="user"] .used-role-badge{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#efe5d5;color:#5c3c1f;font-weight:900}
html[data-ui="user"] .used-search-status{min-width:0;padding-left:12px;border-left:1px solid #eadfca}
html[data-ui="user"] .used-search-status strong{display:block;color:#55270e;font-size:.9rem}
html[data-ui="user"] .used-search-result.is-free .used-search-status strong{color:#23622c}
html[data-ui="user"] .used-search-status span{display:block;margin-top:3px;color:#806346;font-size:.8rem;line-height:1.25;overflow-wrap:anywhere}
html[data-ui="user"] .used-search-empty{padding:13px;border-radius:14px;background:#fff;border:1px dashed #d7bd8a;color:#795332}
@media(max-width:680px){
  html[data-ui="user"] .used-search-controls{grid-template-columns:1fr}
  html[data-ui="user"] .used-search-controls .button{width:100%}
  html[data-ui="user"] .used-search-result{grid-template-columns:1fr}
  html[data-ui="user"] .used-search-status{padding-left:0;padding-top:9px;border-left:0;border-top:1px solid #eadfca}
}


/* STABILIZZAZIONE 0.9.100 P4 · ADMIN GESTIONE · INTESTAZIONI TABELLE STICKY
   Scope volutamente limitato a /admin/setup: nessun effetto sulle altre viste ADMIN/utente. */
html[data-ui="admin"] .admin-setup-page .table-scroll{
  position:relative;
  max-height:min(68vh,720px);
  overflow:auto;
  overscroll-behavior:contain;
}
html[data-ui="admin"] .admin-setup-page .table-scroll table > thead > tr > th,
html[data-ui="admin"] .admin-setup-page .table-scroll table > tbody > tr:first-child > th{
  position:sticky;
  top:0;
  z-index:7;
  background:linear-gradient(180deg,#eef6ff,#e4eef9);
  box-shadow:0 2px 0 #d5e1ec,0 5px 10px rgba(20,58,96,.08);
  background-clip:padding-box;
}
@media(max-width:760px){
  html[data-ui="admin"] .admin-setup-page .table-scroll{max-height:62vh}
}

/* FANTA6 0.9.100 P7 · AUTOCOMPLETE FORMAZIONE IMMEDIATO */
.formation-search-label{position:relative}
.formation-typeahead{display:none;margin-top:1px;border:1px solid #c7d8e8;border-radius:14px;background:#fff;box-shadow:0 12px 26px rgba(35,66,96,.15);overflow:hidden;max-height:260px;overflow-y:auto;position:relative;z-index:8}
.formation-typeahead.is-open{display:block}
.formation-typeahead-item{width:100%;display:grid;gap:2px;text-align:left;border:0;border-bottom:1px solid #edf2f7;background:#fff;padding:10px 12px;cursor:pointer;color:#22384d;font:inherit}
.formation-typeahead-item:last-of-type{border-bottom:0}
.formation-typeahead-item strong{font-family:var(--f6-display)!important;font-size:.93rem;line-height:1.15;color:#173b61}
.formation-typeahead-item span{font-size:.72rem;font-weight:750;color:#718096}
.formation-typeahead-item:hover,.formation-typeahead-item:focus-visible{background:#eef7ff;outline:none}
.formation-typeahead-item.is-selected{background:#edf9f1}
.formation-typeahead-item.is-locked{background:#faf7ef;cursor:not-allowed;opacity:.72}
.formation-typeahead-empty,.formation-typeahead-more{padding:9px 12px;font-size:.72rem;font-weight:800;color:#73869a;background:#f8fbfd}
.formation-typeahead-empty{color:#a33a43}
@media(max-width:760px){.formation-typeahead{max-height:230px}.formation-typeahead-item{padding:11px 12px}.formation-typeahead-item strong{font-size:.96rem}}

@media(max-width:700px){
}


/* ========================================================================
   FANTA6 0.9.102 UX1 — RIFINITURA FINALE CHAMPIONS
   F4-01/F4-02/F4-03/F4-04/F4-05/F4-06/F4-09
   Solo UI/UX e coerenza di navigazione: nessuna regola di punteggio cambia.
   ======================================================================== */

/* F4-01 · Giornate storiche: stato esplicito, nessun falso invito all'attivazione. */
html[data-ui="admin"] .admin-round-state{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;
  border-radius:999px;font-size:12px;font-weight:1000;letter-spacing:.035em;white-space:nowrap
}
html[data-ui="admin"] .admin-round-state.is-active{background:#def7e9;color:#12653f;border:1px solid #9fd5b8}
html[data-ui="admin"] .admin-round-state.is-archived{background:#edf1f6;color:#4b6077;border:1px solid #c8d3df}
html[data-ui="admin"] .admin-setup-page tr.archived-row td{background:#f8fafc!important;color:#68798d}

/* F4-02 · Pagine condivise aperte dall'ADMIN: stessa lingua visiva della Control Room. */
html[data-ui="admin"] .history-shell,
html[data-ui="admin"] .account-shell,
html[data-ui="admin"] .scores-section-shell,
html[data-ui="admin"] .admin-standings-shell{display:grid;gap:18px}
html[data-ui="admin"] .user-section-hero,
html[data-ui="admin"] .account-hero{
  position:relative;overflow:hidden;padding:22px 24px;border-radius:26px!important;
  color:#fff!important;border:1px solid rgba(86,173,240,.35)!important;
  background:
    radial-gradient(circle at 90% 0%,rgba(255,213,82,.22),transparent 12rem),
    linear-gradient(135deg,#071c42,#0a4f93 62%,#07172f)!important;
  box-shadow:0 18px 38px rgba(8,36,75,.18)!important
}
html[data-ui="admin"] .user-section-hero h1,
html[data-ui="admin"] .account-hero h1{color:#fff!important;margin:.15rem 0 .25rem!important}
html[data-ui="admin"] .user-section-hero p,
html[data-ui="admin"] .account-hero p{color:#dcecff!important;margin:0!important;font-weight:750}
html[data-ui="admin"] .user-section-hero .ui-kicker,
html[data-ui="admin"] .account-hero .ui-kicker{color:#ffd966!important}
html[data-ui="admin"] .history-principle,
html[data-ui="admin"] .history-round-card,
html[data-ui="admin"] .account-security-card,
html[data-ui="admin"] .team-score-card{
  border-radius:22px!important;background:linear-gradient(160deg,#fff,#f7fbff)!important;
  border:1px solid #cedceb!important;box-shadow:0 12px 28px rgba(12,47,87,.10)!important
}

/* F4-04 · Ricerca formazione: lista leggibile subito, compatta, mobile-first, no "pillole cicciotte". */
.formation-typeahead{
  border-radius:12px!important;border:1px solid #b9ccdf!important;background:#fff!important;
  box-shadow:0 14px 30px rgba(20,56,91,.18)!important
}
.formation-typeahead-item{
  -webkit-appearance:none!important;appearance:none!important;transform:none!important;filter:none!important;
  width:100%!important;min-height:0!important;margin:0!important;padding:9px 11px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;
  border:0!important;border-bottom:1px solid #e5edf5!important;border-radius:0!important;
  background:#fff!important;color:#0c315f!important;box-shadow:none!important;text-align:left!important
}
.formation-typeahead-item strong{
  color:#0c315f!important;font-size:.92rem!important;line-height:1.15!important;font-weight:1000!important
}
.formation-typeahead-item span{
  color:#5e7389!important;font-size:.68rem!important;line-height:1.15!important;font-weight:850!important;text-align:right!important
}
.formation-typeahead-item:hover,.formation-typeahead-item:focus-visible{
  background:#eaf5ff!important;color:#0a4f91!important;outline:2px solid #8cc5f2!important;outline-offset:-2px!important
}
.formation-typeahead-item.is-selected{background:#e5f8ed!important}
.formation-typeahead-item.is-locked{background:#f4f5f7!important;color:#748292!important;opacity:1!important}
.formation-typeahead-item.is-locked strong,.formation-typeahead-item.is-locked span{color:#7b8794!important}
@media(max-width:620px){
  .formation-typeahead-item{grid-template-columns:1fr!important;gap:2px!important;padding:9px 10px!important}
  .formation-typeahead-item span{text-align:left!important;font-size:.66rem!important}
}

/* F4-05 · Mascotte: protagoniste vere, master asset e resa coerente USER/ADMIN. */
html[data-ui="admin"] .admin-team-card-head{
  align-items:center!important;gap:16px!important;padding:7px 7px 15px!important
}
html[data-ui="admin"] .admin-team-mascot{
  flex:0 0 104px!important;width:104px!important;height:104px!important;padding:5px!important;
  object-fit:contain!important;object-position:center bottom!important;border-radius:25px!important;
  border:2px solid #d8e5f2!important;
  background:radial-gradient(circle at 50% 30%,#fff8d8 0,#fff 53%,#e7f3ff 100%)!important;
  box-shadow:0 13px 26px rgba(13,53,95,.16),inset 0 1px #fff!important
}
html[data-ui="admin"] .admin-team-card-title h2{font-size:1.36rem!important}
html[data-ui="user"] .score-team-mascot,
html[data-ui="user"] .formation-hero-mascot img,
html[data-ui="user"] .section-mascot,
html[data-ui="user"] .user-home-mascot-official img{
  object-fit:contain!important;object-position:center bottom!important;
  background:radial-gradient(circle at 50% 28%,#fff8d8,#fff 55%,#e6f2ff)!important
}
@media(max-width:760px){
  html[data-ui="admin"] .admin-team-mascot{flex-basis:84px!important;width:84px!important;height:84px!important;border-radius:21px!important}
  html[data-ui="admin"] .admin-team-card-head{gap:12px!important}
}

/* F4-06 · Comunicati Ufficiali ADMIN: contrasto pieno e stabile. */
html[data-ui="admin"] .admin-notices-shell,
html[data-ui="admin"] .admin-notices-shell *{opacity:1}
html[data-ui="admin"] .official-notices-hero.admin h1{color:#fff!important;text-shadow:0 3px 12px rgba(0,0,0,.32)!important}
html[data-ui="admin"] .official-notices-hero.admin p{color:#f1f7ff!important;font-weight:800!important}
html[data-ui="admin"] .official-notices-hero.admin .ui-kicker{color:#ffe06a!important}
html[data-ui="admin"] .admin-notice-create h2,
html[data-ui="admin"] .admin-notice-list>h2,
html[data-ui="admin"] .admin-notice-editor h2,
html[data-ui="admin"] .admin-notice-editor label{color:#103a67!important;opacity:1!important}
html[data-ui="admin"] .admin-notice-create,
html[data-ui="admin"] .admin-notice-editor{background:#fff!important;color:#17304d!important}
@media(max-width:700px){
}

/* F4-02/F4-05 · Quadro Giornata ADMIN: card moderne e mascotte grandi come nel resto della Control Room. */
html[data-ui="admin"] .scores-section-shell .score-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important
}
html[data-ui="admin"] .scores-section-shell .team-score-card{
  height:100%!important;display:flex!important;flex-direction:column!important;border-radius:23px!important
}
html[data-ui="admin"] .scores-section-shell .score-team-mascot{
  flex:0 0 92px!important;width:92px!important;height:92px!important;padding:5px!important;
  object-fit:contain!important;object-position:center bottom!important;border-radius:22px!important;
  background:radial-gradient(circle at 50% 28%,#fff7cf,#fff 56%,#e5f1ff)!important;
  border:1px solid #d6e4f2!important;box-shadow:0 10px 21px rgba(13,53,95,.14)!important
}
html[data-ui="admin"] .scores-section-shell .team-score-head{
  border-radius:20px!important;background:linear-gradient(145deg,#f8fbff,#edf5ff)!important
}
@media(max-width:760px){
  html[data-ui="admin"] .scores-section-shell .score-grid{grid-template-columns:1fr!important}
  html[data-ui="admin"] .scores-section-shell .score-team-mascot{flex-basis:76px!important;width:76px!important;height:76px!important}
}

/* ================================================================
   F4-07 · COERENZA GRAFICA GLOBALE — FANTA6 0.9.102 UX2
   Un solo linguaggio visivo per UTENTE + ADMIN, senza cambiare logica.
   ================================================================ */
:root{
  --f6-surface:#ffffff;
  --f6-surface-soft:#f5f9fe;
  --f6-ink:#102f55;
  --f6-muted:#60758c;
  --f6-line:#d4e0ec;
  --f6-blue:#0d5aa8;
  --f6-blue-2:#2787e8;
  --f6-gold:#f2c84b;
  --f6-shadow:0 14px 32px rgba(13,53,95,.11);
  --f6-radius:22px;
}

html[data-ui="admin"] body,
html[data-ui="user"] body{
  background:
    radial-gradient(circle at 8% 0%,rgba(63,154,239,.10),transparent 24rem),
    radial-gradient(circle at 92% 12%,rgba(242,200,75,.10),transparent 22rem),
    #edf4fb!important;
  color:var(--f6-ink)!important;
}

html[data-ui="admin"] :is(.admin-setup-page,.admin-catalog-shell,.admin-editorial-shell,.admin-notices-shell,.admin-credential-shell,.admin-standings-shell,.scores-section-shell,.history-shell,.account-shell),
html[data-ui="user"] :is(.user-home-shell,.formation-builder-shell,.f6-standings-shell,.used-section-shell,.prize-public-shell,.rules-public-shell,.official-notices-shell,.history-shell,.account-shell,.my-score-shell,.scores-section-shell,.editorial-shell){
  width:min(1180px,calc(100% - 22px));
  margin-inline:auto;
}

/* Hero coerenti: blu profondo, luce calda, angoli morbidi. */
html[data-ui="admin"] :is(.admin-control-hero,.user-section-hero,.account-hero,.official-notices-hero.admin,.pixar-editorial-admin-hero),
html[data-ui="user"] :is(.user-section-hero,.account-hero,.f6-standings-hero,.prize-public-hero,.rules-public-hero,.official-notices-hero,.history-hero,.my-score-hero){
  position:relative;
  overflow:hidden;
  border-radius:26px!important;
  border:1px solid rgba(91,174,239,.38)!important;
  background:
    radial-gradient(circle at 88% 2%,rgba(255,220,103,.24),transparent 13rem),
    linear-gradient(135deg,#071c42 0%,#0a4f93 64%,#07172f 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 42px rgba(7,34,71,.18)!important;
}
html[data-ui="admin"] :is(.admin-control-hero,.user-section-hero,.account-hero,.official-notices-hero.admin,.pixar-editorial-admin-hero) :is(h1,h2,p,strong,small),
html[data-ui="user"] :is(.user-section-hero,.account-hero,.f6-standings-hero,.prize-public-hero,.rules-public-hero,.official-notices-hero,.history-hero,.my-score-hero) :is(h1,h2,p,strong,small){color:inherit!important}
html[data-ui="admin"] .ui-kicker,
html[data-ui="user"] .ui-kicker{font-weight:1000;letter-spacing:.105em;text-transform:uppercase}
html[data-ui="admin"] :is(.admin-control-hero,.user-section-hero,.account-hero,.official-notices-hero.admin,.pixar-editorial-admin-hero) .ui-kicker,
html[data-ui="user"] :is(.user-section-hero,.account-hero,.f6-standings-hero,.prize-public-hero,.rules-public-hero,.official-notices-hero,.history-hero,.my-score-hero) .ui-kicker{color:#ffe173!important}

/* Card: nessuna schermata deve sembrare appartenere a una build precedente. */
html[data-ui="admin"] :is(.admin-setup-page,.admin-catalog-shell,.admin-editorial-shell,.admin-notices-shell,.admin-credential-shell,.admin-standings-shell,.scores-section-shell,.history-shell,.account-shell) .card,
html[data-ui="user"] :is(.formation-builder-shell,.f6-standings-shell,.used-section-shell,.prize-public-shell,.rules-public-shell,.official-notices-shell,.history-shell,.account-shell,.my-score-shell,.scores-section-shell,.editorial-shell) .card{
  border-radius:var(--f6-radius)!important;
  border:1px solid var(--f6-line)!important;
  background:linear-gradient(160deg,var(--f6-surface),var(--f6-surface-soft))!important;
  box-shadow:var(--f6-shadow)!important;
  color:var(--f6-ink)!important;
}
html[data-ui="admin"] :is(.admin-setup-page,.admin-catalog-shell,.admin-editorial-shell,.admin-notices-shell,.admin-credential-shell,.admin-standings-shell,.scores-section-shell,.history-shell,.account-shell) .card :is(h1,h2,h3,strong,label),
html[data-ui="user"] :is(.formation-builder-shell,.f6-standings-shell,.used-section-shell,.prize-public-shell,.rules-public-shell,.official-notices-shell,.history-shell,.account-shell,.my-score-shell,.scores-section-shell,.editorial-shell) .card :is(h1,h2,h3,strong,label){color:var(--f6-ink)}

/* Form controls sempre leggibili, anche senza hover. */
html[data-ui="admin"] :is(input,select,textarea),
html[data-ui="user"] :is(input,select,textarea){
  border:1px solid #b9ccdf;
  border-radius:13px;
  background:#fff;
  color:#153b63;
}
html[data-ui="admin"] :is(input,select,textarea):focus,
html[data-ui="user"] :is(input,select,textarea):focus{
  outline:none;
  border-color:#2787e8;
  box-shadow:0 0 0 3px rgba(39,135,232,.16);
}

/* Pulsanti coerenti, solidi e leggibili. */
html[data-ui="admin"] :is(button,.button):not(.danger),
html[data-ui="user"] :is(button,.button):not(.danger){
  border-radius:14px;
  font-weight:950;
}
html[data-ui="admin"] :is(button,.button):not(.secondary):not(.danger),
html[data-ui="user"] :is(button,.button):not(.secondary):not(.danger){
  background:linear-gradient(180deg,var(--f6-blue-2),var(--f6-blue));
  color:#fff;
  border-color:#0b559f;
  box-shadow:0 8px 16px rgba(13,90,168,.18);
}
html[data-ui="admin"] :is(button,.button).secondary,
html[data-ui="user"] :is(button,.button).secondary{
  background:linear-gradient(180deg,#fff,#eef4fa);
  color:#164a78;
  border:1px solid #bfd0e1;
}

/* Tabelle operative: testata unica e righe pulite. */
html[data-ui="admin"] :is(.admin-setup-page,.admin-catalog-shell,.admin-standings-shell,.scores-section-shell,.history-shell) .table-scroll,
html[data-ui="user"] :is(.f6-standings-shell,.used-section-shell,.prize-public-shell,.history-shell,.scores-section-shell) .table-scroll{
  border:1px solid #ccd9e6;
  border-radius:18px;
  overflow:auto;
  background:#fff;
}
html[data-ui="admin"] :is(.admin-setup-page,.admin-catalog-shell,.admin-standings-shell,.scores-section-shell,.history-shell) table th,
html[data-ui="user"] :is(.f6-standings-shell,.used-section-shell,.prize-public-shell,.history-shell,.scores-section-shell) table th{
  background:linear-gradient(180deg,#eaf3fc,#dceafa)!important;
  color:#163f68!important;
  font-weight:1000!important;
}
html[data-ui="admin"] table td,
html[data-ui="user"] table td{border-color:#dfe8f1!important}

/* Navigazione ADMIN: nessun salto visivo tra sezioni. */
html[data-ui="admin"] .admin-top-nav{
  border-radius:18px!important;
  border:1px solid rgba(175,204,232,.85)!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 24px rgba(13,53,95,.10)!important;
}
html[data-ui="admin"] .admin-top-nav a{
  border-radius:12px!important;
  color:#214d77!important;
  font-weight:900!important;
}
html[data-ui="admin"] .admin-top-nav a.active,
html[data-ui="admin"] .admin-top-nav a[aria-current="page"]{
  background:linear-gradient(180deg,#2686e7,#0d5aa8)!important;
  color:#fff!important;
}

/* Stati e messaggi: colore + testo + simbolo, niente trasparenze ambigue. */
html[data-ui="admin"] :is(.alert,.notice),
html[data-ui="user"] :is(.alert,.notice){opacity:1!important;border-radius:14px!important;font-weight:750}
html[data-ui="admin"] .muted,
html[data-ui="user"] .muted{color:var(--f6-muted)!important;opacity:1!important}

@media(max-width:700px){
  html[data-ui="admin"] :is(.admin-setup-page,.admin-catalog-shell,.admin-editorial-shell,.admin-notices-shell,.admin-credential-shell,.admin-standings-shell,.scores-section-shell,.history-shell,.account-shell),
  html[data-ui="user"] :is(.user-home-shell,.formation-builder-shell,.f6-standings-shell,.used-section-shell,.prize-public-shell,.rules-public-shell,.official-notices-shell,.history-shell,.account-shell,.my-score-shell,.scores-section-shell,.editorial-shell){
    width:min(100% - 12px,1180px);
  }
  html[data-ui="admin"] :is(.admin-control-hero,.user-section-hero,.account-hero,.official-notices-hero.admin,.pixar-editorial-admin-hero),
  html[data-ui="user"] :is(.user-section-hero,.account-hero,.f6-standings-hero,.prize-public-hero,.rules-public-hero,.official-notices-hero,.history-hero,.my-score-hero){
    border-radius:20px!important;
  }
  html[data-ui="admin"] .admin-top-nav{border-radius:14px!important}
}
@keyframes f6-live-pulse{0%{box-shadow:0 0 0 0 rgba(255,51,79,.6)}70%{box-shadow:0 0 0 16px rgba(255,51,79,0)}100%{box-shadow:0 0 0 0 rgba(255,51,79,0)}}
.live-goal-toast{position:fixed;z-index:1200;right:22px;bottom:22px;width:min(380px,calc(100vw - 28px));padding:18px;border-radius:22px;background:linear-gradient(140deg,#071b38,#0c68b1);color:#fff;box-shadow:0 22px 55px rgba(4,20,45,.34);border:1px solid rgba(255,255,255,.2);animation:f6-goal-in .35s ease both}.live-goal-toast strong{display:block;font-size:1.55rem;color:#ffe45d}.live-goal-toast span{display:block;margin:.25rem 0;font-size:1.2rem;font-weight:950}.live-goal-toast small{color:rgba(255,255,255,.78)}
@keyframes f6-goal-in{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:860px){}
@media(max-width:600px){.live-goal-toast{right:6px;bottom:8px;width:calc(100vw - 12px)}}
@media(prefers-reduced-motion:reduce){.live-goal-toast{animation:none}}

.f6-live-global-status{position:fixed;z-index:1180;left:14px;bottom:14px;max-width:min(330px,calc(100vw - 28px));filter:drop-shadow(0 12px 22px rgba(5,26,55,.22))}
.f6-live-global-status[hidden]{display:none!important}
.f6-live-global-status a{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:16px;border:1px solid rgba(255,255,255,.24);background:linear-gradient(135deg,#0b2f5b,#0b6ab3);color:#fff;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
.f6-live-global-status span:not(.f6-live-global-dot){display:grid;line-height:1.05}.f6-live-global-status strong{font-size:.72rem;letter-spacing:.07em}.f6-live-global-status small{margin-top:3px;color:rgba(255,255,255,.82);font-size:.66rem;font-weight:800}
.f6-live-global-dot{width:10px;height:10px;border-radius:50%;background:#42df85;box-shadow:0 0 0 5px rgba(66,223,133,.14);flex:0 0 auto}
.f6-live-global-status[data-state="STALE"] a,.f6-live-global-status[data-state="PAUSED"] a,.f6-live-global-status[data-state="CLIENT_OFFLINE"] a{background:linear-gradient(135deg,#6f2030,#c23e54)}
.f6-live-global-status[data-state="STALE"] .f6-live-global-dot,.f6-live-global-status[data-state="PAUSED"] .f6-live-global-dot,.f6-live-global-status[data-state="CLIENT_OFFLINE"] .f6-live-global-dot{background:#ffd75b;box-shadow:0 0 0 5px rgba(255,215,91,.15)}
.f6-live-global-status[data-state="RETRYING"] a,.f6-live-global-status[data-state="CONNECTING"] a{background:linear-gradient(135deg,#6b4b09,#d58d12)}
.f6-live-global-status[data-state="RETRYING"] .f6-live-global-dot,.f6-live-global-status[data-state="CONNECTING"] .f6-live-global-dot{background:#fff0a0;animation:f6-live-pulse 1.45s infinite}

.f6-live-global-toast{position:fixed;z-index:1210;right:18px;bottom:18px;width:min(390px,calc(100vw - 28px));padding:17px 18px;border-radius:22px;background:linear-gradient(140deg,#071b38,#0c68b1);color:#fff;box-shadow:0 22px 55px rgba(4,20,45,.34);border:1px solid rgba(255,255,255,.2);animation:f6-goal-in .35s ease both}
.f6-live-global-toast[hidden]{display:none!important}.f6-live-global-toast strong{display:block;font-size:1.4rem;color:#ffe45d}.f6-live-global-toast span{display:block;margin:.2rem 0;font-size:1.12rem;font-weight:950}.f6-live-global-toast small{display:block;color:rgba(255,255,255,.78)}.f6-live-global-toast a{display:inline-flex;margin-top:10px;padding:7px 10px;border-radius:11px;background:rgba(255,255,255,.13);color:#fff;font-size:.72rem;font-weight:900;text-decoration:none;border:1px solid rgba(255,255,255,.16)}
.f6-live-global-toast[data-kind="reconnect"]{background:linear-gradient(140deg,#073924,#15865a)}.f6-live-global-toast[data-kind="reconnect"] strong{color:#d7ffe9}
@media(max-width:600px){.f6-live-global-status{left:6px;bottom:7px}.f6-live-global-toast{right:6px;bottom:64px;width:calc(100vw - 12px)}.f6-live-global-status a{padding:8px 10px;border-radius:14px}}
@media(prefers-reduced-motion:reduce){.f6-live-global-status[data-state="RETRYING"] .f6-live-global-dot,.f6-live-global-status[data-state="CONNECTING"] .f6-live-global-dot,.f6-live-global-toast{animation:none}}

/* =========================================================
   PREMATCH-001 · PROBABILI FORMAZIONI & FONTI — FANTA6 0.9.102
   Dato editoriale tracciato e separato dalle lineup ufficiali.
   ========================================================= */
.prematch-shell{width:min(100% - 28px,1180px);margin:26px auto 56px;display:grid;gap:18px}
.prematch-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px;border-radius:26px;color:#fff;background:radial-gradient(circle at 88% 10%,rgba(255,215,75,.28),transparent 25%),linear-gradient(135deg,#071b3e 0%,#0b559d 62%,#0a80c8 100%);box-shadow:0 18px 42px rgba(7,34,71,.18);border:1px solid rgba(91,174,239,.38)}
.prematch-hero h1{margin:.2rem 0 .45rem;font-size:clamp(2rem,4vw,3.35rem);line-height:.96}.prematch-hero p{margin:0;max-width:760px;color:#dbeaff;font-weight:700}.prematch-hero .ui-kicker{color:#ffe173!important}.prematch-hero-mark{display:grid;place-items:center;min-width:100px;height:100px;border-radius:28px;background:linear-gradient(145deg,#ffe27a,#eab52b);color:#082f5c;font-weight:1000;font-size:1.55rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 14px 30px rgba(0,0,0,.16);transform:rotate(2deg)}
.prematch-hero.admin{background:radial-gradient(circle at 88% 10%,rgba(255,215,75,.24),transparent 25%),linear-gradient(135deg,#08182f 0%,#183b68 62%,#235f96 100%)}
.prematch-disclaimer{background:#fff7d9!important;border:1px solid #edcf70!important;color:#5c4300!important}
.prematch-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.prematch-summary>div{display:grid;gap:4px;padding:13px 14px;border-radius:17px;background:#fff;border:1px solid #d9e5f1;box-shadow:0 8px 20px rgba(16,47,85,.07)}.prematch-summary span{font-size:.72rem;font-weight:900;color:#5e7188}.prematch-summary strong{font-size:1.5rem;color:#0d457c}
.prematch-tools{display:grid;gap:12px;padding:16px;border-radius:20px;background:#fff;border:1px solid #d7e3ef;box-shadow:0 10px 25px rgba(16,47,85,.08)}.prematch-tools label{display:grid;gap:6px;font-weight:900;color:#153e68}.prematch-tools input{width:100%;padding:12px 14px}.prematch-filters{display:flex;gap:8px;flex-wrap:wrap}.prematch-filter-chip{padding:8px 11px!important;border-radius:999px!important;background:#f0f5fa!important;color:#285479!important;border:1px solid #c8d8e7!important;box-shadow:none!important;font-size:.72rem}.prematch-filter-chip.is-active{background:linear-gradient(180deg,#2787e8,#0d5aa8)!important;color:#fff!important;border-color:#0d5aa8!important}
.prematch-fixture-card{padding:0!important;overflow:hidden}.prematch-fixture-head{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(180deg,#eef6ff,#e2eefb);border-bottom:1px solid #d3e1ee}.prematch-fixture-head>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff;font-size:1.35rem}.prematch-fixture-head h2{margin:.1rem 0 0;color:#173f68}.prematch-club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.prematch-club-block{border:1px solid #dce6ef;border-radius:18px;overflow:hidden;background:#fbfdff}.prematch-club-block>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:#f4f8fc;border-bottom:1px solid #e0e8f0}.prematch-club-block h3{margin:.1rem 0 0}.prematch-club-block>header>strong{display:grid;place-items:center;min-width:34px;height:34px;border-radius:11px;background:#e0edfa;color:#0e4c87}.prematch-player-list{display:grid}.prematch-player-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(150px,.75fr);gap:11px;align-items:center;padding:12px 13px;border-bottom:1px solid #e7edf4;border-left:4px solid #8797a8}.prematch-player-row:last-child{border-bottom:0}.prematch-player-row.status-probable_starter{border-left-color:#20a45c;background:#f8fff9}.prematch-player-row.status-ballot,.prematch-player-row.status-doubt{border-left-color:#e2a329;background:#fffdf5}.prematch-player-row.status-likely_bench{border-left-color:#75889e}.prematch-player-row.status-out{border-left-color:#d9485b;background:#fff8f9}.prematch-role{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#e7eff8;color:#174d7f;font-weight:1000}.prematch-player-copy{min-width:0}.prematch-player-copy strong{display:block;color:#12385f}.prematch-player-copy small{display:block;margin-top:3px;font-weight:900;color:#536a82}.prematch-player-copy p{margin:5px 0 0;color:#53687d;font-size:.78rem}.prematch-source{display:grid;justify-items:end;gap:2px;text-align:right}.prematch-source small{font-size:.58rem;letter-spacing:.08em;color:#8190a0;font-weight:1000}.prematch-source a,.prematch-source>span{color:#0d5aa8;font-weight:900;font-size:.76rem}.prematch-source time{color:#7a8999;font-size:.66rem}.prematch-empty{text-align:center;padding:28px!important}
.formation-prematch-link{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;border-radius:16px;background:#eef7ff;border:1px solid #cfe1f1}.formation-prematch-link small{color:#5b7186;font-weight:750}
.prematch-admin-picker{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:16px!important}.prematch-admin-picker form{flex:1}.prematch-admin-picker label{display:grid;gap:6px}.prematch-admin-picker select{width:100%}.prematch-admin-picker>div{display:grid;text-align:right}.prematch-admin-picker>div strong{font-size:1.55rem}.prematch-admin-picker>div span{font-size:12px;color:#6a7d91;font-weight:800}.prematch-admin-list{display:grid;gap:12px}.prematch-admin-row{padding:15px;border-radius:20px;background:#fff;border:1px solid #d7e2ed;box-shadow:0 9px 22px rgba(13,53,95,.07)}.prematch-admin-player{display:flex;align-items:center;gap:10px;margin-bottom:12px}.prematch-admin-player strong{display:block}.prematch-admin-player small{color:#708196;font-weight:750}.prematch-admin-form{display:grid;grid-template-columns:1.15fr 1fr 1.4fr 1.3fr auto auto;gap:9px;align-items:end}.prematch-admin-form label{display:grid;gap:5px;font-size:12px;font-weight:900;color:#2b5278}.prematch-admin-form :is(input,select){min-width:0;width:100%}.prematch-publish-toggle{display:flex!important;align-items:center!important;gap:7px!important;min-height:43px;padding:0 8px}.prematch-publish-toggle input{width:auto!important}.prematch-admin-form button{min-height:43px}.prematch-admin-updated{display:block;margin-top:9px;color:#718297;font-weight:750}
@media(max-width:980px){.prematch-summary{grid-template-columns:repeat(3,1fr)}.prematch-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.prematch-admin-form button{width:100%}.prematch-publish-toggle{min-height:auto;padding:8px 0}}
@media(max-width:760px){.prematch-shell{width:min(100% - 12px,1180px);margin-top:8px;gap:11px}.prematch-hero{padding:18px;border-radius:20px;align-items:flex-start}.prematch-hero-mark{min-width:66px;height:66px;border-radius:20px;font-size:1rem}.prematch-summary{grid-template-columns:repeat(2,1fr)}.prematch-club-grid{grid-template-columns:1fr;padding:10px}.prematch-player-row{grid-template-columns:auto minmax(0,1fr)}.prematch-source{grid-column:2;justify-items:start;text-align:left}.prematch-admin-picker{align-items:stretch;flex-direction:column}.prematch-admin-picker>div{text-align:left}.prematch-admin-form{grid-template-columns:1fr}.formation-prematch-link{align-items:stretch;flex-direction:column}}

/* FANTA6 0.9.102 · PREMATCH-002 — FORMAZIONI UFFICIALI API */
.official-lineups-shell{display:grid;gap:18px;max-width:1240px;margin:0 auto;padding:18px 0 34px}
.official-lineups-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border-radius:28px;background:linear-gradient(135deg,rgba(10,61,46,.98),rgba(17,107,78,.94));box-shadow:0 20px 48px rgba(0,0,0,.18);color:#fff;overflow:hidden;position:relative}
.official-lineups-hero h1{margin:4px 0 8px;font-size:clamp(2rem,5vw,4rem);line-height:.95;letter-spacing:-.04em}
.official-lineups-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.86)}
.official-lineups-mark{display:grid;place-items:center;width:112px;height:112px;border-radius:28px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);font-size:3rem;font-weight:950;transform:rotate(4deg)}
.official-lineups-disclaimer{border-left:5px solid #18a66b;background:rgba(24,166,107,.09)}
.official-lineup-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.official-lineup-summary>div{padding:16px 18px;border-radius:18px;background:var(--surface,#fff);border:1px solid rgba(90,105,125,.18);display:flex;justify-content:space-between;align-items:center;gap:12px}
.official-lineup-summary span{font-size:.78rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;opacity:.7}.official-lineup-summary strong{font-size:1.2rem}
.official-lineup-fixture{padding:0;overflow:hidden}.official-lineup-fixture-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;border-bottom:1px solid rgba(90,105,125,.14)}
.official-lineup-fixture-head h2{margin:3px 0 4px}.official-lineup-fixture-head p{margin:0;opacity:.72}.official-lineup-fixture-head>strong{white-space:nowrap;border-radius:999px;padding:8px 11px;background:rgba(24,166,107,.1);color:#0b7a4d;font-size:.78rem}
.official-lineup-fixture.is-waiting .official-lineup-fixture-head>strong{background:rgba(197,132,18,.12);color:#9a6609}
.official-lineup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.official-lineup-team{padding:20px 22px}.official-lineup-team+.official-lineup-team{border-left:1px solid rgba(90,105,125,.14)}
.official-lineup-team header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.official-lineup-team header h3{margin:0 0 3px}.official-lineup-team header small{opacity:.7}.official-lineup-team header>span{font-size:.72rem;font-weight:900;color:#087549;background:rgba(24,166,107,.1);padding:6px 8px;border-radius:999px;white-space:nowrap}
.official-lineup-team h4{font-size:.72rem;letter-spacing:.08em;opacity:.62;margin:14px 0 8px}.official-lineup-team ol,.official-lineup-team ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.official-lineup-team li{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:rgba(100,116,139,.075)}
.official-lineup-team li>span{font-size:.68rem;font-weight:900;text-align:center;border-radius:7px;padding:4px;background:rgba(15,23,42,.08)}.official-lineup-team li>strong{font-size:.9rem}.official-lineup-team li>small{font-size:.65rem;font-weight:900;color:#0b7a4d}
.official-lineup-team details{margin-top:14px}.official-lineup-team summary{cursor:pointer;font-weight:850;font-size:.8rem;margin-bottom:9px}.official-lineup-team.is-waiting{display:flex;flex-direction:column;justify-content:center;min-height:240px;background:rgba(148,163,184,.06)}.official-lineup-team.is-waiting header>span{color:#926008;background:rgba(197,132,18,.12)}
.official-lineup-admin-card{display:flex;align-items:center;gap:18px;justify-content:space-between}.official-lineup-admin-card h2{margin:3px 0 4px}.official-lineup-admin-card p{margin:0}.official-lineup-admin-card form{margin-left:auto}.official-lineup-admin-card button{white-space:nowrap}
.formation-prematch-link{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.formation-prematch-link small{flex-basis:100%}
@media(max-width:760px){.official-lineups-hero{padding:22px}.official-lineups-mark{width:76px;height:76px;font-size:2rem}.official-lineup-summary{grid-template-columns:1fr}.official-lineup-grid{grid-template-columns:1fr}.official-lineup-team+.official-lineup-team{border-left:0;border-top:1px solid rgba(90,105,125,.14)}.official-lineup-fixture-head{flex-direction:column}.official-lineup-admin-card{align-items:stretch;flex-direction:column}.official-lineup-admin-card form{margin-left:0}.official-lineup-admin-card button,.official-lineup-admin-card .button{width:100%}}


/* FANTA6 1.0.1 · HOTFIX UI PREMATCH — contrasto titoli e accessi
   Nessuna modifica funzionale: solo leggibilità su superfici scure ADMIN/USER. */
.prematch-hero h1,
html[data-ui="admin"] .prematch-hero h1,
html[data-ui="user"] .prematch-hero h1{
  color:#ffffff!important;
  text-shadow:0 3px 10px rgba(0,0,0,.32)!important;
}
.prematch-hero p,
html[data-ui="admin"] .prematch-hero p,
html[data-ui="user"] .prematch-hero p{color:#e8f4ff!important;}
.official-lineups-hero h1,
html[data-ui="admin"] .official-lineups-hero h1,
html[data-ui="user"] .official-lineups-hero h1{
  color:#ffffff!important;
  text-shadow:0 3px 10px rgba(0,0,0,.30)!important;
}
html[data-ui="admin"] .admin-top-nav a[href="/admin/prematch"]{
  color:#ffffff!important;
  background:linear-gradient(180deg,#2589e9,#0d5aa8)!important;
  border-color:#0d5aa8!important;
  box-shadow:0 5px 12px rgba(13,90,168,.24)!important;
}
html[data-ui="admin"] a.button[href="/prematch"],
html[data-ui="admin"] a.button[href^="/prematch?"],
html[data-ui="user"] a.button[href="/prematch"],
html[data-ui="user"] a.button[href^="/prematch?"]{
  color:#ffffff!important;
  background:linear-gradient(180deg,#2589e9,#0d5aa8)!important;
  border-color:#0d5aa8!important;
  text-shadow:0 1px 2px rgba(0,0,0,.22)!important;
}

/* =========================================================
   FANTA6 1.1.0 RC1 · CONGELAMENTO UI/UX DEFINITIVO
   Solo presentazione: nessuna regola di gioco viene duplicata qui.
   ========================================================= */

/* Firma globale FANTA6 */
.f6-global-footer{
  width:min(100% - 24px,1180px);margin:34px auto 18px;padding:24px 18px 22px;
  display:grid;justify-items:center;gap:2px;text-align:center;border-radius:26px;
  background:
    radial-gradient(circle at 50% 0,rgba(255,214,74,.22),transparent 38%),
    linear-gradient(145deg,#061a3c,#0a356b 58%,#07172f);
  border:1px solid rgba(255,255,255,.13);box-shadow:0 18px 42px rgba(7,25,53,.18);color:#fff
}
.f6-global-footer-mini{font-size:12px;font-weight:600;letter-spacing:.32em;color:#cfe7ff}
.f6-global-footer strong{font-family:"Lilita One","Baloo 2",system-ui,sans-serif;font-size:clamp(1.9rem,4vw,3.1rem);line-height:.96;letter-spacing:.025em;color:#ffd34e;text-shadow:0 3px 13px rgba(0,0,0,.28)}
.f6-global-footer b{font-size:clamp(.92rem,2vw,1.28rem);letter-spacing:.045em;color:#fff}

/* Stato quota: privato a utente + ADMIN, sempre leggibile e alto nella Home. */
.participation-status{
  display:flex;align-items:center;gap:14px;width:100%;padding:15px 17px;border-radius:19px;
  border:1px solid;box-shadow:0 11px 26px rgba(17,39,68,.08);background:#fff
}
.participation-status-dot{flex:0 0 14px;width:14px;height:14px;border-radius:50%;box-shadow:0 0 0 5px rgba(0,0,0,.04)}
.participation-status>div:last-child{display:grid;gap:1px;min-width:0}
.participation-status span{font-size:12px;font-weight:1000;letter-spacing:.08em}
.participation-status strong{font-size:1.06rem;line-height:1.08}
.participation-status small{font-size:12px;font-weight:850}
.participation-status.is-paid{border-color:#a7dfbb;background:linear-gradient(135deg,#f6fff8,#eaf8ef);color:#145d33}
.participation-status.is-paid .participation-status-dot{background:#1eaa5b}
.participation-status.is-unpaid{border-color:#efb0b8;background:linear-gradient(135deg,#fff9fa,#ffecee);color:#8d2333}
.participation-status.is-unpaid .participation-status-dot{background:#d63b4d}
.participation-privacy-note{margin:-5px 3px 0;color:#64748b;font-size:.72rem;font-weight:800}

/* Account: mascotte protagonista e integrata, mai in un riquadro/sticker. */
.account-hero-v110{position:relative;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:190px!important;overflow:hidden!important;padding:25px 28px!important}
.account-hero-v110>div:first-child{position:relative;z-index:2;min-width:0}
.account-mascot-scene{position:relative;align-self:stretch;flex:0 0 min(38%,260px);min-width:150px;display:grid;place-items:end center;margin:-20px -6px -24px 8px}
.account-mascot-scene:before{content:"";position:absolute;inset:15% 4% 7%;border-radius:50%;background:radial-gradient(circle,rgba(255,219,91,.28),rgba(85,173,255,.11) 48%,transparent 72%);filter:blur(2px)}
.account-mascot-scene img{position:relative;z-index:1;width:100%;height:100%;max-height:225px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 15px 12px rgba(0,0,0,.28))}

/* Header FANTA6: marchio nativo più compatto e integrato, nessun box immagine incollato. */
.participant-brand-logo-native{border:0!important;background:transparent!important;box-shadow:none!important}
.participant-brand-main{filter:drop-shadow(0 6px 8px rgba(0,0,0,.22))}
.admin-brand-pixar{border:0!important;background:transparent!important;box-shadow:none!important}
.admin-brand-orb{background:radial-gradient(circle at 42% 32%,#fff9ce,#ffc72f 48%,#c98a08 100%)!important;box-shadow:0 8px 17px rgba(0,0,0,.22)!important}

/* Control Room: mascotte grandi, senza bordo bianco, integrate nella card. */
html[data-ui="admin"] .admin-team-card-head{position:relative;overflow:visible!important;min-height:132px!important;gap:18px!important;padding:8px 10px 13px!important}
html[data-ui="admin"] .admin-team-card-head:before{content:"";position:absolute;left:-6px;top:3px;width:150px;height:126px;border-radius:46% 54% 44% 56%;background:radial-gradient(circle at 48% 42%,rgba(255,231,139,.38),rgba(107,184,255,.14) 48%,transparent 72%);pointer-events:none}
html[data-ui="admin"] .admin-team-mascot{
  position:relative;z-index:1;flex:0 0 122px!important;width:122px!important;height:122px!important;padding:0!important;
  object-fit:contain!important;object-position:center bottom!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 14px 10px rgba(22,49,82,.24))!important
}
html[data-ui="admin"] .admin-team-card-title{position:relative;z-index:2;min-width:0}

/* PREMATCH: 11 ben leggibile + blocco pubblicazione quando manca stato/fonte. */
.prematch-hero-mark{font-size:3.1rem!important;line-height:1!important}
.prematch-publish-toggle.is-disabled{opacity:.5;cursor:not-allowed}
.prematch-publish-toggle.is-disabled span:after{content:" · stato + fonte richiesti";font-size:.62rem;color:#7b8794}

/* Catalogo */
.catalog-sha{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.catalog-sha code{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.copy-sha{width:auto!important;padding:7px 10px!important;font-size:.68rem!important}

/* Dati API */
/* Motore Punteggi */
.scoring-manual-recovery{border:1px solid #e7c768!important;background:linear-gradient(145deg,#fffdf5,#fff8d8)!important}
.scoring-manual-recovery>summary{cursor:pointer;color:#755400;font-size:.9rem}
.scoring-manual-recovery[open]>summary{margin-bottom:13px}
.assist-readonly{display:inline-grid;place-items:center;min-width:48px;min-height:34px;padding:5px 8px;border-radius:10px;background:#edf3f8;color:#40566e;font-weight:900}

/* Collaudo */
.alert.warning{background:#fff7dc!important;border-color:#e6c455!important;color:#6d5207!important}
tr.managed td{background:#fff9e8!important}
tr.managed-penalty td{background:#fff8dc!important}
tr.managed-penalty td:first-child{box-shadow:inset 4px 0 #e6a817}

/* Gestione quote */
.admin-fee-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0;padding:13px 15px;border-radius:16px;background:linear-gradient(135deg,#f2f8ff,#fff);border:1px solid #d5e2ef}
.admin-fee-summary strong{color:#176b3a}.admin-fee-summary span{color:#9a2939;font-weight:900}
.admin-fee-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px}
.admin-fee-filters a{padding:8px 12px;border-radius:999px;text-decoration:none;background:#edf3f9;border:1px solid #d5e0ea;color:#35516f;font-size:.76rem;font-weight:900}
.admin-fee-filters a.is-active{background:#0d5aa8;color:#fff;border-color:#0d5aa8}
.admin-fee-cell{display:grid;gap:6px;min-width:145px}.admin-fee-cell>strong{font-size:.78rem}.admin-fee-cell small{font-size:12px;color:#728196}.admin-fee-cell form{margin:0}.admin-fee-cell button{width:100%}

/* Gazzetta: filtri sempre tutti visibili su mobile, nessun taglio orizzontale. */
@media(max-width:700px){
  .editorial-filters,.editorial-filters-counted{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;padding-bottom:0!important}
  .editorial-filter,.editorial-filters-counted .editorial-filter{display:flex!important;justify-content:space-between!important;white-space:normal!important;min-width:0!important;width:100%!important;border-radius:14px!important;padding:9px 10px!important}
}

/* Responsive globale e nessun clipping. */
:where(.card,.notice,.alert,.admin-team-card,.participation-status,.official-lineup-fixture,.prematch-admin-row){min-width:0}
:where(.card,.notice,.alert,.admin-team-card,.official-lineup-fixture,.prematch-admin-row) :is(h1,h2,h3,p,strong,small,span,a,button,label){overflow-wrap:anywhere}
@media(max-width:760px){
  .f6-global-footer{width:min(100% - 12px,1180px);border-radius:20px;margin-top:24px;padding:20px 12px}
  .participation-status{padding:13px 14px;border-radius:16px}.participation-status strong{font-size:.94rem}
  .account-hero-v110{min-height:170px!important;padding:19px!important}.account-mascot-scene{flex-basis:42%;min-width:115px;margin:-10px -8px -20px 4px}.account-mascot-scene img{max-height:180px}
  html[data-ui="admin"] .admin-team-card-head{min-height:105px!important;gap:10px!important}
  html[data-ui="admin"] .admin-team-card-head:before{width:108px;height:98px}
  html[data-ui="admin"] .admin-team-mascot{flex-basis:92px!important;width:92px!important;height:92px!important}
  .prematch-hero-mark{font-size:2.25rem!important}
}
@media(max-width:440px){
  .account-hero-v110{min-height:156px!important}.account-mascot-scene{min-width:96px;flex-basis:38%}.account-mascot-scene img{max-height:155px}
  .admin-fee-summary{align-items:flex-start;flex-direction:column}
}

/* ========================================================================
   FANTA6 1.1.0 RC2 · HOME UTENTE — FEDELTA' AL MOCKUP APPROVATO
   Il mockup GLASGOWIANI è specifica visiva vincolante, non ispirazione.
   ======================================================================== */

/* Branding partecipante: logo Champions ufficiale, niente mini wordmark testuale. */
html[data-ui="user"] .f6-pixar-topbar{
  position:sticky;
  top:0;
  z-index:50;
  min-height:108px;
  padding:8px max(18px,calc((100vw - 1180px)/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  overflow:hidden;
  background:
    radial-gradient(circle at 8% -18%,rgba(93,190,255,.72) 0 2px,transparent 4px),
    radial-gradient(circle at 15% -16%,rgba(255,255,255,.85) 0 2px,transparent 4px),
    radial-gradient(circle at 82% -20%,rgba(93,190,255,.72) 0 2px,transparent 4px),
    radial-gradient(circle at 91% -17%,rgba(255,255,255,.82) 0 2px,transparent 4px),
    linear-gradient(180deg,#03132f 0%,#052b61 57%,#031b42 100%)!important;
  border-bottom:2px solid rgba(50,165,255,.72)!important;
  box-shadow:0 13px 34px rgba(0,11,36,.34)!important;
}
html[data-ui="user"] .f6-pixar-topbar:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.9;
  background:
    radial-gradient(ellipse at 50% 140%,rgba(25,116,210,.36),transparent 55%),
    linear-gradient(108deg,transparent 0 31%,rgba(74,177,255,.13) 31.5% 32%,transparent 32.5% 67%,rgba(74,177,255,.11) 67.5% 68%,transparent 68.5%);
}
html[data-ui="user"] .participant-brand-champions{
  position:relative;
  z-index:2;
  display:flex!important;
  align-items:center;
  flex:0 1 360px;
  min-width:250px;
  height:92px;
  text-decoration:none!important;
  overflow:visible!important;
}
html[data-ui="user"] .participant-brand-image{
  display:block;
  width:min(360px,36vw);
  max-width:100%;
  height:92px;
  object-fit:cover;
  object-position:center 52%;
  border:0;
  border-radius:22px;
  background:#05285a;
  box-shadow:0 0 0 1px rgba(72,177,255,.24),0 13px 30px rgba(0,0,0,.20);
}
html[data-ui="user"] .participant-mini-nav{
  position:relative;
  z-index:2;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  margin-left:auto;
}
html[data-ui="user"] .participant-mini-nav a{
  min-width:106px!important;
  min-height:54px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 20px!important;
  border-radius:999px!important;
  border:2px solid rgba(62,171,255,.64)!important;
  background:linear-gradient(180deg,#0767c9,#07428a)!important;
  color:#fff!important;
  font-weight:400!important;
  font-size:1rem!important;
  text-decoration:none!important;
  box-shadow:0 9px 20px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.25)!important;
  text-shadow:0 2px 5px rgba(0,0,0,.28);
}
html[data-ui="user"] .participant-logout-link{
  background:linear-gradient(180deg,#0b315e,#071c39)!important;
  border-color:rgba(76,154,226,.60)!important;
}

/* La Home vive dentro un vero mondo FANTA6, non sopra uno sfondo neutro. */
html[data-ui="user"] body.home-view{
  min-height:100vh;
  background:
    radial-gradient(circle at 4% 2%,rgba(255,255,255,.92) 0 2px,rgba(80,185,255,.76) 3px 5px,transparent 7px),
    radial-gradient(circle at 12% 1%,rgba(255,255,255,.86) 0 2px,rgba(80,185,255,.64) 3px 5px,transparent 7px),
    radial-gradient(circle at 88% 1%,rgba(255,255,255,.92) 0 2px,rgba(80,185,255,.74) 3px 5px,transparent 7px),
    radial-gradient(circle at 96% 3%,rgba(255,255,255,.84) 0 2px,rgba(80,185,255,.64) 3px 5px,transparent 7px),
    radial-gradient(ellipse at 50% 105%,rgba(18,119,199,.46),transparent 52%),
    linear-gradient(180deg,#03132f 0%,#062f67 43%,#041a3d 100%)!important;
  background-attachment:fixed!important;
}
html[data-ui="user"] body.home-view .container{
  width:min(100%,1020px)!important;
  max-width:1020px!important;
  padding:18px 18px 6px!important;
  margin:0 auto!important;
}
html[data-ui="user"] body.home-view .user-home-shell{
  display:grid!important;
  gap:12px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}/* HERO: proporzioni, atmosfera e gerarchia del mockup approvato. */



html[data-ui="user"] body.home-view .user-home-welcome{
  position:relative!important;
  z-index:3!important;
  width:55%!important;
  max-width:560px!important;
}



html[data-ui="user"] body.home-view .home-hero-chips{
  margin-top:20px!important;
  gap:8px!important;
}
html[data-ui="user"] body.home-view .home-hero-chips span{
  min-height:44px!important;
  padding:8px 17px!important;
  display:inline-flex!important;
  align-items:center!important;
  border-radius:999px!important;
  border:1px solid rgba(75,184,255,.72)!important;
  background:rgba(2,29,67,.76)!important;
  color:#fff!important;
  font-size:.92rem!important;
  font-weight:1000!important;
  box-shadow:inset 0 1px rgba(255,255,255,.1)!important;
}
html[data-ui="user"] body.home-view .home-mascot-scene{
  position:absolute!important;
  z-index:2!important;
  right:18px!important;
  bottom:-1px!important;
  width:43%!important;
  max-width:390px!important;
  height:282px!important;
  display:grid!important;
  place-items:end center!important;
}
html[data-ui="user"] body.home-view .home-scene-orb{display:none!important}
html[data-ui="user"] body.home-view .home-mascot-character{
  width:auto!important;
  height:auto!important;
  max-width:350px!important;
  max-height:274px!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  filter:drop-shadow(0 18px 14px rgba(0,0,0,.34))!important;
}
html[data-ui="user"] body.home-view .home-mascot-name{
  right:8px!important;
  bottom:12px!important;
  max-width:240px!important;
  padding:8px 15px!important;
  border:1px solid rgba(71,191,255,.74)!important;
  border-radius:999px!important;
  background:rgba(2,27,63,.88)!important;
  color:#fff!important;
  font-size:.86rem!important;
  font-weight:1000!important;
  text-transform:uppercase!important;
  box-shadow:0 8px 18px rgba(0,0,0,.22)!important;
}

/* Quota: aggiunta funzionale successiva al mockup, ma integrata nel suo linguaggio. */
html[data-ui="user"] body.home-view .participation-status{
  min-height:66px!important;
  padding:12px 18px!important;
  border-radius:18px!important;
  border-width:2px!important;
  box-shadow:0 10px 24px rgba(0,11,39,.20)!important;
}
html[data-ui="user"] body.home-view .participation-status strong{font-size:1.08rem!important}

/* CTA formazione: stessa gerarchia e proporzioni della card verde del mockup. */
html[data-ui="user"] body.home-view .formation-command-cinematic{
  min-height:170px!important;
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr) 310px!important;
  align-items:center!important;
  gap:20px!important;
  padding:18px 20px!important;
  overflow:hidden!important;
  border:2px solid rgba(73,242,123,.72)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 8% 50%,rgba(118,255,156,.22),transparent 8rem),
    linear-gradient(135deg,#12923e,#08762f 62%,#075a2a)!important;
  color:#fff!important;
  box-shadow:0 18px 35px rgba(0,57,22,.27),inset 0 1px rgba(255,255,255,.15)!important;
}
html[data-ui="user"] body.home-view .formation-command-visual{
  width:92px!important;
  height:112px!important;
  min-width:92px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.25)!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.23),rgba(255,255,255,.08))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.18)!important;
}
html[data-ui="user"] body.home-view .formation-clipboard{font-size:3.35rem!important}
html[data-ui="user"] body.home-view .formation-ball{font-size:2.05rem!important;right:-15px!important;bottom:-9px!important}
html[data-ui="user"] body.home-view .formation-command-copy .ui-kicker{color:#d8ffe2!important;font-size:.82rem!important}
html[data-ui="user"] body.home-view .formation-command-copy h2{
  margin:.18rem 0 .45rem!important;
  color:#fff!important;
  font-size:clamp(2rem,4.3vw,3.05rem)!important;
  line-height:.92!important;
  letter-spacing:-.025em!important;
  text-shadow:0 4px 11px rgba(0,0,0,.22)!important;
}
html[data-ui="user"] body.home-view .formation-deadline-row>strong,
html[data-ui="user"] body.home-view .deadline-countdown{
  border-radius:999px!important;
  background:rgba(3,70,32,.72)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
html[data-ui="user"] body.home-view .formation-command-copy p{color:#e6ffec!important;font-size:.84rem!important;font-weight:850!important}
html[data-ui="user"] body.home-view .formation-main-action{
  min-height:72px!important;
  padding:14px 22px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#248ef0,#075ebc)!important;
  border:2px solid rgba(126,220,255,.72)!important;
  box-shadow:0 14px 30px rgba(0,35,95,.34),inset 0 1px rgba(255,255,255,.22)!important;
  color:#fff!important;
  font-size:1.12rem!important;
  font-weight:1000!important;
}

/* LA TUA SITUAZIONE: un solo blocco come nel mockup. */
html[data-ui="user"] body.home-view .home-situation-card{
  padding:16px 20px 14px!important;
  border:2px solid rgba(43,151,242,.78)!important;
  border-radius:25px!important;
  background:linear-gradient(145deg,rgba(6,55,119,.98),rgba(3,34,79,.98))!important;
  color:#fff!important;
  box-shadow:0 17px 35px rgba(0,11,39,.24),inset 0 1px rgba(255,255,255,.08)!important;
}
html[data-ui="user"] body.home-view .home-situation-card .ui-kicker{color:#55caff!important;font-size:.78rem!important}
html[data-ui="user"] body.home-view .home-status-title h2{color:#fff!important;font-size:1.42rem!important;margin:.12rem 0 0!important}
html[data-ui="user"] body.home-view .home-situation-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 250px!important;
  gap:16px!important;
  align-items:stretch!important;
  margin-top:8px!important;
}
html[data-ui="user"] body.home-view .home-kpis{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  border:1px solid rgba(69,159,235,.55)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:rgba(0,23,60,.32)!important;
}
html[data-ui="user"] body.home-view .home-kpis>div{
  min-height:86px!important;
  display:grid!important;
  place-content:center!important;
  text-align:center!important;
  padding:9px!important;
  border-right:1px solid rgba(69,159,235,.35)!important;
  background:transparent!important;
}
html[data-ui="user"] body.home-view .home-kpis>div:last-child{border-right:0!important}
html[data-ui="user"] body.home-view .home-kpis span{color:#b7e9ff!important;font-size:.72rem!important;font-weight:900!important}
html[data-ui="user"] body.home-view .home-kpis strong{color:#fff!important;font-size:2.05rem!important;line-height:1!important}
html[data-ui="user"] body.home-view .home-kpis strong.negative{color:#ff6269!important}
html[data-ui="user"] body.home-view .home-kpis strong.positive{color:#63ef92!important}
html[data-ui="user"] body.home-view .projection-message{
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  padding:11px 13px!important;
  border-radius:16px!important;
  background:rgba(1,25,60,.42)!important;
  color:#ffd640!important;
  font-size:.9rem!important;
  line-height:1.28!important;
  font-weight:1000!important;
}
html[data-ui="user"] body.home-view .projection-pill{
  min-height:39px!important;
  padding:7px 18px!important;
  border-radius:999px!important;
  background:#031f4a!important;
  border:1px solid rgba(66,179,255,.72)!important;
  color:#fff!important;
}
html[data-ui="user"] body.home-view .home-phase-inline{
  margin-top:11px!important;
  padding:10px 0 0!important;
  border:0!important;
  border-top:1px solid rgba(70,158,232,.44)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
}
html[data-ui="user"] body.home-view .home-phase-head h2{color:#fff!important;font-size:1.25rem!important;margin:.1rem 0 0!important}
html[data-ui="user"] body.home-view .home-phase-head>strong{color:#fff!important;font-size:1.08rem!important}
html[data-ui="user"] body.home-view .home-phase-track{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 390px!important;
  gap:18px!important;
  align-items:center!important;
  margin-top:9px!important;
}
html[data-ui="user"] body.home-view .league-progress{display:flex!important;gap:7px!important;flex-wrap:nowrap!important}
html[data-ui="user"] body.home-view .league-step{
  width:42px!important;height:42px!important;min-width:42px!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  border:2px solid rgba(92,171,241,.68)!important;
  background:#062858!important;color:#fff!important;font-weight:1000!important;
}
html[data-ui="user"] body.home-view .league-step.active{
  background:#fff!important;color:#063e84!important;border-color:#44d7ff!important;
  box-shadow:0 0 0 5px rgba(37,181,255,.16),0 0 20px rgba(90,210,255,.66)!important;
}
html[data-ui="user"] body.home-view .league-step.done{background:#0a5fb1!important;border-color:#40b8ff!important}
html[data-ui="user"] body.home-view .qualification-road{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html[data-ui="user"] body.home-view .qualification-zone{
  min-height:76px!important;
  padding:8px!important;
  display:grid!important;
  place-content:center!important;
  text-align:center!important;
  border-radius:16px!important;
  border:1px solid rgba(255,255,255,.26)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.22)!important;
}
html[data-ui="user"] body.home-view .qualification-zone strong{font-size:.8rem!important}
html[data-ui="user"] body.home-view .qualification-zone span{font-size:.88rem!important;font-weight:1000!important}
html[data-ui="user"] body.home-view .qualification-zone.gold{background:linear-gradient(180deg,#f6c941,#d79c18)!important;color:#2a1d00!important}
html[data-ui="user"] body.home-view .qualification-zone.playoff{background:linear-gradient(180deg,#2ca8ff,#0874d8)!important;color:#fff!important}
html[data-ui="user"] body.home-view .qualification-zone.silver{background:linear-gradient(180deg,#d6e2ee,#8ca9c4)!important;color:#10263f!important}
html[data-ui="user"] body.home-view .qualification-zone.is-current{outline:3px solid rgba(255,255,255,.76)!important;outline-offset:-3px!important}

/* ACCESSO RAPIDO: due colonne orizzontali, non dashboard a 3 colonne. */
html[data-ui="user"] body.home-view .home-shortcuts-wrap{
  padding:16px!important;
  border:2px solid rgba(40,146,233,.72)!important;
  border-radius:24px!important;
  background:linear-gradient(145deg,rgba(4,48,105,.97),rgba(2,31,73,.98))!important;
  box-shadow:0 16px 34px rgba(0,11,39,.24)!important;
}
html[data-ui="user"] body.home-view .home-section-heading{margin-bottom:10px!important}
html[data-ui="user"] body.home-view .home-section-heading .ui-kicker{color:#50ccff!important}
html[data-ui="user"] body.home-view .home-section-heading h2{color:#fff!important;font-size:1.35rem!important}
html[data-ui="user"] body.home-view .home-section-badge{
  min-height:36px!important;padding:6px 15px!important;border-radius:999px!important;
  background:rgba(8,92,67,.76)!important;border:1px solid rgba(93,242,170,.46)!important;color:#64f2a8!important;font-weight:1000!important
}
html[data-ui="user"] body.home-view .home-shortcuts{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
html[data-ui="user"] body.home-view .home-quick-card{
  min-height:70px!important;
  padding:0 14px 0 0!important;
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr) 24px!important;
  align-items:center!important;
  gap:12px!important;
  overflow:hidden!important;
  border-radius:17px!important;
  border:1px solid rgba(255,255,255,.20)!important;
  background:linear-gradient(135deg,var(--tone-a,#166ab8),var(--tone-b,#084886))!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.15)!important;
}
html[data-ui="user"] body.home-view .home-quick-card:before{display:none!important}
html[data-ui="user"] body.home-view .home-quick-icon{
  width:92px!important;height:100%!important;min-height:68px!important;
  display:grid!important;place-items:center!important;
  border-radius:0!important;
  background:rgba(255,255,255,.10)!important;
  font-size:2.05rem!important;
  box-shadow:inset -1px 0 rgba(255,255,255,.10)!important;
}
html[data-ui="user"] body.home-view .home-quick-card strong{color:#fff!important;font-size:1.02rem!important;line-height:1.05!important}
html[data-ui="user"] body.home-view .home-quick-card small{max-width:none!important;color:#e8f4ff!important;font-size:.72rem!important;line-height:1.2!important}
html[data-ui="user"] body.home-view .home-quick-card>b{position:static!important;font-size:1.45rem!important;opacity:.9!important}
html[data-ui="user"] body.home-view .home-quick-card.tone-gold{--tone-a:#9f700b;--tone-b:#654100}
html[data-ui="user"] body.home-view .home-quick-card.tone-live{--tone-a:#b44621;--tone-b:#792412}
html[data-ui="user"] body.home-view .home-quick-card.tone-cyan{--tone-a:#168bbd;--tone-b:#075d84}
html[data-ui="user"] body.home-view .home-quick-card.tone-pink{--tone-a:#a02b77;--tone-b:#641647}
html[data-ui="user"] body.home-view .home-quick-card.tone-violet{--tone-a:#5851ce;--tone-b:#34308a}
html[data-ui="user"] body.home-view .home-quick-card.tone-orange{--tone-a:#b35c18;--tone-b:#773006}
html[data-ui="user"] body.home-view .home-quick-card.tone-green{--tone-a:#208d48;--tone-b:#0e612f}
html[data-ui="user"] body.home-view .home-secondary-links{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin-top:15px!important;
}
html[data-ui="user"] body.home-view .home-secondary-links a{
  min-height:56px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  border:1px solid rgba(65,164,236,.58)!important;
  border-radius:16px!important;
  background:rgba(1,35,78,.68)!important;
  color:#fff!important;
  font-size:.9rem!important;
  font-weight:1000!important;
  text-decoration:none!important;
}

/* Un solo footer: scenografico come nel mockup, non una seconda card piatta. */
html[data-ui="user"] body.home-view .f6-global-footer{
  position:relative!important;
  width:min(100% - 36px,1020px)!important;
  min-height:190px!important;
  margin:16px auto 24px!important;
  padding:35px 90px 30px!important;
  overflow:hidden!important;
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  border-radius:26px!important;
  border:1px solid rgba(66,178,255,.50)!important;
  background:
    radial-gradient(circle at 50% -5%,rgba(255,221,71,.20),transparent 28%),
    radial-gradient(ellipse at 50% 112%,rgba(50,173,98,.40),transparent 36%),
    linear-gradient(180deg,#052857 0%,#031a3b 68%,#062b45 100%)!important;
  box-shadow:0 20px 46px rgba(0,8,32,.34)!important;
}
html[data-ui="user"] body.home-view .f6-global-footer:before,
html[data-ui="user"] body.home-view .f6-global-footer:after{
  position:absolute!important;
  bottom:10px!important;
  font-size:4.4rem!important;
  line-height:1!important;
  filter:drop-shadow(0 10px 10px rgba(0,0,0,.30));
  opacity:.96;
}
html[data-ui="user"] body.home-view .f6-global-footer:before{content:"⚽";left:18px!important}
html[data-ui="user"] body.home-view .f6-global-footer:after{content:"⚽";right:18px!important}
html[data-ui="user"] body.home-view .f6-global-footer-mini{font-size:.86rem!important;letter-spacing:.34em!important;color:#d8eeff!important}
html[data-ui="user"] body.home-view .f6-global-footer strong{
  margin-top:8px!important;
  color:#ffd23c!important;
  font-size:clamp(2.55rem,6vw,4.3rem)!important;
  line-height:.9!important;
  text-shadow:0 5px 0 #9b5d00,0 10px 18px rgba(0,0,0,.36)!important;
}
html[data-ui="user"] body.home-view .f6-global-footer b{
  margin-top:10px!important;
  font-size:1.16rem!important;
  letter-spacing:.07em!important;
  color:#fff!important;
  text-shadow:0 3px 9px rgba(0,0,0,.3)!important;
}

/* Tablet */
@media(max-width:820px){
  html[data-ui="user"] .f6-pixar-topbar{min-height:92px!important;padding:7px 12px!important}
  html[data-ui="user"] .participant-brand-champions{flex-basis:280px!important;min-width:190px!important;height:76px!important}
  html[data-ui="user"] .participant-brand-image{width:min(280px,44vw)!important;height:76px!important;border-radius:17px!important}
  html[data-ui="user"] .participant-mini-nav{gap:8px!important}
  html[data-ui="user"] .participant-mini-nav a{min-width:78px!important;min-height:46px!important;padding:8px 13px!important;font-size:.82rem!important}

  html[data-ui="user"] body.home-view .home-mascot-scene{width:42%!important;height:244px!important;right:6px!important}
  html[data-ui="user"] body.home-view .home-mascot-character{max-width:292px!important;max-height:238px!important}
  html[data-ui="user"] body.home-view .formation-command-cinematic{grid-template-columns:92px minmax(0,1fr)!important}
  html[data-ui="user"] body.home-view .formation-command-action{grid-column:1/-1!important}
  html[data-ui="user"] body.home-view .formation-main-action{width:100%!important}
  html[data-ui="user"] body.home-view .home-situation-main{grid-template-columns:1fr!important}
  html[data-ui="user"] body.home-view .projection-message{min-height:58px!important}
  html[data-ui="user"] body.home-view .home-phase-track{grid-template-columns:1fr!important}
}

/* Mobile hard gate */
@media(max-width:520px){
  html[data-ui="user"] .f6-pixar-topbar{
    min-height:82px!important;
    padding:6px 8px!important;
    gap:6px!important;
  }
  html[data-ui="user"] .participant-brand-champions{flex:1 1 auto!important;min-width:0!important;height:68px!important}
  html[data-ui="user"] .participant-brand-image{width:min(205px,56vw)!important;height:66px!important;border-radius:14px!important}
  html[data-ui="user"] .participant-mini-nav{gap:5px!important;flex:0 0 auto!important}
  html[data-ui="user"] .participant-mini-nav a{min-width:44px!important;width:auto!important;min-height:42px!important;padding:6px 10px!important;font-size:.72rem!important}
  html[data-ui="user"] .participant-home-link span{display:none!important}
  html[data-ui="user"] body.home-view .container{padding:8px 7px 3px!important}
  html[data-ui="user"] body.home-view .user-home-shell{gap:9px!important}

  html[data-ui="user"] body.home-view .user-home-welcome{width:63%!important;max-width:63%!important}



  html[data-ui="user"] body.home-view .home-hero-chips{margin-top:10px!important}
  html[data-ui="user"] body.home-view .home-hero-chips span{min-height:30px!important;padding:5px 8px!important;font-size:.58rem!important}
  html[data-ui="user"] body.home-view .home-hero-chips span:nth-child(2){display:none!important}
  html[data-ui="user"] body.home-view .home-mascot-scene{right:-5px!important;width:41%!important;height:205px!important}
  html[data-ui="user"] body.home-view .home-mascot-character{max-width:172px!important;max-height:196px!important}
  html[data-ui="user"] body.home-view .home-mascot-name{display:none!important}
  html[data-ui="user"] body.home-view .participation-status{min-height:58px!important;padding:9px 11px!important;border-radius:15px!important}
  html[data-ui="user"] body.home-view .participation-status span{font-size:12px!important}
  html[data-ui="user"] body.home-view .participation-status strong{font-size:.82rem!important}
  html[data-ui="user"] body.home-view .participation-status small{font-size:12px!important}
  html[data-ui="user"] body.home-view .formation-command-cinematic{grid-template-columns:62px minmax(0,1fr)!important;gap:10px!important;padding:12px!important;border-radius:20px!important}
  html[data-ui="user"] body.home-view .formation-command-visual{width:58px!important;height:70px!important;min-width:58px!important;border-radius:17px!important}
  html[data-ui="user"] body.home-view .formation-clipboard{font-size:2.1rem!important}
  html[data-ui="user"] body.home-view .formation-ball{font-size:1.45rem!important;right:-8px!important;bottom:-6px!important}
  html[data-ui="user"] body.home-view .formation-command-copy .ui-kicker{font-size:12px!important}
  html[data-ui="user"] body.home-view .formation-command-copy h2{font-size:1.45rem!important}
  html[data-ui="user"] body.home-view .formation-command-copy p{font-size:.62rem!important;line-height:1.22!important}
  html[data-ui="user"] body.home-view .formation-deadline-row{gap:5px!important}
  html[data-ui="user"] body.home-view .formation-deadline-row>strong,html[data-ui="user"] body.home-view .deadline-countdown{font-size:.58rem!important;padding:5px 7px!important;min-height:27px!important}
  html[data-ui="user"] body.home-view .formation-command-action{grid-column:1/-1!important}
  html[data-ui="user"] body.home-view .formation-main-action{min-height:50px!important;border-radius:15px!important;font-size:.88rem!important}
  html[data-ui="user"] body.home-view .home-situation-card{padding:12px!important;border-radius:20px!important}
  html[data-ui="user"] body.home-view .home-status-title{align-items:center!important}
  html[data-ui="user"] body.home-view .home-status-title h2{font-size:1.05rem!important}
  html[data-ui="user"] body.home-view .projection-pill{min-height:31px!important;padding:5px 9px!important;font-size:.58rem!important}
  html[data-ui="user"] body.home-view .home-situation-main{gap:7px!important;margin-top:7px!important}
  html[data-ui="user"] body.home-view .home-kpis>div{min-height:67px!important;padding:6px!important}
  html[data-ui="user"] body.home-view .home-kpis span{font-size:.56rem!important}
  html[data-ui="user"] body.home-view .home-kpis strong{font-size:1.4rem!important}
  html[data-ui="user"] body.home-view .projection-message{min-height:0!important;padding:8px!important;font-size:.67rem!important}
  html[data-ui="user"] body.home-view .home-phase-head h2{font-size:.92rem!important}
  html[data-ui="user"] body.home-view .home-phase-head>strong{font-size:.76rem!important}
  html[data-ui="user"] body.home-view .league-progress{gap:4px!important;overflow:hidden!important}
  html[data-ui="user"] body.home-view .league-step{width:31px!important;height:31px!important;min-width:31px!important;font-size:.7rem!important}
  html[data-ui="user"] body.home-view .qualification-road{gap:4px!important}
  html[data-ui="user"] body.home-view .qualification-zone{min-height:57px!important;padding:5px 3px!important;border-radius:12px!important}
  html[data-ui="user"] body.home-view .qualification-zone strong{font-size:.57rem!important}
  html[data-ui="user"] body.home-view .qualification-zone span{font-size:.61rem!important}
  html[data-ui="user"] body.home-view .home-shortcuts-wrap{padding:10px!important;border-radius:20px!important}
  html[data-ui="user"] body.home-view .home-section-heading h2{font-size:.94rem!important}
  html[data-ui="user"] body.home-view .home-section-badge{min-height:29px!important;padding:4px 8px!important;font-size:.6rem!important}
  html[data-ui="user"] body.home-view .home-shortcuts{grid-template-columns:1fr!important;gap:6px!important}
  html[data-ui="user"] body.home-view .home-quick-card{min-height:58px!important;grid-template-columns:68px minmax(0,1fr) 18px!important;gap:9px!important;border-radius:14px!important;padding-right:9px!important}
  html[data-ui="user"] body.home-view .home-quick-icon{width:68px!important;min-height:56px!important;font-size:1.55rem!important}
  html[data-ui="user"] body.home-view .home-quick-card strong{font-size:.83rem!important}
  html[data-ui="user"] body.home-view .home-quick-card small{font-size:.61rem!important}
  html[data-ui="user"] body.home-view .home-secondary-links{gap:5px!important;margin-top:9px!important}
  html[data-ui="user"] body.home-view .home-secondary-links a{min-height:42px!important;padding:6px 4px!important;font-size:.58rem!important;border-radius:12px!important}
  html[data-ui="user"] body.home-view .f6-global-footer{width:calc(100% - 14px)!important;min-height:135px!important;margin:10px auto 16px!important;padding:25px 52px 20px!important;border-radius:20px!important}
  html[data-ui="user"] body.home-view .f6-global-footer:before,html[data-ui="user"] body.home-view .f6-global-footer:after{font-size:2.8rem!important;bottom:8px!important}
  html[data-ui="user"] body.home-view .f6-global-footer:before{left:7px!important}
  html[data-ui="user"] body.home-view .f6-global-footer:after{right:7px!important}
  html[data-ui="user"] body.home-view .f6-global-footer-mini{font-size:.58rem!important}
  html[data-ui="user"] body.home-view .f6-global-footer strong{font-size:clamp(2rem,11vw,2.8rem)!important}
  html[data-ui="user"] body.home-view .f6-global-footer b{font-size:.72rem!important}
}

@media(max-width:360px){
  html[data-ui="user"] .participant-brand-image{width:178px!important}
  html[data-ui="user"] .participant-mini-nav a{min-width:40px!important;padding:6px 8px!important}

  html[data-ui="user"] body.home-view .user-home-welcome{width:67%!important;max-width:67%!important}
  html[data-ui="user"] body.home-view .home-mascot-scene{width:38%!important;height:185px!important;right:-10px!important}
  html[data-ui="user"] body.home-view .home-mascot-character{max-width:145px!important;max-height:176px!important}
  html[data-ui="user"] body.home-view .league-step{width:28px!important;height:28px!important;min-width:28px!important;font-size:.64rem!important}
  html[data-ui="user"] body.home-view .home-secondary-links{grid-template-columns:1fr!important}
}

/* RC2.1 · logo Champions fuso nello stadio dell'header */
html[data-ui="user"] .f6-pixar-topbar{min-height:126px!important}
html[data-ui="user"] .participant-brand-champions{flex-basis:340px!important;height:112px!important}
html[data-ui="user"] .participant-brand-image{
  width:320px!important;
  height:112px!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  -webkit-mask-image:radial-gradient(ellipse 78% 78% at 50% 50%,#000 54%,rgba(0,0,0,.94) 69%,transparent 100%);
  mask-image:radial-gradient(ellipse 78% 78% at 50% 50%,#000 54%,rgba(0,0,0,.94) 69%,transparent 100%);
  filter:drop-shadow(0 10px 15px rgba(0,0,0,.28));
}
@media(max-width:820px){
  html[data-ui="user"] .f6-pixar-topbar{min-height:100px!important}
  html[data-ui="user"] .participant-brand-champions{flex-basis:270px!important;height:86px!important}
  html[data-ui="user"] .participant-brand-image{width:245px!important;height:86px!important}
}
@media(max-width:520px){
  html[data-ui="user"] .f6-pixar-topbar{min-height:84px!important}
  html[data-ui="user"] .participant-brand-champions{height:70px!important;flex:1 1 auto!important}
  html[data-ui="user"] .participant-brand-image{width:min(190px,53vw)!important;height:70px!important}
}

/* ================================================================
   FANTA6 1.1.0 · HOME UFFICIALE DEFINITIVA
   Riferimento visivo congelato: dashboard_fanta6_champions_cup_neon.png
   Questa sezione è volutamente in coda e prevale su tutte le iterazioni
   Home precedenti senza alterare le altre schermate utente/admin.
   ================================================================ */

html[data-ui="user"] body.home-view{
  margin:0!important;
  overflow-x:hidden!important;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(18,120,255,.22),transparent 34rem),
    linear-gradient(180deg,#031a42 0%,#042b62 46%,#03183a 100%)!important;
}/* Header ufficiale: sul desktop usa direttamente il visual approvato.
   Le aree cliccabili Home/Esci sono sovrapposte ai pulsanti già presenti
   nell'immagine, quindi resa grafica e interazione restano separate. */

html[data-ui="user"] body.home-view .f6-home-topbar-art{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:fill!important;
}

html[data-ui="user"] body.home-view .f6-home-topbar-art-mobile{display:none!important}
html[data-ui="user"] body.home-view .f6-home-topbar-hotspot{
  position:absolute!important;
  top:21%!important;
  height:58%!important;
  border-radius:999px!important;
  color:transparent!important;
  font-size:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  outline-offset:3px!important;
  z-index:3!important;
}
html[data-ui="user"] body.home-view .f6-home-topbar-hotspot:focus-visible{
  outline:3px solid #fff!important;
}
html[data-ui="user"] body.home-view .f6-home-topbar-home{left:62.1%!important;width:16.9%!important}
html[data-ui="user"] body.home-view .f6-home-topbar-exit{left:80.1%!important;width:13.0%!important}
html[data-ui="user"] body.home-view .f6-home-mobile-topbar{display:none!important}

html[data-ui="user"] body.home-view .container{
  width:min(100%,1086px)!important;
  max-width:1086px!important;
  margin:0 auto!important;
  padding:6px 48px 0!important;
}/* HERO *//* STATO PARTECIPAZIONE *//* PRIORITÀ FORMAZIONE *//* LA TUA SITUAZIONE *//* ACCESSO RAPIDO */















/* Footer approvato: asset statico ufficiale, nessuna reinterpretazione CSS. */
html[data-ui="user"] body.home-view .f6-home-official-footer{
  width:min(100%,1086px)!important;
  max-width:1086px!important;
  margin:8px auto 0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#042453!important;
}
html[data-ui="user"] body.home-view .f6-home-official-footer img{
  display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important
}

/* Interazioni senza alterare il visual approvato */
@media(hover:hover){


}

/* TABLET */
@media(max-width:900px){
  html[data-ui="user"] body.home-view .container{padding:6px 28px 0!important}







}

/* MOBILE: stesso linguaggio, ma senza clipping e senza affidarsi all'header raster desktop. */
@media(max-width:700px){

  html[data-ui="user"] body.home-view .f6-home-topbar-art-desktop{display:none!important}
  html[data-ui="user"] body.home-view .f6-home-topbar-art-mobile{
    display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;z-index:0!important
  }
  html[data-ui="user"] body.home-view .f6-home-topbar-hotspot{display:block!important;top:0!important;height:100%!important;z-index:2!important}
  html[data-ui="user"] body.home-view .f6-home-topbar-home{left:49.6%!important;width:24.0%!important}
  html[data-ui="user"] body.home-view .f6-home-topbar-exit{left:74.0%!important;width:19.0%!important}
  html[data-ui="user"] body.home-view .f6-home-mobile-topbar{display:none!important}
  html[data-ui="user"] body.home-view .container{padding:7px 10px 0!important}





















































  html[data-ui="user"] body.home-view .f6-home-official-footer{margin-top:7px!important}
}

@media(max-width:380px){




}/* HOME UFFICIALE · rifinitura dopo confronto pixel-level con il mockup approvato */


@media(max-width:900px){

}
@media(max-width:700px){




}/* HOME UFFICIALE · rifinitura finale di fedeltà */

@media(max-width:900px){

}
@media(max-width:700px){


}/* HOME UFFICIALE · reset dei residui pseudo-elementi delle vecchie Home */

/* ==================================================================
   FANTA6 1.1.0 · HOME UFFICIALE · POLISH FINALE APPROVATO
   20/09/2026 — correzioni isolate: allineamento topbar + hero/mascotte.
   Nessuna altra area della Home viene reinterpretata.
   ================================================================== *//* La topbar ora segue ESATTAMENTE i bordi interni del contenitore Home.
   Desktop: container 1086px con 48px per lato => area utile 990px. */
/* Hero: più profondità da stadio, senza modificare struttura o testi. */

/* La mascotte torna protagonista: dimensione esplicita, non solo max-height. */




/* Tablet: topbar allineata al padding 28px della Home. */
@media(max-width:900px){


}

/* Mobile: topbar allineata al padding 10px della Home e nessun overflow. */
@media(max-width:700px){





}

@media(max-width:380px){

}

/* ======================================================================
   FANTA6 1.1.1 · UI QUALITY HOTFIX
   20/09/2026 — interventi chirurgici su responsive, mascotte, formazione,
   archivio/classifiche, navigazione interna e login. Nessuna regola di
   gioco, punteggio o dato storico viene modificato.
   ====================================================================== */

/* 1.1.1 · NAV INTERNA — Home deve essere esplicita, grande e touch-friendly. */
html[data-ui="user"] .participant-mini-nav{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:nowrap!important
}
html[data-ui="user"] .participant-mini-nav a{
  min-height:52px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important
}
html[data-ui="user"] .participant-home-link{
  width:auto!important;min-width:126px!important;padding:10px 18px!important;font-size:1rem!important
}
html[data-ui="user"] .participant-home-icon{display:inline-grid!important;place-items:center!important;font-size:1.28rem!important;line-height:1!important}
html[data-ui="user"] .participant-home-text{display:inline!important;font-size:1rem!important;font-weight:950!important;line-height:1!important}
html[data-ui="user"] .participant-logout-link{min-width:88px!important;padding:10px 17px!important}
@media(max-width:520px){
  html[data-ui="user"] .f6-pixar-topbar .participant-brand-champions{flex:1 1 auto!important;min-width:0!important}
  html[data-ui="user"] .f6-pixar-topbar .participant-brand-image{width:min(174px,44vw)!important;height:68px!important}
  html[data-ui="user"] .participant-mini-nav{gap:6px!important}
  html[data-ui="user"] .participant-home-link{width:auto!important;min-width:92px!important;height:46px!important;min-height:46px!important;padding:7px 11px!important}
  html[data-ui="user"] .participant-home-text{display:inline!important;font-size:.86rem!important}
  html[data-ui="user"] .participant-home-icon{font-size:1.06rem!important}
  html[data-ui="user"] .participant-logout-link{min-width:66px!important;height:46px!important;min-height:46px!important;padding:7px 10px!important;font-size:.84rem!important}
}
@media(max-width:370px){
  html[data-ui="user"] .f6-pixar-topbar .participant-brand-image{width:min(154px,43vw)!important}
  html[data-ui="user"] .participant-home-link{min-width:86px!important;padding-inline:9px!important}
  html[data-ui="user"] .participant-logout-link{min-width:61px!important}
}

/* 1.1.1 · LOGIN — scelta Ricordami leggibile; password sempre al browser/password manager. */
body.login-view .login-remember-row{
  display:flex!important;align-items:flex-start!important;gap:11px!important;padding:11px 13px!important;margin:0!important;
  border:1px solid rgba(164,199,239,.34)!important;border-radius:15px!important;background:rgba(255,255,255,.08)!important;cursor:pointer!important
}
body.login-view .login-remember-row input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;
  margin:2px 0 0!important;padding:0!important;border:0!important;border-radius:4px!important;box-shadow:none!important;accent-color:#18b968!important
}
body.login-view .login-remember-row>span{display:grid!important;gap:2px!important;min-width:0!important;text-align:left!important}
body.login-view .login-remember-row strong{color:#fff!important;font-size:.84rem!important;line-height:1.15!important}
body.login-view .login-remember-row small{color:#cfe3fb!important;font-size:12px!important;line-height:1.4!important;font-weight:500!important}/* 1.1.1 · HOME CTA — il pallone resta decorativo e non può più coprire il testo. */





@media(max-width:700px){





}
@media(max-width:370px){


}/* 1.1.1 · ACCESSO RAPIDO — griglia interna unica: icona, titolo e sottotitolo sempre allineati. */




/* 1.1.1 · SAFE AREA MASCOTTE — immagine intera, scala proporzionale, mai crop. */


html[data-ui="user"] .formation-hero-mascot{
  overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:7px!important
}
html[data-ui="user"] .formation-hero-mascot img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:drop-shadow(0 13px 10px rgba(0,0,0,.26))!important
}
html[data-ui="user"] .section-mascot{
  object-fit:contain!important;object-position:center bottom!important;padding:3px!important;border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;filter:drop-shadow(0 9px 8px rgba(0,0,0,.24))!important
}
html[data-ui="user"] .score-team-mascot,
html[data-ui="user"] .team-mascot-inline{
  object-fit:contain!important;object-position:center bottom!important;background:transparent!important
}
@media(max-width:700px){
}
@media(max-width:390px){
}

/* 1.1.1 · FORMAZIONE — SVUOTA TUTTO è secondario, evidente e non può inviare il form. */
.formation-panel-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.formation-panel-tools>#formation-count{display:inline-flex;align-items:center;justify-content:center;min-width:52px}
.formation-clear-btn{
  width:auto!important;min-height:38px!important;margin:0!important;padding:8px 12px!important;border-radius:12px!important;
  border:1px solid #e6a0a8!important;background:linear-gradient(180deg,#fff8f9,#ffe9ec)!important;color:#9b2636!important;
  box-shadow:0 5px 12px rgba(130,31,47,.08)!important;font-family:var(--f6-display)!important;font-size:.72rem!important;font-weight:950!important;letter-spacing:.02em!important
}
.formation-clear-btn:hover{transform:translateY(-1px)!important;background:#ffe1e6!important}
@media(max-width:620px){
  .formation-panel-heading{align-items:flex-start!important;gap:10px!important}
  .formation-panel-tools{display:grid!important;justify-items:end!important;gap:6px!important}
  .formation-clear-btn{min-height:36px!important;padding:7px 9px!important;font-size:.64rem!important}
}
@media(max-width:700px){
}
@media(max-width:390px){
}

/* ======================================================================
   FANTA6 1.1.2 · LEGGE DEL GUARDIANO GRAFICO — HARD GATE FINALE
   Queste regole prevalgono su ogni iterazione legacy. Nessun dato/regola
   di gioco viene modificato: soltanto resa, leggibilita e responsive.
   ====================================================================== */

/* HEADER INTERNO: mai piu pulsante Home anonimo/vuoto. */
html[data-ui="user"] .f6-pixar-topbar .participant-mini-nav{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:0 0 auto!important;gap:9px!important;overflow:visible!important
}
html[data-ui="user"] .f6-pixar-topbar .participant-mini-nav a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:50px!important;height:auto!important;border-radius:999px!important;
  color:#fff!important;white-space:nowrap!important;overflow:visible!important;text-indent:0!important
}
html[data-ui="user"] .f6-pixar-topbar .participant-home-link{
  min-width:118px!important;width:auto!important;padding:9px 17px!important;
  font-family:var(--f6-display)!important;font-size:.95rem!important;font-weight:400!important;
  letter-spacing:0!important;line-height:1!important
}
html[data-ui="user"] .f6-pixar-topbar .participant-logout-link{
  min-width:82px!important;padding:9px 15px!important
}
@media(max-width:520px){
  html[data-ui="user"] .f6-pixar-topbar .participant-brand-champions{min-width:0!important;flex:1 1 auto!important}
  html[data-ui="user"] .f6-pixar-topbar .participant-brand-image{width:min(166px,43vw)!important;height:64px!important}
  html[data-ui="user"] .f6-pixar-topbar .participant-mini-nav{gap:5px!important}
  html[data-ui="user"] .f6-pixar-topbar .participant-home-link{
    min-width:88px!important;min-height:44px!important;padding:7px 10px!important;font-size:.78rem!important
  }
  html[data-ui="user"] .f6-pixar-topbar .participant-logout-link{
    min-width:60px!important;min-height:44px!important;padding:7px 8px!important;font-size:.78rem!important
  }
}
@media(max-width:370px){
  html[data-ui="user"] .f6-pixar-topbar .participant-brand-image{width:min(146px,41vw)!important}
  html[data-ui="user"] .f6-pixar-topbar .participant-home-link{min-width:80px!important;padding-inline:8px!important;font-size:12px!important}
  html[data-ui="user"] .f6-pixar-topbar .participant-logout-link{min-width:56px!important;padding-inline:7px!important;font-size:12px!important}
}

/* FORMAZIONE: i link informativi non possono mai tagliare testo o uscire dal box. */
html[data-ui="user"] .formation-prematch-link{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;gap:10px!important;width:100%!important;max-width:100%!important;
  box-sizing:border-box!important;overflow:hidden!important
}
html[data-ui="user"] .formation-prematch-link .button{
  width:100%!important;min-width:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.05!important
}
html[data-ui="user"] .formation-prematch-link small{
  grid-column:1/-1!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:2px 0 0!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.35!important
}
@media(max-width:620px){
  html[data-ui="user"] .formation-prematch-link{grid-template-columns:1fr!important;padding:11px!important}
  html[data-ui="user"] .formation-prematch-link small{grid-column:1!important}
}/* MASCOTTE 1.1.2: asset display a safe-area stretta, mai il master con 25% di vuoto laterale. */


html[data-ui="user"] .formation-hero-mascot{overflow:visible!important;padding:0!important}
html[data-ui="user"] .formation-hero-mascot img{
  width:auto!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center bottom!important;margin:0 auto!important
}
html[data-ui="user"] .section-mascot,
html[data-ui="user"] .score-team-mascot,
html[data-ui="user"] .team-mascot-inline{
  object-fit:contain!important;object-position:center bottom!important
}
@media(max-width:700px){
}
@media(max-width:390px){
}
@media(max-width:700px){
}
@media(max-width:390px){
}

/* ========================================================================== */
/* FANTA6 1.1.2 · GUARDIANO GRAFICO — CORREZIONI HARD-GATE                   */
/* ========================================================================== */

/* HOME: il blocco testo ha una zona inviolabile; la mascotte resta a destra. */
@media(max-width:700px){

}
@media(max-width:370px){

}/* ACCESSO RAPIDO: il secondo binario della griglia occupa SEMPRE tutta la colonna.
   Così titolo e sottotitolo partono dalla stessa ascissa in ogni card. */

/* Il vincitore deve dominare visivamente anche sui telefoni più stretti. */
@media(max-width:430px){
}

/* ========================================================================== */
/* FANTA6 1.1.3 · GUARDIAN FINAL — MASCOTTE 40/40                            */
/* ========================================================================== */
/* Mobile Home: conserva la mascotte grande, ma spostala nella sua corsia a
   destra così il nome squadra resta sempre completamente libero. */
@media(max-width:700px){


}

/* Podio mobile: le mascotte devono essere protagoniste, non francobolli.
   Si ingrandiscono visivamente senza cambiare dati, ordine o punteggi. */
@media(max-width:430px){
}

/* PODIO MOBILE — non cambia linguaggio grafico: stessa scena, semplicemente
   ricomposta e compressa. Nessuna versione "piatta" alternativa. */
@media(max-width:700px){
}
@media(max-width:390px){
}

/* TOPBAR INTERNA — più compatta e mai invasiva sui contenuti. */
html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar{
  min-height:88px!important;
  padding:6px max(14px,calc((100vw - 1180px)/2))!important;
  gap:12px!important;
}
html[data-ui="user"] body:not(.home-view) .participant-brand-champions{height:76px!important;flex-basis:240px!important;min-width:160px!important}
html[data-ui="user"] body:not(.home-view) .participant-brand-image{width:min(220px,30vw)!important;height:76px!important}
html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-mini-nav a{min-height:44px!important}
html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-home-link{min-width:102px!important;padding:8px 14px!important;font-size:.86rem!important}
html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-logout-link{min-width:72px!important;padding:8px 12px!important;font-size:.86rem!important}
html[data-ui="user"]{scroll-padding-top:96px!important}
@media(max-width:700px){
  html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar{
    min-height:70px!important;padding:4px 8px!important;gap:6px!important
  }
  html[data-ui="user"] body:not(.home-view) .participant-brand-champions{height:58px!important;flex:1 1 auto!important;min-width:0!important}
  html[data-ui="user"] body:not(.home-view) .participant-brand-image{width:min(148px,39vw)!important;height:58px!important}
  html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-mini-nav{gap:4px!important}
  html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-mini-nav a{min-height:40px!important}
  html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-home-link{min-width:76px!important;padding:7px 8px!important;font-size:12px!important}
  html[data-ui="user"] body:not(.home-view) .f6-pixar-topbar .participant-logout-link{min-width:54px!important;padding:7px 7px!important;font-size:12px!important}
  html[data-ui="user"]{scroll-padding-top:76px!important}
}
@media(max-width:700px){
}
@media(max-width:390px){
}

@media(max-width:700px){
}
@media(max-width:430px){
}

/* FANTA6 1.1.14 · REGOLAMENTO SEARCH */
.rules-search-panel{margin:0 0 18px;padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(5,18,43,.78);box-shadow:0 14px 36px rgba(0,0,0,.18)}
.rules-search-panel label{display:grid;gap:3px;margin-bottom:10px}.rules-search-panel label strong{font-size:1rem}.rules-search-panel label span{font-size:.86rem;opacity:.78}
.rules-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.rules-search-row input{min-width:0;width:100%;min-height:46px;border-radius:12px;padding:0 14px;font:inherit}.rules-search-row button{min-width:96px;min-height:46px;padding:0 16px;border-radius:12px;font-weight:900}.rules-search-feedback{margin:10px 0 0;font-size:.88rem;opacity:.88}.rules-page[hidden]{display:none!important}
@media (max-width:640px){.rules-search-panel{padding:13px;margin-bottom:14px;border-radius:15px}.rules-search-row{grid-template-columns:minmax(0,1fr) 86px;gap:8px}.rules-search-row input{min-height:44px;padding:0 11px;font-size:16px}.rules-search-row button{min-width:0;min-height:44px;padding:0 8px;font-size:.78rem;letter-spacing:.02em}}

/* FANTA6 1.1.16 · MOBILE TYPOGRAPHY POLISH
   Obiettivo: migliorare la leggibilità su iPhone senza ingrandire
   indiscriminatamente l'interfaccia o cambiare layout/card geometry. */
@media (max-width:760px){
  html[data-ui="user"] .home-quick-card strong{
    font-size:1.05rem;
    line-height:1.12;
    letter-spacing:-.005em;
  }
  html[data-ui="user"] .home-quick-card small{
    font-size:.82rem;
    line-height:1.24;
  }
  html[data-ui="user"] .participant-mini-nav a{
    font-size:.86rem;
    line-height:1.15;
  }
  html[data-ui="user"] .user-section-hero p{
    font-size:.875rem;
    line-height:1.32;
  }
}
@media (max-width:620px){
  html[data-ui="user"] .formation-search-label>span{
    font-size:.76rem;
    line-height:1.12;
    letter-spacing:.045em;
  }
  html[data-ui="user"] .formation-slot-head small{
    font-size:.70rem;
    line-height:1.05;
    letter-spacing:.06em;
  }
  html[data-ui="user"] .score-player-club{
    font-size:.77rem;
    line-height:1.12;
    letter-spacing:.035em;
  }
  html[data-ui="user"] .score-plus-badge{
    font-size:.67rem;
    line-height:1.05;
    letter-spacing:.04em;
  }
}
@media(max-width:700px){
}
@media(max-width:430px){
}
@media(max-width:700px){
}
@media(max-width:700px){
}
@media(max-width:700px){
}
@media(max-width:700px){
}
@media(max-width:700px){
}
/* Home approved mockups — isolated from all other participant/admin pages.
   Interactive type intentionally uses the project's existing font stack.
   36 Pixel is not a verified font. Logo/headline remain separate illustrations. */
@font-face {font-family:"Lilita One";font-style:normal;font-weight:400;font-display:swap;src:url('/assets/home/fonts/LilitaOne-Regular.ttf') format('truetype')}
html[data-ui="user"] body.home-redesign {
  background:#020b28!important;
  background-image:radial-gradient(ellipse at 50% 20%,#073daf88,transparent 65%)!important;
  color:#fff!important;
  --home-display:"Lilita One",sans-serif;
}
body.home-redesign::before,body.home-redesign::after {display:none!important}
html[data-ui="user"] body.home-view.home-redesign>main.container {max-width:none!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
body.home-redesign :is(.f6-header,#f6-home) {box-sizing:border-box}
body.home-redesign :is(.f6-header,#f6-home) a {color:inherit;text-decoration:none}
body.home-redesign :is(.f6-header,#f6-home) a:focus-visible,
body.home-redesign :is(.f6-header,#f6-home) summary:focus-visible {outline:3px solid #fff;outline-offset:4px}
.f6-header {height:76px;padding:0 max(24px,calc((100vw - 1536px)/2 + 34px));display:flex;align-items:center;gap:18px;position:relative;z-index:5;border-bottom:1px solid #326bd4;background:radial-gradient(ellipse at 25% 0,#10399a,#030c2c 75%)}
.f6-logo {align-self:flex-start;display:block;width:190px;flex:none;position:relative;z-index:2}
.f6-logo img {display:block;width:100%;height:104px;object-fit:contain;filter:drop-shadow(0 4px 2px #0009)}
.f6-identity {margin-left:auto;position:relative;min-width:0;max-width:55%}
.f6-identity summary {display:flex;align-items:center;gap:12px;min-height:48px;padding:0 16px 0 4px;border:1px solid #446bad;border-radius:36px;background:#020b2fd9;cursor:pointer;list-style:none;font-family:var(--home-display);font-weight:900}
.f6-identity summary::-webkit-details-marker{display:none}
.f6-identity summary>span {min-width:0;overflow-wrap:anywhere;line-height:1.1}
.f6-portrait {display:block;position:relative;width:60px;height:60px;flex:none;overflow:hidden;border-radius:50%;border:1px solid #70c7ff;background:radial-gradient(circle,#2466b2,#081939);box-shadow:0 0 8px #2f94ff66}
/* CSS-only portrait windows over the actual verified team asset. Masters unchanged. */









.f6-identity nav {position:absolute;top:100%;right:0;min-width:170px;display:grid;background:#03133c;border:1px solid #39cbff;border-radius:14px;padding:6px;box-shadow:0 10px 24px #0009}
.f6-identity nav a {display:block;padding:14px;border-radius:9px}
.f6-identity nav a:hover {background:#133d89}
.f6-settings {display:grid;place-items:center;font-size:34px;min-width:48px;min-height:48px}
.f6-home-admin-links {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.f6-home-admin-links a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;white-space:nowrap;border-radius:8px}
.f6-home-admin-links a:hover {background:rgba(255,255,255,.12)}
.f6-home-admin-links a:focus-visible {outline:3px solid #fff;outline-offset:2px}
@media (max-width:1000px) {
  .f6-admin-home-header {height:auto;min-height:76px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
  .f6-home-admin-links {flex-basis:100%;justify-content:flex-end}
}
#f6-home {max-width:1600px;margin:auto;isolation:isolate}
#f6-home h1,#f6-home h2,#f6-home p {margin:0}
#f6-home h2 {font-family:var(--home-display);font-weight:1000;letter-spacing:-.025em;text-shadow:0 2px 0 #061126,0 3px 0 #a9c4ff77}
.f6-hero {position:relative;min-height:400px;aspect-ratio:3.65;background-image:url('/assets/home/hero.webp');background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:center;padding:26px 5.5% 28px}
.f6-hero-copy {width:48%;position:relative;z-index:1}
.f6-hero h1 {width:100%;line-height:0}
.f6-hero h1 img {width:100%;height:auto;display:block;filter:drop-shadow(0 4px 1px #0009)}
.f6-motto {font-family:var(--home-display);font-size:clamp(17px,1.8vw,28px);font-weight:900;line-height:1.15;text-shadow:0 2px 2px #000,0 0 7px #020e32;padding:5px 0 12px}
.f6-formation {width:43%;z-index:1}
.f6-formation-action {display:flex;align-items:center;justify-content:center;gap:14px;min-height:76px;padding:8px 18px;border:2px solid #fffa9b;border-radius:50px;background:linear-gradient(110deg,#ffa917,#fff04f 32%,#ffca24 72%,#fda70b);box-shadow:inset 0 0 0 3px #ffc52b,inset 0 -5px 8px #e76c03,0 3px 0 #d56a00,0 5px 0 #061229,0 8px 18px #0009;color:#041743!important;font-family:var(--home-display);font-weight:1000;font-size:clamp(20px,2.2vw,34px);line-height:1.05;text-shadow:0 1px 0 white}
.f6-formation-action>span:nth-child(2) {min-width:0}
.f6-formation-icon {display:block;width:72px;height:64px;object-fit:contain;flex:none;margin:-10px 0;filter:drop-shadow(0 2px 1px #0007)}
.f6-formation-action>b {font-size:48px;line-height:.7;margin-left:auto}
.f6-formation-action:hover {filter:brightness(1.08);transform:translateY(-1px)}
.f6-formation-action.is-disabled {background:linear-gradient(110deg,#bb9545,#ffe98a,#bf973a);cursor:default}
.f6-formation-detail {display:flex;flex-wrap:wrap;gap:3px 10px;margin:12px 12px 0;padding:7px 12px;background:#020d32e8;border:1px solid #5b7ebb66;border-radius:10px;font-size:12px;line-height:1.35;color:#ebf4ff}
.f6-formation-detail>strong {color:#ffe565}
.f6-formation-detail>span:last-child {width:100%}
.f6-home-content {position:relative;padding:0 34px 16px;background:radial-gradient(ellipse at 50% 0,#07368366,transparent 65%),#020b28}
.f6-situation {border:1px solid #17cdff;border-radius:17px;background:linear-gradient(110deg,#04133ce8,#020a28f5);display:grid;grid-template-columns:1.2fr 2fr 1.6fr;align-items:center;padding:14px 22px 0;box-shadow:0 3px 12px #0005}
.f6-situation h2 {font-size:clamp(19px,2vw,30px);padding-right:18px}
.f6-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;min-width:0}
.f6-kpis>div {min-width:0;border-left:1px solid #5a7ab2;padding:0 15px}
.f6-kpis dt {font-weight:700;font-size:12px;color:#f2f5ff}
.f6-kpis dt span {font-size:26px;display:block;float:left;margin:3px 10px 4px 0}
.f6-kpis dd {margin:4px 0 0;font-weight:900;font-size:23px;line-height:1.2}
.f6-kpis dd.f6-zone-text {font-size:13px;color:#ffe062}
.f6-road {list-style:none;display:flex;justify-content:space-between;position:relative;margin:0 0 0 22px;padding:0;border-left:1px solid #5a7ab2}
.f6-road:before {content:"";position:absolute;left:16%;right:12%;height:2px;background:linear-gradient(90deg,#ffd636,#b7c6e0);top:31px;z-index:0}
.f6-road li {position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;z-index:1;font-family:var(--home-display);font-size:14px}
.f6-road li>strong {white-space:nowrap}
.f6-road-dot {width:20px;height:20px;border:2px solid #d2e6ff;border-radius:50%;background:#132644;box-shadow:0 0 5px #47a3ff66}
.f6-road small {font:10px system-ui,sans-serif;color:#bfcee9}
.f6-road-gold-direct>strong {color:#ffe267}
.f6-road-gold-direct .f6-road-dot {background:linear-gradient(#fff78f,#ffb400)}
.f6-road-silver .f6-road-dot {background:linear-gradient(#fff,#9bb2d6)}
.f6-road .is-current .f6-road-dot {outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 16px 4px #38bbff}
.f6-road .is-current>strong {text-decoration:underline;text-underline-offset:3px}
.f6-progress-details {grid-column:1/3;align-self:start;min-width:0;margin-top:12px;border-top:1px solid #45659066;font-size:12px;line-height:1.45}
.f6-progress-details summary {cursor:pointer;min-height:44px;display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;padding:8px 0;color:#d6e8ff}
.f6-progress-details summary span {margin-left:auto;color:#ffdf67}
.f6-progress-details summary span:after{content:' ⌄'}
.f6-progress-details[open] summary span:after{content:' ⌃'}
.f6-progress-details p {padding:4px 0 9px}
.f6-progress {display:flex;flex-wrap:wrap;gap:6px;padding:6px 0}
.f6-progress .league-step {position:static!important;width:27px!important;height:27px!important;display:grid!important;place-items:center!important;margin:0!important;border-radius:50%!important;background:#143669!important;border:1px solid #759cd0!important;font-size:12px!important;color:#fff!important}
.f6-progress .league-step.done,.f6-progress .league-step.active {background:#f5cc48!important;color:#04133c!important}
.f6-fee {grid-column:3;min-width:0;margin-top:12px;border-top:1px solid #45659066}
html[data-ui="user"] #f6-home .f6-fee .participation-status {margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;padding:8px 0 8px 20px!important;min-height:44px!important;display:flex!important;align-items:center!important;gap:8px!important}
html[data-ui="user"] #f6-home .f6-fee .participation-status>div:last-child {display:flex!important;flex-wrap:wrap!important;gap:3px 8px!important;align-items:center!important}
html[data-ui="user"] #f6-home .f6-fee .participation-status span,html[data-ui="user"] #f6-home .f6-fee .participation-status small {display:none!important}
html[data-ui="user"] #f6-home .f6-fee .participation-status strong {font:700 11px system-ui,sans-serif!important;letter-spacing:0!important}
html[data-ui="user"] #f6-home .f6-fee .participation-status.is-unpaid strong {color:#ffbdc7!important}
html[data-ui="user"] #f6-home .f6-fee .participation-status.is-paid strong {color:#afffcf!important}
html[data-ui="user"] #f6-home .f6-fee .participation-status-dot {width:12px!important;height:12px!important;min-width:12px!important}
.f6-explore h2 {display:flex;align-items:center;gap:10px;font-size:clamp(24px,2.3vw,34px);padding:13px 0 10px;line-height:1.1}
.f6-explore h2>span {color:#ffe052}
.f6-explore h2:after {content:"";height:2px;background:linear-gradient(90deg,#ffdc27,#ffe977);flex:1;margin-left:12px;box-shadow:0 0 5px #ffc02d55}
.f6-cards {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.f6-card {min-width:0;display:grid;grid-template-rows:auto 48px;position:relative;border:1px solid #27d2ff;border-radius:14px;overflow:hidden;background:#032580;box-shadow:inset 0 0 0 1px #86ccff,0 4px 8px #0008;transition:transform .15s,filter .15s}
.f6-card>img {display:block;width:100%;aspect-ratio:2.65;height:auto;object-fit:cover;min-width:0;max-height:none}
.f6-card-title {display:grid;place-items:center;position:relative;min-width:0;height:48px;padding:3px 24px;background:linear-gradient(#063bb9,#020e39 80%);border-top:1px solid #559cff55}
.f6-card-title strong {font-family:var(--home-display);font-size:clamp(14px,1.3vw,20px);font-weight:400;font-synthesis:none;text-transform:uppercase;line-height:1.04;text-align:center;color:#fff;letter-spacing:.005em;text-shadow:0 1px 0 #b6ceeb,0 2px 0 #0b1b48,0 3px 3px #0009;overflow-wrap:normal}
.f6-card-title>b {position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:28px;font-weight:400;line-height:1}
.f6-card.is-disabled .f6-card-title>b {font-size:15px}
.f6-card.is-disabled>img {filter:saturate(.8) brightness(.8)}
.f6-lock-note {position:absolute;top:5px;left:5px;right:5px;background:#020b2edb;border-radius:5px;text-align:center;font-size:10px;line-height:1.2;padding:4px;color:#fff}
a.f6-card:hover {filter:brightness(1.15);transform:translateY(-2px)}
.f6-footer {display:flex;justify-content:center;margin:26px 0 0;padding:14px 0 20px;border-top:1px solid #92b4fa66}
.f6-footer>a {display:flex;gap:20px;justify-content:center;align-items:center;min-height:60px;width:340px;padding:6px 25px;font-family:var(--home-display);font-size:20px;text-transform:uppercase;font-weight:900}
.f6-footer>a+a {border-left:1px solid #9ab5e9}
.f6-footer>a>span {font-size:34px}
.f6-footer>a[href="/account"]>span {filter:grayscale(1) brightness(2) sepia(1) saturate(5);text-shadow:0 2px 2px #4f2600}
.f6-footer>a>b {font-size:30px;font-weight:400}
@media (min-width:1600px) {.f6-hero{min-height:438px}}
@media (max-width:1000px) {
  .f6-header {padding:0 20px}
  .f6-hero {min-height:380px;padding-left:4%;padding-right:4%}
  .f6-hero-copy {width:52%}
  .f6-formation {width:50%}
  .f6-home-content {padding:0 20px 12px}
  .f6-situation {grid-template-columns:1fr 1.5fr;padding:15px 16px 0}
  .f6-road {grid-column:1/-1;margin:16px 0 0;border:0}
  .f6-progress-details {grid-column:1}
  .f6-fee {grid-column:2}
  .f6-cards {gap:9px}
}
@media (max-width:760px) {
  .f6-header {height:70px;padding:0 12px;gap:7px}
  .f6-logo {width:112px}
  .f6-logo img {height:79px}
  .f6-identity {max-width:calc(100% - 162px)}
  .f6-identity summary {padding:3px 7px 3px 2px;gap:5px;min-height:44px;font-size:11px}
  .f6-portrait {width:44px;height:44px}
  .f6-settings {min-width:44px;min-height:44px;font-size:27px}
  .f6-hero {aspect-ratio:auto;min-height:0;padding:32px 14px 0;background-size:auto 350px;background-position:58% top;background-repeat:no-repeat;display:grid;grid-template-rows:280px auto;align-content:start}
  .f6-hero-copy {width:65%;max-width:204px;align-self:start}
  .f6-hero h1 img {width:100%;height:auto}
  .f6-motto {font-size:18px;font-weight:400;line-height:1.22;padding:8px 0 0;max-width:210px}
  .f6-formation {width:100%;margin-top:1px}
  .f6-formation-action {font-size:21px;min-height:62px;padding:8px 16px;gap:8px;white-space:normal}
  .f6-formation-icon {width:48px;height:49px;margin:-10px 0}
  .f6-formation-action>b {font-size:35px}
  .f6-formation-detail {font-size:11px;margin:10px 3px 12px;padding:7px 8px;gap:3px 7px}
  .f6-home-content {padding:0 14px 12px;background-size:auto 800px}
  .f6-situation {display:grid;grid-template-columns:minmax(0,1fr);padding:12px 10px 0;border-radius:13px}
  .f6-situation h2 {font-size:25px;padding:0 0 14px;text-align:left}
  .f6-kpis {grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .f6-kpis>div {padding:0 9px;min-width:0}
  .f6-kpis>div:first-child {border-left:0;padding-left:0}
  .f6-kpis>div:last-child {padding-right:0}
  .f6-kpis dt {font-size:11px;line-height:1.2}
  .f6-kpis dt span {float:none;display:block;font-size:25px;margin:0 0 5px}
  .f6-kpis dd {font-size:20px;margin-top:5px}
  .f6-kpis dd.f6-zone-text {font-size:11px;line-height:1.3}
  .f6-road {grid-column:1;margin:18px -3px 0;padding:10px 0;background:#020c29;border-radius:11px;border:0}
  .f6-road:before {top:42px;left:16%;right:16%}
  .f6-road li {font-size:14px}
  .f6-road small {font-size:10px}
  .f6-progress-details {grid-column:1;margin-top:10px;font-size:11px}
  .f6-progress-details summary {display:block;padding:10px 0;min-height:44px}
  .f6-progress-details summary span {display:block;margin-top:3px}
  .f6-fee {grid-column:1;margin:0}
  html[data-ui="user"] #f6-home .f6-fee .participation-status {padding:9px 0!important;min-height:34px!important}
  .f6-explore h2 {font-size:24px;gap:6px;padding:16px 0 10px}
  .f6-explore h2:after {margin-left:5px}
  .f6-cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px}
  .f6-card {border-radius:9px;aspect-ratio:2.4;grid-template-rows:minmax(0,1fr) 32px}
  .f6-card>img {aspect-ratio:auto;width:100%;height:100%;min-height:0;object-fit:cover}
  .f6-card>img[src$="gazzetta.webp"] {object-position:50% 15%}
  .f6-card-title {height:32px;padding:2px 17px}
  .f6-card-title strong {font-size:13px;line-height:1.04}
  .f6-card-title>b {font-size:21px;right:5px}
  .f6-lock-note {font-size:9px;top:4px;left:4px;right:4px;padding:3px}
  .f6-footer {margin-top:18px;padding:10px 0 20px}
  .f6-footer>a {width:50%;font-size:13px;gap:9px;padding:4px 8px;min-height:58px}
  .f6-footer>a>span {font-size:26px}
  .f6-footer>a>b {font-size:24px}
}
@media (prefers-reduced-motion:reduce) {.f6-card,.f6-formation-action{transition:none!important;transform:none!important}}
/* Formation Champions restyling */
html[data-ui="user"] body.formation-redesign {background:#020b28!important;--home-display:"Lilita One",sans-serif!important}
html[data-ui="user"] body.formation-redesign>main.container {width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.formation-redesign #f6-formation {max-width:1600px!important;margin:auto!important;color:#fff!important;font-family:var(--home-display)!important;background:#031235!important}
body.formation-redesign #f6-formation * {box-sizing:border-box!important}
body.formation-redesign #f6-formation :is(h1,h2,p) {margin:0!important}
body.formation-redesign #f6-formation :is(h1,h2,.formation-slot-head,.formation-submit-btn,.formation-module) {font-family:var(--home-display)!important;font-weight:400!important;letter-spacing:0!important}
body.formation-redesign #f6-formation h2 {font-size:28px!important;line-height:1.1!important;color:white!important;text-shadow:0 2px #52658b,0 3px #020820!important}
body.formation-redesign #f6-formation h2 span {color:#ffe464!important}
body.formation-redesign #f6-formation .formation-builder-hero {position:relative!important;min-height:330px!important;border:0!important;border-radius:0!important;padding:28px 8% 24px!important;background:linear-gradient(90deg,#03133b99,transparent),url('/assets/formation/locker-room.webp') center/cover!important;overflow:hidden!important;display:block!important;box-shadow:none!important}
body.formation-redesign #f6-formation .formation-home {display:inline-block!important;padding:10px 18px!important;background:#021335df!important;border:1px solid #6a9acf!important;border-radius:30px!important;color:white!important;text-decoration:none!important;margin-bottom:8px!important;position:relative!important;z-index:2!important}
body.formation-redesign #f6-formation .formation-builder-title {position:relative!important;z-index:2!important;max-width:65%!important}
body.formation-redesign #f6-formation h1 {font-size:clamp(38px,5vw,72px)!important;line-height:.95!important;color:#fff!important;text-shadow:0 2px #bed3e7,0 4px #415679,0 6px #04102b,2px 7px 4px #000!important;letter-spacing:-.02em!important}
body.formation-redesign #f6-formation h1 span {display:block!important;color:#ffe34f!important;text-shadow:0 2px #ffad10,0 4px #a25005,0 6px #04102b,2px 7px 4px #000!important}
body.formation-redesign #f6-formation .formation-subtitle {font-family:var(--home-display)!important;font-size:26px!important;color:white!important;margin:12px 0 6px!important;text-shadow:0 2px 4px #000!important}
body.formation-redesign #f6-formation .formation-team {color:#eef4ff!important;font-size:13px!important;text-shadow:0 1px 3px #000!important}
body.formation-redesign #f6-formation .formation-meta {display:flex!important;gap:16px!important;align-items:stretch!important;margin-top:12px!important;flex-wrap:wrap!important}
body.formation-redesign #f6-formation :is(.formation-module,.formation-deadline-chip) {margin:0!important;padding:10px 16px!important;border:1px solid #308ccb!important;border-radius:12px!important;background:#031536e8!important;color:white!important;font-size:13px!important;line-height:1.45!important}
body.formation-redesign #f6-formation .formation-module {font-size:24px!important;color:#ffe664!important;display:flex!important;align-items:center!important}
body.formation-redesign #f6-formation .formation-status {font-size:12px!important;margin-top:10px!important;color:#ffe27b!important}
body.formation-redesign #f6-formation .formation-hero-mascot {position:absolute!important;right:9%!important;bottom:-110px!important;width:245px!important;height:480px!important;display:block!important;filter:drop-shadow(0 5px 12px #000)!important;opacity:1!important;transform:none!important}
body.formation-redesign #f6-formation .formation-hero-mascot img {width:100%!important;height:100%!important;object-fit:contain!important;max-height:none!important}
body.formation-redesign #f6-formation .formation-builder-form {display:block!important;padding:0 32px 24px!important;margin:0!important}
body.formation-redesign #f6-formation .formation-builder-layout {display:grid!important;grid-template-columns:minmax(0,3fr) minmax(270px,1fr)!important;gap:12px!important;align-items:stretch!important}
body.formation-redesign #f6-formation :is(.formation-selection-panel,.formation-summary-panel) {min-width:0!important;background:#031332ed!important;border:1px solid #18bff4!important;border-radius:18px!important;padding:18px!important;box-shadow:none!important;margin:0!important}
body.formation-redesign #f6-formation .formation-selection-panel {grid-column:1!important;grid-row:1!important}
body.formation-redesign #f6-formation .formation-summary-panel {grid-column:2!important;grid-row:1/3!important;position:static!important;display:flex!important;flex-direction:column!important;gap:12px!important}
body.formation-redesign #f6-formation .formation-panel-heading {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:16px!important}
body.formation-redesign #f6-formation .formation-panel-tools {display:flex!important;gap:14px!important;align-items:center!important;flex-wrap:wrap!important}
body.formation-redesign #f6-formation #formation-count {font:26px var(--home-display)!important;color:#ffe252!important}
body.formation-redesign #f6-formation .formation-clear-btn {background:#081b40!important;color:#fff!important;border:1px solid #6591d8!important;border-radius:8px!important;min-height:44px!important;padding:8px 12px!important;font-size:12px!important;box-shadow:none!important}
body.formation-redesign #f6-formation .formation-slots-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.formation-redesign #f6-formation .formation-slot {--role:#15bafa!important;position:relative!important;min-width:0!important;height:250px!important;padding:12px!important;display:flex!important;flex-direction:column!important;gap:7px!important;border:1px solid var(--role)!important;border-radius:13px!important;background:linear-gradient(135deg,#062b5c,#051633)!important;box-shadow:none!important;overflow:visible!important}
body.formation-redesign #f6-formation .role-d {--role:#12d4bf!important}
body.formation-redesign #f6-formation .role-a {--role:#ffd328!important}
body.formation-redesign #f6-formation .formation-slot-head {display:flex!important;align-items:center!important;gap:8px!important;height:34px!important;flex:none!important;color:#fff!important}
body.formation-redesign #f6-formation .formation-slot-head strong {font:clamp(12px,1.05vw,17px) var(--home-display)!important;min-width:0!important;color:#fff!important;flex:1!important}
body.formation-redesign #f6-formation :is(.formation-role-badge,.formation-slot-number,.formation-summary-role) {display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;flex:none!important;background:linear-gradient(145deg,var(--role,#00baff),#034dba)!important;border:1px solid #88e5ff!important;border-radius:7px!important;color:#fff!important;font:24px var(--home-display)!important;box-shadow:inset 0 0 5px #fff8!important;text-shadow:0 2px #002748!important}
body.formation-redesign #f6-formation .role-a :is(.formation-role-badge,.formation-slot-number,.formation-summary-role) {background:linear-gradient(#fff273,#ffb600)!important;color:#09204a!important;text-shadow:none!important}
body.formation-redesign #f6-formation :is(label,input,select) {min-width:0!important;width:100%!important}
body.formation-redesign #f6-formation label {display:block!important;margin:0!important}
body.formation-redesign #f6-formation :is(.formation-search-label>span,.formation-select-label>span,.formation-sr-only) {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important}
body.formation-redesign #f6-formation input[type=search] {height:44px!important;background:#dce6ff!important;color:#102b50!important;border:1px solid #8dadd5!important;padding:10px!important;border-radius:8px!important;font:16px var(--home-display)!important;box-shadow:none!important}
body.formation-redesign #f6-formation select {height:44px!important;background:#061b40!important;color:#fff!important;border:1px solid #6084b5!important;padding:8px!important;border-radius:8px!important;font:16px var(--home-display)!important;box-shadow:none!important;text-overflow:ellipsis!important}
body.formation-redesign #f6-formation select:disabled {opacity:1!important}
body.formation-redesign #f6-formation :is(input,select,button,a):focus-visible {outline:3px solid #ffe775!important;outline-offset:2px!important}
body.formation-redesign #f6-formation .formation-search-feedback {display:block!important;height:30px!important;min-height:30px!important;font:11px/14px var(--home-display)!important;color:#d7eaff!important;padding:2px 0!important;overflow:auto!important}
body.formation-redesign #f6-formation .formation-slot-preview {padding:0!important;border:0!important;background:none!important;display:block!important;min-width:0!important;overflow:auto!important;min-height:36px!important;margin-top:auto!important;color:#e5f3ff!important;font:14px/1.2 var(--home-display)!important;box-shadow:none!important}
body.formation-redesign #f6-formation .formation-slot-preview strong {display:block!important;color:#fff!important;font-size:12px!important;overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation .formation-slot-preview span {color:#a8c4e4!important;font-size:11px!important}
body.formation-redesign #f6-formation .formation-typeahead {position:absolute!important;top:96px!important;left:12px!important;right:12px!important;max-height:230px!important;overflow-y:auto!important;z-index:20!important;box-shadow:0 8px 20px #000b!important;border-radius:8px!important;overscroll-behavior:contain!important;scroll-margin-bottom:110px!important}
body.formation-redesign #f6-formation .formation-typeahead:not(.is-open) {display:none!important}
body.formation-redesign #f6-formation .formation-slot:has(.is-open) {z-index:30!important}
body.formation-redesign #f6-formation .formation-typeahead-item {min-height:52px!important;width:100%!important;text-align:left!important;white-space:normal!important}
body.formation-redesign #f6-formation .formation-typeahead-item :is(strong,span) {overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation .formation-plus-card {grid-column:1!important;grid-row:2!important;display:flex!important;align-items:center!important;gap:12px!important;background:linear-gradient(120deg,#26313d,#121f3b)!important;border:1px solid #ffd641!important;border-radius:13px!important;padding:12px 16px!important;margin:0!important;box-shadow:none!important}
body.formation-redesign #f6-formation .formation-plus-card h2 {font-size:21px!important;color:#ffe257!important}
body.formation-redesign #f6-formation .formation-plus-card p {font-size:13px!important;color:#e7ecff!important;line-height:1.4!important;margin-top:3px!important}
body.formation-redesign #f6-formation .formation-plus-icon {font-size:36px!important;background:none!important;border:0!important;box-shadow:none!important;width:auto!important;height:auto!important}
body.formation-redesign #f6-formation .formation-plus-copy {flex:1!important}
body.formation-redesign #f6-formation .formation-plus-card label {width:42%!important}
body.formation-redesign #f6-formation .formation-summary-list {display:grid!important;gap:0!important}
body.formation-redesign #f6-formation .formation-summary-row {display:flex!important;gap:12px!important;align-items:center!important;min-height:64px!important;padding:9px 0!important;border:0!important;border-bottom:1px solid #50689088!important;background:none!important;box-shadow:none!important}
body.formation-redesign #f6-formation .formation-summary-row>div {min-width:0!important}
body.formation-redesign #f6-formation .formation-summary-row strong {font:15px/1.2 var(--home-display)!important;color:white!important;overflow-wrap:anywhere!important;white-space:normal!important}
body.formation-redesign #f6-formation .formation-summary-row small {display:block!important;color:#a9c3e3!important;font:13px/1.2 var(--home-display)!important;overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation .formation-summary-plus {display:flex!important;gap:12px!important;align-items:center!important;padding:12px 0!important;border:0!important;border-top:1px solid #288baa!important;background:none!important;color:#ffe16b!important}
body.formation-redesign #f6-formation #formation-plus-summary {font-size:13px!important;color:#fff!important;overflow-wrap:anywhere!important;min-width:0!important}
body.formation-redesign #f6-formation .formation-submit-bar {margin-top:auto!important}
body.formation-redesign #f6-formation .formation-submit-btn {width:100%!important;min-height:82px!important;border:2px solid #fff494!important;border-radius:18px!important;background:linear-gradient(115deg,#fff66b,#ffd323,#ffb909)!important;color:#03183d!important;font-size:28px!important;line-height:1.05!important;padding:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;box-shadow:inset 0 -3px 0 #f1a107,0 3px 0 #986021!important;margin:0!important}
body.formation-redesign #f6-formation #formation-submit-count {display:none!important}
body.formation-redesign #f6-formation .formation-submit-btn:disabled {opacity:.7!important;cursor:wait!important}
body.formation-redesign #f6-formation .formation-safety-notice {background:none!important;border:0!important;color:#d9e7ff!important;padding:14px 0!important;font-size:13px!important;margin:0!important}
body.formation-redesign #f6-formation .formation-prematch-link {background:none!important;border:0!important;padding:0!important;justify-content:center!important;gap:12px!important}
body.formation-redesign #f6-formation .formation-prematch-link a,.formation-readonly-back {padding:13px 20px!important;background:#072655!important;color:#fff!important;border:1px solid #26baff!important;border-radius:10px!important;font:16px var(--home-display)!important;text-decoration:none!important;min-height:44px!important}
body.formation-redesign #f6-formation .formation-prematch-link small {color:#a8bfdf!important;font-size:11px!important;text-align:center!important}
body.formation-redesign #f6-formation .formation-receipt {margin:14px 32px!important;padding:16px!important;border:1px solid #67eba8!important;border-radius:12px!important;background:#093f39!important;display:flex!important;gap:14px!important;flex-wrap:wrap!important;color:#fff!important}
@media(max-width:1000px){body.formation-redesign #f6-formation .formation-builder-form{padding:0 18px 24px!important}body.formation-redesign #f6-formation .formation-builder-layout{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)!important}body.formation-redesign #f6-formation .formation-slots-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
 body.formation-redesign #f6-formation .formation-builder-hero{min-height:330px!important;padding:16px 18px!important;background-position:58% center!important}
 body.formation-redesign #f6-formation .formation-builder-title{max-width:100%!important}
 body.formation-redesign #f6-formation h1{font-size:clamp(35px,9.6vw,43px)!important;max-width:76%!important}
 body.formation-redesign #f6-formation .formation-subtitle{font-size:19px!important;max-width:68%!important;margin-top:12px!important}
 body.formation-redesign #f6-formation .formation-team{max-width:65%!important;font-size:11px!important;margin:7px 0!important}
 body.formation-redesign #f6-formation .formation-hero-mascot{width:112px!important;height:218px!important;right:4px!important;bottom:87px!important}
 body.formation-redesign #f6-formation .formation-meta{gap:8px!important;margin-top:16px!important}
 body.formation-redesign #f6-formation .formation-module{font-size:19px!important;padding:8px 10px!important}
 body.formation-redesign #f6-formation .formation-deadline-chip{font-size:11px!important;padding:8px 10px!important}
 body.formation-redesign #f6-formation .formation-status{font-size:11px!important;line-height:1.5!important}
 body.formation-redesign #f6-formation .formation-builder-form{padding:0 12px calc(112px + env(safe-area-inset-bottom))!important}
 body.formation-redesign #f6-formation .formation-builder-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
 body.formation-redesign #f6-formation .formation-selection-panel{padding:12px!important}
 body.formation-redesign #f6-formation .formation-panel-heading{gap:5px!important;margin-bottom:12px!important}
 body.formation-redesign #f6-formation .formation-panel-heading h2{font-size:26px!important}
 body.formation-redesign #f6-formation .formation-panel-tools{gap:5px!important;flex-wrap:nowrap!important}
 body.formation-redesign #f6-formation .formation-clear-btn{font-size:10px!important;padding:7px!important}
 body.formation-redesign #f6-formation #formation-count{font-size:22px!important;min-width:36px!important}
 body.formation-redesign #f6-formation .formation-slots-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.formation-redesign #f6-formation .formation-slot{height:230px!important;padding:12px!important}
 body.formation-redesign #f6-formation .formation-slot-head strong{font-size:17px!important}
 body.formation-redesign #f6-formation .formation-plus-card{flex-wrap:wrap!important;padding:12px!important}
 body.formation-redesign #f6-formation .formation-plus-card label{width:100%!important}
 body.formation-redesign #f6-formation .formation-plus-card h2{font-size:22px!important}
 body.formation-redesign #f6-formation .formation-summary-panel{padding:16px!important}
 body.formation-redesign #f6-formation .formation-summary-row{min-height:56px!important}
 body.formation-redesign #f6-formation .formation-submit-bar{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:40!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;background:linear-gradient(transparent,#020b28 20%)!important}
 body.formation-redesign #f6-formation .formation-submit-btn{min-height:62px!important;font-size:21px!important;border-radius:15px!important;padding:12px!important}
 body.formation-redesign #f6-formation #formation-submit-count{display:block!important;white-space:nowrap!important;padding-left:12px!important;border-left:1px solid #6e6a2d!important;font:22px var(--home-display)!important}
 body.formation-editing #f6-formation .formation-submit-bar{visibility:hidden!important;pointer-events:none!important}
 body.formation-redesign #f6-formation :is(input,select){scroll-margin:90px 0 140px!important}
 body.formation-redesign #f6-formation .formation-prematch-link a{font-size:13px!important;padding:12px 8px!important;flex:1!important;text-align:center!important}
 body.formation-redesign #f6-formation .formation-receipt{margin:12px!important;font-size:14px!important}
}

body.formation-redesign #f6-formation :is(input,select,p,small,label,.formation-slot-preview,.formation-summary-row,.formation-deadline-chip,.formation-status,.formation-team,.formation-safety-notice),body.formation-redesign #f6-formation :is(.formation-slot-preview,.formation-summary-row,.formation-deadline-chip) * {font-family:var(--home-display)!important;font-weight:400!important}
body.formation-redesign #f6-formation .formation-subtitle {font-family:var(--home-display)!important}
body.formation-redesign #f6-formation .formation-deadline-chip {display:block!important}
body.formation-redesign #f6-formation .formation-panel-tools {display:flex!important;flex-direction:row!important}
body.formation-redesign #f6-formation .formation-search-label {flex:none!important}
body.formation-redesign #f6-formation .formation-select-label {flex:none!important}
body.formation-redesign main.container:has(>#f6-formation) {max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.formation-redesign #f6-formation {width:100%!important;display:block!important}
body.formation-redesign #f6-formation :is(input,select) {margin:0!important}
body.formation-redesign #f6-formation .formation-slot-preview {border-radius:0!important;padding:0 2px!important}
body.formation-redesign #f6-formation .formation-slot {height:226px!important}
body.formation-redesign #f6-formation .formation-summary-row {border-radius:0!important}
@media(max-width:760px){body.formation-redesign #f6-formation .formation-slot{height:222px!important}}
/* Feedback remains an aria-live announcement; visible results are in the listbox. */
body.formation-redesign #f6-formation .formation-search-feedback {position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important}
body.formation-redesign #f6-formation :is(.formation-search-label,.formation-select-label) {height:44px!important;padding:0!important}
body.formation-redesign #f6-formation .formation-slot-preview {min-height:40px!important;flex:1!important}
body.formation-redesign #f6-formation .formation-slot-preview span {margin-top:2px!important}
body.formation-redesign #f6-formation .formation-typeahead {top:112px!important;max-height:min(230px,40dvh)!important}

/* Verified Home typeface throughout the editor; no heavy shadows at small sizes. */
body.formation-redesign #f6-formation :is(input,select,option,input::placeholder,.formation-slot-preview,.formation-slot-preview *,.formation-summary-row,.formation-summary-row *,.formation-plus-copy p,#formation-plus-summary,.formation-typeahead-item,.formation-typeahead-item *,.f6-choice,.f6-choice *) {font-family:var(--home-display)!important;font-weight:400!important;font-synthesis:none!important;text-shadow:none!important;letter-spacing:0!important}
body.formation-redesign #f6-formation .formation-slot-preview strong {font-size:15px!important;line-height:1.15!important}
body.formation-redesign #f6-formation .formation-slot-preview span {font-size:13px!important;line-height:1.15!important}
body.formation-redesign #f6-formation #formation-plus-summary {font-size:15px!important}
body.formation-redesign #f6-formation .f6-choice {position:relative!important;width:100%!important;min-width:0!important}
body.formation-redesign #f6-formation .f6-choice-native {position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
body.formation-redesign #f6-formation .f6-choice-trigger {display:block!important;width:100%!important;min-width:0!important;height:44px!important;padding:8px 28px 8px 10px!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;background:#061b40!important;border:1px solid #6084b5!important;border-radius:8px!important;color:#fff!important;font:16px/1.2 var(--home-display)!important;box-shadow:none!important;margin:0!important}
body.formation-redesign #f6-formation .f6-choice-trigger::after {content:'⌄';position:absolute;right:9px;top:10px;font-size:20px;line-height:1}
body.formation-redesign #f6-formation .f6-choice-trigger:disabled {opacity:1!important;cursor:default!important}
body.formation-redesign #f6-formation .f6-choice-list {position:absolute!important;top:48px!important;left:0!important;right:0!important;max-height:min(250px,40dvh)!important;overflow:auto!important;overscroll-behavior:contain;z-index:50!important;background:#051a3d!important;border:1px solid #4cd3ff!important;border-radius:9px!important;box-shadow:0 8px 16px #0009!important;padding:4px!important;margin:0!important}
body.formation-redesign #f6-formation .f6-choice-list[hidden] {display:none!important}
body.formation-redesign #f6-formation .f6-choice-option {display:block!important;min-height:44px!important;width:100%!important;padding:10px!important;color:#fff!important;background:transparent!important;font:16px/1.25 var(--home-display)!important;border:0!important;border-radius:5px!important;white-space:normal!important;overflow-wrap:anywhere!important;cursor:pointer!important}
body.formation-redesign #f6-formation .f6-choice-option[aria-selected=true],body.formation-redesign #f6-formation .f6-choice-option.is-active {background:#12468b!important;outline:1px solid #7fc8ff!important}
body.formation-redesign #f6-formation .f6-choice-option[aria-disabled=true] {color:#a4aec1!important;cursor:not-allowed!important}
body.formation-redesign #f6-formation .formation-slot:has(.f6-choice-list:not([hidden])),body.formation-redesign #f6-formation .formation-plus-card:has(.f6-choice-list:not([hidden])) {position:relative!important;z-index:60!important}
@media(max-width:760px){body.formation-redesign #f6-formation:has(.f6-choice-list:not([hidden])) .formation-submit-bar{visibility:hidden!important;pointer-events:none!important}}
body.formation-redesign #f6-formation input::placeholder {font-family:var(--home-display)!important;font-weight:400!important;font-synthesis:none!important;text-shadow:none!important}
/* WebKit native select internals can contribute scroll width despite a clipped box. */
body.formation-redesign #f6-formation .f6-choice-native {display:none!important}

/* Complete, unmodified official masters: dedicated layout space, no crop. */
body.formation-redesign #f6-formation .formation-builder-hero {display:grid!important;grid-template-columns:minmax(0,2fr) minmax(260px,1fr)!important;gap:10px 24px!important;overflow:visible!important;align-items:center!important}
body.formation-redesign #f6-formation .formation-home {grid-column:1!important;justify-self:start!important;margin:0!important}
body.formation-redesign #f6-formation .formation-builder-title {grid-column:1!important;max-width:100%!important;min-width:0!important}
body.formation-redesign #f6-formation .formation-hero-mascot {grid-column:2!important;grid-row:1/3!important;position:static!important;inset:auto!important;width:100%!important;height:360px!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;overflow:visible!important;border:0!important;border-radius:0!important;clip-path:none!important;transform:none!important;filter:none!important}
body.formation-redesign #f6-formation .formation-hero-mascot img {display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;transform:none!important;border-radius:0!important;margin:0!important;padding:0!important}
body.formation-redesign #f6-formation .formation-mascot-missing {color:#ffe594!important;font-size:15px!important}
@media(max-width:760px){
 body.formation-redesign #f6-formation .formation-builder-hero {grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:16px 18px 12px!important}
 body.formation-redesign #f6-formation .formation-hero-mascot {grid-column:1!important;grid-row:auto!important;height:220px!important;width:100%!important}
 body.formation-redesign #f6-formation :is(h1,.formation-subtitle,.formation-team) {max-width:100%!important}
}
body.formation-redesign #f6-formation .formation-builder-hero::after {content:none!important}
/* Readable minimum sizes, complete details, and content-driven equal cards. */
body.formation-redesign #f6-formation :is(.formation-slot-preview strong,.formation-summary-row strong,#formation-plus-summary,.formation-typeahead-item strong) {font-size:16px!important;line-height:1.35!important}
body.formation-redesign #f6-formation :is(.formation-slot-preview span,.formation-slot-preview em,.formation-summary-row small,.formation-team,.formation-deadline-chip,.formation-deadline-chip strong,.formation-status,.formation-plus-copy p,.formation-safety-notice,.formation-prematch-link small,.formation-typeahead-item span,.formation-typeahead-empty,.formation-receipt span) {font-size:14px!important;line-height:1.45!important;text-shadow:none!important;color:#e0ecff!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation .formation-status {color:#ffe27b!important}
body.formation-redesign #f6-formation .formation-slot-preview {overflow:visible!important;flex:none!important;margin-top:4px!important;white-space:normal!important}
body.formation-redesign #f6-formation .formation-slot-preview :is(strong,span,em) {display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;max-height:none!important;font-style:normal!important}
body.formation-redesign #f6-formation .formation-slot-preview em {color:#ffe27b!important;margin-top:4px!important}
body.formation-redesign #f6-formation .formation-slot-preview em[hidden] {display:none!important}
body.formation-redesign #f6-formation .formation-slot {height:auto!important;min-height:260px!important}
body.formation-redesign #f6-formation .formation-slots-grid {grid-auto-rows:1fr!important}
body.formation-redesign #f6-formation input::placeholder {color:#425776!important;opacity:1!important}
@media(max-width:760px){
 body.formation-redesign #f6-formation .formation-builder-hero {gap:4px!important;padding-bottom:0!important;min-height:0!important}
 body.formation-redesign #f6-formation .formation-hero-mascot {height:170px!important}
 body.formation-redesign #f6-formation .formation-builder-form {padding-bottom:calc(120px + env(safe-area-inset-bottom))!important}
}
body.formation-redesign #f6-formation .formation-typeahead-item span {color:#304e74!important} body.formation-redesign #f6-formation .formation-typeahead-empty {color:#304e74!important}
/* Canonical originals: no implicit avatar crop, including multi-character teams. */
.f6-identity .f6-portrait img[src*="/mascots-approved/"] {position:static!important;inset:auto!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;transform:none!important;filter:none!important;padding:3px!important}
.f6-identity .f6-portrait {overflow:visible!important}
img[src*="/mascots-approved/"] {object-fit:contain}

/* Approved V5. Scope every override to the participant scoreboard.
   A scrolling raster background and normal document flow avoid a viewport-sized
   fixed/composited layer on long iOS pages. No virtualized or hidden scorecards. */
@font-face{font-family:F6QuadroV5;src:url('/assets/home/fonts/LilitaOne-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
html[data-ui="user"] body.scores-redesign{--q-font:F6QuadroV5,sans-serif!important;--q-cyan:#26d7ff!important;--q-gold:#ffcf45!important;margin:0!important;color:#fff!important;font-family:var(--q-font)!important;font-synthesis:none!important;background:#03112f url('/assets/scores/stadium-v5.webp') center top / 100% auto repeat-y!important;background-attachment:scroll!important;min-height:100vh!important}
html[data-ui="user"] body.scores-redesign::before,html[data-ui="user"] body.scores-redesign::after{display:none!important}
html[data-ui="user"] body.scores-redesign>main.container{width:100%!important;max-width:1600px!important;margin:0 auto!important;padding:18px 32px 40px!important;overflow:visible!important}
html[data-ui="user"] body.scores-redesign #f6-scores.scores-section-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}
html[data-ui="user"] body.scores-redesign .f6-header{background:#041431!important;box-shadow:none!important;height:62px!important}
html[data-ui="user"] body.scores-redesign .f6-header .f6-logo{width:125px!important;align-self:center!important}
html[data-ui="user"] body.scores-redesign .f6-header .f6-logo img{height:60px!important;filter:none!important}
html[data-ui="user"] body.scores-redesign .f6-identity summary{font:400 16px var(--q-font)!important;min-height:44px!important}
html[data-ui="user"] body.scores-redesign .f6-portrait{width:42px!important;height:42px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .f6-scores-home{display:inline-block!important;color:#cceaff!important;font:16px var(--q-font)!important;text-decoration:none!important;padding:8px 0!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,330px)!important;gap:18px!important;align-items:center!important;min-height:0!important;padding:6px 0 16px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero>.ui-kicker,html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero>div>.ui-kicker{display:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero h1{margin:0!important;color:var(--q-gold)!important;font:400 clamp(30px,3.4vw,54px)/1.06 var(--q-font)!important;letter-spacing:0!important;text-shadow:0 2px 0 #9a5407,0 4px 5px #0009!important;-webkit-text-stroke:.5px #ffe5a3!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero p{margin:8px 0 0!important;color:#e2f2ff!important;font:16px/1.35 var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-box{width:100%!important;max-width:none!important;margin:0!important;padding:10px 12px!important;border:1px solid #3daedf!important;border-radius:12px!important;background:#06204b!important;box-shadow:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-box label{font:14px var(--q-font)!important;color:#b8e4ff!important;margin-bottom:5px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-line{display:flex!important;gap:8px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-line input{min-width:0!important;width:100%!important;height:44px!important;padding:8px!important;border:1px solid #4acbff!important;border-radius:8px!important;background:#031737!important;color:white!important;font:16px var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-line button{min-height:44px!important;padding:8px 14px!important;font:16px var(--q-font)!important;border:1px solid #ffe995!important;border-radius:8px!important;color:#08244c!important;background:linear-gradient(#ffe982,#ffca36)!important;box-shadow:none!important}
html[data-ui="user"] body.scores-redesign #team-score-search-feedback{font:13px/1.3 var(--q-font)!important;color:#bedcf4!important}
html[data-ui="user"] body.scores-redesign #f6-scores .section-note{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 18px!important;padding:10px 14px!important;border:1px solid #2366a2!important;border-radius:10px!important;background:#052046!important;color:#d6edff!important;font:14px/1.3 var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .section-note strong{color:#ffe08a!important;font-weight:400!important}
html[data-ui="user"] body.scores-redesign #f6-scores .section-note a{color:#ffe08a!important;padding:5px 0!important;font-size:15px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card{--q-cols:38px minmax(0,1.5fr) minmax(0,1fr) 82px 78px!important;box-sizing:border-box!important;min-width:0!important;margin:0!important;padding:12px!important;overflow:visible!important;border:2px solid var(--q-cyan)!important;border-radius:22px!important;background:linear-gradient(145deg,#083774f5,#041d49fa)!important;box-shadow:0 0 0 3px #0b64a955,inset 0 0 0 2px #1560a188!important;scroll-margin:16px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card::before{display:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-head{display:grid!important;grid-template-columns:minmax(0,1fr) 34%!important;grid-template-rows:minmax(0,1fr) auto!important;grid-template-areas:"identity mascot" "total mascot"!important;gap:8px 12px!important;align-items:center!important;min-height:246px!important;padding:14px 18px 12px!important;margin:0 0 6px!important;border:1px solid var(--q-cyan)!important;border-radius:16px!important;background:linear-gradient(120deg,#0b3b7ac9,#062a58a8),url('/assets/scores/stadium-v5.webp') center 60%/cover!important;box-sizing:border-box!important;overflow:visible!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-identity{grid-area:identity!important;display:block!important;align-self:center!important;min-width:0!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-identity .ui-kicker{display:block!important;font:14px/1.2 var(--q-font)!important;letter-spacing:.03em!important;text-transform:uppercase!important;color:#b0dcff!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-identity h2{margin:8px 0 0!important;color:var(--q-gold)!important;font:400 clamp(28px,3vw,46px)/1.06 var(--q-font)!important;text-shadow:0 2px #9b5407,0 4px 4px #01102e!important;letter-spacing:0!important;text-transform:uppercase!important;overflow-wrap:anywhere!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-team-mascot{grid-area:mascot!important;display:block!important;position:static!important;align-self:end!important;justify-self:center!important;inset:auto!important;width:100%!important;height:220px!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important;filter:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;clip-path:none!important;mask-image:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-mascot-unavailable{grid-area:mascot!important;font:14px var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-total{grid-area:total!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;justify-self:start!important;width:min(100%,250px)!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;padding:6px 14px!important;border:1px solid #fff0a1!important;border-radius:13px!important;background:linear-gradient(#ffe980,#ffce42)!important;color:#07244c!important;box-shadow:inset 0 1px #fff8!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-total>span{font:20px var(--q-font)!important;text-transform:uppercase!important;color:#07244c!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-total>strong{font:400 38px/1 var(--q-font)!important;margin:0!important;color:#07244c!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-table-wrap{overflow:visible!important;width:100%!important;margin:0!important;padding:0!important;background:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-table-wrap table,html[data-ui="user"] body.scores-redesign #f6-scores .score-table-wrap tbody{display:block!important;width:100%!important;min-width:0!important;border:0!important;margin:0!important;padding:0!important;background:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-table-wrap .score-column-headings{display:grid!important;grid-template-columns:var(--q-cols)!important;gap:8px!important;min-height:34px!important;align-items:center!important;padding:6px!important;margin:0!important;background:none!important;border:0!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-column-headings th{display:block!important;min-width:0!important;padding:0!important;border:0!important;background:none!important;color:#b3e6ff!important;font:13px/1.2 var(--q-font)!important;letter-spacing:0!important;text-transform:uppercase!important;text-align:left!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-column-headings th:last-child{text-align:center!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row{display:grid!important;grid-template-columns:var(--q-cols)!important;align-items:center!important;gap:8px!important;min-height:64px!important;height:auto!important;margin:0 0 7px!important;padding:6px!important;box-sizing:border-box!important;border:1px solid var(--q-cyan)!important;border-radius:12px!important;background:linear-gradient(100deg,#0c3d7a,#073064)!important;box-shadow:inset 0 1px #9defff20!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row>td{display:block!important;position:static!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;border:0!important;background:none!important;color:#fff!important;text-align:left!important;vertical-align:middle!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-role-cell{grid-column:1!important;grid-row:1!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-cell{grid-column:2!important;grid-row:1!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-club-cell{grid-column:3!important;grid-row:1!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-state-cell{grid-column:4!important;grid-row:1!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell{grid-column:5!important;grid-row:1!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-role-badge{display:grid!important;place-items:center!important;width:34px!important;height:40px!important;border:1px solid #fff!important;border-radius:10px!important;color:#fff!important;font:25px/1 var(--q-font)!important;background:#9140ec!important;box-shadow:inset 0 1px #fff5!important;text-shadow:0 1px 1px #042249!important}
html[data-ui="user"] body.scores-redesign #f6-scores .role-d .score-role-badge{background:#11b875!important}
html[data-ui="user"] body.scores-redesign #f6-scores .role-c .score-role-badge{background:#278aff!important}
html[data-ui="user"] body.scores-redesign #f6-scores .role-a .score-role-badge{background:#f6a000!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-name,html[data-ui="user"] body.scores-redesign #f6-scores .score-player-name :is(span,s){display:inline!important;color:#fff!important;font:400 clamp(19px,1.7vw,26px)/1.15 var(--q-font)!important;letter-spacing:0!important;text-transform:none!important;text-shadow:none!important;-webkit-text-stroke:0!important;overflow-wrap:anywhere!important;word-break:normal!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-name .f6-given{white-space:nowrap!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-name s,html[data-ui="user"] body.scores-redesign #f6-scores .burned .score-player-name{text-decoration:line-through!important;text-decoration-color:#ff565b!important;text-decoration-thickness:3px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-club{display:block!important;margin:0!important;color:#ecf7ff!important;font:400 16px/1.15 var(--q-font)!important;text-align:left!important;text-transform:uppercase!important;text-shadow:none!important;overflow-wrap:anywhere!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-state-cell:empty::before{content:"—"!important;color:#94bfdf!important;display:block!important;text-align:center!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-plus-badge,html[data-ui="user"] body.scores-redesign #f6-scores .score-burned-badge{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:29px!important;box-sizing:border-box!important;margin:2px 0!important;padding:4px 3px!important;border:1px solid #ffefa0!important;border-radius:8px!important;background:#ffda61!important;color:#072951!important;font:13px/1.1 var(--q-font)!important;text-decoration:none!important;white-space:normal!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell details{position:static!important;display:block!important;width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;max-height:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell summary{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;position:relative!important;list-style:none!important;min-height:49px!important;padding:3px!important;box-sizing:border-box!important;border:1px solid var(--q-cyan)!important;border-radius:10px!important;background:#03244c!important;color:var(--q-gold)!important;font:400 28px/1 var(--q-font)!important;cursor:pointer!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell summary::-webkit-details-marker{display:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell summary::after{content:""!important;display:block!important;position:absolute!important;right:4px!important;bottom:4px!important;width:4px!important;height:4px!important;border-right:1px solid #79cdf0!important;border-bottom:1px solid #79cdf0!important;transform:rotate(45deg)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell summary strong{display:block!important;font:inherit!important;color:inherit!important;margin:0!important}
html[data-ui="user"] body.scores-redesign #f6-scores .f6-score-number{display:inline-grid!important;grid-template-columns:.7em auto!important;align-items:baseline!important;gap:0!important;font:inherit!important;color:inherit!important;white-space:nowrap!important}
html[data-ui="user"] body.scores-redesign #f6-scores .f6-score-sign{display:block!important;width:.7em!important;text-align:center!important;font:inherit!important;color:inherit!important}
html[data-ui="user"] body.scores-redesign #f6-scores .f6-score-digits{display:block!important;min-width:.65em!important;text-align:right!important;font:inherit!important;color:inherit!important;font-variant-numeric:tabular-nums!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-unique-badge{display:block!important;color:#b2f5b1!important;font:11px var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell>.muted{display:block!important;font:13px/1.2 var(--q-font)!important;color:#d0e4f8!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell:has(details[open]){grid-column:2/-1!important;grid-row:2!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell details[open]>summary{width:78px!important;margin-left:auto!important}
html[data-ui="user"] body.scores-redesign #f6-scores .breakdown{position:static!important;display:block!important;width:auto!important;max-width:none!important;max-height:none!important;box-sizing:border-box!important;margin:8px 0 0!important;padding:12px 12px 12px 28px!important;border:1px solid #3a87b8!important;border-radius:10px!important;background:#041b3e!important;color:white!important;font:15px/1.4 var(--q-font)!important;box-shadow:none!important;white-space:normal!important}
html[data-ui="user"] body.scores-redesign #f6-scores .breakdown strong{color:#ffe28a!important;font:inherit!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary{display:grid!important;grid-template-columns:1fr 78px!important;align-items:center!important;gap:8px!important;margin:10px 0 0!important;padding:6px!important;border:1px solid var(--q-cyan)!important;border-radius:12px!important;background:#032550!important;color:#fff!important;font:21px var(--q-font)!important;text-transform:uppercase!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary>span{padding-left:8px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary>strong{display:flex!important;align-items:center!important;justify-content:center!important;min-height:49px!important;border:1px solid var(--q-cyan)!important;border-radius:10px!important;color:var(--q-gold)!important;font:400 28px/1 var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card>details{margin:10px 3px 0!important;padding:6px 2px 0!important;border-top:1px solid #2c5780!important;color:#bedcf5!important;font:14px/1.4 var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card>details summary{cursor:pointer!important;padding:5px 0!important;font:14px var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card>details strong{color:#ffe28a!important;font:inherit!important}
html[data-ui="user"] body.scores-redesign #f6-scores .missing-score-message{color:#ffd482!important;padding:20px!important;font:20px var(--q-font)!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-hit{outline:3px solid #ffdd62!important;outline-offset:3px!important;animation:none!important}
html[data-ui="user"] body.scores-redesign :is(a,button,summary,input):focus-visible{outline:3px solid #ffe484!important;outline-offset:3px!important}
html[data-ui="user"] body.scores-redesign :is(.team-score-card,.team-score-head,.score-player-row){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;content-visibility:visible!important;will-change:auto!important;transform:none!important}
@media(max-width:1199px){
 html[data-ui="user"] body.scores-redesign #f6-scores .score-grid{grid-template-columns:minmax(0,1fr)!important}
 html[data-ui="user"] body.scores-redesign>main.container{max-width:850px!important}
}
@media(max-width:600px){
 html[data-ui="user"] body.scores-redesign{background-size:auto 950px!important}
 html[data-ui="user"] body.scores-redesign>main.container{padding:10px 10px 26px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero{grid-template-columns:1fr!important;gap:12px!important;padding-bottom:12px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero h1{font-size:32px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero p{font-size:14px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-search-box{padding:8px 10px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .section-note{flex-wrap:wrap!important;gap:4px!important;padding:8px 10px!important;margin-bottom:14px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-grid{gap:18px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card{padding:8px!important;border-radius:18px!important;--q-cols:30px minmax(0,1fr) 70px!important;box-shadow:inset 0 0 0 1px #2ba2eb55!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-head{min-height:194px!important;grid-template-columns:minmax(0,1fr) 38%!important;gap:8px!important;padding:10px!important;margin-bottom:5px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-team-mascot{height:172px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-identity .ui-kicker{font-size:12px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-identity h2{font-size:28px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-total{padding:6px 8px!important;gap:5px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-total>span{font-size:16px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-total>strong{font-size:29px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-column-headings{grid-template-columns:var(--q-cols)!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-column-headings th{font-size:11px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-column-headings th:nth-child(3),html[data-ui="user"] body.scores-redesign #f6-scores .score-column-headings th:nth-child(4){display:none!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row{grid-template-columns:30px minmax(0,1fr) 70px!important;grid-template-rows:auto auto auto!important;gap:3px 8px!important;min-height:77px!important;padding:7px 5px!important;margin-bottom:7px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-role-cell{grid-column:1!important;grid-row:1/4!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-role-badge{width:29px!important;height:36px!important;font-size:23px!important;border-radius:8px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-player-cell{grid-column:2!important;grid-row:1!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-player-name,html[data-ui="user"] body.scores-redesign #f6-scores .score-player-name :is(span,s){font-size:20px!important;line-height:1.15!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-club-cell{grid-column:2!important;grid-row:2!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-player-club{font-size:14px!important;color:#bdddff!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-state-cell{grid-column:2!important;grid-row:3!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-state-cell:empty{display:none!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-state-cell:not(:empty){display:flex!important;flex-wrap:wrap!important;gap:4px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-plus-badge,html[data-ui="user"] body.scores-redesign #f6-scores .score-burned-badge{width:auto!important;min-height:23px!important;font-size:12px!important;padding:3px 7px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell{grid-column:3!important;grid-row:1/4!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell summary{font-size:25px!important;min-height:47px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell:has(details[open]){grid-column:2/-1!important;grid-row:4!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .score-points-cell details[open]>summary{width:70px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary{grid-template-columns:1fr 70px!important;font-size:17px!important;padding:5px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary>strong{font-size:25px!important;min-height:47px!important}
 html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card>details summary{min-height:34px!important}
}
@media(prefers-reduced-motion:reduce){html[data-ui="user"] body.scores-redesign *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Neutralize legacy table/hero rules that otherwise reserve full-width rows. */
html[data-ui="user"] body.scores-redesign #f6-scores .score-search-hero>div{grid-column:auto!important;grid-row:auto!important;width:auto!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-line{flex-direction:row!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-table-wrap{border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row.burned,
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row.burned :is(td,span){opacity:1!important;text-decoration:none!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row.burned .score-player-name s{text-decoration:line-through!important;text-decoration-color:#ff565b!important;text-decoration-thickness:3px!important}
@media(min-width:601px){html[data-ui="user"] body.scores-redesign #f6-scores .score-player-row{min-height:76px!important}}
html[data-ui="user"] body.scores-redesign #f6-scores.scores-section-shell{display:block!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-line button{flex:0 0 auto!important;width:auto!important;min-width:58px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-search-line input{flex:1 1 0!important;width:0!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary{width:100%!important;max-width:none!important;box-sizing:border-box!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-summary>span{color:#fff!important;opacity:1!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card>details{background:#05244b!important;border-radius:9px!important;padding:8px!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-score-card>details summary{background:none!important;color:#c4e6ff!important}
/* Keep signed multidigit/decimal results inside the same score plaque. */
html[data-ui="user"] body.scores-redesign #f6-scores .f6-score-number{font-size:min(1em,calc(var(--q-number-budget,100px) / var(--q-number-chars,3)))!important}
html[data-ui="user"] body.scores-redesign #f6-scores .team-total{--q-number-budget:150px}
@media(max-width:600px){html[data-ui="user"] body.scores-redesign #f6-scores .team-total{--q-number-budget:120px}}
/* V5 fidelity: long clubs wrap; generic goalkeeper labels already contain the club. */
html[data-ui="user"] body.scores-redesign #f6-scores .score-player-club{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
html[data-ui="user"] body.scores-redesign #f6-scores .score-goalkeeper-slot .score-player-club{display:none!important}

#f6-history :where(header,nav,a,img,div,section,article,span,b,h1,h2,p,em,aside,strong,footer,small){all:revert!important;font-family:inherit!important;box-sizing:border-box!important}

@font-face{font-family:F6History;src:url('/assets/home/fonts/LilitaOne-Regular.ttf')}
#f6-history *{box-sizing:border-box!important}
#f6-history{margin:0!important;background:#04132e!important;color:#f6f9ff!important;font-family:F6History,sans-serif!important;font-weight:400!important}
#f6-history .archive-header{height:84px!important;background:linear-gradient(100deg,#0b2b66,#020d24)!important;border-bottom:1px solid #2989c1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 54px!important}
#f6-history .logo{width:158px!important;height:105px!important;object-fit:contain!important;z-index:2!important}
#f6-history .nav{display:flex!important;align-items:center!important;gap:12px!important}
#f6-history .nav a{border:1px solid #428dba!important;border-radius:30px!important;padding:12px 24px!important;font-size:17px!important}
#f6-history .nav a:last-child{color:#d1e2f7!important}
#f6-history .archive-main{background:linear-gradient(#04132e33,#04132ee6 90%),url('/assets/scores/stadium-v5.webp') center top/100% auto repeat-y!important;padding:28px 54px 30px!important}
#f6-history .hero{position:relative!important;min-height:310px!important;display:grid!important;grid-template-columns:1fr 34%!important;align-items:center!important;max-width:1320px!important;margin:auto!important}
#f6-history .hero:before{content:''!important;position:absolute!important;right:0!important;top:12px!important;width:47%!important;height:260px!important;background:linear-gradient(90deg,#041b46,transparent),url('/assets/home/history.webp') center/cover!important;opacity:.43!important;border-radius:28px!important;mask-image:linear-gradient(black 65%,transparent)!important}
#f6-history .intro{position:relative!important;z-index:1!important;max-width:800px!important}
#f6-history .kicker{color:#b9d8f8!important;letter-spacing:2px!important;font-size:16px!important}
#f6-history h1{font-size:64px!important;line-height:1.02!important;margin:14px 0 18px!important;text-shadow:0 3px #06102c,0 5px #2774a2!important}
#f6-history h1 span{color:#ffd24a!important;text-shadow:0 3px #995a0d,0 5px #04102c!important}
#f6-history .intro p{font-size:20px!important;line-height:1.5!important;margin:0!important;max-width:710px!important;color:#e5effe!important}
#f6-history .mascot{position:relative!important;z-index:1!important;justify-self:center!important;align-self:end!important;object-fit:contain!important;width:230px!important;height:285px!important}
#f6-history .sectiontitle{max-width:1320px!important;margin:24px auto 16px!important;display:flex!important;align-items:center!important;gap:20px!important;color:#ffe270!important;font-size:22px!important}
#f6-history .sectiontitle:after{content:''!important;height:2px!important;flex:1!important;background:linear-gradient(90deg,#ffca38,#ffca3800)!important}
#f6-history .grid{max-width:1320px!important;margin:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px!important}
#f6-history .round{border:1.5px solid #24ccff!important;background:linear-gradient(130deg,#0c3b76f5,#061b40fc)!important;border-radius:22px!important;padding:24px!important;box-shadow:inset 0 0 0 3px #0e447b,0 8px 24px #0003!important}
#f6-history .roundtop{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;font-size:13px!important;color:#b8d5f2!important;letter-spacing:.5px!important}
#f6-history .status{display:flex!important;gap:7px!important;align-items:center!important;white-space:nowrap!important;padding:8px 10px!important;border:1px solid #5db9ef!important;border-radius:8px!important;background:#103863!important;color:#e9f6ff!important;font-size:13px!important;letter-spacing:.2px!important}
#f6-history .status svg{width:17px!important;height:17px!important}
#f6-history .status.sealed{color:#ffda67!important;border-color:#cb9b2d!important;background:#263752!important}
#f6-history h2{margin:18px 0 6px!important;font-size:38px!important;font-weight:400!important;color:#fff!important;text-shadow:0 3px #061b36!important}
#f6-history h2 em{font-style:normal!important;color:#ffd454!important}
#f6-history .phase{margin:0 0 7px!important;font-size:19px!important}
#f6-history .date{color:#b7cfe9!important;font:16px/1.5 Arial!important;margin:0!important}
#f6-history .correction{height:40px!important;padding:12px 0 0!important;color:#ffd96a!important;font-size:16px!important}
#f6-history .actions{margin-top:15px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
#f6-history .action{min-height:66px!important;display:flex!important;gap:12px!important;align-items:center!important;padding:12px 13px!important;border:1px solid #238ccd!important;border-radius:12px!important;background:linear-gradient(#104881,#0a2d59)!important;font-size:19px!important;line-height:1.2!important}
#f6-history .action svg{width:26px!important;height:26px!important;flex-shrink:0!important;color:#ffd858!important}
#f6-history .action b{margin-left:auto!important;font-size:28px!important;font-weight:400!important}
#f6-history .action.gold{background:linear-gradient(#ffe977,#ffca32)!important;border-color:#ffef96!important;box-shadow:0 3px #a9690c!important;color:#072958!important}
#f6-history .action.gold svg{color:#123568!important}
#f6-history .principle{max-width:1320px!important;margin:24px auto 0!important;display:flex!important;gap:18px!important;padding:20px 24px!important;border:1px solid #315d8a!important;border-radius:16px!important;background:#061a37e8!important}
#f6-history .principle>svg{height:30px!important;width:30px!important;color:#ffce54!important;flex-shrink:0!important}
#f6-history .principle strong{font-size:17px!important;color:#ffe071!important;letter-spacing:1px!important;font-weight:400!important}
#f6-history .principle p{font:16px/1.55 Arial!important;color:#d7e6f8!important;margin:6px 0 0!important}
#f6-history .archive-footer{text-align:center!important;margin-top:30px!important;padding:20px 0 6px!important;font-size:22px!important;letter-spacing:.5px!important;color:#f6f9ff!important}
#f6-history .archive-footer span{color:#ffd54a!important}
#f6-history .archive-footer small{display:block!important;font:14px/1.7 Arial!important;color:#a9bdd6!important;margin-top:8px!important}

@media(max-width:600px){#f6-history .archive-header{height:70px!important;padding:0 16px!important}
#f6-history .logo{width:114px!important;height:78px!important}
#f6-history .nav{gap:7px!important}
#f6-history .nav a{font-size:15px!important;padding:10px 14px!important}
#f6-history .archive-main{padding:25px 16px 20px!important;background-size:auto 850px!important}
#f6-history .hero{min-height:0!important;grid-template-columns:1fr 120px!important;align-items:start!important}
#f6-history .intro{grid-column:1/-1!important}
#f6-history .kicker{font-size:12px!important;letter-spacing:1px!important}
#f6-history h1{font-size:40px!important;line-height:1.05!important;margin:13px 0 17px!important;width:230px!important}
#f6-history h1 span{display:block!important}
#f6-history .intro p{font-size:17px!important;line-height:1.45!important;max-width:100%!important;margin-top:70px!important}
#f6-history .mascot{position:absolute!important;right:0!important;top:24px!important;width:118px!important;height:146px!important}
#f6-history .hero:before{right:-16px!important;top:0!important;width:180px!important;height:172px!important;opacity:.24!important}
#f6-history .sectiontitle{margin:27px auto 14px!important;font-size:19px!important;gap:12px!important}
#f6-history .grid{grid-template-columns:1fr!important;gap:18px!important}
#f6-history .round{padding:18px 16px!important;border-radius:18px!important}
#f6-history .roundtop{flex-wrap:wrap!important;gap:10px!important;font-size:12px!important;letter-spacing:.3px!important}
#f6-history .status{font-size:12px!important;padding:7px 9px!important}
#f6-history h2{font-size:32px!important;margin:16px 0 5px!important}
#f6-history .phase{font-size:18px!important}
#f6-history .date{font-size:16px!important}
#f6-history .correction{height:auto!important;min-height:29px!important;padding:10px 0 0!important;font-size:16px!important}
#f6-history .correction.empty{display:none!important}
#f6-history .actions{grid-template-columns:1fr!important;margin-top:18px!important;gap:10px!important}
#f6-history .action{min-height:56px!important;font-size:19px!important;padding:12px 14px!important}
#f6-history .action svg{width:24px!important;height:24px!important}
#f6-history .principle{padding:18px 16px!important;gap:10px!important;margin-top:20px!important}
#f6-history .principle>svg{width:23px!important;height:23px!important}
#f6-history .principle strong{font-size:16px!important}
#f6-history .principle p{font-size:16px!important;line-height:1.5!important}
#f6-history .archive-footer{font-size:19px!important;line-height:1.35!important;margin-top:16px!important}
#f6-history .archive-footer small{font-size:13px!important}
}


html[data-ui="user"] body:has(#f6-history){padding:0!important;margin:0!important;background:#04132e!important}
body:has(#f6-history)>header,body:has(#f6-history)>.f6-global-footer,body:has(#f6-history)::before,body:has(#f6-history)::after{display:none!important}
body:has(#f6-history)>main.container{display:contents!important}
#f6-history a{text-decoration:none!important;color:inherit!important}
#f6-history .action.gold{color:#072958!important}
#f6-history .empty-state{grid-column:1/-1;font:20px/1.5 F6History!important;padding:30px!important}
#f6-history .round h2{overflow-wrap:anywhere!important}
#f6-history a:focus-visible{outline:3px solid white!important;outline-offset:4px!important}
@media(max-width:600px){
}
@media(min-width:601px){
}
@media(min-width:601px){
}
@media(max-width:600px){
}
@media(max-width:600px){
}
html[data-ui="user"] body.archive-standings-redesign :is(a,button,summary):focus-visible{outline:3px solid white!important;outline-offset:3px!important}
@media(max-width:600px){}
@media(max-width:600px){}
@media(max-width:600px){
}
@media(max-width:350px){}
@media(max-width:600px){}

#f6-my-score * { box-sizing: border-box; }
#f6-my-score .modebar { display: flex; justify-content: flex-end; gap: 8px; margin: 0px 0px 12px; }
#f6-my-score .modebar button { border: 1px solid rgb(140, 172, 214); border-radius: 999px; padding: 8px 14px; background: rgb(234, 242, 255); color: rgb(18, 55, 110); font: 600 13px Fanta6PersonalFredoka, sans-serif; cursor: pointer; }
#f6-my-score .modebar button[aria-pressed="true"] { background: rgb(18, 62, 125); color: white; border-color: rgb(239, 202, 87); }
#f6-my-score .device { overflow: hidden; border: 1px solid rgb(57, 117, 196); border-radius: 22px; background: rgb(7, 29, 73); box-shadow: rgba(4, 22, 50, 0.44) 0px 20px 46px; }
#f6-my-score .top { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 22px; border-bottom: 2px solid rgb(230, 189, 75); background: radial-gradient(at 20% 0%, rgb(28, 90, 167) 0%, transparent 46%), linear-gradient(105deg, rgb(3, 19, 51), rgb(11, 46, 104) 56%, rgb(4, 26, 66)); }
#f6-my-score .brand { width: 218px; height: 62px; object-fit: contain; object-position: left center; filter: drop-shadow(rgba(0, 0, 0, 0.6) 0px 3px 7px); }
#f6-my-score .nav { display: flex; align-items: center; gap: 21px; color: rgb(216, 233, 255); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
#f6-my-score .nav .active { color: rgb(255, 226, 138); text-shadow: rgba(255, 218, 100, 0.376) 0px 0px 10px; }
#f6-my-score .user { padding: 8px 13px; border: 1px solid rgb(140, 181, 231); border-radius: 999px; background: rgb(12, 44, 98); color: rgb(255, 255, 255); font-size: 13px; font-weight: 600; box-shadow: rgba(255, 255, 255, 0.14) 0px 1px inset; }
#f6-my-score .main { position: relative; padding: 22px 25px 26px; background: radial-gradient(at 50% 0%, rgba(25, 84, 161, 0.5) 0%, transparent 43%), radial-gradient(at 5% 35%, rgba(50, 131, 213, 0.19) 0%, transparent 31%), radial-gradient(circle at 83% 27%, rgb(230, 200, 90) 0px, rgb(230, 200, 90) 1px, transparent 2px), radial-gradient(circle at 22% 76%, rgba(255, 255, 255, 0.66) 0px, rgba(255, 255, 255, 0.66) 1px, transparent 2px), radial-gradient(circle at 68% 64%, rgba(186, 218, 255, 0.69) 0px, rgba(186, 218, 255, 0.69) 1px, transparent 2px), linear-gradient(155deg, rgb(6, 27, 70) 0%, rgb(8, 39, 92) 55%, rgb(4, 22, 52) 100%); }
#f6-my-score .main::before { content: ""; position: absolute; inset: 0px; pointer-events: none; background: repeating-radial-gradient(at 50% -30%, transparent 0px, transparent 48px, rgba(165, 210, 255, 0.047) 49px, rgba(165, 210, 255, 0.047) 51px, transparent 52px, transparent 73px), linear-gradient(112deg, transparent 0px, transparent 29%, rgba(155, 202, 255, 0.04) 45%, transparent 62%, transparent 100%); }
#f6-my-score .crumb { position: relative; margin: 0px 0px 12px; color: rgb(183, 212, 250); font-size: 12px; font-weight: 500; }
#f6-my-score .team-hero { position: relative; display: grid; grid-template-columns: 132px minmax(230px, 1fr) repeat(3, minmax(112px, 145px)); align-items: center; gap: 15px; min-height: 154px; padding: 12px 18px 16px; border: 1px solid rgb(69, 129, 197); border-radius: 19px; overflow: hidden; background: radial-gradient(at 16% 102%, rgb(36, 107, 184) 0%, transparent 43%), radial-gradient(at 76% 0%, rgba(40, 120, 192, 0.37) 0%, transparent 40%), linear-gradient(108deg, rgb(7, 27, 67) 0%, rgb(11, 57, 129) 53%, rgb(6, 26, 61) 100%); box-shadow: rgba(255, 255, 255, 0.21) 0px 1px 0px inset, rgba(2, 13, 42, 0.4) 0px 8px 0px, rgba(2, 13, 42, 0.396) 0px 14px 22px; }
#f6-my-score .team-hero::before { content: ""; position: absolute; inset: 0px; pointer-events: none; background: radial-gradient(circle at 4% 24%, rgb(255, 255, 255) 0px, rgb(255, 255, 255) 2px, transparent 3px), radial-gradient(circle at 38% 15%, rgb(255, 226, 138) 0px, rgb(255, 226, 138) 1.4px, transparent 3px), radial-gradient(circle at 69% 24%, rgb(255, 255, 255) 0px, rgb(255, 255, 255) 1.5px, transparent 3px), radial-gradient(circle at 93% 11%, rgb(255, 223, 117) 0px, rgb(255, 223, 117) 1.5px, transparent 3px), repeating-linear-gradient(110deg, transparent 0px, transparent 80px, rgba(255, 255, 255, 0.03) 81px, rgba(255, 255, 255, 0.03) 83px, transparent 84px, transparent 147px); }
#f6-my-score .team-hero::after { content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; height: 8px; background: linear-gradient(90deg, rgb(32, 87, 163), rgb(255, 220, 104) 48%, rgb(32, 87, 163)); box-shadow: rgba(255, 215, 89, 0.4) 0px 0px 14px; }
#f6-my-score .mascot-stage { position: relative; z-index: 1; width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgb(45, 119, 189) 0%, rgb(11, 52, 119) 64%, rgb(6, 35, 84) 65%); border: 3px solid rgb(230, 195, 84); box-shadow: rgba(255, 255, 255, 0.086) 0px 0px 0px 4px inset, rgb(27, 76, 142) 0px 0px 0px 4px, rgba(2, 14, 42, 0.6) 0px 6px 12px; }
#f6-my-score .mascot { width: 108px; height: 108px; object-fit: contain; object-position: center center; filter: drop-shadow(rgba(0, 19, 50, 0.6) 0px 3px 5px); }
#f6-my-score .team-copy { position: relative; z-index: 1; min-width: 0px; }
#f6-my-score .eyebrow { color: rgb(255, 224, 135); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-shadow: rgba(255, 204, 74, 0.27) 0px 1px 6px; }
#f6-my-score h1 { margin: 5px 0px 4px; font: 42px / 1 "Lilita One", Fanta6PersonalFredoka, sans-serif; letter-spacing: 0.02em; color: rgb(255, 247, 220); text-shadow: rgb(157, 113, 31) 0px 2px 0px, rgb(3, 20, 50) 0px 4px 0px, rgba(0, 0, 0, 0.533) 0px 7px 13px; }
#f6-my-score .team-copy p { margin: 0px; color: rgb(220, 234, 255); font-size: 14px; font-weight: 500; }
#f6-my-score .info-chip { position: relative; z-index: 1; min-height: 85px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 6px; border: 1px solid rgb(119, 167, 221); border-radius: 12px; background: linear-gradient(145deg, rgba(10, 43, 96, 0.85), rgba(4, 27, 68, 0.91)); box-shadow: rgba(255, 255, 255, 0.19) 0px 1px 0px inset, rgba(4, 17, 45, 0.447) 0px 4px 0px, rgba(0, 16, 39, 0.376) 0px 8px 12px; text-align: center; }
#f6-my-score .info-chip span { font-size: 10px; font-weight: 700; letter-spacing: 0.09em; color: rgb(198, 221, 251); }
#f6-my-score .info-chip strong { font: 27px / 1.05 "Lilita One", Fanta6PersonalFredoka, sans-serif; color: rgb(255, 243, 199); text-shadow: rgb(10, 29, 61) 0px 2px 0px; }
#f6-my-score .info-chip small { font-size: 11px; color: rgb(217, 233, 255); }
#f6-my-score .filters { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 17px 0px 13px; padding: 0px 2px; }
#f6-my-score .filter-group { display: flex; gap: 9px; flex-wrap: wrap; }
#f6-my-score .filter { padding: 9px 14px; border: 1px solid rgb(129, 169, 211); border-radius: 10px; background: linear-gradient(rgb(22, 71, 131), rgb(9, 41, 86)); color: rgb(255, 255, 255); font: 600 13px Fanta6PersonalFredoka, sans-serif; box-shadow: rgba(255, 255, 255, 0.145) 0px 1px inset, rgba(2, 14, 43, 0.5) 0px 3px 0px; }
#f6-my-score .filter b { color: rgb(255, 223, 122); }
#f6-my-score .status { color: rgb(210, 228, 251); font-size: 13px; font-weight: 600; }
#f6-my-score .section-title { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0px; padding: 10px 13px; border-width: 1px 1px 0px; border-style: solid solid none; border-color: rgb(68, 128, 197) rgb(68, 128, 197) currentcolor; border-image: none; border-radius: 14px 14px 0px 0px; background: linear-gradient(100deg, rgb(10, 61, 131), rgb(14, 91, 176) 56%, rgb(10, 52, 112)); box-shadow: rgba(255, 255, 255, 0.208) 0px 1px 0px inset; }
#f6-my-score .section-title h2 { margin: 0px; color: rgb(255, 244, 210); font: 23px / 1.1 "Lilita One", Fanta6PersonalFredoka, sans-serif; letter-spacing: 0.04em; text-shadow: rgb(6, 23, 53) 0px 2px 0px; }
#f6-my-score .section-title h2::before { content: "✦ "; color: rgb(255, 220, 103); }
#f6-my-score .section-title span { color: rgb(228, 239, 255); font-size: 12px; font-weight: 600; }
#f6-my-score .table { position: relative; isolation: isolate; overflow: hidden; padding: 7px 9px 9px; border: 1px solid rgb(57, 118, 191); border-radius: 0px 0px 15px 15px; background: linear-gradient(145deg, rgba(5, 24, 59, 0.937), rgba(10, 46, 102, 0.937) 58%, rgba(6, 27, 66, 0.95)); box-shadow: rgba(255, 255, 255, 0.14) 0px 1px 0px inset, rgba(2, 13, 43, 0.314) 0px 8px 0px, rgba(2, 14, 43, 0.4) 0px 14px 18px; }
#f6-my-score .table::before { content: ""; position: absolute; z-index: -1; inset: 0px; background-image: url("/assets/my-score/reference-6f106ebc7324.webp"); background-position: center 48%; background-repeat: no-repeat; background-size: min(50%, 420px) auto; opacity: 0.16; pointer-events: none; }
#f6-my-score .table-head { display: grid; grid-template-columns: minmax(240px, 1.7fr) minmax(120px, 0.75fr) minmax(120px, 0.55fr); gap: 10px; align-items: center; padding: 9px 14px; color: rgb(185, 215, 251); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
#f6-my-score .table-head span:last-child { text-align: right; }
#f6-my-score .player-row { position: relative; display: grid; grid-template-columns: minmax(240px, 1.7fr) minmax(120px, 0.75fr) minmax(120px, 0.55fr); gap: 10px; align-items: center; min-height: 68px; margin: 0px 0px 6px; padding: 8px 14px; border: 1px solid rgb(49, 99, 160); border-radius: 10px; background: linear-gradient(105deg, rgba(11, 52, 116, 0.93), rgba(13, 68, 136, 0.91) 63%, rgba(9, 43, 96, 0.94)); box-shadow: rgba(255, 255, 255, 0.137) 0px 1px 0px inset, rgba(2, 14, 42, 0.447) 0px 3px 0px, rgba(0, 17, 44, 0.4) 0px 5px 9px; }
#f6-my-score .player-row:nth-child(2n) { background: linear-gradient(105deg, rgba(9, 45, 103, 0.937), rgba(16, 73, 132, 0.914) 63%, rgba(8, 38, 83, 0.94)); }
#f6-my-score .player-row:last-child { margin-bottom: 0px; }
#f6-my-score .player-name { min-width: 0px; color: rgb(255, 245, 216); font: 600 20px / 1.1 Fanta6PersonalFredoka, sans-serif; text-shadow: rgb(0, 19, 47) 0px 2px 3px; }
#f6-my-score .club { display: block; margin-top: 4px; color: rgb(188, 213, 245); font-size: 12px; font-weight: 500; }
#f6-my-score .role { display: inline-flex; align-items: center; justify-content: center; min-width: 78px; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, 0.298); border-radius: 8px; color: rgb(255, 255, 255); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-shadow: rgb(0, 17, 45) 0px 1px 2px; box-shadow: rgba(255, 255, 255, 0.314) 0px 1px inset, rgba(0, 16, 47, 0.314) 0px 2px 4px; }
#f6-my-score .points { color: rgb(101, 240, 145); font: 27px / 1 "Lilita One", Fanta6PersonalFredoka, sans-serif; text-align: right; text-shadow: rgba(67, 242, 133, 0.43) 0px 0px 10px, rgb(6, 43, 29) 0px 2px 0px; white-space: nowrap; }
#f6-my-score .plus { display: none; }
#f6-my-score .summary { position: relative; display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
#f6-my-score .sum-card { min-width: 192px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 13px; border: 1px solid rgb(104, 150, 202); border-radius: 11px; background: linear-gradient(110deg, rgb(11, 51, 112), rgb(6, 28, 70)); box-shadow: rgba(255, 255, 255, 0.14) 0px 1px inset, rgba(2, 13, 42, 0.396) 0px 4px 0px, rgba(2, 14, 43, 0.333) 0px 7px 12px; }
#f6-my-score .sum-card span { color: rgb(201, 222, 248); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
#f6-my-score .sum-card strong { color: rgb(114, 242, 154); font: 26px / 1 "Lilita One", Fanta6PersonalFredoka, sans-serif; text-shadow: rgba(64, 235, 122, 0.27) 0px 0px 9px; white-space: nowrap; }
#f6-my-score .sum-card.penalty { border-color: rgb(158, 139, 90); background: linear-gradient(110deg, rgb(39, 56, 90), rgb(23, 39, 72)); }
#f6-my-score .sum-card.penalty strong { color: rgb(255, 225, 138); }
#f6-my-score .role-legend { position: relative; display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; color: rgb(212, 229, 251); font-size: 11px; font-weight: 600; }
#f6-my-score .legend-dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 3px; box-shadow: currentcolor 0px 0px 8px; }

@media(max-width:600px){#f6-my-score .top { height: 60px; padding: 4px 10px; gap: 7px; }}
@media(max-width:600px){#f6-my-score .brand { width: 140px; height: 49px; }}
@media(max-width:600px){#f6-my-score .nav { display: none; }}
@media(max-width:600px){#f6-my-score .user { padding: 7px 9px; font-size: 10px; }}
@media(max-width:600px){#f6-my-score .main { padding: 12px 10px 17px; }}
@media(max-width:600px){#f6-my-score .crumb { font-size: 10px; margin-bottom: 9px; }}
@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 78px minmax(0px, 1fr) 68px; grid-template-rows: auto auto; gap: 7px 9px; min-height: 122px; padding: 9px 9px 13px; border-radius: 15px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { grid-row: 1 / span 2; width: 72px; height: 72px; border-width: 2px; box-shadow: rgba(255, 255, 255, 0.086) 0px 0px 0px 3px inset, rgb(27, 76, 142) 0px 0px 0px 3px, rgba(2, 14, 42, 0.6) 0px 4px 9px; }}
@media(max-width:600px){#f6-my-score .mascot { width: 65px; height: 65px; }}
@media(max-width:600px){#f6-my-score .team-copy { grid-column: 2 / 4; align-self: end; }}
@media(max-width:600px){#f6-my-score .eyebrow { font-size: 9px; }}
@media(max-width:600px){#f6-my-score h1 { font-size: 24px; margin: 3px 0px; }}
@media(max-width:600px){#f6-my-score .team-copy p { font-size: 11px; }}
@media(max-width:600px){#f6-my-score .info-chip { min-height: 51px; padding: 4px 3px; border-radius: 8px; grid-row: 2; }}
@media(max-width:600px){#f6-my-score .team-hero > .info-chip:nth-of-type(3) { grid-area: 2 / 2; }}
@media(max-width:600px){#f6-my-score .team-hero > .info-chip:nth-of-type(4) { grid-area: 2 / 3; }}
@media(max-width:600px){#f6-my-score .team-hero > .info-chip:nth-of-type(5) { display: none; }}
@media(max-width:600px){#f6-my-score .info-chip span { font-size: 8px; letter-spacing: 0.05em; }}
@media(max-width:600px){#f6-my-score .info-chip strong { font-size: 19px; }}
@media(max-width:600px){#f6-my-score .info-chip small { font-size: 9px; }}
@media(max-width:600px){#f6-my-score .filters { align-items: flex-start; flex-direction: column; gap: 7px; margin: 12px 0px 9px; }}
@media(max-width:600px){#f6-my-score .filter-group { gap: 6px; }}
@media(max-width:600px){#f6-my-score .filter { padding: 7px 9px; font-size: 11px; }}
@media(max-width:600px){#f6-my-score .status { font-size: 11px; }}
@media(max-width:600px){#f6-my-score .section-title { padding: 8px 9px; border-radius: 11px 11px 0px 0px; }}
@media(max-width:600px){#f6-my-score .section-title h2 { font-size: 18px; }}
@media(max-width:600px){#f6-my-score .section-title span { font-size: 10px; }}
@media(max-width:600px){#f6-my-score .table { padding: 7px; border-radius: 0px 0px 11px 11px; }}
@media(max-width:600px){#f6-my-score .table-head { display: none; }}
@media(max-width:600px){#f6-my-score .player-row { grid-template-columns: minmax(0px, 1fr) auto; grid-template-rows: auto auto; gap: 4px 7px; min-height: 63px; padding: 7px 8px; margin-bottom: 6px; border-radius: 9px; }}
@media(max-width:600px){#f6-my-score .player-name { grid-area: 1 / 1; font-size: 17px; }}
@media(max-width:600px){#f6-my-score .club { display: inline; margin: 0px 0px 0px 5px; font-size: 10px; }}
@media(max-width:600px){#f6-my-score .role { grid-area: 2 / 1; justify-self: start; min-width: 0px; padding: 3px 7px; border-radius: 6px; font-size: 9px; }}
@media(max-width:600px){#f6-my-score .points { grid-area: 1 / 2 / span 2; font-size: 23px; }}
@media(max-width:600px){#f6-my-score .plus { display: none; }}
@media(max-width:600px){#f6-my-score .table::before { background-size: 90% auto; opacity: 0.11; }}
@media(max-width:600px){#f6-my-score .summary { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }}
@media(max-width:600px){#f6-my-score .sum-card { min-width: 0px; padding: 8px; gap: 5px; border-radius: 9px; }}
@media(max-width:600px){#f6-my-score .sum-card span { font-size: 9px; }}
@media(max-width:600px){#f6-my-score .sum-card strong { font-size: 22px; }}
@media(max-width:600px){#f6-my-score .role-legend { gap: 6px 9px; font-size: 9px; }}
@media (max-width: 350px){@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 65px minmax(0px, 1fr) 62px; gap: 6px; }}
@media(max-width:600px){.mobile .mascot-stage { width: 61px; height: 61px; }}
@media(max-width:600px){.mobile .mascot { width: 57px; height: 57px; }}
@media(max-width:600px){#f6-my-score h1 { font-size: 21px; }}
@media(max-width:600px){#f6-my-score .filter { padding: 7px; font-size: 10px; }}}
#f6-my-score .team-hero { grid-template-columns: 150px minmax(320px, 1fr) repeat(3, minmax(102px, 124px)); gap: 12px; min-height: 166px; }
#f6-my-score .mascot-stage { width: 142px; height: 142px; }
#f6-my-score .mascot { width: 130px; height: 130px; }
#f6-my-score .team-copy { min-width: 0px; }
#f6-my-score .team-copy h1 { font-size: 39px; white-space: nowrap; }
#f6-my-score .info-chip { min-height: 72px; padding: 7px 4px; }
#f6-my-score .role { min-width: 64px; padding: 3px 7px; font-size: 10px; }
#f6-my-score .player-name { font-size: 24px; }
@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 90px minmax(0px, 1fr); grid-template-rows: auto auto; gap: 7px 9px; min-height: 128px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { grid-area: 1 / 1 / span 2; width: 84px; height: 84px; }}
@media(max-width:600px){#f6-my-score .mascot { width: 77px; height: 77px; }}
@media(max-width:600px){#f6-my-score .team-copy { grid-area: 1 / 2; align-self: end; }}
@media(max-width:600px){#f6-my-score .team-copy h1 { font-size: 24px; white-space: nowrap; }}
@media(max-width:600px){#f6-my-score .team-stats { grid-area: 2 / 2; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-self: start; }}
@media(max-width:600px){#f6-my-score .team-stats > .info-chip:nth-child(3) { display: none; }}
@media(max-width:600px){#f6-my-score .info-chip { width: 100%; min-height: 42px; padding: 3px 4px; gap: 1px; border-radius: 7px; }}
@media(max-width:600px){#f6-my-score .info-chip span { font-size: 8px; letter-spacing: 0.04em; }}
@media(max-width:600px){#f6-my-score .info-chip strong { font-size: 17px; }}
@media(max-width:600px){#f6-my-score .info-chip small { font-size: 8px; }}
@media(max-width:600px){#f6-my-score .player-name { font-size: 21px; }}
@media(max-width:600px){#f6-my-score .role { min-width: 0px; min-height: 17px; padding: 2px 5px; font-size: 8px; line-height: 1; }}
@media (max-width: 350px){@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 78px minmax(0px, 1fr); gap: 6px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { width: 74px; height: 74px; }}
@media(max-width:600px){#f6-my-score .mascot { width: 68px; height: 68px; }}
@media(max-width:600px){#f6-my-score .team-copy h1 { font-size: 21px; }}}
#f6-my-score .top { height: 86px; padding-left: 18px; }
#f6-my-score .brand { width: 250px; height: 76px; object-fit: contain; object-position: left center; }
#f6-my-score .team-hero { grid-template-columns: 114px minmax(320px, 1fr) repeat(3, minmax(92px, 115px)); gap: 10px; min-height: 136px; padding: 7px 14px 12px; }
#f6-my-score .mascot-stage { width: 108px; height: 108px; }
#f6-my-score .mascot { width: 98px; height: 98px; }
#f6-my-score .team-copy h1 { font-size: 36px; }
#f6-my-score .info-chip { min-height: 60px; padding: 5px 3px; border-radius: 9px; }
#f6-my-score .info-chip strong { font-size: 23px; }
#f6-my-score .role { min-width: 48px; padding: 2px 5px; border-radius: 6px; font-size: 9px; letter-spacing: 0.02em; }
@media(max-width:600px){#f6-my-score .top { height: 60px; }}
@media(max-width:600px){#f6-my-score .brand { width: 165px; height: 52px; }}
@media (max-width: 350px){@media(max-width:600px){#f6-my-score .brand { width: 148px; height: 48px; }}}
#f6-my-score .device { max-width: 1160px; border: 0px; border-radius: 0px; overflow: visible; background: transparent; box-shadow: none; }
#f6-my-score .top { height: 82px; padding: 4px 20px; border-width: 0px 0px 2px; border-style: none none solid; border-color: currentcolor currentcolor rgb(241, 203, 86); border-image: none; border-radius: 0px; background: radial-gradient(at 8% 0%, rgb(41, 117, 202) 0%, transparent 36%), radial-gradient(at 76% 5%, rgb(23, 71, 141) 0%, transparent 38%), linear-gradient(100deg, rgb(3, 20, 50), rgb(9, 44, 103) 50%, rgb(4, 22, 51)); box-shadow: rgba(2, 13, 38, 0.667) 0px 5px 18px, rgba(255, 255, 255, 0.19) 0px 1px 0px inset; }
#f6-my-score .main { padding: 17px 20px 24px; background: radial-gradient(at 50% 28%, rgba(23, 96, 180, 0.66) 0%, transparent 49%), radial-gradient(at 0% 100%, rgba(26, 75, 137, 0.66) 0%, transparent 40%), radial-gradient(circle at 8% 22%, rgb(255, 255, 255) 0px, rgb(255, 255, 255) 1px, transparent 2px), radial-gradient(circle at 73% 12%, rgb(255, 225, 122) 0px, rgb(255, 225, 122) 1px, transparent 2px), radial-gradient(circle at 90% 59%, rgb(255, 255, 255) 0px, rgb(255, 255, 255) 1px, transparent 2px), radial-gradient(circle at 34% 82%, rgb(180, 214, 255) 0px, rgb(180, 214, 255) 1px, transparent 2px), linear-gradient(145deg, rgb(7, 26, 62) 0%, rgb(8, 43, 99) 53%, rgb(4, 22, 50) 100%); }
#f6-my-score .main::before { background: repeating-radial-gradient(at 50% -20%, transparent 0px, transparent 37px, rgba(197, 228, 255, 0.075) 38px, rgba(197, 228, 255, 0.075) 40px, transparent 41px, transparent 65px), linear-gradient(112deg, transparent 0px, transparent 22%, rgba(139, 189, 255, 0.075) 36%, transparent 49%, transparent 76%, rgba(255, 226, 125, 0.05) 90%, transparent 100%); }
#f6-my-score .crumb { color: rgb(180, 212, 255); }
#f6-my-score .team-hero { min-height: 128px; grid-template-columns: 112px minmax(300px, 1fr) repeat(3, minmax(94px, 116px)); gap: 10px; padding: 5px 7px 10px; border-width: 0px 0px 1px; border-style: none none solid; border-color: currentcolor currentcolor rgb(76, 139, 208); border-image: none; border-radius: 0px; background: radial-gradient(at 0% 50%, rgba(42, 114, 189, 0.5) 0%, transparent 42%), linear-gradient(100deg, rgba(7, 27, 66, 0.79), rgba(12, 57, 121, 0.66) 54%, rgba(6, 26, 64, 0.79)); box-shadow: rgba(255, 255, 255, 0.094) 0px 1px 0px inset, rgba(0, 16, 44, 0.4) 0px 8px 16px; }
#f6-my-score .team-hero::after { height: 2px; bottom: 0px; box-shadow: rgba(255, 215, 89, 0.66) 0px 0px 13px; }
#f6-my-score .mascot-stage { width: 104px; height: 104px; background: radial-gradient(circle, rgb(40, 117, 192) 0%, rgb(11, 52, 119) 67%, rgb(6, 35, 84) 68%); border: 2px solid rgb(242, 208, 104); box-shadow: rgba(255, 255, 255, 0.075) 0px 0px 0px 3px inset, rgb(27, 76, 142) 0px 0px 0px 2px, rgba(2, 14, 42, 0.6) 0px 5px 9px; }
#f6-my-score .mascot { width: 96px; height: 96px; }
#f6-my-score .team-copy h1 { font-size: 35px; }
#f6-my-score .info-chip { min-height: 54px; border-radius: 8px; background: linear-gradient(150deg, rgba(11, 52, 112, 0.85), rgba(4, 26, 64, 0.91)); box-shadow: rgba(255, 255, 255, 0.19) 0px 1px 0px inset, rgba(4, 17, 45, 0.447) 0px 3px 0px, rgba(0, 16, 39, 0.376) 0px 5px 8px; }
#f6-my-score .info-chip strong { font-size: 22px; }
#f6-my-score .filters { margin: 13px 0px 10px; }
#f6-my-score .section-title { padding: 8px 12px; border-width: 1px 1px 0px; border-style: solid solid none; border-color: rgb(76, 145, 212) rgb(76, 145, 212) currentcolor; border-image: none; border-radius: 5px 5px 0px 0px; background: linear-gradient(95deg, rgb(10, 80, 163), rgb(17, 106, 193) 53%, rgb(10, 67, 141)); box-shadow: rgba(255, 255, 255, 0.208) 0px 1px inset; }
#f6-my-score .section-title h2 { font-size: 21px; }
#f6-my-score .table { padding: 4px 6px 6px; border: 1px solid rgb(40, 109, 178); border-radius: 0px 0px 5px 5px; background: linear-gradient(145deg, rgba(3, 22, 52, 0.93), rgba(8, 41, 87, 0.92) 57%, rgba(4, 24, 54, 0.95)); box-shadow: rgba(255, 255, 255, 0.09) 0px 1px 0px inset, rgba(2, 13, 43, 0.314) 0px 7px 0px; }
#f6-my-score .table-head { padding: 7px 12px; color: rgb(201, 224, 255); }
#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { min-height: 59px; margin: 0px; padding: 7px 12px; border-width: 1px 0px 0px; border-style: solid none none; border-color: rgba(84, 144, 204, 0.36) currentcolor currentcolor; border-image: none; border-radius: 0px; background: linear-gradient(95deg, rgba(12, 60, 124, 0.867), rgba(16, 70, 129, 0.886) 60%, rgba(10, 50, 107, 0.875)); box-shadow: rgba(255, 255, 255, 0.09) 0px 1px 0px inset; }
#f6-my-score .player-row:last-child { border-bottom: 1px solid rgba(84, 144, 204, 0.36); }
#f6-my-score .player-name { font-size: 23px; }
#f6-my-score .role { min-width: 43px; padding: 2px 4px; border-radius: 5px; font-size: 9px; }
#f6-my-score .points { font-size: 26px; }
#f6-my-score .summary { margin-top: 12px; }
#f6-my-score .sum-card { border-radius: 6px; box-shadow: rgba(255, 255, 255, 0.14) 0px 1px inset, rgba(2, 13, 42, 0.396) 0px 3px 0px, rgba(2, 14, 43, 0.333) 0px 6px 10px; }

@media(max-width:600px){#f6-my-score .top { height: 62px; padding: 4px 8px; }}
@media(max-width:600px){#f6-my-score .brand { width: 150px; height: 49px; }}
@media(max-width:600px){#f6-my-score .main { padding: 10px 8px 15px; }}
@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 82px minmax(0px, 1fr); min-height: 119px; padding: 5px 4px 9px; gap: 6px 8px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { width: 78px; height: 78px; }}
@media(max-width:600px){#f6-my-score .mascot { width: 72px; height: 72px; }}
@media(max-width:600px){#f6-my-score .team-copy h1 { font-size: 22px; }}
@media(max-width:600px){#f6-my-score .info-chip { min-height: 40px; }}
@media(max-width:600px){#f6-my-score .filters { margin: 10px 0px 8px; }}
@media(max-width:600px){#f6-my-score .section-title { padding: 7px 8px; }}
@media(max-width:600px){#f6-my-score .table { padding: 5px; border-radius: 0px 0px 4px 4px; }}
@media(max-width:600px){#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { min-height: 62px; margin-bottom: 0px; padding: 6px 7px; border-radius: 0px; }}
@media(max-width:600px){#f6-my-score .player-name { font-size: 20px; }}
@media(max-width:600px){#f6-my-score .club { font-size: 10px; }}
@media(max-width:600px){#f6-my-score .role { min-height: 16px; padding: 2px 5px; font-size: 8px; }}
@media(max-width:600px){#f6-my-score .points { font-size: 23px; }}
@media(max-width:600px){#f6-my-score .table::before { background-size: 82% auto; opacity: 0.09; }}
@media (max-width: 350px){@media(max-width:600px){#f6-my-score .brand { width: 138px; }}}
#f6-my-score .team-hero { grid-template-columns: 94px minmax(280px, 1fr) max-content; gap: 10px; min-height: 104px; padding: 4px 8px 8px; border-width: 0px 0px 1px; border-style: none none solid; border-color: currentcolor currentcolor rgb(76, 139, 208); border-image: none; border-radius: 0px; background: linear-gradient(100deg, rgba(10, 45, 103, 0.66), rgba(13, 67, 138, 0.51) 55%, rgba(7, 27, 67, 0.66)); box-shadow: rgba(255, 255, 255, 0.075) 0px 1px 0px inset; }
#f6-my-score .team-hero::after { height: 2px; bottom: 0px; }
#f6-my-score .mascot-stage { width: 84px; height: 84px; border-width: 2px; }
#f6-my-score .mascot { width: 76px; height: 76px; }
#f6-my-score .team-copy h1 { font-size: 31px; white-space: nowrap; }
#f6-my-score .team-stats { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
#f6-my-score .info-chip { width: 94px; min-height: 42px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0px 3px; padding: 4px 6px; border-radius: 7px; }
#f6-my-score .info-chip span { grid-area: 1 / 1; font-size: 8px; letter-spacing: 0.06em; text-align: left; }
#f6-my-score .info-chip small { grid-area: 2 / 1; font-size: 8px; text-align: left; }
#f6-my-score .info-chip strong { grid-area: 1 / 2 / span 2; font-size: 20px; }
#f6-my-score .team-stats > .info-chip:nth-child(3) { display: none; }
#f6-my-score .filters { margin: 10px 0px 8px; }
#f6-my-score .status { white-space: nowrap; color: rgb(225, 237, 255); font-size: 11px; }
#f6-my-score .section-title { padding: 7px 11px; border-radius: 4px 4px 0px 0px; }
#f6-my-score .section-title h2 { font-size: 19px; }
#f6-my-score .table { padding: 3px 5px 5px; }
#f6-my-score .table-head { grid-template-columns: minmax(300px, 1fr) 66px 88px; gap: 14px; padding: 6px 11px; }
#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { grid-template-columns: minmax(300px, 1fr) 66px 88px; gap: 14px; min-height: 55px; padding: 5px 11px; }
#f6-my-score .player-name { font-size: 23px; }
#f6-my-score .role { min-width: 42px; width: 42px; min-height: 24px; padding: 2px 3px; font-size: 9px; letter-spacing: 0px; }
#f6-my-score .points { font-size: 25px; }
@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 64px minmax(0px, 1fr); grid-template-rows: auto auto; min-height: 97px; gap: 4px 8px; padding: 4px 4px 8px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { grid-area: 1 / 1 / span 2; width: 60px; height: 60px; }}
@media(max-width:600px){#f6-my-score .mascot { width: 55px; height: 55px; }}
@media(max-width:600px){#f6-my-score .team-copy { grid-area: 1 / 2; align-self: end; }}
@media(max-width:600px){#f6-my-score .team-copy h1 { font-size: 21px; white-space: nowrap; }}
@media(max-width:600px){#f6-my-score .team-copy p { font-size: 10px; }}
@media(max-width:600px){#f6-my-score .team-stats { grid-area: 2 / 2; display: flex; justify-content: flex-start; gap: 5px; }}
@media(max-width:600px){#f6-my-score .info-chip { width: 90px; min-height: 34px; padding: 2px 5px; border-radius: 5px; }}
@media(max-width:600px){#f6-my-score .info-chip span { font-size: 7px; }}
@media(max-width:600px){#f6-my-score .info-chip small { font-size: 7px; }}
@media(max-width:600px){#f6-my-score .info-chip strong { font-size: 17px; }}
@media(max-width:600px){#f6-my-score .filters { flex-direction: row; align-items: center; justify-content: space-between; gap: 5px; }}
@media(max-width:600px){#f6-my-score .filter-group { gap: 4px; flex-wrap: nowrap; }}
@media(max-width:600px){#f6-my-score .filter { padding: 6px; font-size: 9px; white-space: nowrap; }}
@media(max-width:600px){#f6-my-score .status { font-size: 9px; }}
@media(max-width:600px){#f6-my-score .table-head { display: none; }}
@media(max-width:600px){#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { grid-template-columns: minmax(0px, 1fr) 72px; grid-template-rows: auto auto; gap: 3px 6px; min-height: 58px; padding: 5px 7px; }}
@media(max-width:600px){#f6-my-score .player-name { grid-area: 1 / 1; font-size: 20px; }}
@media(max-width:600px){#f6-my-score .club { display: inline; margin-left: 5px; font-size: 9px; }}
@media(max-width:600px){#f6-my-score .role { grid-area: 2 / 1; width: auto; min-width: 36px; min-height: 16px; justify-self: start; padding: 2px 5px; font-size: 8px; }}
@media(max-width:600px){#f6-my-score .points { grid-area: 1 / 2 / span 2; font-size: 23px; }}
@media (max-width: 350px){@media(max-width:600px){#f6-my-score .team-copy h1 { font-size: 19px; }}
@media(max-width:600px){#f6-my-score .info-chip { width: 82px; }}
@media(max-width:600px){#f6-my-score .filter { font-size: 8px; padding: 5px; }}}
#f6-my-score .team-hero { grid-template-columns: 96px minmax(170px, 1fr) auto; gap: 12px; min-height: 108px; padding: 8px 14px 13px; }
#f6-my-score .mascot-stage { width: 86px; height: 86px; border-width: 2px; box-shadow: rgba(255, 255, 255, 0.086) 0px 0px 0px 3px inset, rgb(27, 76, 142) 0px 0px 0px 3px, rgba(2, 14, 42, 0.6) 0px 4px 9px; }
#f6-my-score .mascot { width: 78px; height: 78px; }
#f6-my-score .team-copy h1 { font-size: 34px; }
#f6-my-score .team-stats { display: flex; align-items: center; gap: 6px; }
#f6-my-score .info-chip { min-height: 0px; min-width: 74px; gap: 1px; padding: 5px 7px; border-radius: 9px; }
#f6-my-score .info-chip strong { font-size: 20px; }
#f6-my-score .info-chip small { font-size: 9px; }
#f6-my-score .role { min-width: 32px; width: 32px; height: 30px; padding: 0px; border-radius: 7px; font-size: 13px; letter-spacing: 0px; }
@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: 60px minmax(0px, 1fr); grid-template-rows: auto auto; gap: 4px 8px; min-height: 0px; padding: 6px 7px 9px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { grid-area: 1 / 1; width: 56px; height: 56px; }}
@media(max-width:600px){#f6-my-score .mascot { width: 50px; height: 50px; }}
@media(max-width:600px){#f6-my-score .team-copy { grid-area: 1 / 2; align-self: center; }}
@media(max-width:600px){#f6-my-score .eyebrow { font-size: 8px; letter-spacing: 0.08em; }}
@media(max-width:600px){#f6-my-score h1 { font-size: 21px; margin: 2px 0px; }}
@media(max-width:600px){#f6-my-score .team-copy p { font-size: 10px; }}
@media(max-width:600px){#f6-my-score .team-stats { grid-area: 2 / 1 / auto / -1; display: flex; justify-content: flex-end; gap: 5px; }}
@media(max-width:600px){#f6-my-score .info-chip { flex: 1 1 0%; flex-direction: row; min-width: 0px; min-height: 24px; gap: 4px; padding: 2px 5px; border-radius: 6px; display: flex !important; }}
@media(max-width:600px){#f6-my-score .info-chip span { font-size: 7px; }}
@media(max-width:600px){#f6-my-score .info-chip strong { font-size: 12px; }}
@media(max-width:600px){#f6-my-score .info-chip small { display: none; }}
@media(max-width:600px){#f6-my-score .role { grid-area: 2 / 1; width: 23px; min-width: 23px; height: 19px; min-height: 19px; justify-self: start; padding: 0px; font-size: 9px; }}
@media(max-width:600px){#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { grid-template-columns: minmax(0px, 1fr) 34px 62px; grid-template-rows: auto; gap: 4px; min-height: 49px; padding: 5px 7px; }}
@media(max-width:600px){#f6-my-score .role { grid-area: 1 / 2; justify-self: center; }}
@media(max-width:600px){#f6-my-score .points { grid-area: 1 / 3; }}
@media(max-width:600px){#f6-my-score .filters { flex-direction: row; align-items: center; justify-content: space-between; gap: 5px; }}
@media (max-width: 420px){@media(max-width:600px){#f6-my-score .main { padding-left: 8px; padding-right: 8px; }}
@media(max-width:600px){#f6-my-score .info-chip span { font-size: 6px; }}}
#f6-my-score .main { background: radial-gradient(at 50% 7%, rgb(27, 101, 194) 0%, transparent 48%), radial-gradient(at 8% 60%, rgb(13, 74, 156) 0%, transparent 38%), radial-gradient(at 95% 82%, rgb(18, 77, 155) 0%, transparent 40%), linear-gradient(145deg, rgb(6, 25, 67) 0%, rgb(11, 52, 118) 48%, rgb(7, 29, 76) 100%); }
#f6-my-score .team-hero { background: radial-gradient(at 15% 100%, rgb(39, 121, 215) 0%, transparent 44%), linear-gradient(110deg, rgb(8, 44, 105) 0%, rgb(18, 84, 167) 52%, rgb(8, 40, 95) 100%); border-color: rgb(103, 167, 243); }
#f6-my-score .table { background: linear-gradient(145deg, rgb(8, 39, 95) 0%, rgb(13, 62, 135) 50%, rgb(8, 39, 93) 100%); border-color: rgb(57, 127, 208); }
#f6-my-score .table::before { opacity: 0.25; background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 34px, rgba(142, 200, 255, 0.094) 35px, rgba(142, 200, 255, 0.094) 36px), repeating-linear-gradient(90deg, transparent 0px, transparent 78px, rgba(142, 200, 255, 0.07) 79px, rgba(142, 200, 255, 0.07) 80px), radial-gradient(at 50% 0%, rgba(62, 143, 236, 0.333), transparent 72%); }
#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { background: linear-gradient(105deg, rgb(11, 52, 121) 0%, rgb(17, 83, 163) 62%, rgb(10, 52, 120) 100%); border-color: rgb(43, 108, 183); }
#f6-my-score .player-row:nth-child(2n) { background: linear-gradient(105deg, rgb(10, 47, 112) 0%, rgb(16, 73, 144) 62%, rgb(9, 45, 105) 100%); }
#f6-my-score .section-title { background: linear-gradient(100deg, rgb(11, 60, 131), rgb(23, 103, 189) 56%, rgb(10, 54, 120)); border-color: rgb(78, 145, 223); }
#f6-my-score .main { background: radial-gradient(at 50% 0%, rgb(23, 88, 219) 0%, transparent 52%), radial-gradient(at 5% 48%, rgb(18, 76, 194) 0%, transparent 42%), radial-gradient(at 95% 72%, rgb(16, 63, 167) 0%, transparent 42%), linear-gradient(150deg, rgb(7, 27, 105) 0%, rgb(11, 50, 141) 50%, rgb(6, 25, 88) 100%); }
#f6-my-score .main::before { background: repeating-radial-gradient(at 50% -30%, transparent 0px, transparent 42px, rgba(121, 170, 255, 0.08) 43px, rgba(121, 170, 255, 0.08) 45px, transparent 46px, transparent 68px), radial-gradient(circle at 13% 14%, rgb(216, 232, 255) 0px, rgb(216, 232, 255) 1px, transparent 2px), radial-gradient(circle at 82% 28%, rgb(255, 225, 126) 0px, rgb(255, 225, 126) 1px, transparent 2px), radial-gradient(circle at 70% 76%, rgb(216, 232, 255) 0px, rgb(216, 232, 255) 1px, transparent 2px), linear-gradient(112deg, transparent 0px, transparent 28%, rgba(98, 165, 255, 0.094) 46%, transparent 65%, transparent 100%); }
#f6-my-score .table { background: linear-gradient(145deg, rgb(7, 30, 103) 0%, rgb(11, 52, 140) 50%, rgb(7, 31, 103) 100%); border-color: rgb(67, 140, 255); }
#f6-my-score .table::before { opacity: 0.42; background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 34px, rgba(156, 202, 255, 0.125) 35px, rgba(156, 202, 255, 0.125) 36px), repeating-linear-gradient(90deg, transparent 0px, transparent 78px, rgba(156, 202, 255, 0.07) 79px, rgba(156, 202, 255, 0.07) 80px), radial-gradient(at 50% 0%, rgba(58, 143, 255, 0.396), transparent 72%); }
#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { background: linear-gradient(105deg, rgb(11, 46, 131) 0%, rgb(16, 73, 168) 62%, rgb(9, 43, 121) 100%); border-color: rgb(52, 119, 214); }
#f6-my-score .player-row:nth-child(2n) { background: linear-gradient(105deg, rgb(9, 41, 116) 0%, rgb(13, 66, 152) 62%, rgb(8, 37, 106) 100%); }
#f6-my-score .section-title { background: linear-gradient(100deg, rgb(9, 44, 131), rgb(20, 86, 187) 56%, rgb(8, 41, 118)); border-color: rgb(77, 141, 240); }
#f6-my-score .team-hero { background: radial-gradient(at 15% 100%, rgb(37, 118, 230) 0%, transparent 44%), linear-gradient(110deg, rgb(8, 36, 119) 0%, rgb(16, 74, 174) 52%, rgb(7, 31, 103) 100%); border-color: rgb(106, 165, 255); }
#f6-my-score .team-hero { grid-template-columns: minmax(0px, 1fr) auto 112px; min-height: 112px; }
#f6-my-score .team-copy { grid-area: 1 / 1; }
#f6-my-score .team-stats { grid-area: 1 / 2; }
#f6-my-score .mascot-stage { grid-area: 1 / 3; width: 108px; height: 108px; background: transparent; border: 0px; border-radius: 0px; box-shadow: none; }
#f6-my-score .mascot { width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(rgba(0, 19, 50, 0.6) 0px 3px 6px); }
#f6-my-score .player-name { font-size: 22px; }
#f6-my-score .player-row { border-width: 1px 1px 3px; border-style: solid; border-color: rgb(117, 180, 255) rgb(117, 180, 255) rgb(121, 184, 255); border-image: none; margin-bottom: 7px; box-shadow: rgba(255, 255, 255, 0.173) 0px 1px 0px inset, rgb(2, 20, 63) 0px 3px 0px, rgba(0, 17, 44, 0.5) 0px 6px 10px; }
@media(max-width:600px){#f6-my-score .team-hero { grid-template-columns: minmax(0px, 1fr) 88px; grid-template-rows: auto auto; min-height: 98px; gap: 4px 6px; }}
@media(max-width:600px){#f6-my-score .team-copy { grid-area: 1 / 1; align-self: center; }}
@media(max-width:600px){#f6-my-score .team-stats { grid-area: 2 / 1; display: flex; justify-content: flex-start; gap: 4px; }}
@media(max-width:600px){#f6-my-score .mascot-stage { grid-area: 1 / 2 / span 2; width: 84px; height: 84px; background: transparent; border: 0px; border-radius: 0px; box-shadow: none; }}
@media(max-width:600px){#f6-my-score .mascot { width: 82px; height: 82px; }}
@media(max-width:600px){#f6-my-score .info-chip { flex: 1 1 0%; width: auto; min-width: 0px; padding: 2px 4px; }}
@media(max-width:600px){#f6-my-score .player-name { font-size: 21px; }}
@media(max-width:600px){#f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { border-width: 1px 1px 3px; border-style: solid; border-color: rgb(117, 180, 255) rgb(117, 180, 255) rgb(121, 184, 255); border-image: none; margin-bottom: 6px; }}
@media(max-width:600px){#f6-my-score .player-row, #f6-my-score .player-row, #f6-my-score .player-row:nth-child(2n) { border-radius: 14px; }}
#f6-my-score .table .player-row, #f6-my-score .table .player-row:nth-child(2n), #f6-my-score .table .player-row:nth-of-type(2n+1) { overflow: hidden; border-radius: 16px !important; }
#f6-my-score .main { position: relative; }
#f6-my-score .main::before { z-index: 0; }
#f6-my-score .main > * { position: relative; z-index: 1; }
#f6-my-score .main::after { content: ""; position: absolute; z-index: 0; inset: 0px; pointer-events: none; opacity: 0.16; background-image: url("/assets/my-score/reference-00aa33bd9c3e.webp"); background-size: cover; background-position: center 42%; background-repeat: no-repeat; mix-blend-mode: screen; }
#f6-my-score .table .player-row, #f6-my-score .table .player-row:nth-child(2n), #f6-my-score .table .player-row:nth-of-type(2n+1) { margin: 0px 0px 7px; border-width: 1px 1px 3px; border-style: solid; border-color: rgb(117, 180, 255) rgb(117, 180, 255) rgb(121, 184, 255); border-image: none; overflow: hidden; background: linear-gradient(105deg, rgb(11, 46, 131) 0%, rgb(16, 73, 168) 62%, rgb(9, 43, 121) 100%); box-shadow: rgba(255, 255, 255, 0.173) 0px 1px 0px inset, rgb(2, 20, 63) 0px 3px 0px, rgba(0, 17, 44, 0.5) 0px 6px 10px; border-radius: 16px !important; }
#f6-my-score .table .player-row:last-child { margin-bottom: 0px; }
@media(max-width:600px){#f6-my-score .table .player-row, #f6-my-score .table .player-row:nth-child(2n), #f6-my-score .table .player-row:nth-of-type(2n+1) { margin-bottom: 7px; }}
@media(max-width:600px){#f6-my-score .table .player-row:last-child { margin-bottom: 0px; }}
#f6-my-score .table { background: linear-gradient(145deg, rgb(7, 30, 103) 0%, rgb(11, 52, 140) 50%, rgb(7, 31, 103) 100%); }
#f6-my-score .table::before { content: ""; position: absolute; z-index: 0; inset: 0px; pointer-events: none; opacity: 0.68; background-image: url("/assets/my-score/reference-00aa33bd9c3e.webp"); background-size: cover; background-position: center 42%; background-repeat: no-repeat; }
#f6-my-score .table > * { position: relative; z-index: 1; }
#f6-my-score .table .player-row, #f6-my-score .table .player-row:nth-child(2n), #f6-my-score .table .player-row:nth-of-type(2n+1) { background: linear-gradient(105deg, rgba(11, 46, 131, 0.69) 0%, rgba(16, 73, 168, 0.71) 62%, rgba(9, 43, 121, 0.69) 100%); }
@media(max-width:600px){#f6-my-score .table::before { z-index: 0; opacity: 0.68; background-size: cover; background-position: center 42%; }}
#f6-my-score .main::after { background-size: 130% auto; background-position: left center; }
#f6-my-score .table::before { background-size: 130% auto; background-position: left center; }
@media(max-width:600px){#f6-my-score .main::after { background-size: 180% auto; background-position: left center; }}
@media(max-width:600px){#f6-my-score .table::before { background-size: 180% auto; background-position: left center; }}
/* Integration of the approved mockup with working disclosures and historical navigation. */
@font-face{font-family:Fanta6PersonalFredoka;src:url('/assets/my-score/Fredoka-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Fanta6PersonalFredoka;src:url('/assets/my-score/Fredoka-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Fanta6PersonalFredoka;src:url('/assets/my-score/Fredoka-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Fanta6PersonalFredoka;src:url('/assets/my-score/Fredoka-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
html[data-ui="user"] body.my-score-redesign{background:#041634!important;color:#fff}
html[data-ui="user"] body.my-score-redesign>main.container{width:100%!important;max-width:1180px!important;padding:40px 20px 28px!important;background:transparent!important}
html[data-ui="user"] body.my-score-redesign{background:#03112f url('/assets/scores/stadium-v5.webp') center top / 100% auto repeat-y!important;background-attachment:scroll!important}
#f6-my-score .goalkeeper-club[hidden]{display:none!important}
#f6-my-score .crumb a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}
#f6-my-score .points-help{font-size:16px!important}
#f6-my-score .history-round-chip{min-height:44px;display:inline-flex;align-items:center}
#f6-my-score .penalty-details>summary{min-height:48px}
@media(max-width:600px){html[data-ui="user"] body.my-score-redesign>main.container{padding:28px 8px 20px!important}#f6-my-score .crumb{line-height:1.4}#f6-my-score .crumb a{font-size:14px}#f6-my-score .filters .filter{font-size:12px}#f6-my-score .club{font-size:14px!important}#f6-my-score .sum-card span{font-size:14px!important}}
#f6-my-score{width:100%;font-family:Fanta6PersonalFredoka,"Lilita One",sans-serif}
#f6-my-score .device{border-radius:18px}
#f6-my-score a{color:#d8e9ff}
#f6-my-score .history-round-switch,#f6-my-score .history-lock-banner,#f6-my-score .official-correction-notice{margin:0 0 14px;padding:12px;border:1px solid #6aa5ff;border-radius:12px;background:#061b46;color:#e4efff}
#f6-my-score .history-round-link{background:#0b3b88;color:#fff;border-color:#6aa5ff}
#f6-my-score .history-round-link.is-active{background:#f8cb50;color:#061b46}
#f6-my-score .history-round-selector{margin:0 0 14px;padding:12px;border:1px solid #6aa5ff;border-radius:12px;background:#061b46!important;color:#e4efff!important}
#f6-my-score .history-round-selector>span,#f6-my-score .history-lock-banner span{color:#cbdfff!important}
#f6-my-score .history-lock-banner strong{color:#ffe28a!important}
#f6-my-score .history-round-chip{background:#0b3b88!important;color:#fff!important;border-color:#6aa5ff!important}
#f6-my-score .history-round-chip.is-active{background:#f8cb50!important;color:#061b46!important}
#f6-my-score .info-chip small{max-width:135px}
#f6-my-score .filter{display:inline-block;cursor:default}
#f6-my-score .status{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;color:#e1edff!important}
#f6-my-score .personal-player{margin:0 0 7px;padding:0;border:0;background:transparent;box-shadow:none;min-width:0}
#f6-my-score .personal-player:last-child{margin-bottom:0}
#f6-my-score .personal-player>summary{cursor:pointer;list-style:none}
#f6-my-score .personal-player>summary::-webkit-details-marker{display:none}
#f6-my-score .personal-player>summary:focus-visible{outline:3px solid #ffdf7a;outline-offset:-4px}
#f6-my-score .personal-player .points{font-size:12px;white-space:normal;line-height:1.25}
#f6-my-score .points>strong{display:block;font:25px/1.15 "Lilita One",sans-serif;color:#65f091;white-space:nowrap}
#f6-my-score .negative .points>strong{color:#ffaaa4}
#f6-my-score .no-match{font-size:12px;color:#d8e9ff}
#f6-my-score .breakdown{margin:4px 0 8px!important;padding:12px 16px 12px 32px!important;background:#061b46!important;border:1px solid #75b4ff;border-radius:12px;font:15px/1.5 Fanta6PersonalFredoka,sans-serif;color:#e4efff;text-align:left;list-style:disc}
#f6-my-score .breakdown li{display:list-item;margin:4px 0}
#f6-my-score .breakdown strong{float:right;margin-left:12px;color:#ffe18a}
#f6-my-score .summary{flex-wrap:wrap;align-items:flex-start}
#f6-my-score .summary>details{margin:0;padding:0;border:0;background:none;box-shadow:none}
#f6-my-score .penalty-details>summary{cursor:pointer;list-style:none}
#f6-my-score .penalty-details ul{padding:12px 24px;max-width:350px;color:#e4efff;background:#061b46;border-radius:12px}
#f6-my-score .overall-total{border-color:#f8cb50}
#f6-my-score .points-help{font-size:12px;color:#c9def8;margin:12px 0 0}
#f6-my-score .score-plus-badge,#f6-my-score .score-burned-badge{display:inline-block;font:11px/1.3 Fanta6PersonalFredoka,sans-serif;margin:4px 4px 0 0;padding:2px 5px;border-radius:5px;color:#061b46;background:#ffdf7a}
#f6-my-score .score-burned-badge{background:#ffc0ba}
#f6-my-score .player-name{overflow-wrap:anywhere}
/* Same-kind cards share the largest natural height; text and badges are never clipped. */
#f6-my-score .table .player-row{min-height:var(--personal-row-height,68px)!important;box-sizing:border-box}
#f6-my-score .summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
#f6-my-score .summary .sum-card{width:100%;min-width:0;min-height:var(--personal-total-height,48px)!important;box-sizing:border-box}
@media(max-width:600px){body.my-score-redesign>main.container{padding:8px!important}#f6-my-score .device{border-radius:12px}#f6-my-score .team-copy h1{white-space:normal;font-size:25px}#f6-my-score .main{padding:12px 8px 17px}#f6-my-score .player-row{grid-template-columns:minmax(0,1fr) 26px 68px!important;gap:5px!important}#f6-my-score .points>strong{font-size:23px}#f6-my-score .player-name{font-size:20px}#f6-my-score .club{display:block;margin:4px 0 0;font-size:11px}#f6-my-score .filters{flex-wrap:wrap}#f6-my-score .filter-group{flex-wrap:wrap}#f6-my-score .summary{display:grid;grid-template-columns:1fr}#f6-my-score .sum-card{min-width:0;width:100%}#f6-my-score .sum-card span{font-size:11px}#f6-my-score .sum-card strong{font-size:24px}#f6-my-score .penalty-details ul{max-width:none}#f6-my-score .breakdown{font-size:14px}#f6-my-score .info-chip small{display:none}}

#f6-my-score,#f6-my-score *{font-family:"Lilita One",sans-serif!important;font-weight:400!important;font-synthesis:none!important}
#f6-my-score .section-title h2::before{content:"";display:inline-block;width:.65em;height:.8em;margin-right:.25em;background:#ffdc67;clip-path:polygon(50% 0,64% 35%,100% 50%,64% 65%,50% 100%,36% 65%,0 50%,36% 35%)}

/* FANTA6 popup typography unification */
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic,
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic :is(
  h2,
  .ui-kicker,
  .reminder-deadline,
  #formation-reminder-countdown,
  .reminder-warning,
  .reminder-submit,
  .reminder-later,
  .reminder-close
){
  font-family:var(--home-display)!important;
}

/* Approved login reminder mockup — October 2026; all existing actions retained. */
@font-face{font-family:F6Popup;src:url('/assets/home/fonts/LilitaOne-Popup.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic{position:relative!important;overflow:hidden!important;border:2px solid #e5bf65!important;border-radius:28px!important;background:radial-gradient(ellipse at 50% 10%,#225995,#081e44 65%)!important;box-shadow:inset 0 2px #fff5,0 7px #041329,0 25px 80px #000a!important;padding:25px 30px 24px!important;text-align:center!important}
html[data-ui="user"] body.home-redesign .reminder-close{position:absolute!important;right:14px!important;top:13px!important;width:35px!important;height:35px!important;border:1px solid #7b9cc1!important;border-radius:50%!important;background:#061a39!important;color:#fff!important;font-size:27px!important;z-index:3!important}
html[data-ui="user"] body.home-redesign .formation-reminder .ui-kicker{color:#cfdef5!important;letter-spacing:1.6px!important;font-size:12px!important}
html[data-ui="user"] body.home-redesign .reminder-scene{height:166px!important;position:relative!important;margin:8px -30px 0!important;background:linear-gradient(#08295866,#061834),url('/assets/home/live-stadium-v2.webp') center 59%/cover!important}
html[data-ui="user"] body.home-redesign .reminder-scene:after{content:''!important;position:absolute!important;bottom:0!important;left:18%!important;right:18%!important;height:17px!important;border-radius:50%!important;background:#021026bb!important;filter:blur(4px)!important}
html[data-ui="user"] body.home-redesign .reminder-scene img{position:relative!important;z-index:1!important;width:100%!important;height:160px!important;object-fit:contain!important;filter:drop-shadow(0 3px 3px #0009)!important}
html[data-ui="user"] body.home-redesign #formation-reminder-title{font-size:36px!important;line-height:1.03!important;color:#ffe59a!important;font-weight:400!important;margin:18px 0!important;text-shadow:0 2px #996d28,0 4px #38280e,0 6px 9px #0008!important}
html[data-ui="user"] body.home-redesign .reminder-time-panel{border:1px solid #638cb8!important;border-radius:15px!important;padding:12px!important;background:linear-gradient(#184679,#0b2b53)!important;box-shadow:inset 0 2px #b0d8ff22!important}
html[data-ui="user"] body.home-redesign .reminder-deadline>span{display:block!important;color:#bcd5ef!important;font-size:13px!important;margin-bottom:5px!important}
html[data-ui="user"] body.home-redesign .reminder-deadline>strong{font-weight:400!important;font-size:24px!important}
html[data-ui="user"] body.home-redesign #formation-reminder-countdown{font-size:21px!important;color:#ffdf81!important;margin:10px 0 0!important}
html[data-ui="user"] body.home-redesign .reminder-warning{font:15px/1.45 Arial,sans-serif!important;color:#e1eaff!important;margin:17px 0!important}
html[data-ui="user"] body.home-redesign .reminder-warning strong{display:block!important;color:#ffe69a!important;font-size:16px!important;margin-top:3px!important}
html[data-ui="user"] body.home-redesign .reminder-submit{width:100%!important;font:24px F6!important;color:#08204b!important;border:1px solid #fff0bc!important;border-radius:14px!important;background:linear-gradient(#fff1ad,#ffd35d 55%,#e5ad36)!important;padding:15px!important;box-shadow:inset 0 3px #fff8,0 4px #95631d!important;text-decoration:none!important;display:block!important}
html[data-ui="user"] body.home-redesign .reminder-later{font:16px F6!important;color:#e0eaff!important;background:#102e55!important;border:1px solid #6b91bf!important;border-radius:12px!important;width:100%!important;padding:12px!important;margin-top:13px!important}
@media(max-width:600px){
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic{padding:21px 19px 20px!important;border-radius:23px!important}
html[data-ui="user"] body.home-redesign .reminder-scene{height:144px!important;margin-left:-19px!important;margin-right:-19px!important}
html[data-ui="user"] body.home-redesign .reminder-scene img{height:140px!important}
html[data-ui="user"] body.home-redesign #formation-reminder-title{font-size:30px!important;margin:14px 0!important}
html[data-ui="user"] body.home-redesign .reminder-deadline>strong{font-size:22px!important}
html[data-ui="user"] body.home-redesign #formation-reminder-countdown{font-size:20px!important}
html[data-ui="user"] body.home-redesign .reminder-warning{font-size:14px!important;margin:14px 0!important}
html[data-ui="user"] body.home-redesign .reminder-submit{font-size:23px!important;padding:14px!important}
html[data-ui="user"] body.home-redesign .reminder-later{font-size:15px!important}
html[data-ui="user"] body.home-redesign .formation-reminder .ui-kicker{font-size:12px!important}
}
html[data-ui="user"] body.home-redesign .formation-reminder-backdrop{padding:18px 15px!important;overflow-y:auto!important;align-items:safe center!important;background:rgba(2,12,36,.78)!important;backdrop-filter:blur(11px)!important}
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic{width:min(550px,100%)!important;max-height:none!important;flex-shrink:0;box-sizing:border-box!important;font-family:F6Popup,sans-serif!important;color:#fff!important;display:block!important}
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic :is(h2,.ui-kicker,.reminder-deadline,#formation-reminder-countdown,.reminder-submit,.reminder-later){font-family:F6Popup,sans-serif!important;font-weight:400!important;letter-spacing:normal!important}
html[data-ui="user"] body.home-redesign .reminder-scene img{position:relative!important;right:auto!important;bottom:auto!important;max-width:none!important;max-height:none!important;transform:none!important}
html[data-ui="user"] body.home-redesign .reminder-deadline{margin:0!important;padding:0!important;border:0!important;background:none!important;color:#fff!important}
html[data-ui="user"] body.home-redesign #formation-reminder-countdown{padding:0!important;border:0!important;background:none!important;line-height:1.2!important}
html[data-ui="user"] body.home-redesign .reminder-submit{margin:0!important;min-height:0!important;text-shadow:none!important;gap:5px!important;line-height:1.2!important}
html[data-ui="user"] body.home-redesign .reminder-submit span{font-size:inherit!important}
html[data-ui="user"] body.home-redesign .reminder-later{min-height:44px!important;text-shadow:none!important;box-shadow:none!important}
html[data-ui="user"] body.home-redesign .reminder-later:hover{background:#204b7a!important;color:#fff!important}
html[data-ui="user"] body.home-redesign .reminder-close{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important;min-height:0!important;box-shadow:none!important}
html[data-ui="user"] body.home-redesign .formation-reminder :is(a,button):focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}

html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic .reminder-warning{font-family:Arial,sans-serif!important;font-weight:400!important;line-height:1.45!important}
html[data-ui="user"] body.home-redesign .formation-reminder.reminder-cinematic .reminder-warning strong{font-family:Arial,sans-serif!important;font-weight:700!important}

html[data-ui="user"] body.home-redesign #formation-reminder .formation-reminder,
html[data-ui="user"] body.home-redesign #formation-reminder .formation-reminder *{font-family:F6Popup,sans-serif!important;font-weight:400!important;font-synthesis:none!important}
html[data-ui="user"] body.home-redesign #formation-reminder #reminder-warning,
html[data-ui="user"] body.home-redesign #formation-reminder #reminder-warning strong{font-family:F6Popup,sans-serif!important;font-weight:400!important}
html[data-ui="user"] body.home-redesign #formation-reminder #reminder-warning{font-size:16px!important;line-height:1.45!important}
html[data-ui="user"] body.home-redesign #formation-reminder #formation-reminder-close{font-family:F6Popup,sans-serif!important;font-weight:400!important}

/* Preview only. Canonical Home logo, existing F6Popup font file and blue/gold components. */
html[data-ui="user"] body.home-redesign #formation-reminder{z-index:1000!important;padding:16px!important;overflow:hidden!important;align-items:center!important}
html[data-ui="user"] body.home-redesign #formation-reminder .formation-reminder{width:min(520px,100%)!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overscroll-behavior:contain;padding:20px 24px!important;border:1px solid #51cfff!important;border-radius:24px!important;background:linear-gradient(145deg,#103a77,#071b3d 72%)!important;box-shadow:inset 0 3px #ffffff20,0 16px 60px #0009!important;scrollbar-width:thin;scrollbar-color:#ffd453 #071b3d}
html[data-ui="user"] body.home-redesign #formation-reminder .f6-popup-brand{display:flex;justify-content:center;margin:-20px -24px 14px;padding:14px 64px 10px;background:linear-gradient(110deg,#123b8a,#06142c);border-bottom:1px solid #32c8ff}
html[data-ui="user"] body.home-redesign #formation-reminder .f6-popup-brand img{display:block;width:160px;height:88px;object-fit:contain}
html[data-ui="user"] body.home-redesign #formation-reminder .reminder-close{width:44px!important;height:44px!important;right:10px!important;top:10px!important;border-color:#51cfff!important;font-size:28px!important}
html[data-ui="user"] body.home-redesign #formation-reminder .reminder-scene{height:100px!important;margin:10px 0 0!important;border-radius:14px!important}
html[data-ui="user"] body.home-redesign #formation-reminder .reminder-scene img{height:100px!important;object-fit:contain!important}
html[data-ui="user"] body.home-redesign #formation-reminder #formation-reminder-title{font-size:32px!important;line-height:1.08!important;margin:14px 0!important;color:#ffd453!important}
html[data-ui="user"] body.home-redesign #formation-reminder .reminder-time-panel{border-color:#32c8ff!important;border-radius:14px!important;padding:12px!important;background:linear-gradient(120deg,#123d72,#082044)!important}
html[data-ui="user"] body.home-redesign #formation-reminder .reminder-submit{font-size:22px!important;min-height:48px!important;padding:12px!important;border-radius:12px!important}
html[data-ui="user"] body.home-redesign #formation-reminder .reminder-later{font-size:17px!important;min-height:48px!important;padding:12px!important}
@media(max-width:600px){
 html[data-ui="user"] body.home-redesign #formation-reminder{padding:10px!important}
 html[data-ui="user"] body.home-redesign #formation-reminder .formation-reminder{padding:16px!important;max-height:calc(100dvh - 20px)!important;border-radius:20px!important}
 html[data-ui="user"] body.home-redesign #formation-reminder .f6-popup-brand{margin:-16px -16px 12px;padding:10px 56px}
 html[data-ui="user"] body.home-redesign #formation-reminder .f6-popup-brand img{width:140px;height:76px}
 html[data-ui="user"] body.home-redesign #formation-reminder #formation-reminder-title{font-size:28px!important;margin:12px 0!important}
 html[data-ui="user"] body.home-redesign #formation-reminder .reminder-scene,html[data-ui="user"] body.home-redesign #formation-reminder .reminder-scene img{height:84px!important}
}

html[data-ui="user"] body.home-redesign.has-reminder>main.container{position:relative!important;z-index:1001!important}

/* Scoped to /used. Canonical assets and palette from approved Home/Archivio/Quadro. */
@font-face{font-family:'Lilita One';src:url('/assets/home/fonts/LilitaOne-Regular.ttf');font-weight:400;font-style:normal;font-display:swap}
html[data-ui="user"] body:has(#f6-used){padding:0!important;margin:0!important;background:#04132e!important}
body:has(#f6-used)>header,body:has(#f6-used)>.f6-global-footer,body:has(#f6-used)::before,body:has(#f6-used)::after{display:none!important}
body:has(#f6-used)>main.container{display:contents!important}
#f6-used,#f6-used *{box-sizing:border-box!important;letter-spacing:normal!important}#f6-used{font-family:Fanta6Reading,sans-serif;font-weight:400}#f6-used :is(h1,h2,h3,.ui-kicker,.button,.used-home-link,.used-search-copy>strong,.used-role-badge){font-family:'Lilita One',sans-serif;font-weight:400}
#f6-used{display:block!important;width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0 0 40px!important;color:#f6f9ff!important;background:linear-gradient(#04132e66,#04132ef5 900px),url('/assets/scores/stadium-v5.webp') center 84px/cover fixed!important;line-height:1.45!important}
#f6-used .used-brand-header{height:84px;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1180px)/2));background:linear-gradient(100deg,#0b2b66,#020d24);border-bottom:1px solid #2989c1;margin-bottom:28px}
#f6-used .used-brand-header img{width:158px;height:105px;object-fit:contain;display:block}
#f6-used a{color:inherit;text-decoration:none}
#f6-used .used-home-link{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #428dba;border-radius:30px;padding:10px 25px;font-size:17px}
#f6-used>section,#f6-used>.used-player-grid{max-width:1180px!important;width:calc(100% - 48px)!important;margin:0 auto 24px!important}
#f6-used .user-section-hero{display:block!important;padding:20px 0 12px!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important}
#f6-used .section-hero-emblem{display:none!important}
#f6-used .ui-kicker{font-size:14px!important;line-height:1.5!important;color:#b9d8f8!important;display:block!important;margin:0 0 8px!important}
#f6-used h1{font-size:48px!important;line-height:1.12!important;color:#ffd24a!important;margin:0 0 12px!important;text-shadow:0 3px #06102c!important;overflow-wrap:anywhere}
#f6-used .user-section-hero p{font-size:20px!important;color:#e5effe!important;margin:0!important;overflow-wrap:anywhere}
#f6-used .used-search-panel{display:block!important;padding:24px!important;border:1.5px solid #24ccff!important;border-radius:22px!important;background:linear-gradient(130deg,#0c3b76f5,#061b40fc)!important;box-shadow:inset 0 0 0 3px #0e447b,0 8px 24px #0003!important}
#f6-used .used-search-copy>strong{display:block!important;color:#ffe270!important;font-size:25px!important;line-height:1.3!important}
#f6-used .used-search-copy p{color:#d7e6f8!important;font-size:16px!important;line-height:1.5!important;margin:8px 0 18px!important}
#f6-used .used-search-form{display:block!important;margin:0!important}
#f6-used label{display:block!important;font-size:16px!important;color:#e5effe!important;margin:0 0 8px!important}
#f6-used .used-search-controls{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;gap:12px!important}
#f6-used input{width:100%!important;min-width:0!important;min-height:52px!important;padding:12px 16px!important;background:#041a3a!important;border:1px solid #5db9ef!important;border-radius:12px!important;color:#fff!important;font-size:18px!important;line-height:1.4!important;box-shadow:none!important}
#f6-used input::placeholder{color:#b9d8f8!important;opacity:1}
#f6-used .button{min-height:52px!important;padding:12px 18px!important;border:1px solid #ffef96!important;border-radius:12px!important;background:linear-gradient(#ffe977,#ffca32)!important;box-shadow:0 3px #a9690c!important;color:#072958!important;font-size:18px!important;line-height:1.4!important}
#f6-used small{display:block!important;font-size:14px!important;margin-top:12px!important;color:#ffda67!important}
#f6-used .used-search-results{margin-top:24px!important;display:grid!important;gap:12px!important}
#f6-used .used-search-results-head{display:flex!important;justify-content:space-between!important;gap:12px!important;color:#ffe270!important;font-size:18px!important;padding-bottom:10px!important;border-bottom:1px solid #428dba!important}
#f6-used .used-search-results-head>span{background:#103863!important;color:#ffe270!important;border:1px solid #428dba!important;border-radius:999px!important;padding:4px 12px!important}
#f6-used .used-search-result{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;padding:16px!important;border:1px solid #428dba!important;border-radius:12px!important;background:#061b40!important;box-shadow:none!important}
#f6-used .used-search-main{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
#f6-used .used-search-main>div{min-width:0!important}
#f6-used .used-search-main strong{display:block!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:19px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
#f6-used .used-search-main span:not(.used-role-badge){display:block!important;font-size:16px!important;color:#b9d8f8!important;overflow-wrap:anywhere!important}
#f6-used .used-role-badge{display:grid!important;place-items:center!important;flex-shrink:0!important;width:42px!important;height:42px!important;border:1px solid #5db9ef!important;border-radius:10px!important;background:#103863!important;color:#ffe270!important;font-size:19px!important}
#f6-used .used-search-status{flex-shrink:0!important;max-width:45%!important;text-align:right!important;font-size:16px!important}
#f6-used .used-search-status strong,#f6-used .used-search-status span{display:block!important;overflow-wrap:anywhere!important}
#f6-used .is-used .used-search-status strong{color:#ffda67!important}
#f6-used .is-free .used-search-status strong{color:#b8f6d8!important}
#f6-used .used-search-status span{color:#d7e6f8!important;font-size:14px!important;margin-top:4px!important}
#f6-used .used-search-empty,#f6-used .empty-folk-card{padding:24px!important;border:1px solid #428dba!important;border-radius:12px!important;background:#061b40!important;color:#e5effe!important;font-size:18px!important;overflow-wrap:anywhere!important}
#f6-used .used-summary{display:flex!important;align-items:center!important;gap:16px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#f6-used .used-summary>strong{color:#ffd24a!important;font-size:40px!important;line-height:1.1!important}
#f6-used .used-summary>span{font-size:16px!important;line-height:1.5!important;color:#d7e6f8!important}
#f6-used .used-player-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
#f6-used .used-player-card{display:block!important;min-width:0!important;padding:20px!important;border:1px solid #24ccff!important;border-radius:18px!important;background:linear-gradient(130deg,#0c3b76f5,#061b40fc)!important;box-shadow:inset 0 0 0 2px #0e447b,0 6px 20px #0003!important}
#f6-used .used-player-name{display:flex!important;align-items:flex-start!important;gap:10px!important;font-size:21px!important;line-height:1.35!important;min-height:57px!important;padding:0 0 14px!important;border-bottom:1px solid #315d8a!important}
#f6-used .used-player-name strong{color:#fff!important;overflow-wrap:anywhere!important;min-width:0!important}
#f6-used .used-player-name>span{font-size:18px!important;flex-shrink:0!important}
#f6-used .used-player-meta{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;gap:14px!important;margin-top:14px!important}
#f6-used .used-player-meta>div{display:block!important;min-width:0!important;background:none!important;border:0!important;padding:0!important}
#f6-used .used-player-meta span{display:block!important;font-size:14px!important;line-height:1.5!important;color:#b9d8f8!important;margin-bottom:3px!important}
#f6-used .used-player-meta strong{display:block!important;font-size:17px!important;line-height:1.4!important;color:#fff!important;overflow-wrap:anywhere!important}
#f6-used .used-player-meta>div:first-child strong{color:#ffda67!important}
#f6-used .used-round{grid-column:1/-1!important}
#f6-used .empty-folk-card strong,#f6-used .empty-folk-card span{display:block!important;font-size:18px!important;line-height:1.5!important}
#f6-used .empty-folk-card span{color:#b9d8f8!important;margin-top:8px!important}
#f6-used :is(input,button,a):focus-visible{outline:3px solid #fff!important;outline-offset:4px!important}
@media(max-width:900px){#f6-used .used-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){
 #f6-used{background-size:auto 1000px!important;background-attachment:scroll!important}
 #f6-used .used-brand-header{height:70px;padding:0 16px;margin-bottom:18px}
 #f6-used .used-brand-header img{width:114px;height:78px}
 #f6-used .used-home-link{font-size:16px;padding:10px 20px;min-height:44px}
 #f6-used>section,#f6-used>.used-player-grid{width:calc(100% - 32px)!important;margin-bottom:20px!important}
 #f6-used h1{font-size:34px!important;line-height:1.15!important}
 #f6-used .user-section-hero{padding:12px 0 4px!important}
 #f6-used .user-section-hero p{font-size:18px!important}
 #f6-used .used-search-panel{padding:20px 16px!important;border-radius:18px!important}
 #f6-used .used-search-controls{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 #f6-used .used-search-result{flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:14px!important}
 #f6-used .used-search-status{max-width:100%!important;text-align:left!important;border-top:1px solid #315d8a!important;padding-top:12px!important}
 #f6-used .used-player-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 #f6-used .used-player-name{min-height:0!important}
 #f6-used .used-player-meta{grid-template-columns:54px minmax(0,1fr)!important}
 #f6-used .used-summary>strong{font-size:34px!important}
}

/* Additive controls only: retain the approved editorial cards and reader. */
.editorial-shell .editorial-browse-tools{margin:16px 0;padding:16px;border:1px solid var(--f6-line,#b8c7da);border-radius:16px;background:var(--f6-paper,#fff);color:var(--f6-ink,#142747)}
.editorial-shell .editorial-search{display:grid;gap:8px;min-width:0}
.editorial-shell .editorial-search label{font-weight:bold}
.editorial-shell .editorial-search>div{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.editorial-shell .editorial-search input[type="search"]{flex:1 1 180px;min-width:0;width:100%;min-height:44px;font-size:16px;color:#142747;-webkit-text-fill-color:#142747;background:#fff}
.editorial-shell .editorial-search button,.editorial-shell .editorial-browse-links a,.editorial-shell .editorial-pagination a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;text-align:center}
.editorial-shell .editorial-browse-links,.editorial-shell .editorial-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.editorial-shell .editorial-browse-tools p{overflow-wrap:anywhere}
.editorial-shell .editorial-pagination{justify-content:center;margin-bottom:24px}
.editorial-shell .editorial-search input:focus-visible,.editorial-shell .editorial-search button:focus-visible,.editorial-shell .editorial-browse-links a:focus-visible,.editorial-shell .editorial-pagination a:focus-visible{outline:3px solid #0868ac;outline-offset:3px}
@media(min-width:760px){.editorial-shell .editorial-search{max-width:620px}}

#f6-formation .formation-tutorial-link{display:inline-flex;align-items:center;gap:8px;margin:10px 0;color:#ffe371;font-family:"Lilita One",sans-serif;font-size:16px;text-decoration:underline;text-underline-offset:4px}
#f6-formation .formation-tutorial-link:focus-visible{outline:3px solid #ffe371;outline-offset:4px}

/* Formation cards and summary only. Hero, avatar and delivery controls unchanged. */
body.formation-redesign #f6-formation#f6-formation :is(.formation-slot,.formation-summary-row).role-p {--role:#278aff!important;--role-end:#1254bc!important}
body.formation-redesign #f6-formation#f6-formation :is(.formation-slot,.formation-summary-row).role-d {--role:#11b875!important;--role-end:#067c4d!important}
body.formation-redesign #f6-formation#f6-formation :is(.formation-slot,.formation-summary-row).role-c {--role:#19d5e5!important;--role-end:#087f99!important}
body.formation-redesign #f6-formation#f6-formation :is(.formation-slot,.formation-summary-row).role-a {--role:#ffd328!important;--role-end:#ffb600!important}
body.formation-redesign #f6-formation#f6-formation :is(.formation-role-badge,.formation-slot-number,.formation-summary-role) {background:var(--role)!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot {height:auto!important;min-height:0!important;gap:10px!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot-head {margin-bottom:0!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot-preview {min-height:44px!important;margin-top:0!important;overflow:visible!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot-preview strong {font-size:22px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot-preview > span {font-size:16px!important;line-height:1.3!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere!important;margin-top:5px!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot:not(.has-player) .formation-slot-preview strong {font-size:16px!important;color:#c9e4ff!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot:not(.has-player) .formation-slot-preview > span {display:none!important}
body.formation-redesign #f6-formation#f6-formation .formation-summary-row {align-items:start!important;gap:10px!important;padding:10px 0!important;min-width:0!important}
body.formation-redesign #f6-formation#f6-formation .formation-summary-row>div {min-width:0!important}
body.formation-redesign #f6-formation#f6-formation .formation-summary-row strong {font-size:20px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation#f6-formation .formation-summary-row small {font-size:14px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.formation-redesign #f6-formation#f6-formation .formation-summary-row:not(.has-player) strong {font-size:15px!important;color:#c9e4ff!important}
body.formation-redesign #f6-formation#f6-formation .formation-summary-row:not(.has-player) small {display:none!important}
@media(max-width:700px) {
 body.formation-redesign #f6-formation#f6-formation .formation-slot {min-height:0!important}
 body.formation-redesign #f6-formation#f6-formation .formation-slot-preview strong {font-size:20px!important}
 body.formation-redesign #f6-formation#f6-formation .formation-slot:not(.has-player) .formation-slot-preview strong {font-size:16px!important}
 body.formation-redesign #f6-formation#f6-formation .formation-summary-row strong {font-size:19px!important}
 body.formation-redesign #f6-formation#f6-formation .formation-summary-row:not(.has-player) strong {font-size:15px!important}
}


body.formation-redesign #f6-formation#f6-formation :is(.formation-slot,.formation-summary-row){--role-end:var(--role)!important}
body.formation-redesign #f6-formation#f6-formation :is(.formation-role-badge,.formation-slot-number,.formation-summary-role){color:#04152c!important;text-shadow:none!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot{border-color:var(--role)!important}
body.formation-redesign #f6-formation#f6-formation .formation-slot-preview{flex:none!important;padding-bottom:0!important}

body.formation-redesign #f6-formation#f6-formation :is(.formation-player-search,.f6-choice-trigger){min-height:44px!important}

/* Preserve approved used-page foreground in empty states. */
#f6-used .empty-folk-card strong,#f6-used .used-search-empty strong{color:#e5effe!important}
/* Restore the existing prematch badge dimensions; the general display rule
   otherwise enlarges the five-letter ADMIN label beyond its own panel. */
.prematch-hero.admin .prematch-hero-mark{font-size:1.55rem!important}
@media(max-width:760px){.prematch-hero.admin .prematch-hero-mark{font-size:1rem!important}}
.phase-standings-shell .table-scroll :is(th,td,td strong){white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media(max-width:600px){html[data-shared-consultation] body.scores-redesign #f6-scores .score-column-headings th:first-child{font-size:9px!important}}

/* Avviso archivio: testo leggibile sul fondo navy, senza alterare altri avvisi. */
html[data-ui="user"] .archive-history-note{color:#eaf3ff!important;background:#102a49!important;border-color:#719bc5!important}
