/* =====================================================================
   LIGAHUB SOCIAL PANEL
   Elementor-driven shell. Default state is open; user collapse is saved
   by js/social-panel.js in localStorage.
   ===================================================================== */
:root {
    --lh-social-panel-width: 340px;
    --lh-social-panel-right: 16px;
    --lh-social-panel-top: 36px;
    --lh-social-panel-space: calc(var(--lh-social-panel-width) + var(--lh-social-panel-right) + 12px);
    --lh-social-list-max-height: 108px;
    --lh-social-transition: 260ms cubic-bezier(.22, 1, .36, 1);
    --lh-social-bg: rgba(24, 24, 26, .96);
    --lh-social-soft: rgba(255, 255, 255, .07);
    --lh-social-border: rgba(255, 255, 255, .1);
    --lh-social-text: #fff;
    --lh-social-muted: rgba(255, 255, 255, .62);
    --lh-social-accent: #8b19ff;
    --lh-social-yellow: #ffd21f;
}

.lh-social-hud,
.lh-social-panel,
.lh-site-shell {
    transition:
        transform var(--lh-social-transition),
        opacity var(--lh-social-transition),
        filter var(--lh-social-transition);
}

body.lh-social-ready:not(.lh-social-collapsed) .lh-social-hud {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px) scale(.96) !important;
}

body.lh-social-collapsed .lh-social-hud {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

.lh-social-toggle,
[data-lh-social-toggle] {
    position: relative;
    cursor: pointer;
}

.lh-social-toggle[data-lh-social-unread]::after,
[data-lh-social-toggle][data-lh-social-unread]::after {
    content: attr(data-lh-social-unread);
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 5;
    display: inline-grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    color: #111;
    background: var(--lh-social-yellow);
    box-shadow: 0 0 0 2px rgba(12, 12, 14, .95), 0 8px 18px rgba(0, 0, 0, .32);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.lh-social-panel {
    position: fixed !important;
    z-index: 99999 !important;
    top: var(--lh-social-panel-top) !important;
    right: var(--lh-social-panel-right) !important;
    left: auto !important;
    width: min(var(--lh-social-panel-width), calc(100vw - 28px)) !important;
    min-width: min(var(--lh-social-panel-width), calc(100vw - 28px)) !important;
    max-width: min(var(--lh-social-panel-width), calc(100vw - 28px)) !important;
    height: calc(100vh - 72px) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 72px) !important;
    flex-flow: column nowrap !important;
    flex-wrap: nowrap !important;
    flex: 0 0 min(var(--lh-social-panel-width), calc(100vw - 28px)) !important;
    align-self: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid var(--lh-social-border) !important;
    border-radius: 14px !important;
    color: var(--lh-social-text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 34%),
        var(--lh-social-bg) !important;
    box-shadow:
        -42px 0 64px rgba(0, 0, 0, .16),
        0 20px 58px rgba(0, 0, 0, .32) !important;
    backdrop-filter: blur(18px);
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(0) scale(1) !important;
    will-change: transform, opacity;
}

.lh-social-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -150px;
    width: 110px;
    pointer-events: none;
    opacity: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, .065) 58%,
        rgba(0, 0, 0, .16) 100%
    );
    transition: opacity var(--lh-social-transition);
}

.lh-social-collapsed .lh-social-panel::before {
    opacity: 0;
}

.lh-social-panel__inner {
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    border-radius: inherit;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.lh-social-panel > .lh-social-tabs,
.lh-social-panel > .elementor-widget-n-tabs.lh-social-tabs,
.lh-social-panel > .elementor-widget-tabs.lh-social-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-self: stretch !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.lh-social-panel .lh-social-tabs .e-n-tabs,
.lh-social-panel .lh-social-tabs .elementor-tabs {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
.lh-social-panel .lh-social-tabs .e-n-tabs-heading {
    flex: 0 0 auto !important;
}

.lh-social-panel .lh-social-tabs .elementor-tabs-content-wrapper,
.lh-social-panel .lh-social-tabs .e-n-tabs-content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-color: rgba(255, 255, 255, .42) rgba(255, 255, 255, .08);
    scrollbar-width: thin;
}

.lh-social-panel .lh-social-tabs .elementor-tabs-content-wrapper::-webkit-scrollbar,
.lh-social-panel .lh-social-tabs .e-n-tabs-content::-webkit-scrollbar {
    width: 6px;
}

.lh-social-panel .lh-social-tabs .elementor-tabs-content-wrapper::-webkit-scrollbar-track,
.lh-social-panel .lh-social-tabs .e-n-tabs-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.lh-social-panel .lh-social-tabs .elementor-tabs-content-wrapper::-webkit-scrollbar-thumb,
.lh-social-panel .lh-social-tabs .e-n-tabs-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .42);
    border-radius: 999px;
}

.lh-social-panel > .e-con-inner,
.lh-social-panel > .elementor-widget-wrap,
.lh-social-panel > .elementor-element,
.lh-social-panel > .elementor-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.lh-social-collapsed .lh-social-panel {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(calc(100% + 28px)) scale(.985) !important;
}

body.lh-social-ready .lh-site-shell,
body.lh-social-ready .lh-social-push-target,
body.lh-social-ready .lh-social-auto-push-target,
body.lh-social-ready.lh-social-body-push {
    transition:
        margin-right var(--lh-social-transition),
        padding-right var(--lh-social-transition),
        transform var(--lh-social-transition),
        filter var(--lh-social-transition) !important;
}

