/* game/css/auth.css — экраны входа, регистрации, смены пароля и ошибки загрузки (HTTP-режим, шаг 1.16).
   Тема та же, что у экрана выбора персонажа (main.css): .btn, .form-input, .form-label, .screen-heading. */

.screen-auth {
  align-items: center;
  padding-top: 48px;
  gap: 12px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #16213e;
  border: 1px solid #334;
  border-radius: 4px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-hint {
  color: #9aa0c0;
  line-height: 1.4;
}

.auth-message {
  display: none;
  padding: 8px 10px;
  border: 1px solid #cc4444;
  border-radius: 3px;
  color: #ffb0b0;
  background: #2a1620;
}

.auth-message.auth-message-visible {
  display: block;
}

.auth-switch {
  max-width: 380px;
  width: 100%;
}

/* Плашки проблем протокола (шаг 1.17): ui/protocol_notices.js */
.protocol-banners { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.protocol-banner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: #5a1f1f; color: #f3e6e6; font-size: 14px; pointer-events: auto; }
.protocol-banner-network_error { background: #4a3d12; color: #f3ecd0; }
.protocol-banner-btn { padding: 4px 12px; }

/* Ярлык окружения STAGING (шаг 2.0 Этапа 2): ui/env_banner.js */
.env-banner { position: fixed; top: 0; left: 0; z-index: 10001; padding: 2px 10px; background: #b8860b; color: #1a1200; font-size: 12px; font-weight: bold; letter-spacing: 1px; border-bottom-right-radius: 4px; pointer-events: none; }
