/* ---------- Status media preview strip (OUTSIDE dropzone, normal flow) ---------- */
#user-story-preview.story-media-preview {
    margin-top: 12px;
    padding: 14px;
    background: rgba(127, 127, 127, .06);
    border: 1px solid rgba(127, 127, 127, .18);
    border-radius: 16px;
}
html[data-site-mode="night"] #user-story-preview.story-media-preview {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .12);
}
#user-story-preview .story-media-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
    max-height: none;
}
#user-story-preview .story-preview-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(127, 127, 127, .12);
    box-shadow: 0 2px 6px -2px rgba(15, 23, 42, .25);
}
#user-story-preview .story-preview-tile img,
#user-story-preview .story-preview-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#user-story-preview .story-preview-vidbadge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 6px;
    border-radius: 999px;
}
#user-story-preview .story-media-preview-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(127, 127, 127, .14);
}
html[data-site-mode="night"] #user-story-preview .story-media-preview-actions {
    border-top-color: rgba(255, 255, 255, .1);
}
#user-story-preview .story-preview-count {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}
html[data-site-mode="night"] #user-story-preview .story-preview-count {
    color: #cbd5e1;
}
#user-story-preview .story-preview-clear {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, .35);
    color: #ef4444;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 12px;
    cursor: pointer;
    transition: all .15s ease;
}
#user-story-preview .story-preview-clear:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* Dropzone collapses to a compact strip when files are chosen */
.wow_stroy_media.story-has-files {
    max-height: 90px !important;
    min-height: 90px !important;
}
.wow_stroy_media.story-has-files #wow_fcov_img_holder img {
    min-height: 90px !important;
    max-height: 90px !important;
}
.wow_stroy_media.story-has-files .upload_ad_image {
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 10px 16px !important;
    background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 100%) !important;
}
.wow_stroy_media.story-has-files .upload_ad_image_content {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
}
.wow_stroy_media.story-has-files .upload_ad_image_content svg {
    margin: 0 !important;
    width: 22px !important;
    height: 22px !important;
}

/* ---------- Dark mode: clean dropzone (no harsh light placeholder) ---------- */
html[data-site-mode="night"] .wow_fcov_image.wow_stroy_media {
    background: #26272b !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
}
html[data-site-mode="night"] .wow_stroy_media #wow_fcov_img_holder img {
    opacity: .35 !important;
    filter: grayscale(1) brightness(.6) !important;
}
html[data-site-mode="night"] .wow_stroy_media .upload_ad_image {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%) !important;
}
html[data-site-mode="night"] .wow_stroy_media .upload_ad_image_content {
    color: #e6e8ee !important;
}
html[data-site-mode="night"] .wow_stroy_media .upload_ad_image_content svg {
    filter: invert(1) !important;
}
html[data-site-mode="night"] .wow_stroy_media.story-has-files {
    background: #26272b !important;
    border-color: rgba(255, 255, 255, .1) !important;
}
html[data-site-mode="night"] .wow_stroy_media.story-has-files .upload_ad_image {
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 100%) !important;
}

/* ---------- Dark mode: right sidebar widgets (Trending / Pro Members / People) ---------- */
html[data-site-mode="night"] .rightcol .featured-users,
html[data-site-mode="night"] .rightcol .trending,
html[data-site-mode="night"] .rightcol .list-group {
    background: #1c1f26 !important;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5) !important;
}
/* Kill the orange Pro Members shell */
html[data-site-mode="night"] .rightcol .featured-users {
    background: #1c1f26 !important;
}
/* Title bars: readable light text, transparent bg, clean divider */
html[data-site-mode="night"] .rightcol .sidebar-title-back,
html[data-site-mode="night"] .rightcol .featured-users .sidebar-title-back {
    background: transparent !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    line-height: 30px !important;
}
html[data-site-mode="night"] .rightcol .sidebar-title-back a,
html[data-site-mode="night"] .rightcol .featured-users .sidebar-title-back a {
    color: #7dd3fc !important;
}
/* Trending hashtag rows */
html[data-site-mode="night"] .rightcol .trending .wow_htag a {
    color: #cbd5e1 !important;
}
html[data-site-mode="night"] .rightcol .trending .htag_top {
    color: #7dd3fc !important;
}
html[data-site-mode="night"] .rightcol .trending .htag_bottom {
    color: #94a3b8 !important;
}
html[data-site-mode="night"] .rightcol .trending-empty-note {
    color: #94a3b8 !important;
}
/* Pro Members avatar cards */
html[data-site-mode="night"] .rightcol .featured-users .wo_pro_users li .user {
    background: #262a33 !important;
}
html[data-site-mode="night"] .rightcol .featured-users .wo_pro_users li .user span {
    color: #e2e8f0 !important;
}
/* People-you-may-know cards */
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container .user,
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container div[class*=user] {
    background: #232731 !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
    border-radius: 12px !important;
}
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container .user-name a,
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container .user-info a,
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container h4 {
    color: #e2e8f0 !important;
}
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container .user-meta,
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container .user-subtitle {
    color: #94a3b8 !important;
}
/* Refresh icon on People title */
html[data-site-mode="night"] .rightcol .sidebar-user-list-container .refresh,
html[data-site-mode="night"] .rightcol #sidebar-user-list-container .refresh {
    color: #94a3b8 !important;
}

/* ---------- Kontak Online: unify as proper card ---------- */
html[data-site-mode="night"] .rightcol .sidebar-online-contacts-card {
    background: #1c1f26 !important;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5) !important;
    padding: 14px !important;
    margin-bottom: 18px !important;
}
html[data-site-mode="night"] .rightcol .online-contact-item {
    background: transparent !important;
}
html[data-site-mode="night"] .rightcol .online-contact-item:hover {
    background: rgba(255, 255, 255, .05) !important;
}
html[data-site-mode="night"] .rightcol .contact-name {
    color: #e2e8f0 !important;
}
html[data-site-mode="night"] .rightcol .contact-sub {
    color: #22c55e !important;
}
html[data-site-mode="night"] .rightcol .btn-chat-trigger {
    background: rgba(56, 189, 248, .12) !important;
    color: #7dd3fc !important;
}
html[data-site-mode="night"] .rightcol .btn-chat-trigger:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
}
html[data-site-mode="night"] .rightcol .contact-status-dot {
    border-color: #1c1f26 !important;
}

