/*
Theme Name: CyberShara Retro ROMs v2.10.100 White Screen Cache Fix
Theme URI: https://cybershara.ru/
Author: CyberShara
Description: v2.10.100: cache-busting для CSS/JS, аварийный visible-page guard, сохранён фикс ссылок платформ.
Version: 2.10.100
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: cybershara-retro-roms
Tags: blog, entertainment, custom-logo, custom-menu, featured-images, right-sidebar, dark
*/


/* v2.10.85 HEADER MENU FIX - duplicated in style.css for cache/minify plugins */
header.csr-header.csr-header-v85 .csr-header-inner{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:24px!important;min-height:78px!important;height:auto!important;padding-top:10px!important;padding-bottom:10px!important;flex-wrap:nowrap!important}
header.csr-header.csr-header-v85 .csr-logo{flex:0 0 auto!important;width:auto!important;max-width:310px!important;min-width:220px!important;margin:0 18px 0 0!important;white-space:nowrap!important}
header.csr-header.csr-header-v85 nav.csr-nav{display:flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;justify-content:flex-start!important;align-items:center!important;overflow:visible!important}
header.csr-header.csr-header-v85 nav.csr-nav ul.csr-menu,header.csr-header.csr-header-v85 nav.csr-nav .csr-menu{display:flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;gap:8px!important;list-style:none!important;justify-content:flex-start!important;align-items:center!important;flex-wrap:nowrap!important}
header.csr-header.csr-header-v85 nav.csr-nav .csr-menu>li{display:block!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;list-style:none!important}
header.csr-header.csr-header-v85 nav.csr-nav .csr-menu>li>a{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;padding:9px 12px!important;margin:0!important;white-space:nowrap!important;text-align:center!important;justify-content:center!important;align-items:center!important}
header.csr-header.csr-header-v85 .csr-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;margin-left:auto!important;padding-left:44px!important;border-left:1px solid rgba(41,230,255,.18)!important;position:static!important;right:auto!important;top:auto!important}
header.csr-header.csr-header-v85 .csr-account-menu,header.csr-header.csr-header-v85 .csr-login{flex:0 0 auto!important;margin-left:0!important;white-space:nowrap!important}
header.csr-header.csr-header-v85 .csr-account-trigger{display:inline-flex!important;align-items:center!important;white-space:nowrap!important}
header.csr-header.csr-header-v85 .csr-menu-toggle{display:none!important}
@media(max-width:1380px){header.csr-header.csr-header-v85 .csr-header-inner{flex-wrap:wrap!important;gap:14px 18px!important}header.csr-header.csr-header-v85 .csr-logo{flex:0 0 auto!important;margin-right:10px!important}header.csr-header.csr-header-v85 nav.csr-nav{order:3!important;flex:0 1 auto!important;max-width:calc(100% - 250px)!important}header.csr-header.csr-header-v85 nav.csr-nav ul.csr-menu{flex-wrap:wrap!important}header.csr-header.csr-header-v85 .csr-header-actions{margin-left:auto!important;padding-left:34px!important;position:static!important}}
@media(max-width:760px){header.csr-header.csr-header-v85 .csr-header-inner{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important}header.csr-header.csr-header-v85 .csr-logo{min-width:0!important;max-width:100%!important;margin:0!important}header.csr-header.csr-header-v85 .csr-header-actions{grid-column:2!important;margin-left:0!important;padding-left:0!important;border-left:0!important;gap:8px!important}header.csr-header.csr-header-v85 .csr-menu-toggle{display:inline-flex!important}header.csr-header.csr-header-v85 nav.csr-nav{display:none!important;grid-column:1/3!important;order:10!important;max-width:100%!important;width:100%!important;padding-top:8px!important}header.csr-header.csr-header-v85 nav.csr-nav.is-open{display:block!important}header.csr-header.csr-header-v85 nav.csr-nav ul.csr-menu{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:7px!important}header.csr-header.csr-header-v85 nav.csr-nav .csr-menu>li>a{width:100%!important;justify-content:flex-start!important}}
/* END HEADER MENU FIX */


/* === v2.10.87 header side margins / no-stretch final === */
html body header.csr-header .csr-header-inner,
html body header.csr-header-old .csr-header-inner,
html body header.csr-header-fixed-menu .csr-header-inner,
html body header.csr-header-v87 .csr-header-inner{
  width:min(1500px, calc(100% - 56px))!important;
  max-width:1500px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:16px!important;
  padding-right:16px!important;
  box-sizing:border-box!important;
}
html body header.csr-header nav.csr-nav,
html body header.csr-header-old nav.csr-nav,
html body header.csr-header-fixed-menu nav.csr-nav,
html body header.csr-header-v87 nav.csr-nav{
  flex:0 0 auto!important;
  width:max-content!important;
  max-width:calc(100vw - 660px)!important;
  margin-left:0!important;
  margin-right:0!important;
}
html body header.csr-header .csr-header-actions,
html body header.csr-header-old .csr-header-actions,
html body header.csr-header-fixed-menu .csr-header-actions,
html body header.csr-header-v87 .csr-header-actions{
  flex:0 0 auto!important;
  margin-left:38px!important;
  margin-right:0!important;
}
@media(max-width:1240px){
  html body header.csr-header .csr-header-inner,
  html body header.csr-header-old .csr-header-inner,
  html body header.csr-header-fixed-menu .csr-header-inner,
  html body header.csr-header-v87 .csr-header-inner{width:calc(100% - 36px)!important;padding-left:12px!important;padding-right:12px!important;}
  html body header.csr-header nav.csr-nav,
  html body header.csr-header-old nav.csr-nav,
  html body header.csr-header-fixed-menu nav.csr-nav,
  html body header.csr-header-v87 nav.csr-nav{max-width:100%!important;}
}
@media(max-width:760px){
  html body header.csr-header .csr-header-inner,
  html body header.csr-header-old .csr-header-inner,
  html body header.csr-header-fixed-menu .csr-header-inner,
  html body header.csr-header-v87 .csr-header-inner{width:calc(100% - 22px)!important;padding-left:10px!important;padding-right:10px!important;}
}


/* v2.10.100 WHITE SCREEN CACHE FIX */
html,body{background:#050815;color:#eef6ff;}
body{visibility:visible;opacity:1;}
.csr-auth-modal:not(.is-open),.csr-lightbox:not(.is-open),.csr-content-shot-lightbox:not(.is-open),.csr-final-lightbox:not(.is-open){display:none!important;pointer-events:none!important;}
