.auth-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 16px;
    min-height: 60vh;
}

.auth-card {
    background: var(--block);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 40px;
    width: 100%;
    max-width: 420px;
}

.auth-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-default);
}
.auth-card h2 span { color: var(--accent, #5b8cf5); }

.auth-sub {
    color: var(--text-secondary, #aaa);
    font-size: 0.9rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--button);
    border-radius: 10px;
    padding: 4px;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary, #aaa);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.auth-tab--active {
    background: var(--block-hover, rgba(255,255,255,.08));
    color: var(--text-default);
}

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

.auth-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary, #aaa);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.auth-input {
    background: var(--button);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-default);
    font-size: 0.95rem;
    outline: none;
    transition: border-color .2s;
    width: 100%;
    box-sizing: border-box;
}
.auth-input:focus { border-color: var(--accent, #5b8cf5); }

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .15s;
    background: var(--accent, #5b8cf5);
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    margin-top: 4px;
}
.auth-btn:hover { opacity: .85; transform: translateY(-1px); }
.auth-btn svg { width: 18px; height: 18px; fill: currentColor; }

.auth-btn--steam {
    background: #1b2838;
    border: 1px solid #2a475e;
    color: #c7d5e0;
}
.auth-btn--logout {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary, #aaa);
    font-size: 0.85rem;
    padding: 10px;
}
.auth-btn--yandex {
    background: #FC3F1D;
    border: none;
    color: #fff;
}

.auth-divider {
    text-align: center;
    color: var(--text-secondary, #aaa);
    font-size: 0.8rem;
    margin: 16px 0;
    position: relative;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

.auth-msg {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.auth-msg--err { background: rgba(232,64,64,.12); color: #e84040; border: 1px solid rgba(232,64,64,.3); }
.auth-msg--ok  { background: rgba(77,176,108,.12); color: #4db06c; border: 1px solid rgba(77,176,108,.3); }

.auth-hint {
    color: var(--text-secondary, #aaa);
    font-size: 0.82rem;
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}

.auth-done { text-align: center; }
.auth-check { width: 48px; height: 48px; fill: #4db06c; margin-bottom: 12px; }

@media (max-width: 480px) {
    .auth-card { padding: 24px 20px; }
}

/* ═══════ Spotlight (2026-07-31) — модуль сидел на старых токенах темы (var(--block),
   var(--accent,#5b8cf5) и т.п.) вместо стеклянных карточек/градиентных акцентов, как
   везде на сайте. Первая страница, которую видит новый игрок — самое заметное место
   для несоответствия дизайн-системе. Разметку не трогал, только этот блок в конце. */
.auth-card{
  background: rgba(255,255,255,.035) !important; border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 20px !important; backdrop-filter: blur(20px); box-shadow: 0 30px 70px rgba(0,0,0,.4) !important;
}
.auth-card h2{ font-family: var(--font-family-1,"Unbounded"),sans-serif !important; font-weight: 800 !important; }
.auth-card h2 span{
  background: linear-gradient(120deg,#29a3ab,#2b7fff,#5fe3ff) !important; -webkit-background-clip: text !important;
  background-clip: text !important; color: transparent !important;
}
.auth-tabs{ background: rgba(0,0,0,.2) !important; border: 1px solid rgba(255,255,255,.07) !important; }
.auth-tab--active{
  background: linear-gradient(120deg,#29a3ab,#2b7fff) !important; color: #fff !important;
  box-shadow: 0 6px 16px rgba(43,127,255,.28);
}
.auth-input{ background: rgba(0,0,0,.2) !important; border: 1px solid rgba(255,255,255,.07) !important; border-radius: 12px !important; }
.auth-input:focus{ border-color: #29a3ab !important; }
.auth-btn{ border-radius: 12px !important; transition: transform .15s, box-shadow .2s !important; }
.auth-btn:not(.auth-btn--steam):not(.auth-btn--yandex):not(.auth-btn--logout){
  background: linear-gradient(120deg,#29a3ab,#2b7fff) !important; opacity: 1 !important;
  box-shadow: 0 8px 22px rgba(43,127,255,.32) !important;
}
.auth-btn:not(.auth-btn--steam):not(.auth-btn--yandex):not(.auth-btn--logout):hover{
  transform: translateY(-2px) !important; box-shadow: 0 10px 28px rgba(43,127,255,.42) !important;
}
/* Steam/Яндекс — чужие брендовые цвета, не перекрашиваем (см. CLAUDE.md про логотипы
   платёжек), только радиус/скругление в общий стиль. */
.auth-btn--steam, .auth-btn--yandex{ border-radius: 12px !important; }
.auth-btn--logout{
  background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important; transition: background .2s, border-color .2s !important;
}
.auth-btn--logout:hover{ background: rgba(255,255,255,.07) !important; }
.auth-msg{ border-radius: 12px !important; }
