/* Giriş və qeydiyyat səhifələri */
.auth {
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 440px;
    margin: 0 auto;
    padding: max(18px, env(safe-area-inset-top)) 16px calc(20px + var(--safe-b));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.auth .logo-sign { max-width: 380px; animation: signDrop .6s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes signDrop { from { opacity: 0; transform: translateY(-30px) scale(.9); } to { opacity: 1; transform: none; } }

.pawn-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 4px 0 -14px;
    position: relative;
    z-index: 2;
}
.pawn-row img {
    height: 58px;
}
.pawn-row img:nth-child(2) { animation-delay: .3s; }
.pawn-row img:nth-child(3) { animation-delay: .6s; }
.pawn-row img:nth-child(4) { animation-delay: .9s; }
@keyframes pawnBob { 50% { transform: translateY(-7px); } }

.auth-card { overflow: hidden; }
.auth-body { padding: 26px 20px 20px; }
.auth-title {
    margin: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 800;
    color: var(--gold-hi);
}
.auth-sub { margin: 6px 0 18px; text-align: center; font-size: 13.5px; color: var(--muted); }
.auth form .btn-wood { margin-top: 8px; }
.auth-switch { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.auth-switch a { font-weight: 800; text-decoration: none; }
.demo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, .14);
    font-size: 12px;
}
.auth-foot { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); margin: 10px 0 0; }

.avatar-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.avatar-pick label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 18px;
    border: 2px solid var(--line);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
}
.avatar-pick input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-pick img { width: 72px; height: 72px; border-radius: 50%; }
.avatar-pick span { font-weight: 700; font-size: 13.5px; }
.avatar-pick .chk {
    position: absolute;
    top: 8px; right: 10px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: #2a1804;
    font-weight: 900;
    font-size: 14px;
    display: none;
    place-items: center;
}
.avatar-pick label:has(input:checked) { border-color: var(--gold); background: rgba(243, 199, 95, .14); transform: translateY(-2px); }
.avatar-pick label:has(input:checked) .chk { display: grid; }
.gift {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(243, 199, 95, .18), rgba(243, 199, 95, .04));
    border: 1px solid var(--gold-line);
    font-size: 13px;
}
.gift b { color: var(--gold-hi); }