body.lh-social-ready:not(.lh-social-collapsed) .lh-site-shell,
body.lh-social-ready:not(.lh-social-collapsed) .lh-social-push-target,
body.lh-social-ready:not(.lh-social-collapsed) .lh-social-auto-push-target {
    margin-right: var(--lh-social-panel-space) !important;
    width: calc(100% - var(--lh-social-panel-space)) !important;
    max-width: calc(100% - var(--lh-social-panel-space)) !important;
}

body.lh-social-ready.lh-social-body-push:not(.lh-social-collapsed) {
    padding-right: var(--lh-social-panel-space) !important;
}

.lh-social-collapsed .lh-site-shell,
.lh-social-collapsed .lh-social-push-target,
.lh-social-collapsed .lh-social-auto-push-target {
    margin-right: 0 !important;
    width: auto !important;
    max-width: none !important;
}

body.lh-social-body-push.lh-social-collapsed {
    padding-right: 0 !important;
}

.lh-social-panel__header {
    position: relative;
    min-height: 122px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.lh-social-panel__cover {
    position: absolute;
    inset: 0;
    opacity: .5;
    background:
        linear-gradient(90deg, rgba(139, 25, 255, .55), rgba(255, 210, 31, .18)),
        var(--lh-social-cover, radial-gradient(circle at 70% 20%, #7c1fff, #111 64%));
    background-position: center;
    background-size: cover;
}

.lh-social-panel__header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .72));
}

.lh-social-panel__profile {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 32px;
}

.lh-social-panel__avatar,
.lh-social-person__avatar {
    display: inline-flex;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: #0c0c0d;
}

.lh-social-panel__avatar img,
.lh-social-person__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lh-social-panel__identity {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lh-social-panel__identity strong,
.lh-social-person strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.15;
}

.lh-social-panel__identity small,
.lh-social-person small {
    color: var(--lh-social-muted);
    font-size: 12px;
}

.lh-social-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-radius: 50%;
    background: #28c589;
}

.lh-social-panel__close {
    width: 34px;
    height: 34px;
    margin-left: auto;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: rgba(0, 0, 0, .42);
    cursor: pointer;
}

.lh-social-panel__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 8px 14px 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 14px;
    background: rgba(0, 0, 0, .28);
}

.lh-social-panel__tabs button {
    position: relative;
    min-height: 34px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.lh-social-panel__tabs button.is-active {
    background: linear-gradient(135deg, rgba(124, 31, 255, .72), rgba(161, 0, 255, .42));
    box-shadow:
        inset 0 -2px 0 var(--lh-social-yellow),
        0 0 16px rgba(124, 31, 255, .28);
}

.lh-social-panel__tabs button[data-lh-social-tab="messages"] {
    font-size: 0;
}

.lh-social-panel__tabs button[data-lh-social-tab="messages"]::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 8px;
    box-sizing: border-box;
    background:
        radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 4px 4px / 4px 4px no-repeat,
        radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 8px 4px / 4px 4px no-repeat,
        radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 12px 4px / 4px 4px no-repeat;
}

.lh-social-panel__tabs button[data-lh-social-tab-unread]::after,
.lh-social-tabs .elementor-tab-title[data-lh-social-tab-unread]::after,
.lh-social-tabs .e-n-tab-title[data-lh-social-tab-unread]::after {
    content: attr(data-lh-social-tab-unread);
    position: absolute;
    top: -7px;
    right: -4px;
    z-index: 8;
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    color: #111;
    background: var(--lh-social-yellow);
    box-shadow: 0 0 0 2px rgba(12, 12, 14, .96), 0 8px 18px rgba(0, 0, 0, .34);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    pointer-events: none;
}

.lh-social-tabs .elementor-tabs-wrapper,
.lh-social-tabs .e-n-tabs-heading {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin: 8px 14px 8px !important;
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, .065) !important;
    border-radius: 14px !important;
    background: rgba(0, 0, 0, .28) !important;
}

.lh-social-tabs .elementor-tab-title,
.lh-social-tabs .e-n-tab-title {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.lh-social-tabs .elementor-tab-title.elementor-active,
.lh-social-tabs .e-n-tab-title[aria-selected="true"] {
    background: linear-gradient(135deg, rgba(124, 31, 255, .72), rgba(161, 0, 255, .42)) !important;
    box-shadow:
        inset 0 -2px 0 var(--lh-social-yellow),
        0 0 16px rgba(124, 31, 255, .28) !important;
}

.lh-social-tabs .elementor-tab-title::before,
.lh-social-tabs .e-n-tab-title::before {
    color: currentColor;
    font-family: "Arial", sans-serif;
    font-size: 18px;
    line-height: 1;
}

.lh-social-tabs .elementor-tab-title:nth-child(1)::before,
.lh-social-tabs .e-n-tab-title:nth-child(1)::before {
    content: "☷";
}

.lh-social-tabs .elementor-tab-title:nth-child(2)::before,
.lh-social-tabs .e-n-tab-title:nth-child(2)::before {
    content: "";
    width: 20px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 8px;
    box-sizing: border-box;
    background:
        radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 4px 4px / 4px 4px no-repeat,
        radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 8px 4px / 4px 4px no-repeat,
        radial-gradient(circle, currentColor 0 2px, transparent 2.4px) 12px 4px / 4px 4px no-repeat;
}

.lh-social-tabs .elementor-tab-title:nth-child(3)::before,
.lh-social-tabs .e-n-tab-title:nth-child(3)::before {
    content: "✚";
}

.lh-social-tabs .elementor-tab-title:nth-child(4)::before,
.lh-social-tabs .e-n-tab-title:nth-child(4)::before {
    content: "\270E";
    font-size: 16px;
}

.lh-social-tabs .elementor-tab-content,
.lh-social-tabs .e-con.e-active {
    border: 0 !important;
    padding: 0 14px 18px !important;
    color: #fff !important;
    background: transparent !important;
}

.lh-social-friends-tabs .elementor-tabs-wrapper,
.lh-social-friends-tabs .e-n-tabs-heading {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    margin: 0 0 8px !important;
    padding: 4px !important;
    border: 1px solid rgba(255, 255, 255, .055) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .045) !important;
}