/* ---------- Undang temanmu: clean card, no more "tempelan" ---------- */
html[data-site-mode="night"] .rightcol .wow_side_invite_prnt,
html[data-site-mode="night"] .rightcol .wow_side_invite {
    background: #1c1f26 !important;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5) !important;
}
html[data-site-mode="night"] .rightcol .wow_side_invite {
    padding: 18px 16px !important;
}
/* Tone down the envelope icon in dark */
html[data-site-mode="night"] .rightcol .wow_side_invite > svg {
    opacity: .9 !important;
    filter: saturate(.65) brightness(.85) !important;
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 6px !important;
}
html[data-site-mode="night"] .rightcol .wow_side_invite .sidebar-title-back {
    color: #e2e8f0 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 0 0 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}
/* Input + send button */
html[data-site-mode="night"] .rightcol .invite-user-form .invite-user-combine input {
    background: #262a33 !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    color: #e2e8f0 !important;
    border-radius: 999px !important;
    padding: 8px 44px 8px 14px !important;
    height: 38px !important;
    box-shadow: none !important;
}
html[data-site-mode="night"] .rightcol .invite-user-form .invite-user-combine input::placeholder {
    color: #94a3b8 !important;
}
html[data-site-mode="night"] .rightcol .invite-user-form button {
    background: linear-gradient(135deg, #0a84ff, #0060df) !important;
    border: none !important;
    border-radius: 999px !important;
    color: #fff !important;
    top: 4px !important;
    right: 4px !important;
    height: 30px !important;
    width: 30px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
html[data-site-mode="night"] .rightcol .invite-user-form button svg {
    width: 15px !important;
    height: 15px !important;
}
html[data-site-mode="night"] .rightcol .invite-user-form button:hover {
    background: linear-gradient(135deg, #0f8fff, #0068ef) !important;
}

/* ---------- Chat box: online users dark polish ---------- */
html[data-site-mode="night"] .chat-container {
    background: #0e1626 !important;
    border-left: 1px solid rgba(255, 255, 255, .08) !important;
}
html[data-site-mode="night"] .chat-container .online-toggle h3 {
    color: #e2e8f0 !important;
}
html[data-site-mode="night"] .chat-container .online-toggle .chat-status .btn {
    background: rgba(255, 255, 255, .06) !important;
    color: #94a3b8 !important;
    border-radius: 8px !important;
}
html[data-site-mode="night"] .chat-container .online-toggle .chat-status .btn:hover {
    background: rgba(255, 255, 255, .1) !important;
    color: #e2e8f0 !important;
}
html[data-site-mode="night"] .chat-container .wo_chat_tabs {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
html[data-site-mode="night"] .chat-container .wo_chat_tabs li a {
    color: #94a3b8 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
}
html[data-site-mode="night"] .chat-container .wo_chat_tabs li a:hover {
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, .05) !important;
}
html[data-site-mode="night"] .chat-container .wo_chat_tabs li.active a {
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, .1) !important;
    border-bottom: 2px solid #38bdf8 !important;
}
/* Users list container becomes a proper panel */
html[data-site-mode="night"] .chat-container .online-users {
    background: transparent !important;
    padding: 6px !important;
}
/* Each online user row */
html[data-site-mode="night"] .recipient-chat-user {
    border-radius: 10px !important;
    margin: 2px 0 !important;
    padding: 7px 10px !important;
}
html[data-site-mode="night"] .recipient-chat-user:hover {
    background: rgba(255, 255, 255, .05) !important;
}
html[data-site-mode="night"] .recipient-chat-user .chat-user-text {
    color: #e2e8f0 !important;
}
/* Avatar: add a soft ring */
html[data-site-mode="night"] .recipient-chat-user img {
    border: 2px solid rgba(56, 189, 248, .25) !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .02) !important;
}
/* Loading spinner no longer white blob */
html[data-site-mode="night"] .recipient-chat-user .chat-loading-icon {
    background: #1c1f26 !important;
}
html[data-site-mode="night"] .chat-container .online-content-toggler .empty_state {
    color: #94a3b8 !important;
}
html[data-site-mode="night"] .chat-container .online-content-toggler .empty_state svg {
    opacity: .5 !important;
    filter: grayscale(.6) brightness(.8) !important;
}
html[data-site-mode="night"] .chat-container .online-content-toggler .empty_state .btn-mat {
    background: rgba(56, 189, 248, .15) !important;
    color: #7dd3fc !important;
    border-radius: 999px !important;
    border: 1px solid rgba(56, 189, 248, .3) !important;
    padding: 6px 18px !important;
}
html[data-site-mode="night"] .chat-container .online-content-toggler .empty_state .btn-mat:hover {
    background: rgba(56, 189, 248, .25) !important;
    color: #e0f2fe !important;
}

/* ---------- People-you-may-know: clean Follow button ---------- */
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button {
    margin-top: 8px !important;
    width: 100% !important;
}
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button button,
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button .btn,
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button a.btn {
    width: 100% !important;
    max-width: 100% !important;
    display: inline-block !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    padding: 2px 10px !important;
    letter-spacing: .01em !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: all .18s ease !important;
    border: 1px solid transparent !important;
    margin: 0 !important;
}
/* Follow state: accent gradient (day) / accent soft (night) */
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button .wo_follow_btn {
    background: linear-gradient(135deg, #0a84ff 0%, #0060df 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px -8px rgba(10, 132, 255, .7) !important;
}
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button .wo_follow_btn {
    background: linear-gradient(135deg, #0a84ff 0%, #0060df 100%) !important;
}
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button .wo_follow_btn:hover {
    background: linear-gradient(135deg, #0f8fff 0%, #0068ef 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 9px 20px -8px rgba(10, 132, 255, .85) !important;
}
/* Following state: neutral outline */
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button button:not(.wo_follow_btn) {
    background: transparent !important;
    color: #64748b !important;
    border-color: rgba(100, 116, 139, .35) !important;
    box-shadow: none !important;
}
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button button:not(.wo_follow_btn) {
    color: #94a3b8 !important;
    border-color: rgba(148, 163, 184, .3) !important;
    background: rgba(255, 255, 255, .03) !important;
}
.rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button button:not(.wo_follow_btn):hover {
    color: #334155 !important;
    border-color: rgba(100, 116, 139, .5) !important;
    background: rgba(100, 116, 139, .06) !important;
}
html[data-site-mode="night"] .rightcol .sidebar-users-may-know-container #wo_sidebar_users .user-follow-button button:not(.wo_follow_btn):hover {
    color: #e2e8f0 !important;
    border-color: rgba(148, 163, 184, .5) !important;
    background: rgba(148, 163, 184, .08) !important;
}

/* small screens: tighter grid */
@media (max-width: 520px) {
    #user-story-preview .story-media-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
        gap: 6px;
    }
    #user-story-preview.story-media-preview {
        padding: 10px;
        border-radius: 14px;
    }
}

/* ---------- Composer (publisher) box clean edges ---------- */
.publisher-box {
    border-radius: 18px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
}
.publisher-box .panel {
    border-radius: 0 !important;
    box-shadow: 0 8px 30px -12px rgba(15, 23, 42, .18) !important;
    border: 1px solid rgba(15, 23, 42, .06) !important;
}
html[data-site-mode="night"] .publisher-box .panel {
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .6) !important;
}
.publisher-box #post-textarea,
.publisher-box .wo_pub_txtara_combo {
    border-radius: 0 !important;
}
.publisher-box .sun_pub_mid_foot,
.publisher-box .publisher-box-footer,
.publisher-box .pub-footer-bottom {
    border-radius: 0 !important;
}
/* Post button rounded & accent */
.publisher-box #publisher-button {
    border-radius: 999px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-weight: 700 !important;
}
@media (max-width: 520px) {
    .publisher-box {
        border-radius: 14px !important;
    }
}


/* =======================================================
   SIDEBAR ONLINE USERS CARD (MODERN MACOS / DISCORD PRESENCE)
   ======================================================= */
.sidebar-online-users-card {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 13px 16px !important;
    border-radius: 16px !important;
    background: var(--mac-card-bg, #ffffff) !important;
    border: 1px solid var(--mac-border, rgba(0, 0, 0, 0.08)) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 18px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
}
.sidebar-online-users-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}
.sidebar-online-users-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.09), transparent 70%);
    pointer-events: none;
}

