/* Inert unless the early URL check opts in. Keep auth and app behind one gate. */
html.pc-ui-pending {
  min-height: 100%;
  background: #16171b;
}
html.pc-ui-pending body {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* Some drawers explicitly set visibility:visible, overriding inheritance. */
html.pc-ui-pending body * { visibility: hidden !important; }
html.pc-ui-pending::after {
  content: "Загрузка POCHASAM…";
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 24px;
  color: #9b9c9e;
  font: 14px/1.5 "Segoe UI", sans-serif;
}
html.pc-ui-failed::after {
  content: "Не удалось завершить загрузку POCHASAM. Обновите страницу. Если ошибка повторяется, проверьте доступность локального сервера.";
  text-align: center;
}