.lh-social-friends-tabs .elementor-tab-title,
.lh-social-friends-tabs .e-n-tab-title {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, .68) !important;
    background: transparent !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

.lh-social-friends-tabs .elementor-tab-title.elementor-active,
.lh-social-friends-tabs .e-n-tab-title[aria-selected="true"] {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(124, 31, 255, .6), rgba(255, 210, 31, .16)) !important;
    box-shadow: inset 0 -2px 0 var(--lh-social-yellow) !important;
}

.lh-social-friends-tabs .elementor-tab-content,
.lh-social-friends-tabs .e-con.e-active {
    border: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
}

.lh-social-panel__search {
    display: flex;
    align-items: center;
    height: 28px;
    margin: 0 14px 6px;
    padding: 0 12px;
    gap: 8px;
    border-radius: 9px;
    color: var(--lh-social-muted);
    background: rgba(255, 255, 255, .07);
}

.lh-social-panel__search input {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    color: #fff;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: 1 !important;
}

.lh-social-panel__search input:focus {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.lh-social-panel__search input::placeholder {
    color: rgba(255, 255, 255, .44);
}

.lh-social-panel__body {
    height: calc(100% - 226px);
    overflow: auto;
    padding: 0 14px 18px;
}

.lh-social-tab {
    display: none;
}

.lh-social-tab.is-active {
    display: block;
}

.lh-social-section {
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
}

.lh-social-section[open] {
    position: relative;
}

.lh-social-section[open]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 18px;
    pointer-events: none;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(31, 31, 33, 0), rgba(31, 31, 33, .92));
}

.lh-social-section summary {
    display: flex;
    justify-content: space-between;
    padding: 7px 12px;
    color: rgba(255, 255, 255, .72);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.lh-social-section summary::-webkit-details-marker {
    display: none;
}

.lh-social-person,
.lh-social-request {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px;
}

.lh-social-person {
    color: inherit;
    text-decoration: none;
}

.lh-social-conversation {
    width: 100%;
    border: 0;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.lh-social-shortcode--messages .lh-social-section {
    border: 0;
    background: transparent;
}

.lh-social-shortcode--messages .lh-social-section::after {
    display: none;
}

.lh-social-shortcode--messages .lh-social-section summary {
    padding: 7px 4px 10px;
}

.lh-social-shortcode--messages .lh-social-section[open] > .lh-social-list {
    max-height: calc(100vh - 330px);
    padding-right: 3px;
}

.lh-social-conversation-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 48px;
    padding: 6px 4px;
    background: transparent;
}

.lh-social-conversation-row .lh-social-person__avatar {
    width: 34px;
    height: 34px;
}

.lh-social-conversation-row__text {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.lh-social-conversation-row__text strong,
.lh-social-conversation-row__text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lh-social-conversation-row__text strong {
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.lh-social-conversation-row__text small {
    display: block;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 700;
}

.lh-social-conversation-row time {
    align-self: center;
    color: rgba(255, 255, 255, .34);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.lh-social-conversation-row.has-unread {
    background: rgba(255, 255, 255, .085);
    box-shadow:
        inset 2px 0 0 var(--lh-social-yellow),
        0 8px 20px rgba(0, 0, 0, .16);
}

.lh-social-conversation-row.has-unread .lh-social-conversation-row__text strong,
.lh-social-conversation-row.has-unread .lh-social-conversation-row__text small {
    color: #fff;
}

.lh-social-unread-badge {
    align-self: center;
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    color: #111;
    background: var(--lh-social-yellow);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
}

.lh-social-roster-row {
    min-height: 35px;
}

.lh-social-roster-row .lh-social-person__avatar {
    position: relative;
    width: 26px;
    height: 26px;
    border: 0;
    background: #08080a;
}

.lh-social-roster-row .lh-social-team-avatar {
    border: 1px solid rgba(255, 210, 31, .22);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(124, 31, 255, .24), rgba(255, 210, 31, .08)),
        #101012;
}

.lh-social-roster-row .lh-social-person__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lh-social-roster-row .lh-social-person__avatar b {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.lh-social-roster-row .lh-social-person__avatar b::before,
.lh-social-roster-row .lh-social-person__avatar b::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ff425a;
}

.lh-social-roster-row .lh-social-person__avatar b::before {
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.lh-social-roster-row .lh-social-person__avatar b::after {
    bottom: 8px;
    width: 18px;
    height: 8px;
    border-radius: 9px 9px 4px 4px;
}

.lh-social-presence-dot {
    position: absolute;
    right: -1px;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid #18181a;
    border-radius: 50%;
    background: #25c489;
}

.lh-social-roster-row[data-lh-presence="offline"] .lh-social-presence-dot,
.lh-social-person__avatar[data-lh-presence="offline"] .lh-social-presence-dot {
    background: rgba(255, 255, 255, .38);
}

.lh-social-roster-row[data-lh-presence="offline"] small {
    color: rgba(255, 255, 255, .48);
}

.lh-social-device-icon {
    display: inline-block;
    width: 10px;
    height: 8px;
    margin-right: 4px;
    border: 1px solid currentColor;
    border-radius: 1px;
    opacity: .75;
    vertical-align: -1px;
}

.lh-social-device-icon::after {
    content: "";
    display: block;
    width: 5px;
    height: 1px;
    margin: 8px auto 0;
    background: currentColor;
}

.lh-social-roster-row strong {
    font-size: 12px;
    font-weight: 900;
}

.lh-social-roster-row small {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .64);
    font-size: 10px;
}

.lh-social-list {
    display: grid;
    gap: 2px;
}

.lh-social-section[open] > .lh-social-list,
.lh-social-section[open] > .lh-social-embed,
.lh-social-section[open] > .lh-social-scroll {
    max-height: var(--lh-social-list-max-height);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .3) rgba(255, 255, 255, .06);
}

.lh-social-section[open] > .lh-social-list::-webkit-scrollbar,
.lh-social-section[open] > .lh-social-embed::-webkit-scrollbar,
.lh-social-section[open] > .lh-social-scroll::-webkit-scrollbar,
.lh-social-search-results::-webkit-scrollbar {
    width: 8px;
}

.lh-social-section[open] > .lh-social-list::-webkit-scrollbar-track,
.lh-social-section[open] > .lh-social-embed::-webkit-scrollbar-track,
.lh-social-section[open] > .lh-social-scroll::-webkit-scrollbar-track,
.lh-social-search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .045);
    border-radius: 10px;
}

