/* Temi profilo */
.lh-theme-neon::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(217,70,239,0.25), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6,182,212,0.2), transparent 50%);
    animation: lh-neon-drift 8s ease-in-out infinite alternate;
}
.lh-neon-btn {
    border: 1px solid rgba(232,121,249,0.7) !important;
    box-shadow: 0 0 18px rgba(217,70,239,0.45), 0 0 8px rgba(6,182,212,0.25), inset 0 0 12px rgba(217,70,239,0.08);
    animation: lh-neon-pulse 2.5s ease-in-out infinite;
}
@keyframes lh-neon-drift {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}
@keyframes lh-neon-pulse {
    0%, 100% { box-shadow: 0 0 18px rgba(217,70,239,0.45), 0 0 8px rgba(6,182,212,0.25); }
    50% { box-shadow: 0 0 28px rgba(217,70,239,0.65), 0 0 16px rgba(6,182,212,0.4); }
}

.lh-theme-cyber::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(6,182,212,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,182,212,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.lh-cyber-btn { box-shadow: 0 0 12px rgba(6,182,212,0.3); }

.lh-theme-aurora::before {
    content: '';
    position: fixed;
    inset: -50%;
    z-index: 0;
    pointer-events: none;
    background: conic-gradient(from 180deg at 50% 50%, #312e81, #134e4a, #6ee7b7, #312e81);
    opacity: 0.35;
    animation: lh-aurora-spin 20s linear infinite;
}
@keyframes lh-aurora-spin {
    to { transform: rotate(360deg); }
}

.lh-theme-sunset::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 45%);
}

.lh-theme-gold::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at top, rgba(251,191,36,0.15), transparent 55%);
}

.lh-theme-ocean::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(255,255,255,0.06) 0%, transparent 30%);
    animation: lh-ocean-shimmer 6s ease-in-out infinite alternate;
}
@keyframes lh-ocean-shimmer {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.lh-fx-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    --lh-fx-speed: 1;
    --lh-fx-duration: calc(5s / var(--lh-fx-speed));
}
.lh-profile-page {
    position: relative;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.lh-profile-stage {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 1.5rem 1rem 2.5rem;
    box-sizing: border-box;
}

.lh-profile-page .lh-fx-layer {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    min-height: 100%;
}

.lh-fx-particle,
.lh-fx-snow,
.lh-fx-rain,
.lh-fx-confetti,
.lh-fx-bubble,
.lh-fx-heart,
.lh-fx-ember,
.lh-fx-matrix-col,
.lh-fx-star,
.lh-fx-firefly,
.lh-fx-glitter-bit,
.lh-fx-aurora-band {
    animation-duration: var(--lh-fx-duration, 5s);
    animation-fill-mode: both;
}

.lh-fx-particle {
    position: absolute;
    top: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    animation-name: lh-float-up;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes lh-float-up {
    0% { transform: translate3d(0, 108vh, 0) scale(0); opacity: 0; }
    8% { transform: translate3d(0, 100vh, 0) scale(1); opacity: 1; }
    92% { opacity: 1; }
    100% { transform: translate3d(0, -12vh, 0) scale(1); opacity: 0; }
}

.lh-fx-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation-name: lh-twinkle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes lh-twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

.lh-fx-snow {
    position: absolute;
    top: 0;
    color: #fff;
    opacity: 0.85;
    animation-name: lh-snow-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}
@keyframes lh-snow-fall {
    0% { transform: translate3d(0, -8vh, 0) rotate(0deg); }
    100% { transform: translate3d(0, 108vh, 0) rotate(360deg); }
}

.lh-fx-rain {
    position: absolute;
    top: 0;
    width: 1px;
    height: 18px;
    background: linear-gradient(transparent, rgba(174,214,255,0.7));
    animation-name: lh-rain-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes lh-rain-fall {
    0% { transform: translate3d(0, -8vh, 0); opacity: 0; }
    8% { opacity: 1; }
    100% { transform: translate3d(0, 108vh, 0); opacity: 0.35; }
}

.lh-fx-aurora-band {
    position: absolute;
    width: 180%;
    height: 40%;
    left: -40%;
    border-radius: 50%;
    filter: blur(16px);
    opacity: 0.4;
    will-change: transform, opacity;
    animation-name: lh-aurora-wave;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes lh-aurora-wave {
    0% { transform: translate3d(0, 0, 0) rotate(-5deg); }
    100% { transform: translate3d(0, 28vh, 0) rotate(5deg); }
}

.lh-fx-confetti {
    position: absolute;
    top: 0;
    width: 8px;
    height: 12px;
    animation-name: lh-confetti-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes lh-confetti-fall {
    0% { transform: translate3d(0, -8vh, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate3d(0, 108vh, 0) rotate(720deg); opacity: 0.6; }
}

.lh-effetto-card:hover { border-color: #52525b; }
.lh-preview-phone {
    border: 3px solid #3f3f46;
    border-radius: 1.75rem;
    overflow: hidden;
    background: #111;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    min-height: 480px;
}
.lh-preview-inner {
    position: relative;
    min-height: 440px;
    overflow-x: hidden;
    overflow-y: auto;
    isolation: isolate;
}

.lh-preview-inner--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    box-sizing: border-box;
}

.lh-preview-inner--centered .lh-profile-frame-wrap,
.lh-preview-inner--centered .lh-preview-frame-wrap {
    margin: 0 auto;
    flex-shrink: 0;
}
#lh-preview-fx {
    z-index: 1;
    --lh-fx-speed: 1;
    --lh-fx-duration: calc(5s / var(--lh-fx-speed));
}
.lh-fx-contained .lh-fx-particle { animation-name: lh-float-up-box; }
.lh-fx-contained .lh-fx-snow { animation-name: lh-snow-fall-box; }
.lh-fx-contained .lh-fx-rain { animation-name: lh-rain-fall-box; }
.lh-fx-contained .lh-fx-confetti { animation-name: lh-confetti-fall-box; }
.lh-fx-contained .lh-fx-bubble { animation-name: lh-bubble-rise-box; }
.lh-fx-contained .lh-fx-heart { animation-name: lh-heart-float-box; }
.lh-fx-contained .lh-fx-ember { animation-name: lh-ember-rise-box; }
.lh-fx-contained .lh-fx-matrix-col { animation-name: lh-matrix-fall-box; top: -15%; }
@keyframes lh-float-up-box {
    0% { top: 108%; opacity: 0; }
    12% { opacity: 1; }
    100% { top: -12%; opacity: 0; }
}
@keyframes lh-snow-fall-box {
    0% { top: -8%; }
    100% { top: 108%; }
}
@keyframes lh-rain-fall-box {
    0% { top: -8%; opacity: 0; }
    15% { opacity: 1; }
    100% { top: 108%; opacity: 0.35; }
}
@keyframes lh-confetti-fall-box {
    0% { top: -8%; transform: rotate(0deg); opacity: 1; }
    100% { top: 108%; transform: rotate(720deg); opacity: 0.6; }
}
@keyframes lh-bubble-rise-box {
    0% { top: 108%; transform: scale(0.3); opacity: 0; }
    12% { opacity: 0.7; }
    100% { top: -12%; transform: scale(1); opacity: 0; }
}
@keyframes lh-heart-float-box {
    0% { top: 108%; transform: rotate(0deg); opacity: 0; }
    15% { opacity: 0.85; }
    100% { top: -12%; transform: rotate(20deg); opacity: 0; }
}
@keyframes lh-ember-rise-box {
    0% { top: 108%; transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    100% { top: -12%; transform: translateX(var(--drift, 20px)); opacity: 0; }
}
@keyframes lh-matrix-fall-box {
    0% { top: -15%; }
    100% { top: 115%; }
}
.lh-preview-links .lh-preview-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.45rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--lh-btn-radius, 0.65rem);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
}

.lh-preview-links .lh-preview-link-btn i {
    font-size: 0.7rem;
    flex-shrink: 0;
}
#lh-preview-aside {
    position: relative;
}
@media (min-width: 1024px) {
    /* overflow-x:hidden sugli antenati spezza position:sticky */
    body.lh-dash-page,
    body.lh-dash-page .lh-acc-app {
        overflow-x: clip;
    }
    body.lh-dash-page .lh-acc-main {
        overflow-x: clip !important;
        overflow-y: visible !important;
    }
    body.lh-dash-page .lh-dash-layout {
        align-items: flex-start;
    }

    body.lh-dash-page #lh-preview-aside {
        position: sticky;
        top: 1.25rem;
        align-self: flex-start;
        z-index: 25;
        max-height: calc(100dvh - 2.5rem);
        overflow: visible;
    }

    #lh-preview-aside {
        position: sticky;
        top: 1.25rem;
        align-self: flex-start;
        max-height: calc(100dvh - 2.5rem);
        overflow: visible;
    }
    #lh-preview-aside .lh-preview-phone {
        overflow: hidden;
        max-height: calc(100dvh - 4.5rem);
    }
    #lh-preview-aside .lh-preview-inner {
        max-height: min(72vh, 560px);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: #52525b transparent;
    }
    #lh-preview-aside .lh-preview-inner.lh-preview-inner--sync {
        justify-content: flex-start;
        align-items: center;
        min-height: 100%;
        padding-top: 6%;
        padding-bottom: 40%;
        scroll-behavior: auto;
    }

    body.lh-dash-page #lh-preview-aside .lh-preview-inner {
        max-height: min(78vh, 580px);
    }
}
.lh-preview-phone.lh-preview-pulse .lh-preview-inner {
    animation: lh-preview-section-pulse 0.55s ease;
}
@keyframes lh-preview-section-pulse {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(168, 85, 247, 0); }
    50% { box-shadow: inset 0 0 0 2px rgba(168, 85, 247, 0.45); }
}
.lh-preview-notch {
    width: 80px;
    height: 6px;
    background: #27272a;
    border-radius: 999px;
    margin: 8px auto 0;
}
.lh-preview-bg-blur {
    position: absolute;
    inset: -10px;
    background-size: cover;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: 0;
    pointer-events: none;
}
.lh-preview-bg-blur.lh-preview-bg--sharp {
    inset: 0;
    filter: none;
    transform: none;
}
.lh-preview-bg-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
    pointer-events: none;
}
.lh-theme-card-swatch {
    width: 100%;
    height: 2.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.35rem;
}
.lh-font-card { cursor: pointer; transition: border-color 0.15s; }
.lh-font-card.selected { border-color: #10b981 !important; background: rgba(16,185,129,0.08); }
.lh-effetto-card { cursor: pointer; min-height: 5rem; overflow: hidden; position: relative; }
.lh-effetto-card.selected { border-color: #a855f7 !important; }
.lh-bg-pos-frame {
    position: relative;
    height: 10rem;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: crosshair;
    border: 1px solid #3f3f46;
}
.lh-bg-pos-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.5);
    pointer-events: none;
}

