/* Header-Auth-Modal (globaler Einstieg) */
.lk-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    pointer-events: none;
}
.lk-auth-modal.is-open {
    pointer-events: auto;
}
.lk-auth-modal[hidden] { display: none !important; }
.lk-auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.lk-auth-modal.is-open .lk-auth-modal__backdrop { opacity: 1; }
.lk-auth-modal__sheet {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    max-height: min(92vh, 640px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #101010;
    border: 1px solid #2a2a2a;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.26s ease;
}
.lk-auth-modal.is-open .lk-auth-modal__sheet { transform: translateY(0); }
@media (min-width: 576px) {
    .lk-auth-modal {
        align-items: center;
        padding: 16px;
    }
    .lk-auth-modal__sheet {
        border-radius: 16px;
        transform: translateY(12px) scale(0.98);
        opacity: 0;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }
    .lk-auth-modal.is-open .lk-auth-modal__sheet {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}
.lk-auth-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #9a9a9a;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.lk-auth-modal__close:hover { color: #fff; background: #1a1a1a; }
.lk-auth-modal__head { text-align: center; margin-bottom: 14px; padding-right: 28px; }
.lk-auth-modal__logo {
    border-radius: 12px;
    margin-bottom: 10px;
}
.lk-auth-modal__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 4px;
}
.lk-auth-modal__sub {
    margin: 0;
    color: #9a9a9a;
    font-size: 0.88rem;
}
.lk-auth-modal__consent {
    margin-bottom: 12px;
}
.lk-auth-modal__consent .form-check-label {
    color: #c4c4c4;
    line-height: 1.45;
}
.lk-auth-modal__consent a { color: #ff7900; }
.lk-auth-modal__email-btn {
    min-height: 48px;
    font-weight: 800;
    margin-top: 4px;
}
.lk-auth-modal__register-btn {
    min-height: 48px;
    font-weight: 700;
    border-color: #3a3a3a;
    color: #fff;
}
.lk-auth-modal__register-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #4a4a4a;
}
.lk-auth-modal__register-hint { margin-top: 14px; }
.lk-auth-modal__benefits {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #242424;
    color: #9a9a9a;
    line-height: 1.7;
}
.lk-auth-modal .lk-oauth-divider { margin: 12px 0 14px; }

/* Header: Anmelden-Einstieg (ausgeloggt) – ein Button statt Chat/Benachrichtigungen/Konto */
.lk-top__auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
}
.lk-top__auth-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.lk-top__auth-btn .lk-ico {
    flex: 0 0 auto;
}
.lk-top__auth-btn span {
    display: inline;
}
@media (max-width: 359px) {
    .lk-top__auth-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.72rem;
    }
}
body.lk-auth-modal-open {
    overflow: hidden;
}

/* OAuth-Buttons (Modal + eingebettet) */
.lk-oauth-block { margin-bottom: 12px; }
.lk-oauth-form { margin: 0; }
.lk-oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity .15s ease, border-color .15s ease;
}
.lk-oauth-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.lk-oauth-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
}
.lk-oauth-btn--google {
    background: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
}
.lk-oauth-btn--google:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #d2d4d7;
}
.lk-oauth-btn--apple {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}
.lk-oauth-btn--apple:hover:not(:disabled) {
    background: #1a1a1a;
}
.lk-oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 18px;
    color: #7a7a7a;
    font-size: 0.82rem;
}
.lk-oauth-divider::before,
.lk-oauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #2a2a2a;
}
