/**
 * Стартовый splash PWA и предпросмотр в админке — одни и те же классы, что в index.html.
 */
.maw-launch-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9f1239;
  color: #fff1f2;
  transition: opacity 220ms ease;
}

.maw-launch-splash.maw-launch-splash--hidden {
  opacity: 0;
  pointer-events: none;
}

.maw-launch-splash__inner {
  text-align: center;
  padding: 24px 16px;
  width: min(92vw, 420px);
}

/* Растр `splash-screen.png` 512×512, альфа; отображается сжато через width/max-width */
.maw-launch-splash__logo {
  width: min(46vw, 160px);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.maw-launch-splash__title {
  margin: 0 0 8px;
  font: 700 34px/1.1 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.4px;
}

.maw-launch-splash__subtitle {
  margin: 0;
  font: 500 16px/1.35 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: rgba(255, 241, 242, 0.92);
}

/* Только предпросмотр в админке (в реальном запуске кнопки нет). SVG — ровное центрирование; символ «×» в шрифте даёт смещение. */
.maw-launch-splash__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 241, 242, 0.18);
  color: #fff1f2;
  cursor: pointer;
}

.maw-launch-splash__close svg {
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.maw-launch-splash__close:hover {
  background: rgba(255, 241, 242, 0.28);
}