/* Profilo free — decorazione leggera */
.lh-profile-free::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 10% 0%, rgba(99, 102, 241, 0.07), transparent 55%),
        radial-gradient(ellipse 50% 35% at 90% 100%, rgba(14, 165, 233, 0.06), transparent 55%);
}

.lh-theme-light.lh-profile-free::after {
    background:
        radial-gradient(ellipse 60% 40% at 12% 0%, rgba(99, 102, 241, 0.1), transparent 58%),
        radial-gradient(ellipse 50% 35% at 88% 100%, rgba(56, 189, 248, 0.08), transparent 58%);
}

.lh-profile-footer-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border-color: rgba(255,255,255,0.12);
}
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-footer-card,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-footer-card {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.08);
}

.lh-avatar-initials {
    background: linear-gradient(135deg, rgba(16,185,129,0.35), rgba(139,92,246,0.35));
    font-weight: 800;
    letter-spacing: 0.05em;
}

.lh-username-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

.lh-username-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    opacity: 0.85;
    margin-bottom: 0;
}

.lh-profile-dm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    flex-shrink: 0;
    color: #f5f3ff;
    text-decoration: none;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 55%, #4c1d95 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(76, 29, 149, 0.35);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.lh-profile-dm-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.lh-profile-dm-btn:active {
    transform: scale(0.96);
}

.lh-profile-dm-btn .bi {
    font-size: 0.85rem;
    line-height: 1;
}

/* Header identità: foto a sinistra, nome + badge a destra */
.lh-profile-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.35rem;
    box-sizing: border-box;
}

.lh-profile-identity .lh-avatar-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
}

.lh-profile-identity-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
}

.lh-profile-identity--no-avatar {
    max-width: 100%;
    justify-content: center;
}

.lh-profile-identity--no-avatar .lh-profile-identity-main {
    align-items: center;
}

.lh-profile-identity--no-avatar .lh-profile-handle-row {
    justify-content: center;
}

.lh-profile-handle {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.65;
    letter-spacing: 0.01em;
}

/* —— Banner cover (layout cerchio) —— */
.lh-content--with-banner {
    padding-top: 0 !important;
}
.lh-profile-cover {
    width: calc(100% + 2rem);
    margin: 0 -1rem 0.35rem;
    position: relative;
    z-index: 2;
}
@media (min-width: 640px) {
    .lh-profile-cover {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }
}
.lh-profile-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    min-height: 7.5rem;
    overflow: hidden;
    /* Stesso raggio dello shell: evita che il banner sbordi sopra la cornice */
    border-radius: 1.35rem 1.35rem 0 0;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(24, 24, 27, 0.95) 55%, rgba(9, 9, 11, 1) 100%);
}
.lh-profile-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lh-profile-identity--with-banner {
    --lh-avatar-size: 5.5rem;
    position: relative;
    z-index: 3;
    max-width: none;
    width: 100%;
    padding: 0 1rem 0;
    margin: -2.85rem auto 0.35rem;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}
.lh-profile-identity--with-banner .lh-avatar-wrap {
    margin-bottom: 0;
}
.lh-profile-identity--with-banner .lh-avatar-inner {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 4px 18px rgba(0, 0, 0, 0.35);
}
.lh-profile-identity--with-banner .lh-profile-identity-main {
    /* Ancora il testo in basso accanto all’avatar: non spingere il nome dentro al banner */
    min-height: var(--lh-avatar-size, 5.5rem);
    justify-content: flex-end;
    padding-bottom: 0.35rem;
    gap: 0.15rem;
}

.lh-profile-identity-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-end;
    padding-bottom: 0.2rem;
}
.lh-profile-identity--no-avatar {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}
.lh-profile-identity--no-avatar .lh-profile-identity-actions {
    align-self: center;
    flex-direction: row;
    align-items: center;
}
.lh-profile-card .lh-social-follow-row {
    width: 100%;
    margin: 0 0 0.65rem;
    justify-content: center;
}
.lh-profile-card .lh-social-follow-row .lh-social-follow-btn {
    min-width: 7.5rem;
    padding: 0.5rem 1.35rem;
}
.lh-profile-qr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 0.55rem;
    border: 1px solid color-mix(in srgb, var(--lh-btn-bg, #a855f7) 55%, transparent);
    background: color-mix(in srgb, var(--lh-btn-bg, #a855f7) 14%, transparent);
    color: var(--lh-btn-bg, #a855f7);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    align-self: flex-end;
}
.lh-profile-identity--no-avatar .lh-profile-qr-btn {
    align-self: center;
}
.lh-profile-qr-btn:hover {
    background: color-mix(in srgb, var(--lh-btn-bg, #a855f7) 24%, transparent);
    border-color: color-mix(in srgb, var(--lh-btn-bg, #a855f7) 75%, transparent);
    transform: translateY(-1px);
}
.lh-profile-qr-btn i {
    font-size: 1.15rem;
    line-height: 1;
}
@media (max-width: 420px) {
    .lh-profile-identity--with-banner {
        flex-wrap: wrap;
    }
    .lh-profile-identity-actions {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
        margin-left: 0;
        padding-left: 5.75rem; /* allinea sotto il testo, a destra dell'avatar */
    }
}

/* Ultimo accesso */
.lh-profile-last-seen {
    position: absolute;
    right: 0.65rem;
    bottom: 0.55rem;
    /* Sotto identity/badge tooltip (z≥3) e sotto menu ⋯ (z≥6) */
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}
.lh-profile-last-seen--hero {
    right: 0.75rem;
    bottom: 0.75rem;
}
.lh-profile-identity-plain {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 0.55rem;
    padding-top: 1.35rem;
    box-sizing: border-box;
}
.lh-profile-identity-plain .lh-profile-identity {
    margin: 0;
    max-width: none;
    width: 100%;
    align-items: center;
    gap: 0.75rem 0.9rem;
}
.lh-profile-identity-plain .lh-profile-identity-main {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
}
.lh-profile-identity-plain .lh-profile-name-row {
    flex-wrap: nowrap;
    width: 100%;
}
.lh-profile-identity-plain .lh-profile-display-name {
    white-space: nowrap;
    word-break: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.lh-profile-identity-plain .lh-profile-identity-actions {
    flex-direction: row;
    align-items: center;
    align-self: center;
    margin-left: 0.25rem;
    padding-bottom: 0;
    gap: 0.4rem;
}
.lh-profile-identity-plain .lh-profile-qr-btn {
    align-self: center;
}
.lh-profile-more--plain {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 6;
}
.lh-profile-last-seen--plain {
    position: absolute;
    top: 0.15rem;
    right: 2.6rem;
    left: auto;
    bottom: auto;
    z-index: 2;
    max-width: calc(100% - 3.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Menu ⋯ */
.lh-profile-more {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 6;
}
.lh-profile-more--hero {
    top: 0.7rem;
    right: 0.7rem;
}
.lh-profile-more > summary {
    list-style: none;
}
.lh-profile-more > summary::-webkit-details-marker {
    display: none;
}
.lh-profile-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.lh-profile-more-btn:hover {
    background: rgba(0, 0, 0, 0.62);
}
.lh-profile-more-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 12.5rem;
    padding: 0.35rem 0;
    border-radius: 0.65rem;
    background: #fff;
    color: #18181b;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    z-index: 8;
}
.lh-profile-more[open] {
    z-index: 50;
}
.lh-profile-more[open] .lh-profile-more-menu {
    z-index: 50;
}
.lh-profile-banner:has(.lh-profile-more[open]) {
    overflow: visible;
}
.lh-profile-more-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 0.7rem;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-radius: 2px;
}
.lh-profile-more-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #27272a;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.lh-profile-more-item i {
    width: 1.05rem;
    font-size: 0.95rem;
    opacity: 0.85;
    text-align: center;
    flex-shrink: 0;
}
.lh-profile-more-item span {
    flex: 1;
    min-width: 0;
}
.lh-profile-more-item:hover,
.lh-profile-more-item.is-copied {
    background: rgba(0, 0, 0, 0.05);
}

/* Modal QR card */
html.lh-qr-open {
    overflow: hidden;
}
.lh-profile-qr {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.lh-profile-qr.is-open {
    opacity: 1;
    pointer-events: auto;
}
.lh-profile-qr-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    cursor: pointer;
    overflow: hidden;
}
.lh-profile-qr-backdrop.has-bg {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.lh-profile-qr-backdrop.has-bg::before {
    content: '';
    position: absolute;
    inset: -28px;
    background-image: var(--lh-qr-bg);
    background-size: cover;
    background-position: var(--lh-qr-bg-pos, center);
    background-repeat: no-repeat;
    filter: blur(32px) saturate(1.08);
    transform: scale(1.14);
    z-index: 0;
    pointer-events: none;
}
.lh-profile-qr-backdrop.has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
    pointer-events: none;
}
.lh-profile-qr-dialog {
    position: relative;
    z-index: 1;
    width: min(19.5rem, 100%);
}
.lh-profile-qr-close {
    position: absolute;
    top: -0.45rem;
    right: -0.45rem;
    z-index: 2;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 0;
    background: rgba(60, 60, 67, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.lh-profile-qr-card {
    --lh-qr-accent: #7c3aed;
    border-radius: 1.15rem;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: var(--lh-qr-accent);
    color: #fff;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    text-align: center;
    padding: 1.35rem 1.25rem 0;
}
.lh-profile-qr-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 0.65rem;
}
.lh-profile-qr-logo {
    width: 2.35rem;
    height: 2.35rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
}
.lh-profile-qr-name {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}
.lh-profile-qr-handle {
    margin: 0.15rem 0 1.05rem;
    font-size: 0.98rem;
    font-weight: 500;
    opacity: 0.96;
    color: #fff;
}
.lh-profile-qr-code-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    border-radius: 0.85rem;
    background: #fff;
    margin: 0 auto;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
#lh-profile-qr-code {
    width: 196px;
    height: 196px;
}
#lh-profile-qr-code img,
#lh-profile-qr-code canvas {
    display: block;
    width: 196px !important;
    height: 196px !important;
}
.lh-profile-qr-domain {
    margin: 0.85rem 0 1.05rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0.98;
    color: #fff;
}
.lh-profile-qr-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    width: calc(100% + 2.5rem);
    margin: 0 -1.25rem;
    padding: 0.95rem 1rem 1.05rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.lh-profile-qr-download:hover {
    background: rgba(0, 0, 0, 0.3);
}
.lh-profile-qr-download i {
    font-size: 1.25rem;
    line-height: 1;
}

/* Badge profilo pubblico (pill accanto al nome) */
.lh-profile-name-row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 10px;
    max-width: 100%;
    margin: 0;
    text-align: left;
}

.lh-profile-identity--no-avatar .lh-profile-name-row {
    justify-content: center;
    text-align: center;
}

.lh-profile-display-name {
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: normal;
}

.lh-profile-identity .lh-profile-display-name,
.lh-profile-identity--with-banner .lh-profile-display-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.lh-profile-identity .lh-profile-name-row,
.lh-profile-identity--with-banner .lh-profile-name-row {
    flex-wrap: nowrap;
}

.lh-profile-handle-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    max-width: 100%;
    margin: 0;
    min-width: 0;
}

.lh-profile-handle-row .lh-profile-handle {
    margin: 0;
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lh-profile-handle-row .lh-profile-badges-pill {
    flex: 0 0 auto;
    padding: 2px 5px;
    gap: 3px;
}

.lh-profile-handle-row .lh-pb-badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    border-radius: 5px;
}

.lh-profile-badges-pill {
    position: relative;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    vertical-align: middle;
}

.lh-pb-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    cursor: default;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.18));
}

.lh-pb-badge--verified { color: #7dd3fc; }
.lh-pb-badge--premium { color: #d8b4fe; }
.lh-pb-badge--staff { color: #93c5fd; }
.lh-pb-badge--donor { color: #86efac; }
.lh-pb-badge--gifter { color: #fdba74; }
.lh-pb-badge--reporter { color: #86efac; }

.lh-pb-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%) scale(0.96);
    min-width: 140px;
    max-width: 220px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4f4f5;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 40;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.lh-pb-badge[data-tooltip]:hover,
.lh-pb-badge[data-tooltip]:focus-visible {
    z-index: 40;
}

.lh-pb-badge[data-tooltip]:hover::after,
.lh-pb-badge[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ── Temi migliorati + nuovi ── */
.lh-theme-retro::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(61,41,20,0.03) 2px, rgba(61,41,20,0.03) 4px);
}
.lh-theme-holo::before {
    content: '';
    position: fixed;
    inset: -30%;
    z-index: 0;
    pointer-events: none;
    background: conic-gradient(from 0deg, #6366f1, #ec4899, #22d3ee, #a855f7, #6366f1);
    opacity: 0.18;
    animation: lh-holo-spin 14s linear infinite;
    filter: blur(20px);
}
.lh-holo-btn { background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(236,72,153,0.2)) !important; }
@keyframes lh-holo-spin { to { transform: rotate(360deg); } }

.lh-theme-rose::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 50% at 80% 10%, rgba(190,24,93,0.2), transparent 55%),
                radial-gradient(ellipse 50% 40% at 10% 90%, rgba(157,23,77,0.15), transparent 50%);
    animation: lh-rose-breathe 6s ease-in-out infinite alternate;
}
@keyframes lh-rose-breathe { 0% { opacity: 0.6; } 100% { opacity: 1; } }

.lh-theme-sakura::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 30%, rgba(251,207,232,0.5), transparent 35%),
                radial-gradient(circle at 75% 70%, rgba(244,114,182,0.25), transparent 40%);
}
.lh-theme-void::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 100% 60% at 50% -10%, rgba(124,58,237,0.35), transparent 60%);
    animation: lh-void-pulse 5s ease-in-out infinite;
}
.lh-void-btn { box-shadow: 0 0 20px rgba(139,92,246,0.35); }
@keyframes lh-void-pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