/* Icon Container with glowing pulsing dot */
.online-users-icon-wrap {
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.1) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #059669 !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
}
.sidebar-online-users-card:hover .online-users-icon-wrap {
    transform: scale(1.05);
}

/* Live Pulsing Dot */
.online-users-pulse {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 8px #10b981 !important;
    animation: ouPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
}
@keyframes ouPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
}

/* Info Typography */
.online-users-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 !important;
}
.online-users-count {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.online-users-number {
    font-size: 19px !important;
    font-weight: 800 !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif !important;
    color: #0f172a !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    font-variant-numeric: tabular-nums !important;
}
.online-users-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #059669 !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif !important;
}
.online-users-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif !important;
    color: #64748b !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Night Mode Overrides */
html[data-site-mode="night"] .sidebar-online-users-card,
body.active-night-mode .sidebar-online-users-card,
[data-site-mode="night"] .sidebar-online-users-card {
    background: #1c1f26 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5) !important;
}
html[data-site-mode="night"] .sidebar-online-users-card::before,
body.active-night-mode .sidebar-online-users-card::before,
[data-site-mode="night"] .sidebar-online-users-card::before {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.14), transparent 70%) !important;
}
html[data-site-mode="night"] .online-users-icon-wrap,
body.active-night-mode .online-users-icon-wrap,
[data-site-mode="night"] .online-users-icon-wrap {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 182, 212, 0.15) 100%) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}
html[data-site-mode="night"] .online-users-pulse,
body.active-night-mode .online-users-pulse,
[data-site-mode="night"] .online-users-pulse {
    border-color: #1c1f26 !important;
    box-shadow: 0 0 10px #10b981 !important;
}
html[data-site-mode="night"] .online-users-number,
body.active-night-mode .online-users-number,
[data-site-mode="night"] .online-users-number {
    color: #f8fafc !important;
}
html[data-site-mode="night"] .online-users-badge,
body.active-night-mode .online-users-badge,
[data-site-mode="night"] .online-users-badge {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}
html[data-site-mode="night"] .online-users-label,
body.active-night-mode .online-users-label,
[data-site-mode="night"] .online-users-label {
    color: #94a3b8 !important;
}

/* Legacy sticker override: completely remove harsh cyan "tempelan" */
.rightcol .list-group:has(.wow_side_online),
ul.list-group:has(.wow_side_online) {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.wow_side_online {
    background: var(--mac-card-bg, #ffffff) !important;
    border: 1px solid var(--mac-border, rgba(0, 0, 0, 0.08)) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    padding: 16px !important;
    text-align: center !important;
    margin-bottom: 18px !important;
    transition: all 0.25s ease !important;
}
.wow_side_online > svg {
    width: 32px !important;
    height: 32px !important;
    filter: drop-shadow(0 2px 6px rgba(0, 162, 130, 0.25)) !important;
}
.wow_side_online p {
    margin: 8px 0 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}
html[data-site-mode="night"] .wow_side_online {
    background: #1c1f26 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5) !important;
}
html[data-site-mode="night"] .wow_side_online p {
    color: #f1f5f9 !important;
}


/* =======================================================
   PHOTO THEATER / LIGHTBOX REDESIGN (MODERN DISCORD/MACOS)
   ======================================================= */
/* 1. Fullscreen Theater Container - Overrides site navbar (z-index: 9999) */
.lightbox-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

.lightbox-backgrond {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5, 8, 15, 0.94) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
    z-index: 1000001 !important;
}

.lightbox-content.wo_imagecombo_lbox {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    background: #000000 !important;
    z-index: 1000002 !important;
    display: flex !important;
    flex-direction: row !important;
    overflow: hidden !important;
}

/* 2. Left Photo Stage */
.wo_imagecombo_lbox .story-img {
    flex: 1 1 auto !important;
    width: calc(100% - 400px) !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #07090e !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.wo_imagecombo_lbox .sun_img_innr {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: calc(100% - 70px) !important;
    position: relative !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.wo_imagecombo_lbox #draggableHelper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    vertical-align: middle !important;
}

.wo_imagecombo_lbox .story-img img {
    max-width: 100% !important;
    max-height: calc(100vh - 120px) !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.75) !important;
    margin: auto !important;
    pointer-events: auto !important;
}

