:root {
  --foti-navy: #081022;
  --foti-navy-2: #0d1730;
  --foti-gold: #ddb657;
  --foti-gold-light: #f0cf7a;
  --foti-ivory: #f3f0e8;
  --foti-ink: #111827;
}

.public-top .user a {
  color: var(--foti-gold-light) !important;
  border-color: #ddb65766 !important;
}

.public-hero > div:first-child > span {
  color: var(--foti-gold-light) !important;
  border-left-color: var(--foti-gold) !important;
  background: #ddb65714 !important;
}

.public-hero > div:first-child > a {
  background: var(--foti-gold) !important;
  color: #0b1120 !important;
  box-shadow: 0 10px 35px #ddb65730 !important;
}

.cruise-badge small,
.hero-countdown > small {
  color: var(--foti-gold-light) !important;
}

.ticker {
  background: var(--foti-gold) !important;
  color: #0b1120 !important;
}

.monthly-card small { color: #69511c !important; }
.monthly-card p { color: #59451a !important; }

.leader-avatar,
.schedule-cols h3 b {
  background: var(--foti-gold) !important;
  color: #0a1020 !important;
  box-shadow: 0 0 40px #ddb6572b !important;
}

.leader-card b { color: var(--foti-gold-light) !important; }
.public-section-kicker { color: #9a721e !important; }

.public-schedule > div > h2 {
  color: var(--foti-ink) !important;
  text-shadow: none !important;
}

.schedule-list summary em,
.schedule-matches strong { color: var(--foti-gold-light) !important; }

.schedule-cols > section {
  background: var(--foti-navy) !important;
  border-color: #253252 !important;
}

.schedule-list details {
  background: #0b1429 !important;
  border-color: #263453 !important;
}

.public-rankings .public-section-kicker { color: #9a721e !important; }
.prize-history span { color: #80601b !important; }

.public-cards {
  grid-template-columns: 1.35fr .65fr .85fr .65fr !important;
}

.latest-result-card {
  align-items: center;
  text-align: center;
  background: linear-gradient(155deg, #172441, #081022) !important;
  border-color: #ddb65755 !important;
}

.latest-result-league {
  margin-top: 18px;
  color: var(--foti-gold-light);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.latest-result-score {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 18px 0 13px;
}

.latest-result-score span {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.latest-result-score strong {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--foti-gold);
  color: #0a1020;
  font: 900 25px/1 Arial,sans-serif;
  box-shadow: 0 8px 24px #0005;
}

.latest-result-score i {
  font-style: normal;
  opacity: .5;
}

.latest-result-card time {
  color: #8f9ab0;
  font-size: 9px;
  font-weight: 800;
}

.latest-result-card h3 {
  margin: 20px 0 8px;
  color: #fff;
  font: 22px Georgia,serif;
}

.latest-result-card p {
  color: #98a1b4;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .public-cards { grid-template-columns: 1fr 1fr !important; }
  .public-cards .monthly-card { grid-column: 1 / -1 !important; }
}

@media (max-width: 600px) {
  .public-cards { grid-template-columns: 1fr !important; }
  .public-cards .monthly-card { grid-column: auto !important; }
}

.public-player-link { color: inherit; text-decoration: none; }
.public-player-link:hover { color: #9a721e; text-decoration: underline; }
.public-profile-top { position:relative!important;background:#060b18!important; }
.public-profile-page { min-height:calc(100vh - 140px);padding:55px 24px;background:linear-gradient(145deg,#081022,#101b35);color:#fff; }
.public-profile-card { width:min(920px,100%);margin:auto;padding:38px;border:1px solid #283758;border-radius:16px;background:#0b1429;box-shadow:0 30px 80px #0005; }
.public-profile-card>small { color:var(--foti-gold-light);font-size:9px;font-weight:900;letter-spacing:.18em; }
.public-profile-card h1 { margin:14px 0 28px;font:48px Georgia,serif;color:#fff; }
.public-profile-card h2 { margin:38px 0 15px;font:27px Georgia,serif;color:#fff; }
.public-player-stats { display:grid;grid-template-columns:repeat(4,1fr);gap:10px; }
.public-player-stats article { padding:20px;border:1px solid #293756;border-radius:10px;background:#101b35;text-align:center; }
.public-player-stats b { display:block;color:var(--foti-gold-light);font:35px Georgia,serif; }
.public-player-stats span { display:block;margin-top:6px;color:#929db4;font-size:9px;font-weight:800;text-transform:uppercase; }
.public-player-history article { display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid #263451; }
.public-player-history>article>span { color:var(--foti-gold-light);font:20px Georgia,serif; }
.public-player-history b { color:#fff; }
.public-player-history small { display:block;margin-top:5px;color:#8994aa;font-size:9px; }
.public-player-history strong { color:var(--foti-gold-light); }
@media(max-width:600px){.public-profile-card{padding:24px 18px}.public-profile-card h1{font-size:36px}.public-player-stats{grid-template-columns:1fr 1fr}.public-player-history article{grid-template-columns:54px 1fr auto}}
.public-awards,.public-qr{width:min(1150px,calc(100% - 36px));margin:55px auto;padding:35px;border-radius:16px;background:#07152f;color:#fff;box-shadow:0 25px 65px #07152f33}.public-awards>div:first-child>span,.public-qr span{color:var(--foti-gold-light);font-size:9px;font-weight:900;letter-spacing:.18em}.public-awards h2,.public-qr h2{margin:9px 0 7px;color:#fff;font:36px Georgia,serif}.public-awards>div>p,.public-qr p{color:#a5b0c4}.award-races{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.award-races article{padding:24px;border:1px solid #293a5d;border-radius:11px;background:#0c1d3e}.award-races small{color:#e9bd5b;font-weight:900;letter-spacing:.15em}.award-races h3{margin:8px 0 18px;font:24px Georgia,serif}.award-races p{display:grid;grid-template-columns:30px 1fr auto;gap:10px;padding:10px 0;margin:0;border-bottom:1px solid #273a60}.award-races p b,.award-races p strong{color:#edc566}.public-qr{display:flex;align-items:center;gap:30px;background:linear-gradient(135deg,#0a2858,#07152f)}.public-qr img{width:180px;border:10px solid #fff;border-radius:10px}.public-qr a{display:inline-block;margin-top:10px;color:#f0c768;font-weight:900;text-decoration:none}@media(max-width:650px){.award-races{grid-template-columns:1fr}.public-awards,.public-qr{padding:24px}.public-qr{flex-direction:column;text-align:center}.public-awards h2,.public-qr h2{font-size:29px}}
.prizes-hub{position:relative;z-index:8;width:min(1240px,calc(100% - 48px));margin:55px auto 25px;padding:38px;border:1px solid #283556;border-radius:18px;background:linear-gradient(145deg,#0d1935,#071126);box-sizing:border-box;box-shadow:0 30px 75px #0006;color:#fff}.prizes-hub>header span{color:#dbff3f;font-size:9px;font-weight:950;letter-spacing:.2em}.prizes-hub>header h2{margin:10px 0 8px;color:#fff;font:44px Georgia,serif}.prizes-hub>header p{margin:0;color:#9da9be}.prize-showcase{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:28px}.prize-feature-card{position:relative;display:flex;min-height:220px;padding:22px;box-sizing:border-box;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid #304166;border-radius:12px;background:linear-gradient(155deg,#14274d,#09142b)!important;color:#fff!important}.prize-feature-card:before{content:'★';position:absolute;right:15px;top:8px;color:#e9bd5b22;font-size:70px}.prize-feature-card small{position:relative;color:#dbff3f!important;font-size:8px!important;font-weight:950;letter-spacing:.14em}.prize-feature-card h2,.prize-feature-card h3{position:relative;margin:9px 0 6px!important;color:#f1c86e!important;font:25px Georgia,serif!important}.prize-feature-card p{position:relative;margin:0;color:#a8b1c2!important;font-size:10px!important;line-height:1.45}.prize-feature-card strong{position:relative;margin-top:14px;color:#fff!important;font-size:11px!important}.prizes-hub .monthly-card{background:linear-gradient(145deg,#d5a74c,#f0d48a)!important;border:0!important;color:#0c1528!important}.prizes-hub .monthly-card small,.prizes-hub .monthly-card h2,.prizes-hub .monthly-card p,.prizes-hub .monthly-card strong{color:#111a2d!important}.prizes-hub .award-races{margin-top:14px}.public-cards{grid-template-columns:repeat(3,1fr)!important;margin-top:25px!important}@media(max-width:1050px){.prize-showcase{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.prizes-hub{width:calc(100% - 22px);padding:24px 16px}.prizes-hub>header h2{font-size:34px}.prize-showcase{grid-template-columns:1fr}.prize-feature-card{min-height:185px}.public-cards{grid-template-columns:1fr!important}}
.public-hero>div:first-child{width:min(850px,90vw)!important}
.prize-winners{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.prize-winners>article{padding:24px;border:1px solid #304166;border-radius:12px;background:#09142b}.prize-winners>article>small{color:#dbff3f;font-size:8px;font-weight:950;letter-spacing:.16em}.prize-winners h3{margin:8px 0 16px;color:#f1c86e;font:25px Georgia,serif}.prize-winners [data-weekly-winners],.prize-winners [data-monthly-winners]{display:grid}.prize-winners p{display:grid;grid-template-columns:150px 1fr auto;align-items:center;gap:12px;margin:0;padding:11px 0;border-bottom:1px solid #253657}.prize-winners p span{color:#9ba7bc;font-size:9px;text-transform:uppercase}.prize-winners p b{color:#fff}.prize-winners p small{color:#e9bd5b;font-size:9px;font-weight:800}.prize-winners em{color:#9ba7bc;font-size:11px}@media(max-width:700px){.prize-winners{grid-template-columns:1fr}.prize-winners p{grid-template-columns:1fr;gap:4px}}

/* Leggibilità front office: dimensioni minime reali, non micro-testi */
.public-hero>div:first-child>span{font-size:13px!important}.public-hero p{font-size:19px!important}.hero-countdown>small{font-size:11px!important}.hero-countdown span{min-width:78px!important}.hero-countdown span b{font-size:21px!important}.hero-countdown span small{font-size:8px!important}.public-hero>div:first-child>a{font-size:12px!important}.ticker{font-size:12px!important;min-height:54px!important}
.prizes-hub{padding:45px!important}.prizes-hub>header span{font-size:11px!important}.prizes-hub>header p{font-size:15px;line-height:1.5}.prize-showcase{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important}.prize-feature-card{grid-column:span 2;min-height:245px!important;padding:27px!important}.prize-feature-card:nth-child(4){grid-column:2/span 2}.prize-feature-card:nth-child(5){grid-column:4/span 2}.prize-feature-card small{font-size:10px!important;line-height:1.35}.prize-feature-card h2,.prize-feature-card h3{font-size:30px!important;line-height:1.05!important}.prize-feature-card p{font-size:13px!important;line-height:1.55!important}.prize-feature-card strong{font-size:14px!important}.prize-feature-card:before{font-size:80px!important}
.award-races{gap:18px!important;margin-top:18px!important}.award-races article{padding:28px!important}.award-races small{font-size:10px!important}.award-races h3{font-size:29px!important}.award-races p{grid-template-columns:38px 1fr auto!important;padding:14px 0!important;font-size:14px}.award-races em{font-size:14px;line-height:1.5}.prize-winners{gap:18px!important;margin-top:18px!important}.prize-winners>article{padding:28px!important}.prize-winners>article>small{font-size:10px!important}.prize-winners h3{font-size:29px!important}.prize-winners p{grid-template-columns:145px 1fr auto!important;padding:15px 0!important}.prize-winners p span,.prize-winners p small{font-size:11px!important}.prize-winners p b{font-size:14px!important}.prize-winners em{font-size:14px!important}
.public-cards article{min-height:290px!important;padding:34px!important}.public-cards article>small{font-size:10px!important}.leader-card h3,.next-card h3,.latest-result-card h3{font-size:30px!important}.leader-card b,.latest-mvp-points{font-size:13px!important}.latest-result-card p,.latest-mvp-round{font-size:11px!important}.next-card p{font-size:14px!important}.next-card span{font-size:11px!important}.next-card-countdown>small{font-size:9px!important}.next-card-countdown>div span b{font-size:20px!important}.next-card-countdown>div span small{font-size:7px!important}.next-card-countdown>time{font-size:10px!important}
.public-section-kicker{font-size:11px!important}.schedule-cols>section{padding:30px!important}.schedule-cols h3{font-size:28px!important}.schedule-list summary{grid-template-columns:65px 1fr auto!important;padding:19px!important}.schedule-list summary>span{font-size:26px!important}.schedule-list summary b{font-size:14px!important}.schedule-list summary small{font-size:10px!important;line-height:1.45}.schedule-matches>div{padding:14px 0!important}.schedule-matches small{font-size:10px!important}.schedule-matches b{font-size:14px!important}
.public-rankings .panel,.public-wrap>.panel{padding:34px!important}.public-rankings .panel h2,.public-wrap>.panel h2{font-size:32px!important}.public-rankings .ranking>div{padding:15px 0!important}.public-rankings .ranking b{font-size:14px!important}.public-rankings .ranking small{font-size:10px!important;line-height:1.45}.public-rankings .ranking strong{font-size:25px!important}.public-rankings .ranking strong small{font-size:9px!important}.public-rankings .month-picker select{min-height:42px;font-size:12px!important}.public-qr span{font-size:11px!important}.public-qr p{font-size:13px!important}.public-qr a{font-size:13px!important}body:has(.public-wrap)>footer{font-size:10px!important}
@media(max-width:1050px){.prize-showcase{grid-template-columns:1fr 1fr!important}.prize-feature-card,.prize-feature-card:nth-child(4),.prize-feature-card:nth-child(5){grid-column:auto!important}.prize-feature-card:last-child{grid-column:1/-1!important}}
@media(max-width:700px){.public-hero>div:first-child>span{font-size:10px!important}.public-hero p{font-size:16px!important}.ticker{font-size:10px!important}.prizes-hub{padding:26px 18px!important}.prize-showcase{grid-template-columns:1fr!important}.prize-feature-card,.prize-feature-card:last-child{grid-column:auto!important;min-height:205px!important}.award-races,.prize-winners{grid-template-columns:1fr!important}.prize-winners p{grid-template-columns:1fr!important}.public-cards article{min-height:240px!important}.schedule-cols>section{padding:19px!important}.public-rankings .panel,.public-wrap>.panel{padding:22px!important}}
.public-top .user{display:flex!important;align-items:center;gap:10px}.public-top .rules-nav-link{background:#f0c568!important;color:#081226!important;border-color:#f0c568!important}.public-hero-actions{display:flex;align-items:center;gap:12px;margin-top:29px}.public-hero-actions>a{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:16px 21px!important;border-radius:6px!important;font-size:12px!important;font-weight:950;letter-spacing:.1em;text-decoration:none;text-transform:uppercase}.public-hero-actions>a:first-child{background:#dbff3f!important;color:#090d18!important;box-shadow:0 10px 35px #dbff3f24}.public-hero-actions .hero-rules-btn{border:1px solid #f0c568!important;background:#f0c568!important;color:#081226!important;box-shadow:0 10px 35px #f0c56825}.public-hero-actions .hero-rules-btn:hover{transform:translateY(-2px);background:#ffdc87!important}.hero-rules-btn span{font-size:15px}@media(max-width:600px){.public-top .rules-nav-link{display:none!important}.public-hero-actions{align-items:stretch;flex-direction:column;width:min(330px,100%)}.public-hero-actions>a{width:100%;min-height:50px}}

/* Versione 56: premi di stagione e statistiche pubbliche */
.season-prizes .prize-showcase{grid-template-columns:repeat(4,minmax(0,1fr))!important}.season-prizes .prize-feature-card{min-height:205px!important}.single-ranking{grid-template-columns:1fr!important}.single-ranking>.panel{width:100%!important;box-sizing:border-box}.league-statistics{width:min(1240px,calc(100% - 48px));margin:25px auto 55px;padding:36px;box-sizing:border-box;border:1px solid #d7e2eb;border-radius:16px;background:#fff;color:#17243a;box-shadow:0 18px 48px #173a6014}.league-statistics>header span{color:#94660d;font-size:9px;font-weight:950;letter-spacing:.18em}.league-statistics>header h2{margin:9px 0 6px;color:#173b60;font:38px Georgia,serif}.league-statistics>header p{margin:0;color:#65788b;font-size:13px}.stats-leaders{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:26px 0}.stats-leaders article{display:grid;min-height:120px;padding:19px;box-sizing:border-box;border:1px solid #cbddea;border-radius:11px;background:linear-gradient(145deg,#eef7ff,#dfeefb)}.stats-leaders small{color:#1763a8;font-size:8px;font-weight:950;letter-spacing:.12em}.stats-leaders b{align-self:end;color:#173b60;font:21px Georgia,serif}.stats-leaders strong{margin-top:7px;color:#94660d;font-size:22px}.stats-leaders i{font:800 8px Arial,sans-serif;letter-spacing:.1em}.stats-table{overflow:auto;border:1px solid #dce5ec;border-radius:10px}.stats-head,.stats-rows>a{display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(7,minmax(74px,.7fr));align-items:center;min-width:850px}.stats-head{padding:12px 14px;background:#173b60;color:#fff;font-size:8px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.stats-head span:not(:first-child){text-align:center}.stats-rows>a{padding:13px 14px;border-bottom:1px solid #e2e9ef;color:#24364a;text-decoration:none}.stats-rows>a:hover{background:#f1f7fc}.stats-rows>a>b{display:flex;align-items:center;gap:10px;font-size:13px}.stats-rows>a>b i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e8b94f;color:#142238;font-style:normal;font-size:10px}.stats-rows>a>strong,.stats-rows>a>span{text-align:center;font-size:12px}.stats-rows>a>strong{color:#173b60;font-size:18px}.stats-rows>a>span small{display:block;margin-top:3px;color:#7e8d9b;font-size:8px}.public-cards:not(:has(.monthly-card)){grid-template-columns:repeat(3,1fr)!important}.public-cards:not(:has(.monthly-card)) article{min-height:225px!important}
@media(max-width:900px){.season-prizes .prize-showcase,.stats-leaders{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:600px){.season-prizes .prize-showcase,.stats-leaders{grid-template-columns:1fr!important}.league-statistics{width:calc(100% - 22px);padding:24px 15px}.league-statistics>header h2{font-size:31px}.public-cards:not(:has(.monthly-card)){grid-template-columns:1fr!important}}
.league-totals{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:24px 0}.league-totals article{padding:17px 10px;border:1px solid #d5e3ed;border-radius:10px;background:#f5f9fc;text-align:center}.league-totals b{display:block;color:#173b60;font:28px Georgia,serif}.league-totals span{display:block;margin-top:5px;color:#6d7f8f;font-size:8px;font-weight:900;text-transform:uppercase}.league-statistics .stats-head,.league-statistics .stats-rows>a{grid-template-columns:minmax(180px,1.6fr) repeat(11,minmax(72px,.65fr));min-width:1180px}.ranking-publication-note{margin:14px 0;color:#65788b;font-size:12px}.home-grid.general-only{grid-template-columns:1fr!important}@media(max-width:900px){.league-totals{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.league-totals{grid-template-columns:1fr 1fr}}

.next-card-countdown { width:100%;margin-top:16px;padding-top:14px;border-top:1px solid #283655; }
.next-card-countdown>small { display:block;color:var(--foti-gold-light)!important;margin-bottom:8px; }
.next-card-countdown>div { display:grid;grid-template-columns:repeat(4,1fr);gap:4px; }
.next-card-countdown>div span { min-width:0!important;margin:0!important;padding:7px 2px!important;border:1px solid #35425f!important;border-radius:5px!important;background:#070e20!important;color:#fff!important; }
.next-card-countdown>div span b { display:block;color:#fff;font-size:15px; }
.next-card-countdown>div span small { display:block;color:#8f9ab0!important;font-size:5px!important;letter-spacing:0!important; }
.next-card-countdown>b { display:block;color:#d8a84b;font-size:9px;letter-spacing:.1em; }
.next-card-countdown>time { display:block;margin-top:8px;color:#aab3c4;font-size:8px;font-weight:800;letter-spacing:.04em; }
.latest-mvp-round { margin-top:15px;color:var(--foti-gold-light);font-size:8px;font-weight:900;letter-spacing:.14em; }
.latest-mvp-avatar { display:grid;width:58px;height:58px;margin:14px auto 7px;place-items:center;border-radius:50%;background:var(--foti-gold);color:#081022;font-size:25px;font-weight:950; }
.latest-result-card .latest-mvp-points { color:var(--foti-gold-light);font-size:11px;letter-spacing:.1em; }
.latest-result-card p { margin:9px 0 0;color:#98a1b4!important;font-size:9px!important;line-height:1.5; }
