/* No frame of the reader is shown using unvalidated defaults */
html.dcut-config-pending,html.dcut-config-error{background:#000}
.dcut-config-pending .story,.dcut-config-pending .site-nav,.dcut-config-error .story,.dcut-config-error .site-nav{visibility:hidden!important}
html.dcut-config-error body > :not(#site-config-error) {
  display: none !important;
}
#site-config-error {
  position: fixed;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(1.25rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  border: 0;
  align-items: stretch;
  justify-content: flex-start;
  background: #edf0f2;
  color: #191e27;
  text-align: left;
  font: 1rem/1.5 "Golos Text", Arial, sans-serif;
  overflow: auto;
  overscroll-behavior: contain;
}
#site-config-error::backdrop { background: #edf0f2; }
#site-config-error .config-message { flex: none; width: min(100%, 33rem); margin: auto; }
#site-config-error .config-brand { display: block; width: 6.5rem; height: auto; margin-bottom: clamp(1rem, 4vh, 2.5rem); }
#site-config-error h1 {
  margin: 0;
  font: 500 clamp(1.65rem, 4.5vw, 2.75rem)/1.12 "Golos Text", Arial, sans-serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
#site-config-error p { margin: .9rem 0 1.35rem; max-width: 32em; color: #46515f; }
#site-config-error .config-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .875rem; }
#site-config-error .config-book, #site-config-error .config-retry {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: .65em 1.15em;
  border: 1px solid transparent;
  border-radius: 2rem;
  font: inherit;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
#site-config-error .config-book { background: #191e27; color: white; text-decoration: none; }
#site-config-error .config-retry { background: transparent; border-color: #7a838d; color: #191e27; }
#site-config-error .config-phone {
  display: table;
  max-width: 100%;
  margin: .65rem 0 0;
  padding: .55rem 0;
  color: #354150;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
#site-config-error a:focus-visible, #site-config-error button:focus-visible { outline: 3px solid #466282; outline-offset: 3px; }
#site-config-error h1:focus { outline: 0; }

/* Only the magazine laboratory hides the site's chrome. Public pages are unchanged. */
.magazine-lab-preview .site-nav,.magazine-lab-preview .reader-chrome,.magazine-lab-preview .reader-sound{display:none!important}
