* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --NUCUBA-bg: #f0f2f5;
      --NUCUBA-card: #ffffff;
      --NUCUBA-card-2: #ffffff;
      --NUCUBA-border: #e4e6eb;
      --NUCUBA-text: #1c1e21;
      --NUCUBA-muted: #65676b;
      --NUCUBA-blue: #1877f2;
      --NUCUBA-blue-soft: #e7f3ff;
      --NUCUBA-hover: #f2f3f5;
      --NUCUBA-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
      --NUCUBA-shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.16);
      --NUCUBA-radius: 18px;
      --NUCUBA-radius-sm: 12px;
      --NUCUBA-topbar-h: 70px;
      --NUCUBA-mobile-topbar-h: 64px;
      --NUCUBA-danger: #e41e3f;
      --NUCUBA-green: #31a24c;
      --NUCUBA-icon-bg: #eff2f6;
    }

    body.NUCUBA-dark {
      --NUCUBA-bg: #18191a;
      --NUCUBA-card: #242526;
      --NUCUBA-card-2: #202124;
      --NUCUBA-border: #3a3b3c;
      --NUCUBA-text: #e4e6eb;
      --NUCUBA-muted: #b0b3b8;
      --NUCUBA-blue: #2d88ff;
      --NUCUBA-blue-soft: rgba(45, 136, 255, 0.15);
      --NUCUBA-hover: #3a3b3c;
      --NUCUBA-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
      --NUCUBA-shadow-lg: 0 22px 48px rgba(0, 0, 0, 0.4);
      --NUCUBA-icon-bg: #3a3b3c;
    }

    html,
    body {
      width: 100%;
      min-height: 100%;
      background: var(--NUCUBA-bg);
    }

    .body, #si_content {
      background: var(--NUCUBA-bg);
      min-height: 100vh;
    }

    html.ajax-nav-swapping #si_content {
      opacity: 0;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: var(--NUCUBA-bg);
      color: var(--NUCUBA-text);
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button,
    input {
      font: inherit;
      border: none;
      outline: none;
      background: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .NUCUBA-app {
      min-height: 100vh;
      background: var(--NUCUBA-bg);
    }

    .NUCUBA-topbar {
      position: sticky;
      top: 0;
      z-index: 300;
      height: var(--NUCUBA-topbar-h);
      background: var(--NUCUBA-card);
      border-bottom: 1px solid var(--NUCUBA-border);
      display: grid;
      grid-template-columns: 300px minmax(0, 1fr) 300px;
      align-items: center;
      padding-left: max(18px, calc((100vw - 1600px) / 2 + 18px));
      padding-right: max(18px, calc((100vw - 1600px) / 2 + 18px));
      gap: 14px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }

    .NUCUBA-topbar-left,
    .NUCUBA-topbar-center,
    .NUCUBA-topbar-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .NUCUBA-topbar-center {
      flex: 1 1 auto;
      justify-content: stretch;
      min-width: 0;
      width: 100%;
    }

    .NUCUBA-topbar-right {
      flex: 0 0 auto;
      justify-content: flex-end;
      width: 300px;
      min-width: 300px;
      max-width: 300px;
    }

    .NUCUBA-topbar-left {
      flex: 0 0 300px;
      width: 300px;
      min-width: 300px;
      max-width: 300px;
    }

    .NUCUBA-logo {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      flex-shrink: 0;
      box-shadow: 0 8px 18px rgba(24, 119, 242, 0.18);
      overflow: hidden;
    }

    .NUCUBA-logo-img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      border-radius: 50%;
    }

    .NUCUBA-search-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--NUCUBA-bg);
      border-radius: 999px;
      padding: 0 14px;
      height: 44px;
      flex: 1 1 auto;
      width: calc(100% - 54px);
      min-width: 0;
      max-width: calc(100% - 54px);
    }

    .NUCUBA-search-wrap svg {
      width: 18px;
      height: 18px;
      fill: var(--NUCUBA-muted);
      flex-shrink: 0;
    }

    .NUCUBA-search-input {
      width: 100%;
      background: transparent;
      color: var(--NUCUBA-text);
    }

    .NUCUBA-main-nav {
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      max-width: 100%;
      margin: 0;
    }

    .NUCUBA-main-nav-btn {
      flex: 1 1 0;
      min-width: 0;
      max-width: none;
      height: 50px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4b5563;
      cursor: pointer;
      transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
      position: relative;
      flex-shrink: 0;
      background: transparent;
    }

    .NUCUBA-main-nav-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(24, 119, 242, 0.10);
    }

    .NUCUBA-main-nav-btn.NUCUBA-active {
      color: var(--NUCUBA-blue);
      background: linear-gradient(180deg, rgba(24,119,242,0.14), rgba(24,119,242,0.06));
      box-shadow: inset 0 0 0 1px rgba(24,119,242,0.08);
    }

    .NUCUBA-main-nav-btn.NUCUBA-active::after {
      content: "";
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 0;
      height: 3px;
      border-radius: 999px;
      background: var(--NUCUBA-blue);
    }

    .NUCUBA-main-nav-btn:nth-child(1):hover,
    .NUCUBA-main-nav-btn:nth-child(1).NUCUBA-active {
      color: #1877f2;
      background: linear-gradient(180deg, rgba(24,119,242,0.15), rgba(24,119,242,0.05));
    }

    .NUCUBA-main-nav-btn:nth-child(2):hover,
    .NUCUBA-main-nav-btn:nth-child(2).NUCUBA-active {
      color: #7c3aed;
      background: linear-gradient(180deg, rgba(124,58,237,0.14), rgba(124,58,237,0.05));
    }

    .NUCUBA-main-nav-btn:nth-child(3):hover,
    .NUCUBA-main-nav-btn:nth-child(3).NUCUBA-active {
      color: #ef4444;
      background: linear-gradient(180deg, rgba(239,68,68,0.14), rgba(239,68,68,0.05));
    }

    .NUCUBA-main-nav-btn:nth-child(4):hover,
    .NUCUBA-main-nav-btn:nth-child(4).NUCUBA-active {
      color: #10b981;
      background: linear-gradient(180deg, rgba(16,185,129,0.14), rgba(16,185,129,0.05));
    }

    .NUCUBA-main-nav-badge {
      position: absolute;
      top: 6px;
      right: 6px;
      min-width: 19px;
      height: 19px;
      padding: 0 5px;
      border-radius: 999px;
      background: var(--NUCUBA-danger);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--NUCUBA-card);
      box-sizing: border-box;
    }

    .NUCUBA-main-nav-btn svg,
    .NUCUBA-circle-btn svg,
    .NUCUBA-side-icon svg,
    .NUCUBA-post-action svg,
    .NUCUBA-chat-head-action svg,
    .NUCUBA-mobile-menu-btn svg,
    .NUCUBA-mobile-home-btn svg,
    .NUCUBA-post-more svg,
    .NUCUBA-send-btn svg,
    .NUCUBA-close-btn svg,
    .NUCUBA-profile-menu-icon svg,
    .NUCUBA-profile-trigger-arrow svg,
    .NUCUBA-profile-row-arrow svg {
      width: 22px;
      height: 22px;
      fill: currentColor;
    }

    .NUCUBA-circle-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--NUCUBA-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--NUCUBA-text);
      cursor: pointer;
      transition: 0.2s ease;
      position: relative;
      flex-shrink: 0;
    }

    .NUCUBA-circle-btn:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-badge {
      position: absolute;
      top: -3px;
      right: -3px;
      min-width: 18px;
      height: 18px;
      padding: 0 5px;
      border-radius: 999px;
      background: var(--NUCUBA-danger);
      color: #fff;
      font-size: 11px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--NUCUBA-card);
    }

    .NUCUBA-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
    }

    .NUCUBA-topbar-profile {
      position: relative;
    }

    .NUCUBA-profile-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      padding: 4px 6px 4px 4px;
      border-radius: 999px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .NUCUBA-profile-trigger:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-profile-avatar-wrap {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: var(--NUCUBA-icon-bg);
    }

    .NUCUBA-profile-avatar-wrap.NUCUBA-profile-avatar-wrap-lg {
      width: 52px;
      height: 52px;
    }

    .NUCUBA-profile-avatar-wrap img,
    .NUCUBA-profile-trigger .avatar-o,
    .NUCUBA-profile-card .avatar-o {
      display: block;
      width: 100% !important;
      height: 100% !important;
      border-radius: 50% !important;
      object-fit: cover;
      background: transparent !important;
    }

    .NUCUBA-profile-trigger-arrow {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--NUCUBA-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--NUCUBA-muted);
      flex-shrink: 0;
    }

    .NUCUBA-profile-menu {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 360px;
      max-width: calc(100vw - 16px);
      background: var(--NUCUBA-card);
      border: 1px solid var(--NUCUBA-border);
      border-radius: 22px;
      box-shadow: var(--NUCUBA-shadow-lg);
      padding: 12px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: 0.22s ease;
      z-index: 400;
    }

    .NUCUBA-profile-menu.NUCUBA-open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .NUCUBA-profile-card {
      background: var(--NUCUBA-card-2);
      border: 1px solid var(--NUCUBA-border);
      border-radius: 18px;
      padding: 10px;
      box-shadow: var(--NUCUBA-shadow);
      margin-bottom: 10px;
    }

    .NUCUBA-profile-card-top {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px;
      border-radius: 14px;
      transition: 0.2s ease;
      cursor: pointer;
    }

    .NUCUBA-profile-card-top:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-profile-name {
      font-size: 16px;
      font-weight: 700;
    }

    .NUCUBA-profile-sub {
      font-size: 13px;
      color: var(--NUCUBA-muted);
      margin-top: 4px;
    }

    .NUCUBA-profile-divider {
      height: 1px;
      background: var(--NUCUBA-border);
      margin: 10px 6px;
    }

    .NUCUBA-profile-shortcut {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 8px;
      border-radius: 14px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .NUCUBA-profile-shortcut:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-profile-menu-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .NUCUBA-profile-menu-list-desktop {
      gap: 6px;
    }

    .NUCUBA-profile-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      padding: 10px 8px;
      border-radius: 16px;
      cursor: pointer;
      transition: 0.2s ease;
      color: var(--NUCUBA-text);
      text-decoration: none;
      text-align: left;
    }

    .NUCUBA-profile-row-button {
      background: transparent;
      border: 0;
      font: inherit;
    }

    .NUCUBA-profile-row:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-profile-row-left {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      flex: 1;
    }

    .NUCUBA-profile-row-left > span:last-child {
      display: flex;
      flex-direction: column;
      min-width: 0;
      line-height: 1.15;
    }

    .NUCUBA-profile-menu-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.03)), var(--NUCUBA-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--NUCUBA-text);
      flex-shrink: 0;
    }

    .NUCUBA-profile-row-title {
      display: block;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.2;
      white-space: normal;
    }

    .NUCUBA-profile-row-sub {
      display: block;
      font-size: 12px;
      color: var(--NUCUBA-muted);
      margin-top: 4px;
      line-height: 1.2;
      white-space: normal;
    }

    .NUCUBA-profile-row-arrow {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--NUCUBA-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--NUCUBA-muted);
      flex-shrink: 0;
    }

    .NUCUBA-layout {
      max-width: 1600px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 300px minmax(0, 1fr) 320px;
      align-items: start;
    }

    .NUCUBA-sidebar-left,
    .NUCUBA-sidebar-right {
      position: sticky;
      top: calc(var(--NUCUBA-topbar-h) + 18px);
      max-height: calc(100vh - var(--NUCUBA-topbar-h) - 36px);
      overflow-y: auto;
      overflow-x: hidden;
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: transparent transparent;
      scrollbar-gutter: stable both-edges;
    }

    .NUCUBA-profile-menu {
      max-height: min(78vh, 760px);
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: transparent transparent;
      scrollbar-gutter: stable both-edges;
    }

    .NUCUBA-sidebar-left:hover,
    .NUCUBA-sidebar-right:hover,
    .NUCUBA-profile-menu:hover {
      scrollbar-color: #c5ccd6 transparent;
    }

    .NUCUBA-sidebar-left::-webkit-scrollbar,
    .NUCUBA-sidebar-right::-webkit-scrollbar,
    .NUCUBA-profile-menu::-webkit-scrollbar {
      width: 8px;
    }

    .NUCUBA-sidebar-left::-webkit-scrollbar-track,
    .NUCUBA-sidebar-right::-webkit-scrollbar-track,
    .NUCUBA-profile-menu::-webkit-scrollbar-track {
      background: transparent;
    }

    .NUCUBA-sidebar-left::-webkit-scrollbar-thumb,
    .NUCUBA-sidebar-right::-webkit-scrollbar-thumb,
    .NUCUBA-profile-menu::-webkit-scrollbar-thumb {
      background: rgba(197, 204, 214, 0);
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
      opacity: 0;
      transition: opacity .32s ease, background-color .32s ease, border-color .32s ease;
    }

    .NUCUBA-sidebar-left:hover::-webkit-scrollbar-thumb,
    .NUCUBA-sidebar-right:hover::-webkit-scrollbar-thumb,
    .NUCUBA-profile-menu:hover::-webkit-scrollbar-thumb {
      background: rgba(197, 204, 214, .95);
      border-color: transparent;
      opacity: 1;
    }

    .NUCUBA-side-card,
    .NUCUBA-right-card,
    .NUCUBA-card {
      background: var(--NUCUBA-card);
      border: 1px solid var(--NUCUBA-border);
      border-radius: var(--NUCUBA-radius);
      box-shadow: var(--NUCUBA-shadow);
    }

    .NUCUBA-side-card,
    .NUCUBA-right-card {
      padding: 12px;
    }

    .NUCUBA-search-panel,
    .NUCUBA-search-card,
    .NUCUBA-search-results-panel,
    .search-main-optimize,
    .search-main-optimize form {
      width: min(var(--NUCUBA-side-card-width, 100%), calc(100vw - 32px));
      max-width: min(var(--NUCUBA-side-card-width, 100%), calc(100vw - 32px));
      box-sizing: border-box;
    }

    .NUCUBA-search-panel,
    .NUCUBA-search-card,
    .NUCUBA-search-results-panel,
    .search-main-optimize {
      border-radius: var(--NUCUBA-radius);
    }

    .NUCUBA-side-title,
    .NUCUBA-right-head-title {
      font-size: 18px;
      font-weight: 700;
    }

    .NUCUBA-side-title {
      margin-bottom: 10px;
      padding: 6px 6px 10px;
    }

    .NUCUBA-room-list,
    .NUCUBA-contact-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .NUCUBA-contact-section-title {
      font-size: 12px;
      font-weight: 800;
      color: var(--NUCUBA-muted);
      letter-spacing: .04em;
      text-transform: uppercase;
      padding: 8px 10px 4px;
    }

    .NUCUBA-room-item,
    .NUCUBA-contact-item,
    .NUCUBA-side-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px;
      border-radius: 14px;
      cursor: pointer;
      transition: 0.2s ease;
      min-width: 0;
    }

    .NUCUBA-room-item:hover,
    .NUCUBA-contact-item:hover,
    .NUCUBA-side-link:hover,
    .NUCUBA-room-item-active {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-room-item-active .NUCUBA-room-name,
    .NUCUBA-room-item-active .NUCUBA-room-desc {
      color: var(--NUCUBA-blue);
    }

    .NUCUBA-room-item-active .NUCUBA-room-thumb,
    .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-icon {
      background: linear-gradient(135deg, #cfe3ff, #9fc5ff);
      color: #0b57d0;
      box-shadow: 0 8px 18px rgba(24, 119, 242, 0.18);
    }

    .NUCUBA-room-thumb,
    .NUCUBA-contact-avatar,
    .NUCUBA-side-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .NUCUBA-room-thumb {
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--NUCUBA-blue);
    }

    .NUCUBA-contact-avatar {
      object-fit: cover;
    }

    .NUCUBA-side-icon {
      background: var(--NUCUBA-blue-soft);
      color: var(--NUCUBA-blue);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .NUCUBA-room-text,
    .NUCUBA-contact-text,
    .NUCUBA-side-link-text {
      min-width: 0;
      flex: 1;
    }

    .NUCUBA-room-name,
    .NUCUBA-contact-name,
    .NUCUBA-side-link-title {
      font-weight: 700;
      font-size: 15px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .NUCUBA-room-desc,
    .NUCUBA-contact-status,
    .NUCUBA-side-link-sub {
      margin-top: 4px;
      color: var(--NUCUBA-muted);
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .NUCUBA-contact-status-chat {
      color: var(--NUCUBA-blue);
      font-weight: 600;
    }

    

    /* Desktop sidebar icon beautification */
    @media (min-width: 1101px) {
      .NUCUBA-sidebar-left .NUCUBA-room-list {
        gap: 8px;
      }

      .NUCUBA-sidebar-left .NUCUBA-room-item {
        position: relative;
        padding: 11px 12px;
        border-radius: 16px;
        transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
      }

      .NUCUBA-sidebar-left .NUCUBA-room-item:hover {
        background: #f4f7fb;
        transform: translateX(2px);
      }

      .NUCUBA-sidebar-left .NUCUBA-room-item.NUCUBA-room-item-active {
        background: linear-gradient(135deg, rgba(24, 119, 242, 0.12), rgba(54, 126, 255, 0.05));
        box-shadow: inset 0 0 0 1px rgba(24, 119, 242, 0.12);
      }

      .NUCUBA-sidebar-left .NUCUBA-room-item.NUCUBA-room-item-active::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 10px;
        bottom: 10px;
        width: 4px;
        border-radius: 999px;
        background: linear-gradient(180deg, #1877f2, #4f9bff);
      }

      .NUCUBA-sidebar-left .NUCUBA-room-thumb {
        width: 46px;
        height: 46px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.45);
      }

      .NUCUBA-sidebar-left .NUCUBA-room-thumb svg {
        width: 24px;
        height: 24px;
        display: block;
        fill: currentColor;
      }

      .NUCUBA-sidebar-left .NUCUBA-room-name {
        font-size: 15px;
        letter-spacing: -0.01em;
      }

      .NUCUBA-sidebar-left .NUCUBA-room-desc {
        font-size: 12px;
      }

      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(1) .NUCUBA-room-thumb { background: linear-gradient(135deg, #eff6ff, #dbeafe); color: #1d4ed8; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(2) .NUCUBA-room-thumb { background: linear-gradient(135deg, #ecfeff, #cffafe); color: #0f766e; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(3) .NUCUBA-room-thumb { background: linear-gradient(135deg, #f5f3ff, #e9d5ff); color: #7c3aed; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(4) .NUCUBA-room-thumb { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #ea580c; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(5) .NUCUBA-room-thumb { background: linear-gradient(135deg, #fefce8, #fef3c7); color: #a16207; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(6) .NUCUBA-room-thumb { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(7) .NUCUBA-room-thumb { background: linear-gradient(135deg, #fef2f2, #fee2e2); color: #dc2626; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(8) .NUCUBA-room-thumb { background: linear-gradient(135deg, #eef2ff, #e0e7ff); color: #4f46e5; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(9) .NUCUBA-room-thumb { background: linear-gradient(135deg, #f8fafc, #e2e8f0); color: #334155; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(10) .NUCUBA-room-thumb { background: linear-gradient(135deg, #eefdf4, #dcfce7); color: #15803d; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(11) .NUCUBA-room-thumb { background: linear-gradient(135deg, #fff1f2, #ffe4e6); color: #e11d48; }
      .NUCUBA-sidebar-left .NUCUBA-room-item:nth-child(12) .NUCUBA-room-thumb { background: linear-gradient(135deg, #f3f4f6, #e5e7eb); color: #374151; }

      .NUCUBA-sidebar-left .NUCUBA-room-item.NUCUBA-room-item-active .NUCUBA-room-thumb {
        background: linear-gradient(135deg, #cfe3ff, #9fc5ff) !important;
        color: #0b57d0 !important;
        box-shadow: 0 12px 26px rgba(24, 119, 242, 0.24);
      }
    }
.NUCUBA-room-badge {
      min-width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--NUCUBA-blue);
      color: #fff;
      font-size: 12px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .NUCUBA-feed {
      display: flex;
      flex-direction: column;
      gap: 16px;
      min-width: 0;
    }

    .NUCUBA-create-post {
      padding: 14px;
    }

    .NUCUBA-create-top {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--NUCUBA-border);
    }

    .NUCUBA-create-input {
      flex: 1;
      height: 48px;
      background: var(--NUCUBA-bg);
      border-radius: 999px;
      padding: 0 18px;
      color: var(--NUCUBA-muted);
      display: flex;
      align-items: center;
      cursor: text;
      min-width: 0;
    }

    .NUCUBA-create-actions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding-top: 12px;
    }

    .NUCUBA-post-action {
      min-height: 46px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--NUCUBA-text);
      cursor: pointer;
      transition: 0.2s ease;
      font-weight: 600;
      text-align: center;
      min-width: 0;
      padding: 0 8px;
    }

    .NUCUBA-post-action:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-post-item {
      padding: 16px;
    }

    .NUCUBA-post-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .NUCUBA-post-user {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .NUCUBA-post-user-meta {
      min-width: 0;
    }

    .NUCUBA-post-user-name {
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .NUCUBA-post-time {
      margin-top: 4px;
      color: var(--NUCUBA-muted);
      font-size: 13px;
    }

    .NUCUBA-post-more {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--NUCUBA-muted);
      transition: 0.2s ease;
      flex-shrink: 0;
    }

    .NUCUBA-post-more:hover {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-post-text {
      font-size: 15px;
      line-height: 1.55;
      margin-bottom: 14px;
      word-break: break-word;
    }

    .NUCUBA-post-media {
      width: 100%;
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(24,119,242,0.08), rgba(24,119,242,0.15));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .NUCUBA-post-media svg {
      width: 70px;
      height: 70px;
      fill: rgba(24, 119, 242, 0.75);
    }

    .NUCUBA-post-stats {
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--NUCUBA-muted);
      font-size: 14px;
      padding: 12px 2px;
      border-bottom: 1px solid var(--NUCUBA-border);
      gap: 12px;
      flex-wrap: wrap;
    }

    .NUCUBA-post-controls {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding-top: 10px;
    }

    .NUCUBA-right-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 6px 6px 12px;
    }

    .NUCUBA-online-dot {
      position: absolute;
      right: 1px;
      bottom: 1px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--NUCUBA-green);
      border: 2px solid var(--NUCUBA-card);
    }

    .NUCUBA-avatar-wrap {
      position: relative;
      width: 42px;
      height: 42px;
      flex-shrink: 0;
    }

    .NUCUBA-chat-popups {
      position: fixed;
      right: 20px;
      bottom: 0;
      display: flex;
      gap: 12px;
      z-index: 280;
      align-items: flex-end;
      max-width: calc(100vw - 20px);
      overflow-x: auto;
      padding-bottom: 0;
    }

    .NUCUBA-chat-box {
      width: 320px;
      background: var(--NUCUBA-card);
      border: 1px solid var(--NUCUBA-border);
      border-radius: 18px 18px 0 0;
      box-shadow: 0 14px 34px rgba(0,0,0,0.18);
      overflow: hidden;
      display: none;
      flex-direction: column;
      max-height: 440px;
    }

    .NUCUBA-chat-box.NUCUBA-open {
      display: flex;
    }

    .NUCUBA-chat-head {
      height: 58px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 10px 0 12px;
      border-bottom: 1px solid var(--NUCUBA-border);
      background: var(--NUCUBA-card);
      gap: 10px;
    }

    .NUCUBA-chat-head-user {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .NUCUBA-chat-head-name {
      font-weight: 700;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .NUCUBA-chat-head-status {
      color: var(--NUCUBA-muted);
      font-size: 12px;
      margin-top: 3px;
    }

    .NUCUBA-chat-head-actions {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
    }

    .NUCUBA-chat-head-action {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--NUCUBA-blue);
      transition: 0.2s ease;
      flex-shrink: 0;
    }

    .NUCUBA-chat-head-action:hover {
      background: var(--NUCUBA-blue-soft);
    }

    .NUCUBA-chat-body {
      padding: 12px;
      background: var(--NUCUBA-card);
      display: flex;
      flex-direction: column;
      gap: 10px;
      overflow: auto;
      min-height: 240px;
    }

    .NUCUBA-chat-row {
      display: flex;
      align-items: flex-end;
      gap: 8px;
    }

    .NUCUBA-chat-row.NUCUBA-me {
      justify-content: flex-end;
    }

    .NUCUBA-chat-bubble {
      max-width: 74%;
      padding: 10px 12px;
      border-radius: 18px;
      line-height: 1.4;
      font-size: 14px;
      word-break: break-word;
    }

    .NUCUBA-chat-row:not(.NUCUBA-me) .NUCUBA-chat-bubble {
      background: var(--NUCUBA-bg);
      color: var(--NUCUBA-text);
      border-bottom-left-radius: 6px;
    }

    .NUCUBA-chat-row.NUCUBA-me .NUCUBA-chat-bubble {
      background: var(--NUCUBA-blue);
      color: #fff;
      border-bottom-right-radius: 6px;
    }

    .NUCUBA-chat-foot {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px;
      border-top: 1px solid var(--NUCUBA-border);
      background: var(--NUCUBA-card);
    }

    .NUCUBA-chat-input-wrap {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--NUCUBA-bg);
      border-radius: 999px;
      padding: 0 12px;
      min-height: 40px;
      min-width: 0;
    }

    .NUCUBA-chat-input {
      width: 100%;
      min-width: 0;
      padding: 10px 0;
      background: transparent;
    }

    .NUCUBA-send-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      color: var(--NUCUBA-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: 0.2s ease;
      flex-shrink: 0;
    }

    .NUCUBA-send-btn:hover {
      background: var(--NUCUBA-blue-soft);
    }

    .NUCUBA-mobile-topbar {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 5000;
      height: var(--NUCUBA-mobile-topbar-h);
      background: var(--NUCUBA-card);
      border-bottom: 1px solid var(--NUCUBA-border);
      padding: 0 10px;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      will-change: transform;
    }

    .NUCUBA-mobile-left,
    .NUCUBA-mobile-right {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .NUCUBA-mobile-search {
      flex: 1;
      min-width: 0;
      height: 36px;
      display: flex;
      align-items: center;
      gap: 6px;
      background: var(--NUCUBA-bg);
      border-radius: 999px;
      padding: 0 10px;
    }

    .NUCUBA-mobile-search svg {
      width: 15px;
      height: 15px;
      fill: var(--NUCUBA-muted);
      flex-shrink: 0;
    }

    .NUCUBA-mobile-search input {
      width: 100%;
      background: transparent;
      font-size: 14px;
      min-width: 0;
    }

    .NUCUBA-mobile-menu-btn,
    .NUCUBA-mobile-home-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--NUCUBA-icon-bg);
      color: var(--NUCUBA-text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
    }

    .NUCUBA-mobile-profile {
      position: relative;
    }

    .NUCUBA-mobile-quickbar {
      display: none;
      position: sticky;
      top: var(--NUCUBA-mobile-topbar-h);
      z-index: 305;
      background: var(--NUCUBA-card);
      border-bottom: 1px solid var(--NUCUBA-border);
      padding: 8px 10px 10px;
      gap: 8px;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      width: 100%;
      box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    }

    .NUCUBA-mobile-quick-btn {
      min-width: 0;
      min-height: 54px;
      border-radius: 16px;
      background: var(--NUCUBA-bg);
      color: var(--NUCUBA-text);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      position: relative;
      padding: 6px 4px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: 0.2s ease;
    }

    .NUCUBA-mobile-quick-btn:hover,
    .NUCUBA-mobile-quick-btn:active {
      background: var(--NUCUBA-blue-soft);
      color: var(--NUCUBA-blue);
      border-color: rgba(24,119,242,0.12);
    }

    .NUCUBA-mobile-quick-btn svg {
      width: 21px;
      height: 21px;
      fill: currentColor;
      flex-shrink: 0;
    }

    .NUCUBA-mobile-quick-label {
      font-size: 11px;
      font-weight: 700;
      line-height: 1.1;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }

    .NUCUBA-mobile-quick-btn .NUCUBA-badge {
      top: 4px;
      right: calc(50% - 22px);
      border-color: var(--NUCUBA-bg);
    }

    .NUCUBA-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.35);
      opacity: 0;
      visibility: hidden;
      transition: 0.2s ease;
      z-index: 350;
    }

    .NUCUBA-overlay.NUCUBA-show {
      opacity: 1;
      visibility: visible;
    }

    .NUCUBA-mobile-drawer {
      position: fixed;
      top: 0;
      left: -320px;
      width: 300px;
      max-width: 85vw;
      height: 100vh;
      background: var(--NUCUBA-card);
      z-index: 360;
      box-shadow: 18px 0 40px rgba(0,0,0,0.18);
      transition: 0.25s ease;
      padding: 16px 12px;
      overflow: auto;
    }

    .NUCUBA-mobile-drawer.NUCUBA-open {
      left: 0;
    }

    .NUCUBA-drawer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
      padding: 4px 6px 10px;
    }

    .NUCUBA-drawer-title {
      font-size: 20px;
      font-weight: 700;
    }

    .NUCUBA-close-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--NUCUBA-icon-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--NUCUBA-text);
    }

    .NUCUBA-mobile-profile-menu {
      right: 0;
      left: auto;
      width: 340px;
    }
    
    
    
    
    
    .NUCUBA-mobile-drawer-backdrop,