/* Floating Stage Close Button */
.lightbox-stage-close-btn {
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 1035 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(20px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(140%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.lightbox-stage-close-btn:hover {
    background: rgba(239, 68, 68, 0.85) !important;
    border-color: rgba(239, 68, 68, 0.9) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 8px 28px rgba(239, 68, 68, 0.45) !important;
}

/* Navigation Chevrons: Modern Floating Glass Circles */
.wo_imagecombo_lbox .story-img .changer {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer !important;
    z-index: 1034 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.wo_imagecombo_lbox .story-img .changer.previous-btn {
    left: 24px !important;
}
.wo_imagecombo_lbox .story-img .changer.next-btn {
    right: 24px !important;
}
.wo_imagecombo_lbox .story-img .changer:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-50%) scale(1.1) !important;
}
.wo_imagecombo_lbox .story-img .changer svg.feather {
    position: static !important;
    transform: none !important;
    width: 24px !important;
    height: 24px !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* Floating Bottom Toolbar */
.wo_imagecombo_lbox .story-img .sun_light_tool {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: auto !important;
    width: auto !important;
    min-width: 280px !important;
    height: 44px !important;
    padding: 6px 18px !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    z-index: 1034 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}
.wo_imagecombo_lbox .story-img .sun_light_tool .lbox_topbar_child {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.wo_imagecombo_lbox .story-img .sun_light_tool .lbox_topbar_child span,
.wo_imagecombo_lbox .story-img .sun_light_tool .lbox_topbar_child span a {
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
.wo_imagecombo_lbox .story-img .sun_light_tool .lbox_topbar_child span:hover,
.wo_imagecombo_lbox .story-img .sun_light_tool .lbox_topbar_child span a:hover {
    color: #ffffff !important;
}
.wo_imagecombo_lbox .story-img .sun_light_tool svg {
    width: 17px !important;
    height: 17px !important;
    vertical-align: middle !important;
}

/* 3. Right Sidebar (Comments & Social Panel) */
.wo_imagecombo_lbox .comment-section {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
    height: 100vh !important;
    background: #ffffff !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 1032 !important;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
}

.wow_lightbox_right {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* Header in Sidebar: User avatar, Name, Time, Close Button */
.comment-section-inner .comment-inner-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
    min-height: 64px !important;
    box-sizing: border-box !important;
}
.comment-section-inner .comment-inner-header .wo_lbox_author_wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.comment-section-inner .comment-inner-header .user-avatar {
    flex-shrink: 0 !important;
    margin: 0 !important;
    float: none !important;
}
.comment-section-inner .comment-inner-header .user-avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e2e8f0 !important;
    object-fit: cover !important;
    display: block !important;
}
.comment-section-inner .comment-inner-header .wo_lbox_author_meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
}
.comment-section-inner .comment-inner-header .user-name {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.comment-section-inner .comment-inner-header .user-name a {
    color: #0f172a !important;
    text-decoration: none !important;
}
.comment-section-inner .comment-inner-header .time {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}
.comment-section-inner .comment-inner-header .close-lightbox {
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    float: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comment-section-inner .comment-inner-header .close-lightbox:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: scale(1.06) !important;
}

/* Post text caption */
.comment-inner-middle {
    flex-shrink: 0 !important;
}
.comment-inner-middle .post-info {
    margin: 0 !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.comment-inner-middle .post-info p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    margin: 0 !important;
    word-break: break-word !important;
}

/* Reactions Bar & Status cleanup */
.wo_imagecombo_lbox .post-like-status,
.wo_imagecombo_lbox .like-stat,
.wo_imagecombo_lbox .stats.buttons {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wo_imagecombo_lbox .like-stat:empty,
.wo_imagecombo_lbox .like-emo:empty,
.wo_imagecombo_lbox .stats.buttons:has(.like-emo:empty) {
    display: none !important;
}

.wow_lightbox_right .comment-section-inner #wo_post_stat_button {
    padding: 8px 18px !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #ffffff !important;
    margin: 0 !important;
}
.wow_lightbox_right .comment-section-inner #wo_post_stat_button .stat-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}
.wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox:hover {
    background: #f1f5f9 !important;
    color: #2563eb !important;
}
.wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox svg {
    width: 18px !important;
    height: 18px !important;
}

/* Scrollable Comments List */
.wow_lightbox_right .comment-inner-footer {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    background-color: #f8fafc !important;
    padding: 14px 18px !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment {
    margin: 12px 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    float: none !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-body,
.wo_imagecombo_lbox .comments-list .comment .comment-body {
    margin-left: 0 !important;
    flex: 1 1 auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: block !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    display: inline-block !important;
    max-width: 100% !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .user,
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading h4 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: inline-block !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading a {
    color: #0f172a !important;
    text-decoration: none !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .time {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-left: 6px !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-text {
    font-size: 13px !important;
    color: #334155 !important;
    margin-top: 4px !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}
.wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options {
    margin-top: 4px !important;
    font-size: 11px !important;
    color: #94a3b8 !important;
}

/* Comment Input Area */
.wo_imagecombo_lbox .lightbox-post-footer.post-comments {
    border-top: 1px solid #e2e8f0 !important;
    padding: 12px 16px !important;
    height: auto !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}
.wo_imagecombo_lbox .post-commet-textarea {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    transition: all 0.2s ease !important;
}
.wo_imagecombo_lbox .post-commet-textarea:focus-within {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    background: #ffffff !important;
}
.wo_imagecombo_lbox .comment-textarea.textarea {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 13px !important;
    color: #0f172a !important;
    resize: none !important;
    padding: 6px 0 !important;
    line-height: 1.4 !important;
    width: 100% !important;
}

/* =======================================================
   NIGHT / DARK MODE THEATER OVERRIDES
   ======================================================= */
html[data-site-mode="night"] .wo_imagecombo_lbox .comment-section,
body.active-night-mode .wo_imagecombo_lbox .comment-section,
[data-site-mode="night"] .wo_imagecombo_lbox .comment-section,
html[data-site-mode="night"] .wow_lightbox_right,
body.active-night-mode .wow_lightbox_right,
[data-site-mode="night"] .wow_lightbox_right {
    background: #090e1a !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-site-mode="night"] .comment-section-inner .comment-inner-header,
body.active-night-mode .comment-section-inner .comment-inner-header,
[data-site-mode="night"] .comment-section-inner .comment-inner-header {
    background: #0d1527 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
html[data-site-mode="night"] .comment-section-inner .comment-inner-header .user-name a,
body.active-night-mode .comment-section-inner .comment-inner-header .user-name a,
[data-site-mode="night"] .comment-section-inner .comment-inner-header .user-name a {
    color: #f8fafc !important;
}
html[data-site-mode="night"] .comment-section-inner .comment-inner-header .close-lightbox,
body.active-night-mode .comment-section-inner .comment-inner-header .close-lightbox,
[data-site-mode="night"] .comment-section-inner .comment-inner-header .close-lightbox {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}
html[data-site-mode="night"] .comment-section-inner .comment-inner-header .close-lightbox:hover,
body.active-night-mode .comment-section-inner .comment-inner-header .close-lightbox:hover,
[data-site-mode="night"] .comment-section-inner .comment-inner-header .close-lightbox:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}
html[data-site-mode="night"] .comment-inner-middle .post-info,
body.active-night-mode .comment-inner-middle .post-info,
[data-site-mode="night"] .comment-inner-middle .post-info {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
}
html[data-site-mode="night"] .comment-inner-middle .post-info p,
body.active-night-mode .comment-inner-middle .post-info p,
[data-site-mode="night"] .comment-inner-middle .post-info p {
    color: #e2e8f0 !important;
}
html[data-site-mode="night"] .wow_lightbox_right .comment-section-inner #wo_post_stat_button,
body.active-night-mode .wow_lightbox_right .comment-section-inner #wo_post_stat_button,
[data-site-mode="night"] .wow_lightbox_right .comment-section-inner #wo_post_stat_button {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
html[data-site-mode="night"] .wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox,
body.active-night-mode .wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox,
[data-site-mode="night"] .wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox {
    color: #94a3b8 !important;
}
html[data-site-mode="night"] .wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox:hover,
body.active-night-mode .wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox:hover,
[data-site-mode="night"] .wow_lightbox_right .comment-section-inner #wo_post_stat_button .like-btn-lightbox:hover {
    background: rgba(56, 189, 248, 0.08) !important;
    color: #38bdf8 !important;
}
html[data-site-mode="night"] .wow_lightbox_right .comment-inner-footer,
body.active-night-mode .wow_lightbox_right .comment-inner-footer,
[data-site-mode="night"] .wow_lightbox_right .comment-inner-footer {
    background-color: #090e1a !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-body,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-body,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-body,
html[data-site-mode="night"] .wo_imagecombo_lbox .comments-list .comment .comment-body,
body.active-night-mode .wo_imagecombo_lbox .comments-list .comment .comment-body,
[data-site-mode="night"] .wo_imagecombo_lbox .comments-list .comment .comment-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading {
    background: #121a2c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .user,
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading h4,
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading a,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .user,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading h4,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading a,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .user,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading h4,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading a {
    color: #f8fafc !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .time,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .time,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-heading .time {
    color: #64748b !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-text,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-text,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-text {
    color: #cbd5e1 !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options {
    color: #94a3b8 !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options .like-btn:hover,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options .like-btn:hover,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .comment-options .like-btn:hover {
    color: #38bdf8 !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .avatar,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer .comment .avatar,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer .comment .avatar {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer.post-comments,
body.active-night-mode .wo_imagecombo_lbox .lightbox-post-footer.post-comments,
[data-site-mode="night"] .wo_imagecombo_lbox .lightbox-post-footer.post-comments {
    background: #0d1527 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 16px !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea,
body.active-night-mode .wo_imagecombo_lbox .post-commet-textarea,
[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea {
    background: #141c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 22px !important;
    padding: 4px 14px !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea:focus-within,
body.active-night-mode .wo_imagecombo_lbox .post-commet-textarea:focus-within,
[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea:focus-within {
    background: #182238 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .comment-textarea.textarea,
body.active-night-mode .wo_imagecombo_lbox .comment-textarea.textarea,
[data-site-mode="night"] .wo_imagecombo_lbox .comment-textarea.textarea {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #f8fafc !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    padding: 6px 4px !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .comment-textarea.textarea::placeholder,
body.active-night-mode .wo_imagecombo_lbox .comment-textarea.textarea::placeholder,
[data-site-mode="night"] .wo_imagecombo_lbox .comment-textarea.textarea::placeholder {
    color: #64748b !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea .btn-file svg,
html[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea .emo-comment svg,
body.active-night-mode .wo_imagecombo_lbox .post-commet-textarea .btn-file svg,
body.active-night-mode .wo_imagecombo_lbox .post-commet-textarea .emo-comment svg {
    color: #94a3b8 !important;
    fill: #94a3b8 !important;
    transition: color 0.15s ease, fill 0.15s ease !important;
}
html[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea .btn-file:hover svg,
html[data-site-mode="night"] .wo_imagecombo_lbox .post-commet-textarea .emo-comment:hover svg,
body.active-night-mode .wo_imagecombo_lbox .post-commet-textarea .btn-file:hover svg,
body.active-night-mode .wo_imagecombo_lbox .post-commet-textarea .emo-comment:hover svg {
    color: #38bdf8 !important;
    fill: #38bdf8 !important;
}

/* Mobile responsive theater */
@media (max-width: 900px) {
    .lightbox-content.wo_imagecombo_lbox {
        flex-direction: column !important;
        overflow-y: auto !important;
    }
    .wo_imagecombo_lbox .story-img {
        width: 100% !important;
        height: 60vh !important;
        min-height: 300px !important;
    }
    .wo_imagecombo_lbox .comment-section {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 40vh !important;
    }
}

/* ==========================================================================
   FEED POST CARD & COMMENT BOX LUXURY POLISH
   ========================================================================== */
.post .panel.panel-white,
.post > .panel-white,
.post-container .panel-white,
.panel.panel-white.panel-shadow,
.panel-white.panel.post {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
    margin-bottom: 20px !important;
    overflow: visible !important;
    transition: all 0.2s ease !important;
}

html[data-site-mode="night"] .post .panel.panel-white,
html[data-site-mode="night"] .post > .panel-white,
html[data-site-mode="night"] .post-container .panel-white,
html[data-site-mode="night"] .panel.panel-white.panel-shadow,
body.active-night-mode .post .panel.panel-white,
body.active-night-mode .post > .panel-white,
body.active-night-mode .post-container .panel-white,
body.active-night-mode .panel.panel-white.panel-shadow {
    background: #141c2c !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

/* Modern Rounded Action Buttons */
#wo_post_stat_button > span,
#wo_post_stat_button > div,
#wo_post_stat_button .stat-item {
    padding: 8px 12px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    transition: all 0.15s ease !important;
}
#wo_post_stat_button .stat-item:hover,
#wo_post_stat_button > span:hover,
#wo_post_stat_button > div:hover {
    background: rgba(0, 122, 255, 0.06) !important;
    color: #007aff !important;
}
#wo_post_stat_button .stat-item:active,
#wo_post_stat_button > span:active,
#wo_post_stat_button > div:active {
    transform: scale(0.97) !important;
}

/* Modern Comment Composer Capsule */
#wo_comment_combo .comment-textarea,
#wo_comment_combo .textarea,
.post-commet-textarea .comment-textarea {
    border-radius: 22px !important;
    padding: 9px 18px !important;
    font-size: 13.5px !important;
    min-height: 40px !important;
    height: 40px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#wo_comment_combo .comment-textarea:focus,
#wo_comment_combo .textarea:focus,
.post-commet-textarea .comment-textarea:focus {
    background: #ffffff !important;
    border-color: #007aff !important;
    box-shadow: 0 0 0 3.5px rgba(0, 122, 255, 0.12) !important;
}

html[data-site-mode="night"] #wo_comment_combo .comment-textarea,
html[data-site-mode="night"] #wo_comment_combo .textarea,
html[data-site-mode="night"] .post-commet-textarea .comment-textarea,
body.active-night-mode #wo_comment_combo .comment-textarea,
body.active-night-mode #wo_comment_combo .textarea,
body.active-night-mode .post-commet-textarea .comment-textarea {
    background: #101726 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
}
html[data-site-mode="night"] #wo_comment_combo .comment-textarea:focus,
html[data-site-mode="night"] #wo_comment_combo .textarea:focus,
html[data-site-mode="night"] .post-commet-textarea .comment-textarea:focus,
body.active-night-mode #wo_comment_combo .comment-textarea:focus,
body.active-night-mode #wo_comment_combo .textarea:focus,
body.active-night-mode .post-commet-textarea .comment-textarea:focus {
    background: #141c2c !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.18) !important;
}

/* Modern Comment Layout in Feed
   The heading owns the bubble surface; the body is structural only. */
.post:not(.wo_imagecombo_lbox) .comments-list:not(.comments-list-lightbox) .comment .comment-body,
.post:not(.wo_imagecombo_lbox) .comments-list:not(.comments-list-lightbox) .reply .comment-body {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex: 1 1 auto !important;
    max-width: calc(100% - 46px) !important;
    margin: 0 !important;
    box-shadow: none !important;
}
html[data-site-mode="night"] .post:not(.wo_imagecombo_lbox) .comments-list:not(.comments-list-lightbox) .comment .comment-body,
html[data-site-mode="night"] .post:not(.wo_imagecombo_lbox) .comments-list:not(.comments-list-lightbox) .reply .comment-body,
body.active-night-mode .post:not(.wo_imagecombo_lbox) .comments-list:not(.comments-list-lightbox) .comment .comment-body,
body.active-night-mode .post:not(.wo_imagecombo_lbox) .comments-list:not(.comments-list-lightbox) .reply .comment-body {
    background: transparent !important;
    border-color: transparent !important;
    color: inherit !important;
}

/* =======================================================
   PURE FROSTED GLASS REACTION CAPSULE IN STATUS-PREVIEW.CSS
   ======================================================= */
.reactions-box {
    display: flex !important;
    position: absolute !important;
    bottom: calc(100% + 8px) !important;
    left: 0 !important;
    margin-bottom: 0 !important;
    backdrop-filter: blur(28px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
    border-radius: 9999px !important;
    padding: 6px 12px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.12), 
                0 6px 16px -2px rgba(15, 23, 42, 0.05), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 1) !important;
    gap: 8px !important;
    list-style: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    align-items: center !important;
}

html[data-site-mode="night"] .reactions-box,
body.active-night-mode .reactions-box,
[data-site-mode="night"] .reactions-box {
    background: rgba(20, 28, 44, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 24px 44px -6px rgba(0, 0, 0, 0.6), 
                0 10px 20px -2px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.reactions-box li.reaction {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

.reactions-box li.reaction:hover {
    transform: scale(1.42) translateY(-10px) !important;
    z-index: 10 !important;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2)) !important;
}

.reactions-box li.reaction img,
.reactions-box li.reaction svg {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

.reactions-box li.reaction::before {
    display: inline-block !important;
    color: #ffffff !important;
    text-align: center !important;
    line-height: 1 !important;
    font-size: 11px !important;
    left: 50% !important;
    padding: 4px 10px !important;
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 9999px !important;
    position: absolute !important;
    top: -26px !important;
    opacity: 0 !important;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    transform: translateX(-50%) translateY(4px) scale(0.88) !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    pointer-events: none !important;
    z-index: 30 !important;
}

.reactions-box li.reaction:hover::before {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
}

.reactions-box li.reaction::after {
    display: none !important;
}

/* =======================================================
   MODERN MACOS / OBSIDIAN SHARE POST MODAL REDESIGN
   ======================================================= */
#share_post_modal .modal-dialog {
    max-width: 540px !important;
    margin: 40px auto !important;
}

#share_post_modal .modal-content {
    border-radius: 22px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.22), 0 8px 24px -4px rgba(15, 23, 42, 0.08) !important;
    background: #ffffff !important;
}

/* Wavy SVG header removal & modern header bar */
#share_post_modal .wow_pops_head > svg {
    display: none !important;
}

#share_post_modal .wow_pops_head,
#share_post_modal .modern_share_head {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    background: linear-gradient(to bottom, #f8fafc, #ffffff) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 18px 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.share_head_title_wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.share_head_icon_badge {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(2, 132, 199, 0.06)) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    color: #0284c7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

#share_post_modal .wow_pops_head h4,
#share_post_modal .modern_share_head h4 {
    font-size: 16px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#share_post_modal .wow_pops_head h4 > svg {
    display: none !important;
}

.share_head_desc {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.4 !important;
}

#share_post_modal .wow_pops_head .close,
#share_post_modal .modern_share_head .close {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    margin-left: auto !important;
    float: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    opacity: 1 !important;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#share_post_modal .wow_pops_head .close:hover,
#share_post_modal .modern_share_head .close:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
    transform: scale(1.05) !important;
}

/* Modal Body */
#share_post_modal .modal-body {
    padding: 18px 22px !important;
}

/* Social Share Row */
#share_post_modal .share_modal_social_icos {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

#share_post_modal .share_modal_social_icos > a,
#share_post_modal .share_modal_social_icos .social-btn-parent {
    flex: 1 !important;
    margin: 0 !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

#share_post_modal .share_modal_social_icos .social-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    background: #f1f5f9 !important;
}

#share_post_modal .share_modal_social_icos .social-btn-parent:hover .social-btn {
    transform: translateY(-3px) scale(1.06) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1) !important;
}

#share_post_modal .share_modal_social_icos > a > span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    transition: color 0.15s ease !important;
}

#share_post_modal .share_modal_social_icos .social-btn-parent:hover > span {
    color: #0f172a !important;
}

/* Textarea input */
#share_post_modal #share_post_text,
#share_post_modal .modern_share_textarea {
    border-radius: 14px !important;
    padding: 12px 14px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    resize: vertical !important;
    min-height: 75px !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#share_post_modal #share_post_text:focus,
#share_post_modal .modern_share_textarea:focus {
    background: #ffffff !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
}

/* Destination Selector Grid */
.share_dest_heading {
    font-size: 12px !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    margin: 16px 0 10px 0 !important;
}

#share_post_modal .select_radio_btn {
    padding: 0 !important;
}

#share_post_modal .select_radio_btn.share_modal_opts_icos .select_radio_btn_innr {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;
}

#share_post_modal .select_radio_btn.share_modal_opts_icos label {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#share_post_modal .select_radio_btn .sr_btn_lab_innr {
    padding: 12px 8px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#share_post_modal .select_radio_btn .sr_btn_lab_innr:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

#share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr {
    background: rgba(14, 165, 233, 0.07) !important;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 1px #0ea5e9, 0 4px 14px rgba(14, 165, 233, 0.15) !important;
}

#share_post_modal .select_radio_btn.small_rbtn .sr_btn_img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.04) !important;
    margin: 0 0 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    filter: none !important;
    opacity: 1 !important;
    transition: transform 0.2s ease !important;
}

#share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr .sr_btn_img {
    transform: scale(1.08) !important;
}

#share_post_modal .select_radio_btn.small_rbtn .sr_btn_img svg {
    width: 20px !important;
    height: 20px !important;
}

#share_post_modal .select_radio_btn .sr_btn_lab_innr > span {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin: 0 !important;
    transition: color 0.15s ease !important;
}

#share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr > span {
    color: #0284c7 !important;
}