.lh-social-section[open] > .lh-social-list::-webkit-scrollbar-thumb,
.lh-social-section[open] > .lh-social-embed::-webkit-scrollbar-thumb,
.lh-social-section[open] > .lh-social-scroll::-webkit-scrollbar-thumb,
.lh-social-search-results::-webkit-scrollbar-thumb {
    border: 2px solid rgba(31, 31, 33, .94);
    border-radius: 10px;
    background: rgba(255, 255, 255, .34);
}

.lh-social-empty {
    padding: 7px 12px;
    color: var(--lh-social-muted);
    font-size: 12px;
    font-weight: 700;
}

.lh-social-search-results {
    display: grid;
    gap: 6px;
    max-height: var(--lh-social-list-max-height);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 6px;
}

body:not(.logged-in) .lh-social-panel,
body.lh-social-guest .lh-social-panel {
    --lh-social-list-max-height: none;
}

body:not(.logged-in) .lh-social-tabs .elementor-tabs-wrapper,
body:not(.logged-in) .lh-social-tabs .e-n-tabs-heading,
body:not(.logged-in) .lh-social-panel__tabs,
body.lh-social-guest .lh-social-tabs .elementor-tabs-wrapper,
body.lh-social-guest .lh-social-tabs .e-n-tabs-heading,
body.lh-social-guest .lh-social-panel__tabs {
    display: grid !important;
}

body:not(.logged-in) .lh-social-tabs .elementor-tab-content,
body:not(.logged-in) .lh-social-tabs .e-con.e-active,
body.lh-social-guest .lh-social-tabs .elementor-tab-content,
body.lh-social-guest .lh-social-tabs .e-con.e-active {
    padding-top: 12px !important;
}

body:not(.logged-in) .lh-social-panel__search,
body.lh-social-guest .lh-social-panel__search {
    display: none !important;
}

body.lh-social-guest .lh-social-panel.is-guest .lh-social-tabs,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-panel__tabs,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-shortcode {
    display: none !important;
}

body.lh-social-guest .lh-social-panel__profile.is-guest {
    align-items: flex-start;
}

.lh-social-guest-avatar {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--lh-social-accent), #b41dff);
}

.lh-social-guest-gate {
    display: grid;
    gap: 10px;
    margin: 18px 14px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    color: #fff;
    text-align: center;
    background: rgba(255, 255, 255, .055);
}

.lh-social-guest-gate strong {
    font-size: 17px;
}

.lh-social-guest-gate p {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.45;
}

.lh-social-guest-gate a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.lh-social-guest-gate__primary {
    background: linear-gradient(135deg, var(--lh-social-accent), #b41dff);
}

.lh-social-guest-gate__secondary {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .07);
}

body:not(.logged-in) .lh-social-section,
body.lh-social-guest .lh-social-section {
    margin-top: 8px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .055);
}

body:not(.logged-in) .lh-social-section[open]::after,
body.lh-social-guest .lh-social-section[open]::after {
    display: none;
}

body:not(.logged-in) .lh-social-section[open] > .lh-social-list,
body.lh-social-guest .lh-social-section[open] > .lh-social-list {
    max-height: none;
    overflow: visible;
}

body:not(.logged-in) .lh-social-empty,
body.lh-social-guest .lh-social-empty {
    padding: 9px 12px 12px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.35;
}

.lh-social-result {
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
}

.lh-social-roster-row {
    border-radius: 8px;
    transition:
        background var(--lh-social-transition),
        transform var(--lh-social-transition),
        box-shadow var(--lh-social-transition);
}

.lh-social-roster-row:hover {
    background: rgba(255, 255, 255, .105);
    box-shadow: inset 2px 0 0 var(--lh-social-yellow);
    transform: translateX(1px);
}

/* Riot-like compact pass: calmer surfaces, lighter rows, clearer groups. */
.lh-social-panel .lh-social-panel__search {
    height: 32px;
    margin: 0 14px 12px;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, .075);
    box-shadow: none;
}