.lh-theme-mint::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.12), transparent 55%);
}
.lh-theme-lava::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 40% at 50% 100%, rgba(234,88,12,0.25), transparent 55%);
    animation: lh-lava-glow 4s ease-in-out infinite alternate;
}
.lh-lava-btn { box-shadow: 0 0 16px rgba(234,88,12,0.45); animation: lh-lava-flicker 3s ease-in-out infinite; }
@keyframes lh-lava-glow { 0% { opacity: 0.5; } 100% { opacity: 1; } }
@keyframes lh-lava-flicker { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }

/* Neon migliorato */
.lh-theme-neon::before {
    animation: lh-neon-drift 6s ease-in-out infinite alternate, lh-neon-hue 12s linear infinite;
}
@keyframes lh-neon-hue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

/* ── Avatar wrap + effetti ── */
.lh-avatar-wrap {
    --lh-avatar-size: 5.25rem;
    --lh-avatar-ring: 3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--lh-avatar-size) + var(--lh-avatar-ring) * 2);
    height: calc(var(--lh-avatar-size) + var(--lh-avatar-ring) * 2);
    border-radius: 50%;
    margin-bottom: 1rem;
    padding: var(--lh-avatar-ring);
    box-sizing: border-box;
    flex-shrink: 0;
    background: transparent;
    overflow: visible;
}
.lh-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    padding: var(--lh-avatar-ring);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}
.lh-avatar-inner {
    position: relative;
    z-index: 2;
    width: var(--lh-avatar-size);
    height: var(--lh-avatar-size);
    border-radius: 50%;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
    background: #0a0a0a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.lh-avatar-inner.lh-avatar-rotate {
    animation: lh-avatar-photo-spin 10s linear infinite;
}
.lh-avatar-inner img.lh-avatar-photo,
.lh-avatar-inner .lh-avatar-initials {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    box-shadow: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.lh-avatar-inner .lh-avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-avatar-inner .lh-avatar-photo.hidden,
.lh-avatar-inner .lh-avatar-initials.hidden {
    display: none !important;
}
@media (min-width: 640px) {
    .lh-avatar-wrap { --lh-avatar-size: 6rem; }
}
.lh-avatar-orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    top: 50%;
    left: 50%;
    margin: -4px 0 0 -4px;
}
.lh-fx-avatar-spin_gradient::before {
    opacity: 1;
    background: conic-gradient(from 0deg, #f472b6, #818cf8, #22d3ee, #34d399, #fbbf24, #f472b6);
    animation: lh-spin 2.5s linear infinite;
}
.lh-fx-avatar-pulse_ring::before {
    opacity: 1;
    padding: 0;
    -webkit-mask: none;
    mask: none;
    border: 2px solid rgba(255,255,255,0.5);
    animation: lh-pulse-ring 2s ease-out infinite;
}
.lh-fx-avatar-neon_orbit .lh-avatar-orbit-dot:nth-child(1) {
    background: #e879f9;
    box-shadow: 0 0 10px #e879f9;
    animation: lh-orbit 3s linear infinite;
}
.lh-fx-avatar-neon_orbit .lh-avatar-orbit-dot:nth-child(2) {
    background: #22d3ee;
    box-shadow: 0 0 10px #22d3ee;
    animation: lh-orbit 3s linear infinite reverse;
    animation-delay: -1.5s;
}
.lh-fx-avatar-electric {
    animation: lh-electric-border 0.8s steps(2) infinite;
    box-shadow: 0 0 12px rgba(96,165,250,0.6), inset 0 0 8px rgba(96,165,250,0.2);
}
.lh-fx-avatar-fire_ring::before {
    opacity: 1;
    background: conic-gradient(from 0deg, #f97316, #ef4444, #fbbf24, #f97316);
    animation: lh-spin 1.5s linear infinite;
    filter: blur(0.5px);
}
.lh-fx-avatar-diamond::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(200,200,255,0.4), rgba(255,255,255,0.8));
    background-size: 200% 200%;
    animation: lh-diamond-shine 3s ease infinite;
}
.lh-fx-avatar-hologram::before {
    opacity: 1;
    background: linear-gradient(90deg, #ff6b9d, #c44fff, #6ecbff, #ff6b9d);
    background-size: 300% 100%;
    animation: lh-holo-slide 4s linear infinite;
}
@keyframes lh-spin { to { transform: rotate(360deg); } }
@keyframes lh-avatar-photo-spin { to { transform: rotate(360deg); } }
@keyframes lh-pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 0; }
}
@keyframes lh-orbit {
    0% { transform: rotate(0deg) translateX(calc(var(--lh-avatar-size) / 2 + var(--lh-avatar-ring))) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(calc(var(--lh-avatar-size) / 2 + var(--lh-avatar-ring))) rotate(-360deg); }
}
@keyframes lh-electric-border {
    0%, 100% { box-shadow: 0 0 8px #60a5fa, 0 0 16px #3b82f6; }
    50% { box-shadow: 0 0 20px #93c5fd, 0 0 30px #60a5fa; }
}
@keyframes lh-diamond-shine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes lh-holo-slide { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }

/* ── Card profilo (vetro) + cornice sulla card interna ── */
.lh-profile-card {
    position: relative;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    padding: 0 0.75rem;
    border-radius: 0;
    overflow: visible;
}
.lh-profile-glass .lh-profile-card-inner,
.lh-glass-panel {
    background: rgba(8, 8, 14, 0.55);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Tema chiaro — card leggibile (niente grigio/contrasto su sfondo bianco) */
.lh-theme-light .lh-profile-glass .lh-profile-card-inner,
.lh-theme-light .lh-glass-panel,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-glass .lh-profile-card-inner,
.lh-profile-wrap[style*="background-color: #fff"] .lh-glass-panel,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-glass .lh-profile-card-inner,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px) saturate(1.05);
    -webkit-backdrop-filter: blur(12px) saturate(1.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: #0f172a;
}

.lh-theme-light .lh-username-badge,
.lh-profile-wrap[style*="background-color: #fff"] .lh-username-badge,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-username-badge {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
    opacity: 1;
}

.lh-theme-light .lh-profile-badges-pill,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-badges-pill,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-badges-pill {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.1);
}

.lh-theme-light .lh-pb-badge {
    color: #334155;
    filter: none;
}

.lh-theme-light .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #fff"] .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #f5f0e6"] .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #ecfdf5"] .lh-stat-pill {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
}