#NUCUBA-mobileDrawerBackdrop{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: transparent !important;
    pointer-events: none !important;
}

.NUCUBA-mobile-sidepanel,
.NUCUBA-mobile-sidepanel-left,
#NUCUBA-mobileLeftDrawer{
    box-shadow: none !important;
    filter: none !important;
    background-clip: padding-box !important;
}

.NUCUBA-mobile-sidepanel::before,
.NUCUBA-mobile-sidepanel::after,
.NUCUBA-mobile-sidepanel-left::before,
.NUCUBA-mobile-sidepanel-left::after,
#NUCUBA-mobileLeftDrawer::before,
#NUCUBA-mobileLeftDrawer::after{
    content: none !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
}


    .NUCUBA-mobile-drawer-backdrop.NUCUBA-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .NUCUBA-mobile-sidepanel {
      position: fixed;
      top: 0;
      bottom: 0;
      width: min(86vw, 320px);
      background: var(--NUCUBA-card);
      box-shadow: 18px 0 40px rgba(0,0,0,0.18);
      z-index: 360;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      transition: transform .24s ease;
      border-right: 1px solid var(--NUCUBA-border);
      transform: translateX(-100%);
    }

    .NUCUBA-mobile-sidepanel-left {
      left: 0;
      border-top-right-radius: 18px;
      border-bottom-right-radius: 18px;
    }

    .NUCUBA-mobile-sidepanel.NUCUBA-open {
      transform: translateX(0);
    }

    .NUCUBA-mobile-sidepanel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 14px 10px;
      border-bottom: 1px solid var(--NUCUBA-border);
      position: sticky;
      top: 0;
      background: var(--NUCUBA-card);
      z-index: 2;
    }

    .NUCUBA-mobile-sidepanel-title {
      font-size: 20px;
      line-height: 1.2;
      font-weight: 700;
      color: var(--NUCUBA-text);
    }

    .NUCUBA-mobile-sidepanel-close {
      width: 36px;
      height: 36px;
      border: 0;
      border-radius: 50%;
      background: var(--NUCUBA-icon-bg);
      color: var(--NUCUBA-text);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      flex-shrink: 0;
    }

    .NUCUBA-mobile-sidepanel-body {
      padding: 10px 10px 18px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .NUCUBA-mobile-drawer-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px;
      border-radius: 14px;
      color: var(--NUCUBA-text);
      text-decoration: none;
      min-width: 0;
      transition: background .18s ease, color .18s ease;
    }

    .NUCUBA-mobile-drawer-row:hover,
    .NUCUBA-mobile-drawer-row:active,
    .NUCUBA-mobile-drawer-row-active {
      background: var(--NUCUBA-hover);
    }

    .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-text strong,
    .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-text small {
      color: var(--NUCUBA-blue);
    }

    .NUCUBA-mobile-drawer-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, #dbeafe, #bfdbfe);
      color: var(--NUCUBA-blue);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 42px;
    }

    .NUCUBA-mobile-drawer-icon svg {
      width: 22px;
      height: 22px;
      display: block;
      fill: currentColor;
    }

    .NUCUBA-mobile-drawer-text {
      min-width: 0;
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .NUCUBA-mobile-drawer-text strong,
    .NUCUBA-mobile-drawer-text small {
      display: block;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .NUCUBA-mobile-drawer-text strong {
      font-size: 15px;
      line-height: 1.25;
      font-weight: 700;
      color: var(--NUCUBA-text);
    }

    .NUCUBA-mobile-drawer-text small {
      font-size: 13px;
      line-height: 1.25;
      color: var(--NUCUBA-muted);
    }

    body.NUCUBA-mobile-drawer-lock {
      overflow: hidden;
      touch-action: none;
    }

    @media (max-width: 1200px) {
      .NUCUBA-layout {
        grid-template-columns: 250px minmax(0, 1fr) 290px;
      }

      .NUCUBA-topbar-left {
        flex: 0 0 250px;
        width: 250px;
        min-width: 250px;
        max-width: 250px;
      }

      .NUCUBA-search-wrap {
        width: calc(100% - 54px);
        min-width: 0;
        max-width: calc(100% - 54px);
      }
    }

    @media (max-width: 980px) {
      .NUCUBA-topbar {
        display: none;
      }

      .NUCUBA-mobile-topbar {
        display: flex;
      }

      .NUCUBA-mobile-quickbar {
        display: grid;
      }

      .NUCUBA-layout {
        grid-template-columns: 1fr;
      }

      .NUCUBA-sidebar-left,
      .NUCUBA-sidebar-right {
        display: none;
      }

      .NUCUBA-feed {
        width: 100%;
      }

      .NUCUBA-chat-popups {
        right: 8px;
        left: 8px;
      }

      .NUCUBA-chat-box {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
      }

      .NUCUBA-mobile-profile-menu {
        position: fixed;
        top: 72px;
        right: 8px;
        left: 8px;
        width: auto;
        max-width: none;
      }
    }

    @media (max-width: 640px) {
      .NUCUBA-mobile-sidepanel {
        width: min(88vw, 318px);
      }

      .NUCUBA-mobile-sidepanel-head {
        padding: 12px 12px 10px;
      }

      .NUCUBA-mobile-sidepanel-body {
        padding: 8px 8px 16px;
      }

      .NUCUBA-mobile-drawer-row {
        padding: 9px;
      }

      .NUCUBA-mobile-drawer-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
      }

      .NUCUBA-mobile-drawer-icon svg {
        width: 20px;
        height: 20px;
      }

   

      .NUCUBA-mobile-topbar {
        padding: 0 8px;
        gap: 6px;
      }

      .NUCUBA-mobile-quickbar {
        padding: 8px 8px 10px;
        gap: 6px;
      }

      .NUCUBA-mobile-left,
      .NUCUBA-mobile-right {
        gap: 4px;
      }

      .NUCUBA-mobile-search {
        height: 34px;
        padding: 0 8px;
      }

      .NUCUBA-mobile-search input {
        font-size: 13px;
      }

      .NUCUBA-mobile-menu-btn,
      .NUCUBA-mobile-home-btn {
        width: 34px;
        height: 34px;
      }

      .NUCUBA-mobile-menu-btn svg,
      .NUCUBA-mobile-home-btn svg {
        width: 18px;
        height: 18px;
      }

      .NUCUBA-mobile-right .NUCUBA-circle-btn {
        width: 34px;
        height: 34px;
      }

      .NUCUBA-mobile-right .NUCUBA-circle-btn svg {
        width: 18px;
        height: 18px;
      }

      .NUCUBA-mobile-right .NUCUBA-avatar,
      .NUCUBA-mobile-profile .NUCUBA-avatar {
        width: 34px;
        height: 34px;
      }

      .NUCUBA-profile-trigger-arrow {
        width: 24px;
        height: 24px;
      }

      .NUCUBA-mobile-quick-btn {
        min-height: 50px;
        border-radius: 14px;
      }

      .NUCUBA-mobile-quick-btn svg {
        width: 19px;
        height: 19px;
      }

      .NUCUBA-mobile-quick-label {
        font-size: 10px;
      }

      .NUCUBA-create-actions,
      .NUCUBA-post-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
      }

      .NUCUBA-post-action {
        min-height: 40px;
        font-size: 12px;
        gap: 4px;
        padding: 0 4px;
      }

      .NUCUBA-post-action svg {
        width: 16px;
        height: 16px;
      }

      .NUCUBA-post-stats {
        font-size: 12px;
      }

      .NUCUBA-card,
      .NUCUBA-side-card,
      .NUCUBA-right-card {
        border-radius: 16px;
      }

      .NUCUBA-chat-box {
        max-width: none;
        width: 100%;
      }

      .NUCUBA-chat-popups {
        right: 0;
        left: 0;
        padding: 0 8px;
      }

      .NUCUBA-chat-box {
        border-radius: 18px 18px 0 0;
      }

      .NUCUBA-profile-menu,
      .NUCUBA-mobile-profile-menu {
        padding: 10px;
      }
    }

    @media (max-width: 420px) {
      .NUCUBA-mobile-quickbar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .NUCUBA-mobile-quick-btn {
        min-height: 48px;
        padding: 6px 2px;
      }

      .NUCUBA-post-action {
        font-size: 11px;
      }

      .NUCUBA-post-user-name {
        font-size: 14px;
      }

      .NUCUBA-post-text {
        font-size: 14px;
      }

      .NUCUBA-create-input {
        font-size: 14px;
        padding: 0 14px;
      }

      .NUCUBA-profile-menu,
      .NUCUBA-mobile-profile-menu {
        border-radius: 18px;
      }
    }

