/* ============================================================
   modal-profil.css — Tiroir profil (menu avatar)
   Source unique : chargé par template/modal-profil.php
   ============================================================ */

.profile-modal-overlay {
    --pm-brand: var(--brand, #ff385c);
    --pm-brand-dark: var(--brand-dark, #e11d48);
    --pm-brand-soft: var(--brand-soft, #ffe9ef);
    --pm-surface: var(--surface, #ffffff);
    --pm-text: var(--text, #1f2430);
    --pm-text-soft: var(--text-soft, #717171);
    --pm-text-muted: var(--text-muted, #9ca3af);
    --pm-border: var(--border, #ececf0);
    --pm-bg: var(--bg, #f7f7f7);
    --pm-r-sm: var(--r-sm, 10px);
    --pm-r-md: var(--r-md, 14px);
    --pm-r-lg: var(--r-lg, 18px);
    --pm-shadow: var(--shadow-lg, 0 24px 48px rgba(16, 24, 40, 0.18));
    font-family: var(--font, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* Lien avatar dans header legacy */
.profile-modal-overlay ~ * .login-btn[href],
.login-btn#profile-toggle {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Overlay ---------- */
.profile-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10050 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.profile-modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
}

.profile-modal-overlay .profile-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 24, 40, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ---------- Panneau (tiroir droit) ---------- */
.profile-modal-overlay .profile-modal-panel {
    position: relative;
    width: min(100%, 400px);
    max-width: 400px;
    height: 100%;
    max-height: 100dvh;
    margin-left: auto;
    flex-shrink: 0;
    background: var(--pm-surface);
    box-shadow: var(--pm-shadow);
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--pm-border);
}

.profile-modal-overlay.active .profile-modal-panel {
    transform: translateX(0) !important;
}

.profile-modal-overlay .profile-modal-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* ---------- Bandeau héro ---------- */
.profile-modal-overlay .profile-modal-hero {
    position: relative;
    padding: 20px 18px 18px;
    background: linear-gradient(165deg, var(--pm-brand-soft) 0%, #fff 55%);
    border-bottom: 1px solid var(--pm-border);
}

.profile-modal-overlay .profile-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--pm-text-soft);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.08);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.profile-modal-overlay .profile-modal-close:hover {
    background: #fff;
    color: var(--pm-brand);
    transform: scale(1.05);
}

.profile-modal-overlay .profile-modal-user {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding-top: 8px;
    padding-right: 42px;
    gap: 14px;
}

.profile-modal-overlay .profile-modal-photo {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    padding: 3px;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pm-brand), var(--pm-brand-dark));
    flex-shrink: 0;
    box-shadow: 0 10px 28px rgba(255, 56, 92, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-modal-overlay .profile-modal-photo img,
.profile-modal-overlay .profile-modal-photo-fallback {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    flex: 1 1 auto;
}

.profile-modal-overlay .profile-modal-photo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-overlay .profile-modal-photo-fallback.is-male,
.profile-modal-overlay .profile-modal-photo-fallback.is-female,
.profile-modal-overlay .profile-modal-photo-fallback.is-trans,
.profile-modal-overlay .profile-modal-photo-fallback.is-couple {
    background: var(--ph-bg);
    color: var(--ph-text);
}

.profile-modal-overlay .profile-modal-identity {
    flex: 1;
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
}

.profile-modal-overlay .profile-modal-identity h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pm-text);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.25;
}

.profile-modal-overlay .profile-modal-view-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    color: var(--pm-text);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.profile-modal-overlay .profile-modal-view-link:hover {
    border-color: var(--pm-brand);
    color: var(--pm-brand);
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.12);
}
.profile-modal-overlay .profile-modal-view-link i {
    color: var(--pm-brand);
    font-size: 0.78rem;
}

/* Ancien header (compat si markup partiel) */
.profile-modal-overlay .profile-modal-header {
    display: none;
}

/* ---------- Carte abonnement ---------- */
.profile-modal-overlay .profile-subscription-badge {
    margin: 14px 16px 6px;
    padding: 14px 16px;
    border-radius: var(--pm-r-lg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--pm-brand) 0%, var(--pm-brand-dark) 100%);
    box-shadow: 0 10px 24px rgba(225, 29, 72, 0.22);
}
.profile-modal-overlay .profile-subscription-badge.basique {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
}

.profile-modal-overlay .profile-badge-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    flex: 1;
    min-width: 0;
}
.profile-modal-overlay .profile-badge-content > i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.profile-modal-overlay .profile-badge-text h4 {
    margin: 0 0 2px;
    font-size: 0.9rem;
    font-weight: 800;
}
.profile-modal-overlay .profile-badge-text p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.35;
}

.profile-modal-overlay .profile-btn-upgrade {
    flex-shrink: 0;
    background: #fff;
    color: var(--pm-brand-dark);
    text-decoration: none;
    text-align: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profile-modal-overlay .profile-subscription-badge.basique .profile-btn-upgrade {
    color: #b45309;
}
.profile-modal-overlay .profile-btn-upgrade:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* État Premium actif — carte dorée, distincte de l'upsell rose */
.profile-modal-overlay .profile-subscription-badge.is-premium-active {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 52%, #d97706 100%);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.profile-modal-overlay .profile-subscription-badge.is-premium-active .profile-badge-content {
    width: 100%;
    align-items: flex-start;
}

.profile-modal-overlay .profile-subscription-badge.is-premium-active .profile-badge-content > i {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.profile-modal-overlay .profile-badge-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.profile-modal-overlay .profile-subscription-badge.is-premium-active .profile-badge-text h4 {
    margin: 0;
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.2;
}

.profile-modal-overlay .profile-subscription-badge.is-premium-active .profile-badge-text p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.72rem;
    line-height: 1.35;
}

.profile-modal-overlay .profile-badge-expiry--inline {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #92400e;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    opacity: 1;
}

/* ---------- Sections menu ---------- */
.profile-modal-overlay .profile-modal-section-label {
    margin: 12px 16px 6px;
    padding: 0 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pm-text-muted);
}

.profile-modal-overlay .profile-modal-nav {
    padding: 0 10px 8px;
    flex: none;
}

.profile-modal-overlay .profile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    margin: 2px 0;
    color: var(--pm-text);
    text-decoration: none;
    border-radius: var(--pm-r-md);
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.profile-modal-overlay .profile-nav-link:hover {
    background: var(--pm-bg);
    border-color: var(--pm-border);
    color: var(--pm-brand-dark);
}

.profile-modal-overlay .profile-nav-link i:first-child {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--pm-brand-soft);
    color: var(--pm-brand);
    font-size: 0.88rem;
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease;
}
.profile-modal-overlay .profile-nav-link:hover i:first-child {
    background: var(--pm-brand);
    color: #fff;
}

.profile-modal-overlay .profile-nav-link span {
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.profile-modal-overlay .profile-nav-link > i:last-child,
.profile-modal-overlay .profile-nav-link i.fa-chevron-right {
    color: var(--pm-text-muted);
    font-size: 0.7rem;
    opacity: 0.7;
}

.profile-modal-overlay .profile-nav-link.admin-link i:first-child {
    background: #eef2ff;
    color: #4f46e5;
}
.profile-modal-overlay .profile-nav-link.admin-link:hover i:first-child {
    background: #4f46e5;
    color: #fff;
}

.profile-modal-overlay .profile-nav-link.profile-nav-link--danger {
    color: #b91c1c;
}

.profile-modal-overlay .profile-nav-link.profile-nav-link--danger i:first-child {
    background: #fef2f2;
    color: #dc2626;
}

.profile-modal-overlay .profile-nav-link.profile-nav-link--danger:hover {
    background: #fef2f2;
}

.profile-modal-overlay .profile-nav-link.profile-nav-link--danger:hover i:first-child {
    background: #dc2626;
    color: #fff;
}

/* ---------- Notifications ---------- */
.profile-modal-overlay .profile-modal-settings {
    margin: 4px 16px 0;
    padding: 12px 14px;
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-r-md);
    background: var(--pm-bg);
}

.profile-modal-overlay .profile-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.profile-modal-overlay .profile-setting-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-modal-overlay .profile-setting-info i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--pm-surface);
    color: var(--pm-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.profile-modal-overlay .profile-setting-info span {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--pm-text);
}

