.telegram-phone-gate {
    position: fixed;
    inset: 0;
    z-index: 10300;
    background: var(--overlay-bg, rgba(0, 0, 0, 0.88));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.telegram-phone-gate[hidden] {
    display: none !important;
}

.telegram-phone-card {
    width: min(100%, 360px);
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.25rem 1rem 1rem;
    text-align: center;
    color: var(--text-primary);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        -6px 0 20px rgba(0, 0, 0, 0.12),
        6px 0 20px rgba(0, 0, 0, 0.12);
}

.telegram-phone-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.telegram-phone-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 1rem;
}

.telegram-phone-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #229ed9, #0088cc);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.telegram-phone-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.telegram-phone-btn--secondary {
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #098d46, #066a35);
    box-shadow: 0 4px 14px rgba(9, 141, 70, 0.35);
}

.telegram-phone-status {
    margin-top: 0.55rem;
    font-size: 0.72rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.75));
    min-height: 1rem;
    line-height: 1.4;
}

.telegram-phone-error {
    margin-top: 0.65rem;
    font-size: 0.72rem;
    color: #ffb4ae;
    min-height: 1rem;
}