.lh-theme-light .lh-stat-like-btn:hover {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.14);
}

.lh-theme-light .lh-stat-label {
    color: #64748b;
}

.lh-profile-empty-links {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.lh-theme-light .lh-profile-empty-links {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.1);
    color: #475569;
}

.lh-theme-light .lh-profile-welcome {
    color: #64748b;
    opacity: 1;
}

.lh-theme-light .lh-avatar-initials {
    background: linear-gradient(135deg, #c4b5fd, #7dd3fc);
    color: #1e1b4b;
}

/* Segui: contrasto leggibile su card glass / temi chiari */
.lh-theme-light .lh-social-follow-btn,
.lh-profile-wrap[style*="background-color: #fff"] .lh-social-follow-btn,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-social-follow-btn,
.lh-theme-light .lh-social-follow-btn:hover,
.lh-profile-wrap[style*="background-color: #fff"] .lh-social-follow-btn:hover,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-social-follow-btn:hover {
    background: #6d28d9;
    border-color: #5b21b6;
    color: #ffffff;
}

.lh-theme-light .lh-social-follow-btn.is-following,
.lh-profile-wrap[style*="background-color: #fff"] .lh-social-follow-btn.is-following,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-social-follow-btn.is-following,
.lh-theme-light .lh-profile-glass .lh-social-follow-btn.is-following,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-glass .lh-social-follow-btn.is-following,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-glass .lh-social-follow-btn.is-following {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

.lh-theme-light .lh-social-follow-btn.is-following:hover,
.lh-profile-wrap[style*="background-color: #fff"] .lh-social-follow-btn.is-following:hover,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-social-follow-btn.is-following:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.lh-profile-card-inner {
    position: relative;
    z-index: 2;
    border-radius: 1.35rem;
    /* Bottom tight: audio player lives under the card */
    padding: 1.25rem 1.25rem 0.85rem;
    overflow: visible;
}
.lh-profile-shell-card .lh-profile-card-inner.lh-content {
    padding-top: 1.25rem;
    padding-bottom: 0.75rem;
}
@media (min-width: 640px) {
    .lh-profile-shell-card .lh-profile-card-inner.lh-content {
        padding-top: 1.5rem;
        padding-bottom: 0.85rem;
    }
}
.lh-profile-card-inner > *:not(.lh-profile-card-border):not(.lh-card-glow-spot) {
    position: relative;
    z-index: 4;
}
/* Identità / menu ⋯ sopra follow+stats (il menu overflowa su di loro) */
.lh-profile-card-inner > .lh-profile-identity-plain,
.lh-profile-card-inner > .lh-profile-cover,
.lh-profile-card-inner > .lh-profile-identity {
    z-index: 12;
}
.lh-profile-card-inner > .lh-social-follow-row,
.lh-profile-card-inner > .lh-profile-stats,
.lh-profile-card-inner > .lh-profile-bio-box {
    z-index: 3;
}
.lh-profile-card-inner > *:not(.lh-profile-card-border):not(.lh-card-glow-spot):has(.lh-profile-more[open]),
.lh-profile-cover:has(.lh-profile-more[open]),
.lh-profile-hero:has(.lh-profile-more[open]) {
    z-index: 40;
}
.lh-profile-card-border {
    --lh-frame-w: 2px;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    /* Sopra banner/cover (z-index 12): la cornice chiude i bordi e non lascia sbordare */
    z-index: 20;
    padding: var(--lh-frame-w);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    background: transparent;
}
.lh-fx-frame-snake .lh-profile-card-border {
    background: conic-gradient(from var(--lh-snake-angle, 0deg), transparent 55%, #22d3ee 72%, #e879f9 82%, transparent 95%);
    animation: lh-snake-rotate 4s linear infinite;
}
.lh-fx-frame-border_flow .lh-profile-card-border {
    background: linear-gradient(90deg, #22d3ee, #a855f7, #f472b6, #22d3ee);
    background-size: 300% 100%;
    animation: lh-border-flow 3s linear infinite;
}
.lh-fx-frame-scanline .lh-profile-card-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: var(--lh-frame-w);
    background: linear-gradient(180deg, transparent 0%, rgba(34, 211, 238, 0.95) 49%, rgba(34, 211, 238, 0.95) 51%, transparent 100%);
    background-size: 100% 220%;
    background-position: 0% 0%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: lh-scanline-ring 3s linear infinite;
    box-shadow: none;
}
.lh-fx-frame-aurora_frame .lh-profile-card-border {
    background: linear-gradient(135deg, #6ee7b7, #818cf8, #f472b6, #6ee7b7);
    background-size: 400% 400%;
    animation: lh-aurora-frame 6s ease infinite;
}
.lh-fx-frame-none .lh-profile-card-border {
    display: none;
}
@property --lh-snake-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes lh-snake-rotate { to { --lh-snake-angle: 360deg; } }
@keyframes lh-border-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
@keyframes lh-scanline-ring {
    0% { background-position: 0% 0%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { background-position: 0% 100%; opacity: 0; }
}
@keyframes lh-aurora-frame {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── Effetti link (hover) ── */
.lh-profile-link {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--lh-btn-radius, 0.75rem);
}
.lh-fx-link-glow_hover:hover {
    box-shadow: 0 0 24px rgba(255,255,255,0.25), 0 0 48px rgba(139,92,246,0.2) !important;
}
.lh-fx-link-slide_shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.lh-fx-link-slide_shine:hover::after { left: 150%; }
.lh-fx-link-lift_pop { transition: transform 0.2s ease, box-shadow 0.2s ease !important; }
.lh-fx-link-lift_pop:hover { transform: translateY(-4px) scale(1.02) !important; box-shadow: 0 12px 28px rgba(0,0,0,0.2) !important; }
.lh-fx-link-neon_border {
    border: 1px solid rgba(232,121,249,0.4) !important;
    animation: lh-link-neon 2s ease-in-out infinite;
}
@keyframes lh-link-neon {
    0%, 100% { box-shadow: 0 0 8px rgba(217,70,239,0.3); }
    50% { box-shadow: 0 0 20px rgba(6,182,212,0.4); }
}
.lh-fx-link-magnetic { transition: transform 0.15s ease-out !important; }

/* ── Overlay ingresso (guns.lol) ── */
.lh-entry-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
.lh-entry-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.lh-entry-overlay-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 2.5rem;
    max-width: 22rem;
    animation: lh-entry-float 3s ease-in-out infinite;
}
.lh-entry-overlay-ring {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
    animation: lh-entry-pulse 2s ease-out infinite;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
}
.lh-entry-overlay-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lh-entry-overlay-initials {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.04em;
}
.lh-entry-overlay-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.lh-entry-overlay-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.lh-entry-overlay-cta i {
    font-size: 1.25rem;
    opacity: 0.9;
}
.lh-entry-overlay.is-dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
body.lh-entry-locked {
    overflow: hidden;
}

/* Promo header on public profiles */
.lh-promo-header {
    font-family: 'Inter', system-ui, sans-serif;
}
.lh-promo-brand-mark {
    width: 2.5rem;
    height: 2.5rem;
}
.lh-promo-brand-mark svg,
.lh-promo-brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
}
.lh-promo-user {
    position: relative;
}
.lh-promo-user > summary {
    list-style: none;
    cursor: pointer;
}
.lh-promo-user > summary::-webkit-details-marker {
    display: none;
}
.lh-promo-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 999px;
}
.lh-promo-user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.lh-promo-user-avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #3f3f46, #18181b);
}
.lh-promo-user[open] .lh-promo-user-avatar {
    border-color: rgba(255, 255, 255, 0.7);
}
.lh-promo-user-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 12rem;
    padding: 0.35rem;
    border-radius: 0.65rem;
    background: rgba(9, 9, 11, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.lh-promo-user-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.45rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 550;
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}
.lh-promo-user-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.lh-promo-user-menu a i {
    font-size: 0.95rem;
    opacity: 0.85;
    width: 1rem;
    text-align: center;
}
.lh-promo-user-menu .lh-promo-user-logout {
    color: #fca5a5;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 0.45rem 0.45rem;
    padding-top: 0.55rem;
}
.lh-promo-user-menu .lh-promo-user-logout:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
}