/* Search inputs for Page/Group */
#share_post_modal .search_for_form {
    margin-top: 10px !important;
}

#share_post_modal .search_for_form input {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    font-size: 13px !important;
    padding: 10px 14px !important;
}

/* Post Preview Card inside Share Modal */
#share_post_modal .share_modl_post_cont {
    margin-top: 14px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

#share_post_modal .share_modl_post_cont .panel {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 12px 14px !important;
}

#share_post_modal .share_modl_post_cont .avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
}

/* Modal Footer */
#share_post_modal .modal-footer,
#share_post_modal .modern_share_footer {
    padding: 14px 22px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
}

#share_post_modal .share_btn_cancel {
    border-radius: 20px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #475569 !important;
    transition: all 0.15s ease !important;
}

#share_post_modal .share_btn_cancel:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

#share_post_modal #share_post_on_btn,
#share_post_modal .share_btn_submit {
    border-radius: 20px !important;
    padding: 8px 24px !important;
    font-weight: 750 !important;
    font-size: 13.5px !important;
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#share_post_modal #share_post_on_btn:hover,
#share_post_modal .share_btn_submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4) !important;
}

#share_post_modal #share_post_on_btn:active,
#share_post_modal .share_btn_submit:active {
    transform: scale(0.98) !important;
}