/* NUCUBA POSTS AJAX */
.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{max-width:760px;margin:16px auto;border-radius:24px;overflow:hidden}
.NUCUBA-post-form{padding:18px}
.NUCUBA-post-form-top,.NUCUBA-post-head,.NUCUBA-post-user,.NUCUBA-post-comment-item{display:flex;align-items:flex-start;gap:12px}
.NUCUBA-post-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#e5e7eb;flex:0 0 48px}
.NUCUBA-post-form-meta{display:flex;flex-direction:column;gap:6px;flex:1}
.NUCUBA-post-form-name,.NUCUBA-post-user-name,.NUCUBA-post-comment-name{font-weight:700;color:#172033;text-decoration:none}
.NUCUBA-post-privacy-select{width:max-content;border:1px solid #d8dee9;border-radius:999px;padding:7px 12px;background:#f8fafc;font-size:13px}
.NUCUBA-post-textarea{width:100%;min-height:110px;border:none;resize:vertical;font-size:18px;line-height:1.45;background:transparent;padding:12px 0;color:#172033;outline:none}
.NUCUBA-post-activity-input{width:100%;border:1px solid #d8dee9;border-radius:16px;padding:12px 14px;font-size:14px;background:#fff;margin-bottom:12px}
.NUCUBA-post-backgrounds{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-bottom:12px}
.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{width:32px;height:32px;border:none;border-radius:10px;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.NUCUBA-post-bg-btn.is-active{outline:3px solid #2563eb;outline-offset:2px}
.NUCUBA-post-bg-sunset{background:linear-gradient(135deg,#f59e0b,#ef4444)}
.NUCUBA-post-bg-violet{background:linear-gradient(135deg,#7c3aed,#ec4899)}
.NUCUBA-post-bg-red{background:linear-gradient(135deg,#e11d48,#fb7185)}
.NUCUBA-post-bg-black{background:linear-gradient(135deg,#111827,#374151)}
.NUCUBA-post-bg-purple{background:linear-gradient(135deg,#4f46e5,#9333ea)}
.NUCUBA-post-bg-peach{background:linear-gradient(135deg,#fb7185,#f59e0b)}
.NUCUBA-post-bg-sky{background:linear-gradient(135deg,#38bdf8,#60a5fa)}
.NUCUBA-post-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.NUCUBA-post-upload-btn,.NUCUBA-post-submit,.NUCUBA-post-action,.NUCUBA-post-comment-submit{border:none;border-radius:999px;padding:10px 16px;font-weight:600;cursor:pointer;background:#eef2ff;color:#1d4ed8}
.NUCUBA-post-submit{background:#2563eb;color:#fff}
.NUCUBA-post-form-status{font-size:13px;padding-top:10px;color:#64748b;min-height:22px}.NUCUBA-post-form-status.is-error{color:#dc2626}.NUCUBA-post-form-status.is-success{color:#16a34a}
.NUCUBA-post-head{padding:18px 18px 10px 18px;justify-content:space-between}.NUCUBA-post-time,.NUCUBA-post-wall-link,.NUCUBA-post-comment-time{font-size:12px;color:#64748b}.NUCUBA-post-wall-link a{color:#64748b;text-decoration:none}
.NUCUBA-post-message{padding:0 18px 14px 18px;font-size:17px;line-height:1.55;color:#0f172a;white-space:normal;word-break:break-word}
.NUCUBA-post-message[class*="NUCUBA-post-bg-"]{margin:0 18px 14px 18px;border-radius:24px;padding:34px 24px;text-align:center;font-size:28px;font-weight:700;line-height:1.35}
.NUCUBA-post-text-onbg{color:#fff}
.NUCUBA-post-activity{padding:0 18px 14px 18px;color:#2563eb;font-weight:600}
.NUCUBA-post-media{display:block;width:100%;max-height:560px;object-fit:cover;border-radius:22px;background:#0f172a}
.NUCUBA-post-shared-box{margin:0 18px 14px 18px;border:1px solid #e2e8f0;border-radius:18px;padding:14px;background:#f8fafc}.NUCUBA-post-shared-author{font-weight:700;margin-bottom:6px;color:#172033}
.NUCUBA-post-stats{display:flex;justify-content:space-between;gap:10px;padding:0 18px 12px 18px;color:#64748b;font-size:13px;border-bottom:1px solid #edf2f7}
.NUCUBA-post-controls{display:flex;gap:8px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid #edf2f7}
.NUCUBA-post-action.is-active{background:#dbeafe;color:#1d4ed8}.NUCUBA-post-reaction-picker{position:relative}.NUCUBA-post-reaction-menu{display:none;position:absolute;left:0;bottom:calc(100% + 8px);background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:8px;box-shadow:0 15px 35px rgba(15,23,42,.12);z-index:20;grid-template-columns:1fr;gap:6px;min-width:140px}.NUCUBA-post-reaction-picker.is-open .NUCUBA-post-reaction-menu{display:grid}.NUCUBA-post-reaction-menu button{border:none;background:#f8fafc;border-radius:12px;padding:8px 10px;text-align:left;cursor:pointer}
.NUCUBA-post-comments{display:none;padding:14px 18px 18px 18px}.NUCUBA-comments-open .NUCUBA-post-comments{display:block}.NUCUBA-post-comment-bubble{background:#f1f5f9;border-radius:18px;padding:10px 12px;flex:1}.NUCUBA-post-comment-text{color:#172033;line-height:1.45}.NUCUBA-post-comment-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}.NUCUBA-post-comments-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.NUCUBA-post-comment-form{display:flex;gap:8px}.NUCUBA-post-comment-input{flex:1;border:1px solid #d8dee9;border-radius:999px;padding:11px 14px;outline:none;background:#fff}
@media (max-width: 640px){.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{margin:12px 10px;border-radius:20px}.NUCUBA-post-textarea{font-size:16px;min-height:90px}.NUCUBA-post-message[class*="NUCUBA-post-bg-"]{font-size:22px;padding:28px 18px}.NUCUBA-post-form-bottom,.NUCUBA-post-controls,.NUCUBA-post-comment-form{flex-direction:column;align-items:stretch}.NUCUBA-post-upload-btn,.NUCUBA-post-submit,.NUCUBA-post-action,.NUCUBA-post-comment-submit{text-align:center}}

/* NUCUBA POSTS ENHANCED MODAL + COMMENTS */
.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{max-width:760px;margin:16px auto;border-radius:24px;overflow:hidden}
.NUCUBA-post-composer-inline{padding:16px 18px}.NUCUBA-post-composer-top{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf2f7}
.NUCUBA-post-fake-input{flex:1;border:none;background:#eef2f7;color:#6b7280;border-radius:999px;min-height:48px;padding:0 18px;text-align:left;font-size:18px;cursor:pointer}
.NUCUBA-post-quick-actions{display:flex;gap:10px;justify-content:space-between;padding-top:14px;flex-wrap:wrap}
.NUCUBA-post-quick-btn,.NUCUBA-post-mini-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;background:#eef2ff;color:#1d4ed8;border-radius:999px;padding:12px 16px;font-weight:700;cursor:pointer;transition:.2s transform,.2s background}.NUCUBA-post-quick-btn:hover,.NUCUBA-post-mini-action:hover{transform:translateY(-1px);background:#dbeafe}.NUCUBA-post-mini-action.is-active{background:#1d4ed8;color:#fff}
.NUCUBA-post-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.NUCUBA-post-modal[hidden]{display:none!important}.NUCUBA-post-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(5px)}
.NUCUBA-post-modal-dialog{position:relative;width:min(960px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:28px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.28)}
.NUCUBA-post-modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #edf2f7}.NUCUBA-post-modal-title{font-size:22px;font-weight:800;color:#172033}.NUCUBA-post-modal-close{width:42px;height:42px;border:none;border-radius:50%;background:#edf2f7;color:#111827;cursor:pointer;display:flex;align-items:center;justify-content:center}
body.NUCUBA-post-modal-open{overflow:hidden}
.NUCUBA-post-form{padding:18px}
.NUCUBA-post-form-top,.NUCUBA-post-head,.NUCUBA-post-user,.NUCUBA-post-comment-item{display:flex;align-items:flex-start;gap:12px}
.NUCUBA-post-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#e5e7eb;flex:0 0 48px}
.NUCUBA-post-form-meta{display:flex;flex-direction:column;gap:6px;flex:1}
.NUCUBA-post-form-name,.NUCUBA-post-user-name,.NUCUBA-post-comment-name{font-weight:700;color:#172033;text-decoration:none}
.NUCUBA-post-privacy-select{width:max-content;border:1px solid #d8dee9;border-radius:999px;padding:7px 12px;background:#f8fafc;font-size:13px}
.NUCUBA-post-modal-body{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:16px;align-items:start}.NUCUBA-post-preview-wrap{min-height:340px;border:1px solid #e5e7eb;border-radius:24px;padding:14px;background:#f8fafc}.NUCUBA-post-color-sidebar{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;padding-right:4px}
.NUCUBA-post-textarea{width:100%;min-height:220px;border:none;resize:vertical;font-size:18px;line-height:1.45;background:transparent;padding:20px;color:#172033;outline:none;border-radius:22px;transition:background .2s,color .2s,box-shadow .2s}
.NUCUBA-post-activity-input{width:100%;border:1px solid #d8dee9;border-radius:16px;padding:12px 14px;font-size:14px;background:#fff;margin-top:12px}
.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{width:48px;height:48px;border:none;border-radius:16px;cursor:pointer;box-shadow:0 8px 20px rgba(15,23,42,.12)}
.NUCUBA-post-bg-btn.is-active{outline:3px solid #2563eb;outline-offset:2px}.NUCUBA-post-bg-clear{background:#f3f4f6;color:#111827;display:flex;align-items:center;justify-content:center}
.NUCUBA-post-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:14px}.NUCUBA-post-form-actions-left{display:flex;flex-wrap:wrap;gap:10px}
.NUCUBA-post-upload-btn,.NUCUBA-post-submit,.NUCUBA-post-action,.NUCUBA-post-comment-submit{border:none;border-radius:999px;padding:10px 16px;font-weight:600;cursor:pointer;background:#eef2ff;color:#1d4ed8}
.NUCUBA-post-upload-btn-inline{display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:#fff;border:1px solid #d8dee9;color:#172033}
.NUCUBA-post-submit{background:#2563eb;color:#fff}
.NUCUBA-post-form-status{font-size:13px;padding-top:10px;color:#64748b;min-height:22px}.NUCUBA-post-form-status.is-error{color:#dc2626}.NUCUBA-post-form-status.is-success{color:#16a34a}
.NUCUBA-post-head{padding:18px 18px 10px 18px;justify-content:space-between}.NUCUBA-post-time,.NUCUBA-post-wall-link,.NUCUBA-post-comment-time{font-size:12px;color:#64748b}.NUCUBA-post-wall-link a{color:#64748b;text-decoration:none}.NUCUBA-post-privacy-chip{display:inline-flex;align-items:center;gap:6px}
.NUCUBA-post-message{padding:0 18px 14px 18px;font-size:17px;line-height:1.55;color:#0f172a;white-space:normal;word-break:break-word}
.NUCUBA-post-message[class*="NUCUBA-post-bg-"],.NUCUBA-post-textarea[class*="NUCUBA-post-bg-"]{margin:0;border-radius:24px;text-align:center;font-weight:700;line-height:1.35;background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite}
.NUCUBA-post-message[class*="NUCUBA-post-bg-"]{margin:0 18px 14px 18px;padding:34px 24px;font-size:28px}
.NUCUBA-post-textarea[class*="NUCUBA-post-bg-"]{font-size:30px;padding:34px 24px;display:flex;align-items:center;justify-content:center;min-height:260px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.NUCUBA-post-text-onbg{color:#fff}.NUCUBA-post-textarea.NUCUBA-post-text-onbg::placeholder{color:rgba(255,255,255,.9)}
@keyframes NUCUBA-postGradientMove{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
.NUCUBA-post-activity{padding:0 18px 14px 18px;color:#2563eb;font-weight:600}
.NUCUBA-post-media{display:block;width:100%;max-height:560px;object-fit:cover;border-radius:22px;background:#0f172a}
.NUCUBA-post-shared-box{margin:0 18px 14px 18px;border:1px solid #e2e8f0;border-radius:18px;padding:14px;background:#f8fafc}.NUCUBA-post-shared-author{font-weight:700;margin-bottom:6px;color:#172033}
.NUCUBA-post-stats{display:flex;justify-content:space-between;gap:10px;padding:0 18px 12px 18px;color:#64748b;font-size:13px;border-bottom:1px solid #edf2f7}.NUCUBA-post-stats-right{border:none;background:none;color:inherit;padding:0;cursor:pointer}
.NUCUBA-post-controls{display:flex;gap:8px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid #edf2f7}.NUCUBA-post-action{display:inline-flex;align-items:center;justify-content:center;gap:8px}.NUCUBA-post-action.is-active{background:#dbeafe;color:#1d4ed8}
.NUCUBA-post-reaction-picker{position:relative}.NUCUBA-post-reaction-menu{display:none;position:absolute;left:0;bottom:calc(100% + 8px);background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:8px;box-shadow:0 15px 35px rgba(15,23,42,.12);z-index:20;grid-template-columns:1fr;gap:6px;min-width:140px}.NUCUBA-post-reaction-picker.is-open .NUCUBA-post-reaction-menu{display:grid}.NUCUBA-post-reaction-menu button{border:none;background:#f8fafc;border-radius:12px;padding:8px 10px;text-align:left;cursor:pointer}
.NUCUBA-post-comments{display:none;padding:14px 18px 18px 18px}.NUCUBA-comments-open .NUCUBA-post-comments{display:block}.NUCUBA-post-comment-bubble{background:#f1f5f9;border-radius:18px;padding:10px 12px;flex:1}.NUCUBA-post-comment-topline{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.NUCUBA-post-comment-text{color:#172033;line-height:1.45;white-space:pre-wrap;word-break:break-word}.NUCUBA-post-comment-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}.NUCUBA-post-comments-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.NUCUBA-post-comment-tools{display:flex;gap:6px}.NUCUBA-post-comment-tool{width:28px;height:28px;border:none;border-radius:50%;background:#e2e8f0;color:#334155;display:flex;align-items:center;justify-content:center;cursor:pointer}
.NUCUBA-post-comment-form{display:flex;flex-direction:column;gap:8px;position:relative}.NUCUBA-post-comment-input-wrap{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d8dee9;border-radius:999px;padding:6px 8px}
.NUCUBA-post-comment-input{flex:1;border:none;padding:8px 10px;outline:none;background:transparent}.NUCUBA-post-comment-icon,.NUCUBA-post-comment-submit{width:38px;height:38px;padding:0;display:flex;align-items:center;justify-content:center}.NUCUBA-post-comment-submit{background:#2563eb;color:#fff}
.NUCUBA-post-emoji-picker{display:none;gap:8px;flex-wrap:wrap;padding:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px}.NUCUBA-post-comment-form.NUCUBA-emoji-open .NUCUBA-post-emoji-picker{display:flex}.NUCUBA-post-emoji-picker button{border:none;background:#fff;border-radius:12px;padding:8px 10px;cursor:pointer;font-size:18px}
.NUCUBA-post-comment-attach-name{font-size:12px;color:#64748b;padding-left:10px}.NUCUBA-post-comment-attachment{display:block;margin-top:8px;text-decoration:none}.NUCUBA-post-comment-attachment-image img,.NUCUBA-post-comment-attachment-video video{display:block;max-width:240px;width:100%;border-radius:16px;background:#0f172a}.NUCUBA-post-comment-attachment-file{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #d8dee9;border-radius:12px;padding:8px 10px;color:#0f172a}
.NUCUBA-post-bg-aurora{background:linear-gradient(135deg,#06b6d4,#8b5cf6,#ec4899)}.NUCUBA-post-bg-violet-pop{background:linear-gradient(135deg,#7c3aed,#ec4899,#fb7185)}.NUCUBA-post-bg-sunset-blur{background:linear-gradient(135deg,#fb7185,#f59e0b,#f97316)}.NUCUBA-post-bg-midnight{background:linear-gradient(135deg,#0f172a,#1e293b,#334155)}.NUCUBA-post-bg-rose-gold{background:linear-gradient(135deg,#fda4af,#fb7185,#f59e0b)}.NUCUBA-post-bg-ocean{background:linear-gradient(135deg,#0ea5e9,#2563eb,#1d4ed8)}.NUCUBA-post-bg-berry{background:linear-gradient(135deg,#7e22ce,#db2777,#ef4444)}.NUCUBA-post-bg-peach{background:linear-gradient(135deg,#fdba74,#fb7185,#f97316)}.NUCUBA-post-bg-skyline{background:linear-gradient(135deg,#38bdf8,#60a5fa,#818cf8)}.NUCUBA-post-bg-forest{background:linear-gradient(135deg,#16a34a,#0f766e,#15803d)}.NUCUBA-post-bg-fire{background:linear-gradient(135deg,#ef4444,#f97316,#facc15)}.NUCUBA-post-bg-ice{background:linear-gradient(135deg,#e0f2fe,#7dd3fc,#38bdf8)}.NUCUBA-post-bg-lilac{background:linear-gradient(135deg,#c084fc,#8b5cf6,#6366f1)}.NUCUBA-post-bg-neon{background:linear-gradient(135deg,#22c55e,#06b6d4,#8b5cf6)}.NUCUBA-post-bg-lava{background:linear-gradient(135deg,#7f1d1d,#dc2626,#f97316)}.NUCUBA-post-bg-plum{background:linear-gradient(135deg,#581c87,#7c3aed,#a855f7)}.NUCUBA-post-bg-mint{background:linear-gradient(135deg,#34d399,#2dd4bf,#22c55e)}.NUCUBA-post-bg-royal{background:linear-gradient(135deg,#1d4ed8,#4f46e5,#7c3aed)}.NUCUBA-post-bg-candy{background:linear-gradient(135deg,#f472b6,#fb7185,#c084fc)}.NUCUBA-post-bg-graphite{background:linear-gradient(135deg,#111827,#374151,#6b7280)}
@media (max-width: 800px){.NUCUBA-post-modal{padding:8px}.NUCUBA-post-modal-dialog{max-height:calc(100vh - 16px);border-radius:24px}.NUCUBA-post-modal-body{grid-template-columns:1fr}.NUCUBA-post-color-sidebar{flex-direction:row;max-height:none;overflow:auto;padding-bottom:4px}.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{flex:0 0 44px;width:44px;height:44px}}
@media (max-width: 640px){.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{margin:12px 10px;border-radius:20px}.NUCUBA-post-fake-input{font-size:16px}.NUCUBA-post-quick-actions,.NUCUBA-post-form-actions-left,.NUCUBA-post-controls{flex-direction:column;align-items:stretch}.NUCUBA-post-quick-btn,.NUCUBA-post-mini-action,.NUCUBA-post-upload-btn,.NUCUBA-post-submit,.NUCUBA-post-action{text-align:center;width:100%}.NUCUBA-post-textarea{font-size:16px;min-height:180px}.NUCUBA-post-textarea[class*="NUCUBA-post-bg-"],.NUCUBA-post-message[class*="NUCUBA-post-bg-"]{font-size:22px;padding:28px 18px}.NUCUBA-post-comment-input-wrap{border-radius:22px;align-items:center;flex-wrap:wrap}.NUCUBA-post-comment-input{min-width:100%}.NUCUBA-post-comment-icon,.NUCUBA-post-comment-submit{width:36px;height:36px}}

/* NUCUBA posts responsive refresh */
.NUCUBA-post-shell{padding-bottom:24px}.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{max-width:760px;margin:16px auto;border-radius:24px;overflow:visible}
.NUCUBA-post-composer-inline{padding:14px 16px}.NUCUBA-post-composer-top{display:flex;align-items:center;gap:10px}.NUCUBA-post-inline-icons{margin-left:auto;display:flex;align-items:center;gap:10px}
.NUCUBA-post-inline-icon{width:34px;height:34px;border:none;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}.NUCUBA-post-inline-icon.NUCUBA-is-video{color:#ff4757}.NUCUBA-post-inline-icon.NUCUBA-is-photo{color:#2ecc71}.NUCUBA-post-inline-icon.NUCUBA-is-smile{color:#f4b400}
.NUCUBA-post-fake-input{flex:1;min-width:0;border:none;background:#eef2f7;border-radius:999px;padding:14px 18px;text-align:left;font-size:18px;color:#6b7280;cursor:pointer}
.NUCUBA-post-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.NUCUBA-post-modal[hidden]{display:none!important}.NUCUBA-post-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(5px)}body.NUCUBA-post-modal-open,body.NUCUBA-share-open{overflow:hidden}
.NUCUBA-post-modal-dialog{position:relative;width:min(740px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:24px;background:#fff;box-shadow:0 24px 80px rgba(15,23,42,.24)}
.NUCUBA-post-modal-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #edf2f7}.NUCUBA-post-modal-head-center{position:sticky;top:0;background:#fff;z-index:3}.NUCUBA-post-modal-grab{position:absolute;left:50%;transform:translateX(-50%);top:10px;width:44px;height:4px;border-radius:999px;background:#cbd5e1}.NUCUBA-post-modal-title{font-size:18px;font-weight:800;color:#172033;text-align:center;width:100%;padding-top:10px}.NUCUBA-post-modal-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:none;border-radius:50%;background:#eef2f7;cursor:pointer}
.NUCUBA-post-form{padding:16px}.NUCUBA-post-form-top{display:flex;align-items:center;gap:12px;margin-bottom:14px}.NUCUBA-post-form-name{font-weight:800;color:#172033}.NUCUBA-post-privacy-select{border:none;background:#eef2f7;border-radius:999px;padding:6px 12px;font-size:14px}
.NUCUBA-post-modal-body{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:14px;align-items:start}.NUCUBA-post-preview-wrap{min-height:380px;border:1px solid #e5e7eb;border-radius:20px;padding:18px;background:#fff;display:flex;flex-direction:column}.NUCUBA-post-textarea{border:none;resize:none;outline:none;background:transparent;font-size:20px;line-height:1.45;min-height:220px;color:#172033}.NUCUBA-post-textarea::placeholder{color:inherit;opacity:.72}.NUCUBA-post-activity-input{display:none;border:none;border-top:1px solid rgba(255,255,255,.18);background:transparent;padding:14px 0 0;margin-top:8px;outline:none;font-size:16px;color:inherit}.NUCUBA-post-modal-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px}.NUCUBA-post-tool-btn{display:flex;align-items:center;gap:8px;border:none;background:#f8fafc;border-radius:999px;padding:10px 14px;cursor:pointer;color:#172033;font-weight:700}.NUCUBA-post-upload-name{padding-top:8px;font-size:13px;color:#64748b}
.NUCUBA-post-color-sidebar{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;padding-right:2px}.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{width:46px;height:46px;border:none;border-radius:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.3),0 10px 22px rgba(15,23,42,.12)}.NUCUBA-post-bg-btn.is-active{outline:3px solid #2563eb;outline-offset:2px}.NUCUBA-post-bg-clear{background:#eef2f7;color:#172033}
.NUCUBA-post-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px}.NUCUBA-post-form-actions-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.NUCUBA-post-mini-action{display:flex;align-items:center;gap:8px;border:none;background:#eef2f7;border-radius:999px;padding:10px 14px;cursor:pointer;color:#334155;font-weight:700}.NUCUBA-post-mini-action.is-active{background:#dbeafe;color:#1d4ed8}.NUCUBA-post-submit{border:none;background:#d7dce3;color:#fff;font-weight:800;font-size:16px;padding:14px 28px;border-radius:12px;cursor:pointer}.NUCUBA-post-form:has(textarea:not(:placeholder-shown)) .NUCUBA-post-submit,.NUCUBA-post-form:has(input[name='media'][value]) .NUCUBA-post-submit{background:#2563eb}
.NUCUBA-post-card{overflow:hidden}.NUCUBA-post-head{display:flex;align-items:flex-start;justify-content:space-between;padding:14px 16px 8px}.NUCUBA-post-user{display:flex;gap:12px}.NUCUBA-post-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.NUCUBA-post-user-name{font-size:18px;font-weight:800;color:#172033;text-decoration:none}.NUCUBA-post-time,.NUCUBA-post-wall-link{font-size:13px;color:#64748b}.NUCUBA-post-privacy-chip{display:inline-flex;align-items:center;gap:4px}.NUCUBA-post-message{padding:0 16px 14px;font-size:18px;line-height:1.55;color:#172033;word-break:break-word}.NUCUBA-post-message[class*='NUCUBA-post-bg-']{margin:0 16px 16px;border-radius:22px;padding:48px 26px;min-height:220px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:34px;font-weight:700}.NUCUBA-post-text-onbg,.NUCUBA-post-text-onbg::placeholder{color:#fff!important}
.NUCUBA-post-media-wrap{margin:0 0 10px}.NUCUBA-post-media{display:block;width:100%;max-height:560px;object-fit:cover;background:#e5e7eb}.NUCUBA-post-activity{margin:0 16px 10px;padding:10px 14px;border-radius:14px;background:#f8fafc;color:#0f172a;font-weight:700}.NUCUBA-post-stats{display:flex;align-items:center;justify-content:space-between;padding:8px 16px 10px;font-size:14px;color:#64748b}.NUCUBA-post-stats-right{border:none;background:none;color:#64748b;cursor:pointer}
.NUCUBA-post-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 16px 14px}.NUCUBA-post-action{display:flex;align-items:center;justify-content:center;gap:8px;border:none;background:#f5f7fb;color:#475569;border-radius:999px;padding:12px 10px;font-size:16px;font-weight:700;cursor:pointer;min-width:0;white-space:nowrap}.NUCUBA-post-action span{overflow:hidden;text-overflow:ellipsis}.NUCUBA-post-action.is-active{background:#dbeafe;color:#1d4ed8}
.NUCUBA-post-reaction-picker{position:relative}.NUCUBA-post-reaction-menu{position:absolute;left:0;bottom:calc(100% + 8px);display:none;gap:8px;padding:10px;border-radius:999px;background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.2);z-index:6;white-space:nowrap}.NUCUBA-post-reaction-picker.is-open .NUCUBA-post-reaction-menu{display:flex}.NUCUBA-post-reaction-btn{border:none;background:#fff;font-size:15px;padding:8px 10px;border-radius:999px;cursor:pointer}
.NUCUBA-post-comments{display:none;padding:0 16px 16px}.NUCUBA-comments-open .NUCUBA-post-comments{display:block}.NUCUBA-post-comment-item{display:flex;gap:10px;margin-top:10px}.NUCUBA-post-comment-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}.NUCUBA-post-comment-bubble{flex:1;background:#f8fafc;border-radius:18px;padding:10px 12px}.NUCUBA-post-comment-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.NUCUBA-post-comment-name{font-weight:800;color:#172033;text-decoration:none}.NUCUBA-post-comment-tools{display:flex;gap:6px}.NUCUBA-post-comment-tool{border:none;background:#eef2f7;border-radius:999px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#475569}.NUCUBA-post-comment-tool[data-action='report-comment'],.NUCUBA-post-menu button[data-action='report-post']{color:#dc2626}.NUCUBA-post-comment-text{padding-top:2px;color:#172033;line-height:1.45}.NUCUBA-post-comment-time{padding-top:6px;color:#64748b;font-size:12px}
.NUCUBA-post-comment-input-wrap{display:flex;align-items:center;gap:8px;background:#f8fafc;border-radius:999px;padding:8px 10px;margin-top:12px}.NUCUBA-post-comment-input{flex:1;min-width:0;border:none;background:transparent;outline:none;font-size:15px}.NUCUBA-post-comment-icon,.NUCUBA-post-comment-submit{width:36px;height:36px;border:none;background:#fff;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#475569}.NUCUBA-post-comment-submit{background:#2563eb;color:#fff}.NUCUBA-post-emoji-picker{display:none;gap:8px;flex-wrap:wrap;padding-top:8px}.NUCUBA-post-comment-form.NUCUBA-emoji-open .NUCUBA-post-emoji-picker{display:flex}.NUCUBA-post-emoji-picker button{border:none;background:#fff;border-radius:999px;padding:6px 9px;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.08)}
.NUCUBA-post-menu-wrap{position:relative}.NUCUBA-post-menu-toggle{position:relative;z-index:12;width:38px;height:38px;border:none;background:#f5f7fb;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#475569;box-shadow:inset 0 0 0 1px rgba(148,163,184,.12);transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.NUCUBA-post-menu-toggle:hover{background:#eef2f7}.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu-toggle{background:#e8f0fe;color:#1d4ed8;box-shadow:0 0 0 3px rgba(37,99,235,.10)}.NUCUBA-post-menu-backdrop{position:fixed;inset:0;border:none;background:rgba(15,23,42,.18);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;z-index:9998}.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}.NUCUBA-post-menu{position:absolute;right:0;top:calc(100% + 10px);width:340px;max-width:min(340px,calc(100vw - 24px));background:#fff;border-radius:22px;box-shadow:0 24px 60px rgba(15,23,42,.22);padding:10px;display:block;opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:opacity .22s ease,transform .22s ease,visibility .22s ease;z-index:9999;border:1px solid rgba(226,232,240,.95)}.NUCUBA-post-menu:before{content:"";position:absolute;top:-9px;right:14px;width:18px;height:18px;background:#fff;border-top:1px solid rgba(226,232,240,.95);border-left:1px solid rgba(226,232,240,.95);transform:rotate(45deg);border-top-left-radius:5px}.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}.NUCUBA-post-menu-handle{display:none}.NUCUBA-post-menu button{position:relative;width:100%;display:flex;align-items:flex-start;gap:12px;border:none;background:transparent;padding:12px;border-radius:18px;text-align:left;cursor:pointer;color:#172033}.NUCUBA-post-menu button+button{margin-top:2px}.NUCUBA-post-menu button:hover{background:#f8fafc}.NUCUBA-post-menu-icon-wrap{width:38px;height:38px;min-width:38px;border-radius:999px;background:#eef2f7;color:#111827;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(148,163,184,.12)}.NUCUBA-post-menu-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.NUCUBA-post-menu-copy strong{font-size:16px;line-height:1.2;font-weight:800;color:#172033}.NUCUBA-post-menu-copy small{font-size:12px;line-height:1.35;color:#6b7280}.NUCUBA-post-menu button[data-action="delete-post"] .NUCUBA-post-menu-icon-wrap,.NUCUBA-post-menu button[data-action="report-post"] .NUCUBA-post-menu-icon-wrap{background:#fef2f2;color:#dc2626}.NUCUBA-post-menu button[data-action="delete-post"] .NUCUBA-post-menu-copy strong,.NUCUBA-post-menu button[data-action="report-post"] .NUCUBA-post-menu-copy strong{color:#b91c1c}.NUCUBA-post-menu button[data-action="hide-post"] .NUCUBA-post-menu-icon-wrap{background:#eef2ff;color:#334155}.NUCUBA-post-menu button[data-action="hide-post"] .NUCUBA-post-menu-copy strong{color:#172033}
@media (max-width: 768px){.NUCUBA-post-menu-backdrop{background:rgba(15,23,42,.42);backdrop-filter:blur(4px);z-index:9998}.NUCUBA-post-menu{position:fixed !important;left:0;right:0;top:auto;bottom:0;width:auto;max-width:none;max-height:min(calc(100dvh - 72px),560px);overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border-radius:28px 28px 0 0;padding:12px 20px calc(18px + env(safe-area-inset-bottom));transform:translateY(calc(100% + 32px));transform-origin:center bottom;box-shadow:0 -10px 40px rgba(15,23,42,.20),0 -1px 0 rgba(255,255,255,.76) inset;z-index:9999}.NUCUBA-post-menu:before{display:none}.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu{transform:translateY(0)}.NUCUBA-post-menu-handle{display:block;width:56px;height:7px;border-radius:999px;background:#d4d9e1;margin:0 auto 14px}.NUCUBA-post-menu button{padding:14px 12px;border-radius:18px}.NUCUBA-post-menu button+button{margin-top:2px}.NUCUBA-post-menu-icon-wrap{width:44px;height:44px;min-width:44px}.NUCUBA-post-menu-copy strong{font-size:17px}.NUCUBA-post-menu-copy small{font-size:13px}.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu-toggle{opacity:1;visibility:visible;transform:none;z-index:10000}}

@media (hover:hover) and (pointer:fine){
  .NUCUBA-post-menu-wrap .NUCUBA-post-menu-toggle{opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
  .NUCUBA-post-card:hover .NUCUBA-post-menu-toggle,.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu-toggle,.NUCUBA-post-menu-toggle:focus-visible{opacity:1;visibility:visible;transform:translateY(0)}
  .NUCUBA-post-comment-tools{opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
  .NUCUBA-post-comment-item:hover .NUCUBA-post-comment-tools,.NUCUBA-post-comment-tool:focus-visible{opacity:1;visibility:visible}
}

.NUCUBA-share-sheet{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:18px}.NUCUBA-share-sheet[hidden]{display:none!important}.NUCUBA-share-sheet-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(4px)}.NUCUBA-share-sheet-dialog{position:relative;width:min(760px,100%);background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(15,23,42,.26);padding:18px}.NUCUBA-share-sheet-head{display:flex;align-items:center;justify-content:center;padding-bottom:14px;border-bottom:1px solid #eef2f7}.NUCUBA-share-sheet-title{font-size:20px;font-weight:800;color:#172033}.NUCUBA-share-sheet-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:none;border-radius:50%;background:#eef2f7;cursor:pointer}.NUCUBA-share-sheet-box{padding:16px 0}.NUCUBA-share-note{width:100%;min-height:86px;border:none;background:#f8fafc;border-radius:16px;padding:14px;resize:vertical;outline:none;font-size:16px}.NUCUBA-share-own-row{display:flex;align-items:center;gap:10px;padding-top:12px}.NUCUBA-share-privacy{border:none;background:#eef2f7;border-radius:999px;padding:10px 12px}.NUCUBA-share-own-btn{margin-left:auto;border:none;background:#2563eb;color:#fff;border-radius:12px;padding:12px 18px;font-weight:800;cursor:pointer}.NUCUBA-share-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:10px}.NUCUBA-share-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px 8px;border:none;background:transparent;text-decoration:none;color:#172033;cursor:pointer}.NUCUBA-share-item span{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2f7;font-size:22px;font-weight:800}.NUCUBA-share-item em{font-style:normal;font-size:13px;color:#475569;text-align:center}.NUCUBA-share-item.is-copied span{background:#dbeafe;color:#1d4ed8}.NUCUBA-post-preview-plain{background:#fff!important;color:#172033!important}
.NUCUBA-post-comment-attachment-image img,.NUCUBA-post-comment-attachment-video video{max-width:220px;border-radius:16px;display:block;margin-top:8px}.NUCUBA-post-comment-attachment-file{display:inline-flex;align-items:center;gap:8px;margin-top:8px;text-decoration:none;color:#1d4ed8;font-weight:700}
@media (max-width:800px){.NUCUBA-post-modal{padding:8px}.NUCUBA-post-modal-dialog,.NUCUBA-share-sheet-dialog{max-height:calc(100vh - 16px);overflow:auto;border-radius:22px}.NUCUBA-post-modal-body{grid-template-columns:1fr}.NUCUBA-post-color-sidebar{flex-direction:row;max-height:none;overflow:auto;padding-bottom:4px}.NUCUBA-share-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{margin:10px;border-radius:20px}.NUCUBA-post-composer-top{gap:8px}.NUCUBA-post-inline-icons{gap:6px}.NUCUBA-post-inline-icon{width:30px;height:30px}.NUCUBA-post-fake-input{font-size:16px;padding:12px 14px}.NUCUBA-post-modal-head,.NUCUBA-post-form{padding:12px}.NUCUBA-post-preview-wrap{min-height:280px;padding:14px}.NUCUBA-post-textarea{min-height:160px;font-size:18px}.NUCUBA-post-message[class*='NUCUBA-post-bg-']{font-size:26px;min-height:170px;padding:32px 16px}.NUCUBA-post-form-bottom,.NUCUBA-share-own-row{grid-template-columns:1fr;display:flex;flex-direction:column;align-items:stretch}.NUCUBA-post-mini-action,.NUCUBA-post-tool-btn,.NUCUBA-share-own-btn{width:100%;justify-content:center}.NUCUBA-post-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.NUCUBA-post-action{font-size:14px;padding:11px 6px}.NUCUBA-post-action svg{width:16px;height:16px}.NUCUBA-share-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.NUCUBA-post-comment-input-wrap{flex-wrap:wrap;border-radius:20px}.NUCUBA-post-comment-input{min-width:100%}}

.NUCUBA-post-mood-input{width:100%;border:1px solid #d8dee9;border-radius:16px;padding:12px 14px;font-size:14px;background:#fff;margin-top:12px}
.NUCUBA-post-media-preview{margin-top:12px;border-radius:18px;overflow:hidden;background:#eef2f7;border:1px solid #e2e8f0}
.NUCUBA-post-media-preview-file{display:block;width:100%;max-height:320px;object-fit:cover;background:#0f172a}
.NUCUBA-post-activity{display:flex;flex-wrap:wrap;gap:8px}
.NUCUBA-post-mood-chip,.NUCUBA-post-activity-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:#f8fafc;color:#0f172a;font-weight:700}
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg{background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite}
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg .NUCUBA-post-mood-input,.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg .NUCUBA-post-activity-input{background:rgba(255,255,255,.9)}
@media (max-width:640px){.NUCUBA-post-media-preview-file{max-height:220px}}

/* NUCUBA post composer facebook-like polish */
.NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{max-width:820px}
.NUCUBA-post-composer{background:#fff;border:1px solid #e4e7ec;box-shadow:0 10px 28px rgba(16,24,40,.05)}
.NUCUBA-post-empty{padding:28px 24px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #d8e6ff;box-shadow:0 14px 34px rgba(17,24,39,.06);text-align:center}
.NUCUBA-post-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0 auto 14px;border-radius:22px;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);color:#2563eb;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 28px rgba(37,99,235,.16)}
.NUCUBA-post-empty-icon svg{width:30px;height:30px}
.NUCUBA-post-empty-title{font-size:26px;line-height:1.18;font-weight:900;letter-spacing:-.03em;color:#12315f;margin:0}
.NUCUBA-post-empty-text{max-width:520px;margin:10px auto 0;font-size:15px;line-height:1.7;color:#5b6b84}
.NUCUBA-post-composer-top{gap:12px}
.NUCUBA-post-avatar{box-shadow:0 0 0 1px rgba(15,23,42,.06)}
.NUCUBA-post-fake-input{min-height:44px;font-size:15px;color:#667085;background:#f2f4f7}
.NUCUBA-post-inline-icons{gap:12px}
.NUCUBA-post-inline-icon{width:36px;height:36px;background:#fff7f8}
.NUCUBA-post-inline-icon.NUCUBA-is-photo{background:#f1fff6}
.NUCUBA-post-inline-icon.NUCUBA-is-smile{background:#fff9ea}
.NUCUBA-post-modal{padding:22px}
.NUCUBA-post-modal-dialog{width:min(680px,100%);max-width:680px;border-radius:22px;overflow:hidden}
.NUCUBA-post-modal-head{padding:16px 22px;justify-content:center}
.NUCUBA-post-modal-title{padding-top:0;font-size:18px;font-weight:800}
.NUCUBA-post-modal-close{right:16px;top:12px;background:#eef2f6;color:#344054}
.NUCUBA-post-form{padding:16px 18px 18px}
.NUCUBA-post-form-top{padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid #eaecf0}
.NUCUBA-post-form-meta{display:flex;flex-direction:column;gap:6px}
.NUCUBA-post-form-name{font-size:16px}
.NUCUBA-post-privacy-select{height:30px;min-width:112px;padding:0 12px;font-weight:700;color:#344054;background:#eef2f6}
.NUCUBA-post-modal-body{grid-template-columns:minmax(0,1fr) 64px;gap:12px}
.NUCUBA-post-preview-wrap{min-height:330px;border:0;border-radius:18px;padding:10px 4px 0;background:#fff}
.NUCUBA-post-textarea{min-height:165px;padding:6px 10px;font-size:32px;line-height:1.25;font-weight:400}
.NUCUBA-post-textarea::placeholder{color:#1d2939;opacity:.7}
.NUCUBA-post-activity-input,.NUCUBA-post-mood-input{display:none;margin:10px 10px 0;padding:12px 14px;border:1px solid #e4e7ec;border-radius:14px;background:#f8fafc;font-size:15px;color:#101828}
.NUCUBA-post-state-row{display:flex;flex-wrap:wrap;gap:8px;padding:0 10px 8px}
.NUCUBA-post-state-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:14px;font-weight:700}
.NUCUBA-post-state-chip-bg{background:#eef6ff}
.NUCUBA-post-state-swatch{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.NUCUBA-post-state-emoji{font-size:16px;line-height:1}
.NUCUBA-post-state-remove{width:20px;height:20px;border:none;border-radius:50%;background:#d0d5dd;color:#344054;cursor:pointer;font-size:14px;line-height:1;padding:0}
.NUCUBA-post-media-preview{padding:10px}
.NUCUBA-post-media-preview-card{position:relative;border-radius:18px;overflow:hidden;background:#f8fafc;border:1px solid #eaecf0}
.NUCUBA-post-media-preview-file{display:block;width:100%;max-height:280px;object-fit:cover;background:#e5e7eb}
.NUCUBA-post-media-preview-meta{display:flex;flex-direction:column;gap:3px;padding:12px 14px;color:#344054}
.NUCUBA-post-media-preview-meta strong{font-size:14px;color:#101828;word-break:break-word}
.NUCUBA-post-media-preview-meta span{font-size:12px;color:#667085}
.NUCUBA-post-media-preview-remove{position:absolute;top:10px;right:10px;width:34px;height:34px;border:none;border-radius:50%;background:rgba(15,23,42,.72);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.NUCUBA-post-modal-tools{margin-top:10px;padding:12px 10px 0;border-top:1px solid #eaecf0;flex-wrap:wrap;justify-content:flex-start}
.NUCUBA-post-tool-btn{height:42px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;font-size:14px}
.NUCUBA-post-upload-name{padding:10px 10px 0;color:#667085;font-weight:600}
.NUCUBA-post-color-sidebar{gap:9px;padding-top:4px}
.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{width:42px;height:42px;border-radius:14px}
.NUCUBA-post-form-bottom{padding-top:14px}
.NUCUBA-post-mini-action{min-height:40px;background:#f2f4f7}
.NUCUBA-post-mini-action.is-active{background:#e8f1ff;color:#175cd3}
.NUCUBA-post-submit{min-width:140px;height:44px;border-radius:12px;background:#d0d5dd}
.NUCUBA-post-submit.is-ready{background:#1877f2}
.NUCUBA-post-submit:disabled{opacity:.7;cursor:not-allowed;background:#1877f2;color:#fff;letter-spacing:.02em}
.NUCUBA-post-form-status{padding-top:10px;font-size:13px;font-weight:700}
.NUCUBA-post-form-status.is-error{color:#d92d20}
.NUCUBA-post-form-status.is-success{color:#039855}

.NUCUBA-mood-sheet{position:absolute;inset:0;z-index:20;display:flex;align-items:flex-start;justify-content:center;padding:0;background:rgba(255,255,255,.02)}
.NUCUBA-mood-sheet[hidden]{display:none!important}
.NUCUBA-mood-sheet-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.22)}
.NUCUBA-mood-sheet-dialog{position:relative;margin:56px 12px 12px;width:calc(100% - 24px);max-width:620px;max-height:calc(100% - 68px);overflow:auto;border-radius:22px;background:#fff;box-shadow:0 24px 80px rgba(15,23,42,.18)}
.NUCUBA-mood-sheet-head{display:flex;align-items:center;justify-content:center;padding:16px 18px 12px;border-bottom:1px solid #eaecf0;position:sticky;top:0;background:#fff;z-index:2}
.NUCUBA-mood-sheet-back{position:absolute;left:16px;top:11px;width:38px;height:38px;border:none;border-radius:50%;background:#eef2f6;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#344054}
.NUCUBA-mood-sheet-title{font-size:18px;font-weight:800;color:#101828}
.NUCUBA-mood-sheet-tabs{display:flex;gap:18px;padding:12px 18px 8px;border-bottom:1px solid #f2f4f7}
.NUCUBA-mood-sheet-tabs button{padding:0 0 10px;border:none;background:transparent;color:#667085;font-size:15px;font-weight:700;cursor:pointer}
.NUCUBA-mood-sheet-tabs button.is-active{color:#1877f2;border-bottom:3px solid #1877f2}
.NUCUBA-mood-search{display:flex;align-items:center;gap:8px;margin:12px 18px;padding:0 14px;height:42px;border-radius:999px;background:#f2f4f7;color:#98a2b3}
.NUCUBA-mood-search input{flex:1;border:none;background:transparent;outline:none;font-size:14px;color:#101828}
.NUCUBA-mood-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 18px}
.NUCUBA-mood-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:none;background:#fff;border-radius:14px;cursor:pointer;text-align:left}
.NUCUBA-mood-item:hover{background:#f8fafc}
.NUCUBA-mood-item-emoji{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2f6;font-size:19px}
.NUCUBA-mood-item-text{font-size:15px;color:#101828}

@media (max-width:800px){
  .NUCUBA-post-modal{padding:10px}
  .NUCUBA-post-modal-dialog{width:min(100%,680px);max-height:calc(100vh - 20px);border-radius:20px}
  .NUCUBA-post-modal-body{grid-template-columns:1fr}
  .NUCUBA-post-color-sidebar{flex-direction:row;overflow:auto;padding:0 10px 8px}
  .NUCUBA-mood-sheet-dialog{margin:52px 8px 8px;width:calc(100% - 16px);max-height:calc(100% - 60px)}
}
@media (max-width:640px){
  .NUCUBA-post-composer,.NUCUBA-post-card,.NUCUBA-post-empty{margin:10px 8px;border-radius:18px}
  .NUCUBA-post-empty{padding:22px 16px}
  .NUCUBA-post-empty-icon{width:60px;height:60px;border-radius:20px;margin-bottom:12px}
  .NUCUBA-post-empty-title{font-size:22px}
  .NUCUBA-post-empty-text{font-size:14px;line-height:1.6}
  .NUCUBA-post-composer-inline{padding:12px}
  .NUCUBA-post-fake-input{padding:12px 14px;font-size:15px}
  .NUCUBA-post-inline-icon{width:34px;height:34px}
  .NUCUBA-post-modal{align-items:flex-end;padding:0}
  .NUCUBA-post-modal-dialog{width:100%;max-width:none;max-height:92vh;border-radius:22px 22px 0 0}
  .NUCUBA-post-modal-head{padding:14px 16px}
  .NUCUBA-post-form{padding:12px 12px 16px}
  .NUCUBA-post-preview-wrap{min-height:260px}
  .NUCUBA-post-textarea{min-height:120px;font-size:24px}
  .NUCUBA-post-modal-tools{gap:8px}
  .NUCUBA-post-tool-btn,.NUCUBA-post-mini-action{width:100%;justify-content:center}
  .NUCUBA-post-form-bottom{flex-direction:column;align-items:stretch}
  .NUCUBA-post-submit{width:100%}
  .NUCUBA-mood-grid{grid-template-columns:1fr}
}

/* NUCUBA post composer refinements */
.NUCUBA-post-privacy-wrap{display:inline-flex;align-items:center;gap:8px;padding:0 10px;height:32px;border-radius:999px;background:#eef2f6;color:#344054;width:max-content}
.NUCUBA-post-privacy-icon{display:flex;align-items:center;justify-content:center;color:#344054}
.NUCUBA-post-privacy-select{border:none;outline:none;background:transparent;padding:0 18px 0 0;min-width:0}
.NUCUBA-post-modal-body{display:block}
.NUCUBA-post-preview-wrap{min-height:auto;border:0;border-radius:18px;padding:8px 0 0;background:#fff;overflow:hidden}
.NUCUBA-post-top-strip{display:flex;align-items:flex-start;gap:10px;padding:0 10px 10px;position:relative;z-index:2}
.NUCUBA-post-bg-toggle{border:1px solid #d0d5dd;background:#fff;cursor:pointer;transition:.18s ease;color:#344054}
.NUCUBA-post-bg-toggle.is-open{background:#eef4ff;border-color:#bfd3ff;color:#175cd3}
.NUCUBA-post-bg-strip{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 2px;max-width:calc(100% - 120px)}
.NUCUBA-post-bg-strip[hidden]{display:none!important}
.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{flex:0 0 34px;width:34px;height:34px;border-radius:10px;border:2px solid rgba(255,255,255,.85);box-shadow:0 0 0 1px rgba(16,24,40,.08)}
.NUCUBA-post-bg-btn.is-active{box-shadow:0 0 0 2px #1877f2,0 8px 20px rgba(24,119,242,.2)}
.NUCUBA-post-bg-clear{background:#f2f4f7;color:#344054}
.NUCUBA-post-textarea{display:block;width:100%;min-height:150px;padding:18px 16px 14px;font-size:20px;line-height:1.45;font-weight:500;border:none;resize:none;outline:none;background:transparent;color:#172033}
.NUCUBA-post-textarea.NUCUBA-post-text-onbg{min-height:220px;border-radius:0;font-size:24px;line-height:1.35;text-align:center;padding:54px 28px}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-']{border-radius:18px}
.NUCUBA-post-state-row{padding:0 12px 10px}
.NUCUBA-post-selected-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#f2f4f7;color:#344054;font-size:14px;font-weight:700}
.NUCUBA-post-activity-input,.NUCUBA-post-mood-input{margin:0 12px 10px}
.NUCUBA-post-media-preview{padding:0 0 10px}
.NUCUBA-post-media-preview-card{margin:0 0 0;border-radius:16px;overflow:hidden;background:#f8fafc;border:1px solid #eaecf0}
.NUCUBA-post-preview-wrap.NUCUBA-has-media .NUCUBA-post-textarea{min-height:72px;padding:10px 14px 8px;font-size:18px;line-height:1.4}
.NUCUBA-post-media-preview-file{display:block;width:100%;max-height:360px;object-fit:contain;background:#000}
.NUCUBA-post-modal-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px;padding:12px 0 0;border-top:1px solid #eaecf0}
.NUCUBA-post-tool-btn{width:100%;justify-content:center;height:44px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;font-size:14px}
.NUCUBA-post-upload-name{padding:10px 2px 0;color:#667085;font-weight:600}
.NUCUBA-post-form-bottom{padding-top:14px}
.NUCUBA-post-submit{width:100%;min-width:0;height:46px;border-radius:12px;background:#d0d5dd;color:#fff}
.NUCUBA-post-submit.is-ready{background:#1877f2}
.NUCUBA-post-form-status{padding-top:8px;font-size:13px;font-weight:700}
.NUCUBA-post-state-chip-bg,.NUCUBA-post-color-sidebar,.NUCUBA-post-form-actions-left,.NUCUBA-post-mini-action{display:none!important}
@media (max-width:800px){
  .NUCUBA-post-bg-strip{max-width:calc(100% - 96px)}
  .NUCUBA-post-media-preview-file{max-height:300px}
}
@media (max-width:640px){
  .NUCUBA-post-preview-wrap{padding-top:6px}
  .NUCUBA-post-top-strip{padding:0 6px 8px;gap:8px}
  .NUCUBA-post-bg-strip{max-width:calc(100% - 84px)}
  .NUCUBA-post-textarea{min-height:120px;padding:14px 12px 10px;font-size:18px}
  .NUCUBA-post-textarea.NUCUBA-post-text-onbg{min-height:180px;padding:42px 18px;font-size:22px}
  .NUCUBA-post-modal-tools{grid-template-columns:1fr}
  .NUCUBA-post-media-preview-file{max-height:240px}
}

/* NUCUBA post modal v8 fixes */
.NUCUBA-post-fake-input{border-bottom:0!important;box-shadow:none!important}
.NUCUBA-post-preview-wrap{position:relative;overflow:hidden}
.NUCUBA-post-top-strip{display:flex;align-items:center;gap:10px;position:relative;z-index:3;padding:0 8px 6px}
.NUCUBA-post-bg-toggle{border:none;cursor:pointer}
.NUCUBA-post-bg-strip{position:absolute;left:0;right:0;top:44px;z-index:10;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:10px;box-shadow:0 16px 40px rgba(15,23,42,.14);max-width:none;overflow-x:auto;white-space:nowrap}
.NUCUBA-post-bg-btn,.NUCUBA-post-bg-clear{flex:0 0 auto}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-']{background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-textarea{background:transparent!important;color:#fff!important}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-textarea::placeholder{color:rgba(255,255,255,.92)!important}
.NUCUBA-post-preview-wrap.NUCUBA-has-media[class*='NUCUBA-post-bg-']{background:#fff!important;animation:none}
.NUCUBA-post-preview-wrap.NUCUBA-has-media .NUCUBA-post-textarea{color:#172033!important}
.NUCUBA-post-media-preview{order:2;margin-top:12px}
.NUCUBA-post-modal-tools{order:3;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;position:relative;z-index:3}
.NUCUBA-post-tool-btn{justify-content:center;min-height:46px}
.NUCUBA-post-form-bottom{padding-top:14px}
.NUCUBA-post-submit{background:#1877f2;color:#fff;border:none;border-radius:12px;padding:14px 18px;font-weight:800;width:100%}
.NUCUBA-post-submit:not(.is-ready){background:#cfd4dc;color:#fff}
.NUCUBA-post-location-chip{display:inline-flex;align-items:center;gap:8px;margin:8px 10px 4px;padding:8px 12px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:14px;font-weight:700}
.NUCUBA-post-location-line{display:flex;align-items:center;gap:8px;padding:0 16px 14px;color:#f97316;font-weight:700}
.NUCUBA-post-poll-editor{display:grid;gap:10px;margin-top:10px}
.NUCUBA-post-poll-question-input,.NUCUBA-post-poll-option-input{width:100%;border:1px solid #d0d5dd;border-radius:12px;padding:12px 14px;font-size:15px;outline:none;background:#fff}
.NUCUBA-post-poll-box{margin:0 16px 16px;padding:16px;border:1px solid #eaecf0;border-radius:18px;background:#fff}
.NUCUBA-post-poll-question{font-size:18px;font-weight:800;color:#101828;margin-bottom:12px}
.NUCUBA-post-poll-list{display:grid;gap:10px}
.NUCUBA-post-poll-option{position:relative;overflow:hidden;border:1px solid #d0d5dd;border-radius:14px;padding:12px 14px;background:#fff;cursor:pointer;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:10px}
.NUCUBA-post-poll-option.is-voted{border-color:#1877f2}
.NUCUBA-post-poll-fill{position:absolute;left:0;top:0;bottom:0;background:rgba(24,119,242,.14);pointer-events:none}
.NUCUBA-post-poll-label,.NUCUBA-post-poll-percent{position:relative;z-index:1;font-weight:700;color:#101828}
.NUCUBA-post-poll-total{margin-top:10px;color:#667085;font-size:13px}
.NUCUBA-post-card[data-post-id]{overflow:hidden}
.NUCUBA-post-media-wrap{margin:0 16px 16px;border-radius:18px;overflow:hidden;}
.NUCUBA-post-media{display:block;width:100%;max-height:560px;object-fit:contain;background:#000}
.NUCUBA-post-featured-badge{display:inline-flex;align-items:center;gap:6px;background:#eff6ff;color:#1d4ed8;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;margin:0 16px 10px}
.NUCUBA-post-comment-tools{display:flex!important;align-items:center;gap:8px}
@media (max-width: 760px){
  .NUCUBA-post-modal-dialog{width:min(94vw,640px)!important;max-height:92vh;overflow:auto}
  .NUCUBA-post-modal-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .NUCUBA-post-bg-strip{top:42px}
  .NUCUBA-post-media{max-height:360px}
}

/* NUCUBA post composer fixes v9 */
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-textarea,
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-state-row,
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-activity-input,
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-mood-input,
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-location-chip,
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-upload-name,
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-media-preview{display:none !important;}
.NUCUBA-post-form.NUCUBA-mode-poll .NUCUBA-post-preview-wrap{min-height:auto;padding-bottom:14px;}
.NUCUBA-post-poll-editor{display:grid;gap:10px;margin-top:10px;}
.NUCUBA-post-poll-editor[hidden]{display:none !important;}
.NUCUBA-post-poll-editor[class*='NUCUBA-post-bg-']{padding:18px;border-radius:18px;background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);}
.NUCUBA-post-poll-editor.NUCUBA-post-text-onbg input{color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);}
.NUCUBA-post-poll-editor.NUCUBA-post-text-onbg input::placeholder{color:rgba(255,255,255,.92);}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-']{background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite;}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-textarea,
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-location-chip,
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-selected-pill{color:#fff;}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-location-chip,
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-selected-pill{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24);}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-textarea{background:transparent !important;color:#fff !important;}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'] .NUCUBA-post-textarea::placeholder{color:rgba(255,255,255,.92) !important;}
.NUCUBA-post-poll-box[class*='NUCUBA-post-bg-']{background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite;border:none;}
.NUCUBA-post-poll-box[class*='NUCUBA-post-bg-'] .NUCUBA-post-poll-option{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.2);color:#fff;}
.NUCUBA-post-poll-box[class*='NUCUBA-post-bg-'] .NUCUBA-post-poll-fill{background:rgba(255,255,255,.22);}
.NUCUBA-post-poll-box[class*='NUCUBA-post-bg-'] .NUCUBA-post-poll-total{color:rgba(255,255,255,.92);}

.NUCUBA-post-poll-editor-top{display:flex;justify-content:flex-end;margin-bottom:2px}
.NUCUBA-post-poll-clear-btn{border:none;background:#eef2ff;color:#1d4ed8;border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer}
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg{background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite}
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg .NUCUBA-post-textarea{background:transparent!important;color:#fff!important}
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg .NUCUBA-post-textarea::placeholder{color:rgba(255,255,255,.92)!important}
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg .NUCUBA-post-location-chip,
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg .NUCUBA-post-selected-pill{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.24);color:#fff}
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg{border:none;background-size:200% 200%;animation:NUCUBA-postGradientMove 12s ease infinite}
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg .NUCUBA-post-poll-question,
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg .NUCUBA-post-poll-label,
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg .NUCUBA-post-poll-percent,
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg .NUCUBA-post-poll-total{color:#fff}
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg .NUCUBA-post-poll-option{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.2)}
.NUCUBA-post-poll-box.NUCUBA-post-text-onbg .NUCUBA-post-poll-fill{background:rgba(255,255,255,.22)}

/* NUCUBA post composer fixes v12 */
.NUCUBA-post-upload-name{display:none!important;}
.NUCUBA-post-modal-dialog{overflow:hidden!important;}
.NUCUBA-post-form{max-height:calc(92vh - 72px);overflow:auto;}
.NUCUBA-post-form-bottom{position:sticky;bottom:0;z-index:12;background:#fff;padding-top:12px;padding-bottom:2px;}
.NUCUBA-post-form-status{position:sticky;bottom:0;background:#fff;padding-bottom:8px;z-index:11;}
.NUCUBA-post-media-preview-file{max-height:min(38vh,320px)!important;}
.NUCUBA-post-preview-wrap{overflow:visible!important;}
.NUCUBA-post-preview-wrap.NUCUBA-post-has-bg{background:#fff!important;animation:none!important;}
.NUCUBA-post-textarea[class*='NUCUBA-post-bg-']{
  display:block;
  width:100%;
  border-radius:22px!important;
  background-size:200% 200%!important;
  animation:NUCUBA-postGradientMove 12s ease infinite;
  min-height:220px;
  padding:54px 28px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);
}
.NUCUBA-post-poll-editor[class*='NUCUBA-post-bg-']{
  border-radius:22px!important;
}
.NUCUBA-post-bg-strip{
  top:48px!important;
  padding:10px 52px 10px 10px!important;
}
.NUCUBA-post-bg-clear{
  position:absolute!important;
  top:8px;
  right:8px;
  width:32px;
  height:32px;
  border:none;
  border-radius:999px;
  background:#eef2f7;
  color:#344054;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 8px rgba(15,23,42,.10);
}
.NUCUBA-post-preview-wrap[class*='NUCUBA-post-bg-'],
.NUCUBA-post-preview-wrap.NUCUBA-post-text-onbg,
.NUCUBA-post-preview-wrap.NUCUBA-post-has-bg[class*='NUCUBA-post-bg-']{
  background:#fff!important;
  animation:none!important;
}
.NUCUBA-post-preview-wrap .NUCUBA-post-media-preview,
.NUCUBA-post-preview-wrap .NUCUBA-post-modal-tools,
.NUCUBA-post-preview-wrap .NUCUBA-post-location-chip,
.NUCUBA-post-preview-wrap .NUCUBA-post-state-row,
.NUCUBA-post-preview-wrap .NUCUBA-post-activity-input,
.NUCUBA-post-preview-wrap .NUCUBA-post-mood-input{
  position:relative;
  z-index:2;
}
@media (max-width:640px){
  .NUCUBA-post-form{max-height:calc(92vh - 64px);}
  .NUCUBA-post-textarea[class*='NUCUBA-post-bg-']{min-height:180px;padding:42px 18px!important;font-size:22px;}
  .NUCUBA-post-bg-strip{top:44px!important;}
}

@media (max-width: 1180px) {
  .NUCUBA-topbar {
    grid-template-columns: 260px minmax(0, 1fr) 260px;
  }
  .NUCUBA-topbar-left,
  .NUCUBA-topbar-right {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
  }
  .NUCUBA-main-nav { gap: 10px; width: 100%; }
  .NUCUBA-main-nav-btn { flex: 1 1 0; width: auto; }
}

/* NUCUBA post modal fixes v20 */
.NUCUBA-post-bg-strip{padding-right:10px!important;scrollbar-width:none;-ms-overflow-style:none;}
.NUCUBA-post-bg-strip::-webkit-scrollbar{display:none;width:0;height:0;background:transparent;}
.NUCUBA-post-bg-strip .NUCUBA-post-bg-clear{display:none!important;}
.NUCUBA-post-bg-active-clear{position:absolute;top:54px;right:10px;z-index:6;width:34px;height:34px;border:none;border-radius:999px;background:rgba(255,255,255,.96);color:#344054;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(15,23,42,.16);cursor:pointer;}
.NUCUBA-post-preview-wrap.NUCUBA-post-has-bg .NUCUBA-post-bg-active-clear{display:flex!important;}
.NUCUBA-post-preview-wrap:not(.NUCUBA-post-has-bg) .NUCUBA-post-bg-active-clear{display:none!important;}
@media (max-width:640px){
  .NUCUBA-post-bg-active-clear{top:46px;right:8px;}
}

/* v21 post sharing/edit/media fixes */
.NUCUBA-post-media-wrap{border-radius:18px;overflow:hidden;}
.NUCUBA-post-media{display:block;max-width:100%;width:100%;height:auto;max-height:none;object-fit:contain;background:#000}
.NUCUBA-post-media-video{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#000}
.NUCUBA-post-shared-box{margin:0 16px 16px;border:1px solid #e5e7eb;border-radius:18px;padding:12px;background:#fff}
.NUCUBA-post-shared-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.NUCUBA-post-shared-avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#eef2f7}
.NUCUBA-post-shared-meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.NUCUBA-post-shared-author{font-weight:800;color:#172033}
.NUCUBA-post-shared-time{font-size:12px;color:#64748b}
.NUCUBA-post-shared-text{font-size:16px;line-height:1.5;color:#172033;word-break:break-word;margin-bottom:10px}
.NUCUBA-post-shared-text[class*='NUCUBA-post-bg-']{margin:0 0 12px;border-radius:18px;padding:28px 18px;text-align:center;font-size:24px;font-weight:700}
.NUCUBA-post-edit-note{margin-top:10px;padding:10px 12px;border-radius:12px;background:#f8fafc;color:#475467;font-size:13px}
.NUCUBA-post-modal-dialog{overflow:auto!important;max-height:96vh!important}
@media (max-width:640px){
  .NUCUBA-post-shared-text[class*='NUCUBA-post-bg-']{font-size:20px;padding:22px 14px}
  .NUCUBA-post-media-wrap{margin:0 12px 14px}
}



@media (max-width: 768px){body.NUCUBA-post-menu-sheet-open{overflow:hidden;touch-action:none}.NUCUBA-post-menu{touch-action:pan-y}}

/* OpenAI mobile fullscreen site fix v2 */
@media (max-width: 980px){
  html,body,.NUCUBA-app{
    width:100%;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow-x:hidden !important;
  }
  .NUCUBA-layout{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    grid-template-columns:minmax(0,1fr) !important;
  }
  .NUCUBA-feed,
  .NUCUBA-center,
  .NUCUBA-main,
  .NUCUBA-content,
  .NUCUBA-page,
  .page-content,
  .content,
  .main{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }
  .NUCUBA-card,
  .NUCUBA-side-card,
  .NUCUBA-right-card,
  .NUCUBA-post-composer,
  .NUCUBA-post-card,
  .NUCUBA-post-empty,
  .NUCUBA-home-chat-card,
  .NUCUBA-home-chat-online-card{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }
}
@media (max-width: 640px){
  .NUCUBA-mobile-topbar,
  .NUCUBA-mobile-quickbar,
  .NUCUBA-chat-popups{
    padding-left:0 !important;
    padding-right:0 !important;
  }
  .NUCUBA-feed{
    gap:10px !important;
  }
  .NUCUBA-card,
  .NUCUBA-side-card,
  .NUCUBA-right-card,
  .NUCUBA-post-composer,
  .NUCUBA-post-card,
  .NUCUBA-post-empty,
  .NUCUBA-home-chat-card,
  .NUCUBA-home-chat-online-card{
    border-radius:0 !important;
  }
  .NUCUBA-post-composer,
  .NUCUBA-post-card,
  .NUCUBA-post-empty{
    margin:0 !important;
  }
}


/* NUCUBA FIX: ტელეფონის ზედა ზოლი სქროლვის დროს მყარად რჩება */
@media (max-width: 980px) {
  html {
    scroll-padding-top: var(--NUCUBA-mobile-topbar-h);
  }
  body {
    padding-top: var(--NUCUBA-mobile-topbar-h) !important;
  }
  .NUCUBA-mobile-topbar,
  .NUCUBA-site-mobile-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 5000 !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    will-change: transform;
  }
  .NUCUBA-mobile-profile-menu {
    top: calc(var(--NUCUBA-mobile-topbar-h) + 8px) !important;
  }
}
/* NUCUBA FIX: mobile fixed topbar must stay fixed, and page content must start below it. */
@media (max-width: 980px) {
  html {
    scroll-padding-top: var(--NUCUBA-mobile-topbar-h);
  }

  body.NUCUBA-app {
    padding-top: var(--NUCUBA-mobile-topbar-h) !important;
  }

  .NUCUBA-mobile-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 5000 !important;
  }
}

/* NUCUBA DAY NIGHT SWITCH AND THEME FIX */
html[data-site-theme="light"]{
  color-scheme:light;
  --NUCUBA-bg:#f0f2f5;
  --NUCUBA-card:#ffffff;
  --NUCUBA-card-2:#ffffff;
  --NUCUBA-border:#e4e6eb;
  --NUCUBA-text:#1c1e21;
  --NUCUBA-muted:#65676b;
  --NUCUBA-blue:#1877f2;
  --NUCUBA-blue-soft:#e7f3ff;
  --NUCUBA-hover:#f2f3f5;
  --NUCUBA-icon-bg:#eff2f6;
}
html[data-site-theme="light"],html[data-site-theme="light"] body{background:var(--NUCUBA-bg);color:var(--NUCUBA-text);}
.NUCUBA-theme-mode-row,.NUCUBA-ProfileSettingsThemeActions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 14px!important;}
.NUCUBA-theme-mode,.NUCUBA-ProfileSettingsThemeBtn{height:38px!important;padding:0 14px!important;border-radius:999px!important;border:1px solid var(--NUCUBA-border)!important;background:var(--NUCUBA-card)!important;color:var(--NUCUBA-text)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-weight:900!important;font-size:13px!important;line-height:1!important;cursor:pointer!important;box-shadow:0 4px 10px rgba(0,0,0,.04)!important;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease!important;}
.NUCUBA-theme-mode:hover,.NUCUBA-ProfileSettingsThemeBtn:hover{transform:translateY(-1px);background:var(--NUCUBA-hover)!important;}
.NUCUBA-theme-mode.is-active,.NUCUBA-ProfileSettingsThemeBtn.is-active{background:var(--NUCUBA-blue)!important;border-color:var(--NUCUBA-blue)!important;color:#fff!important;box-shadow:0 8px 18px rgba(24,119,242,.20)!important;}
.NUCUBA-theme-mode svg,.NUCUBA-ProfileSettingsThemeBtn svg{width:16px!important;height:16px!important;display:block!important;flex:0 0 16px!important;fill:currentColor!important;}
html[data-site-theme="dark"] .NUCUBA-theme-mode,html[data-site-theme="dark"] .NUCUBA-ProfileSettingsThemeBtn{background:#3a3b3c!important;color:#e4e6eb!important;border-color:#4b4c4f!important;box-shadow:none!important;}
html[data-site-theme="dark"] .NUCUBA-theme-mode:hover,html[data-site-theme="dark"] .NUCUBA-ProfileSettingsThemeBtn:hover{background:#4b4c4f!important;}
html[data-site-theme="dark"] .NUCUBA-theme-mode.is-active,html[data-site-theme="dark"] .NUCUBA-ProfileSettingsThemeBtn.is-active{background:#2d88ff!important;border-color:#2d88ff!important;color:#fff!important;}
html[data-site-theme="dark"] .NUCUBA-layout,html[data-site-theme="dark"] .NUCUBA-main,html[data-site-theme="dark"] .NUCUBA-content{background:var(--NUCUBA-bg)!important;color:var(--NUCUBA-text)!important;}
html[data-site-theme="dark"] .NUCUBA-center,html[data-site-theme="dark"] .NUCUBA-middle,html[data-site-theme="dark"] .NUCUBA-main-column{background:transparent!important;color:var(--NUCUBA-text)!important;}
@media(max-width:760px){.NUCUBA-theme-mode-row,.NUCUBA-ProfileSettingsThemeActions{gap:7px!important}.NUCUBA-theme-mode,.NUCUBA-ProfileSettingsThemeBtn{height:36px!important;padding:0 12px!important;font-size:12px!important;flex:1 1 auto!important;min-width:88px!important}}

/* NUCUBA FIX 2026-06-06: პროფილის მარჯვენა დაფა და ტელეფონის მარცხენა/მარჯვენა დაფები იგივე ფერებზე, როგორც დღე/ღამის რეჟიმის ღილაკი */
html[data-site-theme="dark"] .NUCUBA-profile-menu,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu,
body.NUCUBA-dark .NUCUBA-profile-menu,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu{
  background:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
  box-shadow:0 18px 44px rgba(0,0,0,.45) !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-card,
body.NUCUBA-dark .NUCUBA-profile-card{
  background:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
  box-shadow:none !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-row,
html[data-site-theme="dark"] .NUCUBA-profile-shortcut,
body.NUCUBA-dark .NUCUBA-profile-row,
body.NUCUBA-dark .NUCUBA-profile-shortcut{
  background:transparent !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-row:hover,
html[data-site-theme="dark"] .NUCUBA-profile-row:active,
html[data-site-theme="dark"] .NUCUBA-profile-shortcut:hover,
html[data-site-theme="dark"] .NUCUBA-profile-shortcut:active,
html[data-site-theme="dark"] .NUCUBA-profile-card-top:hover,
body.NUCUBA-dark .NUCUBA-profile-row:hover,
body.NUCUBA-dark .NUCUBA-profile-row:active,
body.NUCUBA-dark .NUCUBA-profile-shortcut:hover,
body.NUCUBA-dark .NUCUBA-profile-shortcut:active,
body.NUCUBA-dark .NUCUBA-profile-card-top:hover{
  background:#3a3b3c !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-menu-icon,
html[data-site-theme="dark"] .NUCUBA-profile-row-arrow,
html[data-site-theme="dark"] .NUCUBA-profile-trigger-arrow,
body.NUCUBA-dark .NUCUBA-profile-menu-icon,
body.NUCUBA-dark .NUCUBA-profile-row-arrow,
body.NUCUBA-dark .NUCUBA-profile-trigger-arrow{
  background:#3a3b3c !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-row:hover .NUCUBA-profile-menu-icon,
html[data-site-theme="dark"] .NUCUBA-profile-row:hover .NUCUBA-profile-row-arrow,
html[data-site-theme="dark"] .NUCUBA-profile-shortcut:hover .NUCUBA-profile-menu-icon,
body.NUCUBA-dark .NUCUBA-profile-row:hover .NUCUBA-profile-menu-icon,
body.NUCUBA-dark .NUCUBA-profile-row:hover .NUCUBA-profile-row-arrow,
body.NUCUBA-dark .NUCUBA-profile-shortcut:hover .NUCUBA-profile-menu-icon{
  background:#4b4c4f !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-name,
html[data-site-theme="dark"] .NUCUBA-profile-row-title,
body.NUCUBA-dark .NUCUBA-profile-name,
body.NUCUBA-dark .NUCUBA-profile-row-title{
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-sub,
html[data-site-theme="dark"] .NUCUBA-profile-row-sub,
body.NUCUBA-dark .NUCUBA-profile-sub,
body.NUCUBA-dark .NUCUBA-profile-row-sub{
  color:#b0b3b8 !important;
}
html[data-site-theme="dark"] .NUCUBA-profile-divider,
body.NUCUBA-dark .NUCUBA-profile-divider{
  background:#3a3b3c !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel,
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-left,
html[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-left,
body.NUCUBA-dark #NUCUBA-mobileLeftDrawer{
  background:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
  box-shadow:18px 0 40px rgba(0,0,0,.42) !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-head,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-head{
  background:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-row,
body.NUCUBA-dark .NUCUBA-mobile-drawer-row{
  color:#e4e6eb !important;
  background:transparent !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-row:hover,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-row:active,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-row-active,
body.NUCUBA-dark .NUCUBA-mobile-drawer-row:hover,
body.NUCUBA-dark .NUCUBA-mobile-drawer-row:active,
body.NUCUBA-dark .NUCUBA-mobile-drawer-row-active{
  background:#3a3b3c !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-icon,
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-close,
body.NUCUBA-dark .NUCUBA-mobile-drawer-icon,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-close{
  background:#3a3b3c !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-row:hover .NUCUBA-mobile-drawer-icon,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-icon,
body.NUCUBA-dark .NUCUBA-mobile-drawer-row:hover .NUCUBA-mobile-drawer-icon,
body.NUCUBA-dark .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-icon{
  background:#4b4c4f !important;
  color:#e4e6eb !important;
  box-shadow:none !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-title,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-text strong,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-title,
body.NUCUBA-dark .NUCUBA-mobile-drawer-text strong{
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-mobile-drawer-text small,
body.NUCUBA-dark .NUCUBA-mobile-drawer-text small{
  color:#b0b3b8 !important;
}
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-card,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-right-card,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-side-card,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-card,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-right-card,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-side-card{
  background:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-room-item,
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-link,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-side-link,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-contact-item,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-room-item,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-link,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-side-link,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-contact-item{
  background:transparent !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-room-item:hover,
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-link:hover,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-side-link:hover,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-contact-item:hover,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-room-item:hover,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-link:hover,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-side-link:hover,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-contact-item:hover{
  background:#3a3b3c !important;
}
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-room-thumb,
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-icon,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-side-icon,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-room-thumb,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-icon,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-side-icon{
  background:#3a3b3c !important;
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-room-name,
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-link-title,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-side-link-title,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-room-name,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-link-title,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-side-link-title{
  color:#e4e6eb !important;
}
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-room-desc,
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-link-sub,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-side-link-sub,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-room-desc,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-link-sub,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-side-link-sub{
  color:#b0b3b8 !important;
}


/* NUCUBA FIX 2026-06-06: mobile/desktop side panels must keep dark mode colors */
html[data-site-theme="dark"] .NUCUBA-mobile-drawer,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu,
html[data-site-theme="dark"] .NUCUBA-profile-menu,
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel,
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-left,
html[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer,
html[data-site-theme="dark"] #NUCUBA-mobileRightDrawer,
html[data-site-theme="dark"] .NUCUBA-sidebar-left .NUCUBA-side-card,
html[data-site-theme="dark"] .NUCUBA-sidebar-right .NUCUBA-right-card,
body.NUCUBA-dark .NUCUBA-mobile-drawer,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu,
body.NUCUBA-dark .NUCUBA-profile-menu,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-left,
body.NUCUBA-dark #NUCUBA-mobileLeftDrawer,
body.NUCUBA-dark #NUCUBA-mobileRightDrawer,
body.NUCUBA-dark .NUCUBA-sidebar-left .NUCUBA-side-card,
body.NUCUBA-dark .NUCUBA-sidebar-right .NUCUBA-right-card{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
}

html[data-site-theme="dark"] .NUCUBA-mobile-drawer *,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu *,
html[data-site-theme="dark"] .NUCUBA-profile-menu *,
html[data-site-theme="dark"] .NUCUBA-mobile-sidepanel *,
html[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer *,
html[data-site-theme="dark"] #NUCUBA-mobileRightDrawer *,
body.NUCUBA-dark .NUCUBA-mobile-drawer *,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu *,
body.NUCUBA-dark .NUCUBA-profile-menu *,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel *,
body.NUCUBA-dark #NUCUBA-mobileLeftDrawer *,
body.NUCUBA-dark #NUCUBA-mobileRightDrawer *{
  color:#e4e6eb !important;
  opacity:1 !important;
  text-shadow:none !important;
}

html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-room-desc,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-side-link-sub,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-sub,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu .NUCUBA-profile-row-sub,
html[data-site-theme="dark"] .NUCUBA-profile-menu .NUCUBA-profile-row-sub,
html[data-site-theme="dark"] .NUCUBA-profile-menu .NUCUBA-profile-sub,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-room-desc,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-side-link-sub,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-sub,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu .NUCUBA-profile-row-sub,
body.NUCUBA-dark .NUCUBA-profile-menu .NUCUBA-profile-row-sub,
body.NUCUBA-dark .NUCUBA-profile-menu .NUCUBA-profile-sub{
  color:#b0b3b8 !important;
}

html[data-site-theme="dark"] .NUCUBA-mobile-drawer a,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-room-item,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-side-link,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu a,
html[data-site-theme="dark"] .NUCUBA-profile-menu a,
body.NUCUBA-dark .NUCUBA-mobile-drawer a,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-room-item,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-side-link,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu a,
body.NUCUBA-dark .NUCUBA-profile-menu a{
  background:transparent !important;
  color:#e4e6eb !important;
}

html[data-site-theme="dark"] .NUCUBA-mobile-drawer a:hover,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-room-item:hover,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-side-link:hover,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row:hover,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu a:hover,
html[data-site-theme="dark"] .NUCUBA-profile-menu a:hover,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row-active,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-room-item-active,
body.NUCUBA-dark .NUCUBA-mobile-drawer a:hover,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-room-item:hover,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-side-link:hover,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row:hover,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu a:hover,
body.NUCUBA-dark .NUCUBA-profile-menu a:hover,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row-active,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-room-item-active{
  background:#3a3b3c !important;
}

html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-icon,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-side-icon,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-room-thumb,
html[data-site-theme="dark"] .NUCUBA-mobile-profile-menu .NUCUBA-profile-menu-icon,
html[data-site-theme="dark"] .NUCUBA-profile-menu .NUCUBA-profile-menu-icon,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-icon,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-side-icon,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-room-thumb,
body.NUCUBA-dark .NUCUBA-mobile-profile-menu .NUCUBA-profile-menu-icon,
body.NUCUBA-dark .NUCUBA-profile-menu .NUCUBA-profile-menu-icon{
  background:#3a3b3c !important;
  color:#e4e6eb !important;
}

html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-icon,
html[data-site-theme="dark"] .NUCUBA-mobile-drawer .NUCUBA-room-item-active .NUCUBA-room-thumb,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-icon,
body.NUCUBA-dark .NUCUBA-mobile-drawer .NUCUBA-room-item-active .NUCUBA-room-thumb{
  background:linear-gradient(135deg,#3a3b3c,#4b4d50) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}

html[data-site-theme="dark"] .NUCUBA-profile-divider,
body.NUCUBA-dark .NUCUBA-profile-divider{
  border-color:#3a3b3c !important;
  background:#3a3b3c !important;
}


/* NUCUBA FIX 2026-06-06B: mobile left menu uses same dark palette as day/night button */
html.NUCUBA-dark .NUCUBA-mobile-sidepanel,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-left,
html.NUCUBA-dark #NUCUBA-mobileLeftDrawer,
html.theme-dark .NUCUBA-mobile-sidepanel,
html.theme-dark .NUCUBA-mobile-sidepanel-left,
html.theme-dark #NUCUBA-mobileLeftDrawer,
body.theme-dark .NUCUBA-mobile-sidepanel,
body.theme-dark .NUCUBA-mobile-sidepanel-left,
body.theme-dark #NUCUBA-mobileLeftDrawer,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-left,
body[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
  box-shadow:18px 0 40px rgba(0,0,0,.42) !important;
}
html.NUCUBA-dark #NUCUBA-mobileLeftDrawer .NUCUBA-mobile-sidepanel-body,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-body,
html.theme-dark #NUCUBA-mobileLeftDrawer .NUCUBA-mobile-sidepanel-body,
html.theme-dark .NUCUBA-mobile-sidepanel-body,
body.theme-dark #NUCUBA-mobileLeftDrawer .NUCUBA-mobile-sidepanel-body,
body.theme-dark .NUCUBA-mobile-sidepanel-body,
body[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer .NUCUBA-mobile-sidepanel-body,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-body{
  background:#242526 !important;
  background-color:#242526 !important;
}
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-head,
html.theme-dark .NUCUBA-mobile-sidepanel-head,
body.theme-dark .NUCUBA-mobile-sidepanel-head,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-head{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-row,
html.theme-dark .NUCUBA-mobile-drawer-row,
body.theme-dark .NUCUBA-mobile-drawer-row,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-row{
  color:#e4e6eb !important;
  background:transparent !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-row:hover,
html.NUCUBA-dark .NUCUBA-mobile-drawer-row-active,
html.theme-dark .NUCUBA-mobile-drawer-row:hover,
html.theme-dark .NUCUBA-mobile-drawer-row-active,
body.theme-dark .NUCUBA-mobile-drawer-row:hover,
body.theme-dark .NUCUBA-mobile-drawer-row-active,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-row:hover,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-row-active{
  background:#3a3b3c !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-icon,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-close,
html.theme-dark .NUCUBA-mobile-drawer-icon,
html.theme-dark .NUCUBA-mobile-sidepanel-close,
body.theme-dark .NUCUBA-mobile-drawer-icon,
body.theme-dark .NUCUBA-mobile-sidepanel-close,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-icon,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-close{
  background:#3a3b3c !important;
  background-image:none !important;
  color:#e4e6eb !important;
  box-shadow:none !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-text strong,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-title,
html.theme-dark .NUCUBA-mobile-drawer-text strong,
html.theme-dark .NUCUBA-mobile-sidepanel-title,
body.theme-dark .NUCUBA-mobile-drawer-text strong,
body.theme-dark .NUCUBA-mobile-sidepanel-title,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-text strong,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-title{
  color:#e4e6eb !important;
  opacity:1 !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-text small,
html.theme-dark .NUCUBA-mobile-drawer-text small,
body.theme-dark .NUCUBA-mobile-drawer-text small,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-text small{
  color:#b0b3b8 !important;
  opacity:1 !important;
}

/* NUCUBA FIX 2026-06-06: dark mode icons + center content */
html.NUCUBA-dark .NUCUBA-main-nav-btn,
html.theme-dark .NUCUBA-main-nav-btn,
body.NUCUBA-dark .NUCUBA-main-nav-btn,
body.theme-dark .NUCUBA-main-nav-btn,
body[data-site-theme="dark"] .NUCUBA-main-nav-btn{
  color:#ffffff !important;
}
html.NUCUBA-dark .NUCUBA-main-nav-btn svg,
html.theme-dark .NUCUBA-main-nav-btn svg,
body.NUCUBA-dark .NUCUBA-main-nav-btn svg,
body.theme-dark .NUCUBA-main-nav-btn svg,
body[data-site-theme="dark"] .NUCUBA-main-nav-btn svg{
  color:#ffffff !important;
  fill:#ffffff !important;
}
html.NUCUBA-dark .NUCUBA-main-nav-btn.NUCUBA-active,
html.theme-dark .NUCUBA-main-nav-btn.NUCUBA-active,
body.NUCUBA-dark .NUCUBA-main-nav-btn.NUCUBA-active,
body.theme-dark .NUCUBA-main-nav-btn.NUCUBA-active,
body[data-site-theme="dark"] .NUCUBA-main-nav-btn.NUCUBA-active{
  color:#ffffff !important;
  background:rgba(45,136,255,.18) !important;
}
html.NUCUBA-dark .NUCUBA-main-nav-btn.NUCUBA-active svg,
html.theme-dark .NUCUBA-main-nav-btn.NUCUBA-active svg,
body.NUCUBA-dark .NUCUBA-main-nav-btn.NUCUBA-active svg,
body.theme-dark .NUCUBA-main-nav-btn.NUCUBA-active svg,
body[data-site-theme="dark"] .NUCUBA-main-nav-btn.NUCUBA-active svg{
  color:#ffffff !important;
  fill:#ffffff !important;
}
html.NUCUBA-dark .NUCUBA-icon-btn svg,
html.theme-dark .NUCUBA-icon-btn svg,
body.NUCUBA-dark .NUCUBA-icon-btn svg,
body.theme-dark .NUCUBA-icon-btn svg,
body[data-site-theme="dark"] .NUCUBA-icon-btn svg{
  color:#ffffff !important;
  fill:#ffffff !important;
}
html.NUCUBA-dark .NUCUBA-mobile-sidepanel,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-left,
html.NUCUBA-dark #NUCUBA-mobileLeftDrawer,
html.theme-dark .NUCUBA-mobile-sidepanel,
html.theme-dark .NUCUBA-mobile-sidepanel-left,
html.theme-dark #NUCUBA-mobileLeftDrawer,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel,
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-left,
body.NUCUBA-dark #NUCUBA-mobileLeftDrawer,
body.theme-dark .NUCUBA-mobile-sidepanel,
body.theme-dark .NUCUBA-mobile-sidepanel-left,
body.theme-dark #NUCUBA-mobileLeftDrawer,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-left,
body[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
}
body.NUCUBA-dark .NUCUBA-mobile-sidepanel-body,
body.NUCUBA-dark #NUCUBA-mobileLeftDrawer .NUCUBA-mobile-sidepanel-body{
  background:#242526 !important;
  background-color:#242526 !important;
}
body.NUCUBA-dark .NUCUBA-mobile-drawer-row{color:#e4e6eb !important;background:transparent !important;}
body.NUCUBA-dark .NUCUBA-mobile-drawer-text strong{color:#e4e6eb !important;opacity:1 !important;}
body.NUCUBA-dark .NUCUBA-mobile-drawer-text small{color:#b0b3b8 !important;opacity:1 !important;}
body.NUCUBA-dark .NUCUBA-mobile-drawer-icon{background:#3a3b3c !important;background-image:none !important;color:#ffffff !important;box-shadow:none !important;}
body.NUCUBA-dark .NUCUBA-mobile-drawer-icon svg{color:#ffffff !important;fill:#ffffff !important;}
html.NUCUBA-dark .NUCUBA-home-chat-online-card,
html.NUCUBA-dark .NUCUBA-home-chat-card,
html.NUCUBA-dark .NUCUBA-pymk-box,
html.NUCUBA-dark .NUCUBA-pymk-card,
html.NUCUBA-dark .NUCUBA-pymk-empty,
html.NUCUBA-dark .NUCUBA-post-composer,
html.NUCUBA-dark .NUCUBA-post-card,
html.NUCUBA-dark .NUCUBA-post-empty,
html.NUCUBA-dark .NUCUBA-post-preview-wrap,
html.NUCUBA-dark .NUCUBA-post-comment-input-wrap,
html.NUCUBA-dark .NUCUBA-post-form-bottom,
html.NUCUBA-dark .NUCUBA-post-form-status,
html.theme-dark .NUCUBA-home-chat-online-card,
html.theme-dark .NUCUBA-home-chat-card,
html.theme-dark .NUCUBA-pymk-box,
html.theme-dark .NUCUBA-pymk-card,
html.theme-dark .NUCUBA-pymk-empty,
html.theme-dark .NUCUBA-post-composer,
html.theme-dark .NUCUBA-post-card,
html.theme-dark .NUCUBA-post-empty,
html.theme-dark .NUCUBA-post-preview-wrap,
html.theme-dark .NUCUBA-post-comment-input-wrap,
html.theme-dark .NUCUBA-post-form-bottom,
html.theme-dark .NUCUBA-post-form-status,
body.NUCUBA-dark .NUCUBA-home-chat-online-card,
body.NUCUBA-dark .NUCUBA-home-chat-card,
body.NUCUBA-dark .NUCUBA-pymk-box,
body.NUCUBA-dark .NUCUBA-pymk-card,
body.NUCUBA-dark .NUCUBA-pymk-empty,
body.NUCUBA-dark .NUCUBA-post-composer,
body.NUCUBA-dark .NUCUBA-post-card,
body.NUCUBA-dark .NUCUBA-post-empty,
body.NUCUBA-dark .NUCUBA-post-preview-wrap,
body.NUCUBA-dark .NUCUBA-post-comment-input-wrap,
body.NUCUBA-dark .NUCUBA-post-form-bottom,
body.NUCUBA-dark .NUCUBA-post-form-status,
body.theme-dark .NUCUBA-home-chat-online-card,
body.theme-dark .NUCUBA-home-chat-card,
body.theme-dark .NUCUBA-pymk-box,
body.theme-dark .NUCUBA-pymk-card,
body.theme-dark .NUCUBA-pymk-empty,
body.theme-dark .NUCUBA-post-composer,
body.theme-dark .NUCUBA-post-card,
body.theme-dark .NUCUBA-post-empty,
body.theme-dark .NUCUBA-post-preview-wrap,
body.theme-dark .NUCUBA-post-comment-input-wrap,
body.theme-dark .NUCUBA-post-form-bottom,
body.theme-dark .NUCUBA-post-form-status,
body[data-site-theme="dark"] .NUCUBA-home-chat-online-card,
body[data-site-theme="dark"] .NUCUBA-home-chat-card,
body[data-site-theme="dark"] .NUCUBA-pymk-box,
body[data-site-theme="dark"] .NUCUBA-pymk-card,
body[data-site-theme="dark"] .NUCUBA-pymk-empty,
body[data-site-theme="dark"] .NUCUBA-post-composer,
body[data-site-theme="dark"] .NUCUBA-post-card,
body[data-site-theme="dark"] .NUCUBA-post-empty,
body[data-site-theme="dark"] .NUCUBA-post-preview-wrap,
body[data-site-theme="dark"] .NUCUBA-post-comment-input-wrap,
body[data-site-theme="dark"] .NUCUBA-post-form-bottom,
body[data-site-theme="dark"] .NUCUBA-post-form-status{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
  box-shadow:none !important;
}
html.NUCUBA-dark .NUCUBA-post-fake-input,
html.NUCUBA-dark .NUCUBA-post-comment-input-wrap,
html.NUCUBA-dark .NUCUBA-post-comment-input,
html.NUCUBA-dark .NUCUBA-home-chat-media,
html.NUCUBA-dark .NUCUBA-home-chat-file,
html.theme-dark .NUCUBA-post-fake-input,
html.theme-dark .NUCUBA-post-comment-input-wrap,
html.theme-dark .NUCUBA-post-comment-input,
html.theme-dark .NUCUBA-home-chat-media,
html.theme-dark .NUCUBA-home-chat-file,
body.NUCUBA-dark .NUCUBA-post-fake-input,
body.NUCUBA-dark .NUCUBA-post-comment-input-wrap,
body.NUCUBA-dark .NUCUBA-post-comment-input,
body.NUCUBA-dark .NUCUBA-home-chat-media,
body.NUCUBA-dark .NUCUBA-home-chat-file,
body.theme-dark .NUCUBA-post-fake-input,
body.theme-dark .NUCUBA-post-comment-input-wrap,
body.theme-dark .NUCUBA-post-comment-input,
body.theme-dark .NUCUBA-home-chat-media,
body.theme-dark .NUCUBA-home-chat-file,
body[data-site-theme="dark"] .NUCUBA-post-fake-input,
body[data-site-theme="dark"] .NUCUBA-post-comment-input-wrap,
body[data-site-theme="dark"] .NUCUBA-post-comment-input,
body[data-site-theme="dark"] .NUCUBA-home-chat-media,
body[data-site-theme="dark"] .NUCUBA-home-chat-file{
  background:#3a3b3c !important;
  background-color:#3a3b3c !important;
  border-color:#4b4c4f !important;
  color:#e4e6eb !important;
}
html.NUCUBA-dark .NUCUBA-home-chat-online-label,
html.NUCUBA-dark .NUCUBA-home-chat-title,
html.NUCUBA-dark .NUCUBA-home-chat-author,
html.NUCUBA-dark .NUCUBA-home-chat-text,
html.NUCUBA-dark .NUCUBA-pymk-title,
html.NUCUBA-dark .NUCUBA-pymk-name,
html.NUCUBA-dark .NUCUBA-post-empty-title,
html.NUCUBA-dark .NUCUBA-post-textarea,
html.theme-dark .NUCUBA-home-chat-online-label,
html.theme-dark .NUCUBA-home-chat-title,
html.theme-dark .NUCUBA-home-chat-author,
html.theme-dark .NUCUBA-home-chat-text,
html.theme-dark .NUCUBA-pymk-title,
html.theme-dark .NUCUBA-pymk-name,
html.theme-dark .NUCUBA-post-empty-title,
html.theme-dark .NUCUBA-post-textarea,
body.NUCUBA-dark .NUCUBA-home-chat-online-label,
body.NUCUBA-dark .NUCUBA-home-chat-title,
body.NUCUBA-dark .NUCUBA-home-chat-author,
body.NUCUBA-dark .NUCUBA-home-chat-text,
body.NUCUBA-dark .NUCUBA-pymk-title,
body.NUCUBA-dark .NUCUBA-pymk-name,
body.NUCUBA-dark .NUCUBA-post-empty-title,
body.NUCUBA-dark .NUCUBA-post-textarea,
body.theme-dark .NUCUBA-home-chat-online-label,
body.theme-dark .NUCUBA-home-chat-title,
body.theme-dark .NUCUBA-home-chat-author,
body.theme-dark .NUCUBA-home-chat-text,
body.theme-dark .NUCUBA-pymk-title,
body.theme-dark .NUCUBA-pymk-name,
body.theme-dark .NUCUBA-post-empty-title,
body.theme-dark .NUCUBA-post-textarea,
body[data-site-theme="dark"] .NUCUBA-home-chat-online-label,
body[data-site-theme="dark"] .NUCUBA-home-chat-title,
body[data-site-theme="dark"] .NUCUBA-home-chat-author,
body[data-site-theme="dark"] .NUCUBA-home-chat-text,
body[data-site-theme="dark"] .NUCUBA-pymk-title,
body[data-site-theme="dark"] .NUCUBA-pymk-name,
body[data-site-theme="dark"] .NUCUBA-post-empty-title,
body[data-site-theme="dark"] .NUCUBA-post-textarea{
  color:#e4e6eb !important;
}
html.NUCUBA-dark .NUCUBA-home-chat-online-hint,
html.NUCUBA-dark .NUCUBA-home-chat-heading-sub,
html.NUCUBA-dark .NUCUBA-home-chat-sub,
html.NUCUBA-dark .NUCUBA-home-chat-empty,
html.NUCUBA-dark .NUCUBA-pymk-subtitle,
html.NUCUBA-dark .NUCUBA-pymk-meta,
html.NUCUBA-dark .NUCUBA-post-empty-text,
html.theme-dark .NUCUBA-home-chat-online-hint,
html.theme-dark .NUCUBA-home-chat-heading-sub,
html.theme-dark .NUCUBA-home-chat-sub,
html.theme-dark .NUCUBA-home-chat-empty,
html.theme-dark .NUCUBA-pymk-subtitle,
html.theme-dark .NUCUBA-pymk-meta,
html.theme-dark .NUCUBA-post-empty-text,
body.NUCUBA-dark .NUCUBA-home-chat-online-hint,
body.NUCUBA-dark .NUCUBA-home-chat-heading-sub,
body.NUCUBA-dark .NUCUBA-home-chat-sub,
body.NUCUBA-dark .NUCUBA-home-chat-empty,
body.NUCUBA-dark .NUCUBA-pymk-subtitle,
body.NUCUBA-dark .NUCUBA-pymk-meta,
body.NUCUBA-dark .NUCUBA-post-empty-text,
body.theme-dark .NUCUBA-home-chat-online-hint,
body.theme-dark .NUCUBA-home-chat-heading-sub,
body.theme-dark .NUCUBA-home-chat-sub,
body.theme-dark .NUCUBA-home-chat-empty,
body.theme-dark .NUCUBA-pymk-subtitle,
body.theme-dark .NUCUBA-pymk-meta,
body.theme-dark .NUCUBA-post-empty-text,
body[data-site-theme="dark"] .NUCUBA-home-chat-online-hint,
body[data-site-theme="dark"] .NUCUBA-home-chat-heading-sub,
body[data-site-theme="dark"] .NUCUBA-home-chat-sub,
body[data-site-theme="dark"] .NUCUBA-home-chat-empty,
body[data-site-theme="dark"] .NUCUBA-pymk-subtitle,
body[data-site-theme="dark"] .NUCUBA-pymk-meta,
body[data-site-theme="dark"] .NUCUBA-post-empty-text{
  color:#b0b3b8 !important;
}

/* NUCUBA FIX 2026-06-06C: full dark mode pass for center content, icons, modals, chat, users, online */
html[data-site-theme="dark"],html.NUCUBA-dark,html.theme-dark{color-scheme:dark;--NUCUBA-bg:#18191a;--NUCUBA-card:#242526;--NUCUBA-card-2:#2f3031;--NUCUBA-border:#3a3b3c;--NUCUBA-text:#e4e6eb;--NUCUBA-muted:#b0b3b8;--NUCUBA-hover:#3a3b3c;--NUCUBA-icon-bg:#3a3b3c;}
html[data-site-theme="dark"] body,html.NUCUBA-dark body,html.theme-dark body,body.NUCUBA-dark,body.theme-dark,body[data-site-theme="dark"]{background:#18191a!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] svg,html.NUCUBA-dark svg,html.theme-dark svg,body.NUCUBA-dark svg,body.theme-dark svg,body[data-site-theme="dark"] svg{color:currentColor;fill:currentColor;}
html[data-site-theme="dark"] .NUCUBA-topbar svg,html[data-site-theme="dark"] .NUCUBA-main-nav svg,html[data-site-theme="dark"] .NUCUBA-main-nav-btn svg,html[data-site-theme="dark"] .NUCUBA-header svg,html[data-site-theme="dark"] .NUCUBA-icon-btn svg,html.NUCUBA-dark .NUCUBA-topbar svg,html.NUCUBA-dark .NUCUBA-main-nav svg,html.NUCUBA-dark .NUCUBA-main-nav-btn svg,html.NUCUBA-dark .NUCUBA-header svg,html.NUCUBA-dark .NUCUBA-icon-btn svg,body.NUCUBA-dark .NUCUBA-topbar svg,body.NUCUBA-dark .NUCUBA-main-nav svg,body.NUCUBA-dark .NUCUBA-main-nav-btn svg,body.NUCUBA-dark .NUCUBA-header svg,body.NUCUBA-dark .NUCUBA-icon-btn svg,body[data-site-theme="dark"] .NUCUBA-topbar svg,body[data-site-theme="dark"] .NUCUBA-main-nav svg,body[data-site-theme="dark"] .NUCUBA-main-nav-btn svg,body[data-site-theme="dark"] .NUCUBA-header svg,body[data-site-theme="dark"] .NUCUBA-icon-btn svg{color:#fff!important;fill:#fff!important;stroke:#fff!important;}
html[data-site-theme="dark"] .NUCUBA-app,html[data-site-theme="dark"] .NUCUBA-layout,html[data-site-theme="dark"] .NUCUBA-main,html[data-site-theme="dark"] .NUCUBA-content,html[data-site-theme="dark"] .NUCUBA-main-column,html[data-site-theme="dark"] .NUCUBA-center,html.NUCUBA-dark .NUCUBA-app,html.NUCUBA-dark .NUCUBA-layout,html.NUCUBA-dark .NUCUBA-main,html.NUCUBA-dark .NUCUBA-content,html.NUCUBA-dark .NUCUBA-main-column,html.NUCUBA-dark .NUCUBA-center,body.NUCUBA-dark .NUCUBA-app,body.NUCUBA-dark .NUCUBA-layout,body.NUCUBA-dark .NUCUBA-main,body.NUCUBA-dark .NUCUBA-content,body.NUCUBA-dark .NUCUBA-main-column,body.NUCUBA-dark .NUCUBA-center,body[data-site-theme="dark"] .NUCUBA-app,body[data-site-theme="dark"] .NUCUBA-layout,body[data-site-theme="dark"] .NUCUBA-main,body[data-site-theme="dark"] .NUCUBA-content,body[data-site-theme="dark"] .NUCUBA-main-column,body[data-site-theme="dark"] .NUCUBA-center{background:#18191a!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-card,html[data-site-theme="dark"] .NUCUBA-box,html[data-site-theme="dark"] .NUCUBA-panel,html[data-site-theme="dark"] .NUCUBA-post-card,html[data-site-theme="dark"] .NUCUBA-post-composer,html[data-site-theme="dark"] .NUCUBA-post-empty,html[data-site-theme="dark"] .NUCUBA-pymk-box,html[data-site-theme="dark"] .NUCUBA-pymk-card,html[data-site-theme="dark"] .NUCUBA-pymk-empty,html[data-site-theme="dark"] .NUCUBA-home-chat-card,html[data-site-theme="dark"] .NUCUBA-home-chat-online-card,html[data-site-theme="dark"] .NUCUBA-online-headbox,html[data-site-theme="dark"] .NUCUBA-online-card,html[data-site-theme="dark"] .NUCUBA-online-empty,html[data-site-theme="dark"] .NUCUBA-users-headbox,html[data-site-theme="dark"] .NUCUBA-users-card,html[data-site-theme="dark"] .NUCUBA-users-empty,html.NUCUBA-dark .NUCUBA-card,html.NUCUBA-dark .NUCUBA-box,html.NUCUBA-dark .NUCUBA-panel,html.NUCUBA-dark .NUCUBA-post-card,html.NUCUBA-dark .NUCUBA-post-composer,html.NUCUBA-dark .NUCUBA-post-empty,html.NUCUBA-dark .NUCUBA-pymk-box,html.NUCUBA-dark .NUCUBA-pymk-card,html.NUCUBA-dark .NUCUBA-pymk-empty,html.NUCUBA-dark .NUCUBA-home-chat-card,html.NUCUBA-dark .NUCUBA-home-chat-online-card,html.NUCUBA-dark .NUCUBA-online-headbox,html.NUCUBA-dark .NUCUBA-online-card,html.NUCUBA-dark .NUCUBA-online-empty,html.NUCUBA-dark .NUCUBA-users-headbox,html.NUCUBA-dark .NUCUBA-users-card,html.NUCUBA-dark .NUCUBA-users-empty,body.NUCUBA-dark .NUCUBA-card,body.NUCUBA-dark .NUCUBA-box,body.NUCUBA-dark .NUCUBA-panel,body.NUCUBA-dark .NUCUBA-post-card,body.NUCUBA-dark .NUCUBA-post-composer,body.NUCUBA-dark .NUCUBA-post-empty,body.NUCUBA-dark .NUCUBA-pymk-box,body.NUCUBA-dark .NUCUBA-pymk-card,body.NUCUBA-dark .NUCUBA-pymk-empty,body.NUCUBA-dark .NUCUBA-home-chat-card,body.NUCUBA-dark .NUCUBA-home-chat-online-card,body.NUCUBA-dark .NUCUBA-online-headbox,body.NUCUBA-dark .NUCUBA-online-card,body.NUCUBA-dark .NUCUBA-online-empty,body.NUCUBA-dark .NUCUBA-users-headbox,body.NUCUBA-dark .NUCUBA-users-card,body.NUCUBA-dark .NUCUBA-users-empty{background:#242526!important;background-color:#242526!important;border-color:#3a3b3c!important;color:#e4e6eb!important;box-shadow:none!important;}
html[data-site-theme="dark"] .NUCUBA-post-preview-wrap,html[data-site-theme="dark"] .NUCUBA-post-preview-plain,html[data-site-theme="dark"] .NUCUBA-post-modal-dialog,html[data-site-theme="dark"] .NUCUBA-share-sheet-dialog,html[data-site-theme="dark"] .NUCUBA-post-modal-head,html[data-site-theme="dark"] .NUCUBA-share-sheet-head,html.NUCUBA-dark .NUCUBA-post-preview-wrap,html.NUCUBA-dark .NUCUBA-post-preview-plain,html.NUCUBA-dark .NUCUBA-post-modal-dialog,html.NUCUBA-dark .NUCUBA-share-sheet-dialog,html.NUCUBA-dark .NUCUBA-post-modal-head,html.NUCUBA-dark .NUCUBA-share-sheet-head,body.NUCUBA-dark .NUCUBA-post-preview-wrap,body.NUCUBA-dark .NUCUBA-post-preview-plain,body.NUCUBA-dark .NUCUBA-post-modal-dialog,body.NUCUBA-dark .NUCUBA-share-sheet-dialog,body.NUCUBA-dark .NUCUBA-post-modal-head,body.NUCUBA-dark .NUCUBA-share-sheet-head{background:#242526!important;background-color:#242526!important;border-color:#3a3b3c!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] input,html[data-site-theme="dark"] textarea,html[data-site-theme="dark"] select,html[data-site-theme="dark"] .NUCUBA-post-fake-input,html[data-site-theme="dark"] .NUCUBA-post-comment-input-wrap,html[data-site-theme="dark"] .NUCUBA-search-input,html[data-site-theme="dark"] .NUCUBA-online-searchinput,html[data-site-theme="dark"] .NUCUBA-users-searchinput,html.NUCUBA-dark input,html.NUCUBA-dark textarea,html.NUCUBA-dark select,html.NUCUBA-dark .NUCUBA-post-fake-input,html.NUCUBA-dark .NUCUBA-post-comment-input-wrap,html.NUCUBA-dark .NUCUBA-search-input,html.NUCUBA-dark .NUCUBA-online-searchinput,html.NUCUBA-dark .NUCUBA-users-searchinput,body.NUCUBA-dark input,body.NUCUBA-dark textarea,body.NUCUBA-dark select,body.NUCUBA-dark .NUCUBA-post-fake-input,body.NUCUBA-dark .NUCUBA-post-comment-input-wrap,body.NUCUBA-dark .NUCUBA-search-input,body.NUCUBA-dark .NUCUBA-online-searchinput,body.NUCUBA-dark .NUCUBA-users-searchinput{background:#3a3b3c!important;background-color:#3a3b3c!important;border-color:#4b4c4f!important;color:#e4e6eb!important;box-shadow:none!important;}
html[data-site-theme="dark"] input::placeholder,html[data-site-theme="dark"] textarea::placeholder,html.NUCUBA-dark input::placeholder,html.NUCUBA-dark textarea::placeholder,body.NUCUBA-dark input::placeholder,body.NUCUBA-dark textarea::placeholder{color:#b0b3b8!important;opacity:1!important;}
html[data-site-theme="dark"] .NUCUBA-post-modal-title,html[data-site-theme="dark"] .NUCUBA-share-sheet-title,html[data-site-theme="dark"] .NUCUBA-home-chat-title,html[data-site-theme="dark"] .NUCUBA-home-chat-author,html[data-site-theme="dark"] .NUCUBA-post-textarea,html[data-site-theme="dark"] .NUCUBA-pymk-title,html[data-site-theme="dark"] .NUCUBA-pymk-name,html[data-site-theme="dark"] .NUCUBA-online-titletext,html[data-site-theme="dark"] .NUCUBA-online-name,html[data-site-theme="dark"] .NUCUBA-users-titletext,html[data-site-theme="dark"] .NUCUBA-users-name,html.NUCUBA-dark .NUCUBA-post-modal-title,html.NUCUBA-dark .NUCUBA-share-sheet-title,html.NUCUBA-dark .NUCUBA-home-chat-title,html.NUCUBA-dark .NUCUBA-home-chat-author,html.NUCUBA-dark .NUCUBA-post-textarea,html.NUCUBA-dark .NUCUBA-pymk-title,html.NUCUBA-dark .NUCUBA-pymk-name,html.NUCUBA-dark .NUCUBA-online-titletext,html.NUCUBA-dark .NUCUBA-online-name,html.NUCUBA-dark .NUCUBA-users-titletext,html.NUCUBA-dark .NUCUBA-users-name,body.NUCUBA-dark .NUCUBA-post-modal-title,body.NUCUBA-dark .NUCUBA-share-sheet-title,body.NUCUBA-dark .NUCUBA-home-chat-title,body.NUCUBA-dark .NUCUBA-home-chat-author,body.NUCUBA-dark .NUCUBA-post-textarea,body.NUCUBA-dark .NUCUBA-pymk-title,body.NUCUBA-dark .NUCUBA-pymk-name,body.NUCUBA-dark .NUCUBA-online-titletext,body.NUCUBA-dark .NUCUBA-online-name,body.NUCUBA-dark .NUCUBA-users-titletext,body.NUCUBA-dark .NUCUBA-users-name{color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-home-chat-sub,html[data-site-theme="dark"] .NUCUBA-home-chat-empty,html[data-site-theme="dark"] .NUCUBA-pymk-meta,html[data-site-theme="dark"] .NUCUBA-pymk-subtitle,html[data-site-theme="dark"] .NUCUBA-online-line,html[data-site-theme="dark"] .NUCUBA-online-empty,html[data-site-theme="dark"] .NUCUBA-users-meta,html[data-site-theme="dark"] .NUCUBA-users-line,html.NUCUBA-dark .NUCUBA-home-chat-sub,html.NUCUBA-dark .NUCUBA-home-chat-empty,html.NUCUBA-dark .NUCUBA-pymk-meta,html.NUCUBA-dark .NUCUBA-pymk-subtitle,html.NUCUBA-dark .NUCUBA-online-line,html.NUCUBA-dark .NUCUBA-online-empty,html.NUCUBA-dark .NUCUBA-users-meta,html.NUCUBA-dark .NUCUBA-users-line,body.NUCUBA-dark .NUCUBA-home-chat-sub,body.NUCUBA-dark .NUCUBA-home-chat-empty,body.NUCUBA-dark .NUCUBA-pymk-meta,body.NUCUBA-dark .NUCUBA-pymk-subtitle,body.NUCUBA-dark .NUCUBA-online-line,body.NUCUBA-dark .NUCUBA-online-empty,body.NUCUBA-dark .NUCUBA-users-meta,body.NUCUBA-dark .NUCUBA-users-line{color:#b0b3b8!important;}
html[data-site-theme="dark"] .NUCUBA-online-line strong,html[data-site-theme="dark"] .NUCUBA-users-line strong,html.NUCUBA-dark .NUCUBA-online-line strong,html.NUCUBA-dark .NUCUBA-users-line strong,body.NUCUBA-dark .NUCUBA-online-line strong,body.NUCUBA-dark .NUCUBA-users-line strong{color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-online-filter,html[data-site-theme="dark"] .NUCUBA-users-nav-link,html[data-site-theme="dark"] .NUCUBA-post-tool-btn,html[data-site-theme="dark"] .NUCUBA-share-privacy,html.NUCUBA-dark .NUCUBA-online-filter,html.NUCUBA-dark .NUCUBA-users-nav-link,html.NUCUBA-dark .NUCUBA-post-tool-btn,html.NUCUBA-dark .NUCUBA-share-privacy,body.NUCUBA-dark .NUCUBA-online-filter,body.NUCUBA-dark .NUCUBA-users-nav-link,body.NUCUBA-dark .NUCUBA-post-tool-btn,body.NUCUBA-dark .NUCUBA-share-privacy{background:#3a3b3c!important;border-color:#4b4c4f!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-online-filter-active,html[data-site-theme="dark"] .NUCUBA-users-nav-link-active,html.NUCUBA-dark .NUCUBA-online-filter-active,html.NUCUBA-dark .NUCUBA-users-nav-link-active,body.NUCUBA-dark .NUCUBA-online-filter-active,body.NUCUBA-dark .NUCUBA-users-nav-link-active{background:#2d88ff!important;border-color:#2d88ff!important;color:#fff!important;}
html[data-site-theme="dark"] .NUCUBA-chat-shell,html[data-site-theme="dark"] .NUCUBA-chat-header,html[data-site-theme="dark"] .NUCUBA-chat-composer,html[data-site-theme="dark"] .NUCUBA-chat-messages,html.NUCUBA-dark .NUCUBA-chat-shell,html.NUCUBA-dark .NUCUBA-chat-header,html.NUCUBA-dark .NUCUBA-chat-composer,html.NUCUBA-dark .NUCUBA-chat-messages,body.NUCUBA-dark .NUCUBA-chat-shell,body.NUCUBA-dark .NUCUBA-chat-header,body.NUCUBA-dark .NUCUBA-chat-composer,body.NUCUBA-dark .NUCUBA-chat-messages{background:#242526!important;background-color:#242526!important;border-color:#3a3b3c!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-message-bubble,html[data-site-theme="dark"] .NUCUBA-chat-topic-box,html[data-site-theme="dark"] .NUCUBA-chat-input,html[data-site-theme="dark"] .NUCUBA-chat-textarea,html.NUCUBA-dark .NUCUBA-message-bubble,html.NUCUBA-dark .NUCUBA-chat-topic-box,html.NUCUBA-dark .NUCUBA-chat-input,html.NUCUBA-dark .NUCUBA-chat-textarea,body.NUCUBA-dark .NUCUBA-message-bubble,body.NUCUBA-dark .NUCUBA-chat-topic-box,body.NUCUBA-dark .NUCUBA-chat-input,body.NUCUBA-dark .NUCUBA-chat-textarea{background:#3a3b3c!important;background-color:#3a3b3c!important;border-color:#4b4c4f!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-post-modal-backdrop,html.NUCUBA-dark .NUCUBA-post-modal-backdrop,body.NUCUBA-dark .NUCUBA-post-modal-backdrop{background:rgba(0,0,0,.62)!important;}
html[data-site-theme="dark"] .NUCUBA-chat-media,html[data-site-theme="dark"] .NUCUBA-message-bubble-fileonly,html[data-site-theme="dark"] .NUCUBA-chat-modal,html[data-site-theme="dark"] .NUCUBA-chat-modal-box,html[data-site-theme="dark"] .NUCUBA-reaction-picker,html.NUCUBA-dark .NUCUBA-chat-media,html.NUCUBA-dark .NUCUBA-message-bubble-fileonly,html.NUCUBA-dark .NUCUBA-chat-modal,html.NUCUBA-dark .NUCUBA-chat-modal-box,html.NUCUBA-dark .NUCUBA-reaction-picker,body.NUCUBA-dark .NUCUBA-chat-media,body.NUCUBA-dark .NUCUBA-message-bubble-fileonly,body.NUCUBA-dark .NUCUBA-chat-modal,body.NUCUBA-dark .NUCUBA-chat-modal-box,body.NUCUBA-dark .NUCUBA-reaction-picker{background:#242526!important;background-color:#242526!important;border-color:#3a3b3c!important;color:#e4e6eb!important;}
html[data-site-theme="dark"] .NUCUBA-chat-media img.NUCUBA-lightbox-img,html.NUCUBA-dark .NUCUBA-chat-media img.NUCUBA-lightbox-img,body.NUCUBA-dark .NUCUBA-chat-media img.NUCUBA-lightbox-img{background:#242526!important;background-color:#242526!important;}


/* NUCUBA FIX 2026-06-06: online.php instant dark switch + mobile topbar icon/search colors */
html[data-site-theme="dark"], body[data-site-theme="dark"], html.NUCUBA-dark, body.NUCUBA-dark{
  --NUCUBA-online-surface:#1f232b;
  --NUCUBA-online-surface-2:#242830;
  --NUCUBA-online-field:#303134;
  --NUCUBA-online-field-hover:#3a3b3c;
  --NUCUBA-online-border:#4a4b4d;
  --NUCUBA-online-text:#ffffff;
  --NUCUBA-online-muted:#d6d9df;
}
html[data-site-theme="dark"] .NUCUBA-online-page,
html.NUCUBA-dark .NUCUBA-online-page,
body.NUCUBA-dark .NUCUBA-online-page,
body[data-site-theme="dark"] .NUCUBA-online-page{
  background:#18191a!important;
  color:var(--NUCUBA-online-text)!important;
}
html[data-site-theme="dark"] .NUCUBA-online-page *,
html.NUCUBA-dark .NUCUBA-online-page *,
body.NUCUBA-dark .NUCUBA-online-page *,
body[data-site-theme="dark"] .NUCUBA-online-page *{
  transition:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-headbox,
html.NUCUBA-dark .NUCUBA-online-headbox,
body.NUCUBA-dark .NUCUBA-online-headbox,
body[data-site-theme="dark"] .NUCUBA-online-headbox{
  background:var(--NUCUBA-online-surface)!important;
  border-color:#343a45!important;
  color:var(--NUCUBA-online-text)!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-titleicon,
html.NUCUBA-dark .NUCUBA-online-titleicon,
body.NUCUBA-dark .NUCUBA-online-titleicon,
body[data-site-theme="dark"] .NUCUBA-online-titleicon{
  background:#3a3b3c!important;
  border:1px solid #4b4c4f!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-titleicon svg,
html.NUCUBA-dark .NUCUBA-online-titleicon svg,
body.NUCUBA-dark .NUCUBA-online-titleicon svg,
body[data-site-theme="dark"] .NUCUBA-online-titleicon svg{
  color:#fff!important;fill:#fff!important;stroke:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-titletext,
html.NUCUBA-dark .NUCUBA-online-titletext,
body.NUCUBA-dark .NUCUBA-online-titletext,
body[data-site-theme="dark"] .NUCUBA-online-titletext{
  color:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-filter,
html.NUCUBA-dark .NUCUBA-online-filter,
body.NUCUBA-dark .NUCUBA-online-filter,
body[data-site-theme="dark"] .NUCUBA-online-filter{
  background:var(--NUCUBA-online-field)!important;
  border-color:var(--NUCUBA-online-border)!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-filter:hover,
html.NUCUBA-dark .NUCUBA-online-filter:hover,
body.NUCUBA-dark .NUCUBA-online-filter:hover,
body[data-site-theme="dark"] .NUCUBA-online-filter:hover{
  background:var(--NUCUBA-online-field-hover)!important;
  border-color:#56585c!important;
  color:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-filter-active,
html.NUCUBA-dark .NUCUBA-online-filter-active,
body.NUCUBA-dark .NUCUBA-online-filter-active,
body[data-site-theme="dark"] .NUCUBA-online-filter-active{
  background:#424448!important;
  border-color:#66686c!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)!important;
}
html[data-site-theme="dark"] .NUCUBA-online-searchinput,
html.NUCUBA-dark .NUCUBA-online-searchinput,
body.NUCUBA-dark .NUCUBA-online-searchinput,
body[data-site-theme="dark"] .NUCUBA-online-searchinput{
  background:#303134!important;
  border-color:#4a4b4d!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-searchinput::placeholder,
html.NUCUBA-dark .NUCUBA-online-searchinput::placeholder,
body.NUCUBA-dark .NUCUBA-online-searchinput::placeholder,
body[data-site-theme="dark"] .NUCUBA-online-searchinput::placeholder{
  color:#d6d9df!important;opacity:1!important;
}
html[data-site-theme="dark"] .NUCUBA-online-searchbutton,
html.NUCUBA-dark .NUCUBA-online-searchbutton,
body.NUCUBA-dark .NUCUBA-online-searchbutton,
body[data-site-theme="dark"] .NUCUBA-online-searchbutton{
  background:#3a3b3c!important;
  border:1px solid #4b4c4f!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-searchbutton:hover,
html.NUCUBA-dark .NUCUBA-online-searchbutton:hover,
body.NUCUBA-dark .NUCUBA-online-searchbutton:hover,
body[data-site-theme="dark"] .NUCUBA-online-searchbutton:hover{
  background:#454649!important;
  transform:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-searchbutton svg,
html.NUCUBA-dark .NUCUBA-online-searchbutton svg,
body.NUCUBA-dark .NUCUBA-online-searchbutton svg,
body[data-site-theme="dark"] .NUCUBA-online-searchbutton svg{
  color:#fff!important;fill:#fff!important;stroke:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-nearbytoggle,
html.NUCUBA-dark .NUCUBA-online-nearbytoggle,
body.NUCUBA-dark .NUCUBA-online-nearbytoggle,
body[data-site-theme="dark"] .NUCUBA-online-nearbytoggle{
  background:#242830!important;
  border-color:#3c424d!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-nearbytoggle:hover,
html.NUCUBA-dark .NUCUBA-online-nearbytoggle:hover,
body.NUCUBA-dark .NUCUBA-online-nearbytoggle:hover,
body[data-site-theme="dark"] .NUCUBA-online-nearbytoggle:hover,
html[data-site-theme="dark"] .NUCUBA-online-nearbytoggle-active,
html.NUCUBA-dark .NUCUBA-online-nearbytoggle-active,
body.NUCUBA-dark .NUCUBA-online-nearbytoggle-active,
body[data-site-theme="dark"] .NUCUBA-online-nearbytoggle-active{
  background:#343a45!important;
  border-color:#565c66!important;
  color:#fff!important;
  transform:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-nearbytoggle svg,
html.NUCUBA-dark .NUCUBA-online-nearbytoggle svg,
body.NUCUBA-dark .NUCUBA-online-nearbytoggle svg,
body[data-site-theme="dark"] .NUCUBA-online-nearbytoggle svg{
  color:#fff!important;fill:#fff!important;stroke:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-empty,
html.NUCUBA-dark .NUCUBA-online-empty,
body.NUCUBA-dark .NUCUBA-online-empty,
body[data-site-theme="dark"] .NUCUBA-online-empty{
  background:#1f232b!important;
  border-color:#353b46!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-emptyicon,
html.NUCUBA-dark .NUCUBA-online-emptyicon,
body.NUCUBA-dark .NUCUBA-online-emptyicon,
body[data-site-theme="dark"] .NUCUBA-online-emptyicon{
  background:#30343c!important;
  color:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-empty *,
html.NUCUBA-dark .NUCUBA-online-empty *,
body.NUCUBA-dark .NUCUBA-online-empty *,
body[data-site-theme="dark"] .NUCUBA-online-empty *{
  color:#fff!important;fill:#fff!important;stroke:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-card,
html.NUCUBA-dark .NUCUBA-online-card,
body.NUCUBA-dark .NUCUBA-online-card,
body[data-site-theme="dark"] .NUCUBA-online-card{
  background:#242526!important;border-color:#3a3b3c!important;color:#e4e6eb!important;box-shadow:none!important;
}
html[data-site-theme="dark"] .NUCUBA-online-name,
html.NUCUBA-dark .NUCUBA-online-name,
body.NUCUBA-dark .NUCUBA-online-name,
body[data-site-theme="dark"] .NUCUBA-online-name,
html[data-site-theme="dark"] .NUCUBA-online-line,
html.NUCUBA-dark .NUCUBA-online-line,
body.NUCUBA-dark .NUCUBA-online-line,
body[data-site-theme="dark"] .NUCUBA-online-line,
html[data-site-theme="dark"] .NUCUBA-online-line strong,
html.NUCUBA-dark .NUCUBA-online-line strong,
body.NUCUBA-dark .NUCUBA-online-line strong,
body[data-site-theme="dark"] .NUCUBA-online-line strong{
  color:#e4e6eb!important;
}
html[data-site-theme="dark"] .NUCUBA-online-lineicon,
html.NUCUBA-dark .NUCUBA-online-lineicon,
body.NUCUBA-dark .NUCUBA-online-lineicon,
body[data-site-theme="dark"] .NUCUBA-online-lineicon{
  color:#fff!important;
}
html[data-site-theme="dark"] .NUCUBA-online-lineicon svg,
html.NUCUBA-dark .NUCUBA-online-lineicon svg,
body.NUCUBA-dark .NUCUBA-online-lineicon svg,
body[data-site-theme="dark"] .NUCUBA-online-lineicon svg{
  fill:#fff!important;stroke:#fff!important;color:#fff!important;
}
@media (max-width:760px){
  html[data-site-theme="dark"] .NUCUBA-mobile-topbar,
  html.NUCUBA-dark .NUCUBA-mobile-topbar,
  body.NUCUBA-dark .NUCUBA-mobile-topbar,
  body[data-site-theme="dark"] .NUCUBA-mobile-topbar{
    background:#242526!important;border-color:#3a3b3c!important;color:#fff!important;
  }
  html[data-site-theme="dark"] .NUCUBA-mobile-topbar svg,
  html.NUCUBA-dark .NUCUBA-mobile-topbar svg,
  body.NUCUBA-dark .NUCUBA-mobile-topbar svg,
  body[data-site-theme="dark"] .NUCUBA-mobile-topbar svg,
  html[data-site-theme="dark"] .NUCUBA-mobile-quickbar svg,
  html.NUCUBA-dark .NUCUBA-mobile-quickbar svg,
  body.NUCUBA-dark .NUCUBA-mobile-quickbar svg,
  body[data-site-theme="dark"] .NUCUBA-mobile-quickbar svg{
    color:#fff!important;fill:#fff!important;stroke:#fff!important;opacity:1!important;
  }
  html[data-site-theme="dark"] .NUCUBA-mobile-search,
  html.NUCUBA-dark .NUCUBA-mobile-search,
  body.NUCUBA-dark .NUCUBA-mobile-search,
  body[data-site-theme="dark"] .NUCUBA-mobile-search{
    background:#303134!important;border:1px solid #4a4b4d!important;color:#fff!important;
  }
  html[data-site-theme="dark"] .NUCUBA-mobile-search input,
  html.NUCUBA-dark .NUCUBA-mobile-search input,
  body.NUCUBA-dark .NUCUBA-mobile-search input,
  body[data-site-theme="dark"] .NUCUBA-mobile-search input{
    color:#fff!important;background:transparent!important;
  }
  html[data-site-theme="dark"] .NUCUBA-mobile-search input::placeholder,
  html.NUCUBA-dark .NUCUBA-mobile-search input::placeholder,
  body.NUCUBA-dark .NUCUBA-mobile-search input::placeholder,
  body[data-site-theme="dark"] .NUCUBA-mobile-search input::placeholder{
    color:#d6d9df!important;opacity:1!important;
  }
  html[data-site-theme="dark"] .NUCUBA-mobile-menu-btn,
  html[data-site-theme="dark"] .NUCUBA-mobile-home-btn,
  html[data-site-theme="dark"] .NUCUBA-mobile-right .NUCUBA-circle-btn,
  html.NUCUBA-dark .NUCUBA-mobile-menu-btn,
  html.NUCUBA-dark .NUCUBA-mobile-home-btn,
  html.NUCUBA-dark .NUCUBA-mobile-right .NUCUBA-circle-btn,
  body.NUCUBA-dark .NUCUBA-mobile-menu-btn,
  body.NUCUBA-dark .NUCUBA-mobile-home-btn,
  body.NUCUBA-dark .NUCUBA-mobile-right .NUCUBA-circle-btn,
  body[data-site-theme="dark"] .NUCUBA-mobile-menu-btn,
  body[data-site-theme="dark"] .NUCUBA-mobile-home-btn,
  body[data-site-theme="dark"] .NUCUBA-mobile-right .NUCUBA-circle-btn{
    background:#303134!important;border:1px solid #4a4b4d!important;color:#fff!important;
  }
}

/* ============================================================ */
/* sys/fnc/title.php - global navigation / messages CSS         */
/* ============================================================ */
@media (min-width:861px){
  .NUCUBA-desktop-messages-wrap{position:relative;display:flex;align-items:center}
  .NUCUBA-desktop-messages-dropdown{position:absolute;top:calc(100% + 12px);right:var(--NUCUBA-messages-dropdown-right,0px);width:min(320px,calc(100vw - 16px));max-width:min(320px,calc(100vw - 16px));background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:24px;box-shadow:0 24px 70px rgba(15,23,42,.18);overflow:hidden;z-index:1400;position:absolute}
  .NUCUBA-desktop-messages-head{padding:18px 18px 10px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px}
  .NUCUBA-desktop-messages-title{font-size:34px;line-height:1.05;font-weight:800;color:#111827;letter-spacing:-.03em}
  .NUCUBA-msg-settings-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:50%;background:#f1f5f9;cursor:pointer;color:#64748b;padding:0;flex:0 0 36px;transition:background .15s,color .15s}
  .NUCUBA-msg-settings-btn:hover{background:#e2e8f0;color:#1e293b}
  .NUCUBA-msg-settings-btn svg{width:18px;height:18px}
  .NUCUBA-msg-sp-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1499}
  .NUCUBA-msg-settings-panel{position:fixed;width:310px;background:#fff;border-radius:14px;box-shadow:0 8px 40px rgba(0,0,0,.28);z-index:1500;overflow:visible}
  .NUCUBA-msg-sp-arrow{position:absolute;top:var(--sp-arrow-top,16px);right:-10px;width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:10px solid #fff;filter:drop-shadow(3px 0 2px rgba(0,0,0,.10))}
  .NUCUBA-msg-sp-head{padding:14px 16px 10px}
  .NUCUBA-msg-sp-title{font-size:15px;font-weight:700;color:#0d0d0d;line-height:1.2;margin-bottom:2px}
  .NUCUBA-msg-sp-sub{font-size:12px;color:#65676b;font-weight:400;line-height:1.3}

  .NUCUBA-msg-sp-row{display:flex;align-items:center;gap:14px;padding:10px 16px;cursor:default;box-sizing:border-box;min-height:46px}
  .NUCUBA-msg-sp-row+.NUCUBA-msg-sp-row{border-top:1px solid #f1f5f9}
  .NUCUBA-msg-sp-divider+.NUCUBA-msg-sp-row{border-top:none}
  .NUCUBA-msg-sp-row-link{cursor:pointer}
  .NUCUBA-msg-sp-row-link:hover{background:#f7f8fa;border-radius:0}
  .NUCUBA-msg-sp-icon{width:32px;height:32px;min-width:32px;display:flex;align-items:center;justify-content:center;color:#444;background:none}
  .NUCUBA-msg-sp-icon svg{width:20px;height:20px;stroke-width:1.6}
  .NUCUBA-msg-sp-label{flex:1;font-size:14px;font-weight:400;color:#111;line-height:1.35}
  .NUCUBA-msg-sp-label strong{font-weight:700;color:#050505}
  .NUCUBA-msg-sp-desc{display:block;font-size:12px;color:#65676b;margin-top:2px;font-weight:400}
  .NUCUBA-msg-sp-divider{height:1px;background:#ebebeb;margin:6px 0}
  .NUCUBA-msg-sp-arrow-icon{width:16px;height:16px;flex:0 0 16px;color:#65676b}
  .NUCUBA-msg-toggle{position:relative;display:inline-block;width:50px;height:26px;flex:0 0 50px}
  .NUCUBA-msg-toggle input{opacity:0;width:0;height:0;position:absolute}
  .NUCUBA-msg-toggle-track{position:absolute;inset:0;border-radius:999px;background:#bcc0c4;transition:.2s}
  .NUCUBA-msg-toggle input:checked+.NUCUBA-msg-toggle-track{background:#0866ff}
  .NUCUBA-msg-toggle-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.2s}
  .NUCUBA-msg-toggle input:checked+.NUCUBA-msg-toggle-track .NUCUBA-msg-toggle-thumb{transform:translateX(24px)}
  .NUCUBA-desktop-messages-search{display:flex;align-items:center;gap:10px;margin:0 16px 12px;padding:0 14px;height:46px;border-radius:999px;background:#eef2f7;color:#6b7280}
  .NUCUBA-desktop-messages-search svg{width:18px;height:18px;flex:0 0 18px}
  .NUCUBA-desktop-messages-search input{width:100%;border:0;background:transparent;outline:none;font-size:15px;color:#111827}
  .NUCUBA-desktop-messages-body{max-height:min(70vh,560px);overflow:auto;padding:0 0 8px;background:#fff;overscroll-behavior:contain;overflow-x:hidden}
  .NUCUBA-desktop-messages-body::-webkit-scrollbar{width:8px}
  .NUCUBA-desktop-messages-body::-webkit-scrollbar-thumb{background:rgba(148,163,184,.55);border-radius:999px}
  .NUCUBA-desktop-messages-body .NUCUBA-index-page{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;min-height:auto!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-list{padding:0!important;background:#fff!important;border:none!important;border-radius:0!important;overflow:hidden!important;box-shadow:none!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-empty{display:flex!important;align-items:center!important;justify-content:center!important;min-height:220px!important;padding:32px 18px!important;text-align:center!important;font-size:16px!important;font-weight:600!important;color:#64748b!important;background:#fff!important;border:0!important;border-radius:0!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;align-items:center!important;column-gap:12px!important;row-gap:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;background:#fff!important;border-radius:0!important;padding:12px 16px!important;margin:0!important;text-decoration:none!important;color:#1c1e21!important;position:relative!important;border:none!important;border-top:1px solid #edf2f7!important;box-shadow:none!important;overflow:hidden!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card:first-child{border-top:none!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card:hover{background:#f3f7fb!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card.is-unread{background:#e8f0fe!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card.is-unread .NUCUBA-index-name{font-weight:800!important;color:#0d1b2a!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card.is-unread .NUCUBA-index-preview-text{font-weight:700!important;color:#1a2a3a!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card.is-pinned{background:linear-gradient(0deg,rgba(24,119,242,.03),rgba(24,119,242,.03)),#fff!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-avatar{width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;border-radius:50%!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#e8eef7,#d8e3f2)!important;box-shadow:inset 0 0 0 1px rgba(148,163,184,.18)!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-avatar img,.NUCUBA-desktop-messages-body .NUCUBA-index-avatar .avatar,.NUCUBA-desktop-messages-body .NUCUBA-index-avatar .NUCUBA-avatar-fallback{width:56px!important;height:56px!important;border-radius:50%!important;object-fit:cover!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-avatar .NUCUBA-avatar-fallback{display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#dbe7f7,#b7cbe9)!important;color:#36537c!important;font-size:22px!important;font-weight:800!important;text-transform:uppercase!important;line-height:1!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-main{min-width:0!important;width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important;gap:6px!important;overflow:hidden!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;min-width:0!important;width:100%!important;max-width:100%!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-top-left{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;flex:1 1 auto!important;overflow:hidden!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-name{font-size:15px!important;font-weight:700!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#1f2937!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-time{font-size:12px!important;color:#7b8794!important;white-space:nowrap!important;line-height:1.2!important;flex:0 0 auto!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important;width:100%!important;max-width:100%!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-sub{font-size:14px!important;color:#475569!important;min-width:0!important;flex:1 1 auto!important;display:flex!important;align-items:center!important;gap:6px!important;line-height:1.3!important;overflow:hidden!important;max-width:100%!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-arrow{color:#22a35a!important;font-size:16px!important;line-height:1!important;flex:0 0 auto!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-preview-text{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-side{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-pin{font-size:13px!important;line-height:1!important;opacity:.92!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-badge{min-width:24px!important;height:24px!important;padding:0 7px!important;border-radius:999px!important;background:#8ea3b7!important;color:#fff!important;font-size:12px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card.is-unread .NUCUBA-index-badge{background:#1877f2!important}
  /* dots in dropdown */
  .NUCUBA-desktop-messages-body .NUCUBA-index-dots{width:32px!important;height:32px!important;border-radius:50%!important;background:rgba(255,255,255,.95)!important;box-shadow:0 1px 5px rgba(0,0,0,.12)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:none!important;cursor:pointer!important;opacity:0!important;transition:opacity .15s,background .15s!important;color:#44506b!important;padding:0!important;flex:0 0 32px!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-card:hover .NUCUBA-index-dots{opacity:1!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-dots:hover{background:#e8f0fe!important;color:#1877f2!important}
  .NUCUBA-desktop-messages-body .NUCUBA-index-dots svg{width:18px!important;height:18px!important;pointer-events:none}
  /* dropdown context menu */
  #NUCUBADropdownCtxMenu{position:fixed;background:#fff;border-radius:14px;box-shadow:0 8px 40px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.08);z-index:1600;min-width:220px;padding:8px 0;overflow:hidden}
  .NUCUBA-dctx-item{display:flex;align-items:center;gap:14px;padding:10px 16px;cursor:pointer;font-size:14px;font-weight:400;color:#111;transition:background .12s;background:none;border:none;width:100%;text-align:left;box-sizing:border-box}
  .NUCUBA-dctx-item+.NUCUBA-dctx-item{border-top:1px solid #f1f5f9}
  .NUCUBA-dctx-divider+.NUCUBA-dctx-item{border-top:none}
  .NUCUBA-dctx-item:hover{background:#f7f8fa}
  .NUCUBA-dctx-item svg{width:20px;height:20px;flex:0 0 20px;color:#444}
  .NUCUBA-dctx-divider{height:1px;background:#ebebeb;margin:6px 0}
  .NUCUBA-dctx-danger{color:#d92d20!important}
  .NUCUBA-dctx-danger svg{color:#d92d20!important}
  .NUCUBA-desktop-messages-foot{padding:10px 16px 16px;background:#fff;text-align:center}
  .NUCUBA-desktop-messages-foot a{color:#1877f2;text-decoration:none;font-weight:700;font-size:15px}
  .NUCUBA-desktop-messages-loading,.NUCUBA-desktop-messages-empty{padding:26px 18px;text-align:center;font-size:15px;font-weight:600;color:#64748b}
  /* select overlay */
  .NUCUBA-msg-select-overlay{position:absolute;inset:0;background:#fff;z-index:10;display:none;flex-direction:column;border-radius:24px;overflow:hidden}
  .NUCUBA-msg-select-overlay.active{display:flex}
  .NUCUBA-msg-select-topbar{display:flex;align-items:center;gap:8px;padding:14px 14px 10px;border-bottom:1px solid #edf2f7;flex:0 0 auto}
  .NUCUBA-msg-select-all-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;font-weight:600;color:#1f2937;user-select:none}
  .NUCUBA-msg-round-check{width:22px;height:22px;min-width:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid #cbd5e1;background:#fff;cursor:pointer;transition:border-color .15s}
  .NUCUBA-msg-round-check svg{width:22px;height:22px;display:none}
  .NUCUBA-msg-round-check.checked{border-color:#1877f2;background:#fff}
  .NUCUBA-msg-round-check.checked svg{display:block}
  .NUCUBA-msg-delete-btn{margin-left:auto;display:inline-flex;align-items:center;gap:5px;padding:7px 13px;border:none;border-radius:999px;background:#fee2e2;color:#dc2626;font-size:13px;font-weight:700;cursor:pointer;transition:background .15s}
  .NUCUBA-msg-delete-btn:not(:disabled):hover{background:#fecaca}
  .NUCUBA-msg-delete-btn:disabled{opacity:.4;cursor:default}
  .NUCUBA-msg-delete-btn svg{width:14px;height:14px}
  .NUCUBA-msg-cancel-btn{padding:7px 11px;border:none;border-radius:999px;background:#f1f5f9;color:#475569;font-size:13px;font-weight:600;cursor:pointer}
  .NUCUBA-msg-cancel-btn:hover{background:#e2e8f0}
  .NUCUBA-msg-select-body{flex:1;overflow-y:auto;overflow-x:hidden}
  .NUCUBA-msg-select-body::-webkit-scrollbar{width:6px}
  .NUCUBA-msg-select-body::-webkit-scrollbar-thumb{background:rgba(148,163,184,.5);border-radius:999px}
  /* select item row */
  .NUCUBA-msg-sel-item{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid #f1f5f9;cursor:pointer;transition:background .12s}
  .NUCUBA-msg-sel-item:first-child{border-top:none}
  .NUCUBA-msg-sel-item:hover{background:#f8fafc}
  .NUCUBA-msg-sel-item.selected{background:#eff6ff}
  .NUCUBA-msg-sel-check{width:22px;height:22px;min-width:22px;border-radius:50%;border:2px solid #cbd5e1;background:#fff;display:flex;align-items:center;justify-content:center;transition:border-color .15s,background .15s;flex:0 0 22px}
  .NUCUBA-msg-sel-item.selected .NUCUBA-msg-sel-check{border-color:#1877f2;background:#1877f2}
  .NUCUBA-msg-sel-check-tick{display:none}
  .NUCUBA-msg-sel-item.selected .NUCUBA-msg-sel-check-tick{display:block}
  .NUCUBA-msg-sel-avatar{width:44px;height:44px;min-width:44px;border-radius:50%;background:linear-gradient(135deg,#e8eef7,#d8e3f2);overflow:hidden;display:flex;align-items:center;justify-content:center}
  .NUCUBA-msg-sel-avatar img{width:44px;height:44px;border-radius:50%;object-fit:cover;display:block}
  .NUCUBA-msg-sel-avatar-fallback{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#dbe7f7,#b7cbe9);color:#36537c;font-size:18px;font-weight:800;text-transform:uppercase;display:flex;align-items:center;justify-content:center}
  .NUCUBA-msg-sel-info{flex:1;min-width:0}
  .NUCUBA-msg-sel-name{font-size:14px;font-weight:700;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .NUCUBA-msg-sel-preview{font-size:12px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
  .NUCUBA-desktop-chat-tray{position:fixed;right:14px;bottom:0;display:flex;flex-direction:row-reverse;align-items:flex-end;gap:14px;z-index:1250;pointer-events:none;max-width:calc(100vw - 28px)}
  .NUCUBA-desktop-chat-popup{position:relative;right:auto;bottom:auto;width:min(352px,calc((100vw - 72px)/3));min-width:300px;height:min(560px,calc(100vh - 96px));background:transparent;border:none;border-radius:24px 24px 0 0;box-shadow:none;overflow:visible;z-index:1250;pointer-events:auto;flex:0 1 auto}
  .NUCUBA-desktop-chat-frame{position:relative;width:100%;height:100%;background:linear-gradient(180deg,#f8fbff 0%,#edf3fb 100%);border:1px solid rgba(148,163,184,.24);border-bottom:none;border-radius:24px 24px 0 0;box-shadow:0 28px 70px rgba(15,23,42,.22);overflow:hidden}
  .NUCUBA-desktop-chat-popup iframe{display:block;width:100%;height:100%;border:0;background:#eef2f7}
  .NUCUBA-desktop-chat-popup-close{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.86);color:#0f172a;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:5;backdrop-filter:blur(8px);box-shadow:0 8px 18px rgba(15,23,42,.12)}
  .NUCUBA-desktop-chat-popup-close:hover{background:#ffffff}
  .NUCUBA-desktop-chat-sidepanel{position:absolute;right:calc(100% + 14px);top:62px;width:304px;z-index:1260}
  .NUCUBA-desktop-chat-sidepanel-card{background:#fff;border-radius:20px;box-shadow:0 24px 80px rgba(15,23,42,.2);border:1px solid rgba(148,163,184,.18);overflow:hidden}
  .NUCUBA-desktop-chat-sidepanel-body{padding:8px}
  .NUCUBA-desktop-chat-sidepanel-item,.NUCUBA-desktop-chat-sidepanel-link{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;background:#fff;color:#111827;text-align:left;text-decoration:none;border-radius:14px;font-size:14px;font-weight:600;cursor:pointer}
  .NUCUBA-desktop-chat-sidepanel-item:hover,.NUCUBA-desktop-chat-sidepanel-link:hover{background:#f3f6fb}
  .NUCUBA-desktop-chat-sidepanel-item svg,.NUCUBA-desktop-chat-sidepanel-link svg{width:20px;height:20px;flex:0 0 20px;color:#1877f2}
  .NUCUBA-desktop-chat-sidepanel-item.NUCUBA-danger,.NUCUBA-desktop-chat-sidepanel-item.NUCUBA-danger svg{color:#d92d20}
  .NUCUBA-desktop-chat-sidepanel-divider{height:1px;background:#e5e7eb;margin:6px 0}
  @media (max-width:1180px){.NUCUBA-desktop-chat-sidepanel{right:auto;left:0;top:60px;width:min(280px,calc(100vw - 48px))}}
}

.link-preview-stack{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.link-preview-card{
  display:block;
  width:100%;
  overflow:hidden;
  border:1px solid #e4e6eb;
  border-radius:16px;
  background:#fff;
  text-decoration:none;
  color:#1c1e21;
}

.link-preview-card:hover{
  background:#f8fafc;
}

.link-preview-media{
  width:100%;
  background:#f1f3f5;
  overflow:hidden;
}

.link-preview-media img{
  display:block;
  width:100%;
  height:auto;
  max-height:320px;
  object-fit:cover;
}

.link-preview-video-wrap{
  width:100%;
  background:#000;
}

.link-preview-video{
  display:block;
  width:100%;
  max-height:320px;
}

.link-preview-meta{
  display:block;
  padding:12px 14px;
}

.link-preview-meta strong{
  display:block;
  font-size:16px;
  line-height:1.35;
  font-weight:700;
  color:#111827;
  margin:0 0 6px 0;
  word-break:break-word;
}

.link-preview-meta span{
  display:block;
  font-size:14px;
  line-height:1.45;
  color:#4b5563;
  margin:0 0 8px 0;
  word-break:break-word;
}

.link-preview-meta em{
  display:block;
  font-style:normal;
  font-size:12px;
  line-height:1.3;
  color:#6b7280;
  text-transform:uppercase;
  word-break:break-word;
}

.NUCUBA-mobile-sidepanel-body{
  padding:6px 14px 12px;
  background:#f8fbff;
}
.NUCUBA-mobile-drawer-row{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 2px 13px 4px;
  min-height:68px;
  text-decoration:none;
  color:#111827;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  margin-bottom:0;
  transition:background .18s ease, transform .18s ease;
}
.NUCUBA-mobile-drawer-row::after{
  display:none;
}
.NUCUBA-mobile-drawer-row:last-child::after{display:none}
.NUCUBA-mobile-drawer-row:active{
  transform:scale(.995);
}
.NUCUBA-mobile-drawer-row:hover{
  background:rgba(255,255,255,.65);
}
.NUCUBA-mobile-drawer-icon{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#eff6ff 0%,#dbeafe 100%);
  color:#1d4ed8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(59,130,246,.10);
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.NUCUBA-mobile-drawer-icon svg{
  width:20px;
  height:20px;
  display:block;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.45));
}
.NUCUBA-mobile-drawer-row:hover .NUCUBA-mobile-drawer-icon{
  transform:translateY(-1px);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(1) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#eff6ff 0%,#dbeafe 100%);
  color:#2563eb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(37,99,235,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(2) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#eefcf4 0%,#dcfce7 100%);
  color:#16a34a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(22,163,74,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(3) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#fff7ed 0%,#ffedd5 100%);
  color:#ea580c;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(234,88,12,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(4) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#f5f3ff 0%,#ede9fe 100%);
  color:#7c3aed;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(124,58,237,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(5) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#fdf2f8 0%,#fce7f3 100%);
  color:#db2777;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(219,39,119,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(6) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#ecfeff 0%,#cffafe 100%);
  color:#0891b2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(8,145,178,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(7) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#fefce8 0%,#fef3c7 100%);
  color:#ca8a04;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(202,138,4,.14);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(8) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#f3f4f6 0%,#e5e7eb 100%);
  color:#4b5563;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(75,85,99,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(9) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#fff1f2 0%,#ffe4e6 100%);
  color:#e11d48;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(225,29,72,.12);
}
.NUCUBA-mobile-sidepanel-body .NUCUBA-mobile-drawer-row:nth-child(10) .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#ecfccb 0%,#d9f99d 100%);
  color:#65a30d;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92), 0 3px 10px rgba(101,163,13,.12);
}
.NUCUBA-mobile-drawer-text{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.NUCUBA-mobile-drawer-text strong{
  display:block;
  font-size:18px;
  line-height:1.18;
  font-weight:800;
  color:#111827;
}
.NUCUBA-mobile-drawer-text small{
  display:block;
  font-size:13px;
  line-height:1.32;
  color:#64748b;
}
.NUCUBA-mobile-drawer-arrow{
  display:none;
}
.NUCUBA-mobile-drawer-arrow svg{
  width:15px;
  height:15px;
  display:block;
}
.NUCUBA-mobile-drawer-row:hover .NUCUBA-mobile-drawer-arrow,
.NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-arrow{
  color:#2563eb;
  transform:translateX(2px);
}
.NUCUBA-mobile-drawer-row-active{
  background:rgba(239,246,255,.72);
}
.NUCUBA-mobile-drawer-row-active .NUCUBA-mobile-drawer-icon{
  background:linear-gradient(180deg,#3b82f6 0%,#2563eb 100%);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 4px 12px rgba(37,99,235,.18);
}
.NUCUBA-mobile-drawer-row-active::after{
  background:rgba(59,130,246,.18);
}

/* NUCUBA FIX 2026-06-06: force mobile left drawer to follow day/night theme */
html.NUCUBA-dark .NUCUBA-mobile-sidepanel,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-left,
html.NUCUBA-dark #NUCUBA-mobileLeftDrawer,
html.theme-dark .NUCUBA-mobile-sidepanel,
html.theme-dark .NUCUBA-mobile-sidepanel-left,
html.theme-dark #NUCUBA-mobileLeftDrawer,
body.theme-dark .NUCUBA-mobile-sidepanel,
body.theme-dark .NUCUBA-mobile-sidepanel-left,
body.theme-dark #NUCUBA-mobileLeftDrawer,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-left,
body[data-site-theme="dark"] #NUCUBA-mobileLeftDrawer{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
  color:#e4e6eb !important;
  box-shadow:18px 0 40px rgba(0,0,0,.42) !important;
}
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-body,
html.NUCUBA-dark #NUCUBA-mobileLeftDrawer .NUCUBA-mobile-sidepanel-body,
html.theme-dark .NUCUBA-mobile-sidepanel-body,
body.theme-dark .NUCUBA-mobile-sidepanel-body,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-body{
  background:#242526 !important;
  background-color:#242526 !important;
}
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-head,
html.theme-dark .NUCUBA-mobile-sidepanel-head,
body.theme-dark .NUCUBA-mobile-sidepanel-head,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-head{
  background:#242526 !important;
  background-color:#242526 !important;
  border-color:#3a3b3c !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-row,
html.theme-dark .NUCUBA-mobile-drawer-row,
body.theme-dark .NUCUBA-mobile-drawer-row,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-row{
  color:#e4e6eb !important;
  background:transparent !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-text strong,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-title,
html.theme-dark .NUCUBA-mobile-drawer-text strong,
html.theme-dark .NUCUBA-mobile-sidepanel-title,
body.theme-dark .NUCUBA-mobile-drawer-text strong,
body.theme-dark .NUCUBA-mobile-sidepanel-title,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-text strong,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-title{
  color:#e4e6eb !important;
  opacity:1 !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-text small,
html.theme-dark .NUCUBA-mobile-drawer-text small,
body.theme-dark .NUCUBA-mobile-drawer-text small,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-text small{
  color:#b0b3b8 !important;
  opacity:1 !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-icon,
html.NUCUBA-dark .NUCUBA-mobile-sidepanel-close,
html.theme-dark .NUCUBA-mobile-drawer-icon,
html.theme-dark .NUCUBA-mobile-sidepanel-close,
body.theme-dark .NUCUBA-mobile-drawer-icon,
body.theme-dark .NUCUBA-mobile-sidepanel-close,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-icon,
body[data-site-theme="dark"] .NUCUBA-mobile-sidepanel-close{
  background:#3a3b3c !important;
  background-image:none !important;
  color:#e4e6eb !important;
  box-shadow:none !important;
}
html.NUCUBA-dark .NUCUBA-mobile-drawer-row:hover,
html.NUCUBA-dark .NUCUBA-mobile-drawer-row-active,
html.theme-dark .NUCUBA-mobile-drawer-row:hover,
html.theme-dark .NUCUBA-mobile-drawer-row-active,
body.theme-dark .NUCUBA-mobile-drawer-row:hover,
body.theme-dark .NUCUBA-mobile-drawer-row-active,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-row:hover,
body[data-site-theme="dark"] .NUCUBA-mobile-drawer-row-active{
  background:#3a3b3c !important;
}
/* ============================================================ */
/* sys/inc/nucuba_people_you_may_know.php - PYMK widget CSS     */
/* ============================================================ */
.NUCUBA-PYMK-wrap{position:relative;background:#fff;border:1px solid #dfe5ef;border-radius:22px;padding:18px;overflow:visible}
.NUCUBA-PYMK-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.NUCUBA-PYMK-title{margin:0;font-size:18px;line-height:1.2;font-weight:800;color:#182230}
.NUCUBA-PYMK-slider{position:relative}
.NUCUBA-PYMK-nav{pointer-events:none;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);display:block;z-index:5}
.NUCUBA-PYMK-arrow{pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:none;border-radius:999px;background:rgba(214,223,236,.92);color:#516075;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:22px;line-height:1;box-shadow:0 8px 22px rgba(15,23,42,.12);transition:background .18s ease,color .18s ease,opacity .18s ease,transform .18s ease}
.NUCUBA-PYMK-arrow:hover{background:rgba(189,202,221,.96);color:#26364b}
.NUCUBA-PYMK-arrow[data-pymk-prev]{left:6px}
.NUCUBA-PYMK-arrow[data-pymk-next]{right:6px}
.NUCUBA-PYMK-arrow[disabled]{background:rgba(238,242,247,.95);color:#b4bfce;opacity:.9;cursor:default;box-shadow:none}
.NUCUBA-PYMK-viewport{overflow:hidden;padding:0 34px;touch-action:pan-y}
.NUCUBA-PYMK-track{display:flex;gap:14px;transition:transform .28s ease;will-change:transform;width:100%}
.NUCUBA-PYMK-wrap.NUCUBA-PYMK-static .NUCUBA-PYMK-viewport{padding:0}
.NUCUBA-PYMK-wrap.NUCUBA-PYMK-static .NUCUBA-PYMK-track{display:flex;gap:14px;transform:none!important;justify-content:center}
.NUCUBA-PYMK-wrap.NUCUBA-PYMK-static .NUCUBA-PYMK-card{flex:0 0 calc((100% - ((var(--NUCUBA-PYMK-static-columns,3) - 1) * 14px)) / var(--NUCUBA-PYMK-static-columns,3));width:calc((100% - ((var(--NUCUBA-PYMK-static-columns,3) - 1) * 14px)) / var(--NUCUBA-PYMK-static-columns,3));max-width:calc((100% - ((var(--NUCUBA-PYMK-static-columns,3) - 1) * 14px)) / var(--NUCUBA-PYMK-static-columns,3))}
.NUCUBA-PYMK-card{position:relative;flex:0 0 calc((100% - 28px)/3);width:calc((100% - 28px)/3);max-width:calc((100% - 28px)/3);min-width:0;background:#fff;border:1px solid #e6ebf2;border-radius:18px;overflow:visible;box-shadow:0 8px 24px rgba(15,23,42,.05);transition:opacity .28s ease,transform .28s ease}
.NUCUBA-PYMK-card.NUCUBA-PYMK-is-hiding{opacity:0;transform:scale(.96)}
.NUCUBA-PYMK-hide{position:absolute;top:10px;right:10px;z-index:8;width:32px;height:32px;border:none;border-radius:999px;background:rgba(17,24,39,.55);color:#fff;font-size:21px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.NUCUBA-PYMK-hide:hover{background:rgba(17,24,39,.72)}
.NUCUBA-PYMK-cover{display:block;aspect-ratio:1/1;background:#eef2f7;border-top-left-radius:18px;border-top-right-radius:18px;overflow:hidden}
.NUCUBA-PYMK-cover img{width:100%;height:100%;display:block;object-fit:cover}
.NUCUBA-PYMK-body{padding:12px 12px 14px;background:#fff;border-bottom-left-radius:18px;border-bottom-right-radius:18px}
.NUCUBA-PYMK-name{display:block;font-size:15px;font-weight:800;color:#1d2735;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.NUCUBA-PYMK-meta{margin-top:5px;font-size:12px;color:#7b8698;display:flex;align-items:center;gap:6px;min-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.NUCUBA-PYMK-dot{opacity:.7}
.NUCUBA-PYMK-note{margin-top:8px;font-size:12px;color:#536173;min-height:18px}
.NUCUBA-PYMK-actions{margin-top:12px}
.NUCUBA-PYMK-btn{width:100%;min-height:40px;border:none;border-radius:12px;padding:0 12px;font-size:14px;font-weight:800;cursor:pointer;transition:.18s ease}.NUCUBA-PYMK-btninner{display:inline-flex;align-items:center;justify-content:center;gap:8px}.NUCUBA-PYMK-btnicon{display:block;flex:0 0 auto}
.NUCUBA-PYMK-btn-primary{background:#1d6ff2;color:#fff}
.NUCUBA-PYMK-btn-primary:hover{background:#125fd9}
.NUCUBA-PYMK-btn-pending{background:#eef4ff;color:#2059b2}
.NUCUBA-PYMK-btn-success{background:#eaf8ef;color:#167347}
.NUCUBA-PYMK-btn-disabled{background:#e9edf3!important;color:#94a3b8!important;cursor:not-allowed!important;box-shadow:none!important;opacity:.9}
.NUCUBA-PYMK-empty{padding:28px 14px;text-align:center;color:#677489;font-size:14px}

.NUCUBA-PYMK-pending-overlay{position:fixed;inset:0;z-index:10020}
.NUCUBA-PYMK-pending-overlay[hidden]{display:none!important}
.NUCUBA-PYMK-pending-overlay-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.NUCUBA-PYMK-pending-panel{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 24px));max-height:min(78vh,760px);background:#fff;border-radius:26px;border:1px solid #e5e7eb;box-shadow:0 30px 80px rgba(15,23,42,.28);padding:18px;display:flex;flex-direction:column;overflow:hidden}
.NUCUBA-PYMK-pending-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.NUCUBA-PYMK-pending-panel-title{font-size:19px;line-height:1.2;font-weight:800;color:#172033}
.NUCUBA-PYMK-pending-panel-sub{margin-top:4px;font-size:12px;line-height:1.4;color:#6b7280}
.NUCUBA-PYMK-pending-panel-x{width:38px;height:38px;min-width:38px;border:none;border-radius:999px;background:#f1f5f9;color:#334155;font-size:24px;line-height:1;cursor:pointer}
.NUCUBA-PYMK-pending-list{display:flex;flex-direction:column;gap:8px;overflow:auto;padding-right:2px}
.NUCUBA-PYMK-pending-empty{padding:18px 10px;border-radius:16px;background:#f8fafc;text-align:center;color:#64748b;font-size:13px}
.NUCUBA-PYMK-pending-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:18px;background:#f8fafc}
.NUCUBA-PYMK-pending-avatar{width:50px;height:50px;min-width:50px;border-radius:999px;overflow:hidden;display:block;background:#e5e7eb}
.NUCUBA-PYMK-pending-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.NUCUBA-PYMK-pending-main{min-width:0;flex:1}
.NUCUBA-PYMK-pending-name{display:block;color:#172033;text-decoration:none;font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.NUCUBA-PYMK-pending-meta{margin-top:3px;color:#6b7280;font-size:12px;display:flex;gap:5px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.NUCUBA-PYMK-pending-cancel,.NUCUBA-PYMK-pending-cancel-all,.NUCUBA-PYMK-confirm-yes,.NUCUBA-PYMK-confirm-no{border:none;cursor:pointer}
.NUCUBA-PYMK-pending-cancel{min-width:98px;height:38px;padding:0 14px;border-radius:999px;background:#eef4ff;color:#2059b2;font-size:13px;font-weight:800}
.NUCUBA-PYMK-pending-footer{display:flex;justify-content:flex-end;margin-top:14px}
.NUCUBA-PYMK-pending-cancel-all{height:40px;padding:0 16px;border-radius:999px;background:#fff1f2;color:#be123c;font-size:13px;font-weight:800}
.NUCUBA-PYMK-confirm{margin-top:12px;padding:12px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa}
.NUCUBA-PYMK-confirm-title{font-size:14px;font-weight:800;color:#9a3412;margin:0 0 6px}
.NUCUBA-PYMK-confirm-sub{font-size:12px;line-height:1.4;color:#7c2d12;margin:0}
.NUCUBA-PYMK-confirm-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.NUCUBA-PYMK-confirm-no{height:36px;padding:0 14px;border-radius:999px;background:#fff;color:#7c2d12;font-size:13px;font-weight:700}
.NUCUBA-PYMK-confirm-yes{height:36px;padding:0 14px;border-radius:999px;background:#dc2626;color:#fff;font-size:13px;font-weight:800}




.NUCUBA-PYMK-head-actions{position:relative}
.NUCUBA-post-menu-wrap{position:relative}
.NUCUBA-post-menu-toggle{position:relative;z-index:12;width:38px;height:38px;min-width:38px;flex:0 0 38px;opacity:1!important;visibility:visible!important;border:none;background:#f5f7fb;border-radius:50%;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;color:#475569;box-shadow:inset 0 0 0 1px rgba(148,163,184,.12);transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
.NUCUBA-post-menu-toggle:hover{background:#eef2f7}
.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu-toggle{background:#e8f0fe;color:#1d4ed8;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.NUCUBA-post-menu-backdrop{position:fixed;inset:0;border:none;background:rgba(15,23,42,.18);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;z-index:9998}
.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu-backdrop{opacity:1;visibility:visible;pointer-events:auto}
.NUCUBA-post-menu{position:absolute;right:0;top:calc(100% + 10px);width:340px;max-width:min(340px,calc(100vw - 24px));background:#fff;border-radius:22px;box-shadow:0 24px 60px rgba(15,23,42,.22);padding:10px;display:block;opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:opacity .22s ease,transform .22s ease,visibility .22s ease;z-index:9999;border:1px solid rgba(226,232,240,.95)}
.NUCUBA-post-menu:before{content:"";position:absolute;top:-9px;right:14px;width:18px;height:18px;background:#fff;border-top:1px solid rgba(226,232,240,.95);border-left:1px solid rgba(226,232,240,.95);transform:rotate(45deg);border-top-left-radius:5px}
.NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.NUCUBA-post-menu-handle{display:none}
.NUCUBA-post-menu button{position:relative;width:100%;display:flex;align-items:flex-start;gap:12px;border:none;background:transparent;padding:12px;border-radius:18px;text-align:left;cursor:pointer;color:#172033}
.NUCUBA-post-menu button+button{margin-top:2px}
.NUCUBA-post-menu button:hover{background:#f8fafc}
.NUCUBA-post-menu-icon-wrap{width:38px;height:38px;min-width:38px;border-radius:999px;background:#eef2f7;color:#111827;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(148,163,184,.12);font-size:17px;font-weight:800}
.NUCUBA-post-menu-icon-wrap svg{display:block;width:18px;height:18px}
.NUCUBA-post-menu-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.NUCUBA-post-menu-copy strong{font-size:16px;line-height:1.2;font-weight:800;color:#172033}
.NUCUBA-post-menu-copy small{font-size:12px;line-height:1.35;color:#6b7280}
.NUCUBA-post-menu button[data-pymk-head-dismiss] .NUCUBA-post-menu-icon-wrap{background:#eef2ff;color:#334155}
.NUCUBA-post-menu button[data-pymk-head-toggle][data-state="pending"] .NUCUBA-post-menu-icon-wrap,
.NUCUBA-post-menu button[data-pymk-head-toggle][data-state="friends"] .NUCUBA-post-menu-icon-wrap{background:#eaf2ff;color:#1d4ed8}
.NUCUBA-post-menu-toggle svg{display:block;width:18px;height:18px;pointer-events:none}
.NUCUBA-PYMK-head-actions,.NUCUBA-post-menu-wrap{display:flex;align-items:center}
@media (max-width: 768px){
    .NUCUBA-post-menu-backdrop{background:rgba(15,23,42,.42);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:9998}
    .NUCUBA-post-menu{position:fixed !important;left:0;right:0;top:auto;bottom:0;width:auto;max-width:none;max-height:min(calc(100dvh - 72px),560px);overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;border-radius:28px 28px 0 0;padding:12px 20px calc(18px + env(safe-area-inset-bottom));transform:translateY(calc(100% + 32px));transform-origin:center bottom;box-shadow:0 -10px 40px rgba(15,23,42,.20),0 -1px 0 rgba(255,255,255,.76) inset;z-index:9999}
    .NUCUBA-post-menu:before{display:none}
    .NUCUBA-post-menu-wrap.is-open .NUCUBA-post-menu{transform:translateY(0)}
    .NUCUBA-post-menu-handle{display:block;width:56px;height:7px;border-radius:999px;background:#d4d9e1;margin:0 auto 14px}
    .NUCUBA-post-menu button{padding:14px 12px;border-radius:18px}
    .NUCUBA-post-menu button+button{margin-top:2px}
    .NUCUBA-post-menu-icon-wrap{width:44px;height:44px;min-width:44px}
    .NUCUBA-post-menu-copy strong{font-size:17px}
    .NUCUBA-post-menu-copy small{font-size:13px}
    .NUCUBA-PYMK-pending-panel{left:0;right:0;bottom:0;top:auto;transform:none;width:auto;max-height:min(82vh,760px);border-radius:26px 26px 0 0;padding:16px}
}

.NUCUBA-PYMK-mobile-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.46);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);z-index:9990;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
.NUCUBA-PYMK-mobile-backdrop.NUCUBA-PYMK-show{opacity:1;visibility:visible}
.NUCUBA-PYMK-mobile-sheet{position:fixed;left:8px;right:8px;bottom:0;z-index:9991;background:#fff;border-top-left-radius:24px;border-top-right-radius:24px;box-shadow:0 -18px 40px rgba(15,23,42,.24);padding:10px 10px calc(12px + env(safe-area-inset-bottom));opacity:0;transform:translateY(110%);transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .24s ease}
.NUCUBA-PYMK-mobile-sheet.NUCUBA-PYMK-show{opacity:1;transform:translateY(0)}
.NUCUBA-PYMK-mobile-sheet-handle{width:42px;height:5px;background:#d7dee8;border-radius:999px;margin:0 auto 10px}
.NUCUBA-PYMK-no-scroll{overflow:hidden}
@media (max-width: 900px){
    .NUCUBA-PYMK-viewport{padding:0 30px}
    .NUCUBA-PYMK-card{flex-basis:calc((100% - 14px)/2);width:calc((100% - 14px)/2);max-width:calc((100% - 14px)/2)}
    .NUCUBA-PYMK-wrap.NUCUBA-PYMK-static .NUCUBA-PYMK-card{flex-basis:calc((100% - ((var(--NUCUBA-PYMK-static-columns,2) - 1) * 14px)) / var(--NUCUBA-PYMK-static-columns,2));width:calc((100% - ((var(--NUCUBA-PYMK-static-columns,2) - 1) * 14px)) / var(--NUCUBA-PYMK-static-columns,2));max-width:calc((100% - ((var(--NUCUBA-PYMK-static-columns,2) - 1) * 14px)) / var(--NUCUBA-PYMK-static-columns,2))}
    .NUCUBA-PYMK-arrow{width:38px;height:38px;font-size:20px}
}
@media (max-width: 640px){
    .NUCUBA-PYMK-wrap{padding:14px;border-radius:18px}
    .NUCUBA-PYMK-head{margin-bottom:12px}
    .NUCUBA-PYMK-nav{display:block}
    .NUCUBA-PYMK-viewport{padding:0;overflow:hidden;display:block}
    .NUCUBA-PYMK-track{display:flex;gap:8px;transform:translateX(0);width:100%;max-width:none;margin:0}
    .NUCUBA-PYMK-wrap.NUCUBA-PYMK-static .NUCUBA-PYMK-track{gap:8px}
    .NUCUBA-PYMK-card,.NUCUBA-PYMK-wrap.NUCUBA-PYMK-static .NUCUBA-PYMK-card{flex:0 0 calc((100% - 16px)/3);width:calc((100% - 16px)/3);max-width:calc((100% - 16px)/3);border-radius:14px}
    .NUCUBA-PYMK-cover{border-top-left-radius:14px;border-top-right-radius:14px}
    .NUCUBA-PYMK-body{padding:8px 8px 10px;border-bottom-left-radius:14px;border-bottom-right-radius:14px}
    .NUCUBA-PYMK-name{font-size:12px;text-align:center}
    .NUCUBA-PYMK-meta,.NUCUBA-PYMK-note{display:none}
    .NUCUBA-PYMK-actions{margin-top:8px}
    .NUCUBA-PYMK-btn{min-height:32px;border-radius:10px;padding:0 6px;font-size:11px}
    .NUCUBA-PYMK-head-menu{display:block!important}
    .NUCUBA-PYMK-hide{top:6px;right:6px;width:24px;height:24px;font-size:16px}
    .NUCUBA-PYMK-arrow{width:28px;height:28px;font-size:16px;top:50%;transform:translateY(-50%)}
    .NUCUBA-PYMK-arrow[data-pymk-prev]{left:2px}
    .NUCUBA-PYMK-arrow[data-pymk-next]{right:2px}
    .NUCUBA-PYMK-mobile-sheet .NUCUBA-PYMK-menu-item{padding:13px 12px}
}

/* ============================================================ */
/* sys/inc/fnc.php - flash message CSS                        */
/* ============================================================ */
.app-flash-autohide{
      position:fixed;
      top:84px;
      left:50%;
      z-index:9999;
      width:min(560px,calc(100vw - 28px));
      margin:0;
      opacity:1;
      transform:translateX(-50%) translateY(0) scale(1);
      transition:opacity .45s ease,transform .45s ease,filter .45s ease;
      filter:drop-shadow(0 18px 36px rgba(18,38,63,.16));
    }
    .app-flash-autohide .striples_info{
      display:flex;
      align-items:center;
      gap:10px;
      min-height:54px;
      padding:14px 18px;
      border-radius:18px;
      font-size:14px;
      font-weight:700;
      line-height:1.45;
      backdrop-filter:blur(10px);
      border:1px solid rgba(255,255,255,.75);
      box-shadow:0 10px 26px rgba(31,45,61,.10);
    }
    .app-flash-autohide.success_green .striples_info{
      color:#0f5132;
      background:linear-gradient(180deg,rgba(232,255,243,.98),rgba(214,248,228,.96));
      border-color:rgba(134,226,176,.9);
    }
    .app-flash-autohide.error_red .striples_info{
      color:#8a1f17;
      background:linear-gradient(180deg,rgba(255,242,241,.99),rgba(255,228,225,.97));
      border-color:rgba(255,171,162,.92);
    }
    .app-flash-autohide .fa-fw,
    .app-flash-autohide [data-ui-icon]{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:22px;
      height:22px;
      min-width:22px;
      min-height:22px;
      flex:0 0 22px;
    }
    .app-flash-autohide.is-hiding{
      opacity:0;
      transform:translateX(-50%) translateY(-10px) scale(.98);
      filter:drop-shadow(0 10px 22px rgba(18,38,63,.08));
    }
    .app-flash-autohide.is-hidden{
      opacity:0;
      transform:translateX(-50%) translateY(-10px) scale(.98);
      pointer-events:none;
    }
    @media (max-width: 640px){
      .app-flash-autohide{
        top:72px;
        width:calc(100vw - 18px);
      }
      .app-flash-autohide .striples_info{
        min-height:50px;
        padding:12px 14px;
        border-radius:16px;
        font-size:13px;
      }
    }