/* Profilo nascosto finché non si clicca “Clicca per aprire” — così l’apertura parte al click */
body.lh-entry-locked .lh-profile-page,
body.lh-entry-pending .lh-profile-page {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    user-select: none;
    filter: none;
    transform: none;
}
body.lh-entry-locked .lh-audio-player,
body.lh-entry-locked .lh-promo-header,
body.lh-entry-pending .lh-audio-player,
body.lh-entry-pending .lh-promo-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* Sfondo/FX pagina: niente animazioni finché locked */
body.lh-entry-locked .lh-fx-layer,
body.lh-entry-pending .lh-fx-layer {
    display: none !important;
}
body.lh-entry-locked .lh-bg-outer-ambient,
body.lh-entry-pending .lh-bg-outer-ambient {
    opacity: 0.35;
    filter: blur(18px);
}
@keyframes lh-entry-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); transform: scale(1); }
    70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); transform: scale(1.04); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); transform: scale(1); }
}
@keyframes lh-entry-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Apertura profilo (ingresso pagina) ── */
.lh-profile-wrap.lh-fx-apertura-fade_up.lh-entry-replay .lh-profile-card-inner,
.lh-preview-card-inner.lh-fx-apertura-fade_up.lh-entry-replay {
    animation: lh-apertura-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lh-profile-wrap.lh-fx-apertura-zoom_in.lh-entry-replay .lh-profile-card-inner,
.lh-preview-card-inner.lh-fx-apertura-zoom_in.lh-entry-replay {
    animation: lh-apertura-zoom-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lh-profile-wrap.lh-fx-apertura-blur_in.lh-entry-replay .lh-profile-card-inner,
.lh-preview-card-inner.lh-fx-apertura-blur_in.lh-entry-replay {
    animation: lh-apertura-blur-in 0.95s ease-out both;
}
.lh-profile-wrap.lh-fx-apertura-elastic.lh-entry-replay .lh-profile-card-inner,
.lh-preview-card-inner.lh-fx-apertura-elastic.lh-entry-replay {
    animation: lh-apertura-elastic 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.lh-profile-wrap.lh-fx-apertura-glitch.lh-entry-replay .lh-profile-card-inner,
.lh-preview-card-inner.lh-fx-apertura-glitch.lh-entry-replay {
    animation: lh-apertura-glitch 0.7s steps(2, end) both;
}
.lh-profile-wrap.lh-entry-replay .lh-profile-card-border {
    animation: lh-apertura-frame-in 1s ease-out both;
}
@keyframes lh-apertura-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes lh-apertura-zoom-in {
    from { opacity: 0; transform: scale(0.88); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes lh-apertura-blur-in {
    from { opacity: 0; filter: blur(14px); transform: scale(1.03); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes lh-apertura-elastic {
    0% { opacity: 0; transform: scale(0.6); }
    55% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes lh-apertura-glitch {
    0% { opacity: 0; transform: translate(0); filter: hue-rotate(0deg); }
    20% { opacity: 1; transform: translate(-3px, 1px); filter: hue-rotate(90deg); }
    40% { transform: translate(3px, -1px); filter: hue-rotate(-40deg); }
    60% { transform: translate(-2px, 0); }
    100% { opacity: 1; transform: translate(0); filter: none; }
}
@keyframes lh-apertura-frame-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Click FX ── */
.lh-click-fx {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    transform: scale(0);
    animation: lh-click-ripple 0.6s ease-out forwards;
}
.lh-click-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    animation: lh-sparkle-fly 0.5s ease-out forwards;
}
.lh-click-shockwave {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: lh-shockwave 0.5s ease-out forwards;
}
.lh-click-flash {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.4);
    pointer-events: none;
    z-index: 9999;
    animation: lh-flash-fade 0.35s ease-out forwards;
}
.lh-fx-btn-bounce:active { animation: lh-btn-bounce 0.35s ease !important; }
@keyframes lh-click-ripple { to { transform: scale(4); opacity: 0; } }
@keyframes lh-sparkle-fly { to { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; } }
@keyframes lh-shockwave { to { transform: scale(3); opacity: 0; } }
@keyframes lh-flash-fade { to { opacity: 0; } }
@keyframes lh-btn-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(0.92); }
    70% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.lh-bg-parallax-layer,
.lh-bg-outer-ambient.lh-bg-parallax-layer,
.lh-bg-parallax-root .lh-bg-parallax-layer {
    will-change: transform;
    transition: transform 0.08s linear;
}
/* Mobile / touch: niente cursore custom al dito */
@media (hover: none) {
    html.lh-has-custom-cursor,
    html.lh-has-custom-cursor *,
    html.lh-cursor-js,
    html.lh-cursor-js * {
        cursor: auto !important;
    }

    .lh-js-cursor {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.lh-cursor-sparkle-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2147482990;
    overflow: hidden;
}
.lh-cursor-sparkle-dot {
    position: fixed;
    width: 5px;
    height: 5px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #fde68a 40%, transparent 70%);
    box-shadow: 0 0 8px rgba(253, 230, 138, 0.8);
    pointer-events: none;
    animation: lh-cursor-sparkle-fade 0.55s ease-out forwards;
}
@keyframes lh-cursor-sparkle-fade {
    to { opacity: 0; transform: translateY(-12px) scale(0.2); }
}

/* ── Sfondo FX migliorati + nuovi ── */
.lh-fx-bubble {
    position: absolute;
    top: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
    animation-name: lh-bubble-rise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes lh-bubble-rise {
    0% { transform: translate3d(0, 108vh, 0) scale(0.3); opacity: 0; }
    10% { opacity: 0.7; }
    100% { transform: translate3d(0, -12vh, 0) scale(1); opacity: 0; }
}
.lh-fx-firefly {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 6px #fbbf24;
    animation-name: lh-firefly-drift;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@keyframes lh-firefly-drift {
    0% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translate(var(--dx, 30px), var(--dy, -80px)); opacity: 0; }
}
.lh-fx-matrix-col {
    position: absolute;
    top: 0;
    font-family: monospace;
    font-size: 12px;
    color: #4ade80;
    opacity: 0.7;
    animation-name: lh-matrix-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 2px;
}
@keyframes lh-matrix-fall {
    0% { transform: translate3d(0, -20vh, 0); }
    100% { transform: translate3d(0, 120vh, 0); }
}
.lh-fx-heart {
    position: absolute;
    top: 0;
    color: #f472b6;
    animation-name: lh-heart-float;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes lh-heart-float {
    0% { transform: translate3d(0, 108vh, 0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.85; }
    100% { transform: translate3d(0, -12vh, 0) rotate(20deg); opacity: 0; }
}
.lh-fx-glitter-bit {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    animation-name: lh-glitter-twinkle;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
@keyframes lh-glitter-twinkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}
.lh-fx-ember {
    position: absolute;
    top: 0;
    width: 4px;
    height: 4px;
    background: #f97316;
    border-radius: 50%;
    animation-name: lh-ember-rise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
}
@keyframes lh-ember-rise {
    0% { transform: translate3d(0, 108vh, 0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translate3d(var(--drift, 20px), -12vh, 0); opacity: 0; }
}

/* —— Pac-Man fx —— */
.lh-fx-pac {
    --lh-pac-size: 72px;
    position: absolute;
    top: 50%;
    width: var(--lh-pac-size);
    height: var(--lh-pac-size);
    margin-top: calc(var(--lh-pac-size) / -2);
    z-index: 3;
    pointer-events: none;
    will-change: left;
    animation-duration: var(--travel, 5s);
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-fx-contained .lh-fx-pac {
    --lh-pac-size: 34px;
}
.lh-fx-pac.is-ltr {
    left: -12%;
    animation-name: lh-pac-ltr;
}
.lh-fx-pac.is-rtl {
    left: 112%;
    animation-name: lh-pac-rtl;
}
.lh-fx-pac.is-rtl .lh-fx-pac-sprite {
    transform: scaleX(-1);
}
.lh-fx-pac-sprite {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.lh-fx-pac.is-pacman .lh-fx-pac-sprite {
    animation: lh-pac-chomp-sprite 0.28s steps(2, end) infinite;
}
@keyframes lh-pac-ltr {
    from { left: -12%; }
    to { left: 112%; }
}
@keyframes lh-pac-rtl {
    from { left: 112%; }
    to { left: -12%; }
}
@keyframes lh-pac-chomp-sprite {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.96); }
}
.lh-fx-pac.is-rtl.is-pacman .lh-fx-pac-sprite {
    animation: lh-pac-chomp-sprite-rtl 0.28s steps(2, end) infinite;
}
@keyframes lh-pac-chomp-sprite-rtl {
    0%, 100% { transform: scaleX(-1) scale(1); }
    50% { transform: scaleX(-1) scale(0.96); }
}

/* Particelle migliorate (niente glow box-shadow: costa troppo in compositing) */
.lh-fx-particle { background: rgba(255,255,255,0.7); }
.lh-fx-star { background: rgba(255,255,255,0.9); }
.lh-fx-confetti { border-radius: 1px; }
.lh-fx-ember { box-shadow: none; }
.lh-fx-firefly { box-shadow: 0 0 3px #fbbf24; }

html.lh-fx-paused .lh-fx-layer,
html.lh-fx-paused .lh-fx-layer * {
    animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
    .lh-fx-layer,
    .lh-fx-layer *,
    .lh-theme-neon::before,
    .lh-theme-aurora::before,
    .lh-theme-holo::before,
    .lh-card-animated-inner::before,
    .lh-profile-card-border,
    .lh-neon-btn {
        animation: none !important;
    }
}

/* ── Dashboard: sezioni effetti + anteprima ── */
.lh-effetti-sezione { margin-bottom: 1.25rem; }
.lh-effetti-sezione h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #a1a1aa; margin-bottom: 0.5rem; }
.lh-effetto-card { cursor: pointer; min-height: 4.5rem; overflow: hidden; position: relative; transition: border-color 0.15s, background 0.15s; }
.lh-preview-avatar-wrap.lh-avatar-wrap {
    --lh-avatar-size: 3.5rem;
    --lh-avatar-ring: 3px;
    margin-bottom: 0.75rem;
    overflow: visible;
}
.lh-preview-avatar-wrap .lh-avatar-inner,
.lh-preview-avatar-wrap .lh-preview-avatar-inner {
    width: var(--lh-avatar-size);
    height: var(--lh-avatar-size);
}
.lh-preview-avatar-wrap .lh-avatar-inner img.lh-avatar-photo,
.lh-preview-avatar-wrap .lh-avatar-inner .lh-avatar-initials {
    width: 100%;
    height: 100%;
}
.lh-preview-frame-wrap.lh-profile-card {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.lh-preview-shell {
    position: relative;
    z-index: 2;
    width: calc(100% - 1rem);
    max-width: 17rem;
    margin: 0 auto;
    border-radius: 1.1rem;
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 16px 40px rgba(0, 0, 0, 0.4);
}
.lh-preview-shell .lh-profile-shell-media,
.lh-preview-shell .lh-profile-shell-scrim {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none !important;
}
.lh-preview-shell .lh-profile-shell-media {
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(0.5px);
    transform: scale(1.04);
}
.lh-preview-shell .lh-profile-shell-media.is-sharp {
    filter: none;
    transform: none;
}
.lh-preview-shell .lh-profile-shell-scrim {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.55) 100%);
}
.lh-preview-shell.lh-preview-shell--has-banner .lh-profile-shell-media,
.lh-preview-shell.lh-preview-shell--has-banner .lh-profile-shell-scrim {
    top: 28%;
    bottom: 0;
    inset-inline: 0;
}
.lh-preview-shell .lh-profile-shell-card,
.lh-preview-shell .lh-preview-frame-wrap {
    position: relative;
    z-index: 2;
    background: transparent !important;
    box-shadow: none !important;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
}
.lh-preview-shell.has-card-bg .lh-profile-card-inner,
.lh-preview-shell.has-card-bg .lh-glass-panel,
.lh-preview-shell.has-card-bg .lh-card-3d-inner,
.lh-preview-shell.has-card-bg .lh-card-solid-inner,
.lh-preview-shell.has-card-bg .lh-card-minimal-inner,
.lh-preview-shell.has-card-bg .lh-card-neon-inner,
.lh-preview-shell.has-card-bg .lh-card-outline-inner,
.lh-preview-shell.has-card-bg .lh-card-animated-inner,
.lh-preview-shell.has-card-bg .lh-card-cursor-glow-inner {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.lh-preview-frame-wrap .lh-profile-card-inner {
    width: 100%;
    border-radius: inherit !important;
}
.lh-preview-frame-wrap .lh-glass-panel {
    background: rgba(8, 8, 14, 0.55);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.lh-preview-frame-wrap .lh-profile-card-inner { padding: 0.75rem 0.75rem 0.5rem; padding-top: 1rem; }
.lh-preview-shell .lh-content--with-banner,
.lh-preview-shell .lh-profile-card-inner.lh-content--with-banner {
    padding-top: 0 !important;
}
.lh-preview-shell .lh-profile-cover {
    width: calc(100% + 1.5rem);
    margin: 0 -0.75rem 0.25rem;
}
.lh-preview-shell .lh-profile-banner {
    min-height: 4.25rem;
    border-radius: 1.35rem 1.35rem 0 0;
}
.lh-preview-shell .lh-profile-identity--with-banner {
    --lh-avatar-size: 3.25rem;
    margin: -1.7rem auto 0.25rem;
    padding: 0 0.75rem 0;
    gap: 0.45rem 0.65rem;
}
.lh-preview-shell .lh-profile-identity--with-banner .lh-avatar-inner {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 3px 12px rgba(0, 0, 0, 0.35);
}
.lh-preview-shell .lh-profile-identity--with-banner .lh-profile-identity-main {
    min-height: var(--lh-avatar-size, 3.25rem);
    padding-bottom: 0.2rem;
}

.lh-preview-links { width: 100%; margin-top: 0.5rem; }
.lh-preview-link-btn {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--lh-btn-radius, 0.75rem);
    margin-top: 0.35rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ── Box bio sotto il nome ── */
.lh-preview-identity {
    max-width: 100%;
    margin-bottom: 0.45rem;
    padding: 0 0.25rem;
}

.lh-preview-identity .lh-avatar-wrap {
    --lh-avatar-size: 2.75rem;
}

.lh-profile-bio-box {
    width: 100%;
    max-width: 22rem;
    margin: 0.15rem auto 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}
.lh-profile-bio-text {
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.95;
    white-space: pre-wrap;
    word-break: break-word;
}
.lh-theme-light .lh-profile-bio-box,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-bio-box,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-bio-box {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

/* ── Statistiche profilo pubblico ── */
.lh-profile-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.25rem;
    box-sizing: border-box;
}
.lh-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(6px);
    min-width: 0;
    flex: 0 1 auto;
    position: relative;
}
.lh-profile-wrap[style*="background-color: #fff"] .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #f5f0e6"] .lh-stat-pill,
.lh-profile-wrap[style*="background-color: #ecfdf5"] .lh-stat-pill,
.lh-theme-light .lh-stat-pill {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
}
.lh-stat-like-btn {
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font: inherit;
    color: inherit;
}
.lh-stat-like-btn:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
}
.lh-stat-like-btn.is-liked {
    background: rgba(244,63,94,0.15);
    border-color: rgba(244,63,94,0.45);
    box-shadow: 0 0 18px rgba(244,63,94,0.2);
}
.lh-stat-like-btn.is-liked .lh-stat-icon-likes {
    color: #fb7185;
    animation: lh-stat-heart-pop 0.45s ease;
}
.lh-stat-like-btn.is-pulse { animation: lh-stat-pulse 0.45s ease; }
.lh-stat-like-btn.is-loading { opacity: 0.65; pointer-events: none; }
.lh-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.lh-stat-icon-views {
    background: rgba(56,189,248,0.18);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(56,189,248,0.15);
}
.lh-stat-icon-likes {
    background: rgba(244,63,94,0.15);
    color: #fb7185;
    box-shadow: 0 0 12px rgba(244,63,94,0.12);
}
.lh-stat-icon-followers {
    background: rgba(167,139,250,0.18);
    color: #c4b5fd;
    box-shadow: 0 0 12px rgba(139,92,246,0.15);
}
.lh-stat-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 1;
    min-width: 0;
}
.lh-stat-value {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.lh-stat-label {
    /* Solo icona + numero in riga; label nascosta (resta nel title della pill) */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@keyframes lh-stat-heart-pop {
    0% { transform: scale(1); }
    35% { transform: scale(1.35); }
    100% { transform: scale(1); }
}
@keyframes lh-stat-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* Toggle on/off dashboard */
.lh-toggle {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}
.lh-toggle-track {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #3f3f46;
    transition: background 0.2s ease;
    position: relative;
}
.lh-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}
.lh-toggle input:checked + .lh-toggle-track {
    background: #8b5cf6;
}
.lh-toggle input:checked + .lh-toggle-track::after {
    transform: translateX(20px);
}
.lh-toggle input:disabled + .lh-toggle-track {
    opacity: 0.5;
}

/* ── Stili card profilo (Premium) ── */
.lh-card-solid-inner {
    background: rgba(10, 10, 16, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: none !important;
}
.lh-card-solid .lh-profile-card-border,
.lh-card-solid-inner + .lh-profile-card-border { opacity: 0.85; }

.lh-card-minimal-inner {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px) !important;
    box-shadow: none;
}
.lh-card-minimal .lh-avatar-wrap::before { opacity: 0.75; }

.lh-card-neon-inner {
    background: rgba(6, 8, 20, 0.82) !important;
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.2), inset 0 0 20px rgba(34, 211, 238, 0.06);
}
.lh-card-neon .lh-profile-card-border {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.9), rgba(232, 121, 249, 0.9)) !important;
    opacity: 1;
}

.lh-card-outline-inner {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: none !important;
    box-shadow: none;
}
.lh-card-outline .lh-profile-card-border { opacity: 0.9; }

.lh-card-animated-inner {
    position: relative;
    overflow: hidden;
    background: rgba(8, 8, 14, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.lh-card-animated-inner::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(168, 85, 247, 0.35), transparent, rgba(34, 211, 238, 0.3), transparent);
    animation: lh-card-shimmer 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.lh-card-animated-inner > *:not(.lh-profile-card-border):not(.lh-card-glow-spot) { position: relative; z-index: 2; }
@keyframes lh-card-shimmer {
    to { transform: rotate(360deg); }
}

.lh-card-3d {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}
/* Tilt sull'intero shell (sfondo + contorno), non solo sul card-inner */
.lh-profile-frame-wrap.lh-card-tilt-root,
.lh-profile-shell.lh-card-tilt-root,
.lh-preview-inner.lh-card-tilt-root {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}
.lh-card-3d-inner {
    background: rgba(12, 12, 20, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lh-card-cursor-glow-inner {
    position: relative;
    overflow: hidden;
    background: rgba(8, 8, 16, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lh-card-glow-spot {
    position: absolute;
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}
.lh-profile-card-inner > .lh-card-glow-spot {
    position: absolute;
    z-index: 1;
}

/* Adattamento cornici avatar/card per stile */
.lh-card-neon .lh-fx-avatar-none::before,
.lh-card-neon .lh-avatar-wrap::before {
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}
.lh-card-outline .lh-profile-card-border,
.lh-card-minimal .lh-profile-card-border {
    --lh-frame-w: 1px;
}
.lh-card-solid .lh-fx-frame-none .lh-profile-card-border {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

/* —— Audio player (sotto la card profilo) —— */
.lh-audio-player {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 32rem; /* allinea a max-w-lg della card */
    min-width: 0;
    margin: 0.85rem auto 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}
.lh-audio-player-cover {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lh-audio-player.no-cover .lh-audio-player-cover,
.lh-audio-player-cover:empty {
    display: none;
}
.lh-audio-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lh-audio-cover-fallback {
    font-size: 20px;
    color: #fff;
    line-height: 1;
}
.lh-audio-player.is-playing .lh-audio-cover-fallback {
    color: #c4b5fd;
}
.lh-audio-player-body {
    flex: 1;
    min-width: 0;
}
.lh-audio-player-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
    line-height: 1.2;
}
.lh-audio-player-bar {
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    margin-bottom: 6px;
    overflow: hidden;
}
.lh-audio-player-progress {
    height: 100%;
    width: 100%;
    position: relative;
}
.lh-audio-player-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: #fff;
    transition: width 0.1s linear;
}
.lh-audio-player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}
.lh-audio-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    min-width: 32px;
    font-variant-numeric: tabular-nums;
}
.lh-audio-time:last-child {
    text-align: right;
}
.lh-audio-ctrl {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.lh-audio-ctrl:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.lh-audio-ctrl--play {
    font-size: 18px;
    color: #fff;
}
.lh-audio-player.is-playing .lh-audio-ctrl--play {
    color: #c4b5fd;
}

@media (max-width: 480px) {
    .lh-audio-player {
        margin-top: 0.75rem;
        padding: 10px 12px;
        max-width: 100%;
    }
}

/* —— Avatar hero + link grid / sections —— */
.lh-profile-page--hero .lh-profile-stage {
  margin-top: 0.85rem;
  position: relative;
  z-index: 3;
}
.lh-profile-hero {
  position: relative;
  /* Stesso box della card profilo (max-w-lg + padding stage) */
  width: min(32rem, calc(100% - 2rem));
  margin: 0.85rem auto 0;
  aspect-ratio: 1 / 1;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  z-index: 2;
  border-radius: 1.25rem;
  background: #0a0a0c;
  will-change: transform, opacity;
  box-sizing: border-box;
}
.lh-profile-hero-bg {
  display: none;
}
.lh-profile-hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.lh-profile-hero-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1e1b4b 0%, #0f172a 45%, #064e3b 100%);
  font-size: clamp(2.5rem, 16vw, 5rem);
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  z-index: 1;
}
.lh-profile-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.38) 34%,
    rgba(0, 0, 0, 0.1) 68%,
    transparent 100%
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
}
@media (max-width: 480px) {
  .lh-profile-hero {
    width: calc(100% - 2rem);
    border-radius: 1rem;
  }
  .lh-profile-page--hero .lh-profile-stage {
    margin-top: 0.75rem;
  }
}
.lh-profile-section-title {
  width: 100%;
  margin: 1.25rem 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  text-align: center;
}
.lh-profile-section-title:first-child { margin-top: 0; }
.lh-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 3.25rem);
  gap: 0.55rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 0.75rem;
  justify-content: center;
}
.lh-profile-grid-cell {
  width: 3.25rem;
  height: 3.25rem;
  aspect-ratio: 1 / 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  font-size: 1.15rem;
  padding: 0 !important;
  text-decoration: none;
  box-sizing: border-box;
}
.lh-profile-grid-cell i {
  font-size: 1.15rem;
  line-height: 1;
}
.lh-layout-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lh-layout-option {
  cursor: pointer;
  flex: 1 1 140px;
  position: relative;
}
.lh-layout-option input { position: absolute; opacity: 0; pointer-events: none; }
.lh-layout-option span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  font-size: 0.85rem;
  color: #d4d4d8;
}
.lh-layout-option input:checked + span {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(124, 58, 237, 0.18);
  color: #f5f3ff;
}
.lh-deco-panel.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.4);
}
.lh-deco-hero-block {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.08);
}
.lh-link-section {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.9rem;
  padding: 0.75rem;
  margin-bottom: 0.85rem;
  background: rgba(0,0,0,0.2);
}
.lh-link-section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.lh-link-section-head input {
  flex: 1;
  min-width: 0;
}
.lh-tpl-badge-official {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #059669);
  color: #fff;
}

/* —— Su di me + footer profilo —— */
.lh-profile-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.78;
  text-decoration: none;
  color: inherit;
  margin-bottom: 2rem;
}
.lh-profile-more-link:hover { opacity: 1; }
.lh-profile-about {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  scroll-margin-top: 5rem;
}
.lh-profile-about-title,
.lh-profile-footer-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  text-align: center;
}
.lh-profile-about-text {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.92;
  white-space: pre-wrap;
}
.lh-profile-footer {
  padding: 0.35rem 0 0.25rem;
  border-top: 0;
  margin-top: 0;
}
.lh-profile-divider {
  display: block;
  width: min(11.5rem, 52%);
  height: 0;
  margin: 1.1rem auto;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0.95;
  flex-shrink: 0;
}
.lh-theme-light .lh-profile-divider,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-divider,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-divider {
  border-top-color: rgba(24, 24, 27, 0.14);
}
.lh-profile-footer-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.lh-profile-qr-code-wrap {
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.55rem;
  line-height: 0;
}
.lh-profile-qr-code-wrap img,
.lh-profile-qr-code-wrap canvas {
  display: block;
  border-radius: 0.35rem;
}
.lh-profile-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.lh-profile-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: inherit;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.lh-profile-footer-btn:hover {
  background: rgba(255,255,255,0.14);
}
.lh-profile-footer-btn--ghost {
  background: transparent;
}
.lh-profile-footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: #111 !important;
  font-weight: 550;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: center;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.lh-profile-footer-cta:hover {
  background: #fafafa !important;
  border-color: rgba(0, 0, 0, 0.12);
  filter: none;
  transform: translateY(-1px);
}
.lh-profile-footer-cta:active {
  transform: translateY(0);
  background: #f4f4f5 !important;
}
.lh-theme-light .lh-profile-footer-cta,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-footer-cta,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-footer-cta {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.lh-profile-legal {
  margin-top: 1rem;
  padding-top: 0.25rem;
  margin-bottom: 0;
  text-align: center;
}
.lh-profile-legal-row {
  margin: 0.2rem 0;
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0.35rem;
}
.lh-theme-light .lh-profile-legal-row,
.lh-profile-wrap[style*="background-color: #fff"] .lh-profile-legal-row,
.lh-profile-wrap[style*="background-color: #ffffff"] .lh-profile-legal-row {
  color: rgba(24, 24, 27, 0.78);
}
.lh-profile-legal a,
.lh-profile-legal-btn {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  opacity: 0.92;
}
.lh-profile-legal a:hover,
.lh-profile-legal-btn:hover {
  text-decoration: underline;
  opacity: 1;
}
.lh-profile-legal-sep {
  opacity: 0.55;
  user-select: none;
}
.lh-profile-legal-muted {
  opacity: 0.45;
  cursor: default;
}

.lh-report-sheet {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.lh-report-sheet[hidden] { display: none !important; }
.lh-report-sheet.is-open { pointer-events: auto; }
.lh-report-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  cursor: default;
  transition: opacity 0.24s ease;
}
.lh-report-sheet.is-open .lh-report-sheet-backdrop { opacity: 1; }
.lh-report-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  max-height: min(90dvh, 36rem);
  margin: 0;
  padding: 1.15rem 1.25rem 1.35rem;
  background: #fff;
  color: #18181b;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.28);
  overflow-y: auto;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lh-report-sheet.is-open .lh-report-sheet-panel { transform: translateY(0); }
html.lh-report-sheet-open,
html.lh-report-sheet-open body { overflow: hidden; }
.lh-report-sheet-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0 2.5rem;
}
.lh-report-sheet-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.lh-report-sheet-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: #f4f4f5;
  color: #3f3f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lh-report-guest p,