/* =======================================================
   DARK MODE OVERRIDES FOR SHARE POST MODAL
   ======================================================= */
html[data-site-mode="night"] #share_post_modal .modal-content,
body.active-night-mode #share_post_modal .modal-content,
[data-site-mode="night"] #share_post_modal .modal-content {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 28px 70px -10px rgba(0, 0, 0, 0.8), 0 10px 30px -5px rgba(0, 0, 0, 0.5) !important;
}

html[data-site-mode="night"] #share_post_modal .wow_pops_head,
html[data-site-mode="night"] #share_post_modal .modern_share_head,
body.active-night-mode #share_post_modal .modern_share_head,
[data-site-mode="night"] #share_post_modal .modern_share_head {
    background: linear-gradient(to bottom, #162036, #0f172a) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] #share_post_modal .share_head_icon_badge,
body.active-night-mode #share_post_modal .share_head_icon_badge {
    background: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

html[data-site-mode="night"] #share_post_modal .wow_pops_head h4,
html[data-site-mode="night"] #share_post_modal .modern_share_head h4,
body.active-night-mode #share_post_modal .modern_share_head h4 {
    color: #f8fafc !important;
}

html[data-site-mode="night"] #share_post_modal .share_head_desc,
body.active-night-mode #share_post_modal .share_head_desc {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] #share_post_modal .wow_pops_head .close,
html[data-site-mode="night"] #share_post_modal .modern_share_head .close,
body.active-night-mode #share_post_modal .modern_share_head .close {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

html[data-site-mode="night"] #share_post_modal .wow_pops_head .close:hover,
html[data-site-mode="night"] #share_post_modal .modern_share_head .close:hover,
body.active-night-mode #share_post_modal .modern_share_head .close:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

/* Social icons row in Dark */
html[data-site-mode="night"] #share_post_modal .share_modal_social_icos,
body.active-night-mode #share_post_modal .share_modal_social_icos {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] #share_post_modal .share_modal_social_icos .social-btn,
body.active-night-mode #share_post_modal .share_modal_social_icos .social-btn {
    background: #141c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] #share_post_modal .share_modal_social_icos > a > span,