.lh-social-panel .lh-social-section {
    margin-top: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.lh-social-panel .lh-social-section[open]::after {
    display: none;
}

.lh-social-panel .lh-social-section summary {
    min-height: 28px;
    padding: 0 6px 6px;
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: none;
}

.lh-social-panel .lh-social-section summary span {
    color: rgba(255, 255, 255, .78);
}

.lh-social-panel .lh-social-list {
    gap: 3px;
}

.lh-social-panel .lh-social-roster-row,
.lh-social-panel .lh-social-result,
.lh-social-panel .lh-social-request,
.lh-social-panel .lh-social-conversation-row {
    min-height: 42px;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
}

.lh-social-panel .lh-social-roster-row:hover,
.lh-social-panel .lh-social-roster-row:focus-visible,
.lh-social-panel .lh-social-conversation-row.has-unread {
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 2px 0 0 rgba(255, 70, 85, .82);
    transform: none;
}

.lh-social-panel .lh-social-person__avatar,
.lh-social-panel .lh-social-roster-row .lh-social-person__avatar {
    width: 30px;
    height: 30px;
    background: #08090b;
}

.lh-social-panel .lh-social-team-avatar,
.lh-social-panel .lh-social-roster-row .lh-social-team-avatar {
    border-color: rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: #101113;
}

.lh-social-panel .lh-social-roster-row strong {
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    font-weight: 900;
}

.lh-social-panel .lh-social-roster-row small {
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    font-weight: 750;
}

.lh-social-panel .lh-social-person button,
.lh-social-panel .lh-social-request button,
.lh-social-panel .lh-social-icon-action {
    min-width: 30px;
    min-height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.lh-social-panel .lh-social-person button:hover,
.lh-social-panel .lh-social-request button:hover,
.lh-social-panel .lh-social-icon-action:hover {
    background: rgba(255, 255, 255, .14);
}

.lh-social-panel .lh-social-shortcode--dreamteam .lh-social-section {
    padding: 10px 0 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
}

.lh-social-panel .lh-social-shortcode--dreamteam .lh-social-section summary {
    padding: 0 12px 7px;
}

.lh-social-panel .lh-social-shortcode--dreamteam .lh-social-list {
    padding: 0 6px;
}

.lh-social-embed {
    padding: 10px;
}

.lh-social-person > span:nth-child(2),
.lh-social-request > span:nth-child(2) {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 2px;
}

.lh-social-person button,
.lh-social-request button {
    min-height: 30px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .09);
    cursor: pointer;
}

.lh-social-add-form {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
}

.lh-social-add-form__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
}

.lh-social-add-form label {
    display: flex;
    align-items: center;
    height: 32px;
    min-width: 0;
    padding: 0 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .075);
}

.lh-social-add-form label span {
    flex: 0 0 auto;
    margin-right: 7px;
    font-weight: 900;
}

.lh-social-add-form input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    color: #fff;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit !important;
}

.lh-social-add-form input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.lh-social-add-form > button {
    height: 34px;
    border: 0;
    border-radius: 7px;
    color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .075);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.lh-social-add-form > button:not(:disabled):hover {
    color: #171719;
    background: var(--lh-social-yellow);
}

.lh-social-add-form__feedback {
    min-height: 14px;
    margin: -2px 2px 0;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    font-weight: 800;
}

.lh-social-profile-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: rgba(18, 18, 20, .78);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
    backdrop-filter: blur(14px);
}

.lh-social-profile-actions button,
.lh-social-profile-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    cursor: pointer;
}

.lh-social-profile-actions__primary {
    background: linear-gradient(135deg, var(--lh-social-accent), #b41dff);
    box-shadow:
        inset 0 -2px 0 var(--lh-social-yellow),
        0 0 18px rgba(139, 25, 255, .28);
}

.lh-social-profile-actions__primary:disabled {
    opacity: .72;
    cursor: default;
}

.lh-social-profile-actions__ghost {
    background: rgba(255, 255, 255, .08);
}

.lh-social-profile-actions__ghost:hover {
    background: rgba(255, 66, 90, .72);
}

.lh-social-icon-action {
    width: 30px;
    min-width: 30px;
    padding: 0 !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 10px !important;
    letter-spacing: -3px;
}

.lh-social-request__actions {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    gap: 4px !important;
}

.lh-social-request__actions button {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.lh-social-request__actions button[data-decision="accept"] {
    color: #18181a;
    background: #f5f5f6;
}

.lh-social-request__actions button[data-decision="reject"] {
    min-width: 34px;
    color: rgba(255, 255, 255, .82);
}

.lh-social-request--outgoing .lh-social-person__avatar b::before,
.lh-social-request--outgoing .lh-social-person__avatar b::after {
    background: rgba(255, 255, 255, .92);
}

.lh-social-cancel-request {
    width: 34px;
    min-width: 34px;
    min-height: 34px !important;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .1) !important;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
}

.lh-social-cancel-request:hover {
    background: rgba(255, 66, 90, .75) !important;
}

.lh-social-chat-window {
    position: fixed;
    z-index: 100001;
    right: calc(var(--lh-social-panel-space) + 26px + (var(--lh-social-chat-index, 0) * 324px));
    bottom: 24px;
    display: flex;
    flex-direction: column;
    width: min(312px, calc(100vw - 28px));
    height: 336px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 35%),
        rgba(28, 28, 30, .98);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(.98);
    transition:
        opacity var(--lh-social-transition),
        transform var(--lh-social-transition);
}

.lh-social-chat-window.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.lh-social-chat-window.is-loading .lh-social-chat-window__messages {
    opacity: .72;
}