.lh-report-context {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #52525b;
}
.lh-report-guest-actions,
.lh-report-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.lh-report-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3f3f46;
}
.lh-report-field input,
.lh-report-field textarea {
  width: 100%;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 400;
  color: #18181b;
  background: #fff;
  resize: vertical;
}
.lh-report-field input:focus,
.lh-report-field textarea:focus {
  outline: 2px solid rgba(16, 185, 129, 0.35);
  border-color: #34d399;
}
.lh-report-btn-primary,
.lh-report-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.lh-report-btn-primary {
  background: #111;
  color: #fff;
}
.lh-report-btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #e4e4e7;
}
.lh-report-btn-primary:disabled {
  opacity: 0.55;
  cursor: wait;
}
.lh-report-error {
  margin: 0 0 0.75rem;
  color: #dc2626;
  font-size: 0.82rem;
}
.lh-report-ok {
  margin: 0.5rem 0 0;
  color: #059669;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
@media (min-width: 640px) {
  .lh-report-sheet {
    align-items: center;
    padding: 1rem;
  }
  .lh-report-sheet-panel {
    border-radius: 1.5rem;
    transform: translateY(1rem) scale(0.98);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }
  .lh-report-sheet.is-open .lh-report-sheet-panel {
    transform: none;
    opacity: 1;
  }
}

.lh-about-sheet {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.lh-about-sheet[hidden] {
  display: none !important;
}
.lh-about-sheet.is-open {
  pointer-events: auto;
}
.lh-about-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.lh-about-sheet.is-open .lh-about-sheet-backdrop {
  opacity: 1;
}
.lh-about-sheet-panel {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(88dvh, 40rem);
  background: #fff;
  color: #18181b;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lh-about-sheet.is-open .lh-about-sheet-panel {
  transform: translateY(0);
}
html.lh-about-sheet-open,
html.lh-about-sheet-open body {
  overflow: hidden;
}
.lh-about-sheet-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 3.2rem 0.85rem;
  flex-shrink: 0;
}
.lh-about-sheet-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}
.lh-about-sheet-close {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: #f4f4f5;
  color: #3f3f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lh-about-sheet-close:hover {
  background: #e4e4e7;
}
.lh-about-sheet-body {
  overflow-y: auto;
  padding: 0.25rem 1.35rem 1.6rem;
  -webkit-overflow-scrolling: touch;
}
.lh-about-sheet-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.35rem 0 1.15rem;
}
.lh-about-sheet-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: #e4e4e7;
}
.lh-about-sheet-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #52525b;
}
.lh-about-sheet-username {
  margin: 0.75rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.lh-about-sheet-disclaimer {
  margin: 0;
  max-width: 22rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #71717a;
}
.lh-about-sheet-details {
  border-top: 1px solid #e4e4e7;
  padding-top: 1.1rem;
  text-align: left;
}
.lh-about-sheet-joined {
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #18181b;
}
.lh-about-sheet-joined .bi {
  font-size: 1.1rem;
  color: #52525b;
}
.lh-about-sheet-summary {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3f3f46;
}
.lh-about-sheet-socials-title {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #3f3f46;
}
.lh-about-sheet-socials {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #18181b;
  font-size: 0.9rem;
  line-height: 1.55;
}
.lh-about-sheet-more {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: #71717a;
  text-decoration: none;
}
.lh-about-sheet-more:hover {
  text-decoration: underline;
  color: #52525b;
}
@media (min-width: 768px) {
  .lh-about-sheet {
    align-items: center;
    padding: 1rem;
  }
  .lh-about-sheet-panel {
    border-radius: 1.25rem;
    max-height: min(82dvh, 36rem);
    transform: translateY(1.5rem) scale(0.98);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }
  .lh-about-sheet.is-open .lh-about-sheet-panel {
    transform: none;
    opacity: 1;
  }
}

/* Player sotto la card: niente spazio riservato in fondo al footer */
.lh-profile-footer {
  padding-bottom: 0;
  margin-bottom: 0;
}
body.lh-has-audio-player .lh-profile-footer {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ── Card shell stile Linktree (doppio sfondo + tile link) ── */
.lh-profile--card-shell .lh-profile-stage {
  padding: 1.25rem 0.85rem 2.75rem;
  flex-direction: column;
  align-items: center;
}
.lh-profile-shell {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}
.lh-profile-shell-media,
.lh-profile-shell-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none !important;
}
.lh-profile-shell-media {
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(0.5px);
  transform: scale(1.02);
}
.lh-profile-shell-media.is-sharp {
  filter: none;
  transform: none;
}
.lh-profile-shell-scrim {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.55) 100%);
}
/* Con banner: lo sfondo della card parte sotto il banner (non sotto la testa) */
.lh-profile-shell--has-banner {
  container-type: inline-size;
  container-name: lh-profile-shell;
}
.lh-profile-shell--has-banner .lh-profile-shell-media,
.lh-profile-shell--has-banner .lh-profile-shell-scrim {
  /* Banner full-bleed sullo shell: height ≈ width / 2.4 (min 7.5rem) */
  inset: auto 0 0 0;
  top: max(7.5rem, calc(100cqw / 2.4));
}
.lh-profile-shell--has-banner .lh-profile-shell-media {
  /* Evita che lo scale del blur rientri nell’area banner */
  transform-origin: center top;
}
.lh-profile-shell--has-banner .lh-profile-shell-media.is-sharp {
  transform: none;
}
.lh-profile-shell-card {
  position: relative;
  z-index: 2;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: auto;
  isolation: isolate;
  /* La wrap non deve essere più grande dell’inner: niente padding laterale */
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  border-radius: inherit;
  overflow: visible;
}
.lh-profile-shell-card .lh-content,
.lh-profile-shell-card .lh-profile-card-inner {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  /* Stesso raggio dello shell esterno */
  border-radius: inherit !important;
}
.lh-profile-shell-card .lh-profile-card-border {
  border-radius: inherit;
  inset: 0;
}
.lh-profile--bg-in-card .lh-profile-shell-card .lh-glass-panel,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-profile-card-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-solid-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-minimal-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-neon-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-outline-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-animated-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-3d-inner,
.lh-profile--bg-in-card .lh-profile-shell-card .lh-card-cursor-glow-inner,
.lh-profile--bg-in-card .lh-profile-glass .lh-profile-card-inner {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.lh-profile--card-shell:not(.lh-profile--bg-in-card) .lh-profile-shell {
  background: transparent;
}
.lh-profile--card-shell .lh-profile-shell-card {
  min-height: 0;
}
.lh-profile--card-shell .lh-profile-shell-card .lh-profile-card-inner,
.lh-profile--card-shell .lh-profile-shell-card .lh-content {
  min-height: 100%;
}
.lh-theme-light.lh-profile--card-shell .lh-profile-shell {
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 20px 48px rgba(15, 23, 42, 0.08);
}

.lh-social-quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.35rem;
  max-width: 22rem;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}