body.active-night-mode #share_post_modal .share_modal_social_icos > a > span {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] #share_post_modal .share_modal_social_icos .social-btn-parent:hover > span,
body.active-night-mode #share_post_modal .share_modal_social_icos .social-btn-parent:hover > span {
    color: #f8fafc !important;
}

/* Textarea in Dark */
html[data-site-mode="night"] #share_post_modal #share_post_text,
html[data-site-mode="night"] #share_post_modal .modern_share_textarea,
body.active-night-mode #share_post_modal .modern_share_textarea {
    background: #141c2e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}

html[data-site-mode="night"] #share_post_modal #share_post_text:focus,
html[data-site-mode="night"] #share_post_modal .modern_share_textarea:focus,
body.active-night-mode #share_post_modal .modern_share_textarea:focus {
    background: #182238 !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

/* Destination in Dark */
html[data-site-mode="night"] #share_post_modal .share_dest_heading,
body.active-night-mode #share_post_modal .share_dest_heading {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] #share_post_modal .select_radio_btn .sr_btn_lab_innr,
body.active-night-mode #share_post_modal .select_radio_btn .sr_btn_lab_innr {
    background: #141c2e !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] #share_post_modal .select_radio_btn .sr_btn_lab_innr:hover,
body.active-night-mode #share_post_modal .select_radio_btn .sr_btn_lab_innr:hover {
    background: #182238 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

html[data-site-mode="night"] #share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr,
body.active-night-mode #share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr {
    background: rgba(56, 189, 248, 0.1) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 1px #38bdf8, 0 4px 14px rgba(56, 189, 248, 0.2) !important;
}

html[data-site-mode="night"] #share_post_modal .select_radio_btn.small_rbtn .sr_btn_img,
body.active-night-mode #share_post_modal .select_radio_btn.small_rbtn .sr_btn_img {
    background: rgba(255, 255, 255, 0.06) !important;
}

html[data-site-mode="night"] #share_post_modal .select_radio_btn .sr_btn_lab_innr > span,
body.active-night-mode #share_post_modal .select_radio_btn .sr_btn_lab_innr > span {
    color: #cbd5e1 !important;
}

html[data-site-mode="night"] #share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr > span,
body.active-night-mode #share_post_modal .select_radio_btn label > input:checked ~ .sr_btn_lab_innr > span {
    color: #38bdf8 !important;
}

/* Post Preview in Dark */
html[data-site-mode="night"] #share_post_modal .share_modl_post_cont,
body.active-night-mode #share_post_modal .share_modl_post_cont {
    background: #121a2c !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] #share_post_modal .share_modl_post_cont .meta .title a,
body.active-night-mode #share_post_modal .share_modl_post_cont .meta .title a {
    color: #f8fafc !important;
}

html[data-site-mode="night"] #share_post_modal .share_modl_post_cont .time,
body.active-night-mode #share_post_modal .share_modl_post_cont .time {
    color: #64748b !important;
}

/* Footer in Dark */
html[data-site-mode="night"] #share_post_modal .modal-footer,
html[data-site-mode="night"] #share_post_modal .modern_share_footer,
body.active-night-mode #share_post_modal .modern_share_footer {
    background: #0d1527 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] #share_post_modal .share_btn_cancel,
body.active-night-mode #share_post_modal .share_btn_cancel {
    background: #141c2e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

html[data-site-mode="night"] #share_post_modal .share_btn_cancel:hover,
body.active-night-mode #share_post_modal .share_btn_cancel:hover {
    background: #182238 !important;
    color: #ffffff !important;
}

html[data-site-mode="night"] #share_post_modal #share_post_on_btn,
html[data-site-mode="night"] #share_post_modal .share_btn_submit,
body.active-night-mode #share_post_modal .share_btn_submit {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}

/* ==========================================================================
   1337 FORUM - MEMBER DIRECTORY & FIND FRIENDS REVAMP (macOS Obsidian)
   ========================================================================== */

.member-directory-page {
    max-width: 1220px !important;
    margin: 20px auto 40px auto !important;
    padding: 0 16px !important;
}

/* Hero Card */
.member-dir-hero {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 26px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.member-dir-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.member-dir-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.member-dir-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(3, 105, 161, 0.18));
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-dir-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.member-dir-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.member-dir-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 9999px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 13px;
    font-weight: 600;
}

.member-dir-stats-badge .pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0284c7;
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
    animation: memberPulse 2s infinite;
}

@keyframes memberPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(2, 132, 199, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    }
}

/* Toolbar (Search & Filter) */
.member-dir-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.member-dir-search-form {
    flex: 1 1 320px;
    max-width: 440px;
    margin: 0;
}

.member-dir-search-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.member-dir-search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
}

.member-dir-search-input {
    width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    padding: 0 42px 0 42px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.member-dir-search-input:focus {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
    outline: none !important;
}

.member-dir-search-clear {
    position: absolute;
    right: 38px;
    color: #94a3b8;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.member-dir-search-clear:hover {
    color: #475569;
}

.member-dir-search-submit {
    position: absolute;
    right: 7px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #0284c7;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.member-dir-search-submit:hover {
    background: #0369a1;
    transform: scale(1.04);
}

.member-dir-tabs {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.member-dir-tab {
    padding: 7px 15px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.member-dir-tab:hover {
    color: #0f172a;
}

.member-dir-tab.is-active {
    background: #ffffff;
    color: #0284c7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tab-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 6px;
    display: inline-block;
}

/* Grid Layout */
.member-dir-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* Individual Member Card */
.member-dir-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.member-dir-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(2, 132, 199, 0.4);
}

.member-dir-card-cover {
    height: 72px;
    width: 100%;
    background-color: #0284c7;
    background-image: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.member-dir-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.member-dir-card-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin: -36px auto 10px auto;
    z-index: 2;
}

.member-dir-card-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    border: 3px solid #ffffff !important;
    object-fit: cover !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    display: block !important;
    background: #e2e8f0;
    transition: transform 0.25s ease;
}

.member-dir-card:hover .member-dir-card-avatar {
    transform: scale(1.04);
}

.member-dir-card-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
}