.profile-modal-overlay .profile-toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
}
.profile-modal-overlay .profile-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.profile-modal-overlay .profile-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d4d6dd;
    border-radius: 999px;
    transition: 0.25s ease;
}
.profile-modal-overlay .profile-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.profile-modal-overlay .profile-toggle-switch input:checked + .profile-toggle-slider {
    background: var(--pm-brand);
}
.profile-modal-overlay .profile-toggle-switch input:checked + .profile-toggle-slider:before {
    transform: translateX(20px);
}

/* ---------- Déconnexion + pied ---------- */
.profile-modal-overlay .profile-modal-actions {
    padding: 14px 16px 0;
    border-top: none;
}

.profile-modal-overlay .profile-btn-logout {
    width: 100%;
    background: var(--pm-surface);
    color: var(--pm-brand-dark);
    border: 1.5px solid #ffd0db;
    padding: 13px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.profile-modal-overlay .profile-btn-logout:hover {
    background: var(--pm-brand);
    border-color: var(--pm-brand);
    color: #fff;
    transform: translateY(-1px);
}

.profile-modal-overlay .profile-modal-footer {
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    margin-top: 8px;
    border-top: 1px solid var(--pm-border);
    background: var(--pm-bg);
    text-align: center;
}

.profile-modal-overlay .profile-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 10px;
}
.profile-modal-overlay .profile-footer-link,
.profile-modal-overlay .profile-footer-locale {
    color: var(--pm-text-soft);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.3;
}
.profile-modal-overlay .profile-footer-link:hover,
.profile-modal-overlay .profile-footer-locale:hover,
.profile-modal-overlay .profile-footer-locale:hover .profile-footer-locale-select {
    color: var(--pm-brand);
}

