/* Federico.biz — FM Towns V16. Stili esterni compatibili con Content-Security-Policy style-src self. */
/* Federico.biz V7 — regole critiche direttamente nella pagina */
@media (min-width:1201px) {
 html body header.fb-global-header {width:100%!important;max-width:none!important;position:relative!important;height:auto!important;min-height:0!important;overflow:visible!important}
 html body header.fb-global-header > .fb-header-inner {display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:center!important;width:100%!important;max-width:1440px!important;height:auto!important;min-height:0!important;box-sizing:border-box!important;margin:0 auto!important;padding:12px 28px!important;gap:7px!important;overflow:visible!important}
 html body header.fb-global-header a.fb-global-brand {display:inline-block!important;flex:0 0 auto!important;align-self:flex-start!important;visibility:visible!important;opacity:1!important;line-height:1.2!important}
 html body header.fb-global-header nav.fb-main-nav {display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;position:static!important;float:none!important;clear:both!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:36px!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;gap:4px 10px!important;opacity:1!important;visibility:visible!important;background:transparent!important;white-space:normal!important;transform:none!important}
 html body header.fb-global-header nav.fb-main-nav > a.fb-link {display:inline-flex!important;flex:0 0 auto!important;visibility:visible!important;opacity:1!important;position:static!important;float:none!important;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:36px!important;line-height:1.35!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important;overflow:visible!important;padding:8px!important;transform:none!important;text-decoration:none!important}
 html body header.fb-global-header nav.fb-main-nav > a.fb-link-gc {color:#ff9d35!important}
 html body header.fb-global-header .fb-mobile-toggle {display:none!important}
}
/* Il menu mobile della V6 non viene modificato. */


/* V15: base cromatica unica dello speciale FM Towns; niente override cumulativi. */
html body.fb-gc.fb-fmtowns .gc-scans-section {background:#121918!important;color:#f8f7f3!important;}
html body.fb-gc.fb-fmtowns .gc-scans-section > .container > h2,
html body.fb-gc.fb-fmtowns .gc-scans-section .gc-scan-game > h3 {color:#fefcf5!important;-webkit-text-fill-color:#fefcf5!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .gc-scans-section .gc-scan-game {background:transparent!important;color:#f8f7f3!important;}
html body.fb-gc.fb-fmtowns .gc-scans-section .gc-scan-items .gc-scan-item {background:#1e2825!important;color:#f8f7f3!important;}
html body.fb-gc.fb-fmtowns .gc-scans-section .gc-scan-note,
html body.fb-gc.fb-fmtowns .gc-scans-section .gc-scan-lead {color:#d2dbd6!important;-webkit-text-fill-color:#d2dbd6!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .gc-scans-section .gc-scan-kicker {color:#ffb66d!important;-webkit-text-fill-color:#ffb66d!important;}
html body.fb-gc.fb-fmtowns .timeline > span {color:#eef1ed!important;-webkit-text-fill-color:#eef1ed!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .timeline > b {color:#d9f566!important;-webkit-text-fill-color:#d9f566!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .lettersec > h3 {color:#f8f7f3!important;-webkit-text-fill-color:#f8f7f3!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .lettersec > p.toc-note {color:#cfdbd4!important;-webkit-text-fill-color:#cfdbd4!important;opacity:1!important;}
/* Le schede a fondo chiaro mantengono titoli scuri. */
html body.fb-gc.fb-fmtowns .cover-card {background:#fffdf8!important;color:#18231f!important;}
html body.fb-gc.fb-fmtowns .cover-card > strong {color:#18231f!important;-webkit-text-fill-color:#18231f!important;}

.fb-fmtowns .fbfmt-old-01{color:#597329}
.fb-fmtowns .fbfmt-old-02{color:#f7f8f4!important;-webkit-text-fill-color:#f7f8f4!important;opacity:1!important}
.fb-fmtowns .fbfmt-old-03{color:#c7d6c3;font-size:13px}
.fb-fmtowns .fbfmt-old-04{margin-top:50px;color:#f7f8f4!important;-webkit-text-fill-color:#f7f8f4!important;opacity:1!important}
.fb-fmtowns .fbfmt-old-05{color:#cdd8d6!important;-webkit-text-fill-color:#cdd8d6!important;opacity:1!important}
.fb-fmtowns .fbfmt-old-06{margin-top:55px;color:#f7f8f4!important;-webkit-text-fill-color:#f7f8f4!important;opacity:1!important}
.fb-fmtowns .fbfmt-old-07{font-size:12px;white-space:nowrap}
.fb-fmtowns .fbfmt-old-08{color:#ffad57!important;opacity:1!important;-webkit-text-fill-color:#ffad57!important}
.fb-fmtowns .fbfmt-old-09{background-color:#101613!important}
.fb-fmtowns .fbfmt-old-10{color:#d8e2dc!important;-webkit-text-fill-color:#d8e2dc!important;opacity:1!important}
.fb-fmtowns .fbfmt-old-11{background:#eef0e7;padding-top:58px}
.fb-fmtowns .fbfmt-old-12{color:#ff8b2c}

/* Explicit contrast scopes; placed last to win over original theme. */
html body.fb-gc.fb-fmtowns section.gc-scans-section { background:#121918!important; color:#f7f8f4!important; }
html body.fb-gc.fb-fmtowns section.gc-scans-section .gc-scan-game {background:#121918!important;color:#f7f8f4!important;}
html body.fb-gc.fb-fmtowns section.gc-scans-section .gc-scan-game > h3 { color:#f7f8f4!important;-webkit-text-fill-color:#f7f8f4!important; opacity:1!important; }
html body.fb-gc.fb-fmtowns section.gc-scans-section .gc-scan-item { background:#1e2825!important; color:#dbe6df!important; }
html body.fb-gc.fb-fmtowns section.gc-scans-section .gc-scan-item figcaption {color:#dbe6df!important;-webkit-text-fill-color:#dbe6df!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns section.gc-scans-section .gc-scan-item a {background:#101613!important;}
html body.fb-gc.fb-fmtowns .timeline > span {color:#e2ebe6!important;-webkit-text-fill-color:#e2ebe6!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .timeline > b {color:#d9f566!important;-webkit-text-fill-color:#d9f566!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .lettersec > h3 {color:#f7f8f4!important;-webkit-text-fill-color:#f7f8f4!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .lettersec > .toc-note {color:#cbd7d3!important;-webkit-text-fill-color:#cbd7d3!important;opacity:1!important;}
html body.fb-gc.fb-fmtowns .cover-card {background:#fffdf8!important;color:#18231f!important;}
html body.fb-gc.fb-fmtowns .cover-card > strong {color:#18231f!important;-webkit-text-fill-color:#18231f!important;opacity:1!important;}
/* Index has a light background, so its headings must be dark. */
html body.fb-gc.fb-fmtowns section#indice {background:#eef0e7!important;color:#18231f!important;}
html body.fb-gc.fb-fmtowns section#indice h2,html body.fb-gc.fb-fmtowns section#indice h3 {color:#18231f!important;-webkit-text-fill-color:#18231f!important;}