.member-dir-card-status.is-online {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.member-dir-card-status.is-offline {
    background: #cbd5e1;
}

.member-dir-card-body {
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    text-align: center;
}

.member-dir-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-dir-card-name a {
    color: #0f172a;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.member-dir-card-name a:hover {
    color: #0284c7;
}

.member-verified-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.member-dir-card-handle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-role-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-dir-card-stats {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 7px 12px;
    margin-bottom: 14px;
}

.member-stat-item {
    text-align: center;
}

.member-stat-item .stat-val {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.member-stat-item .stat-lbl {
    font-size: 11px;
    color: #64748b;
}

.member-stat-divider {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

/* Actions Rail */
.member-dir-card-actions {
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: auto;
    align-items: center;
}

.member-dir-btn-follow-wrap {
    flex: 1 1 50%;
    min-width: 0;
}

.member-dir-btn-follow-wrap span,
.member-dir-btn-follow-wrap button,
.member-dir-btn-follow-wrap .btn {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.member-dir-card-actions .wo_follow_btn,
.member-dir-card-actions button {
    height: 36px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 10px !important;
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.member-dir-card-actions .wo_follow_btn:hover,
.member-dir-card-actions button:hover {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
    transform: translateY(-1px);
}

.member-dir-card-actions .wo_follow_btn svg,
.member-dir-card-actions button svg {
    width: 15px !important;
    height: 15px !important;
}

/* Already following / Unfriend button */
.member-dir-card-actions .btn-default.btn-active,
.member-dir-card-actions button[class*="active"],
.member-dir-card-actions [id^="Follow-"] .btn-default:not(.wo_follow_btn) {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: none !important;
}

.btn-member-profile {
    flex: 1 1 50%;
    min-width: 0;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: #0284c7;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-member-profile:hover {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    transform: translateY(-1px);
}

.member-dir-self-badge {
    flex: 1 1 50%;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
}

/* Pagination Bar */
.member-dir-pagination-wrap {
    margin-top: 32px;
    padding: 18px 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.member-dir-page-text {
    font-size: 13.5px;
    color: #64748b;
}

.member-dir-page-text strong {
    color: #0f172a;
}

.member-dir-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.member-page-btn:hover:not(.is-disabled) {
    background: #ffffff;
    border-color: #0284c7;
    color: #0284c7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.member-page-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.member-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.member-page-num:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.05);
}

.member-page-num.is-active {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border-color: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    pointer-events: none;
}

.member-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 36px;
    color: #94a3b8;
    font-weight: 700;
}

/* Empty State */
.member-dir-empty {
    margin-top: 24px;
    padding: 56px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
}

.member-empty-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.member-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.member-empty-desc {
    font-size: 14px;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto 24px auto;
    line-height: 1.5;
}

.btn-member-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}

.btn-member-reset:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   DARK MODE OVERRIDES (Obsidian Glass Theme)
   ========================================================================== */

html[data-site-mode="night"] .member-dir-hero,
body.active-night-mode .member-dir-hero {
    background: #121a2c !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

html[data-site-mode="night"] .member-dir-title,
body.active-night-mode .member-dir-title {
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-dir-desc,
body.active-night-mode .member-dir-desc {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] .member-dir-icon-badge,
body.active-night-mode .member-dir-icon-badge {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

html[data-site-mode="night"] .member-dir-stats-badge,
body.active-night-mode .member-dir-stats-badge {
    background: #090e1a !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

html[data-site-mode="night"] .member-dir-stats-badge .pulse-indicator,
body.active-night-mode .member-dir-stats-badge .pulse-indicator {
    background: #38bdf8 !important;
}

html[data-site-mode="night"] .member-dir-toolbar,
body.active-night-mode .member-dir-toolbar {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] .member-dir-search-input,
body.active-night-mode .member-dir-search-input {
    background: #090e1a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-dir-search-input:focus,
body.active-night-mode .member-dir-search-input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

html[data-site-mode="night"] .member-dir-tabs,
body.active-night-mode .member-dir-tabs {
    background: #090e1a !important;
}

html[data-site-mode="night"] .member-dir-tab,
body.active-night-mode .member-dir-tab {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] .member-dir-tab:hover,
body.active-night-mode .member-dir-tab:hover {
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-dir-tab.is-active,
body.active-night-mode .member-dir-tab.is-active {
    background: #182238 !important;
    color: #38bdf8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

html[data-site-mode="night"] .member-dir-card,
body.active-night-mode .member-dir-card {
    background: #121a2c !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}

html[data-site-mode="night"] .member-dir-card:hover,
body.active-night-mode .member-dir-card:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
}

html[data-site-mode="night"] .member-dir-card-avatar,
body.active-night-mode .member-dir-card-avatar {
    border-color: #121a2c !important;
}

html[data-site-mode="night"] .member-dir-card-status,
body.active-night-mode .member-dir-card-status {
    border-color: #121a2c !important;
}

html[data-site-mode="night"] .member-dir-card-status.is-offline,
body.active-night-mode .member-dir-card-status.is-offline {
    background: #475569 !important;
}

html[data-site-mode="night"] .member-dir-card-name a,
body.active-night-mode .member-dir-card-name a {
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-dir-card-name a:hover,
body.active-night-mode .member-dir-card-name a:hover {
    color: #38bdf8 !important;
}

html[data-site-mode="night"] .member-dir-card-handle,
body.active-night-mode .member-dir-card-handle {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] .member-dir-card-stats,
body.active-night-mode .member-dir-card-stats {
    background: #090e1a !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

html[data-site-mode="night"] .member-stat-item .stat-val,
body.active-night-mode .member-stat-item .stat-val {
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-stat-item .stat-lbl,
body.active-night-mode .member-stat-item .stat-lbl {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] .member-stat-divider,
body.active-night-mode .member-stat-divider {
    background: rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] .btn-member-profile,
body.active-night-mode .btn-member-profile {
    background: rgba(56, 189, 248, 0.1) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

html[data-site-mode="night"] .btn-member-profile:hover,
body.active-night-mode .btn-member-profile:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

html[data-site-mode="night"] .member-dir-self-badge,
body.active-night-mode .member-dir-self-badge {
    background: #182238 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

html[data-site-mode="night"] .member-dir-card-actions .btn-default.btn-active,
html[data-site-mode="night"] .member-dir-card-actions button[class*="active"],
html[data-site-mode="night"] .member-dir-card-actions [id^="Follow-"] .btn-default:not(.wo_follow_btn),
body.active-night-mode .member-dir-card-actions [id^="Follow-"] .btn-default:not(.wo_follow_btn) {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html[data-site-mode="night"] .member-dir-pagination-wrap,
body.active-night-mode .member-dir-pagination-wrap {
    background: #121a2c !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

html[data-site-mode="night"] .member-dir-page-text,
body.active-night-mode .member-dir-page-text {
    color: #94a3b8 !important;
}

html[data-site-mode="night"] .member-dir-page-text strong,
body.active-night-mode .member-dir-page-text strong {
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-page-btn,
body.active-night-mode .member-page-btn {
    background: #090e1a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

html[data-site-mode="night"] .member-page-btn:hover:not(.is-disabled),
body.active-night-mode .member-page-btn:hover:not(.is-disabled) {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    background: #182238 !important;
}

html[data-site-mode="night"] .member-page-num,
body.active-night-mode .member-page-num {
    background: #090e1a !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

html[data-site-mode="night"] .member-page-num:hover,
body.active-night-mode .member-page-num:hover {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.1) !important;
}

html[data-site-mode="night"] .member-page-num.is-active,
body.active-night-mode .member-page-num.is-active {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

html[data-site-mode="night"] .member-dir-empty,
body.active-night-mode .member-dir-empty {
    background: #121a2c !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-site-mode="night"] .member-empty-icon-wrap,
body.active-night-mode .member-empty-icon-wrap {
    background: rgba(56, 189, 248, 0.1) !important;
    color: #38bdf8 !important;
}

html[data-site-mode="night"] .member-empty-title,
body.active-night-mode .member-empty-title {
    color: #f1f5f9 !important;
}

html[data-site-mode="night"] .member-empty-desc,
body.active-night-mode .member-empty-desc {
    color: #94a3b8 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .member-dir-hero {
        padding: 20px 18px !important;
    }
    .member-dir-title {
        font-size: 19px !important;
    }
    .member-dir-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .member-dir-search-form {
        max-width: 100%;
    }
    .member-dir-tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }
    .member-dir-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }
    .member-dir-pagination-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}