.lh-social-quick-btn {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  z-index: 1;
  pointer-events: auto !important;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}
.lh-social-quick-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
.lh-theme-light .lh-social-quick-btn {
  background: #111;
  color: #fff;
}

.lh-profile-links-list,
.lh-profile-section-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}
.lh-link-tile {
  position: relative;
  min-height: 3.65rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  gap: 0.65rem;
  border-radius: var(--lh-btn-radius, 0.9rem);
  justify-content: flex-start;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.lh-link-featured {
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--lh-btn-radius, 0.9rem);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  isolation: isolate;
}
.lh-link-featured-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.lh-link-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-link-featured-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1rem;
  text-align: center;
}
.lh-link-featured-bar > .lh-link-featured-label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0 2rem;
}
.lh-link-tile-thumb {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 0.65rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.12);
  font-size: 1.25rem;
}
.lh-link-tile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-profile-grid-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.lh-link-tile-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  padding-right: 2.25rem;
  text-align: center;
}
.lh-link-tile-label {
  line-height: 1.2;
  font-size: 0.95rem;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lh-link-tile-sub {
  line-height: 1.25;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.72;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lh-link-featured-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  width: 100%;
  padding: 0 2rem;
  text-align: center;
}
.lh-link-featured-label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lh-link-featured-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.78;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.lh-link-wrap {
  position: relative;
  width: 100%;
}
.lh-link-more {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  opacity: 0.72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.lh-link-wrap:has(.lh-link-featured) .lh-link-more {
  top: auto;
  bottom: 0.55rem;
  transform: none;
}
.lh-link-more:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.08);
}
.lh-link-share {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.lh-link-share[hidden] {
  display: none !important;
}
.lh-link-share.is-open {
  pointer-events: auto;
}
.lh-link-share-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  cursor: default;
  transition: opacity 0.24s ease;
}
.lh-link-share.is-open .lh-link-share-backdrop {
  opacity: 1;
}
.lh-link-share-panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  max-height: min(90dvh, 40rem);
  margin: 0;
  padding: 1.15rem 1.25rem 1.35rem;
  background: #fff;
  color: #18181b;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.28);
  overflow-y: auto;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}