.profile-modal-overlay .profile-footer-link--btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
}
.profile-modal-overlay .profile-footer-link--btn i {
    margin-right: 4px;
    font-size: 0.72rem;
    opacity: 0.85;
}

.profile-modal-overlay .profile-footer-locale {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.profile-modal-overlay .profile-footer-locale i {
    color: var(--pm-text-soft, var(--text-muted));
    font-size: 0.72rem;
    opacity: 0.85;
}

.profile-modal-overlay .profile-footer-locale-select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    padding: 0 14px 0 0;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 8px 5px;
    max-width: none;
    min-height: 0;
    height: auto;
    -webkit-text-size-adjust: 100%;
}

.profile-modal-overlay .profile-footer-locale-select:focus {
    outline: none;
    color: var(--pm-brand, var(--brand));
}

.profile-modal-overlay .profile-social-link {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}
.profile-modal-overlay .profile-x-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--pm-border);
    background: var(--pm-surface);
    color: var(--pm-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.profile-modal-overlay .profile-x-link:hover {
    border-color: var(--pm-brand);
    color: var(--pm-brand);
}

.profile-modal-overlay .profile-copyright p {
    margin: 0;
    font-size: 0.7rem;
    color: var(--pm-text-muted);
}

/* ---------- Mobile : textes + espacements compacts ---------- */
@media (max-width: 768px) {
    .profile-modal-overlay .profile-modal-panel {
        width: 86%;
        max-width: 340px;
        border-radius: var(--pm-r-lg) 0 0 var(--pm-r-lg);
    }

    .profile-modal-overlay .profile-modal-hero {
        padding: 14px 12px 12px;
    }

    .profile-modal-overlay .profile-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .profile-modal-overlay .profile-modal-user {
        gap: 10px;
        padding-top: 4px;
        padding-right: 36px;
    }

    .profile-modal-overlay .profile-modal-photo {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
        padding: 2px;
    }

    .profile-modal-overlay .profile-modal-identity h3 {
        font-size: 0.95rem;
        gap: 4px;
    }

    .profile-modal-overlay .profile-modal-view-link {
        margin-top: 4px;
        padding: 6px 12px;
        font-size: 0.74rem;
        gap: 5px;
    }
    .profile-modal-overlay .profile-modal-view-link i {
        font-size: 0.7rem;
    }

    .profile-modal-overlay .profile-subscription-badge {
        margin: 10px 12px 4px;
        padding: 10px 12px;
        gap: 8px;
    }

    .profile-modal-overlay .profile-subscription-badge.is-premium-active {
        padding: 10px 11px;
    }

    .profile-modal-overlay .profile-subscription-badge.is-premium-active .profile-badge-text h4 {
        font-size: 0.82rem;
    }

    .profile-modal-overlay .profile-subscription-badge.is-premium-active .profile-badge-text p {
        font-size: 0.68rem;
    }

    .profile-modal-overlay .profile-badge-expiry--inline {
        padding: 3px 8px;
        font-size: 0.6rem;
    }

    .profile-modal-overlay .profile-badge-content {
        gap: 8px;
    }

    .profile-modal-overlay .profile-badge-content > i {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .profile-modal-overlay .profile-badge-text h4 {
        font-size: 0.8rem;
    }

    .profile-modal-overlay .profile-badge-text p {
        font-size: 0.68rem;
    }

    .profile-modal-overlay .profile-btn-upgrade {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .profile-modal-overlay .profile-modal-section-label {
        margin: 8px 12px 4px;
        font-size: 0.6rem;
    }

    .profile-modal-overlay .profile-modal-nav {
        padding: 0 8px 6px;
    }

    .profile-modal-overlay .profile-nav-link {
        padding: 8px 10px;
        gap: 10px;
        margin: 1px 0;
    }

    .profile-modal-overlay .profile-nav-link i:first-child {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 0.76rem;
    }

    .profile-modal-overlay .profile-nav-link span {
        font-size: 0.8rem;
    }

    .profile-modal-overlay .profile-nav-link > i:last-child,
    .profile-modal-overlay .profile-nav-link i.fa-chevron-right {
        font-size: 0.62rem;
    }

    .profile-modal-overlay .profile-modal-settings {
        margin: 4px 12px 0;
        padding: 9px 11px;
    }

    .profile-modal-overlay .profile-setting-info {
        gap: 8px;
    }

    .profile-modal-overlay .profile-setting-info i {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 0.74rem;
    }

    .profile-modal-overlay .profile-setting-info span {
        font-size: 0.78rem;
    }

    .profile-modal-overlay .profile-toggle-switch {
        width: 44px;
        height: 26px;
    }

    .profile-modal-overlay .profile-toggle-slider:before {
        height: 20px;
        width: 20px;
    }

    .profile-modal-overlay .profile-toggle-switch input:checked + .profile-toggle-slider:before {
        transform: translateX(18px);
    }

    .profile-modal-overlay .profile-modal-actions {
        padding: 10px 12px 0;
    }

    .profile-modal-overlay .profile-btn-logout {
        padding: 10px;
        font-size: 0.78rem;
        font-weight: 700;
        gap: 6px;
    }

    .profile-modal-overlay .profile-modal-footer {
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        margin-top: 6px;
    }

    .profile-modal-overlay .profile-footer-links {
        gap: 8px 14px;
        margin-bottom: 8px;
    }

    .profile-modal-overlay .profile-footer-link {
        font-size: 0.7rem;
    }

    .profile-modal-overlay .profile-footer-locale,
    .profile-modal-overlay .profile-footer-locale-select {
        font-size: 0.7rem;
    }

    .profile-modal-overlay .profile-x-link {
        padding: 7px 12px;
        font-size: 0.74rem;
        gap: 6px;
    }

    .profile-modal-overlay .profile-copyright p {
        font-size: 0.66rem;
    }
}

/* Modal premium — styles unifiés dans app.css */
