body.login-home {
    background: #0d1117;
    color: #f3f4fa;
    --primary: #b9a0ff;
    --primary-glow: rgba(185, 160, 255, 0.2);
}

body.login-home::before,
body.login-home::after {
    display: none;
}

.login-home .login-wrapper {
    width: 100%;
    max-width: 760px;
    min-height: 100svh;
    margin: 0 auto;
    padding: 20px 20px 28px;
    gap: 0;
    justify-content: flex-start;
    align-items: stretch;
}

.login-home-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
}

.login-home .brand {
    margin: 0;
    gap: 10px;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none;
}

.login-home .brand-logo {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
}

.login-home .brand-name {
    font-size: 23px;
    line-height: 1.2;
    color: #f3f4fa;
    background: none;
    -webkit-text-fill-color: currentColor;
    overflow-wrap: anywhere;
}

.login-home .lang-row {
    position: static;
    display: flex;
    align-self: auto;
    justify-content: flex-end;
    flex-shrink: 0;
    min-height: 44px;
    gap: 4px;
}

.login-home .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #a9b1c3;
    font-size: 13px;
}

.login-home .lang-btn.active {
    color: #d0bfff;
    background: #252039;
    border-color: #3c3454;
}

.login-home .login-card {
    width: 100%;
    max-width: 420px;
    margin: 48px auto 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    animation: none;
}

.login-home .mobile-login-heading {
    display: block;
    text-align: left;
    margin-bottom: 32px;
}

.login-home .mobile-login-heading h1 {
    max-width: 420px;
    margin: 0 0 14px;
    font-size: clamp(30px, 8vw, 42px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #f3f4fa;
}

.login-home .mobile-login-heading p {
    margin: 0;
    color: #b1b8c9;
    font-size: 16px;
    line-height: 1.55;
}

.login-home .login-form {
    gap: 16px;
}

.login-home .mobile-username-label {
    color: #e3e6ef;
    font-size: 14px;
    margin-bottom: 10px;
}

.login-home .input-group input {
    min-height: 56px;
    padding: 16px 56px 16px 44px;
    border: 1px solid #343b4b;
    border-radius: 14px !important;
    background: #191d29;
    color: #f3f4fa;
    font-size: 16px;
    line-height: 1.4;
}

.login-home .input-group input:focus {
    border-color: #b9a0ff;
    box-shadow: 0 0 0 3px rgba(185, 160, 255, 0.15);
}

.login-home .input-group.focused {
    transform: none;
}

.login-home .btn-dice {
    width: 44px;
    height: 44px;
    right: 6px;
    border: 0;
    border-radius: 10px;
    color: #c8b8ff;
    background: #252039;
}

.login-home .mobile-username-hint {
    margin: -2px 0 0;
    color: #a9b1c3;
    font-size: 13px;
    line-height: 1.5;
}

.login-home .btn-play {
    min-height: 54px;
    padding: 15px 20px;
    border: 0;
    border-radius: 16px;
    background: #b9a0ff;
    color: #171123;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.login-home .btn-play::before {
    display: none;
}

.login-home .btn-play:hover {
    background: #cbbbff;
    color: #171123;
    transform: none;
    box-shadow: none;
}

.login-home .online-badge {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #a9b1c3;
    font-size: 12px;
}

.login-home .online-dot {
    width: 6px;
    height: 6px;
    box-shadow: none;
    animation: none;
}

.login-home .terms {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 14px;
}

.login-home .terms a,
.login-home .footer-links a,
.login-home .login-about-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #a9b1c3;
    font-size: 13px;
    line-height: 1.5;
}

.login-home .login-footer {
    width: 100%;
    max-width: 420px;
    margin: 22px auto 0;
    gap: 12px;
}

.login-home .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.login-about-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.login-home a:focus-visible,
.login-home button:focus-visible {
    outline: 3px solid #c8b8ff;
    outline-offset: 3px;
}

.login-home.cookie-banner-open .login-wrapper {
    padding-bottom: 150px;
}

.login-home .about-modal-content {
    width: calc(100% - 32px);
    max-width: 420px;
    max-height: calc(100svh - 32px);
    overflow-y: auto;
}

@media (min-width: 768px) {
    .login-home .login-wrapper {
        padding-top: 28px;
    }

    .login-home .login-card {
        margin-top: 64px;
    }
}

@media (max-height: 700px) {
    .login-home .login-card {
        margin-top: 26px;
    }
}

.login-home .login-entry {
    margin-top: 18px;
}

.login-home .login-entry > summary {
    min-height: 48px;
    padding: 14px 0;
    color: #c5c9d8;
    font-size: 14px;
    cursor: pointer;
}

.login-home .login-entry[open] > summary {
    margin-bottom: 14px;
}

.login-home .login-card:has(.login-entry[open]) .login-try-action {
    display: none;
}