.lh-social-chat-window__header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 28px 28px;
    align-items: center;
    gap: 8px;
    min-height: 74px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .065);
}

.lh-social-chat-window__avatar .lh-social-person__avatar {
    width: 38px;
    height: 38px;
}

.lh-social-chat-window__title {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.lh-social-chat-window__title strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lh-social-chat-window__title small {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
}

.lh-social-chat-window__menu,
.lh-social-chat-window__close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    cursor: pointer;
}

.lh-social-chat-window__close {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.lh-social-chat-window__messages {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.lh-social-chat-bubble {
    max-width: 78%;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    white-space: pre-wrap;
    word-break: break-word;
}

.lh-social-chat-bubble.is-mine {
    align-self: flex-end;
    color: #262628;
    background: #f3f3f4;
}

.lh-social-chat-bubble.is-pending {
    opacity: .68;
}

.lh-social-chat-bubble.is-failed {
    color: #fff;
    background: rgba(255, 63, 99, .72);
}

.lh-social-chat-bubble.is-theirs {
    align-self: flex-start;
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

.lh-social-chat-empty {
    margin: auto;
    color: rgba(255, 255, 255, .42);
    font-size: 12px;
    font-weight: 800;
}

.lh-social-chat-window__form {
    display: flex;
    gap: 8px;
    margin: 0 12px 12px;
    padding: 0 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .075);
}

.lh-social-chat-window__form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    border: 0 !important;
    outline: 0 !important;
    color: #fff;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 13px;
}

.lh-social-chat-window__form input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.lh-social-chat-window__form button {
    width: 28px;
    border: 0;
    color: rgba(255, 255, 255, .42);
    background: transparent;
    cursor: pointer;
}

.lh-social-chat-window__form button:disabled,
.lh-social-chat-window.is-sending .lh-social-chat-window__form button {
    opacity: .38;
    cursor: wait;
}

@media (max-width: 767px) {
    :root {
        --lh-social-panel-width: min(86vw, 340px);
        --lh-social-panel-right: 0px;
        --lh-social-panel-top: 0px;
        --lh-social-panel-space: var(--lh-social-panel-width);
    }

    .lh-social-panel {
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        width: var(--lh-social-panel-width) !important;
        min-width: var(--lh-social-panel-width) !important;
        max-width: var(--lh-social-panel-width) !important;
        height: 100vh !important;
        max-height: 100vh !important;
        flex-flow: column nowrap !important;
        flex-wrap: nowrap !important;
        flex-basis: var(--lh-social-panel-width) !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
    }

    body.lh-social-collapsed .lh-social-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(calc(100% + 18px), 0, 0) scale(.985) !important;
    }

    .lh-social-panel__inner {
        border-right: 0;
        border-bottom: 0;
        border-radius: 18px 0 0 0;
    }

    .lh-social-panel > .lh-social-tabs,
    .lh-social-panel > .elementor-widget-n-tabs.lh-social-tabs,
    .lh-social-panel > .elementor-widget-tabs.lh-social-tabs {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        align-self: stretch !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .lh-social-panel .lh-social-tabs .e-n-tabs,
    .lh-social-panel .lh-social-tabs .elementor-tabs {
        height: 100% !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .lh-social-panel .lh-social-tabs .elementor-tabs-content-wrapper,
    .lh-social-panel .lh-social-tabs .e-n-tabs-content {
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.lh-social-ready:not(.lh-social-collapsed) .lh-site-shell,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-push-target,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-auto-push-target {
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: translateX(calc(-1 * var(--lh-social-panel-width))) !important;
    }

    body.lh-social-collapsed .lh-site-shell,
    body.lh-social-collapsed .lh-social-push-target,
    body.lh-social-collapsed .lh-social-auto-push-target {
        margin-right: 0 !important;
        padding-right: 0 !important;
        width: auto !important;
        max-width: none !important;
        transform: translateX(0) !important;
    }

    html.lh-social-collapsed,
    body.lh-social-collapsed {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        position: static !important;
        touch-action: auto !important;
    }

    body.lh-social-body-push.lh-social-collapsed {
        padding-right: 0 !important;
    }

    .lh-social-panel::before {
        left: -86px;
        width: 86px;
    }

    .lh-social-chat-window {
        right: 12px;
        bottom: calc(76px + (var(--lh-social-chat-index, 0) * 18px));
        width: min(312px, calc(100vw - 24px));
        height: 324px;
    }
}

/* Final guest-state override. Keep this at the end because Elementor/mobile
   panel rules above intentionally use strong !important declarations. */
body:not(.logged-in) .lh-social-panel .lh-social-panel__search,
body.lh-social-guest .lh-social-panel .lh-social-panel__search {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body:not(.logged-in) .lh-social-panel .lh-social-shortcode--guest,
body.lh-social-guest .lh-social-panel .lh-social-shortcode--guest {
    display: block !important;
}

body:not(.logged-in) .lh-social-panel .lh-social-shortcode--guest .lh-social-guest-gate,
body.lh-social-guest .lh-social-panel .lh-social-shortcode--guest .lh-social-guest-gate {
    display: grid !important;
}

body:not(.logged-in) .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
body:not(.logged-in) .lh-social-panel .lh-social-tabs .e-n-tabs-heading,
body.lh-social-guest .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
body.lh-social-guest .lh-social-panel .lh-social-tabs .e-n-tabs-heading {
    display: none !important;
    visibility: hidden !important;
}

/* Conversation list final override: keep messages as Riot-like rows, not cards. */
.lh-social-shortcode--messages .lh-social-section {
    margin-top: 8px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.lh-social-shortcode--messages .lh-social-section::after {
    display: none !important;
}

.lh-social-shortcode--messages .lh-social-section summary {
    padding: 7px 4px 12px !important;
    color: rgba(255, 255, 255, .72) !important;
}

.lh-social-shortcode--messages .lh-social-section[open] > .lh-social-list,
.lh-social-shortcode--messages .lh-social-conversations {
    display: grid !important;
    gap: 8px !important;
    max-height: calc(100vh - 330px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-right: 3px !important;
    background: transparent !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 6px 4px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row:hover {
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: inset 2px 0 0 var(--lh-social-yellow) !important;
    transform: translateX(1px) !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row .lh-social-person__avatar {
    width: 34px !important;
    height: 34px !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row__text {
    display: grid !important;
    min-width: 0 !important;
    gap: 2px !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row__text strong,
.lh-social-shortcode--messages .lh-social-conversation-row__text small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row__text strong {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row__text small {
    display: block !important;
    color: rgba(255, 255, 255, .58) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row time {
    align-self: center !important;
    color: rgba(255, 255, 255, .36) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row.has-unread {
    background: rgba(255, 255, 255, .085) !important;
    box-shadow:
        inset 2px 0 0 var(--lh-social-yellow),
        0 8px 20px rgba(0, 0, 0, .16) !important;
}

.lh-social-shortcode--messages .lh-social-conversation-row.has-unread .lh-social-conversation-row__text small {
    color: rgba(255, 255, 255, .86) !important;
}

.lh-social-shortcode--messages .lh-social-unread-badge {
    align-self: center !important;
    display: inline-grid !important;
    place-items: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    color: #111 !important;
    background: var(--lh-social-yellow) !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

/* Mobile scroll safety: the hidden panel must never lock the page. */
@media (max-width: 767px) {
    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        position: static !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.lh-social-ready,
    body.lh-social-ready.lh-social-body-push,
    body.lh-social-ready.lh-social-collapsed,
    body.lh-social-ready.lh-social-body-push.lh-social-collapsed {
        padding-right: 0 !important;
        overflow-y: auto !important;
        position: static !important;
        touch-action: pan-y !important;
    }

    body.lh-social-collapsed .lh-social-panel {
        visibility: hidden !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel {
        visibility: visible !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel__inner,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel > .e-con-inner,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel > .elementor-widget-wrap,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel > .elementor-element,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel > .elementor-container {
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    body.lh-social-collapsed .lh-site-shell,
    body.lh-social-collapsed .lh-social-push-target,
    body.lh-social-collapsed .lh-social-auto-push-target,
    body.lh-social-collapsed .elementor,
    body.lh-social-collapsed main,
    body.lh-social-collapsed #content,
    body.lh-social-collapsed #primary {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
    }
}

/* Chat header controls final polish. */
.lh-social-chat-window__header {
    position: relative !important;
}

.lh-social-chat-window__menu,
.lh-social-chat-window__close {
    display: inline-grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, .82) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lh-social-chat-window__menu:hover,
.lh-social-chat-window__close:hover {
    background: rgba(255, 255, 255, .08) !important;
}

.lh-social-chat-window__menu {
    grid-template-columns: repeat(3, 4px) !important;
    gap: 3px !important;
}

.lh-social-chat-window__menu span {
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: currentColor !important;
}

.lh-social-chat-window__close::before,
.lh-social-chat-window__close::after {
    content: "" !important;
    grid-area: 1 / 1 !important;
    width: 15px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
}

.lh-social-chat-window__close::before {
    transform: rotate(45deg) !important;
}

.lh-social-chat-window__close::after {
    transform: rotate(-45deg) !important;
}

.lh-social-chat-window__dropdown {
    position: absolute !important;
    z-index: 4 !important;
    top: 54px !important;
    right: 42px !important;
    min-width: 150px !important;
    padding: 8px !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 12px !important;
    background: rgba(35, 35, 38, .98) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .36) !important;
}

.lh-social-chat-window__dropdown[hidden] {
    display: none !important;
}

.lh-social-chat-window__dropdown button {
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-align: left !important;
    cursor: pointer !important;
}

.lh-social-chat-window__dropdown button:hover {
    color: #fff !important;
    background: rgba(255, 66, 90, .72) !important;
}

/* Elementor hides classic tab headings on mobile and turns them into accordion
   titles. The social panel needs the Valorant-like tab bar visible everywhere. */
@media (max-width: 767px) {
    .lh-social-tabs,
    .lh-social-panel .lh-social-tabs,
    .lh-social-tabs.elementor-widget-tabs,
    .lh-social-tabs.elementor-widget-n-tabs {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    .lh-social-tabs .elementor-tabs,
    .lh-social-tabs .e-n-tabs {
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    .lh-social-tabs .elementor-tabs-wrapper,
    .lh-social-tabs .e-n-tabs-heading,
    .lh-social-panel .elementor-widget-tabs.lh-social-tabs .elementor-tabs-wrapper,
    .lh-social-panel .elementor-widget-n-tabs.lh-social-tabs .e-n-tabs-heading,
    body[data-elementor-device-mode="mobile"] .lh-social-tabs .elementor-tabs-wrapper,
    body[data-elementor-device-mode="mobile"] .lh-social-tabs .e-n-tabs-heading {
        position: sticky !important;
        top: 8px !important;
        z-index: 6 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 46px !important;
        max-height: none !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .lh-social-tabs .elementor-tab-mobile-title,
    body[data-elementor-device-mode="mobile"] .lh-social-tabs .elementor-tab-mobile-title {
        display: none !important;
    }

    .lh-social-tabs .elementor-tab-title,
    .lh-social-tabs .e-n-tab-title {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lh-social-tabs .elementor-tabs-content-wrapper,
    .lh-social-tabs .e-n-tabs-content {
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    body:not(.logged-in) .lh-social-tabs .elementor-tabs-wrapper,
    body:not(.logged-in) .lh-social-tabs .e-n-tabs-heading,
    body:not(.logged-in) .lh-social-panel__tabs,
    body.lh-social-guest .lh-social-tabs .elementor-tabs-wrapper,
    body.lh-social-guest .lh-social-tabs .e-n-tabs-heading,
    body.lh-social-guest .lh-social-panel__tabs {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .lh-social-tabs .elementor-tab-content,
    .lh-social-tabs .e-n-tabs-content > .e-con {
        display: none !important;
    }

    .lh-social-tabs .elementor-tab-content.elementor-active,
    .lh-social-tabs .e-n-tabs-content > .e-con.e-active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767px) {
    body.lh-social-ready:not(.lh-social-collapsed) .lh-site-shell,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-push-target,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-auto-push-target,
    body.lh-social-ready.lh-social-body-push:not(.lh-social-collapsed) {
        width: auto !important;
        max-width: none !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        transform: none !important;
    }

    html.lh-social-ready:not(.lh-social-collapsed) body .lh-social-panel,
    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel,
    html:not(.lh-social-collapsed) body .lh-social-panel {
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        width: min(340px, calc(100vw - 56px)) !important;
        min-width: min(340px, calc(100vw - 56px)) !important;
        max-width: min(340px, calc(100vw - 56px)) !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
    }

    html.lh-social-collapsed body .lh-social-panel,
    body.lh-social-collapsed .lh-social-panel {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translate3d(calc(100% + 18px), 0, 0) scale(.985) !important;
    }

    body[data-elementor-device-mode="mobile"] .lh-social-panel .lh-social-tabs .e-n-tabs-heading,
    body[data-elementor-device-mode="mobile"] .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper {
        position: sticky !important;
        top: 8px !important;
        z-index: 20 !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-height: 46px !important;
    }
}

/* Last mobile guard: Elementor popups/old sidebar classes can lock scrolling on
   body/html. The social panel should never be allowed to freeze the page. */
@media (max-width: 767px) {
    html,
    body,
    body.open,
    body.opening,
    body.left,
    body.dialog-body,
    body.dialog-buttons-body,
    body.dialog-container,
    body.dialog-buttons-container {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        position: static !important;
        touch-action: pan-y !important;
        overscroll-behavior-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #page,
    .site,
    .site-content,
    .site-main,
    #content,
    #primary,
    main,
    [data-elementor-type="wp-page"],
    .elementor[data-elementor-type="wp-page"],
    .elementor-location-single,
    .elementor-location-archive,
    .lh-social-push-target,
    .lh-social-auto-push-target {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
        touch-action: pan-y !important;
    }

    body.lh-social-collapsed .lh-social-panel {
        display: none !important;
        pointer-events: none !important;
    }

    body.lh-social-ready:not(.lh-social-collapsed) .lh-social-panel {
        display: flex !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Absolute last guest-state override. Keep below all mobile/Elementor rules. */
body:not(.logged-in) .lh-social-panel .lh-social-panel__search,
body.lh-social-guest .lh-social-panel .lh-social-panel__search {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body:not(.logged-in) .lh-social-panel.is-guest .lh-social-tabs,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-tabs,
body:not(.logged-in) .lh-social-panel.is-guest .lh-social-tabs.elementor-widget-n-tabs,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-tabs.elementor-widget-n-tabs,
body:not(.logged-in) .lh-social-panel.is-guest .lh-social-tabs.elementor-widget-tabs,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-tabs.elementor-widget-tabs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

body:not(.logged-in) .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
body:not(.logged-in) .lh-social-panel .lh-social-tabs .e-n-tabs-heading,
body:not(.logged-in) .lh-social-panel .lh-social-panel__tabs,
body.lh-social-guest .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
body.lh-social-guest .lh-social-panel .lh-social-tabs .e-n-tabs-heading,
body.lh-social-guest .lh-social-panel .lh-social-panel__tabs,
body[data-elementor-device-mode="mobile"]:not(.logged-in) .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
body[data-elementor-device-mode="mobile"]:not(.logged-in) .lh-social-panel .lh-social-tabs .e-n-tabs-heading,
body[data-elementor-device-mode="mobile"].lh-social-guest .lh-social-panel .lh-social-tabs .elementor-tabs-wrapper,
body[data-elementor-device-mode="mobile"].lh-social-guest .lh-social-panel .lh-social-tabs .e-n-tabs-heading {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-height: 46px !important;
}

body:not(.logged-in) .lh-social-panel .lh-social-shortcode--guest,
body.lh-social-guest .lh-social-panel .lh-social-shortcode--guest,
body:not(.logged-in) .lh-social-panel.is-guest .lh-social-shortcode--guest,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-shortcode--guest,
body:not(.logged-in) .lh-social-panel .lh-social-shortcode--guest .lh-social-guest-gate,
body.lh-social-guest .lh-social-panel .lh-social-shortcode--guest .lh-social-guest-gate,
body:not(.logged-in) .lh-social-panel.is-guest .lh-social-shortcode--guest .lh-social-guest-gate,
body.lh-social-guest .lh-social-panel.is-guest .lh-social-shortcode--guest .lh-social-guest-gate {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}
