.fv-follow-auth-dialog {
    width: min(420px, calc(100vw - 32px));
    max-width: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: #172033;
    background: #ffffff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(10, 18, 34, 0.28);
}

.fv-follow-auth-dialog::backdrop {
    background: rgba(10, 18, 34, 0.68);
    backdrop-filter: blur(3px);
}

.fv-follow-auth-dialog__panel {
    position: relative;
    padding: 32px;
}

.fv-follow-auth-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #5f6878;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.fv-follow-auth-dialog__close:hover,
.fv-follow-auth-dialog__close:focus-visible {
    color: #172033;
    background: #f0f3f7;
    outline: none;
}

.fv-follow-auth-dialog__eyebrow {
    margin: 0 48px 8px 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fv-follow-auth-dialog__title {
    margin: 0 48px 10px 0;
    color: #172033;
    font-size: clamp(24px, 5vw, 30px);
    line-height: 1.15;
}

.fv-follow-auth-dialog__description {
    margin: 0;
    color: #5f6878;
    font-size: 16px;
    line-height: 1.55;
}

.fv-follow-auth-dialog__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.fv-follow-auth-dialog__primary,
.fv-follow-auth-dialog__secondary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
}

.fv-follow-auth-dialog__primary {
    color: #ffffff;
    background: #b42318;
    border: 1px solid #b42318;
}

.fv-follow-auth-dialog__primary:hover,
.fv-follow-auth-dialog__primary:focus-visible {
    color: #ffffff;
    background: #8f1c13;
    outline: 3px solid rgba(180, 35, 24, 0.24);
    outline-offset: 2px;
}

.fv-follow-auth-dialog__secondary {
    color: #172033;
    background: #ffffff;
    border: 1px solid #cfd5df;
}

.fv-follow-auth-dialog__secondary:hover,
.fv-follow-auth-dialog__secondary:focus-visible {
    background: #f0f3f7;
    outline: 3px solid rgba(23, 32, 51, 0.16);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .fv-follow-auth-dialog__panel {
        padding: 28px 22px 22px;
    }

    .fv-follow-auth-dialog__actions {
        flex-direction: column;
    }

    .fv-follow-auth-dialog__primary,
    .fv-follow-auth-dialog__secondary {
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .fv-follow-auth-dialog[open] {
        animation: fv-follow-auth-enter 160ms ease-out;
    }

    @keyframes fv-follow-auth-enter {
        from {
            opacity: 0;
            transform: translateY(8px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}
