html.pwa-standalone #pwa-login-screen {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--f7-page-bg-color, #000);
}

html.pwa-standalone.pwa-authed #pwa-login-screen {
  display: none;
}

html.pwa-standalone:not(.pwa-authed) #app {
  visibility: hidden;
  pointer-events: none;
}

.pwa-login-card {
  width: 100%;
  max-width: 360px;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--f7-block-strong-bg-color, rgba(255, 255, 255, 0.08));
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.pwa-login-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.pwa-login-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pwa-login-sub {
  font-size: 14px;
  opacity: 0.65;
  line-height: 1.45;
  margin-bottom: 20px;
}

.pwa-login-widget {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-install-hint {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.5;
  line-height: 1.4;
}

.pwa-login-error {
  margin: 0 0 12px;
  font-size: 13px;
  color: #ff453a;
  line-height: 1.4;
}

html.pwa-standalone .checkout-stars-btn,
html.pwa-standalone #checkout-telegram-btn,
html.pwa-standalone #checkout-telegram-hint {
  display: none !important;
}

html.pwa-standalone .checkout-card-actions {
  grid-template-columns: 1fr;
}

.push-settings-block {
  margin: 12px 16px 16px;
}

.push-settings-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.push-settings-title .icon {
  font-size: 20px;
  color: var(--f7-theme-color, #0a84ff);
}

.push-settings-hint {
  margin: 0 0 14px;
  font-size: 14px;
  opacity: 0.65;
  line-height: 1.45;
}

.push-settings-actions {
  display: flex;
  gap: 10px;
}

.push-settings-actions .button {
  flex: 1;
  margin: 0;
}