.lh-link-share.is-open .lh-link-share-panel {
  transform: translateY(0);
}
html.lh-link-share-open,
html.lh-link-share-open body {
  overflow: hidden;
}
.lh-link-share-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0 2.5rem;
}
.lh-link-share-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.lh-link-share-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: #f4f4f5;
  color: #3f3f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lh-link-share-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #27272a;
  color: #fff;
  margin-bottom: 1.1rem;
}
.lh-link-share-preview-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.65rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #3f3f46;
}
.lh-link-share-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lh-link-share-preview-text {
  min-width: 0;
  flex: 1;
}
.lh-link-share-preview-title {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}
.lh-link-share-preview-url {
  margin: 0;
  font-size: 0.75rem;
  color: #a1a1aa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lh-link-share-actions {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 1.1rem;
  margin: 0 -0.15rem 0.35rem;
  scrollbar-width: none;
}
.lh-link-share-actions::-webkit-scrollbar {
  display: none;
}
.lh-link-share-action {
  flex: 0 0 auto;
  width: 4.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: none;
  padding: 0;
  text-decoration: none;
  color: #3f3f46;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}
.lh-link-share-ico {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}
.lh-link-share-ico--copy {
  background: #e4e4e7;
  color: #18181b;
}
.lh-link-share-ico--x { background: #000; }
.lh-link-share-ico--fb { background: #1877f2; }
.lh-link-share-ico--wa { background: #25d366; }
.lh-link-share-ico--li { background: #0a66c2; }
.lh-link-share-promo {
  border-top: 1px solid #e4e4e7;
  padding-top: 1.05rem;
  text-align: center;
}
.lh-link-share-promo-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
}
.lh-link-share-promo-text {
  margin: 0 0 0.95rem;
  font-size: 0.8rem;
  color: #71717a;
  line-height: 1.4;
}
.lh-link-share-promo-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.lh-link-share-promo-primary,
.lh-link-share-promo-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}
.lh-link-share-promo-primary {
  background: #111;
  color: #fff;
}
.lh-link-share-promo-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #e4e4e7;
}
.lh-link-share-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border: 0;
  border-top: 1px solid #e4e4e7;
  background: none;
  color: #71717a;
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.lh-link-share-report:hover {
  color: #3f3f46;
}
@media (min-width: 640px) {
  .lh-link-share {
    align-items: center;
    padding: 1rem;
  }
  .lh-link-share-panel {
    border-radius: 1.5rem;
    transform: translateY(1rem) scale(0.98);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }
  .lh-link-share.is-open .lh-link-share-panel {
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 480px) {
  .lh-profile-shell {
    border-radius: 1.1rem;
  }
  .lh-profile-shell-card .lh-content,
  .lh-profile-shell-card .lh-profile-card-inner {
    border-radius: inherit !important;
  }
  .lh-link-tile-text {
    padding-right: 2rem;
  }
  .lh-link-tile-label {
    font-size: 0.9rem;
  }
  .lh-link-tile-sub {
    font-size: 0.68rem;
  }
}

/* Chrome visitatore loggato: notifiche SX + hub messaggi/ticket DX */
.lh-profile-notif-dock {
  position: fixed;
  left: 1rem;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 110;
}

.lh-profile-notif-dock .lh-notif {
  display: block;
}

.lh-profile-notif-dock .lh-notif-bell {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #f4f4f5;
  background: rgba(18, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lh-profile-notif-dock .lh-notif-bell:hover,
.lh-profile-notif-dock .lh-notif-bell[aria-expanded="true"] {
  color: #fff;
  background: rgba(32, 32, 40, 0.96);
  border-color: rgba(194, 101, 224, 0.4);
}

.lh-profile-notif-dock .lh-notif-bell .bi {
  font-size: 1.25rem;
}

.lh-profile-wrap.lh-has-audio-player .lh-profile-notif-dock {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.lh-profile-wrap .lh-support {
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 901px) {
  .lh-profile-wrap .lh-support {
    bottom: 2rem;
  }
}

/* Brand icons on public profile */
.lh-brand-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.lh-brand-icon--onlyfans {
  background-color: currentColor;
  -webkit-mask-image: url('../icons/brands/onlyfans.svg');
  mask-image: url('../icons/brands/onlyfans.svg');
}
.lh-social-quick-btn .lh-brand-icon--onlyfans {
  width: 1.2rem;
  height: 1.2rem;
  background-color: currentColor;
}
.lh-theme-light .lh-social-quick-btn .lh-brand-icon--onlyfans {
  background-color: currentColor;
}
.lh-link-tile-thumb .lh-brand-icon,
.lh-profile-grid-cell .lh-brand-icon {
  width: 1.35rem;
  height: 1.35rem;
}
