.post-serarch-warp{background: rgba(255,255,255,.05) !important;
  padding: 12px 14px 8px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 26px 76px rgba(0,0,0,.32) !important;
  border-radius: 16px !important;
  overflow: visible !important;
}
.post-create-card .panel-body{position:relative;padding: 0 !important;background: transparent !important;border: 0 !important;overflow:visible !important;box-shadow:none !important;}
body.v1-social-screen .post-create-card #contentFormBody,
body.v1-social-screen #contentFormBody.contentFormBody,
body.v1-social-screen .post-create-card.panel #contentFormBody{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* imageuploadify belongs in legacy #uploadPhoto/#uploadVideo modals only */
.post-create-card .imageuploadify,
#contentFormBody .imageuploadify,
#contentFormFiles .imageuploadify,
.wall-entry .imageuploadify{
  display:none !important;
}
.post-create-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;}
.post-create-avatar{flex:0 0 40px;padding-top:4px;}
.post-create-avatar img{border-radius:50%;object-fit:cover;width:40px;height:40px;}
.post-create-input{flex:1;min-width:0;overflow:visible;}
.post-create-input .ProsemirrorEditor{margin:0;}
.post-create-input .humhub-ui-richtext{max-height:none !important;}
.v1-composer-editor-tools{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:8px;
  position:relative;
  z-index:12;
}
.post-create-card:not(.is-expanded) .v1-composer-editor-tools{
  display:none !important;
}
.post-create-card.is-expanded .v1-composer-editor-tools{
  display:flex !important;
}
.post-create-card.is-expanded .v1-composer-editor-tools[hidden]{
  display:flex !important;
}
.v1-composer-format-bar{
  align-items:center;
  background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  display:flex;
  gap:4px;
  padding:6px 8px;
}
.v1-format-btn{
  align-items:center;
  background:transparent;
  border:0;
  border-radius:8px;
  color:rgba(234,240,255,.92);
  cursor:pointer;
  display:inline-flex;
  font-size:22px;
  height:38px;
  justify-content:center;
  transition:background .2s ease,color .2s ease;
  width:38px;
}
.v1-format-btn:hover,
.v1-format-btn:focus{
  background:rgba(168,85,247,.18);
  color:#fff;
  outline:0;
}
.v1-format-btn.is-active,
.v1-format-btn[aria-pressed="true"]{
  background:rgba(168,85,247,.28);
  box-shadow:inset 0 0 0 1px rgba(168,85,247,.45);
  color:#fff;
}
.v1-format-btn.v1-emoji-toggle[aria-expanded="true"]{
  background:rgba(168,85,247,.22);
  color:#fff;
}
.v1-format-divider{
  align-self:stretch;
  background:rgba(255,255,255,.12);
  margin:4px 4px;
  width:1px;
}
.v1-composer-emoji-panel{
  background:rgba(12,14,18,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.42);
  left:0;
  padding:10px;
  position:absolute;
  right:0;
  top:calc(100% + 4px);
  z-index:30;
}
.v1-composer-emoji-panel[hidden]{
  display:none !important;
}
body.v1-social-screen .social-chat-compose-tools .v1-composer-emoji-panel,
body.v1-social-screen .social-chat-emoji-panel{
  right:auto !important;
  top:auto !important;
}
.v1-composer-emoji-grid{
  display:grid;
  gap:4px;
  grid-template-columns:repeat(8,minmax(0,1fr));
  max-height:168px;
  overflow:auto;
}
.v1-emoji-btn{
  background:rgba(255,255,255,.04);
  border:0;
  border-radius:10px;
  cursor:pointer;
  font-size:22px;
  line-height:1;
  min-height:36px;
  transition:background .2s ease,transform .15s ease;
}
.v1-emoji-btn:hover,
.v1-emoji-btn:focus{
  background:rgba(168,85,247,.16);
  outline:0;
  transform:scale(1.08);
}
.post-create-toolbar{
  align-items:center;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  gap:12px;
  justify-content:space-between;
  margin-bottom:0;
  padding-bottom:0;
  padding-top:10px;
}
.post-create-media-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.post-create-actions-end{
  align-items:center;
  display:flex;
  flex:0 0 auto;
  gap:10px;
  margin-left:auto;
  position:relative;
  z-index:4;
}
.post-create-card .post-create-actions-end:has(.dropdown.open),
.post-create-card .post-create-settings:has(.dropdown.open),
.post-create-card .post-create-settings .dropdown.open{
  position:relative;
  z-index:60;
}
.post-create-action-group{
  align-items:center;
  background:transparent;
  border:0;
  border-radius:0;
  display:flex;
  gap:8px;
  padding:0;
}
.post-create-action{display:inline-flex;align-items:center;gap:6px;padding:4px 6px;border:0;border-radius:10px;background:transparent;color:rgba(234,240,255,.88);font-size:14px;font-weight:700;cursor:pointer;transition:background-color .16s ease,color .16s ease;}
.post-create-action i{font-size:16px;line-height:1;}
.post-create-action:hover{background:rgba(255,255,255,.06);color:#fff;}
.post-create-action-photo i{color:#38bdf8;}
.post-create-action-video i{color:#f43f5e;}
.post-create-action-feeling i{color:#f7d774;}
.post-create-upload-slot{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.post-create-upload-slot .fileinput-button,
.post-create-upload-slot .btn,
.post-create-upload-slot .dropdown-toggle{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;background:transparent!important;}
.post-create-upload-slot input[type="file"]{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0;display:block!important;}
.post-create-attachments{margin-top:0;margin-bottom:0;}
.post-create-attachments:not(:has(.file-preview-item)){
  display:none !important;
  height:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  padding:0 !important;
}
.post-create-card.is-uploading .post-create-attachments,
.post-create-attachments:has(.progress-bar[style*="width"]:not([style*="width: 0"])){
  display:block !important;
  height:auto !important;
  margin-top:10px !important;
  overflow:visible !important;
  padding:0 !important;
}
.post-create-attachments:has(.file-preview-item){
  margin-top:12px !important;
}
.post-create-attachments .progress{
  background:rgba(255,255,255,.08);
  border-radius:999px;
  height:6px;
  margin-bottom:10px;
  overflow:hidden;
}
.post-create-attachments .progress-bar{
  background:var(--v1-gradient);
  box-shadow:0 0 12px rgba(99,102,241,.35);
}
body.v1-social-screen .post-create-card #contentFormFiles_preview.well,
body.v1-social-screen .post-create-card .well.post-file-list,
.post-create-card #contentFormFiles_preview.well,
.post-create-card #contentFormFiles_preview.post-file-list,
.post-create-card .post-create-attachments .well.post-file-list{
  background:transparent !important;
  background-color:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  margin:0 !important;
  min-height:0 !important;
  padding:0 !important;
}
.post-create-card #contentFormFiles_preview .files,
.post-create-attachments #contentFormFiles_preview .files,
.post-create-attachments #contentFormFiles_preview ul{
  display:grid !important;
  gap:10px;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  list-style:none;
  margin:0;
  padding:0;
  width:100%;
}
.post-create-card .file-preview-item,
.post-create-attachments .files li.file-preview-item{
  aspect-ratio:1;
  background:rgba(255,255,255,.04);
  background-image:none !important;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  display:block !important;
  list-style:none;
  margin:0;
  min-height:120px;
  overflow:hidden;
  padding:0 !important;
  padding-left:0 !important;
  position:relative;
  width:100%;
}
.post-create-card .file-preview-item.mime,
.post-create-card .file-preview-item.mime-image,
.post-create-card .file-preview-item.mime-video,
.post-create-card .file-preview-item.is-media-preview,
.post-create-attachments .files li.file-preview-item.mime,
.post-create-attachments .files li.file-preview-item.mime-image,
.post-create-attachments .files li.file-preview-item.mime-video,
.post-create-attachments .files li.file-preview-item.is-media-preview{
  background-image:none !important;
  background-position:0 0;
  padding:0 !important;
  padding-left:0 !important;
}
.post-create-card .file-preview-item .file-preview-content,
.post-create-attachments .file-preview-item .file-preview-content{
  background:transparent !important;
  display:block;
  height:100%;
  left:0;
  min-height:120px;
  padding:0 !important;
  position:absolute;
  right:0;
  top:0;
  width:100%;
}
.post-create-card .file-preview-item img,
.post-create-attachments .file-preview-item img,
.post-create-card .file-preview-item .v1-preview-thumb,
.post-create-attachments .file-preview-item .v1-preview-thumb,
.post-create-card .file-preview-item video.v1-preview-thumb,
.post-create-attachments .file-preview-item video.v1-preview-thumb{
  background:#0b1020;
  border:0 !important;
  display:block !important;
  height:100% !important;
  left:0;
  margin:0 !important;
  max-height:none !important;
  max-width:none !important;
  min-height:100% !important;
  object-fit:cover;
  object-position:center;
  padding:0 !important;
  pointer-events:none;
  position:absolute;
  top:0;
  width:100% !important;
}
.post-create-card .file-preview-item .file_upload_remove_link,
.post-create-attachments .file-preview-item .file_upload_remove_link{
  align-items:center;
  background:rgba(0,0,0,.62);
  border-radius:50%;
  color:#fff !important;
  cursor:pointer;
  display:flex;
  height:28px;
  justify-content:center;
  position:absolute;
  right:8px;
  top:8px;
  width:28px;
  z-index:2;
}
.post-create-card .file-preview-item .file_upload_remove_link:hover,
.post-create-attachments .file-preview-item .file_upload_remove_link:hover{
  background:rgba(245,83,83,.88);
}
.post-create-card .file-preview-item.mime-file .file-preview-content,
.post-create-attachments .file-preview-item.mime-file .file-preview-content{
  align-items:center;
  color:rgba(234,240,255,.82);
  display:flex;
  flex-direction:column;
  font-size:12px;
  gap:8px;
  justify-content:center;
  padding:12px !important;
  text-align:center;
}
.post-create-submit-btn{
  align-items:center !important;
  background:linear-gradient(90deg,#e54e94 0%,#00cdff 100%) !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 8px 22px rgba(0,205,255,.2),0 6px 16px rgba(229,78,148,.16) !important;
  color:#111 !important;
  display:inline-flex !important;
  font-family:var(--v1-font, 'Inter', system-ui, sans-serif) !important;
  font-weight:700 !important;
  font-size:13px !important;
  gap:6px;
  justify-content:center !important;
  line-height:1.2 !important;
  min-height:34px !important;
  min-width:88px;
  padding:7px 18px !important;
  white-space:nowrap;
}
.post-create-submit-btn:hover,.post-create-submit-btn:focus{
  background:linear-gradient(90deg,#f062a5 0%,#33d6ff 100%) !important;
  color:#111 !important;
  transform:translateY(-1px);
}
.post-create-submit-btn.disabled,
.post-create-submit-btn[disabled],
.post-create-submit-btn.is-empty-disabled{
  box-sizing:border-box !important;
  cursor:not-allowed !important;
  height:34px !important;
  max-height:34px !important;
  min-height:34px !important;
  opacity:.45 !important;
  overflow:hidden !important;
  padding:7px 18px !important;
  pointer-events:none !important;
  transform:none !important;
}
.post-create-submit-btn.is-empty-disabled:hover,
.post-create-submit-btn.is-empty-disabled:focus,
.post-create-submit-btn[disabled]:hover,
.post-create-submit-btn[disabled]:focus{
  background:linear-gradient(90deg,#e54e94 0%,#00cdff 100%) !important;
  box-shadow:0 8px 22px rgba(0,205,255,.12),0 6px 16px rgba(229,78,148,.1) !important;
  transform:none !important;
}
.post-create-submit-btn .loader{
  align-items:center !important;
  display:inline-flex !important;
  height:14px !important;
  justify-content:center !important;
  margin:0 !important;
  max-height:14px !important;
  min-height:0 !important;
  padding:0 !important;
  width:100% !important;
}
.post-create-submit-btn .loader .sk-spinner,
.post-create-submit-btn .loader .sk-spinner-three-bounce{
  display:inline-flex !important;
  height:14px !important;
  margin:0 !important;
  padding:0 !important;
  width:auto !important;
}
.post-create-submit-btn .loader .sk-bounce1,
.post-create-submit-btn .loader .sk-bounce2,
.post-create-submit-btn .loader .sk-bounce3{
  background-color:currentColor !important;
  height:6px !important;
  margin:0 2px !important;
  width:6px !important;
}
.post-create-card .contentForm_options-hidden{
  display:none !important;
  height:0;
  margin:0;
  overflow:hidden;
  padding:0;
  visibility:hidden;
}
.post-create-settings{
  display:none;
  flex:0 0 auto;
  position:relative;
}
.post-create-card.is-expanded .post-create-settings{
  display:block;
}
.post-create-settings .preferences{
  display:block !important;
  margin:0;
  position:static !important;
  right:auto !important;
  top:auto !important;
}
.post-create-settings .preferences > li.dropdown{
  position:relative;
}
/* Composer settings gear + Only-me portal pill */
.post-create-card .v1-composer-settings-toggle,
.post-create-card .post-create-settings .preferences > li > a.dropdown-toggle{
  align-items:center;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  border-radius:50% !important;
  box-shadow:none !important;
  color:rgba(234,240,255,.88) !important;
  display:flex !important;
  height:36px;
  justify-content:center;
  outline:0 !important;
  padding:0 !important;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
  width:36px;
}
.post-create-card .v1-composer-settings-toggle:hover,
.post-create-card .v1-composer-settings-toggle:focus,
.post-create-card .v1-composer-settings-toggle:focus-visible,
.post-create-card .post-create-settings .preferences > li > a.dropdown-toggle:hover,
.post-create-card .post-create-settings .preferences > li > a.dropdown-toggle:focus,
.post-create-card .post-create-settings .preferences > li > a.dropdown-toggle:focus-visible{
  background:rgba(255,255,255,.1) !important;
  border-color:rgba(255,255,255,.2) !important;
  box-shadow:none !important;
  color:#fff !important;
  outline:0 !important;
}
.post-create-card .dropdown.open > .v1-composer-settings-toggle,
.post-create-card .post-create-settings .dropdown.open > a.dropdown-toggle{
  background:rgba(255,255,255,.12) !important;
  border-color:rgba(255,255,255,.22) !important;
  box-shadow:none !important;
  outline:0 !important;
}
.post-create-card .v1-composer-settings-toggle i{
  font-size:1.25rem;
  line-height:1;
  pointer-events:none;
}

/* Compact dark pill above gear (body portal) */
body .v1-composer-settings-portal,
body #postCreateSettingsPortal{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  display:block !important;
  margin:0 !important;
  min-width:0 !important;
  outline:0 !important;
  padding:0 !important;
  pointer-events:auto !important;
  position:fixed !important;
  z-index:10050 !important;
}
body .v1-composer-settings-portal[hidden],
body #postCreateSettingsPortal[hidden]{
  display:none !important;
}
body .v1-composer-settings-portal .dropdown-menu,
body #postCreateSettingsPortal .dropdown-menu,
body .v1-composer-settings-portal #postCreateSettingsMenu,
body #postCreateSettingsPortal #postCreateSettingsMenu{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  display:block !important;
  list-style:none !important;
  margin:0 !important;
  min-width:0 !important;
  padding:0 !important;
  position:static !important;
}
body .v1-composer-settings-portal li,
body #postCreateSettingsPortal li{
  border:0 !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}
body .v1-composer-settings-portal .v1-visibility-menu-btn,
body #postCreateSettingsPortal .v1-visibility-menu-btn,
body #contentForm_visibility_entry.v1-visibility-menu-btn{
  align-items:center !important;
  background:#1a1d26 !important;
  border:1px solid rgba(255,255,255,.14) !important;
  border-radius:12px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.42) !important;
  color:rgba(234,240,255,.94) !important;
  cursor:pointer !important;
  display:inline-flex !important;
  font-size:13px !important;
  font-weight:600 !important;
  gap:8px !important;
  justify-content:flex-start !important;
  line-height:1.2 !important;
  min-height:40px;
  outline:0 !important;
  padding:9px 14px !important;
  pointer-events:auto !important;
  text-align:left !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  width:auto !important;
}
body .v1-composer-settings-portal .v1-visibility-menu-btn:hover,
body .v1-composer-settings-portal .v1-visibility-menu-btn:focus,
body #postCreateSettingsPortal .v1-visibility-menu-btn:hover,
body #postCreateSettingsPortal .v1-visibility-menu-btn:focus,
body #contentForm_visibility_entry.v1-visibility-menu-btn:hover,
body #contentForm_visibility_entry.v1-visibility-menu-btn:focus{
  background:#222632 !important;
  border-color:rgba(255,255,255,.2) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.48) !important;
  color:#fff !important;
  outline:0 !important;
}
body .v1-composer-settings-portal .v1-visibility-menu-btn i,
body #postCreateSettingsPortal .v1-visibility-menu-btn i,
body #contentForm_visibility_entry.v1-visibility-menu-btn i{
  color:rgba(234,240,255,.88) !important;
  font-size:13px !important;
  line-height:1 !important;
  margin:0 !important;
  pointer-events:none !important;
  width:14px;
}
body .v1-composer-settings-portal .v1-visibility-menu-btn span,
body #postCreateSettingsPortal .v1-visibility-menu-btn span,
body #contentForm_visibility_entry.v1-visibility-menu-btn span{
  color:inherit !important;
  pointer-events:none !important;
}

/* Fallback if menu is still in-card */
.post-create-card .post-create-settings .dropdown-menu{
  background:transparent !important;
  border:0 !important;
  bottom:calc(100% + 8px);
  box-shadow:none !important;
  display:none;
  float:none;
  left:auto;
  margin:0;
  min-width:0;
  outline:0 !important;
  padding:0 !important;
  position:absolute !important;
  right:0;
  top:auto !important;
  z-index:70 !important;
}
.post-create-card .post-create-settings .dropdown.open > .dropdown-menu{
  display:block !important;
}
.post-create-card .post-create-settings .dropdown-menu > li{
  border:0 !important;
  margin:0;
  padding:0;
}
.post-create-card .post-create-settings .dropdown-menu > li > a,
.post-create-card .post-create-settings .dropdown-menu .v1-visibility-menu-btn{
  align-items:center !important;
  background:#1a1d26 !important;
  border:1px solid rgba(255,255,255,.14) !important;
  border-radius:12px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.42) !important;
  color:rgba(234,240,255,.94) !important;
  cursor:pointer !important;
  display:inline-flex !important;
  font-size:13px !important;
  font-weight:600 !important;
  gap:8px;
  min-height:40px;
  outline:0 !important;
  padding:9px 14px !important;
  text-decoration:none !important;
  white-space:nowrap;
  width:auto !important;
}
.post-create-card .post-create-settings .dropdown-menu > li > a:hover,
.post-create-card .post-create-settings .dropdown-menu .v1-visibility-menu-btn:hover,
.post-create-card .post-create-settings .dropdown-menu .v1-visibility-menu-btn:focus{
  background:#222632 !important;
  border-color:rgba(255,255,255,.2) !important;
  color:#fff !important;
  outline:0 !important;
}

.post-create-card:has(.post-create-settings .dropdown.open){
  position:relative;
  z-index:80;
}
.post-create-card:has(.post-create-settings .dropdown.open) .post-create-top,
.post-create-card:has(.post-create-settings .dropdown.open) .v1-composer-editor-tools,
.post-create-card:has(.post-create-settings .dropdown.open) .ProsemirrorEditor{
  z-index:1 !important;
}
.post-create-card:has(.post-create-settings .dropdown.open) .post-create-toolbar{
  position:relative;
  z-index:60;
}
.post-create-card .ProsemirrorEditor .ProseMirror{
  border:1px solid rgba(255,255,255,.1) !important;
  background:rgba(255,255,255,.04) !important;
  border-radius:999px !important;
  color:#fff !important;
  height:42px !important;
  min-height:42px !important;
  overflow:hidden !important;
  overflow-y:hidden !important;
  padding:10px 16px !important;
  resize:none !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
  transition:border-radius .2s ease,min-height .2s ease,padding .2s ease;
}
.post-create-card .ProsemirrorEditor,
.post-create-card .ProsemirrorEditor .ProseMirror-menubar-wrapper,
.post-create-card .post-create-input .humhub-ui-richtext{
  overflow:hidden !important;
  scrollbar-width:none !important;
}
.post-create-card .ProsemirrorEditor .ProseMirror::-webkit-scrollbar,
.post-create-card .ProsemirrorEditor .ProseMirror::-webkit-resizer,
.post-create-card .ProsemirrorEditor::-webkit-scrollbar,
.post-create-card .post-create-input .humhub-ui-richtext::-webkit-scrollbar{
  display:none !important;
  width:0 !important;
  height:0 !important;
}
.post-create-card.is-expanded .ProsemirrorEditor .ProseMirror{
  border-radius:14px !important;
  height:auto !important;
  max-height:none !important;
  min-height:128px !important;
  overflow:auto !important;
  overflow-y:auto !important;
  padding:12px 14px 14px !important;
}
.post-create-card.is-expanded .ProsemirrorEditor,
.post-create-card.is-expanded .ProsemirrorEditor .ProseMirror-menubar-wrapper,
.post-create-card.is-expanded .post-create-input .humhub-ui-richtext{
  overflow:visible !important;
}
.post-create-card .ProsemirrorEditor .ProseMirror p{
  color:#fff !important;
  font-size:16px;
  line-height:1.45 !important;
  margin:0;
  padding:0;
}
.post-create-card .ProsemirrorEditor .placeholder{
  background-color:transparent !important;
  color:rgba(234,240,255,.55) !important;
}
.post-create-card:not(.is-expanded) .ProseMirror-menubar,
.post-create-card .ProseMirror-menubar{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  min-height:0 !important;
  overflow:hidden !important;
  padding:0 !important;
  visibility:hidden !important;
}
.post-create-card.is-expanded .ProseMirror-menubar-wrapper .ProseMirror{
  border-top-left-radius:14px !important;
  border-top-right-radius:14px !important;
}
.post-create-card .ProsemirrorEditor .ProseMirror strong{
  color:#fff;
  font-weight:700;
}
.post-create-card .ProsemirrorEditor .ProseMirror em,
.post-create-card .ProsemirrorEditor .ProseMirror i {
  color: rgba(234, 240, 255, .92);
  font-style: italic !important;
  font-synthesis: style;
}
.post-create-card .ProsemirrorEditor .ProseMirror u{
  text-decoration:underline;
  text-decoration-color:rgba(168,85,247,.75);
}

/* Feed/post body: render italic + underline marks (body uses font-synthesis:none) */
body.v1-social-screen .humhub-ui-richtext em,
body.v1-social-screen .markdown-render em,
body.v1-social-screen .wall-entry em,
body.v1-social-screen .wall-entry .wall-entry-content em,
body.v1-social-screen .wall-entry .wall-entry-content i:not([class]),
body.v1-social-screen .media-body em {
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: var(--v1-font, "Inter", system-ui, sans-serif) !important;
  font-style: italic !important;
  font-synthesis: style;
}
body.v1-social-screen .v1-social-main .wall-entry .panel-body .wall-entry-content p em,
body.v1-social-screen .v1-social-main .wall-entry .panel-body .wall-entry-content .humhub-ui-richtext em {
  color: rgba(255, 255, 255, 0.88) !important;
}
body.v1-social-screen .humhub-ui-richtext u,
body.v1-social-screen .markdown-render u,
body.v1-social-screen .wall-entry u,
body.v1-social-screen .media-body u {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Inline post edit: match create-post composer UI */
body.v1-social-screen .wall-entry .content_edit,
body.v1-social-screen .wall-entry .post-edit-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 12px !important;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-input-wrap {
  position: relative;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-editor-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
}
body.v1-social-screen .wall-entry .content_edit .ProsemirrorEditor,
body.v1-social-screen .wall-entry .content_edit .ProseMirror,
body.v1-social-screen .wall-entry .content_edit .humhub-ui-richtext,
body.v1-social-screen .wall-entry .content_edit [contenteditable="true"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  color: #eaf0ff !important;
  min-height: 88px !important;
}
body.v1-social-screen .wall-entry .content_edit .ProsemirrorEditor .ProseMirror-menubar,
body.v1-social-screen .wall-entry .content_edit .ProseMirror-menubar {
  display: none !important;
}
body.v1-social-screen .wall-entry .content_edit .ProseMirror p,
body.v1-social-screen .wall-entry .content_edit .ProseMirror span,
body.v1-social-screen .wall-entry .content_edit .ProseMirror strong,
body.v1-social-screen .wall-entry .content_edit .ProseMirror em,
body.v1-social-screen .wall-entry .content_edit .ProseMirror u {
  color: #eaf0ff !important;
}
body.v1-social-screen .wall-entry .content_edit .ProseMirror em {
  font-style: italic !important;
}
body.v1-social-screen .wall-entry .content_edit .ProseMirror u {
  text-decoration: underline !important;
}
body.v1-social-screen .wall-entry .content_edit .ProseMirror p.is-editor-empty:first-child::before,
body.v1-social-screen .wall-entry .content_edit .ProseMirror-placeholder {
  color: rgba(234, 240, 255, 0.45) !important;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
}
body.v1-social-screen .wall-entry .content_edit .post-create-media-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
body.v1-social-screen .wall-entry .content_edit .post-create-upload-slot {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-attachments {
  margin-top: 10px;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-attachments .well,
body.v1-social-screen .wall-entry .content_edit .post-edit-file-preview.well,
body.v1-social-screen .wall-entry .content_edit .post-file-list.well {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-attachments .well:empty,
body.v1-social-screen .wall-entry .content_edit .post-edit-file-preview.well:empty,
body.v1-social-screen .wall-entry .content_edit .post-file-list.well:not(:has(.file-preview-item)) {
  display: none !important;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-attachments .files,
body.v1-social-screen .wall-entry .content_edit .post-edit-file-preview .files,
body.v1-social-screen .wall-entry .content_edit .post-file-list .files {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  color: #eaf0ff !important;
  display: block !important;
  list-style: none;
  margin: 0;
  min-height: 120px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  width: 100%;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item.mime-image,
body.v1-social-screen .wall-entry .content_edit .file-preview-item.mime-video,
body.v1-social-screen .wall-entry .content_edit .file-preview-item.is-media-preview {
  background-image: none !important;
  padding-left: 0 !important;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item .file-preview-content {
  background: transparent !important;
  cursor: default;
  display: block;
  height: 100%;
  min-height: 120px;
  padding: 0 !important;
  position: relative;
  width: 100%;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item.is-media-preview .file-preview-content,
body.v1-social-screen .wall-entry .content_edit .file-preview-item.mime-image .file-preview-content,
body.v1-social-screen .wall-entry .content_edit .file-preview-item.mime-video .file-preview-content {
  color: transparent;
  font-size: 0;
  height: 100%;
  overflow: hidden;
  padding: 0 !important;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item img,
body.v1-social-screen .wall-entry .content_edit .file-preview-item .v1-preview-thumb,
body.v1-social-screen .wall-entry .content_edit .file-preview-item video.v1-preview-thumb {
  background: #0b1020;
  border: 0 !important;
  display: block !important;
  height: 100% !important;
  left: 0;
  margin: 0 !important;
  max-height: none !important;
  max-width: none !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
  padding: 0 !important;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100% !important;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item .v1-preview-video-fallback {
  align-items: center;
  background: linear-gradient(145deg, rgba(0, 212, 245, 0.16), rgba(222, 78, 144, 0.22));
  border: 0 !important;
  bottom: 0;
  color: #fff;
  display: flex !important;
  font-size: 34px;
  height: 100% !important;
  justify-content: center;
  left: 0;
  margin: 0 !important;
  min-height: 100% !important;
  padding: 0 !important;
  position: absolute;
  right: 0;
  top: 0;
  width: 100% !important;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item .v1-preview-play {
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  z-index: 2;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item .file_upload_remove_link {
  align-items: center;
  background: rgba(15, 15, 15, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff !important;
  cursor: pointer;
  display: flex !important;
  font-size: 16px !important;
  height: 30px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px;
  z-index: 3;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item .file_upload_remove_link i {
  color: #fff !important;
  font-size: 16px !important;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item .file_upload_remove_link:hover {
  background: rgba(245, 83, 83, 0.92) !important;
}
body.v1-social-screen .wall-entry .content_edit .file-preview-item.mime-file .file-preview-content {
  align-items: center;
  color: rgba(234, 240, 255, 0.82);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 8px;
  justify-content: center;
  padding: 12px !important;
  text-align: center;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-emoji-panel {
  display: block;
  left: 0;
  max-width: min(360px, calc(100vw - 48px));
  right: auto;
  width: min(340px, 100%);
  z-index: 50;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-emoji-panel[hidden] {
  display: none !important;
}
body.v1-social-screen .wall-entry .content_edit.is-emoji-open .post-edit-emoji-panel {
  display: block !important;
}
body.v1-social-screen .wall-entry .content_edit .post-edit-save,
body.v1-social-screen .wall-entry .content_edit .post-create-submit-btn {
  background: linear-gradient(90deg, #de4e90 0%, #00d4f5 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  min-height: 36px !important;
  min-width: 88px;
  padding: 8px 18px !important;
}
body.v1-social-screen .wall-entry .content_edit .form-group {
  margin-bottom: 0;
}
.post-create-card .file-preview-item.is-media-preview,
.post-create-card .file-preview-item.mime-image,
.post-create-card .file-preview-item.mime-video{
  background-image:none !important;
  min-height:108px;
  padding:0 !important;
  padding-left:0 !important;
}
.post-create-card .file-preview-item.is-media-preview .file-preview-content,
.post-create-card .file-preview-item.mime-image .file-preview-content,
.post-create-card .file-preview-item.mime-video .file-preview-content{
  height:100%;
  left:0;
  overflow:hidden;
  padding:0 !important;
  position:absolute;
  right:0;
  top:0;
  width:100%;
}
.post-create-card .file-preview-item.is-media-preview .v1-preview-thumb,
.post-create-card .file-preview-item.mime-image .v1-preview-thumb,
.post-create-card .file-preview-item.mime-video .v1-preview-thumb,
.post-create-card .file-preview-item.is-media-preview video.v1-preview-thumb,
.post-create-card .file-preview-item.mime-video video.v1-preview-thumb{
  background:#0b1020;
  display:block;
  height:100%;
  left:0;
  min-height:100%;
  object-fit:cover;
  object-position:center;
  pointer-events:none;
  position:absolute;
  top:0;
  width:100%;
}
.post-create-card .file-preview-item.is-media-preview .v1-preview-video-fallback,
.post-create-card .file-preview-item.mime-video .v1-preview-video-fallback,
.post-create-attachments .file-preview-item .v1-preview-video-fallback{
  align-items:center;
  background:linear-gradient(145deg,rgba(0,212,245,.16),rgba(222,78,144,.22));
  border:0 !important;
  bottom:0;
  color:#fff;
  display:flex !important;
  font-size:34px;
  height:100% !important;
  justify-content:center;
  left:0;
  margin:0 !important;
  min-height:100% !important;
  padding:0 !important;
  position:absolute;
  right:0;
  top:0;
  width:100% !important;
}
.post-create-card .file-preview-item.is-media-preview .v1-preview-play,
.post-create-card .file-preview-item.mime-video .v1-preview-play,
.post-create-attachments .file-preview-item .v1-preview-play{
  align-items:center;
  background:rgba(0,0,0,.55);
  border:2px solid rgba(255,255,255,.85);
  border-radius:50%;
  color:#fff;
  display:flex;
  font-size:14px;
  height:34px;
  justify-content:center;
  left:50%;
  pointer-events:none;
  position:absolute;
  top:50%;
  transform:translate(-50%,-50%);
  width:34px;
  z-index:2;
}
.post-create-card .file-preview-item.is-media-preview .file-preview-content,
.post-create-card .file-preview-item.mime-image .file-preview-content,
.post-create-card .file-preview-item.mime-video .file-preview-content{
  color:transparent;
  font-size:0;
}
.post-create-card .file-preview-item .file_upload_remove_link,
.post-create-card .file-preview-item.is-media-preview .file_upload_remove_link{
  align-items:center;
  background:rgba(15,15,15,.78) !important;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  color:#fff !important;
  cursor:pointer;
  display:flex !important;
  font-size:16px !important;
  height:30px;
  justify-content:center;
  line-height:1;
  position:absolute;
  right:8px;
  top:8px;
  width:30px;
  z-index:3;
}
.post-create-card .file-preview-item .file_upload_remove_link i,
.post-create-card .file-preview-item.is-media-preview .file_upload_remove_link i{
  color:#fff !important;
  font-size:16px !important;
  line-height:1;
}
.post-create-card .file-preview-item .file_upload_remove_link:hover,
.post-create-card .file-preview-item.is-media-preview .file_upload_remove_link:hover{
  background:rgba(245,83,83,.92) !important;
  border-color:rgba(255,255,255,.35);
}
.post-create-card .ProsemirrorEditor .ProseMirror-menubar-wrapper{
  background:transparent !important;
}
.post-create-card .ProsemirrorEditor.plainMenu .ProseMirror-menubar-wrapper{
  background:transparent !important;
}
.post-create-attachments #contentFormFiles_preview:empty,
.post-create-attachments #contentFormFiles_preview .files:empty{
  display:none !important;
}
.post-create-attachments #contentFormFiles_preview:not(:has(.file-preview-item)){
  display:none !important;
}
.post-create-card .nav-pills.preferences{
  position:static !important;
  right:auto !important;
  top:auto !important;
}
.post-create-card .post-create-settings .preferences > li.dropdown.open{
  z-index:1301;
}
.post-create-card .post-create-toolbar{
  overflow:visible;
  position:relative;
}
.wall-entry .panel-default{
  background: #1c1f27;
  overflow: visible;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.wall-entry .panel-body{padding:16px 16px 14px;overflow:visible;}
.wall-entry .wall-entry-content,
.wall-entry .wall-entry-content .post-files,
.wall-entry .wall-entry-content .imgs-grid{
  overflow:hidden;
  position:relative;
  z-index:0;
}
.wall-entry .media.wall-entry-header{
  display:flex;
  align-items:center;
  position:relative;
  border:0;
  padding:0;
  margin:0 0 12px;
  overflow:visible;
  z-index:1;
}
.wall-entry .media.wall-entry-header:has(.v1-post-head-settings .dropdown.open){
  z-index:40;
}
.wall-entry .wall-entry-header-image{display:none!important;}
.wall-entry .wall-entry-header-info{
  display:block;
  flex:1;
  min-width:0;
  padding:0;
  width:auto;
  overflow:visible !important;
}
.wall-entry .wall-entry-header-info.media-body{
  overflow:visible !important;
}
.wall-entry .post-head-wrap{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
}
.wall-entry .v1-post-head-settings{
  flex:0 0 auto;
  margin-left:auto;
  overflow:visible;
  position:relative;
  top:0;
  z-index:12;
}
.wall-entry .post-head-img{
  flex:0 0 36px;
}
.wall-entry .post-head-img.is-empty,
.wall-entry .post-head-img[hidden]{
  display:none!important;
}
.wall-entry .post-head-img img{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:1px solid rgba(255,255,255,.12);
}
.wall-entry .post-head-text{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.wall-entry .wall-entry-header-info .media-heading{
  margin:0;
  padding:0;
  font-size:0.98rem;
  font-weight:800;
  line-height:1.25;
  color:#fff;
  font-family:"Inter",sans-serif;
}
.wall-entry .wall-entry-header-info .media-heading a,
.wall-entry .wall-entry-header-info .media-heading .wall-entry-container-link,
.wall-entry .v1-post-author a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
}
.wall-entry .wall-entry-header-info .media-heading a:hover,
.wall-entry .v1-post-author a:hover{color:#fff;text-decoration:none;}
.wall-entry .wall-entry-header-info .media-subheading,
.wall-entry .v1-post-time{
  margin:0;
  padding:0;
  font-size:0.8rem;
  line-height:1.35;
  color:rgba(234,240,255,.55);
  font-family:"Inter",sans-serif;
}
.wall-entry .wall-entry-header-info .media-subheading > a,
.wall-entry .v1-post-time > a{
  font-size:0.8rem;
  color:rgba(234,240,255,.55);
  text-decoration:none;
}
.wall-entry .wall-entry-header-info .media-subheading > a:hover,
.wall-entry .v1-post-time > a:hover{
  color:rgba(234,240,255,.78);
  text-decoration:none;
}
.wall-entry .wall-entry-header .preferences,
.wall-entry .v1-post-head-settings .preferences{
  position:relative!important;
  right:auto;
  top:auto;
  transform:none;
  margin:0;
  z-index:4;
}
.wall-entry .v1-post-head-settings .preferences > li.dropdown{
  position:relative;
}
.wall-entry .wall-entry-header .preferences > li > a,
.wall-entry .v1-post-head-settings .preferences > li > a,
.wall-entry .wall-entry-header .preferences .v1-post-settings-toggle{
  align-items:center;
  background:transparent!important;
  border:0;
  border-radius:50%;
  box-shadow:none!important;
  color:rgba(234,240,255,.62)!important;
  display:flex;
  height:28px;
  justify-content:center;
  margin:0!important;
  padding:0;
  width:28px;
}
.wall-entry .wall-entry-header .preferences > li > a:hover,
.wall-entry .wall-entry-header .preferences > li > a:focus,
.wall-entry .v1-post-head-settings .preferences > li > a:hover,
.wall-entry .v1-post-head-settings .preferences > li > a:focus{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
.wall-entry .wall-entry-header .preferences .dropdown-toggle .fa,
.wall-entry .wall-entry-header .preferences .dropdown-toggle i,
.wall-entry .v1-post-head-settings .preferences .dropdown-toggle i{
  color:rgba(234,240,255,.72)!important;
  font-size:1.5rem;
  line-height:1;
  pointer-events:none;
}

body.v1-social-screen .v1-post-head-settings .dropdown:not(.open) .dropdown-menu {
  display: none !important;
}

body.v1-social-screen .v1-post-head-settings .dropdown.open > .dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

body.v1-social-screen .panel:has(.v1-post-head-settings .dropdown.open),
body.v1-social-screen .wall-entry:has(.v1-post-head-settings .dropdown.open) {
  overflow: visible;
  position: relative;
  z-index: 50;
}

body.v1-social-screen .v1-post-head-settings .dropdown.open {
  z-index: 51;
}

body.v1-social-screen .v1-post-head-settings .dropdown-menu {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  left: auto;
  margin: 0;
  min-width: 168px;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  bottom: auto;
  z-index: 1200;
}

body.v1-social-screen .v1-post-head-settings .dropdown-menu > li > a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding: 8px 14px;
}

body.v1-social-screen .v1-post-head-settings .dropdown-menu > li > a:hover,
body.v1-social-screen .v1-post-head-settings .dropdown-menu > li > a:focus {
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
}

body.v1-social-screen .v1-post-head-settings .preferences .dropdown.open .dropdown-toggle,
body.v1-social-screen .v1-post-head-settings .preferences .dropdown.open .dropdown-toggle:hover,
body.v1-social-screen .v1-post-head-settings .preferences .dropdown.open .dropdown-toggle:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

body.v1-social-screen .v1-post-head-settings .preferences .dropdown.open .dropdown-toggle i {
  color: #fff !important;
}

body.v1-social-screen .v1-post-head-settings .preferences .dropdown:not(.open) .dropdown-toggle,
body.v1-social-screen .v1-post-head-settings .preferences .dropdown:not(.open) .dropdown-toggle i {
  background: transparent !important;
  color: rgba(234, 240, 255, 0.72) !important;
}
.wall-entry .wall-entry-header .stream-entry-icon-list{
  right:42px;
  top:50%;
  transform:translateY(-50%);
  padding-top:0;
}
.wall-entry-content p{margin-bottom: 2px!important;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(234,240,255,.9)!important;
  font-family: "Inter", sans-serif;}
.comment-container{padding: 0!important;
  background: transparent!important;
  margin-top:14px!important;
  border:0!important;
  box-shadow:none!important;}
body.v1-social-screen .v1-social-main .stream-entry-addons > .comment-container.v1-comment-panel > .comment_create {
  margin-top: 0;
}

body.v1-social-screen .v1-social-main .comment-container.v1-comment-panel.v1-comments-open {
  display: block;
}
.wall-entry .comment-container .comment_create > hr{display:none;}
.wall-entry .comment-create-input-group{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 6px 6px 4px;
  border:1px solid rgba(58, 74, 91, 0.95);
  border-radius:18px;
  background:#0f1522;
}
.wall-entry .comment-create-input-group .form-group{
  flex:1;
  margin:0!important;
}
.wall-entry .comment-create-input-group .ProsemirrorEditor{margin:0;}
.wall-entry .comment-create-input-group .ProseMirror{
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
  min-height:40px!important;
  height:auto!important;
  box-shadow:none!important;
  caret-color:#fff!important;
  color:#eaf0ff!important;
}
.wall-entry .comment-create-input-group .ProseMirror p{
  color:#eaf0ff!important;
  font-size:15px!important;
  padding:8px 12px!important;
}
.wall-entry .comment-create-input-group .comment-buttons{
  position:static!important;
  display:flex;
  align-items:center;
  align-self:center;
  gap:8px;
  flex-shrink:0;
  padding-right:4px;
}
.wall-entry .comment-create-input-group .btn-comment-submit{
  background:#6366f1!important;
  color:#fff!important;
  border:0!important;
  border-radius:10px!important;
  font-weight:600!important;
  font-size:14px!important;
  padding:8px 18px!important;
  margin:0!important;
}
.wall-entry .comment-create-input-group .fileinput-button{
  float:none!important;
  padding:6px!important;
  margin:0!important;
}
.wall-entry .comment-create-input-group .fileinput-button i{
  color:rgba(234,240,255,.45)!important;
}

body.v1-social-screen .v1-social-main .wall-entry-footer {
  border-top: 0;
  margin-top: 12px;
  padding-top: 0;
}

body.v1-social-screen .v1-social-main .wall-entry-footer .stream-entry-addons {
  width: 100%;
}

/* ── Post reaction summary (likes · comments) ── */
body.v1-social-screen .v1-social-main .v1-post-reactions {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 12px;
  gap: 8px;
  justify-content: flex-end;
  min-height: 36px;
  padding: 8px 14px;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-icons {
  display: none !important;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-summary {
  align-items: center;
  color: var(--muted-2);
  display: inline-flex;
  flex-wrap: wrap;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  gap: 2px;
  justify-content: flex-end;
  margin-left: auto;
  position: relative;
  text-align: right;
  z-index: 2;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-likes,
body.v1-social-screen .v1-social-main .v1-post-reaction-comments {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted-2);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  min-height: 24px;
  padding: 4px 6px;
  pointer-events: auto;
  position: relative;
  text-decoration: none;
  z-index: 3;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-likes {
  color: #a78bfa;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-likes.is-hover-active,
body.v1-social-screen .v1-social-main .v1-post-reaction-likes:hover {
  background: var(--v1-hover-bg);
  color: #c4b5fd;
  text-decoration: underline;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-comments:hover {
  background: var(--v1-hover-bg);
  color: var(--text);
  text-decoration: underline;
}

body.v1-social-screen .v1-social-main .v1-post-reaction-comments.is-open {
  color: #c4b5fd;
  text-decoration: underline;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions {
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid !important;
  flex-wrap: nowrap;
  gap: 2px;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px 8px 8px;
  width: 100%;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like {
  order: 1;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment {
  order: 2;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share {
  order: 3;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-comment-collapse {
  display: none !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share {
  display: flex;
  justify-content: center;
  margin: 0;
  min-width: 0;
  position: relative;
  width: 100%;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like .v1-post-like-count,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment .comment-count {
  display: none !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-action-pill,
body.v1-social-screen .v1-social-main .wall-entry-links .likeLinkContainer.v1-action-pill,
body.v1-social-screen .v1-social-main .wall-entry-links .commentLink.v1-action-pill {
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  height: auto;
  min-height: 0;
  width: 100%;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-action-pill > a,
body.v1-social-screen .v1-social-main .wall-entry-links .likeLinkContainer.v1-action-pill > a,
body.v1-social-screen .v1-social-main .wall-entry-links .commentLink.v1-action-pill > a,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share-toggle {
  align-items: center;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.55) !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  height: auto !important;
  justify-content: center;
  line-height: 1;
  margin: 0 !important;
  min-height: 36px;
  padding: 7px 10px !important;
  text-decoration: none !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}

/* Mockup: elevated slate box + soft blue border */
body.v1-social-screen .v1-social-main .wall-entry-links .v1-action-pill > a:hover,
body.v1-social-screen .v1-social-main .wall-entry-links .likeLinkContainer.v1-action-pill > a:hover,
body.v1-social-screen .v1-social-main .wall-entry-links .commentLink.v1-action-pill > a:hover,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share-toggle:hover,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment.is-open .commentAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment .commentAnchor[aria-expanded="true"],
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share.is-open .v1-post-share-toggle {
  background: #1b2735 !important;
  border-color: #5b9fff !important;
  box-shadow: none;
  color: #ffffff !important;
}

/* Mockup liked = blue (not yellow) */
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like.is-liked .likeAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like.is-liked .unlike.likeAnchor {
  color: #5b9fff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like.is-liked .likeAnchor:hover,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like.is-liked .unlike.likeAnchor:hover {
  background: #1b2735 !important;
  border-color: #5b9fff !important;
  color: #5b9fff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like .likeAnchor i,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like .unlike.likeAnchor i,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment .commentAnchor i,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share-toggle i {
  background: transparent !important;
  border-radius: 0 !important;
  color: inherit !important;
  display: inline-block !important;
  font-size: 16px !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
  place-items: initial !important;
  width: auto !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like .likeAnchor i::before,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-like .unlike.likeAnchor i::before,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-comment .commentAnchor i::before {
  top: 0;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions {
  overflow: visible;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share {
  overflow: visible;
  z-index: 6;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share .v1-share-menu {
  background: rgba(12, 18, 34, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  bottom: calc(100% + 8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  display: none;
  flex-direction: column;
  gap: 2px;
  left: auto;
  max-height: min(360px, 52vh);
  min-width: 196px;
  overflow-y: auto;
  padding: 6px;
  position: absolute;
  right: 0;
  top: auto;
  z-index: 30;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share.is-open .v1-share-menu {
  display: flex;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-item {
  align-items: center;
  border-radius: 8px;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.88) !important;
  display: flex !important;
  flex-direction: row;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  height: auto !important;
  line-height: 1.2 !important;
  min-height: 36px;
  padding: 8px 12px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 18px;
  justify-content: center;
  width: 18px;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-icon i {
  display: block;
  font-size: 15px !important;
  line-height: 1 !important;
  width: auto !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-label {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--facebook .v1-share-menu-icon i {
  color: #6b93e0 !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--twitter .v1-share-menu-icon i {
  color: #6ec4ff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--linkedin .v1-share-menu-icon i {
  color: #4db3e8 !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--whatsapp .v1-share-menu-icon i {
  color: #5ad167 !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--telegram .v1-share-menu-icon i {
  color: #5eb8ef !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--reddit .v1-share-menu-icon i {
  color: #ff8b60 !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--email .v1-share-menu-icon i,
body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-btn--copy .v1-share-menu-icon i {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-divider {
  background: rgba(255, 255, 255, 0.1);
  display: block;
  height: 1px;
  margin: 4px 8px;
}

body.v1-social-screen .v1-social-main .wall-entry-links .v1-share-menu-item.is-copied .v1-share-menu-label {
  color: #5ad167 !important;
}

body.v1-social-screen .v1-share-copy-toast {
  background: rgba(12, 18, 34, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  left: 50%;
  opacity: 0;
  padding: 10px 16px;
  pointer-events: none;
  position: fixed;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

body.v1-social-screen .v1-share-copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.v1-social-screen .v1-social-main .wall-entry-controls:not(.wall-entry-links) {
  margin-left: 0;
}

body.v1-social-screen .v1-social-main .v1-comment-collapse {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  margin-left: 2px;
}

body.v1-social-screen .v1-social-main .v1-comment-collapse-btn {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.55) !important;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  min-width: 28px;
  padding: 0 !important;
  text-decoration: none !important;
  transition: color 0.15s ease, transform 0.2s ease;
  width: 28px;
}

body.v1-social-screen .v1-social-main .v1-comment-collapse-btn:hover,
body.v1-social-screen .v1-social-main .v1-comment-collapse-btn:focus {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
}

body.v1-social-screen .v1-social-main .v1-comment-collapse-btn i {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

body.v1-social-screen .v1-social-main .v1-comment-collapse.is-open .v1-comment-collapse-btn i {
  transform: rotate(180deg);
}

body.v1-social-screen .v1-social-main .v1-comment-collapse.is-open .v1-comment-collapse-btn {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.v1-social-screen .v1-social-main .wall-entry .post-files img,
body.v1-social-screen .v1-social-main .wall-entry .post-files video {
  border-radius: 14px;
  display: block;
  margin-top: 12px;
  max-width: 100%;
}

body.v1-social-screen .wall-entry .comment-create-input-group {
  border-radius: 18px;
  min-height: 46px;
  padding: 6px 6px 6px 12px;
}

body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror p {
  color: #eaf0ff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px!important;
  padding: 8px 0!important;
}

body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit {
  background: linear-gradient(135deg, #6366f1, #a855f7) !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  min-width: 72px;
  padding: 8px 16px !important;
}

body.v1-social-screen .v1-social-main .wall-entry-controls:not(.v1-post-actions) {
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 8px;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-post-like,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-post-comment {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 0;
  height: 22px;
  justify-content: flex-start;
  min-height: 22px;
  overflow: hidden;
  padding: 0 8px 0 0;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .likeLinkContainer.v1-post-like.v1-action-pill,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .commentLink.v1-post-comment.v1-action-pill {
  min-height: 22px;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-post-like:has(.like-count-link[style*="display:none"]),
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-post-like:has(.like-count-link[style*="display: none"]),
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-post-comment:has(.comment-count[style*="display:none"]),
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-post-comment:has(.comment-count[style*="display: none"]) {
  border-radius: 50%;
  height: 22px;
  padding: 0;
  width: 22px;
}

body.v1-social-screen .v1-social-main .v1-post-like .like-count-link {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 22px;
  justify-content: center;
  padding: 0 0 0 5px;
}

body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor,
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor,
body.v1-social-screen .v1-social-main .v1-post-like .like-count-link,
body.v1-social-screen .v1-social-main .v1-post-comment .commentAnchor {
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor,
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor {
  align-items: center;
  display: inline-flex;
  flex: 0 0 22px;
  gap: 0;
  height: 22px;
  justify-content: center;
  padding: 0;
  width: 22px;
}

body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor[style*="display: none"],
body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor[style*="display:none"],
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor[style*="display: none"],
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor[style*="display:none"] {
  display: none !important;
}

body.v1-social-screen .v1-social-main .v1-post-comment .commentAnchor {
  align-items: center;
  box-sizing: border-box;
  display: inline-flex;
  gap: 0;
  height: 22px;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
  width: auto;
}

body.v1-social-screen .v1-social-main .v1-post-comment:has(.comment-count[style*="display:none"]) .commentAnchor,
body.v1-social-screen .v1-social-main .v1-post-comment:has(.comment-count[style*="display: none"]) .commentAnchor {
  gap: 0;
  height: 22px;
  justify-content: center;
  padding: 0 !important;
  width: 22px;
}

body.v1-social-screen .v1-social-main .v1-post-comment .comment-count {
  line-height: 1;
  margin-left: 0;
  padding: 0 0 0 5px;
}

body.v1-social-screen .v1-social-main .v1-post-like.is-liked {
  background: rgba(0, 0, 0, 0.48) !important;
  box-shadow: none !important;
}

/* Shared dark reaction pill (post like, post comment, comment badge) */
body.v1-social-screen .v1-social-main .v1-post-like,
body.v1-social-screen .v1-social-main .v1-post-comment,
body.v1-social-screen .comment-container .v1-like-reaction-badge {
  background: rgba(0, 0, 0, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  gap: 0;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

body.v1-social-screen .v1-social-main .v1-post-like:hover,
body.v1-social-screen .v1-social-main .v1-post-comment:hover,
body.v1-social-screen .comment-container .v1-like-reaction-badge:hover {
  background: rgba(0, 0, 0, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Shared icon circle + count pill (post like + comment reaction badge) */
body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor i,
body.v1-social-screen .comment-container .v1-like-reaction-icon i,
body.v1-social-screen .v1-social-main .v1-post-comment .commentAnchor i {
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  border: 0;
  border-radius: 50%;
  box-sizing: border-box;
  display: grid !important;
  flex-shrink: 0;
  font-size: 12px;
  height: 22px;
  justify-items: center;
  line-height: 1 !important;
  margin: 0;
  padding: 0;
  place-items: center;
  width: 22px;
}

body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor i::before,
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor i::before,
body.v1-social-screen .v1-social-main .v1-post-comment .commentAnchor i::before {
  display: block;
  height: auto;
  line-height: 1;
  position: relative;
  text-align: center;
  top: -1px;
  width: auto;
}

body.v1-social-screen .v1-social-main .v1-post-like .likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-like .unlike.likeAnchor i {
  color: inherit !important;
}

body.v1-social-screen .v1-social-main .v1-post-like.is-liked .likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-like.is-liked .unlike.likeAnchor i,
body.v1-social-screen .comment-container .v1-like-reaction-icon i {
  color: #5b9fff !important;
}

body.v1-social-screen .v1-social-main .v1-post-comment .commentAnchor i {
  color: rgba(255, 255, 255, 0.9) !important;
  flex: 0 0 22px;
  font-size: 12px;
}

body.v1-social-screen .v1-social-main .v1-post-like:has(.like-count-link[style*="display:none"]) .likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-like:has(.like-count-link[style*="display: none"]) .likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-like:has(.like-count-link[style*="display:none"]) .unlike.likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-like:has(.like-count-link[style*="display: none"]) .unlike.likeAnchor i,
body.v1-social-screen .v1-social-main .v1-post-comment:has(.comment-count[style*="display:none"]) .commentAnchor i,
body.v1-social-screen .v1-social-main .v1-post-comment:has(.comment-count[style*="display: none"]) .commentAnchor i {
  background: transparent;
}

body.v1-social-screen .v1-social-main .likeLinkContainer:not(.v1-post-like) .likeAnchor i,
body.v1-social-screen .v1-social-main .likeLinkContainer:not(.v1-post-like) .unlike.likeAnchor i {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 16px;
  height: auto;
  width: auto;
}

body.v1-social-screen .v1-social-main .v1-action-pill,
body.v1-social-screen .v1-social-main .likeLinkContainer.v1-action-pill,
body.v1-social-screen .v1-social-main .commentLink.v1-action-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  gap: 0;
  min-height: 36px;
  overflow: hidden;
}

body.v1-social-screen .v1-social-main .v1-action-pill > a,
body.v1-social-screen .v1-social-main .likeLinkContainer.v1-action-pill > a,
body.v1-social-screen .v1-social-main .commentLink.v1-action-pill > a {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 4px;
  height: 36px;
  line-height: 1;
  padding: 0 12px !important;
  text-decoration: none !important;
}

body.v1-social-screen .v1-social-main .likeLinkContainer.v1-post-like > a,
body.v1-social-screen .v1-social-main .commentLink.v1-post-comment > a {
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .v1-social-main .v1-action-pill > a:hover,
body.v1-social-screen .v1-social-main .likeLinkContainer.v1-action-pill > a:hover,
body.v1-social-screen .v1-social-main .commentLink.v1-action-pill > a:hover {
  background: transparent !important;
  color: #fff !important;
}

body.v1-social-screen .v1-social-main .likeLinkContainer:not(.v1-post-like) .likeAnchor i,
body.v1-social-screen .v1-social-main .commentLink:not(.v1-post-comment) .commentAnchor i,
body.v1-social-screen .v1-social-main .commentLink.v1-comment-reply .commentAnchor i {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 16px;
  line-height: 1;
}

body.v1-social-screen .v1-social-main .likeLinkContainer:not(.v1-post-like) .unlike.likeAnchor i {
  color: #c4b5fd !important;
}

body.v1-social-screen .v1-social-main .like-count-link:has(.likeCount[style*="display: none"]),
body.v1-social-screen .v1-social-main .like-count-link:has(.likeCount:empty) {
  display: none !important;
  padding: 0 !important;
  width: 0 !important;
}

body.v1-social-screen .v1-social-main .like-count-link {
  padding-left: 0 !important;
}

body.v1-social-screen .wall-entry-controls .likeCount,
body.v1-social-screen .wall-entry-controls .comment-count,
body.v1-social-screen .v1-social-main .likeLinkContainer .likeCount,
body.v1-social-screen .v1-social-main .commentLink .comment-count,
body.v1-social-screen .v1-social-main .commentAnchor .comment-count {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  position: static !important;
  top: auto !important;
}

body.v1-social-screen .v1-social-main .commentLink a.btn,
body.v1-social-screen .v1-social-main .commentAnchor.btn {
  box-shadow: none !important;
  min-height: 0 !important;
}

/* Comment thread layout */
body.v1-social-screen .comment-container .media,
body.v1-social-screen .comment-container .v1-comment-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  position: relative;
}
body.v1-social-screen .comment-container .media > .pull-left img,
body.v1-social-screen .comment-container .v1-comment-avatar img,
body.v1-social-screen .comment-container .v1-comment-avatar .img-rounded,
body.v1-social-screen .comment-container .v1-comment-avatar a {
  border-radius: 50% !important;
  display: block !important;
  height: 36px !important;
  max-height: 36px !important;
  max-width: 36px !important;
  object-fit: cover !important;
  overflow: hidden !important;
  width: 36px !important;
}
body.v1-social-screen .comment-container .media > .pull-left,
body.v1-social-screen .comment-container .v1-comment-avatar {
  float: none !important;
  flex: 0 0 36px;
  height: 36px;
  margin: 0 !important;
  width: 36px;
}
body.v1-social-screen .comment-container .media > div:not(.preferences):not(.comment-entry-loader),
body.v1-social-screen .comment-container .v1-comment-body {
  flex: 1;
  min-width: 0;
}
body.v1-social-screen .comment-container .comment-separator {
  display: none;
}
body.v1-social-screen .comment-container .media-heading {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #fff;
}
body.v1-social-screen .comment-container .media-heading small {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
body.v1-social-screen .v1-social-main .wall-entry .time,
body.v1-social-screen .v1-social-main .wall-entry-header .time {
  color: rgba(255, 255, 255, 0.5) !important;
}
body.v1-social-screen .comment-container .comment-message,
body.v1-social-screen .comment-container .comment-message p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) {
  gap: 6px;
  margin-top: 6px;
}
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) .v1-action-pill,
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) .likeLinkContainer.v1-action-pill,
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) .commentLink.v1-action-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  min-height: 30px;
}
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) .v1-action-pill > a,
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) .likeLinkContainer.v1-action-pill > a,
body.v1-social-screen .comment-container .wall-entry-controls:not(.v1-comment-actions) .commentLink.v1-action-pill > a {
  font-size: 12px;
  padding: 5px 10px !important;
}
body.v1-social-screen .comment-container .wall-entry-controls .likeCount,
body.v1-social-screen .comment-container .wall-entry-controls .comment-count {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12px !important;
  position: static !important;
  top: auto !important;
}
body.v1-social-screen .comment-container .nested-comments-root {
  margin-left: 8px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* Comment & post attached images */
body.v1-social-screen .v1-social-main .post-files {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
}
body.v1-social-screen .v1-social-main .imgs-grid {
  max-width: 100%;
  margin: 0;
}
body.v1-social-screen .v1-social-main .imgs-grid .imgs-grid-image:before {
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* Multi-image grid: equal width + height, clean fill (no black bars) */
body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) {
  align-items: stretch;
  display: grid !important;
  font-size: 0;
  gap: 2px;
}
body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-3,
body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-5,
body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) .imgs-grid-image {
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: block !important;
  min-height: 0;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  width: 100% !important;
}
body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) .imgs-grid-image:before {
  display: none;
}
body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) .imgs-grid-image .image-wrap {
  background: transparent;
  border-radius: 0;
  display: block !important;
  inset: 0;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  vertical-align: top !important;
}
body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) .imgs-grid-image .image-wrap img,
body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) .imgs-grid-image .image-wrap video {
  border-radius: 0 !important;
  display: block;
  height: 100% !important;
  margin: 0;
  object-fit: cover !important;
  object-position: center;
  position: static !important;
  top: auto !important;
  width: 100% !important;
}

body.v1-social-screen .comment-container .post-files img {
  max-height: 320px;
  width: auto;
}

body.v1-social-screen .comment-container .post-files {
  margin-top: 10px;
}

body.v1-social-screen .comment-container .post-files .imgs-grid-image img,
body.v1-social-screen .comment-container .post-files .imgs-grid-image video {
  border-radius: 12px;
  display: block;
  max-height: min(320px, 55vh);
  object-fit: cover;
  width: 100%;
}
body.v1-social-screen .v1-social-main .wall-entry .post-files img {
  height: auto !important;
  max-height: min(420px, 70vh);
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}
body.v1-social-screen .v1-social-main .wall-entry .post-files .imgs-grid img,
body.v1-social-screen .v1-social-main .wall-entry .post-files .imgs-grid video {
  height: 100% !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-main .wall-entry .post-files video {
  height: auto !important;
  max-height: min(420px, 70vh);
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  width: auto;
}

body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-1 .imgs-grid-image {
  width: 100%;
}

body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-1 .imgs-grid-image .image-wrap {
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  max-height: min(420px, 70vh);
  overflow: hidden;
  width: 100%;
}

body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-1 .imgs-grid-image .image-wrap img {
  border-radius: 12px !important;
  height: auto !important;
  max-height: min(420px, 70vh);
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
  width: auto;
}

body.v1-social-screen .v1-social-main .imgs-grid .imgs-grid-image .image-wrap video {
  border-radius: 12px;
  display: block;
  height: auto !important;
  max-height: min(420px, 70vh);
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
  width: auto;
}

body.v1-social-screen .v1-social-main .imgs-grid:not(.imgs-grid-1) .imgs-grid-image .image-wrap video {
  border-radius: 0 !important;
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-main .imgs-grid.imgs-grid-1 .imgs-grid-image .image-wrap video {
  margin: 0 auto;
  width: auto;
}
body.v1-social-screen .comment-container .file-preview-item,
body.v1-social-screen .comment-create-input-group .file-preview-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 8px;
  overflow: hidden;
}
body.v1-social-screen .comment-container .file-preview-item img,
body.v1-social-screen .comment-create-input-group .file-preview-item img {
  border-radius: 8px;
  max-height: 120px;
  object-fit: cover;
}

/* Comment form: show uploaded file previews (thumbnails + remove) */
body.v1-social-screen .wall-entry .comment_create .post-file-list.well,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  margin: 10px 0 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list.well:empty,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"]:not(:has(.file-preview-item)) {
  display: none !important;
  margin: 0 !important;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .files,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .files,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Flush previews with avatar column (not only under the text field) */
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-form-row:has(.v1-comment-form-avatar) .v1-comment-form-body > [id^="comment_create_upload_preview_"],
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-row:has(.v1-comment-form-avatar) .v1-comment-form-body > .v1-comment-upload-preview {
  margin-left: -46px;
  max-width: none;
  width: calc(100% + 46px);
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  display: block !important;
  list-style: none;
  margin: 0 !important;
  max-width: 112px;
  min-height: 72px;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  width: 112px;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.mime,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.mime-image,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.mime-video,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.is-media-preview,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.mime,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.mime-image,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.mime-video,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.is-media-preview {
  background-image: none !important;
  display: block !important;
  height: 112px;
  max-width: 112px;
  min-height: 112px;
  padding: 0 !important;
  padding-left: 0 !important;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item .file-preview-content,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item .file-preview-content {
  background: transparent !important;
  color: rgba(234, 240, 255, 0.82);
  display: block;
  font-size: 11px;
  font-weight: 600;
  height: 100%;
  line-height: 1.3;
  min-height: 72px;
  overflow: hidden;
  padding: 10px 28px 10px 10px;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.is-media-preview .file-preview-content,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.mime-image .file-preview-content,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item.mime-video .file-preview-content,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.is-media-preview .file-preview-content,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.mime-image .file-preview-content,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.mime-video .file-preview-content {
  color: transparent;
  font-size: 0;
  height: 100%;
  min-height: 100%;
  padding: 0 !important;
  white-space: normal;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item img,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item .v1-preview-thumb,
body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item video.v1-preview-thumb,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item img,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item .v1-preview-thumb,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item video.v1-preview-thumb {
  background: #0b1020;
  border: 0 !important;
  border-radius: 0;
  display: block !important;
  height: 100% !important;
  left: 0;
  margin: 0 !important;
  max-height: none !important;
  max-width: none !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
  padding: 0 !important;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100% !important;
}

body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item .v1-preview-video-fallback {
  align-items: center;
  background: linear-gradient(145deg, rgba(0, 212, 245, 0.16), rgba(222, 78, 144, 0.22));
  bottom: 0;
  display: flex !important;
  font-size: 28px;
  height: 100% !important;
  justify-content: center;
  left: 0;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  right: 0;
  top: 0;
  width: 100% !important;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item .file_upload_remove_link,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item .file_upload_remove_link {
  align-items: center;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 50%;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex !important;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0 !important;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 24px;
  z-index: 2;
}

body.v1-social-screen .wall-entry .comment_create .post-file-list .file-preview-item .file_upload_remove_link:hover,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item .file_upload_remove_link:hover {
  background: rgba(245, 83, 83, 0.9);
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-upload-progress,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_progress_"] {
  align-self: stretch;
  box-sizing: border-box;
  display: none !important;
  flex: 0 0 auto;
  margin: 8px 0 0 !important;
  max-width: none;
  order: 0;
  width: 100% !important;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-upload-progress.v1-is-uploading,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_progress_"].v1-is-uploading {
  display: block !important;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group {
  order: -1;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-upload-preview,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] {
  flex: 0 0 auto;
  order: 1;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-upload-progress .progress,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_progress_"] .progress {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 6px;
  margin: 0;
  overflow: hidden;
  width: 100% !important;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-upload-progress .progress-bar,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_progress_"] .progress-bar {
  background: linear-gradient(90deg, #6366f1, #de4e90);
  border-radius: 999px;
}

body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.is-video-preview .v1-preview-play,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.mime-video .v1-preview-play,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item.is-media-preview .v1-preview-play {
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 14px;
  height: 34px;
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  z-index: 2;
}

/* HumHub popover hook can leave a stray vertical strip beside video tiles */
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item .popover,
body.v1-social-screen .wall-entry .comment_create [id^="comment_create_upload_preview_"] .file-preview-item + .popover {
  display: none !important;
}
body.v1-social-screen .comment-container .preferences .dropdown-toggle {
  color: rgba(255, 255, 255, 0.45);
}
body.v1-social-screen .comment-container .preferences {
  position: absolute;
  top: 8px;
  right: 0;
  margin: 0;
}

/* ── Comment item layout (card wrapper owns flex now) ── */
body.v1-social-screen .comment-container .v1-comment-item {
  align-items: stretch;
  display: block;
  gap: 0;
  padding: 0;
  position: relative;
}

body.v1-social-screen .comment-container .v1-comment-avatar,
body.v1-social-screen .comment-container .v1-comment-item .v1-comment-avatar {
  border-radius: 50% !important;
  flex-shrink: 0;
  height: 36px !important;
  object-fit: cover;
  width: 36px !important;
}

body.v1-social-screen .comment-container .v1-comment-body {
  flex: 1;
  min-width: 0;
  position: relative;
}

body.v1-social-screen .comment-container .v1-comment-menu {
  position: absolute !important;
  right: 0;
  top: 0;
  margin: 0;
  z-index: 2;
}

body.v1-social-screen .comment-container .v1-comment-item.is-editing .v1-comment-menu,
body.v1-social-screen .comment-container .v1-comment-item:has(.content_edit) .v1-comment-menu {
  display: none !important;
}

body.v1-social-screen .comment-container .v1-comment-item.is-editing .v1-comment-actions,
body.v1-social-screen .comment-container .v1-comment-item:has(.content_edit) .v1-comment-actions {
  display: none !important;
}

body.v1-social-screen .comment-container .v1-comment-menu .dropdown-toggle {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  padding: 0 !important;
  transition: background 0.15s ease, color 0.15s ease;
  width: 28px;
}

body.v1-social-screen .comment-container .v1-comment-menu .dropdown-toggle:hover,
body.v1-social-screen .comment-container .v1-comment-menu .dropdown-toggle:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

body.v1-social-screen .comment-container .v1-comment-menu .dropdown-menu {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-top: 4px;
  min-width: 140px;
}

body.v1-social-screen .comment-container .v1-comment-menu .dropdown-menu > li > a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  padding: 8px 14px;
}

body.v1-social-screen .comment-container .v1-comment-menu .dropdown-menu > li > a:hover {
  background: rgba(46, 196, 243, 0.12);
  color: #fff;
}

body.v1-social-screen .comment-container .comment-entry-loader {
  display: none;
}

body.v1-social-screen .comment-container .nested-comments-root > .comment-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .comment-container .nested-comments-root .comment_create[style*="display: none"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* ── Dark modal (Users who like this, etc.) ── */
body.v1-social-screen #globalModal .modal-content,
body.v1-social-screen #globalModalConfirm .modal-content {
  background: #18191a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  color: #fff;
}

body.v1-social-screen #globalModal .modal-header,
body.v1-social-screen #globalModalConfirm .modal-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px 14px;
}

body.v1-social-screen #globalModal .modal-title,
body.v1-social-screen #globalModalConfirm .modal-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

body.v1-social-screen #globalModal .modal-title strong,
body.v1-social-screen #globalModalConfirm .modal-title strong {
  color: #c4b5fd;
  font-weight: 700;
}

body.v1-social-screen #globalModal .modal-header .close,
body.v1-social-screen #globalModalConfirm .modal-header .close {
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  font-weight: 300;
  opacity: 1;
  text-shadow: none;
}

body.v1-social-screen #globalModal .modal-header .close:hover,
body.v1-social-screen #globalModalConfirm .modal-header .close:hover {
  color: #fff;
}

body.v1-social-screen #globalModal .modal-body,
body.v1-social-screen #globalModalConfirm .modal-body {
  padding: 12px 20px 8px;
}

body.v1-social-screen #globalModal .modal-footer,
body.v1-social-screen #globalModalConfirm .modal-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px 18px;
  text-align: center;
}

body.v1-social-screen #globalModal .modal-footer .btn,
body.v1-social-screen #globalModalConfirm .modal-footer .btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px;
  font-weight: 500;
  min-width: 100px;
  padding: 8px 24px !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.v1-social-screen #globalModal .modal-footer .btn:hover,
body.v1-social-screen #globalModalConfirm .modal-footer .btn:hover,
body.v1-social-screen #globalModal .modal-footer .btn:focus,
body.v1-social-screen #globalModalConfirm .modal-footer .btn:focus,
body.v1-social-screen #globalModal .modal-footer .btn:active,
body.v1-social-screen #globalModalConfirm .modal-footer .btn:active,
body.v1-social-screen #globalModal .modal-footer .btn:focus-visible,
body.v1-social-screen #globalModalConfirm .modal-footer .btn:focus-visible {
  background: rgba(var(--accent-rgb), .16) !important;
  border-color: rgba(var(--accent-rgb), .45) !important;
  box-shadow: none !important;
  color: #fff !important;
  outline: none !important;
}

body.v1-social-screen .v1-userlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.v1-social-screen .v1-userlist-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
  padding: 0;
}

body.v1-social-screen .media-list.v1-userlist li,
body.v1-social-screen .media-list.v1-userlist li.v1-userlist-item,
body.v1-social-screen .media-list.v1-userlist li:hover,
body.v1-social-screen .media-list.v1-userlist li.v1-userlist-item:hover,
body.v1-social-screen .media-list.v1-userlist li.selected {
  background: transparent !important;
  border-left: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .v1-userlist-item:last-child {
  border-bottom: 0;
}

body.v1-social-screen .v1-userlist-link {
  align-items: center;
  color: #fff !important;
  display: flex;
  gap: 12px;
  padding: 12px 4px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

body.v1-social-screen .v1-userlist-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 8px;
}

body.v1-social-screen .v1-userlist-link:hover .v1-userlist-name {
  color: #fff !important;
}

body.v1-social-screen .v1-userlist-avatar {
  border-radius: 50% !important;
  flex-shrink: 0;
  height: 48px !important;
  object-fit: cover;
  width: 48px !important;
}

body.v1-social-screen .v1-userlist-name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

body.v1-social-screen .v1-userlist-empty {
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-align: center;
}
body.v1-social-screen .comment-container .show-all-link {
  color: #9aa8ff !important;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 8px;
  text-decoration: none;
}
body.v1-social-screen .comment-container .show-all-link:hover {
  text-decoration: underline;
}
body.v1-social-screen .comment-container .comments-start-separator {
  display: none;
}
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-row {
  align-items: flex-start;
  border-top: 0;
  display: flex;
  gap: 10px;
  margin-top: 4px;
  padding: 6px 4px 4px;
}
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-avatar {
  flex: 0 0 36px;
  height: 36px;
  line-height: 0;
  position: relative;
  width: 36px;
  z-index: 2;
}
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-avatar > .img-rounded,
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-avatar a {
  border-radius: 50% !important;
  display: block !important;
  height: 36px !important;
  overflow: hidden !important;
  width: 36px !important;
}
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-avatar img,
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-avatar img.img-rounded {
  border: 0 !important;
  border-radius: 50% !important;
  display: block !important;
  height: 36px !important;
  max-height: 36px !important;
  max-width: 36px !important;
  object-fit: cover !important;
  width: 36px !important;
}
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-body {
  flex: 1;
  min-width: 0;
}

/* Mockup: keep send/upload tucked inside the pill */
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .comment-buttons {
  align-items: center;
  align-self: center;
  gap: 4px;
  padding-right: 2px;
}
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .btn-comment-submit {
  align-items: center !important;
  align-self: center !important;
  background: #5b6cff !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 0 !important;
  height: 34px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-width: 68px !important;
  padding: 0 16px !important;
  width: auto !important;
}
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .btn-comment-submit::before {
  color: #fff;
  content: "Send";
  display: block;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .btn-comment-submit:hover {
  background: #7382ff !important;
  color: #fff !important;
}
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .fileinput-button {
  align-items: center;
  align-self: center;
  border-radius: 50%;
  color: rgba(234, 240, 255, 0.4) !important;
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  width: 32px;
}
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .ProseMirror {
  min-height: 36px !important;
}
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .ProseMirror p {
  color: #eaf0ff !important;
  font-size: 14px !important;
  padding: 8px 10px !important;
}

/* ── Action pills: default, hover, liked ── */
body.v1-social-screen .v1-social-main .v1-action-pill,
body.v1-social-screen .v1-social-main .likeLinkContainer.v1-action-pill,
body.v1-social-screen .v1-social-main .commentLink.v1-action-pill {
  transition: background 0.15s ease, transform 0.15s ease;
}

body.v1-social-screen .v1-social-main .v1-action-pill:hover,
body.v1-social-screen .v1-social-main .likeLinkContainer.v1-action-pill:not(.v1-post-like):hover,
body.v1-social-screen .v1-social-main .commentLink.v1-action-pill:not(.v1-post-comment):hover {
  background: var(--v1-hover-bg-strong);
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-action-pill:hover,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .likeLinkContainer.v1-action-pill:hover,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .commentLink.v1-action-pill:hover {
  background: transparent !important;
  transform: none !important;
}

body.v1-social-screen .v1-social-main .v1-action-pill.is-liked,
body.v1-social-screen .v1-social-main .likeLinkContainer.is-liked:not(.v1-post-like) {
  background: rgba(168, 85, 247, 0.12);
  box-shadow: none;
}

body.v1-social-screen .v1-social-main .v1-action-pill.is-liked:hover,
body.v1-social-screen .v1-social-main .likeLinkContainer.is-liked:not(.v1-post-like):hover {
  background: rgba(168, 85, 247, 0.18);
  box-shadow: none;
  transform: translateY(-1px);
}

body.v1-social-screen .v1-social-main .likeLinkContainer.is-liked:not(.v1-comment-like) .unlike.likeAnchor i {
  color: #5b9fff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like.is-liked {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
body.v1-social-screen .v1-social-main .likeLinkContainer.v1-action-pill > a {
  transition: color 0.15s ease;
}

body.v1-social-screen .v1-social-main .v1-action-pill.is-liked > a:hover,
body.v1-social-screen .v1-social-main .likeLinkContainer.is-liked > a:hover {
  background: transparent !important;
}

body.v1-social-screen .v1-social-main .commentLink.v1-action-pill:not(.v1-post-comment):hover .commentAnchor i {
  color: var(--text) !important;
}

/* ── Comment bubbles & thread ── */
body.v1-social-screen .comment-container .v1-comment-identity {
  margin-bottom: 4px;
}

body.v1-social-screen .comment-container .v1-comment-identity .media-heading {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

body.v1-social-screen .comment-container .v1-comment-identity .media-heading a {
  color: #fff !important;
  font-weight: 700;
}

body.v1-social-screen .comment-container .v1-comment-time {
  color: rgba(234, 240, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 500;
}

body.v1-social-screen .comment-container .v1-comment-body .media-body {
  display: none;
}

body.v1-social-screen .comment-container .v1-comment-bubble.comment_edit_content,
body.v1-social-screen .comment-container .v1-comment-body > .comment_edit_content,
body.v1-social-screen .comment-container .media > div:not(.preferences) > .comment_edit_content,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-bubble.comment_edit_content,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-body > .comment_edit_content,
body.v1-social-screen .comment-container .nested-comments-root .media > div:not(.preferences) > .comment_edit_content {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 30px 0 0 !important;
  position: relative;
}

body.v1-social-screen .comment-container .v1-comment-actions.wall-entry-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-left: 0;
  position: relative;
  z-index: 3;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply,
body.v1-social-screen .comment-container .v1-comment-actions .v1-action-pill,
body.v1-social-screen .comment-container .v1-comment-actions .likeLinkContainer.v1-action-pill,
body.v1-social-screen .comment-container .v1-comment-actions .commentLink.v1-action-pill {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: inline-flex;
  min-height: 0 !important;
  overflow: visible;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like {
  align-items: center;
  position: relative;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .likeAnchor {
  align-items: center;
  display: inline-flex !important;
  gap: 0;
  line-height: 1.2;
  white-space: nowrap;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .likeAnchor[style*="display: none"],
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .likeAnchor[style*="display:none"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply > a,
body.v1-social-screen .comment-container .v1-comment-actions .v1-action-pill > a,
body.v1-social-screen .comment-container .v1-comment-actions .likeLinkContainer.v1-action-pill > a,
body.v1-social-screen .comment-container .v1-comment-actions .commentLink.v1-action-pill > a,
body.v1-social-screen .comment-container .v1-comment-actions .commentAnchor.btn {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(234, 240, 255, 0.72) !important;
  cursor: pointer;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 6px;
  min-height: 34px !important;
  padding: 6px 4px !important;
  position: relative;
  text-decoration: none !important;
  z-index: 3;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .v1-action-label {
  line-height: 1.2;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .likeAnchor i {
  display: inline-block !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .likeLinkContainer.is-liked > a,
body.v1-social-screen .comment-container .v1-comment-actions .likeLinkContainer.is-liked .likeAnchor,
body.v1-social-screen .comment-container .v1-comment-actions .likeLinkContainer.is-liked .unlike.likeAnchor {
  color: #c4b5fd !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .likeLinkContainer .likeAnchor i,
body.v1-social-screen .comment-container .v1-comment-actions .commentLink .commentAnchor i {
  color: inherit !important;
  font-size: 15px !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a:hover,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply > a:hover,
body.v1-social-screen .comment-container .v1-comment-actions .v1-action-pill > a:hover,
body.v1-social-screen .comment-container .v1-comment-actions .commentAnchor.btn:hover {
  color: #fff !important;
}

body.v1-social-screen .comment-container .v1-comment-like .like-count-link:not(.v1-comment-like-users),
body.v1-social-screen .comment-container .has-reaction-badge .wall-entry-controls .like-count-link {
  display: none !important;
}

/* Older split-pill rules superseded by unified Like+count pill below */

/* Lightweight like-users hover tip (no Bootstrap modal — avoids cursor flicker) */
.v1-like-users-hover-tip {
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
  color: rgba(234, 240, 255, 0.9);
  cursor: default;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-height: 240px;
  max-width: 260px;
  min-width: 180px;
  overflow: auto;
  padding: 8px 10px 10px;
  pointer-events: auto;
  position: fixed;
  z-index: 10060;
}

.v1-like-users-hover-tip[hidden] {
  display: none !important;
}

.v1-like-users-hover-tip__title {
  color: rgba(234, 240, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  padding: 2px 4px;
}

.v1-like-users-hover-tip__body .v1-userlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v1-like-users-hover-tip__body .v1-userlist-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v1-like-users-hover-tip__body .v1-userlist-link {
  align-items: center;
  color: #eaf0ff !important;
  display: flex;
  gap: 10px;
  padding: 6px 4px;
  text-decoration: none !important;
}

.v1-like-users-hover-tip__body .v1-userlist-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.v1-like-users-hover-tip__body .v1-userlist-avatar {
  border-radius: 50%;
  height: 28px !important;
  object-fit: cover;
  width: 28px !important;
}

.v1-like-users-hover-tip__body .v1-userlist-name {
  font-size: 13px;
  font-weight: 600;
}

.v1-like-users-hover-tip__loading,
.v1-like-users-hover-tip__body .v1-userlist-empty {
  color: rgba(234, 240, 255, 0.55);
  font-size: 13px;
  padding: 8px 4px;
}

/* Stabilize cursor on comment Like + count (no arrow/finger flicker) */
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .likeAnchor,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .v1-comment-like-users,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .v1-action-label,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like i {
  cursor: pointer !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-likes-summary.like-count-link {
  display: inline-flex !important;
}

body.v1-social-screen .comment-container .comment_edit_content .comment-message p {
  margin: 0;
}

/* ── Comment / reply inputs: hover & focus ── */
body.v1-social-screen .wall-entry .comment-create-input-group {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.v1-social-screen .wall-entry .comment-create-input-group:hover {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body.v1-social-screen .wall-entry .comment-create-input-group:focus-within {
  border-color: rgba(46, 196, 243, 0.45) !important;
  box-shadow: 0 0 0 2px rgba(46, 196, 243, 0.12);
  background: rgba(255, 255, 255, 0.06) !important;
}

body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror p.is-editor-empty:first-child::before {
  color: rgba(255, 255, 255, 0.38) !important;
}

body.v1-social-screen .wall-entry .comment-create-input-group .fileinput-button {
  border-radius: 8px;
  transition: background 0.15s ease;
}

body.v1-social-screen .wall-entry .comment-create-input-group .fileinput-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

body.v1-social-screen .wall-entry .comment-create-input-group .fileinput-button:hover i {
  color: #6366f1 !important;
}

body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit {
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit:hover {
  background: #1a9ee0 !important;
  box-shadow: 0 4px 14px rgba(46, 196, 243, 0.35);
  transform: translateY(-1px);
}

body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit:active {
  transform: translateY(0);
}

/* ── Show all comments link ── */
body.v1-social-screen .comment-container .show-all-link {
  transition: color 0.15s ease;
}

body.v1-social-screen .comment-container .show-all-link:hover {
  color: #fff !important;
}

/* ── Legacy share button styles (nested comments etc.) ── */
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-share-links {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-share-btn,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .shareLinkContainer a {
  align-items: center;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 0 !important;
  border-radius: 999px;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
  width: 36px;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-share-btn:hover,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .shareLinkContainer a:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  transform: translateY(-1px);
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-share-btn--facebook i,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .shareLinkContainer a .fa-facebook {
  color: #6b93e0 !important;
  font-size: 16px !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-share-btn--twitter i,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .shareLinkContainer a .fa-twitter {
  color: #6ec4ff !important;
  font-size: 16px !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .v1-share-btn--linkedin i,
body.v1-social-screen .v1-social-main .wall-entry-links:not(.v1-post-actions) .shareLinkContainer a .fa-linkedin {
  color: #4db3e8 !important;
  font-size: 16px !important;
}

/* ── Comment reaction badge (on bubble) — matches post like pill ── */
body.v1-social-screen .comment-container .v1-comment-bubble,
body.v1-social-screen .comment-container .comment_edit_content {
  position: relative;
}

body.v1-social-screen .comment-container .v1-like-reaction-badge {
  align-items: center;
  border-radius: 999px;
  bottom: -10px;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px 0 6px;
  position: absolute;
  right: 10px;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

body.v1-social-screen .comment-container .v1-like-reaction-badge:hover {
  color: #fff !important;
}

body.v1-social-screen .comment-container .v1-like-reaction-icon {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  height: 22px;
  justify-content: center;
  width: 22px;
}

body.v1-social-screen .comment-container .v1-like-reaction-count {
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  min-width: 8px;
  padding-right: 2px;
}

body.v1-social-screen .comment-container .has-reaction-badge .wall-entry-controls .like-count-link {
  display: none !important;
}

body.v1-social-screen .comment-container .has-reaction-badge > .comment_edit_content,
body.v1-social-screen .comment-container .has-reaction-badge > .v1-comment-bubble {
  margin-bottom: 10px;
  padding-bottom: 14px;
}

body.v1-social-screen .v1-social-main .v1-post-like .likeCount,
body.v1-social-screen .v1-social-main .v1-post-comment .comment-count,
body.v1-social-screen .comment-container .v1-like-reaction-count {
  align-items: center;
  color: rgba(255, 255, 255, 0.92) !important;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1;
}

/* ── Compact like-users popup ── */
body.v1-social-screen #globalModal.v1-like-popup-mode {
  overflow: visible !important;
  pointer-events: none !important;
  text-align: left;
  transition: none !important;
}

body.v1-social-screen #globalModal.v1-like-popup-mode.fade {
  opacity: 1 !important;
  transition: none !important;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .modal-dialog.v1-like-users-popup {
  margin: 0 !important;
  max-width: 260px;
  min-width: 200px;
  pointer-events: auto !important;
  position: fixed !important;
  transform: none !important;
  transition: none !important;
  width: auto;
  z-index: 1060;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .modal-content {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

body.v1-social-screen #globalModal.v1-like-popup-mode .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px 8px;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .modal-title {
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .modal-title strong {
  color: #c4b5fd;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .modal-body {
  max-height: 240px;
  overflow-y: auto;
  padding: 6px 10px 10px;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .v1-modal-footer--hidden {
  display: none;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .v1-userlist-link {
  gap: 10px;
  padding: 8px 6px;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .v1-userlist-avatar {
  height: 32px !important;
  width: 32px !important;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .v1-userlist-name {
  font-size: 13px;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .v1-userlist-item,
body.v1-social-screen #globalModal.v1-like-popup-mode .media-list.v1-userlist li:hover {
  background: transparent !important;
  border-bottom: 0;
  border-left: 0 !important;
}

body.v1-social-screen #globalModal.v1-like-popup-mode .v1-userlist-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

body.v1-social-screen.v1-like-popup-open .modal-backdrop {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── v1 mockup post action bar: override legacy pill styles ── */
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .likeLinkContainer.v1-action-pill,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .commentLink.v1-action-pill {
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .likeAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .unlike.likeAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment .commentAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-share-toggle {
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  flex-direction: row !important;
  gap: 6px !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 7px 10px !important;
  white-space: nowrap !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment:has(.comment-count[style*="display:none"]) .commentAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment:has(.comment-count[style*="display: none"]) .commentAnchor {
  gap: 6px !important;
  height: auto !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 7px 10px !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .likeAnchor:hover,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .unlike.likeAnchor:hover,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment .commentAnchor:hover,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-share-toggle:hover,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment.is-open .commentAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment .commentAnchor[aria-expanded="true"],
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-share.is-open .v1-post-share-toggle {
  background: #1b2735 !important;
  border-color: #5b9fff !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like.is-liked .likeAnchor,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like.is-liked .unlike.likeAnchor {
  color: #5b9fff !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .likeAnchor[style*="display: none"],
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .likeAnchor[style*="display:none"],
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .unlike.likeAnchor[style*="display: none"],
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .unlike.likeAnchor[style*="display:none"] {
  display: none !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .like-count-link {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 0 !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .likeAnchor i,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like .unlike.likeAnchor i,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-comment .commentAnchor i,
body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-share-toggle i {
  background: transparent !important;
  border-radius: 0 !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  font-size: 1.5rem !important;
  height: auto !important;
  line-height: 1 !important;
  place-items: initial !important;
  width: auto !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-action-label {
  display: inline !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-post-like.is-liked {
  background: transparent !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .shareLinkContainer a:not(.v1-post-share-toggle):not(.v1-share-menu-item) {
  display: none !important;
}

body.v1-social-screen .v1-social-main .wall-entry-links.v1-post-actions .v1-share-menu-item {
  border-radius: 8px !important;
  height: auto !important;
  min-height: 36px !important;
  width: 100% !important;
}

/* ProseMirror link prompt — match dark v1 UI */
body.v1-social-screen .ProseMirror-prompt,
.ProseMirror-prompt {
  background: #161922 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  box-sizing: border-box;
  color: #eaf0ff !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  max-width: min(420px, calc(100vw - 32px));
  min-width: min(340px, calc(100vw - 32px));
  padding: 18px 18px 16px !important;
  z-index: 1000001 !important;
}

body.v1-social-screen .ProseMirror-prompt h5,
.ProseMirror-prompt h5 {
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.3 !important;
  margin: 0 0 14px !important;
}

body.v1-social-screen .ProseMirror-prompt label,
.ProseMirror-prompt label {
  color: rgba(234, 240, 255, 0.72) !important;
  display: block;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 8px !important;
}

body.v1-social-screen .ProseMirror-prompt input.form-control,
body.v1-social-screen .ProseMirror-prompt select.form-control,
.ProseMirror-prompt input.form-control,
.ProseMirror-prompt select.form-control {
  background: #0e121a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  margin: 0 0 4px !important;
  min-height: 42px;
  padding: 10px 12px !important;
  width: 100%;
}

body.v1-social-screen .ProseMirror-prompt input.form-control::placeholder,
.ProseMirror-prompt input.form-control::placeholder {
  color: rgba(234, 240, 255, 0.4) !important;
}

body.v1-social-screen .ProseMirror-prompt input.form-control:focus,
.ProseMirror-prompt input.form-control:focus {
  background: #121722 !important;
  border-color: rgba(0, 212, 245, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 245, 0.16) !important;
  color: #ffffff !important;
  outline: 0 !important;
}

body.v1-social-screen .ProseMirror-prompt-buttons,
.ProseMirror-prompt-buttons {
  align-items: center;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px !important;
  width: 100%;
}

body.v1-social-screen .ProseMirror-prompt .ProseMirror-prompt-submit,
body.v1-social-screen .ProseMirror-prompt .ProseMirror-prompt-submit.btn,
.ProseMirror-prompt .ProseMirror-prompt-submit,
.ProseMirror-prompt .ProseMirror-prompt-submit.btn {
  align-items: center !important;
  background: #00d4f5 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #081025 !important;
  display: inline-flex !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 38px;
  min-width: 84px;
  padding: 10px 18px !important;
}

body.v1-social-screen .ProseMirror-prompt .ProseMirror-prompt-submit:hover,
body.v1-social-screen .ProseMirror-prompt .ProseMirror-prompt-submit:focus,
.ProseMirror-prompt .ProseMirror-prompt-submit:hover,
.ProseMirror-prompt .ProseMirror-prompt-submit:focus {
  background: #33ddf7 !important;
  color: #081025 !important;
}

body.v1-social-screen .ProseMirror-prompt .btn-default,
body.v1-social-screen .ProseMirror-prompt button.btn-default,
.ProseMirror-prompt .btn-default,
.ProseMirror-prompt button.btn-default {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
  display: inline-flex !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 38px;
  min-width: 84px;
  padding: 10px 18px !important;
}

body.v1-social-screen .ProseMirror-prompt .btn-default:hover,
body.v1-social-screen .ProseMirror-prompt .btn-default:focus,
.ProseMirror-prompt .btn-default:hover,
.ProseMirror-prompt .btn-default:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.v1-social-screen .ProseMirror-prompt .ProseMirror-invalid,
.ProseMirror-prompt .ProseMirror-invalid {
  background: rgba(255, 193, 7, 0.12) !important;
  border: 1px solid rgba(255, 193, 7, 0.45) !important;
  border-radius: 8px !important;
  color: #ffd666 !important;
  margin-top: 8px !important;
  padding: 8px 10px !important;
}

/* ── V1 site footer (exact music/TV footer-clean + footer-dashboard) ── */
body.v1-social-screen {
  overflow-x: clip;
  overflow-y: auto;
}

body.v1-social-screen .v1-social-shell {
  padding-bottom: 48px !important;
}

body.v1-social-screen .v1-site-footer {
  --footer-accent-rgb: 0, 212, 245;
  --footer-accent-2-rgb: 222, 78, 144;
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(var(--footer-accent-2-rgb), .20), transparent 60%),
    radial-gradient(900px 520px at 95% -10%, rgba(var(--footer-accent-rgb), .14), transparent 60%),
    rgba(7, 10, 18, .94);
  border-top: 1px solid rgba(255, 255, 255, .08);
  clear: both;
  color: rgba(234, 240, 255, .82);
  display: block !important;
  flex-shrink: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0;
  opacity: 1 !important;
  padding: 64px 0 26px;
  position: relative;
  visibility: visible !important;
  width: 100%;
  z-index: 20;
}

body.v1-social-screen .v1-site-footer::before {
  background: linear-gradient(
    90deg,
    rgba(var(--footer-accent-2-rgb), .0),
    rgba(var(--footer-accent-2-rgb), .85),
    rgba(var(--footer-accent-rgb), .85),
    rgba(var(--footer-accent-rgb), .0)
  );
  content: "";
  height: 2px;
  left: 0;
  opacity: .9;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

body.v1-social-screen .v1-site-footer-wave {
  height: 76px;
  left: 0;
  opacity: .70;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

body.v1-social-screen .v1-site-footer-wave svg {
  display: block;
  height: 100%;
  width: 100%;
}

body.v1-social-screen .v1-site-footer-inner {
  margin: 0 auto;
  max-width: var(--v1-layout-max);
  padding: 10px var(--v1-layout-pad-x) 0;
  position: relative;
  z-index: 3;
}

/* Bootstrap-like: col-lg-4 + 4x col-lg-2 with g-lg-5 */
body.v1-social-screen .v1-site-footer-grid {
  align-items: stretch;
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr));
}

body.v1-social-screen .v1-site-footer-brand,
body.v1-social-screen .v1-site-footer-col {
  align-self: stretch;
  min-width: 0;
  position: relative;
}

/* Subtle column separators (exact design: left -14px, rgba .08) */
body.v1-social-screen .v1-site-footer-col::before {
  background: rgba(255, 255, 255, .08);
  bottom: 6px;
  content: "";
  left: -14px;
  position: absolute;
  top: 6px;
  width: 1px;
}

body.v1-social-screen .v1-site-footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

body.v1-social-screen .v1-site-footer-logo img {
  display: block;
  height: 48px;
  max-width: 120px;
  object-fit: contain;
  width: auto;
}

body.v1-social-screen .v1-site-footer .v1-site-footer-heading {
  color: rgba(234, 240, 255, .86) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

body.v1-social-screen .v1-site-footer-col > .v1-site-footer-heading {
  margin-bottom: 0 !important;
}

body.v1-social-screen .v1-site-footer-heading--spaced {
  margin-top: 1.5rem !important;
}

body.v1-social-screen .v1-site-footer-tagline,
body.v1-social-screen .v1-site-footer-copy,
body.v1-social-screen .v1-site-footer-address,
body.v1-social-screen .v1-site-footer-address span,
body.v1-social-screen .v1-site-footer-support-link,
body.v1-social-screen .v1-site-footer-links a {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.v1-social-screen .v1-site-footer-tagline {
  color: rgba(234, 240, 255, .76) !important;
  font-weight: 400 !important;
  margin: 0 0 1rem !important;
  max-width: 44ch;
}

body.v1-social-screen .v1-site-footer-brand > .v1-site-footer-heading {
  margin-bottom: 0 !important;
}

body.v1-social-screen .v1-site-footer-copy,
body.v1-social-screen .v1-site-footer-address {
  color: rgba(234, 240, 255, .58) !important;
  font-weight: 400 !important;
  margin: .5rem 0 1.25rem !important;
}

body.v1-social-screen .v1-site-footer-support-link {
  color: rgba(var(--footer-accent-rgb), .95) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.v1-social-screen .v1-site-footer-support-link:hover {
  color: rgba(var(--footer-accent-2-rgb), .95) !important;
  text-decoration: underline !important;
}

body.v1-social-screen .v1-site-footer-address {
  align-items: flex-start;
  display: flex;
  gap: 6px;
}

body.v1-social-screen .v1-site-footer-address i {
  color: rgba(234, 240, 255, .55);
  flex-shrink: 0;
  font-size: 14px !important;
  line-height: 1.5;
  margin-top: 1px;
}

body.v1-social-screen .v1-site-footer-links {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
}

body.v1-social-screen .v1-site-footer-links li {
  margin: 0;
  padding: 0;
}

body.v1-social-screen .v1-site-footer-links a {
  color: rgba(234, 240, 255, .72) !important;
  display: inline-block;
  font-weight: 400 !important;
  padding: 6px 0;
  position: relative;
  text-decoration: none !important;
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
}

body.v1-social-screen .v1-site-footer-links a::after {
  background: linear-gradient(90deg, rgba(124, 58, 237, .85), rgba(34, 211, 238, .85));
  bottom: 2px;
  content: "";
  height: 1px;
  left: 0;
  opacity: .7;
  position: absolute;
  transition: width .2s ease;
  width: 0;
}

body.v1-social-screen .v1-site-footer-links a:hover {
  color: #fff !important;
  transform: translateX(2px);
}

body.v1-social-screen .v1-site-footer-links a:hover::after {
  width: 100%;
}

body.v1-social-screen .v1-site-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 18px;
}

body.v1-social-screen .v1-site-footer-copyright,
body.v1-social-screen .v1-site-footer-credit,
body.v1-social-screen .v1-site-footer-credit a {
  color: rgba(234, 240, 255, .58) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  text-decoration: none !important;
}

/* Keep footer type independent of Bootstrap/HumHub heading rules */
body.v1-social-screen .v1-site-footer h1,
body.v1-social-screen .v1-site-footer h2,
body.v1-social-screen .v1-site-footer h3,
body.v1-social-screen .v1-site-footer h4,
body.v1-social-screen .v1-site-footer h5,
body.v1-social-screen .v1-site-footer h6,
body.v1-social-screen .v1-site-footer p,
body.v1-social-screen .v1-site-footer a,
body.v1-social-screen .v1-site-footer li,
body.v1-social-screen .v1-site-footer span,
body.v1-social-screen .v1-site-footer div {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.v1-social-screen .v1-site-footer-credit a:hover {
  color: rgba(234, 240, 255, .78) !important;
}

@media (max-width: 991.98px) {
  body.v1-social-screen .v1-site-footer-grid {
    gap: 1.5rem 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.v1-social-screen .v1-site-footer-brand {
    grid-column: 1 / -1;
  }

  body.v1-social-screen .v1-site-footer-col::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  body.v1-social-screen .v1-site-footer {
    padding: 48px 0 26px;
  }

  body.v1-social-screen .v1-site-footer-wave {
    height: 58px;
  }

  body.v1-social-screen .v1-site-footer-inner {
    padding: 10px 16px 0;
  }

  body.v1-social-screen .v1-site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.v1-social-screen .v1-site-footer-brand {
    grid-column: 1 / -1;
  }

  body.v1-social-screen .v1-site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── Reference UI typography and theme consistency ── */
body.v1-social-screen {
  --bg-0: #070A12;
  --bg-1: #0B1020;
  --card: #0E1730;
  --text: #EAF0FF;
  --muted: rgba(234, 240, 255, .72);
  --muted-2: rgba(234, 240, 255, .56);
  --border: rgba(255, 255, 255, .10);
  --accent: #00d4f5;
  --accent-2: #de4e90;
  --accent-rgb: 0, 212, 245;
  --accent-2-rgb: 222, 78, 144;
  --v1-bg: #070A12;
  --v1-bg-elevated: #161922;
  --v1-card: #0E1730;
  --v1-card-border: rgba(255, 255, 255, 0.1);
  --v1-text: #EAF0FF;
  --v1-text-muted: rgba(234, 240, 255, .56);
  --v1-hover-bg: rgba(255, 255, 255, 0.05);
  --v1-hover-bg-strong: rgba(0, 212, 245, 0.14);
  --v1-post-bg: #0E1730;
  --v1-cyan: #00d4f5;
  --v1-pink: #de4e90;
  --v1-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(var(--accent-2-rgb), .24), transparent 55%),
    radial-gradient(900px 450px at 100% 0%, rgba(var(--accent-rgb), .18), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1)) !important;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji" !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Do not paint a slab behind the 3-column shell / feed — gaps show body bg */
body.v1-social-screen #layout-content,
body.v1-social-screen .layout-content-container,
body.v1-social-screen .v1-social-main,
body.v1-social-screen .v1-social-shell,
body.v1-social-screen .v1-social-grid,
body.v1-social-screen #content,
body.v1-social-screen #wallStream,
body.v1-social-screen .s2_stream,
body.v1-social-screen .s2_streamContent,
body.v1-social-screen .v1-social-main > .content-container {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.v1-social-screen button,
body.v1-social-screen input,
body.v1-social-screen select,
body.v1-social-screen textarea,
body.v1-social-screen .btn,
body.v1-social-screen .modal,
body.v1-social-screen .dropdown-menu,
body.v1-social-screen .v1-site-footer {
  font-family: inherit !important;
}

body.v1-social-screen .v1-profile-card,
body.v1-social-screen .v1-social-nav-card,
body.v1-social-screen .v1-shortcuts-card,
body.v1-social-screen .v1-widget-card {
  background: #161922 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* Feed posts only (not composer) */
body.v1-social-screen .v1-social-main .panel:not(.post-create-card),
body.v1-social-screen .v1-social-main .stream-entry {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* Composer input card — leave as #161922, do not use post color */
body.v1-social-screen .v1-social-main .panel.post-create-card {
  background: #161922 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.v1-social-screen .v1-profile-card,
body.v1-social-screen .v1-social-nav-card,
body.v1-social-screen .v1-shortcuts-card,
body.v1-social-screen .v1-widget-card {
  box-shadow: none !important;
}

body.v1-social-screen .v1-stories-card {
  background: var(--v1-card) !important;
  border-color: var(--v1-card-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.v1-social-screen .v1-social-main .panel:not(.post-create-card) .panel-body,
body.v1-social-screen .v1-social-main .panel.wall_ .panel-body,
body.v1-social-screen .v1-social-main .stream-entry .panel-body {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.v1-social-screen .v1-social-main .panel:not(.post-create-card) .wall-entry-footer,
body.v1-social-screen .v1-social-main .panel:not(.post-create-card) .stream-entry-addons,
body.v1-social-screen .v1-social-main .panel:not(.post-create-card) .wall-entry-addons,
body.v1-social-screen .v1-social-main .panel:not(.post-create-card) .v1-post-reactions,
body.v1-social-screen .v1-social-main .panel:not(.post-create-card) .wall-entry-links {
  background: transparent !important;
}

body.v1-social-screen .v1-social-nav-link {
  color: rgba(234, 240, 255, 0.84) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

body.v1-social-screen .v1-social-nav-link.is-active {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-2-rgb), 0.1)) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.22) !important;
  color: #fff !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active,
body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active span {
  color: #fff !important;
  font-weight: 700 !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-2-rgb), 0.1)) !important;
  background-image: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-2-rgb), 0.1)) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.22) !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active span {
  background: transparent !important;
  box-shadow: none !important;
}

body.v1-social-screen .v1-social-nav-link.is-active i {
  color: rgba(var(--accent-rgb), 0.98) !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active i {
  color: rgba(var(--accent-rgb), 0.98) !important;
}

body.v1-social-screen .social-feed-tabs .v1-feed-filter.is-active,
body.v1-social-screen .social-feed-tabs .v1-feed-filter.is-active:hover,
body.v1-social-screen .social-feed-tabs .v1-feed-filter.is-active:focus {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-2-rgb), 0.1)) !important;
  border-color: rgba(var(--accent-rgb), 0.28) !important;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.22) !important;
  color: #fff !important;
}

body.v1-social-screen .social-feed-tabs .v1-feed-filter.is-active i {
  color: rgba(var(--accent-rgb), 0.98) !important;
}

body.v1-social-screen .v1-profile-name,
body.v1-social-screen .v1-stories-title,
body.v1-social-screen .v1-widget-title,
body.v1-social-screen .wall-entry .v1-post-author,
body.v1-social-screen .wall-entry .v1-post-author a {
  letter-spacing: -0.015em;
}

/* ── Stories: dash-stories-v3 sizing ── */
body.v1-social-screen {
  --v1-story-outer: 96px;
  --v1-story-inner: 88px;
  --v1-story-you-inner: 88px;
  --v1-story-slot-width: 112px;
  --v1-story-plus-size: 26px;
}

body.v1-social-screen .v1-stories-card {
  margin-bottom: 8px !important;
  min-height: 0 !important;
  padding: 14px 16px 10px !important;
}

body.v1-social-screen .v1-stories-header {
  margin-bottom: 8px !important;
}

body.v1-social-screen .v1-stories-sub {
  font-size: 0.9rem !important;
}

body.v1-social-screen .v1-stories-row {
  gap: 10px !important;
  margin-top: 0 !important;
  padding-bottom: 8px !important;
  padding-top: 0 !important;
  scroll-snap-type: x mandatory;
}

body.v1-social-screen .v1-stories-row::-webkit-scrollbar {
  height: 8px;
}

body.v1-social-screen .v1-stories-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

body.v1-social-screen .v1-story-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: var(--v1-story-slot-width, 112px);
  padding: 12px 10px;
  width: auto;
}

body.v1-social-screen .v1-story-ring,
body.v1-social-screen .v1-story-ring-me,
body.v1-social-screen .v1-story-add.has-story .v1-story-you-wrap {
  height: var(--v1-story-outer, 96px);
  margin-bottom: 0;
  width: var(--v1-story-outer, 96px);
}

body.v1-social-screen .v1-story-ring-me {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px dashed rgba(255, 255, 255, 0.22) !important;
  padding: 4px !important;
}

body.v1-social-screen .v1-story-avatar-me {
  border: 2px solid rgba(7, 10, 18, 0.86);
  height: 100%;
  width: 100%;
}

body.v1-social-screen .v1-story-ring-active,
body.v1-social-screen .v1-story-peer .v1-story-ring-active {
  background: var(--v1-story-ring-gradient) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  padding: 4px !important;
}

body.v1-social-screen .v1-story-ring-active img,
body.v1-social-screen .v1-story-ring-active .v1-story-ring-media.is-video,
body.v1-social-screen .v1-story-peer .v1-story-ring-active img,
body.v1-social-screen .v1-story-peer .v1-story-ring-active .v1-story-ring-media.is-video {
  border: 2px solid rgba(7, 10, 18, 0.86) !important;
  height: var(--v1-story-inner, 88px);
  width: var(--v1-story-inner, 88px);
}

body.v1-social-screen .v1-story-name,
body.v1-social-screen .v1-story-add .v1-story-name,
body.v1-social-screen .v1-story-peer .v1-story-name {
  color: rgba(234, 240, 255, 0.78) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  max-width: var(--v1-story-slot-width, 112px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .v1-story-item:hover .v1-story-name {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.v1-social-screen .v1-stories-zuck.storiesWrapper {
  gap: 10px;
}

body.v1-social-screen .v1-stories-zuck .story {
  min-width: var(--v1-story-slot-width, 112px) !important;
  width: auto !important;
}

body.v1-social-screen .v1-stories-zuck .story > .item-link > .item-preview {
  height: var(--v1-story-outer, 96px) !important;
  width: var(--v1-story-outer, 96px) !important;
}

body.v1-social-screen .v1-stories-zuck .story .info {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
}

@media (max-width: 575.98px) {
  body.v1-social-screen .v1-stories-card {
    min-height: 0 !important;
    padding: 12px 12px 8px !important;
  }

  body.v1-social-screen .v1-story-item,
  body.v1-social-screen .v1-stories-zuck .story {
    min-width: 100px !important;
    padding: 10px 8px;
  }

  body.v1-social-screen .v1-story-ring,
  body.v1-social-screen .v1-story-ring-me,
  body.v1-social-screen .v1-story-add.has-story .v1-story-you-wrap,
  body.v1-social-screen .v1-stories-zuck .story > .item-link > .item-preview {
    height: 86px !important;
    width: 86px !important;
  }

  body.v1-social-screen .v1-story-ring-active img,
  body.v1-social-screen .v1-story-ring-active .v1-story-ring-media.is-video,
  body.v1-social-screen .v1-story-peer .v1-story-ring-active img,
  body.v1-social-screen .v1-story-peer .v1-story-ring-active .v1-story-ring-media.is-video {
    height: 78px !important;
    width: 78px !important;
  }

  body.v1-social-screen .v1-story-name {
    max-width: 100px;
  }
}

/* ── Profile card image controls ── */
body.v1-social-screen .v1-profile-banner-wrap,
body.v1-social-screen .v1-profile-avatar-wrap {
  position: relative;
}

body.v1-social-screen .v1-profile-avatar-wrap {
  border-radius: 50%;
  flex: 0 0 66px;
  height: 66px;
  overflow: hidden;
  width: 66px;
}

body.v1-social-screen .v1-profile-meta {
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

body.v1-social-screen .v1-profile-meta:hover,
body.v1-social-screen .v1-profile-meta:focus {
  color: inherit;
  text-decoration: none;
}

body.v1-social-screen .v1-profile-card .image-upload-buttons {
  align-items: center;
  display: none;
  gap: 5px;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 12;
}

body.v1-social-screen .v1-profile-banner-wrap > .image-upload-buttons {
  right: 10px;
  top: 10px;
}

body.v1-social-screen .v1-profile-avatar-wrap > .image-upload-buttons {
  align-items: center;
  background: rgba(8, 12, 22, 0.62);
  border-radius: 50%;
  gap: 3px;
  inset: 0;
  justify-content: center;
  white-space: nowrap;
}

body.v1-social-screen .v1-profile-avatar-wrap > .image-upload-buttons .btn,
body.v1-social-screen .v1-profile-avatar-wrap > .image-upload-buttons .fileinput-button {
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  height: 20px;
  min-width: 20px;
  padding: 0 4px !important;
}

body.v1-social-screen .v1-profile-avatar-wrap > .image-upload-buttons .btn i,
body.v1-social-screen .v1-profile-avatar-wrap > .image-upload-buttons .fileinput-button i {
  font-size: 10px !important;
}

body.v1-social-screen .v1-profile-card .image-upload-container:hover > .image-upload-buttons,
body.v1-social-screen .v1-profile-card .image-upload-container.v1-upload-controls-open > .image-upload-buttons,
body.v1-social-screen .v1-profile-card .image-upload-buttons:hover,
body.v1-social-screen .v1-profile-card .image-upload-buttons:focus-within {
  display: flex !important;
}

body.v1-social-screen .v1-profile-card .image-upload-buttons .btn,
body.v1-social-screen .v1-profile-card .image-upload-buttons .fileinput-button {
  align-items: center;
  border: 0 !important;
  border-radius: 5px !important;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
  color: #fff !important;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  margin: 0 !important;
  min-width: 28px;
  padding: 0 7px !important;
  width: auto;
}

body.v1-social-screen .v1-profile-card .image-upload-buttons .btn-info,
body.v1-social-screen .v1-profile-card .image-upload-buttons .fileinput-button {
  background: #25aee8 !important;
}

body.v1-social-screen .v1-profile-card .image-upload-buttons .profile-image-crop {
  background: #329ed8 !important;
}

body.v1-social-screen .v1-profile-card .image-upload-buttons .profile-image-delete {
  background: #f04f70 !important;
}

body.v1-social-screen .v1-profile-card .image-upload-buttons .btn:hover,
body.v1-social-screen .v1-profile-card .image-upload-buttons .btn:focus,
body.v1-social-screen .v1-profile-card .image-upload-buttons .fileinput-button:hover,
body.v1-social-screen .v1-profile-card .image-upload-buttons .fileinput-button:focus-within {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

body.v1-social-screen .v1-profile-card .image-upload-buttons .btn i,
body.v1-social-screen .v1-profile-card .image-upload-buttons .fileinput-button i {
  font-size: 13px !important;
  line-height: 1;
  margin: 0 !important;
}

body.v1-social-screen .v1-profile-card .image-upload-loader {
  align-items: center;
  background: rgba(8, 12, 22, 0.72);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 8px;
  position: absolute;
  z-index: 11;
}

body.v1-social-screen .v1-profile-card .v1-profile-avatar-wrap .image-upload-loader {
  border-radius: 50%;
}

body.v1-social-screen .v1-profile-card .image-upload-loader .progress {
  margin: 0;
  width: min(150px, 80%);
}

/* ── Compact profile card (cover image + compact layout) ── */
body.v1-social-screen .v1-social-left .v1-profile-card--compact {
  overflow: hidden;
  padding: 0 !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-banner-wrap {
  background-color: #0b101a;
  border-radius: 14px 14px 0 0;
  display: block !important;
  height: 88px;
  overflow: hidden;
  position: relative;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-banner {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

body.v1-social-screen .v1-profile-banner.is-v1-default-banner-logo {
  background: #0b101a;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  padding: 10px 18px;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-banner-wrap:has(.is-v1-default-banner-logo) .v1-profile-banner-shade {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0) 0%, rgba(10, 16, 28, 0.22) 100%);
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-banner-shade {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.04) 0%, rgba(10, 16, 28, 0.42) 100%);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-content {
  box-sizing: border-box !important;
  padding: 0 14px 14px !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-identity {
  align-items: flex-start;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: -24px !important;
  padding: 0;
  position: relative;
  z-index: 2;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-meta {
  margin-top: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-name {
  display: block !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-handle {
  display: block !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  overflow: visible !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar {
  border: 3px solid rgba(28, 31, 42, 0.98);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  height: 56px;
  width: 56px;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar-wrap {
  flex: 0 0 56px;
  height: 56px;
  margin-top: 4px;
  overflow: hidden;
  width: 56px;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar-wrap > .image-upload-buttons {
  gap: 2px;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar-wrap > .image-upload-buttons .btn,
body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar-wrap > .image-upload-buttons .fileinput-button {
  height: 17px;
  min-width: 17px;
  padding: 0 3px !important;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar-wrap > .image-upload-buttons .btn i,
body.v1-social-screen .v1-profile-card--compact .v1-profile-avatar-wrap > .image-upload-buttons .fileinput-button i {
  font-size: 9px !important;
}

body.v1-social-screen .v1-profile-handle {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  gap: 0;
  margin: 12px 0 0;
  padding: 12px 0 0;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-stat-val {
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-stat-label {
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
}

body.v1-social-screen .v1-profile-card--compact .v1-profile-meta {
  margin-top: 10px;
}

body.v1-social-screen .v1-nav-shortcuts {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 10px;
  padding-top: 12px;
}

body.v1-social-screen .v1-nav-shortcuts .v1-shortcuts-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

body.v1-social-screen .v1-nav-shortcuts .v1-shortcuts-chips {
  gap: 6px;
}

body.v1-social-screen .v1-social-right .v1-widget-card--events {
  margin-top: 12px;
}

body.v1-social-screen .v1-nav-badge {
  background: #ff4d8d;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  min-width: 22px;
  padding: 3px 7px;
}

/* ── Utility top bar (match Music) ── */
body.v1-social-screen .v1-topbar-inner {
  min-height: 34px;
}

body.v1-social-screen .v1-topbar {
  font-size: 12px !important;
}

body.v1-social-screen .v1-topbar-link {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: inherit !important;
  font-weight: 600;
  line-height: 1.2;
}

body.v1-social-screen .v1-topbar-link .bi {
  font-size: 14px;
  line-height: 1;
}

/* ── Top navigation (match design mock colors + Inter) ── */
body.v1-social-screen .v1-topnav.nav-glass {
  background: rgba(7, 9, 18, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: none;
}

body.v1-social-screen .v1-topnav,
body.v1-social-screen .v1-topnav-container,
body.v1-social-screen .v1-topnav-links,
body.v1-social-screen .v1-topnav-links a,
body.v1-social-screen .v1-search,
body.v1-social-screen .v1-search input,
body.v1-social-screen .v1-my-account,
body.v1-social-screen .v1-my-account-text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.v1-social-screen .v1-topnav-container {
  gap: 30px;
  min-height: 64px;
}

body.v1-social-screen .v1-topnav.nav-glass,
body.v1-social-screen .v1-topnav {
  min-height: 64px !important;
  padding-bottom: 5px !important;
  padding-top: 5px !important;
}

body.v1-social-screen .v1-topnav-logo-img {
  height: 50px;
}

body.v1-social-screen .v1-topnav-links {
  flex: 0 1 auto;
  gap: 2px;
  justify-content: flex-start;
  /* Push nav toward tools — large space sits between logo and Home */
  margin-left: auto;
}

body.v1-social-screen .v1-topnav-links a {
  color: #dbdce2 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 10px 14px !important;
  position: relative;
  border-radius: 999px;
  text-shadow: none;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

body.v1-social-screen .v1-topnav-links a:hover,
body.v1-social-screen .v1-topnav-links a:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.v1-social-screen .v1-topnav-links a.is-active {
  background: #1e133d !important;
  border: none !important;
  border-radius: 999px !important;
  /* box-shadow:
    0 0 28px rgba(88, 40, 160, 0.45),
    0 0 12px rgba(120, 60, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important; */
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 10px 18px 12px !important;
}

body.v1-social-screen .v1-topnav-links a.is-active::after {
  /* Reference: violet → cyan underline (not cyan→pink) */
  background: linear-gradient(90deg, #6d55bc 0%, #6580bf 45%, #5f93c4 100%) !important;
  border-radius: 999px;
  bottom: 5px;
  box-shadow: 0 0 8px rgba(95, 147, 196, 0.45);
  content: "" !important;
  display: block !important;
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: calc(100% - 28px);
}

body.v1-social-screen .v1-topnav-tools {
  gap: 12px;
  /* Sit next to nav links (not separated by a flex gap) */
  margin-left: 8px;
  overflow: visible !important;
  position: relative;
  z-index: 30;
}

body.v1-social-screen .v1-topnav-actions,
body.v1-social-screen .v1-topnav-icons {
  align-items: center;
  display: flex;
  gap: 10px;
  overflow: visible !important;
  position: relative;
  z-index: 31;
}

body.v1-social-screen .v1-my-account #account-top-menu,
body.v1-social-screen .v1-my-account #account-top-menu > li.dropdown,
body.v1-social-screen .v1-my-account #account-top-menu > li.account {
  float: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .v1-search-wrap {
  flex: 0 1 260px;
  max-width: 260px;
  min-width: 0;
  width: 100%;
}

body.v1-social-screen .v1-search {
  background: rgba(255, 255, 255, .05) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18) !important;
  flex-wrap: nowrap;
  height: 40px;
  max-width: 260px;
  min-width: 0;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
  width: 100%;
}

body.v1-social-screen .v1-search i {
  color: var(--muted) !important;
}

body.v1-social-screen .v1-search:focus-within {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(var(--accent-rgb), 0.45) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14), 0 14px 30px rgba(0, 0, 0, 0.2) !important;
}

body.v1-social-screen .v1-search input {
  caret-color: #fff;
  color: var(--text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  height: 40px;
  min-width: 0;
}

body.v1-social-screen .v1-search input::placeholder {
  color: var(--muted-2) !important;
  font-weight: 500 !important;
}

body.v1-social-screen .v1-search input:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

@media (min-width: 1440px) {
  body.v1-social-screen .v1-search-wrap,
  body.v1-social-screen .v1-search {
    max-width: 260px;
  }
}

body.v1-social-screen .v1-topnav-notifications > a,
body.v1-social-screen .v1-topnav-notifications .btn-group > a,
body.v1-social-screen .v1-topnav-notifications #icon-notifications,
body.v1-social-screen .v1-topnav-notifications #icon-messages,
body.v1-social-screen .v1-topnav-msg {
  background: #14161e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  height: 40px !important;
  min-width: 40px !important;
  width: 40px !important;
}

body.v1-social-screen .v1-topnav-notifications > a:hover,
body.v1-social-screen .v1-topnav-notifications .btn-group > a:hover,
body.v1-social-screen .v1-topnav-msg:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(var(--accent-rgb), 0.35) !important;
  transform: translateY(-1px);
}

body.v1-social-screen .v1-topnav-notifications > div,
body.v1-social-screen .v1-topnav-notifications > .btn-group,
body.v1-social-screen .v1-topnav-notifications > a,
body.v1-social-screen .v1-topnav-notifications #icon-notifications,
body.v1-social-screen .v1-topnav-notifications #icon-messages,
body.v1-social-screen .v1-topnav-msg {
  overflow: visible !important;
  position: relative !important;
}

body.v1-social-screen .v1-topnav-badge,
body.v1-social-screen .v1-topnav-badge-mail,
body.v1-social-screen .v1-topnav-badge-notifications,
body.v1-social-screen .v1-topnav-notifications #badge-notifications,
body.v1-social-screen .v1-topnav-notifications #badge-messages,
body.v1-social-screen .v1-topnav-notifications .label-notifications,
body.v1-social-screen .v1-topnav-notifications .label-notification,
body.v1-social-screen .v1-topnav-notifications .label-danger,
body.v1-social-screen .v1-topnav-notifications .badge,
body.v1-social-screen .v1-topnav-notifications .label {
  align-items: center !important;
  background: var(--v1-badge, #ff3b5c) !important;
  border: 2px solid #070a12 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  height: 18px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-width: 18px !important;
  padding: 0 5px !important;
  position: absolute !important;
  right: -5px !important;
  text-align: center !important;
  top: -5px !important;
  z-index: 3 !important;
}

body.v1-social-screen .v1-topnav-notifications #badge-notifications:empty,
body.v1-social-screen .v1-topnav-notifications #badge-messages:empty,
body.v1-social-screen .v1-topnav-notifications .label-notifications:empty,
body.v1-social-screen .v1-topnav-notifications .label-notification:empty,
body.v1-social-screen .v1-topnav-notifications #badge-notifications[style*="display:none"],
body.v1-social-screen .v1-topnav-notifications #badge-notifications[style*="display: none"],
body.v1-social-screen .v1-topnav-notifications #badge-messages[style*="display:none"],
body.v1-social-screen .v1-topnav-notifications #badge-messages[style*="display: none"],
body.v1-social-screen .v1-topnav-notifications .label-notifications[style*="display:none"],
body.v1-social-screen .v1-topnav-notifications .label-notifications[style*="display: none"],
body.v1-social-screen .v1-topnav-notifications .label-notification[style*="display:none"],
body.v1-social-screen .v1-topnav-notifications .label-notification[style*="display: none"] {
  display: none !important;
}

body.v1-social-screen .v1-topnav-notifications #badge-notifications:not([style*="display:none"]):not([style*="display: none"]):not(:empty),
body.v1-social-screen .v1-topnav-notifications #badge-messages:not([style*="display:none"]):not([style*="display: none"]):not(:empty),
body.v1-social-screen .v1-topnav-notifications .label-notifications:not([style*="display:none"]):not([style*="display: none"]):not(:empty),
body.v1-social-screen .v1-topnav-notifications .label-notification:not([style*="display:none"]):not([style*="display: none"]):not(:empty) {
  display: inline-flex !important;
}

body.v1-social-screen .v1-my-account {
  align-items: center;
  background: #14161e !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  display: inline-flex;
  gap: 0;
  height: 40px;
  line-height: 1;
  margin: 0 !important;
  overflow: visible !important;
  padding: 0 12px 0 6px;
  position: relative;
  width: auto !important;
  min-width: 0;
  z-index: 40;
}

body.v1-social-screen .v1-my-account:hover {
  background: #1a1c26 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: none;
}

body.v1-social-screen .v1-my-account #account-top-menu {
  align-items: center;
  display: block;
  height: 40px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

/* Keep Bootstrap dropdown structure intact (do NOT flex the <li>) */
body.v1-social-screen .v1-my-account #account-top-menu > li,
body.v1-social-screen .v1-my-account #account-top-menu > li.dropdown,
body.v1-social-screen .v1-my-account #account-top-menu > li.account {
  display: block !important;
  float: none !important;
  height: 40px !important;
  line-height: 1 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

body.v1-social-screen .v1-my-account #account-top-menu > li > a.dropdown-toggle,
body.v1-social-screen .v1-my-account #account-dropdown-link {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  display: inline-flex !important;
  gap: 8px !important;
  height: 40px !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
  width: auto !important;
}

body.v1-social-screen .v1-my-account .user-title {
  display: none !important;
}

body.v1-social-screen .v1-my-account-icon {
  display: none !important;
}

body.v1-social-screen .v1-my-account-avatar {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
  height: 28px;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
  width: 28px;
}

body.v1-social-screen .v1-my-account-text {
  color: #ffffff !important;
  display: inline-block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  line-height: 28px !important;
  margin: 0 !important;
  max-width: 140px;
  overflow: hidden;
  padding: 0 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .v1-my-account #account-top-menu .caret {
  border-bottom: 0 !important;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-top: 4px solid rgba(255, 255, 255, 0.75) !important;
  display: inline-block !important;
  flex-shrink: 0;
  height: 0 !important;
  line-height: 0 !important;
  margin: 0 0 0 2px !important;
  position: relative;
  top: 0 !important;
  vertical-align: middle !important;
  width: 0 !important;
}

body.v1-social-screen .v1-my-account #user-account-image,
body.v1-social-screen .v1-my-account img.img-rounded {
  border: 0 !important;
  border-radius: 50% !important;
  display: block !important;
  height: 28px !important;
  line-height: 0 !important;
  margin: 0 !important;
  object-fit: cover;
  vertical-align: middle;
  width: 28px !important;
}

/* Account dropdown panel */
body.v1-social-screen .v1-my-account #account-top-menu > li > .dropdown-menu,
body.v1-social-screen .v1-my-account ul.dropdown-menu {
  background: #18191a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
  display: none;
  float: none !important;
  left: auto !important;
  list-style: none !important;
  margin: 10px 0 0 !important;
  min-width: 220px !important;
  padding: 8px !important;
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  z-index: 10070 !important;
}

body.v1-social-screen .v1-my-account #account-top-menu > li.open > .dropdown-menu,
body.v1-social-screen .v1-my-account #account-top-menu > li.dropdown.open > .dropdown-menu,
body.v1-social-screen .v1-my-account .dropdown.open > .dropdown-menu,
body.v1-social-screen .v1-my-account #account-top-menu > li.show > .dropdown-menu,
body.v1-social-screen .v1-my-account #account-top-menu > li.dropdown.show > .dropdown-menu,
body.v1-social-screen .v1-my-account .dropdown-menu.show {
  display: block !important;
}

body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li,
body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > .divider {
  display: block !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > .divider {
  background: rgba(255, 255, 255, 0.08) !important;
  height: 1px !important;
  margin: 6px 4px !important;
  overflow: hidden;
}

body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li > a {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
  display: flex !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  gap: 10px !important;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 10px 12px !important;
  text-decoration: none !important;
  width: 100% !important;
}

body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li > a i,
body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li > a .fa,
body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li > a .las {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 16px !important;
  width: 18px;
  text-align: center;
}

body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li > a:hover,
body.v1-social-screen .v1-my-account #account-top-menu .dropdown-menu > li > a:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

@media (max-width: 1280px) {
  body.v1-social-screen .v1-topnav-links {
    gap: 0;
  }

  body.v1-social-screen .v1-topnav-links a {
    font-size: 14px !important;
    padding: 9px 11px !important;
  }

  body.v1-social-screen .v1-topnav-links a.is-active {
    padding: 9px 14px 11px !important;
  }

  body.v1-social-screen .v1-search-wrap,
  body.v1-social-screen .v1-search {
    max-width: 200px;
  }
}

@media (max-width: 1100px) {
  body.v1-social-screen .v1-my-account-text {
    display: none !important;
  }

  body.v1-social-screen .v1-my-account {
    padding: 0 10px !important;
  }
}

/* ── Same gaps as social-layout reference (incl. sticky on scroll) ── */
body.v1-social-screen {
  --v1-nav-height: 70px;
  --v1-layout-gap: 16px;
  --v1-rail-gap: 12px;
  --v1-layout-pad-x: 15px;
  --v1-layout-pad-top: 20px;
  --v1-layout-max: 1140px;
  /* Keep menu→content gap identical while side rails stick */
  --v1-sticky-top: calc(var(--v1-nav-height) + var(--v1-layout-pad-top));
  /* Bottom breathing room so sticky rails clear viewport edge */
  --v1-sticky-bottom: 16px;
  --v1-rail-max-height: calc(100dvh - var(--v1-sticky-top) - var(--v1-sticky-bottom));
  --v1-feed-max: none;
  /* Side rails fixed; center grows to match header/menu container width */
  --v1-col-left: minmax(0, 260px);
  --v1-col-center: minmax(0, 1fr);
  --v1-col-right: minmax(0, 260px);
}

@media (min-width: 992px) and (max-width: 1399px) {
  body.v1-social-screen {
    --v1-col-left: minmax(248px, 272px);
    --v1-col-right: minmax(248px, 272px);
  }
}

@media (min-width: 1400px) {
  body.v1-social-screen {
    --v1-layout-max: 1320px;
    --v1-col-left: minmax(0, 270px);
    --v1-col-right: minmax(0, 270px);
  }
}

body.v1-social-screen .v1-topbar-container,
body.v1-social-screen .v1-topnav-container,
body.v1-social-screen .v1-site-footer-inner {
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--v1-layout-max) !important;
  padding-left: var(--v1-layout-pad-x) !important;
  padding-right: var(--v1-layout-pad-x) !important;
  width: 100%;
}

body.v1-social-screen .v1-topnav-container {
  min-height: var(--v1-nav-height) !important;
}

body.v1-social-screen .v1-social-shell {
  box-sizing: border-box !important;
  margin: 28px auto !important;
  max-width: var(--v1-layout-max) !important;
  min-width: 0;
  overflow-x: clip;
  padding: var(--v1-layout-pad-top) var(--v1-layout-pad-x) 40px !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-grid {
  align-items: start !important;
  box-sizing: border-box !important;
  display: grid !important;
  gap: var(--v1-layout-gap) !important;
  grid-template-columns: var(--v1-col-left) var(--v1-col-center) var(--v1-col-right) !important;
  justify-content: stretch !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (min-width: 1280px) {
  body.v1-social-screen .v1-social-main {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
}

body.v1-social-screen .v1-social-left,
body.v1-social-screen .v1-social-right {
  align-self: start !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--v1-rail-gap) !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  position: sticky !important;
  top: var(--v1-sticky-top) !important;
  width: 100% !important;
}

/* Desktop + laptop: sticky rails scroll inside viewport (profile + nav + shortcuts) */
@media (min-width: 992px) {
  body.v1-social-screen .v1-social-left,
  body.v1-social-screen .v1-social-right {
    max-height: var(--v1-rail-max-height) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-color: rgba(var(--accent-rgb), 0.4) rgba(255, 255, 255, 0.06);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  body.v1-social-screen .v1-social-left::-webkit-scrollbar,
  body.v1-social-screen .v1-social-right::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }

  body.v1-social-screen .v1-social-left::-webkit-scrollbar-track,
  body.v1-social-screen .v1-social-right::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 999px;
  }

  body.v1-social-screen .v1-social-left::-webkit-scrollbar-thumb,
  body.v1-social-screen .v1-social-right::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-rgb), 0.4);
    border-radius: 999px;
  }

  body.v1-social-screen .v1-social-left::-webkit-scrollbar-thumb:hover,
  body.v1-social-screen .v1-social-right::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-rgb), 0.55);
  }

  body.v1-social-screen .v1-social-left > .v1-profile-card,
  body.v1-social-screen .v1-social-left > .v1-social-nav-card,
  body.v1-social-screen .v1-social-left > .v1-shortcuts-card,
  body.v1-social-screen .v1-social-right > .v1-widget-card {
    flex-shrink: 0;
  }
}

@media (min-width: 992px) {
  body.v1-social-screen .v1-social-left > .v1-profile-card {
    background-clip: padding-box;
    isolation: isolate;
  }
}

body.v1-social-screen .v1-social-main {
  gap: var(--v1-rail-gap) !important;
  margin: 0 auto !important;
  max-width: var(--v1-feed-max) !important;
  min-width: 0 !important;
  width: 100% !important;
}

@media (min-width: 1280px) {
  body.v1-social-screen {
    --v1-layout-gap: 18px;
    --v1-col-left: minmax(220px, 260px);
    /* --v1-col-center: minmax(0, 560px);
    --v1-col-right: minmax(220px, 260px); */
  }

  body.v1-social-screen .v1-social-grid {
    justify-content: center !important;
  }
}

@media (min-width: 1400px) {
  body.v1-social-screen {
    /* --v1-layout-gap: 20px;
    --v1-feed-max: 580px;
    --v1-col-left: minmax(250px, 270px);
    --v1-col-center: minmax(0, 580px);
    --v1-col-right: minmax(250px, 270px); */
  }
}

body.v1-social-screen .v1-social-nav-card,
body.v1-social-screen .v1-social-right .v1-widget-card {
  padding: 12px 10px !important;
}

/* Left + right sidebars: same card color and font */
body.v1-social-screen .v1-social-left .v1-social-nav-card,
body.v1-social-screen .v1-social-left .v1-shortcuts-card,
body.v1-social-screen .v1-social-left .v1-profile-card,
body.v1-social-screen .v1-social-right .v1-widget-card,
body.v1-social-screen .v1-stories-card,
body.v1-social-screen .post-create-card.panel {
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .05) !important;
  box-shadow: 0 26px 76px rgba(0, 0, 0, .32) !important;
  box-sizing: border-box !important;
  color: rgba(234, 240, 255, 0.72) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  max-width: 100% !important;
  padding: 16px !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card.v1-profile-card--compact {
  padding: 0 !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-card {
  overflow: visible !important;
  padding: 12px 10px !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link,
body.v1-social-screen .v1-social-left .v1-social-nav-link span,
body.v1-social-screen .v1-social-right .v1-widget-title,
body.v1-social-screen .v1-social-right .v1-widget-title.v1-widget-title-case,
body.v1-social-screen .v1-social-right h3.v1-widget-title,
body.v1-social-screen .v1-social-right .v1-people-name,
body.v1-social-screen .v1-social-right a.v1-people-name,
body.v1-social-screen .v1-social-right .v1-contact-name,
body.v1-social-screen .v1-social-right a.v1-contact-name,
body.v1-social-screen .v1-social-right .v1-event-meta strong,
body.v1-social-screen .v1-social-right .v1-people-empty {
  color: rgba(234, 240, 255, 0.72) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link {
  border-radius: 10px !important;
  gap: 10px !important;
  margin-bottom: 5px !important;
  padding: 10px 12px !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link i {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 20px !important;
  width: 22px !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link:hover,
body.v1-social-screen .v1-social-left .v1-social-nav-link:hover span,
body.v1-social-screen .v1-social-right .v1-people-name:hover,
body.v1-social-screen .v1-social-right a.v1-people-name:hover,
body.v1-social-screen .v1-social-right .v1-contact-name:hover,
body.v1-social-screen .v1-social-right a.v1-contact-name:hover {
  color: #eaf0ff !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link:hover i {
  color: rgba(234, 240, 255, 0.72) !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active,
body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active span {
  color: #eaf0ff !important;
  font-weight: 600 !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active {
  background: rgba(255, 255, 255, 0.045) !important;
  background-image: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link.is-active i {
  color: rgba(234, 240, 255, 0.55) !important;
}

body.v1-social-screen .v1-social-right .v1-widget-sub,
body.v1-social-screen .v1-social-right .v1-people-handle,
body.v1-social-screen .v1-social-right .v1-contact-status,
body.v1-social-screen .v1-social-right .v1-event-meta span {
  color: rgba(234, 240, 255, 0.55) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

body.v1-social-screen .v1-social-left .v1-profile-avatar-wrap {
  background: linear-gradient(135deg, #a855f7, #7c3aed 52%, #ec4899);
  border-radius: 50%;
  flex: 0 0 52px;
  height: 52px;
  padding: 2px;
  width: 52px;
}

body.v1-social-screen .v1-social-left .v1-profile-avatar-wrap > a {
  border-radius: 50%;
  display: block;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-avatar {
  border: 2px solid #161922 !important;
  box-shadow: none !important;
  height: 48px !important;
  width: 48px !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-avatar-wrap {
  flex: 0 0 52px;
  height: 52px;
  margin-top: 0;
  overflow: hidden;
  width: 52px;
}

body.v1-social-screen .v1-social-left .v1-profile-name {
  color: #eaf0ff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body.v1-social-screen .v1-social-left .v1-profile-handle {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid !important;
  align-items: start !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 4px !important;
  justify-content: stretch !important;
  margin: 12px 0 0 !important;
  padding: 12px 0 0 !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat {
  align-items: center !important;
  background: transparent !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  flex: none !important;
  gap: 4px !important;
  justify-content: center !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 6px 2px !important;
  transition: background-color .16s ease !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat:hover,
body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  outline: none !important;
  text-decoration: none !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat.is-disabled,
body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat.is-disabled:hover,
body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat.is-disabled:focus {
  background: transparent !important;
  cursor: default !important;
  pointer-events: none !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat-val {
  color: #eaf0ff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-stat-label {
  color: rgba(234, 240, 255, 0.5) !important;
  display: block !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.15 !important;
  overflow: visible !important;
  text-align: center !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

/* Profile Follow / Message: equal width, centered label+icon */
body.v1-social-screen .v1-social-left .v1-profile-actions {
  align-items: stretch !important;
  display: flex !important;
  gap: 8px !important;
  justify-content: stretch !important;
  margin-top: 12px !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-left .v1-profile-actions-follow {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

body.v1-social-screen .v1-social-left .v1-profile-actions-follow > .btn,
body.v1-social-screen .v1-social-left .v1-profile-actions > a.btn.v1-profile-action-btn-message {
  align-items: center !important;
  display: inline-flex !important;
  flex: 1 1 0 !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

body.v1-social-screen .v1-social-left .v1-profile-actions-follow > a.btn[style*="display:none"],
body.v1-social-screen .v1-social-left .v1-profile-actions-follow > a.btn[style*="display: none"],
body.v1-social-screen .v1-social-left .v1-profile-actions-follow > button.btn[style*="display:none"],
body.v1-social-screen .v1-social-left .v1-profile-actions-follow > button.btn[style*="display: none"],
body.v1-social-screen .v1-social-left .v1-profile-actions-follow > .btn[hidden] {
  display: none !important;
  flex: 0 0 0 !important;
  width: 0 !important;
}

body.v1-stories-title,
body.v1-social-screen .v1-stories-title {
  color: #eaf0ff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

body.v1-social-screen .v1-stories-sub {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

body.v1-social-screen .social-feed-tabs .v1-feed-filter {
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  min-height: 34px !important;
  padding: 6px 12px !important;
}

body.v1-social-screen .social-feed-tabs .v1-feed-filter i {
  font-size: 14px !important;
}

body.v1-social-screen .social-feed-tabs .v1-feed-filter:not(.is-active) {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(234, 240, 255, 0.55) !important;
}

/* ── People you may know (right rail — match design) ── */
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions {
  background: #212029 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  box-sizing: border-box;
  container-type: inline-size;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 18px 16px 16px !important;
}

/* Gap between Albums/Playlists and People you may know */
body.v1-social-screen .v1-social-right .v1-social-rail-scroll {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  width: 100%;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-widget-header {
  margin-bottom: 14px !important;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-widget-title,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions h3.v1-widget-title,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-widget-title.v1-widget-title-case {
  color: #ffffff !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
  margin: 0 0 4px !important;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-widget-sub {
  color: rgba(234, 240, 255, 0.55) !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-item {
  align-items: center !important;
  background: #282830 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  box-sizing: border-box;
  column-gap: 12px !important;
  display: grid !important;
  grid-template-areas:
    "avatar meta"
    "avatar action";
  grid-template-columns: 42px minmax(0, 1fr);
  margin: 0 !important;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 10px 12px !important;
  row-gap: 8px;
  width: 100%;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-avatar {
  align-self: center;
  border-radius: 50%;
  grid-area: avatar;
  height: 42px;
  line-height: 0;
  overflow: hidden;
  width: 42px;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-avatar img {
  border: 0 !important;
  border-radius: 50% !important;
  display: block;
  height: 42px !important;
  object-fit: cover;
  width: 42px !important;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-meta {
  grid-area: meta;
  min-width: 0;
  overflow: hidden;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-name,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions a.v1-people-name {
  color: #ffffff !important;
  display: block !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  overflow: hidden;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-name:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions a.v1-people-name:hover {
  color: #ffffff !important;
  opacity: 0.92;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-handle,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions a.v1-people-handle {
  color: rgba(234, 240, 255, 0.5) !important;
  display: block !important;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin: 2px 0 0 !important;
  overflow: hidden;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  grid-area: action;
  justify-content: flex-start;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

/* Do not force-show buttons HumHub hides via inline display:none */
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action button.btn,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .followButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .unfollowButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .AcceptButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .RejectButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .pendingButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn-sm,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn-primary,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn-success,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn-info {
  align-items: center !important;
  background: #282830 !important;
  background-color: #282830 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  display: inline-flex;
  flex: 1 1 auto;
  flex-shrink: 1;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: clamp(11px, 2.8cqi, 13px) !important;
  font-weight: 600 !important;
  gap: 4px;
  justify-content: center !important;
  line-height: 1 !important;
  max-width: 100%;
  min-height: 32px;
  min-width: 0 !important;
  overflow: hidden;
  padding: 7px 10px !important;
  text-overflow: ellipsis;
  text-shadow: none !important;
  white-space: nowrap;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action button.btn[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action button.btn[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .followButton[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .followButton[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .unfollowButton[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .unfollowButton[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .AcceptButton[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .AcceptButton[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .RejectButton[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .RejectButton[style*="display: none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .pendingButton[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .pendingButton[style*="display: none"] {
  display: none !important;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .btn:focus,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn:focus,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .followButton:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action .unfollowButton:hover {
  background: #32343a !important;
  background-color: #32343a !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-empty {
  background: #282830 !important;
  border-radius: 16px !important;
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 14px 12px !important;
  text-align: center;
}

/* Name tooltip (full name when truncated) */
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-name[title] {
  position: relative;
}

body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-name[title]:hover::after {
  background: #14121b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  bottom: calc(100% + 6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  content: attr(title);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  left: 0;
  line-height: 1.3;
  max-width: 220px;
  padding: 6px 10px;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  z-index: 20;
}

body.v1-social-screen .v1-nav-shortcuts .v1-shortcuts-title {
  color: rgba(234, 240, 255, 0.45) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

body.v1-social-screen .v1-nav-shortcuts .v1-shortcut-chip,
body.v1-social-screen .v1-nav-shortcuts .v1-shortcut-chip span {
  color: rgba(234, 240, 255, 0.86) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

body.v1-social-screen .v1-nav-shortcuts .v1-shortcut-chip {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.v1-social-screen .v1-nav-shortcuts .v1-shortcut-chip i {
  color: rgba(234, 240, 255, 0.72) !important;
  font-size: 18px !important;
}

body.v1-social-screen .v1-topnav-links a {
  letter-spacing: -0.01em;
}

body.v1-social-screen .v1-search input::placeholder {
  color: rgba(234, 240, 255, 0.45) !important;
}

body.v1-social-screen .post-create-card .panel-body,
body.v1-social-screen .v1-social-main .post-create-card {
  padding: 14px 16px !important;
}

body.v1-social-screen .v1-social-main .stream-entry,
body.v1-social-screen .v1-social-main .wall-entry {
  border-radius: 14px !important;
}

body.v1-social-screen .wall-entry .v1-post-author,
body.v1-social-screen .wall-entry .v1-post-author a {
  color: #eaf0ff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

body.v1-social-screen .wall-entry .v1-post-time {
  color: rgba(234, 240, 255, 0.5) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* ── New message compose modal ── */
body.v1-social-screen #globalModal:not(.v1-like-popup-mode).in,
body.v1-social-screen #globalModal:not(.v1-like-popup-mode).modal.in {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  padding: 24px !important;
  padding-top: 24px !important;
  text-align: center;
}

body.v1-social-screen #globalModal:not(.v1-like-popup-mode) .modal-dialog {
  margin: 0 auto !important;
  max-width: 520px;
  position: relative !important;
  top: auto !important;
  transform: none !important;
  width: calc(100% - 32px);
}

/* ── Confirm modal (Leave conversation, delete, etc.) ── */
body.v1-social-screen #globalModalConfirm.in,
body.v1-social-screen #globalModalConfirm.modal.in {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  padding: 24px !important;
  padding-top: 24px !important;
  text-align: center;
}

body.v1-social-screen #globalModalConfirm .modal-dialog {
  margin: 0 auto !important;
  max-width: 420px;
  position: relative !important;
  top: auto !important;
  transform: none !important;
  width: calc(100% - 32px);
}

body.v1-social-screen #globalModal:not(.v1-like-popup-mode) .select2-container--humhub .select2-selection {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
}

body.v1-social-screen #globalModal:not(.v1-like-popup-mode) .select2-container--humhub.select2-container--focus .select2-selection,
body.v1-social-screen #globalModal:not(.v1-like-popup-mode) .select2-container--humhub.select2-container--open .select2-selection {
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
}

body.v1-social-screen #globalModal:not(.v1-like-popup-mode) .select2-container--humhub .select2-search__field {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
}

body.v1-social-screen #globalModal .social-mail-compose-modal .modal-body {
  padding: 16px 20px 10px !important;
}

body.v1-social-screen .social-mail-compose-modal .form-group {
  margin-bottom: 12px !important;
}

body.v1-social-screen .social-mail-compose-modal .help-block {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}

body.v1-social-screen .social-mail-compose-modal .social-mail-compose-input,
body.v1-social-screen .social-mail-compose-modal .form-control {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  min-height: 44px;
  padding: 10px 14px !important;
}

body.v1-social-screen .social-mail-compose-modal .social-mail-compose-input::placeholder,
body.v1-social-screen .social-mail-compose-modal .form-control::placeholder {
  color: rgba(234, 240, 255, 0.45) !important;
}

body.v1-social-screen .social-mail-compose-modal .social-mail-compose-input:focus,
body.v1-social-screen .social-mail-compose-modal .form-control:focus {
  border-color: rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
  outline: 0 !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-container {
  width: 100% !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-container .select2-selection,
body.v1-social-screen .social-mail-compose-modal .select2-container--default .select2-selection--multiple,
body.v1-social-screen .social-mail-compose-modal .select2-container--default .select2-selection--single,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-selection,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-selection--multiple,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-selection--single {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
  min-height: 44px;
  padding: 4px 8px !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-container--focus .select2-selection,
body.v1-social-screen .social-mail-compose-modal .select2-container--open .select2-selection,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub.select2-container--focus .select2-selection,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub.select2-container--open .select2-selection {
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
  outline: 0 !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-container--default .select2-selection__placeholder,
body.v1-social-screen .social-mail-compose-modal .select2-container--default .select2-selection__rendered,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-selection__placeholder,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-selection__rendered {
  color: rgba(234, 240, 255, 0.45) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  line-height: 32px !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-search--inline .select2-search__field,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-search__field {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #eaf0ff !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  margin-top: 2px !important;
  outline: 0 !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-search--inline .select2-search__field::placeholder,
body.v1-social-screen .social-mail-compose-modal .select2-container--humhub .select2-search__field::placeholder {
  color: rgba(234, 240, 255, 0.45) !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-selection__choice {
  align-items: center !important;
  background: rgba(168, 85, 247, 0.14) !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
  border-radius: 999px !important;
  color: #eaf0ff !important;
  display: inline-flex !important;
  font-size: 12px !important;
  gap: 4px;
  height: auto !important;
  margin: 3px 4px 3px 0 !important;
  min-height: 28px;
  padding: 2px 8px 2px 4px !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-selection__choice img {
  border-radius: 50% !important;
  height: 22px !important;
  object-fit: cover;
  width: 22px !important;
}

body.v1-social-screen .social-mail-compose-modal .select2-selection__choice .picker-text {
  line-height: 1.2 !important;
}

body.v1-social-screen .social-mail-compose-modal .humhub-ui-richtext,
body.v1-social-screen .social-mail-compose-modal .ProsemirrorEditor,
body.v1-social-screen .social-mail-compose-modal .ProseMirror {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: #eaf0ff !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  min-height: 120px;
  padding: 12px 14px !important;
}

body.v1-social-screen .social-mail-compose-modal .ProseMirror p {
  margin: 0 0 8px;
}

body.v1-social-screen .social-mail-compose-modal .ProseMirror p.is-editor-empty:first-child::before {
  color: rgba(234, 240, 255, 0.45) !important;
}

body.v1-social-screen #globalModal .social-mail-compose-modal .modal-footer .btn-primary,
body.v1-social-screen #globalModal .social-mail-compose-modal .modal-footer .btn-accent {
  background: var(--v1-gradient-soft) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #070a12 !important;
  font-weight: 700 !important;
  min-width: 96px;
  padding: 8px 22px !important;
}

body.v1-social-screen #globalModal .social-mail-compose-modal .modal-footer .btn-primary:hover,
body.v1-social-screen #globalModal .social-mail-compose-modal .modal-footer .btn-accent:hover {
  filter: brightness(1.05);
}

/* Picker dropdown — fix beige search highlights + alignment */
body.v1-social-screen .select2-results__option {
  padding: 8px 12px !important;
}

body.v1-social-screen .select2-results__option a {
  align-items: center;
  color: inherit !important;
  display: flex !important;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}

body.v1-social-screen .select2-results__option a img.img-rounded {
  border-radius: 50% !important;
  flex-shrink: 0;
  height: 28px !important;
  object-fit: cover;
  width: 28px !important;
}

body.v1-social-screen .select2-results__option .picker-text {
  background: transparent !important;
  color: inherit !important;
  line-height: 1.35 !important;
}

body.v1-social-screen .select2-results__option .highlight,
body.v1-social-screen .select2-results__option span.highlight {
  background: rgba(168, 85, 247, 0.24) !important;
  border-radius: 2px;
  color: #eaf0ff !important;
  padding: 0 1px;
}

body.v1-social-screen .select2-results__option--highlighted,
body.v1-social-screen .select2-results__option--highlighted[aria-selected],
body.v1-social-screen .select2-container--humhub .select2-results__option--highlighted[aria-selected] {
  background: rgba(168, 85, 247, 0.22) !important;
  border-left: 3px solid rgba(168, 85, 247, 0.85) !important;
  color: #eaf0ff !important;
}

body.v1-social-screen .select2-container--humhub .select2-results__option[aria-selected="true"],
body.v1-social-screen .select2-container--humhub .select2-results__option[aria-selected="false"] {
  background: transparent !important;
  border-left: 3px solid transparent !important;
  color: #eaf0ff !important;
}

body.v1-social-screen .select2-results__option--highlighted a,
body.v1-social-screen .select2-results__option--highlighted .picker-text {
  color: #eaf0ff !important;
}

body.v1-social-screen .select2-dropdown {
  max-height: 240px !important;
  overflow: hidden !important;
  z-index: 1065 !important;
}

body.v1-social-screen .select2-results > .select2-results__options {
  max-height: 220px !important;
  overflow-y: auto !important;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  scrollbar-width: thin;
}

body.v1-social-screen .select2-results > .select2-results__options::-webkit-scrollbar {
  width: 6px;
}

body.v1-social-screen .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

body.v1-social-screen .select2-results > .select2-results__options::-webkit-scrollbar-track {
  background: transparent;
}

body.v1-social-screen #globalModal .select2-dropdown {
  border-radius: 12px !important;
  margin-top: 4px !important;
  z-index: 10130 !important;
}


/* ── Search results page ── */
body.v1-social-screen .v1-social-main .v1-search-results-page {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  color: #eaf0ff !important;
  padding: 24px 22px 28px;
}

body.v1-social-screen .v1-social-main .v1-search-results-hero {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

body.v1-social-screen .v1-social-main .v1-search-results-eyebrow {
  color: #a855f7 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  margin: 0 0 8px !important;
  text-transform: uppercase;
}

body.v1-social-screen .v1-social-main .v1-search-results-title {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 760 !important;
  letter-spacing: -0.03em;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-keyword {
  color: #a855f7 !important;
  font-weight: 760 !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-summary {
  color: rgba(234, 240, 255, 0.78) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  max-width: 42rem;
}

body.v1-social-screen .v1-social-main .v1-search-results-count-pill {
  align-items: center;
  background: rgba(168, 85, 247, 0.1) !important;
  border: 1px solid rgba(168, 85, 247, 0.28) !important;
  border-radius: 14px;
  color: #eaf0ff !important;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  min-width: 72px;
  padding: 10px 14px;
  text-align: center;
}

body.v1-social-screen .v1-social-main .v1-search-results-count-pill strong {
  color: #a855f7 !important;
  font-size: 20px;
  font-weight: 760;
}

body.v1-social-screen .v1-social-main .v1-search-results-count-pill span {
  color: rgba(234, 240, 255, 0.7) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.v1-social-screen .v1-social-main .v1-search-results-form {
  align-items: stretch;
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

body.v1-social-screen .v1-social-main .v1-search-results-form-label {
  align-items: center;
  background: rgba(7, 10, 18, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  color: rgba(234, 240, 255, 0.7) !important;
  display: flex;
  flex: 1;
  gap: 10px;
  min-width: 0;
  padding: 0 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.v1-social-screen .v1-social-main .v1-search-results-form-label:focus-within {
  border-color: rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

body.v1-social-screen .v1-social-main .v1-search-results-form-label i {
  color: #a855f7 !important;
  font-size: 18px;
}

body.v1-social-screen .v1-social-main .v1-search-results-form-label input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  flex: 1;
  font-size: 15px !important;
  height: 46px;
  min-width: 0;
  outline: none !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-form-label input::placeholder {
  color: rgba(234, 240, 255, 0.42) !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-submit {
  background: linear-gradient(135deg, #a855f7, #6366f1) !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #081025 !important;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 14px !important;
  font-weight: 760 !important;
  min-width: 108px;
  padding: 0 20px;
  transition: filter 0.15s ease, transform 0.15s ease;
}

body.v1-social-screen .v1-social-main .v1-search-results-submit:hover,
body.v1-social-screen .v1-social-main .v1-search-results-submit:focus {
  color: #081025 !important;
  filter: brightness(1.05);
  outline: none;
}

body.v1-social-screen .v1-social-main .v1-search-results-section + .v1-search-results-section {
  margin-top: 28px;
}

body.v1-social-screen .v1-social-main .v1-search-results-section-head {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

body.v1-social-screen .v1-social-main .v1-search-results-section-title {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 720 !important;
  letter-spacing: -0.01em;
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-section-count {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(234, 240, 255, 0.85) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 3px 9px;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-list,
body.v1-social-screen .v1-social-main .v1-search-results-post-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-item,
body.v1-social-screen .v1-social-main .v1-search-results-post-item {
  align-items: center;
  background: rgba(7, 10, 18, 0.42) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  color: #eaf0ff !important;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

body.v1-social-screen .v1-social-main .v1-search-results-post-item {
  align-items: flex-start;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-item:hover,
body.v1-social-screen .v1-social-main .v1-search-results-post-item:hover,
body.v1-social-screen .v1-social-main .v1-search-results-user-item:focus,
body.v1-social-screen .v1-social-main .v1-search-results-post-item:focus {
  background: rgba(168, 85, 247, 0.08) !important;
  border-color: rgba(168, 85, 247, 0.28) !important;
  color: #ffffff !important;
  outline: none;
  text-decoration: none !important;
  transform: translateY(-1px);
}

body.v1-social-screen .v1-social-main .v1-search-results-avatar {
  border-radius: 50%;
  flex-shrink: 0;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-fallback,
body.v1-social-screen .v1-social-main .v1-search-results-post-icon {
  align-items: center;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.22), rgba(168, 85, 247, 0.18)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #eaf0ff !important;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 760;
  height: 46px;
  justify-content: center;
  width: 46px;
}

body.v1-social-screen .v1-social-main .v1-search-results-post-icon {
  border-radius: 14px;
  color: #a855f7 !important;
  font-size: 20px;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-meta,
body.v1-social-screen .v1-social-main .v1-search-results-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-name,
body.v1-social-screen .v1-social-main .v1-search-results-post-text {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 680 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .v1-social-main .v1-search-results-post-text {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  line-height: 1.4;
  white-space: normal;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-hint,
body.v1-social-screen .v1-social-main .v1-search-results-post-author {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-chevron {
  color: rgba(234, 240, 255, 0.35) !important;
  flex-shrink: 0;
  font-size: 16px;
  margin-left: auto;
  margin-top: 14px;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-item .v1-search-results-chevron {
  margin-top: 0;
}

body.v1-social-screen .v1-social-main .v1-search-results-user-item:hover .v1-search-results-chevron,
body.v1-social-screen .v1-social-main .v1-search-results-post-item:hover .v1-search-results-chevron {
  color: #a855f7 !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-empty {
  align-items: center;
  background: rgba(7, 10, 18, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: rgba(234, 240, 255, 0.78) !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 22px;
  text-align: center;
}

body.v1-social-screen .v1-social-main .v1-search-results-empty-icon {
  align-items: center;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 999px;
  color: #a855f7 !important;
  display: inline-flex;
  font-size: 24px;
  height: 52px;
  justify-content: center;
  margin-bottom: 4px;
  width: 52px;
}

body.v1-social-screen .v1-social-main .v1-search-results-empty h2 {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 720 !important;
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .v1-search-results-empty p {
  color: rgba(234, 240, 255, 0.65) !important;
  margin: 0 !important;
  max-width: 28rem;
}

@media (max-width: 640px) {
  body.v1-social-screen .v1-social-main .v1-search-results-page {
    padding: 18px 14px 22px;
  }

  body.v1-social-screen .v1-social-main .v1-search-results-title {
    font-size: 22px !important;
  }

  body.v1-social-screen .v1-social-main .v1-search-results-form {
    flex-direction: column;
  }

  body.v1-social-screen .v1-social-main .v1-search-results-submit {
    height: 46px;
    width: 100%;
  }

  body.v1-social-screen .v1-social-main .v1-search-results-count-pill {
    display: none;
  }
}

/* ── Profile feed / empty state ── */
body.v1-social-screen .v1-social-main .v1-profile-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-header {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  padding: 2px 2px 0;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-eyebrow {
  color: #a855f7 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  margin: 0 0 6px !important;
  text-transform: uppercase;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-title {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 760 !important;
  letter-spacing: -0.03em;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .streamMessage.v1-profile-feed-empty-wrap,
body.v1-social-screen .v1-social-main .streamMessage.v1-profile-feed-empty-wrap .panel,
body.v1-social-screen .v1-social-main .streamMessage.v1-profile-feed-empty-wrap .panel-body {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fallback: any bare stream empty message still looks like a centered empty card */
body.v1-social-screen .v1-social-main .streamMessage:not(.v1-profile-feed-empty-wrap) {
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .streamMessage:not(.v1-profile-feed-empty-wrap) > .panel {
  background:
    radial-gradient(520px 180px at 50% 0%, rgba(0, 212, 245, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18) !important;
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .streamMessage:not(.v1-profile-feed-empty-wrap) > .panel > .panel-body {
  color: rgba(234, 240, 255, 0.78) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  padding: 36px 24px !important;
  text-align: center !important;
}

body.v1-social-screen .v1-social-main .streamMessage:not(.v1-profile-feed-empty-wrap) > .panel > .panel-body b,
body.v1-social-screen .v1-social-main .streamMessage:not(.v1-profile-feed-empty-wrap) > .panel > .panel-body strong {
  color: #ffffff !important;
  display: block;
  font-size: 18px !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-empty {
  align-items: center;
  background:
    radial-gradient(520px 180px at 50% 0%, rgba(0, 212, 245, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  max-width: none;
  padding: 42px 28px;
  text-align: center;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-empty-icon {
  align-items: center;
  background: linear-gradient(145deg, rgba(0, 212, 245, 0.18), rgba(222, 78, 144, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #00d4f5 !important;
  display: inline-flex;
  font-size: 26px;
  height: 62px;
  justify-content: center;
  margin-bottom: 4px;
  width: 62px;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-empty-icon i {
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-empty-title {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 760 !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
  margin: 0 !important;
}

body.v1-social-screen .v1-social-main .v1-profile-feed-empty-text {
  color: rgba(234, 240, 255, 0.72) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 auto !important;
  max-width: 360px;
}

@media (max-width: 640px) {
  body.v1-social-screen .v1-social-main .v1-profile-feed-title {
    font-size: 20px !important;
  }

  body.v1-social-screen .v1-social-main .v1-profile-feed-empty {
    padding: 32px 18px;
  }
}

/* ── Follow / Following icon fix ── */
/* Post report / global feedback toast above modals */
body.v1-social-screen #status-bar {
  z-index: 10000050 !important;
}
body.v1-social-screen #status-bar .status-bar-body {
  background: rgba(8, 12, 24, 0.92) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
  padding: 16px 20px;
}
body.v1-social-screen #status-bar .status-bar-content .success {
  color: #4ade80 !important;
}

body.v1-social-screen .unfollowButton i,
body.v1-social-screen .followButton i,
body.v1-social-screen .social-follower-following-pill i,
body.v1-social-screen .v1-people-action .btn i {
  display: inline-block;
  font-family: "Line Awesome Free" !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  margin-right: 4px;
  vertical-align: -1px;
}

body.v1-social-screen .unfollowButton .glyphicon,
body.v1-social-screen .followButton .glyphicon,
body.v1-social-screen .AcceptButton .glyphicon,
body.v1-social-screen .RejectButton .glyphicon {
  display: none !important;
}

/* ── Threaded comments UI v2 (mockup) ── */
body.v1-social-screen .comment-container.v1-comment-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin-top: 8px !important;
  padding: 8px 2px 4px !important;
}

body.v1-social-screen .comment-container .comment {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.v1-social-screen .comment-container .v1-comment-item {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .comment-container .v1-comment-card {
  position: relative;
}

body.v1-social-screen .comment-container .v1-comment-card-main {
  align-items: flex-start;
  background: #273246 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 14px !important;
  box-shadow: none;
  display: flex !important;
  gap: 10px;
  padding: 10px 12px 8px !important;
  position: relative;
}

body.v1-social-screen .comment-container .nested-comments-root .v1-comment-card-main {
  background: #232e41 !important;
  border-radius: 12px !important;
  box-shadow: none;
  padding: 9px 11px 7px !important;
}

body.v1-social-screen .comment-container .v1-comment-avatar,
body.v1-social-screen .comment-container .v1-comment-item .v1-comment-avatar,
body.v1-social-screen .comment-container .v1-comment-card-main > a,
body.v1-social-screen .comment-container .v1-comment-card-main > .img-rounded,
body.v1-social-screen .comment-container .v1-comment-card-main > span.img-rounded,
body.v1-social-screen .comment-container .v1-comment-card-main > span.v1-comment-avatar {
  border-radius: 50% !important;
  display: block !important;
  flex: 0 0 40px !important;
  height: 40px !important;
  line-height: 0 !important;
  overflow: hidden !important;
  position: relative;
  width: 40px !important;
}

body.v1-social-screen .comment-container .v1-comment-avatar img,
body.v1-social-screen .comment-container .v1-comment-card-main img.img-rounded,
body.v1-social-screen .comment-container .v1-comment-card-main a img {
  border-radius: 50% !important;
  display: block !important;
  height: 40px !important;
  object-fit: cover !important;
  width: 40px !important;
}

body.v1-social-screen .comment-container .nested-comments-root .v1-comment-avatar,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-card-main > a,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-card-main > .img-rounded,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-card-main > span.img-rounded,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-card-main > span.v1-comment-avatar,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-avatar img,
body.v1-social-screen .comment-container .nested-comments-root .v1-comment-card-main img {
  flex-basis: 36px !important;
  height: 36px !important;
  width: 36px !important;
}

body.v1-social-screen .comment-container .v1-comment-body {
  flex: 1;
  min-width: 0;
  padding-right: 2px;
  position: relative;
}

body.v1-social-screen .comment-container .v1-comment-identity {
  margin-bottom: 4px;
}

body.v1-social-screen .comment-container .v1-comment-identity .media-heading {
  align-items: center;
  color: #fff;
  display: flex !important;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 6px;
  line-height: 1.3;
  margin: 0 !important;
}

body.v1-social-screen .comment-container .v1-comment-identity .media-heading a {
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

body.v1-social-screen .comment-container .v1-comment-time,
body.v1-social-screen .comment-container .v1-comment-time time,
body.v1-social-screen .comment-container .v1-comment-time span {
  color: rgba(234, 240, 255, 0.48) !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
}

body.v1-social-screen .comment-container .v1-comment-time::before {
  color: rgba(234, 240, 255, 0.35);
  content: "·";
  display: inline-block;
  margin-right: 6px;
}

body.v1-social-screen .comment-container .v1-comment-author-badge {
  align-items: center;
  background: #5b6cff !important;
  border: 0 !important;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 3px 8px;
  text-transform: none;
}

body.v1-social-screen .comment-container .comment-message,
body.v1-social-screen .comment-container .comment-message p {
  color: rgba(234, 240, 255, 0.92) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

body.v1-social-screen .comment-container .comment-message a,
body.v1-social-screen .comment-container .comment-message .atwho-user,
body.v1-social-screen .comment-container .comment-message [data-mention],
body.v1-social-screen .comment-container .comment-message a[href*="/u/"] {
  color: #8b9bff !important;
  font-weight: 600;
  text-decoration: none !important;
}

body.v1-social-screen .comment-container .v1-comment-menu {
  position: absolute !important;
  right: 0;
  top: -4px;
  z-index: 5;
}

body.v1-social-screen .comment-container .v1-comment-menu .dropdown-toggle {
  color: rgba(234, 240, 255, 0.35) !important;
  height: 28px !important;
  width: 28px !important;
}

/* Matching Like + Reply pills */
body.v1-social-screen .comment-container .v1-comment-actions.wall-entry-controls {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  margin-top: 8px !important;
  padding: 0 !important;
}

/* Keep Like + Reply on one baseline (ignore BaseStack &nbsp; glue) */
body.v1-social-screen .comment-container .v1-comment-actions.wall-entry-controls > .v1-comment-like,
body.v1-social-screen .comment-container .v1-comment-actions.wall-entry-controls > .v1-comment-reply,
body.v1-social-screen .comment-container .v1-comment-actions.wall-entry-controls > .commentLink {
  align-items: center !important;
  align-self: center !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  height: 34px !important;
  line-height: 1 !important;
  margin: 0 !important;
  max-height: 34px !important;
  min-height: 34px !important;
  vertical-align: middle !important;
}

/* ── Comment Like: one pill = Like + count ── */
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  display: inline-flex !important;
  flex-direction: row !important;
  gap: 0 !important;
  height: 34px !important;
  margin: 0 !important;
  max-height: 34px !important;
  min-height: 34px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like.is-liked {
  background: rgba(244, 63, 94, 0.12) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.likeAnchor,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(234, 240, 255, 0.82) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 6px !important;
  height: 34px !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 34px !important;
  text-decoration: none !important;
  transform: none !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.likeAnchor {
  padding: 0 12px !important;
}

/* Hidden like/unlike must not stack and push Reply down */
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.likeAnchor[style*="display: none"],
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.likeAnchor[style*="display:none"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like:has(.v1-comment-like-users:not([style*="display: none"]):not([style*="display:none"])) > a.likeAnchor {
  padding-right: 6px !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users {
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(234, 240, 255, 0.92) !important;
  font-size: 13px !important;
  font-variant-numeric: tabular-nums;
  font-weight: 700 !important;
  min-width: 1.75em;
  padding: 0 12px 0 8px !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users[style*="display: none"],
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users[style*="display:none"],
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users:empty {
  display: none !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like.is-liked > a.likeAnchor,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like.is-liked > a.v1-comment-like-users,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like .unlike.likeAnchor {
  color: #fb7185 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like.is-liked > a.v1-comment-like-users {
  border-left-color: rgba(244, 63, 94, 0.28) !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.likeAnchor i {
  color: inherit !important;
  display: inline-block !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.likeAnchor:hover,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users:hover,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like > a.v1-comment-like-users.is-hover-active {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like.is-liked > a.likeAnchor:hover,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-like.is-liked > a.v1-comment-like-users:hover {
  background: rgba(244, 63, 94, 0.18) !important;
  color: #fda4af !important;
}

/* Reply stays its own pill — same height/alignment as Like */
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  height: 34px !important;
  margin: 0 !important;
  min-height: 34px !important;
  padding: 0 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply > a,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply .commentAnchor,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply .commentAnchor.btn {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: rgba(234, 240, 255, 0.82) !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 6px !important;
  height: 34px !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply .commentAnchor i {
  font-size: 15px !important;
  line-height: 1 !important;
}

body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply > a:hover,
body.v1-social-screen .comment-container .v1-comment-actions .v1-comment-reply .commentAnchor:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #fff !important;
}

/* Hide duplicate reaction badge on comment bubble — count lives on the Like pill */
body.v1-social-screen .comment-container .v1-comment-bubble > .v1-like-reaction-badge,
body.v1-social-screen .comment-container .comment_edit_content > .v1-like-reaction-badge {
  display: none !important;
}

body.v1-social-screen .comment-container .v1-comment-likes-summary {
  align-items: center;
  color: rgba(234, 240, 255, 0.5) !important;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 600;
  gap: 6px;
  margin-left: auto;
  text-decoration: none !important;
}

body.v1-social-screen .comment-container .v1-comment-likes-summary .v1-like-reaction-icon {
  align-items: center;
  background: rgba(244, 63, 94, 0.18);
  border-radius: 50%;
  color: #fb7185;
  display: inline-flex;
  font-size: 0.68rem;
  height: 18px;
  justify-content: center;
  width: 18px;
}

body.v1-social-screen .comment-container .v1-comment-bubble .v1-like-reaction-badge {
  display: none !important;
}

/* Continuous thread rail under parent avatar */
body.v1-social-screen .comment-container .nested-comments-root {
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  margin: 0 0 0 18px;
  padding: 6px 0 2px 20px;
  position: relative;
}

body.v1-social-screen .comment-container .nested-comments-root:empty,
body.v1-social-screen .comment-container .nested-comments-root:not(:has(.v1-comment-item)):not(:has(.comment_create:not([style*="display: none"]))) {
  border: 0;
  margin: 0;
  padding: 0;
}

body.v1-social-screen .comment-container .nested-comments-root > .comment-container {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

body.v1-social-screen .comment-container .nested-comments-root > .comment-container::before,
body.v1-social-screen .comment-container .nested-comments-root > .comment-container::after {
  display: none !important;
}

body.v1-social-screen .comment-container .nested-comments-root .comment {
  gap: 8px;
}

body.v1-social-screen .comment-container .nested-comments-root .v1-comment-item {
  position: relative;
}

body.v1-social-screen .comment-container .nested-comments-root .v1-comment-item::before {
  background: rgba(255, 255, 255, 0.12);
  content: "";
  height: 2px;
  left: -23px;
  position: absolute;
  top: 24px;
  width: 18px;
}

body.v1-social-screen .comment-container .nested-comments-root .comment_create {
  margin-top: 8px;
  padding-left: 0;
  position: relative;
}

body.v1-social-screen .comment-container .nested-comments-root .comment_create:not([style*="display: none"])::before {
  background: rgba(255, 255, 255, 0.12);
  content: "";
  height: 2px;
  left: -23px;
  position: absolute;
  top: 22px;
  width: 18px;
}

/* Compose bar */
body.v1-social-screen .wall-entry .comment_create .v1-comment-form-row {
  align-items: center;
  border-top: 0 !important;
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding: 6px 0 2px;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-form-avatar {
  flex: 0 0 36px;
  height: 36px;
  width: 36px;
}

body.v1-social-screen .wall-entry .nested-comments-root .comment-create-input-group,
body.v1-social-screen .wall-entry .comment-create-input-group,
body.v1-social-screen .wall-entry .comment_create .comment-create-input-group {
  align-items: center !important;
  background: #151b27 !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  /* Fixed radius: pill-like when short, rounded rect when multi-line (999px became a huge oval). */
  border-radius: 18px !important;
  display: flex !important;
  gap: 4px;
  min-height: 44px;
  padding: 6px 6px 6px 14px !important;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .ProseMirror,
body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror {
  caret-color: #fff !important;
  color: #eaf0ff !important;
  max-height: 160px !important;
  /* min-height: 32px !important; */
  overflow-y: auto !important;
  text-align: left !important;
  width: 100%;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .ProseMirror p,
body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror p {
  color: #eaf0ff !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 6px 4px !important;
  text-align: left !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

/* HumHub placeholder widgets stack over typed comment text */
body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror .ProseMirror-placeholder,
body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror .placeholder,
body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror .atwho-placeholder {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  color: transparent !important;
  display: block !important;
  font-size: 0 !important;
  height: 0 !important;
  left: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
}

body.v1-social-screen .wall-entry .comment_create .v1-comment-form-row {
  align-items: flex-start !important;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .comment-buttons,
body.v1-social-screen .wall-entry .comment-create-input-group .comment-buttons {
  align-items: center;
  align-self: center;
  display: flex;
  flex-shrink: 0;
  gap: 2px;
  padding-right: 0;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .fileinput-button,
body.v1-social-screen .wall-entry .comment-create-input-group .fileinput-button {
  align-items: center;
  align-self: center;
  border-radius: 50% !important;
  color: rgba(234, 240, 255, 0.42) !important;
  display: inline-flex !important;
  flex-shrink: 0;
  height: 32px !important;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  width: 32px !important;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .btn-comment-submit,
body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit {
  align-items: center !important;
  align-self: center !important;
  background: #5b6cff !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  display: inline-flex !important;
  flex-shrink: 0;
  font-size: 0 !important;
  height: 34px !important;
  justify-content: center !important;
  margin: 0 !important;
  min-width: 68px !important;
  padding: 0 16px !important;
  width: auto !important;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .btn-comment-submit::before,
body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit::before {
  color: #fff !important;
  content: "Send" !important;
  display: block !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body.v1-social-screen .wall-entry .comment_create .comment-create-input-group .btn-comment-submit:hover,
body.v1-social-screen .wall-entry .comment-create-input-group .btn-comment-submit:hover {
  background: #7382ff !important;
  color: #fff !important;
}

/* Comment emoji toolbar only — remove white bar above input */
body.v1-social-screen .comment_create .ProseMirror-menubar,
body.v1-social-screen .comment-container .ProseMirror-menubar,
body.v1-social-screen .wall-entry .comment_create .ProsemirrorEditor .ProseMirror-menubar,
body.v1-social-screen .wall-entry .comment-create-input-group .ProseMirror-menubar,
body.v1-social-screen .comment_create .ProsemirrorEditor.focusMenu .ProseMirror-menubar,
body.v1-social-screen .comment-container .ProsemirrorEditor.focusMenu .ProseMirror-menubar,
body.v1-social-screen .wall-entry .comment_create .ProsemirrorEditor.focusMenu .ProseMirror-menubar {
  background: #1a2130 !important;
  background-color: #1a2130 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  box-shadow: none !important;
  color: rgba(234, 240, 255, 0.75) !important;
  padding: 2px 4px !important;
}

body.v1-social-screen .comment_create .ProseMirror-menubar .ProseMirror-icon,
body.v1-social-screen .comment_create .ProseMirror-menubar .ProseMirror-menu-active,
body.v1-social-screen .comment_create .ProseMirror-menubar [class*="ProseMirror-menu"],
body.v1-social-screen .comment-container .ProseMirror-menubar .ProseMirror-icon,
body.v1-social-screen .comment-container .ProseMirror-menubar [class*="ProseMirror-menu"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: rgba(234, 240, 255, 0.85) !important;
}

body.v1-social-screen .comment_create .ProseMirror-menubar .ProseMirror-icon:hover,
body.v1-social-screen .comment_create .ProseMirror-menubar [class*="ProseMirror-menu"]:hover,
body.v1-social-screen .comment-container .ProseMirror-menubar .ProseMirror-icon:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

body.v1-social-screen .comment_create .ProseMirror-menuitem .seperator,
body.v1-social-screen .comment_create .ProseMirror-menuseparator,
body.v1-social-screen .comment-container .ProseMirror-menuitem .seperator {
  border-color: transparent !important;
}


body.v1-social-screen #globalModal .ProsemirrorEditor,
body.v1-social-screen #globalModal .ProseMirror {
  text-align: left !important;
}

@media (max-width: 640px) {
  body.v1-social-screen .comment-container .v1-comment-card-main {
    border-radius: 14px !important;
    gap: 10px;
    padding: 12px !important;
  }

  body.v1-social-screen .comment-container .nested-comments-root {
    margin-left: 14px;
    padding-left: 16px;
  }

  body.v1-social-screen .comment-container .nested-comments-root .v1-comment-item::before,
  body.v1-social-screen .comment-container .nested-comments-root .comment_create:not([style*="display: none"])::before {
    left: -16px;
    width: 12px;
  }

  body.v1-social-screen .comment-container .v1-comment-likes-summary {
    flex-basis: 100%;
    margin-left: 0;
  }
}

/* ── Global responsive overrides (desktop !important grid broke mobile) ── */
body.v1-social-screen,
body.v1-social-screen .container,
body.v1-social-screen .v1-social-shell,
body.v1-social-screen .v1-social-grid,
body.v1-social-screen .v1-social-main {
  max-width: 100%;
  min-width: 0;
}

body.v1-social-screen {
  overflow-x: clip;
}

body.v1-social-screen .v1-social-shell {
  box-sizing: border-box;
  width: 100%;
}

body.v1-social-screen .v1-stories-track,
body.v1-social-screen .v1-stories-card .v1-stories-row,
body.v1-social-screen .storiesWrapper,
body.v1-social-screen .v1-stories-zuck {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

body.v1-social-screen .wall-entry,
body.v1-social-screen .stream-entry,
body.v1-social-screen .panel,
body.v1-social-screen .post-files,
body.v1-social-screen .post-files img,
body.v1-social-screen .post-files video {
  max-width: 100%;
}

body.v1-social-screen .post-files img,
body.v1-social-screen .post-files video {
  height: auto;
  max-height: min(420px, 70vh);
  object-fit: contain;
}

/* Mid desktop / browser zoom: keep right rail, shrink columns instead of hiding widgets */
@media (max-width: 1279px) {
  body.v1-social-screen {
    --v1-col-left: minmax(0, 200px);
    --v1-col-right: minmax(0, 200px);
  }

  body.v1-social-screen .v1-social-grid {
    gap: var(--v1-layout-gap, 12px) !important;
    grid-template-columns: var(--v1-col-left) var(--v1-col-center) var(--v1-col-right) !important;
    justify-content: stretch !important;
  }

  body.v1-social-screen .v1-social-right {
    display: flex !important;
    min-width: 0 !important;
  }

  body.v1-social-screen .v1-social-main {
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
}

/* Narrow tablet / large phone: stack sidebar above feed */
@media (max-width: 991px) {
  body.v1-social-screen .v1-social-shell {
    padding: 16px 14px 28px !important;
  }

  body.v1-social-screen .v1-social-grid {
    gap: 14px !important;
    grid-template-columns: 1fr !important;
  }

  body.v1-social-screen .v1-social-left,
  body.v1-social-screen .v1-social-right {
    position: static !important;
    top: auto !important;
    width: 100% !important;
  }

  body.v1-social-screen .v1-social-left {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: 1fr 1fr !important;
  }

  body.v1-social-screen .v1-social-left > .v1-profile-card {
    grid-column: 1 / -1 !important;
  }

  body.v1-social-screen .v1-social-main {
    max-width: none !important;
    width: 100% !important;
  }

  /* Tablet: keep list + chat side-by-side and full width of the shell */
  body.v1-social-screen .social-messages-panel {
    height: calc(100dvh - var(--v1-nav-height, 70px) - 58px) !important;
    max-height: calc(100dvh - var(--v1-nav-height, 70px) - 58px) !important;
    min-height: 480px !important;
    width: 100% !important;
  }

  body.v1-social-screen .social-messages-grid {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  body.v1-social-screen .social-conversations {
    border-bottom: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    max-height: none !important;
  }

  body.v1-social-screen #mail-conversation-root,
  body.v1-social-screen .social-chat-panel {
    min-height: 0 !important;
  }
}

/* Phone */
@media (max-width: 767px) {
  body.v1-social-screen .v1-social-shell {
    padding: 12px 10px 24px !important;
  }

  body.v1-social-screen .v1-social-grid {
    gap: 12px !important;
    grid-template-columns: 1fr !important;
  }

  body.v1-social-screen .v1-social-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  body.v1-social-screen .v1-social-left > .v1-profile-card,
  body.v1-social-screen .v1-social-left > .v1-social-nav-card,
  body.v1-social-screen .v1-social-left > .v1-shortcuts-card {
    grid-column: auto !important;
    width: 100% !important;
  }

  body.v1-social-screen .v1-social-nav-card {
    padding: 8px !important;
  }

  body.v1-social-screen .v1-social-left .v1-social-nav-link {
    padding: 9px 10px !important;
  }

  body.v1-social-screen .v1-social-left .v1-social-nav-link,
  body.v1-social-screen .v1-social-left .v1-social-nav-link span {
    font-size: 14px !important;
    white-space: nowrap;
  }

  body.v1-social-screen .v1-topnav-container {
    padding: 0 10px !important;
  }

  body.v1-social-screen .v1-topnav-links,
  body.v1-social-screen .v1-topnav-tools .v1-search,
  body.v1-social-screen .v1-search {
    display: none !important;
  }

  body.v1-social-screen .v1-feed-filters,
  body.v1-social-screen .v1-stream-filters {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.v1-social-screen .wall-entry-links.v1-post-actions {
    gap: 0 !important;
  }

  body.v1-social-screen .v1-social-main .wall-entry-links .v1-action-pill > a,
  body.v1-social-screen .v1-social-main .wall-entry-links .likeLinkContainer.v1-action-pill > a,
  body.v1-social-screen .v1-social-main .wall-entry-links .commentLink.v1-action-pill > a,
  body.v1-social-screen .v1-social-main .wall-entry-links .v1-post-share-toggle {
    font-size: 0.78rem !important;
    gap: 4px !important;
    padding: 8px 4px !important;
  }

  body.v1-social-screen .v1-site-footer-inner {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.v1-social-screen .social-people-filter-search-row,
  body.v1-social-screen .social-people-head,
  body.v1-social-screen .social-followers-head,
  body.v1-social-screen .social-following-head {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.v1-social-screen .social-people-list,
  body.v1-social-screen .social-people-grid {
    grid-template-columns: 1fr !important;
  }

  body.v1-social-screen .comment-container .v1-comment-card-main {
    padding: 10px !important;
  }

  body.v1-social-screen .wall-entry .comment_create .v1-comment-form-row {
    gap: 8px;
  }

  body.v1-social-screen .wall-entry .comment-create-input-group {
    min-height: 40px;
    padding-left: 10px !important;
  }
}

@media (max-width: 480px) {
  body.v1-social-screen .v1-social-shell {
    padding: 10px 8px 20px !important;
  }

  body.v1-social-screen .v1-profile-card--compact .v1-profile-stats {
    justify-content: space-evenly !important;
  }

  body.v1-social-screen .v1-social-main .wall-entry-links .v1-action-label {
    display: inline !important;
  }

  body.v1-social-screen .social-messages-panel {
    border-radius: 12px !important;
  }
}

/* Images / videos / followers toolbars on small screens */
@media (max-width: 767px) {
  body.v1-social-screen .social-images-toolbar,
  body.v1-social-screen .social-videos-toolbar,
  body.v1-social-screen .social-followers-toolbar,
  body.v1-social-screen .social-following-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  body.v1-social-screen .social-images-search,
  body.v1-social-screen .social-videos-search,
  body.v1-social-screen .social-followers-search,
  body.v1-social-screen .social-following-search {
    min-width: 0 !important;
    width: 100% !important;
  }

  body.v1-social-screen .social-images-upload-btn,
  body.v1-social-screen .social-videos-upload-btn {
    justify-content: center;
    width: 100%;
  }

  body.v1-social-screen .social-images-tabs,
  body.v1-social-screen .social-videos-tabs,
  body.v1-social-screen .social-followers-tabs,
  body.v1-social-screen .social-following-tabs,
  body.v1-social-screen .v1-feed-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.v1-social-screen .social-images-tabs .v1-feed-filter,
  body.v1-social-screen .social-videos-tabs .v1-feed-filter,
  body.v1-social-screen .v1-feed-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* ── Messages page: phone list/chat swap ── */
body.v1-social-screen .v1-mail-back-btn {
  display: none;
}

body.v1-social-screen .social-chat-head-main {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  min-width: 0;
}

body.v1-social-screen .social-chat-head-copy {
  flex: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  body.v1-social-screen .social-mail-page {
    padding: 0 !important;
    width: 100%;
  }

  body.v1-social-screen .social-messages-panel,
  body.v1-social-screen .social-messages-grid {
    height: calc(100dvh - 88px) !important;
    max-height: calc(100dvh - 88px) !important;
    min-height: 420px !important;
  }

  body.v1-social-screen .social-messages-grid {
    grid-template-columns: 1fr !important;
  }

  body.v1-social-screen .social-conversations {
    border-bottom: 0 !important;
    border-right: 0 !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  /* Override HumHub mail.css mobile hide + slideUp inline display:none */
  body.v1-social-screen .inbox-wrapper,
  body.v1-social-screen .social-conversations-list-wrap,
  body.v1-social-screen .social-conversations-list-wrap.inbox-wrapper {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  body.v1-social-screen .social-chat.messages.conversations,
  body.v1-social-screen #mail-conversation-root,
  body.v1-social-screen .social-chat-panel {
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
  }

  /* Default: show conversation list only */
  body.v1-social-screen .social-messages-grid:not(.is-mobile-chat) .social-chat {
    display: none !important;
  }

  /* Chat open: hide list, show conversation full screen */
  body.v1-social-screen .social-messages-grid.is-mobile-chat .social-conversations {
    display: none !important;
  }

  body.v1-social-screen .social-messages-grid.is-mobile-chat .social-chat {
    display: flex !important;
  }

  body.v1-social-screen .v1-mail-back-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #eaf0ff !important;
    display: inline-flex !important;
    flex: 0 0 36px;
    height: 36px;
    justify-content: center;
    margin-top: 2px;
    padding: 0 !important;
    width: 36px;
  }

  body.v1-social-screen .v1-mail-back-btn:hover,
  body.v1-social-screen .v1-mail-back-btn:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  body.v1-social-screen .v1-mail-back-btn i {
    font-size: 18px;
    line-height: 1;
  }

  body.v1-social-screen .social-chat-head {
    padding: 12px 12px 10px !important;
  }

  body.v1-social-screen .social-chat-title {
    font-size: 16px !important;
  }

  body.v1-social-screen .social-chat-created {
    font-size: 12px !important;
  }

  body.v1-social-screen .social-chat-compose,
  body.v1-social-screen .mail-message-form.social-chat-compose {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body.v1-social-screen .conversation-entry-list,
  body.v1-social-screen #socialChatMessages {
    padding: 12px 14px 10px 12px !important;
  }

  body.v1-social-screen .social-conversations-head,
  body.v1-social-screen .social-conversations-filter {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.v1-social-screen .social-conversation-item {
    padding: 12px !important;
  }
}

/* ── Notification / account dropdowns: keep inside viewport on phone ── */
@media (max-width: 991px) {
  /* Keep icon wrappers relative so badges stay on bell/mail (not profile) */
  body.v1-social-screen #notification_widget,
  body.v1-social-screen .v1-topnav-notifications > .btn-group,
  body.v1-social-screen .v1-topnav-notifications > div:not(.dropdown-menu) {
    position: relative !important;
    overflow: visible !important;
  }

  body.v1-social-screen #notification_widget,
  body.v1-social-screen .v1-topnav-notifications > .btn-group {
    display: inline-flex !important;
    flex: 0 0 40px !important;
    height: 40px !important;
    width: 40px !important;
  }

  body.v1-social-screen .v1-topnav-notifications #icon-notifications,
  body.v1-social-screen .v1-topnav-notifications #icon-messages,
  body.v1-social-screen .v1-topnav-msg {
    flex: 0 0 40px !important;
  }

  body.v1-social-screen .v1-topnav-notifications #badge-notifications,
  body.v1-social-screen .v1-topnav-notifications #badge-messages,
  body.v1-social-screen .v1-topnav-badge,
  body.v1-social-screen .v1-topnav-badge-mail,
  body.v1-social-screen .v1-topnav-badge-notifications,
  body.v1-social-screen .v1-topnav-notifications .label-notifications,
  body.v1-social-screen .v1-topnav-notifications .label-notification,
  body.v1-social-screen .v1-topnav-notifications .label-danger {
    left: auto !important;
    right: -4px !important;
    top: -4px !important;
    z-index: 5 !important;
  }

  body.v1-social-screen .v1-my-account,
  body.v1-social-screen .v1-my-account .dropdown {
    position: relative !important;
  }

  body.v1-social-screen #dropdown-notifications.v1-notification-dropdown,
  body.v1-social-screen #dropdown-notifications.dropdown-menu,
  body.v1-social-screen #dropdown-notifications {
    position: fixed !important;
    top: 62px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    max-height: calc(100dvh - 78px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    z-index: 1300 !important;
  }

  body.v1-social-screen #dropdown-notifications .v1-notification-dropdown-list,
  body.v1-social-screen #dropdown-notifications ul.media-list {
    max-height: min(52vh, 420px) !important;
  }

  body.v1-social-screen #dropdown-notifications .v1-notification-dropdown-header,
  body.v1-social-screen #dropdown-notifications .dropdown-header {
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
  }

  body.v1-social-screen #dropdown-notifications .social-notification-link {
    padding: 10px 12px !important;
  }

  body.v1-social-screen #dropdown-notifications .social-notification-text,
  body.v1-social-screen #dropdown-notifications .social-notification-text p,
  body.v1-social-screen #dropdown-notifications .social-notification-text a,
  body.v1-social-screen #dropdown-notifications .social-notification-text strong {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.v1-social-screen .v1-my-account .dropdown-menu,
  body.v1-social-screen #account-dropdown-account,
  body.v1-social-screen .v1-my-account ul.dropdown-menu {
    position: fixed !important;
    top: 62px !important;
    left: auto !important;
    right: 10px !important;
    width: min(280px, calc(100vw - 20px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 20px) !important;
    margin: 0 !important;
    z-index: 1300 !important;
  }
}

@media (max-width: 480px) {
  body.v1-social-screen #dropdown-notifications.v1-notification-dropdown,
  body.v1-social-screen #dropdown-notifications.dropdown-menu,
  body.v1-social-screen #dropdown-notifications {
    top: 56px !important;
    left: 8px !important;
    right: 8px !important;
    max-height: calc(100dvh - 68px) !important;
    border-radius: 12px !important;
  }
}

/* ── Mobile header: logo | bell + mail + hamburger ── */
body.v1-social-screen .v1-topnav-menu-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #eaf0ff !important;
  cursor: pointer;
  display: none;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

body.v1-social-screen .v1-topnav-menu-btn i {
  font-size: 20px;
  line-height: 1;
}

body.v1-social-screen .v1-topnav-menu-btn:hover,
body.v1-social-screen .v1-topnav-menu-btn:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

body.v1-social-screen .v1-mobile-nav-backdrop,
body.v1-social-screen .v1-mobile-nav {
  display: none;
}

@media (max-width: 991px) {
  body.v1-social-screen .v1-topnav-links,
  body.v1-social-screen .v1-topnav-search-desktop,
  body.v1-social-screen .v1-topnav-account-desktop,
  body.v1-social-screen .v1-topnav-signin-desktop {
    display: none !important;
  }

  body.v1-social-screen .v1-topnav-menu-btn {
    display: inline-flex !important;
  }

  body.v1-social-screen .v1-topnav-container {
    align-items: center;
    display: flex !important;
    gap: 10px;
    justify-content: space-between;
    padding: 8px 12px !important;
  }

  body.v1-social-screen .v1-topnav-tools {
    margin-left: auto;
    width: auto !important;
  }

  body.v1-social-screen .v1-topnav-actions,
  body.v1-social-screen .v1-topnav-icons,
  body.v1-social-screen .v1-topnav-notifications {
    align-items: center;
    display: flex !important;
    gap: 8px !important;
  }

  body.v1-social-screen .v1-topnav-notifications > div,
  body.v1-social-screen .v1-topnav-notifications > .btn-group,
  body.v1-social-screen .v1-topnav-msg {
    flex: 0 0 40px;
  }

  /* Drawer backdrop */
  body.v1-social-screen .v1-mobile-nav-backdrop {
    background: rgba(0, 0, 0, 0.55);
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.2s ease;
    z-index: 1400;
  }

  body.v1-social-screen.v1-mobile-nav-open .v1-mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.v1-social-screen .v1-mobile-nav {
    background: rgba(7, 10, 18, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    bottom: 0;
    color: #eaf0ff;
    display: flex;
    flex-direction: column;
    max-width: 360px;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: transform 0.22s ease;
    width: min(86vw, 360px);
    z-index: 1410;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  body.v1-social-screen.v1-mobile-nav-open .v1-mobile-nav {
    transform: translateX(0);
  }

  body.v1-social-screen.v1-mobile-nav-open {
    overflow: hidden;
  }

  /* Keep hamburger above drawer so a second tap closes the menu */
  body.v1-social-screen.v1-mobile-nav-open .v1-topnav {
    position: relative;
    z-index: 1420;
  }

  body.v1-social-screen.v1-mobile-nav-open .v1-topnav-menu-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    position: relative;
    z-index: 1421;
  }

  body.v1-social-screen .v1-mobile-nav-header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 16px;
  }

  body.v1-social-screen .v1-mobile-nav-brand {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
  }

  body.v1-social-screen .v1-mobile-nav-logo {
    display: block;
    height: 36px;
    object-fit: contain;
    width: auto;
  }

  body.v1-social-screen .v1-mobile-nav-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  body.v1-social-screen .v1-mobile-nav-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #eaf0ff;
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    width: 36px;
  }

  body.v1-social-screen .v1-mobile-nav-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 16px;
  }

  body.v1-social-screen .v1-mobile-nav-search {
    align-items: stretch;
    display: flex;
    gap: 8px;
  }

  body.v1-social-screen .v1-mobile-nav-search input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    flex: 1;
    font-size: 15px;
    min-width: 0;
    padding: 12px 14px;
  }

  body.v1-social-screen .v1-mobile-nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
  }

  body.v1-social-screen .v1-mobile-nav-search-btn {
    align-items: center;
    background: #a855f7;
    border: 0;
    border-radius: 12px;
    color: #071026;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 46px;
    font-size: 18px;
    justify-content: center;
    width: 46px;
  }

  body.v1-social-screen .v1-mobile-nav-divider {
    background: rgba(255, 255, 255, 0.08);
    height: 1px;
    width: 100%;
  }

  body.v1-social-screen .v1-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  body.v1-social-screen .v1-mobile-nav-links a {
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.88) !important;
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 14px;
    text-decoration: none !important;
  }

  body.v1-social-screen .v1-mobile-nav-links a:hover,
  body.v1-social-screen .v1-mobile-nav-links a:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
  }

  body.v1-social-screen .v1-mobile-nav-links a.is-active {
    background: rgba(124, 58, 237, 0.28);
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.35);
    color: #fff !important;
  }

  body.v1-social-screen .v1-mobile-nav-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
  }

  body.v1-social-screen .v1-mobile-nav-account,
  body.v1-social-screen .v1-mobile-nav-signout {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    padding: 12px 16px;
    text-decoration: none !important;
  }

  body.v1-social-screen .v1-mobile-nav-account {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff !important;
  }

  body.v1-social-screen .v1-mobile-nav-signout {
    background-image: linear-gradient(135deg, #c026d3, #6366f1);
    border: 0;
    color: #fff !important;
  }
}

/* ── Mock UI alignment: typography + surfaces ── */
body.v1-social-screen,
body.v1-social-screen button,
body.v1-social-screen input,
body.v1-social-screen textarea,
body.v1-social-screen select,
body.v1-social-screen .btn,
body.v1-social-screen .panel,
body.v1-social-screen .v1-topnav,
body.v1-social-screen .v1-social-nav-link,
body.v1-social-screen .v1-feed-filter,
body.v1-social-screen .wall-entry {
  font-family: var(--v1-font, 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif) !important;
}

body.v1-social-screen .v1-widget-card,
body.v1-social-screen .v1-social-nav-card,
body.v1-social-screen .v1-shortcuts-card,
body.v1-social-screen .v1-profile-card,
body.v1-social-screen .post-create-card.panel,
body.v1-social-screen .v1-stories-card {
  background: #161922 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

/* Feed posts only: charcoal card from design (#1c1f27). Composer excluded. */
body.v1-social-screen .v1-social-main .stream-entry.panel,
body.v1-social-screen .v1-social-main .panel.wall_,
body.v1-social-screen .v1-social-main .wall-entry .panel-default,
body.v1-social-screen .v1-social-main .wall-entry > .panel {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  outline: none !important;
}

body.v1-social-screen .v1-social-main .panel.post-create-card {
  background: #161922 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Keep profile cover/bg image visible (do not flatten banner) */
body.v1-social-screen .v1-social-left .v1-profile-card .v1-profile-banner-wrap {
  background-color: #0b101a !important;
  display: block !important;
  overflow: hidden !important;
  position: relative !important;
}

body.v1-social-screen .v1-social-left .v1-profile-card .v1-profile-banner,
body.v1-social-screen .v1-social-left .v1-profile-card .v1-profile-banner img {
  display: block !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
}

body.v1-social-screen .v1-stories-card {
  border-radius: 14px !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}

body.v1-social-screen .post-create-card.panel {
  box-shadow: none !important;
  margin-top: 0 !important;
}

/* Shared menu/text color: left nav + stories + post actions */
body.v1-social-screen .v1-stories-title,
body.v1-social-screen .v1-profile-name,
body.v1-social-screen .v1-social-left a.v1-profile-name,
body.v1-social-screen .wall-entry .v1-post-author,
body.v1-social-screen .wall-entry .v1-post-author a {
  color: #eaf0ff !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

body.v1-social-screen .v1-stories-sub,
body.v1-social-screen .v1-profile-handle,
body.v1-social-screen .v1-profile-role,
body.v1-social-screen .v1-social-left .v1-profile-handle,
body.v1-social-screen .text-muted,
body.v1-social-screen .time,
body.v1-social-screen .v1-post-meta {
  color: rgba(234, 240, 255, 0.55) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
}

body.v1-social-screen .v1-social-left .v1-social-nav-link,
body.v1-social-screen .v1-social-left .v1-social-nav-link span,
body.v1-social-screen .post-create-card .post-create-action,
body.v1-social-screen .post-create-card .post-create-action span {
  color: rgba(234, 240, 255, 0.72) !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* Hide redundant media file rows under posts (image already shown in gallery).
   Scope to ShowFiles (.hideOnEdit) only — do NOT hide comment-form upload previews. */
body.v1-social-screen .wall-entry .hideOnEdit .post-file-list .file-preview-item.hiddenFile,
body.v1-social-screen .wall-entry .hideOnEdit .post-file-list .file-preview-item.mime-image,
body.v1-social-screen .wall-entry .hideOnEdit .post-file-list .file-preview-item.mime-video,
body.v1-social-screen .wall-entry .hideOnEdit .post-file-list .file-preview-item.mime-audio {
  display: none !important;
}

body.v1-social-screen .wall-entry .hideOnEdit .post-file-list:not(:has(.file-preview-item:not(.hiddenFile):not(.mime-image):not(.mime-video):not(.mime-audio))) {
  display: none !important;
}

/* Dark theme for non-media attachments that remain */
body.v1-social-screen .wall-entry .wall-entry-content,
body.v1-social-screen .wall-entry .wall-entry-content p {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body.v1-social-screen .wall-entry .v1-post-author,
body.v1-social-screen .wall-entry .v1-post-author a {
  font-size: 16px !important;
  font-weight: 800 !important;
}

body.v1-social-screen .wall-entry .v1-post-time,
body.v1-social-screen .wall-entry .wall-entry-header-info .media-subheading {
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .ProseMirror,
body.v1-social-screen .v1-social-main .post-create-card .humhub-ui-richtext,
body.v1-social-screen .v1-social-main .post-create-card [contenteditable="true"] {
  font-size: 15px !important;
}

body.v1-social-screen .v1-social-main .wall-entry .comment-create-input-group .ProseMirror,
body.v1-social-screen .v1-social-main .wall-entry .comment-create-input-group .humhub-ui-richtext,
body.v1-social-screen .v1-social-main .wall-entry .comment-create-input-group .ProsemirrorEditor,
body.v1-social-screen .v1-social-main .wall-entry .comment_create .comment-create-input-group [contenteditable="true"],
body.v1-social-screen .v1-social-main .wall-entry .comment-create-input-group .ProseMirror p {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.v1-social-screen .comment-container .comment-message,
body.v1-social-screen .comment-container .comment-message p,
body.v1-social-screen .comment-container .comment-message div,
body.v1-social-screen .comment-container .comment-message span,
body.v1-social-screen .comment-container .comment-message li {
  color: rgba(234, 240, 255, 0.92) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

body.v1-social-screen .v1-story-name,
body.v1-social-screen .v1-story-add .v1-story-name,
body.v1-social-screen .v1-story-peer .v1-story-name {
  color: rgba(234, 240, 255, 0.78) !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

body.v1-social-screen .wall-entry .post-file-list.well {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  color: var(--text, #fff) !important;
  margin-top: 10px;
  padding: 10px 12px;
}

/* ── Post image lightbox ── */
body.v1-social-screen:has(.imgs-grid-modal) {
  overflow: hidden;
}

body.v1-social-screen .imgs-grid-modal {
  align-items: stretch;
  background: rgba(6, 8, 14, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  opacity: 0;
  right: 0;
  top: 0;
  z-index: 110000 !important;
}

body.v1-social-screen .imgs-grid-modal .modal-caption {
  color: rgba(255, 255, 255, 0.78);
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  max-height: 56px;
  overflow: hidden;
  padding: 18px 72px 8px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .imgs-grid-modal .modal-caption:empty {
  display: none;
  padding: 0;
}

body.v1-social-screen .imgs-grid-modal .modal-close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #fff !important;
  display: inline-flex;
  font-size: 28px !important;
  font-weight: 400;
  height: 44px !important;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: fixed;
  right: 20px;
  top: 20px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  width: 44px !important;
  z-index: 110010;
}

body.v1-social-screen .imgs-grid-modal .modal-close span {
  display: block;
  line-height: 1;
  margin-top: -2px;
}

body.v1-social-screen .imgs-grid-modal .modal-close:hover,
body.v1-social-screen .imgs-grid-modal .modal-close:focus {
  background: rgba(168, 85, 247, 0.28) !important;
  border-color: rgba(168, 85, 247, 0.55) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  outline: none;
  transform: scale(1.04);
}

body.v1-social-screen .imgs-grid-modal .modal-close:active {
  transform: scale(0.96);
}

body.v1-social-screen .imgs-grid-modal .modal-inner {
  bottom: 56px;
  left: 0;
  position: absolute;
  right: 0;
  top: 56px;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 64px;
  z-index: 2;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control .arrow {
  background-image: none !important;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  height: 44px;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  width: 44px;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control .arrow::before {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
  display: block;
  height: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 12px;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control .arrow.left::before {
  transform: translate(-40%, -50%) rotate(135deg);
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control .arrow.right::before {
  transform: translate(-60%, -50%) rotate(-45deg);
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control:hover .arrow {
  background-color: rgba(168, 85, 247, 0.28);
  border-color: rgba(168, 85, 247, 0.55);
  transform: scale(1.05);
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 72px;
  padding: 12px 8px;
  right: 72px;
  top: 0;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image:before {
  content: none;
  display: none;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image img,
body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image video {
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  display: block;
  height: min(82vh, 100%) !important;
  max-height: min(82vh, 100%) !important;
  max-width: min(920px, 100%) !important;
  object-fit: contain !important;
  object-position: center;
  vertical-align: middle;
  width: min(920px, 100%) !important;
}

body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image img:hover,
body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image video:hover {
  cursor: default;
}

body.v1-social-screen .imgs-grid-modal .modal-indicator {
  align-items: center;
  bottom: 0;
  display: flex;
  height: 56px;
  justify-content: center;
}

body.v1-social-screen .imgs-grid-modal .modal-indicator ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.v1-social-screen .imgs-grid-modal .modal-indicator ul li {
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  border-radius: 50%;
  height: 8px;
  margin: 0;
  opacity: 0.7;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  width: 8px;
}

body.v1-social-screen .imgs-grid-modal .modal-indicator ul li.selected {
  background: #a855f7;
  height: 8px;
  margin: 0;
  opacity: 1;
  transform: scale(1.25);
  width: 8px;
}

body.v1-social-screen .imgs-grid-modal .modal-indicator ul li:hover {
  opacity: 1;
}

@media (max-width: 800px) {
  body.v1-social-screen .imgs-grid-modal .modal-close {
    right: 12px;
    top: 12px;
  }

  body.v1-social-screen .imgs-grid-modal .modal-inner {
    bottom: 48px;
    top: 52px;
  }

  body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control {
    width: 44px;
  }

  body.v1-social-screen .imgs-grid-modal .modal-inner .modal-control .arrow {
    height: 38px;
    width: 38px;
  }

  body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image {
    left: 48px;
    padding: 8px 4px;
    right: 48px;
  }

  body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image img,
  body.v1-social-screen .imgs-grid-modal .modal-inner .modal-image video {
    border-radius: 10px;
    height: min(78vh, 100%) !important;
    max-height: min(78vh, 100%) !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ── Composer input card: keep separate from feed posts ── */
body.v1-social-screen .v1-social-main .panel.post-create-card,
body.v1-social-screen .v1-social-main .panel.post-create-card #contentFormBody,
body.v1-social-screen .v1-social-main .panel.post-create-card .panel-body {
  background: #161922 !important;
  box-shadow: none !important;
}

body.v1-social-screen .v1-social-main .panel.post-create-card #contentFormBody,
body.v1-social-screen .v1-social-main .panel.post-create-card .panel-body {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
}

body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) .ProsemirrorEditor .ProseMirror,
body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) .humhub-ui-richtext,
body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) [contenteditable="true"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #fff !important;
  height: 44px !important;
  max-height: 44px !important;
  min-height: 44px !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  padding: 10px 18px !important;
  resize: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) .ProsemirrorEditor .ProseMirror::-webkit-scrollbar,
body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) .ProsemirrorEditor .ProseMirror::-webkit-resizer,
body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) [contenteditable="true"]::-webkit-scrollbar,
body.v1-social-screen .v1-social-main .post-create-card:not(.is-expanded) [contenteditable="true"]::-webkit-resizer {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-action,
body.v1-social-screen .v1-social-main .post-create-card .post-create-action span {
  color: rgba(234, 240, 255, 0.88) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-action-photo i {
  color: #38bdf8 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-action-video i {
  color: #f43f5e !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-action-feeling i {
  color: #f7d774 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-action-group {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn,
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button {
  align-items: center !important;
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(0, 205, 255, 0.2), 0 6px 16px rgba(229, 78, 148, 0.16) !important;
  color: #111 !important;
  display: inline-flex !important;
  font-family: var(--v1-font, 'Inter', system-ui, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  min-height: 34px !important;
  min-width: 88px !important;
  padding: 7px 18px !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn:hover,
body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn:focus,
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button:hover,
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button:focus {
  background: linear-gradient(90deg, #f062a5 0%, #33d6ff 100%) !important;
  color: #111 !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn[disabled],
body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn.is-empty-disabled,
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button[disabled],
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button.is-empty-disabled {
  cursor: not-allowed !important;
  opacity: 0.45 !important;
  pointer-events: none !important;
  transform: none !important;
}

body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn[disabled]:hover,
body.v1-social-screen .v1-social-main .post-create-card .post-create-submit-btn.is-empty-disabled:hover,
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button[disabled]:hover,
body.v1-social-screen .v1-social-main .post-create-card #post_submit_button.is-empty-disabled:hover {
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  transform: none !important;
}

/* Feed posts only — same charcoal as design cards (#1c1f27); not composer */
body.v1-social-screen .v1-social-main .stream-entry.panel,
body.v1-social-screen .v1-social-main .panel.wall_,
body.v1-social-screen .v1-social-main .wall-entry .panel-default,
body.v1-social-screen .v1-social-main .wall-entry > .panel,
body.v1-social-screen .v1-social-main .wall-entry .panel-body,
body.v1-social-screen .v1-social-main .wall-entry .wall-entry-body,
body.v1-social-screen .v1-social-main .wall-entry .wall-entry-content {
  background: rgba(14, 23, 48, .62) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

body.v1-social-screen .v1-social-main .stream-entry.panel,
body.v1-social-screen .v1-social-main .panel.wall_,
body.v1-social-screen .v1-social-main .wall-entry .panel-default,
body.v1-social-screen .v1-social-main .wall-entry > .panel {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Feed post cards only — lift + accent border on hover (not composer/stories) */
body.v1-social-screen .v1-social-main .wall-entry > .panel:hover,
body.v1-social-screen .v1-social-main .wall-entry:hover > .panel,
body.v1-social-screen .v1-social-main .wall-entry .panel-default:hover,
body.v1-social-screen .v1-social-main .stream-entry.panel:hover,
body.v1-social-screen .v1-social-main .panel.wall_:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), .24) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24), 0 0 0 1px rgba(var(--accent-rgb), .08) !important;
}

body.v1-social-screen .v1-social-main .panel.post-create-card,
body.v1-social-screen .v1-social-main .panel.post-create-card:hover {
  background: #161922 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

/* ── People page: match design cards + action buttons ── */
body.v1-social-screen .social-people-panel {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

body.v1-social-screen .social-people-list,
body.v1-social-screen .social-people-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  grid-template-columns: none !important;
  padding: 8px 16px 18px !important;
}

body.v1-social-screen .social-people-card-wrap {
  width: 100%;
}

body.v1-social-screen .social-people-card.social-people-card--row {
  align-items: center;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 14px;
  min-height: 0;
  overflow: visible;
  padding: 14px 16px;
}

body.v1-social-screen .social-people-card.social-people-card--row:hover {
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

body.v1-social-screen .social-people-card--row .social-people-card-identity {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  text-decoration: none !important;
}

body.v1-social-screen .social-people-card--row .social-people-card-avatar {
  border: 0 !important;
  border-radius: 50% !important;
  flex-shrink: 0;
  height: 48px !important;
  object-fit: cover;
  width: 48px !important;
}

body.v1-social-screen .social-people-card--row .social-people-card-meta {
  min-width: 0;
  padding: 0;
}

body.v1-social-screen .social-people-card--row .social-people-card-name {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

body.v1-social-screen .social-people-card--row .social-people-card-handle {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 2px;
}

body.v1-social-screen .social-people-card--row .social-people-card-details {
  color: rgba(234, 240, 255, 0.5) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .social-people-card-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body.v1-social-screen .social-people-card-friendship,
body.v1-social-screen .social-people-card-follow,
body.v1-social-screen .social-people-card-block {
  display: inline-flex;
  min-width: 0;
}

body.v1-social-screen .social-people-card-actions .btn,
body.v1-social-screen .social-people-card-btn {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 6px !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  min-height: 36px !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  width: auto !important;
}

/* Never force-show HumHub hidden follow/block state buttons */
body.v1-social-screen .social-people-card-follow .btn[style*="display:none"],
body.v1-social-screen .social-people-card-follow .btn[style*="display: none"],
body.v1-social-screen .social-people-card-block .btn[style*="display:none"],
body.v1-social-screen .social-people-card-block .btn[style*="display: none"],
body.v1-social-screen .social-people-card-actions .followButton[style*="display:none"],
body.v1-social-screen .social-people-card-actions .followButton[style*="display: none"],
body.v1-social-screen .social-people-card-actions .unfollowButton[style*="display:none"],
body.v1-social-screen .social-people-card-actions .unfollowButton[style*="display: none"],
body.v1-social-screen .social-people-card-actions .blockButton[style*="display:none"],
body.v1-social-screen .social-people-card-actions .blockButton[style*="display: none"],
body.v1-social-screen .social-people-card-actions .unblockButton[style*="display:none"],
body.v1-social-screen .social-people-card-actions .unblockButton[style*="display: none"],
body.v1-social-screen .social-people-card-follow .AcceptButton,
body.v1-social-screen .social-people-card-follow .RejectButton,
body.v1-social-screen .social-people-card-follow .pendingButton {
  display: none !important;
}

/* Compact loader on Follow / Block so it doesn't blow up the pill */
body.v1-social-screen .social-people-card-actions .btn .loader {
  align-items: center !important;
  display: inline-flex !important;
  height: 14px !important;
  justify-content: center !important;
  margin: 0 !important;
  max-height: 14px !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .social-people-card-actions .btn .loader .sk-spinner,
body.v1-social-screen .social-people-card-actions .btn .loader .sk-spinner-three-bounce,
body.v1-social-screen .social-people-card-actions .btn .loader > div {
  height: 14px !important;
  margin: 0 !important;
  max-height: 14px !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.v1-social-screen .social-people-card-actions .btn .loader .sk-spinner-three-bounce div,
body.v1-social-screen .social-people-card-actions .btn .loader .sk-spinner-three-bounce span {
  height: 6px !important;
  margin: 0 2px !important;
  width: 6px !important;
}

body.v1-social-screen .social-people-card-actions .btn.disabled,
body.v1-social-screen .social-people-card-actions .btn[disabled] {
  min-height: 36px !important;
  min-width: 88px !important;
  opacity: 0.85;
  padding: 8px 16px !important;
}

body.v1-social-screen .social-people-card-btn-friend,
body.v1-social-screen .social-people-card-friendship .btn.social-people-card-btn-friend {
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
}

body.v1-social-screen .social-people-card-btn-friend:hover,
body.v1-social-screen .social-people-card-btn-friend:focus {
  background: linear-gradient(90deg, #f062a5 0%, #33d6ff 100%) !important;
  color: #111 !important;
}

body.v1-social-screen .social-people-card-btn-secondary,
body.v1-social-screen .social-people-card-btn-secondary.is-following,
body.v1-social-screen .social-people-card-follow .followButton,
body.v1-social-screen .social-people-card-follow .unfollowButton,
body.v1-social-screen .social-people-card-friendship .btn.social-people-card-btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.v1-social-screen .social-people-card-btn-friends,
body.v1-social-screen .social-people-card-friendship .btn.social-people-card-btn-friends {
  background: rgba(234, 240, 255, 0.88) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
}

body.v1-social-screen .social-people-card-btn-friends i {
  color: #111 !important;
  font-size: 14px !important;
}

body.v1-social-screen .social-people-card-btn-message,
body.v1-social-screen .social-people-card-actions .social-people-card-btn-message {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 50% !important;
  color: rgba(234, 240, 255, 0.85) !important;
  height: 36px !important;
  min-height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  width: 36px !important;
}

body.v1-social-screen .social-people-card-btn-message i,
body.v1-social-screen .social-people-card-btn-message .fa {
  font-size: 15px !important;
  margin: 0 !important;
}

body.v1-social-screen .social-people-card-btn-block,
body.v1-social-screen .social-people-card-block .btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.v1-social-screen .social-people-card-btn-block:hover,
body.v1-social-screen .social-people-card-btn-block.is-blocked,
body.v1-social-screen .social-people-card-block .btn:hover,
body.v1-social-screen .social-people-card-block .btn.active {
  background: rgba(244, 63, 94, 0.16) !important;
  border-color: rgba(244, 63, 94, 0.45) !important;
  color: #fda4af !important;
}

body.v1-social-screen .social-people-card-wrap.is-blocked-user .social-people-card--row {
  border-color: rgba(244, 63, 94, 0.22) !important;
}

body.v1-social-screen .social-people-card-follow .AcceptButton,
body.v1-social-screen .social-people-card-follow .RejectButton,
body.v1-social-screen .social-people-card-follow .pendingButton {
  display: none !important;
}

body.v1-social-screen .social-people-count-pill {
  background: rgba(234, 240, 255, 0.9) !important;
  border: 0 !important;
  color: #111 !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  body.v1-social-screen .social-people-card.social-people-card--row {
    align-items: flex-start;
    flex-direction: column;
  }

  body.v1-social-screen .social-people-card-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

/* ── Followers page: match design UI ── */
body.v1-social-screen .social-followers-panel {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0 !important;
}

body.v1-social-screen .social-followers-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 22px 22px 0 !important;
}

body.v1-social-screen .social-followers-title {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body.v1-social-screen .social-followers-subtitle {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  margin: 6px 0 0 !important;
}

body.v1-social-screen .social-followers-count-pill {
  align-items: center;
  background: linear-gradient(90deg, #00cdff 0%, #e54e94 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(0, 205, 255, 0.22), 0 6px 18px rgba(229, 78, 148, 0.18) !important;
  color: #fff !important;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  white-space: nowrap;
}

body.v1-social-screen .social-followers-toolbar {
  padding: 16px 22px 0 !important;
}

body.v1-social-screen .social-followers-search {
  align-items: center;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 11px 16px !important;
}

body.v1-social-screen .social-followers-search i {
  color: rgba(234, 240, 255, 0.45) !important;
  font-size: 18px !important;
}

body.v1-social-screen .social-followers-search input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  flex: 1;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-width: 0;
  outline: none;
  padding: 0;
  width: 100%;
}

body.v1-social-screen .social-followers-search input::placeholder {
  color: rgba(234, 240, 255, 0.4) !important;
}

body.v1-social-screen .social-followers-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 22px 0 !important;
}

body.v1-social-screen .social-followers-tabs .v1-feed-filter {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: rgba(234, 240, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 7px;
  min-height: 36px;
  padding: 7px 14px !important;
}

body.v1-social-screen .social-followers-tabs .v1-feed-filter i {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 15px !important;
}

body.v1-social-screen .social-followers-tabs .v1-feed-filter.is-active,
body.v1-social-screen .social-followers-tabs .v1-feed-filter.is-active:hover,
body.v1-social-screen .social-followers-tabs .v1-feed-filter.is-active:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.v1-social-screen .social-followers-tabs .v1-feed-filter.is-active i {
  color: #fff !important;
}

body.v1-social-screen .social-followers-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  grid-template-columns: none !important;
  padding: 16px 18px 20px !important;
}

body.v1-social-screen .social-follower-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 14px;
  min-width: 0;
  padding: 14px 14px !important;
  transition: border-color 0.16s ease, background-color 0.16s ease;
  width: 100%;
}

body.v1-social-screen .social-follower-item:hover {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

body.v1-social-screen .social-follower-item[hidden],
body.v1-social-screen .social-follower-item.is-paginated-hidden {
  display: none !important;
}

body.v1-social-screen .social-follower-avatar-link {
  flex: 0 0 auto;
  line-height: 0;
}

body.v1-social-screen .social-follower-avatar {
  border: 2px solid rgba(0, 205, 255, 0.55) !important;
  border-radius: 50% !important;
  display: block;
  height: 52px !important;
  object-fit: cover;
  width: 52px !important;
}

body.v1-social-screen .social-follower-name,
body.v1-social-screen .social-follower-name:link,
body.v1-social-screen .social-follower-name:visited,
body.v1-social-screen .social-follower-name:focus,
body.v1-social-screen .social-follower-name:active {
  color: #fff !important;
  display: block;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  overflow: hidden;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .social-follower-name:hover {
  color: #00cdff !important;
}

body.v1-social-screen .social-follower-handle {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 2px;
}

body.v1-social-screen .social-follower-sub {
  color: rgba(234, 240, 255, 0.48) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .social-follower-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  margin-left: auto;
  max-width: none;
}

body.v1-social-screen .social-follower-meta {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

body.v1-social-screen .social-follower-actions .social-follower-btn-follow,
body.v1-social-screen .social-follower-actions .social-follower-btn-following,
body.v1-social-screen .social-follower-actions .social-follower-btn-remove,
body.v1-social-screen .social-follower-actions .followButton,
body.v1-social-screen .social-follower-actions .unfollowButton {
  align-items: center;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 5px;
  justify-content: center;
  line-height: 1.2 !important;
  min-height: 34px;
  padding: 7px 14px !important;
  white-space: nowrap;
}

body.v1-social-screen .social-follower-actions .followButton:not([style*="display:none"]):not([style*="display: none"]),
body.v1-social-screen .social-follower-actions .unfollowButton:not([style*="display:none"]):not([style*="display: none"]),
body.v1-social-screen .social-follower-actions .social-follower-btn-follow:not([style*="display:none"]):not([style*="display: none"]),
body.v1-social-screen .social-follower-actions .social-follower-btn-following:not([style*="display:none"]):not([style*="display: none"]),
body.v1-social-screen .social-follower-btn-remove {
  display: inline-flex !important;
}

body.v1-social-screen .social-followers-list .social-follower-actions a.btn.AcceptButton,
body.v1-social-screen .social-followers-list .social-follower-actions a.btn.RejectButton,
body.v1-social-screen .social-followers-list .social-follower-actions button.btn.pendingButton,
body.v1-social-screen .social-followers-list .social-follower-actions .AcceptButton,
body.v1-social-screen .social-followers-list .social-follower-actions .RejectButton,
body.v1-social-screen .social-followers-list .social-follower-actions .pendingButton,
body.v1-social-screen .social-follower-actions .AcceptButton,
body.v1-social-screen .social-follower-actions .RejectButton,
body.v1-social-screen .social-follower-actions .pendingButton,
body.v1-social-screen .social-follower-actions .followButton[style*="display:none"],
body.v1-social-screen .social-follower-actions .followButton[style*="display: none"],
body.v1-social-screen .social-follower-actions .unfollowButton[style*="display:none"],
body.v1-social-screen .social-follower-actions .unfollowButton[style*="display: none"] {
  display: none !important;
}

body.v1-social-screen .social-follower-btn-follow,
body.v1-social-screen .social-follower-actions .followButton {
  background: linear-gradient(90deg, #00cdff 0%, #e54e94 100%) !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(0, 205, 255, 0.2), 0 6px 16px rgba(229, 78, 148, 0.16) !important;
  color: #fff !important;
}

body.v1-social-screen .social-follower-btn-follow:hover,
body.v1-social-screen .social-follower-actions .followButton:hover {
  background: linear-gradient(90deg, #33d6ff 0%, #f062a5 100%) !important;
  color: #fff !important;
}

body.v1-social-screen .social-follower-btn-following,
body.v1-social-screen .social-follower-btn-remove,
body.v1-social-screen .social-follower-actions .unfollowButton {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.v1-social-screen .social-follower-actions .followButton[style*="display:none"],
body.v1-social-screen .social-follower-actions .followButton[style*="display: none"],
body.v1-social-screen .social-follower-actions .unfollowButton[style*="display:none"],
body.v1-social-screen .social-follower-actions .unfollowButton[style*="display: none"],
body.v1-social-screen .social-follower-actions .AcceptButton,
body.v1-social-screen .social-follower-actions .RejectButton,
body.v1-social-screen .social-follower-actions .pendingButton {
  display: none !important;
}

/* Compact loader on Follow / Following so it matches pill height (not 30px padding). */
body.v1-social-screen .social-follower-actions .btn.disabled,
body.v1-social-screen .social-follower-actions .btn[disabled],
body.v1-social-screen .social-following-list .social-follower-actions .btn.disabled,
body.v1-social-screen .social-following-list .social-follower-actions .btn[disabled] {
  box-sizing: border-box !important;
  height: 34px !important;
  max-height: 34px !important;
  min-height: 34px !important;
  overflow: hidden !important;
  padding: 7px 14px !important;
}

body.v1-social-screen .social-follower-actions .btn .loader,
body.v1-social-screen .social-following-list .social-follower-actions .btn .loader {
  align-items: center !important;
  display: inline-flex !important;
  height: 14px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 0 !important;
  max-height: 14px !important;
  min-height: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

body.v1-social-screen .social-follower-actions .btn .loader .sk-spinner,
body.v1-social-screen .social-follower-actions .btn .loader .sk-spinner-three-bounce,
body.v1-social-screen .social-following-list .social-follower-actions .btn .loader .sk-spinner,
body.v1-social-screen .social-following-list .social-follower-actions .btn .loader .sk-spinner-three-bounce {
  display: inline-flex !important;
  height: 14px !important;
  margin: 0 !important;
  max-height: 14px !important;
  padding: 0 !important;
  transform: none !important;
  width: auto !important;
}

body.v1-social-screen .social-follower-actions .btn .loader .sk-spinner-three-bounce div,
body.v1-social-screen .social-follower-actions .btn .loader .sk-spinner-three-bounce span,
body.v1-social-screen .social-following-list .social-follower-actions .btn .loader .sk-spinner-three-bounce div,
body.v1-social-screen .social-following-list .social-follower-actions .btn .loader .sk-spinner-three-bounce span {
  background-color: currentColor !important;
  height: 6px !important;
  margin: 0 2px !important;
  max-height: 6px !important;
  width: 6px !important;
}

@media (max-width: 767px) {
  body.v1-social-screen .social-followers-head,
  body.v1-social-screen .social-followers-toolbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.v1-social-screen .social-followers-tabs {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body.v1-social-screen .social-followers-list {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.v1-social-screen .social-follower-item {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.v1-social-screen .social-follower-avatar {
    height: 48px !important;
    width: 48px !important;
  }

  body.v1-social-screen .social-follower-meta {
    flex: 1 1 calc(100% - 64px);
    min-width: 0;
  }

  body.v1-social-screen .social-follower-actions {
    flex: 1 1 100%;
    justify-content: stretch;
    max-width: none;
  }

  body.v1-social-screen .social-follower-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

/* Empty filter states must honor [hidden] despite display:flex */
body.v1-social-screen .social-followers-empty[hidden],
body.v1-social-screen .social-following-empty[hidden],
body.v1-social-screen .social-friends-empty[hidden] {
  display: none !important;
}

/* ── Following page: match design UI + button colors ── */
body.v1-social-screen .social-following-panel {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  overflow: visible;
  padding: 0 !important;
}

body.v1-social-screen .v1-social-main .social-following-panel,
body.v1-social-screen .v1-social-main .social-followers-panel {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

body.v1-social-screen .social-following-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 22px 22px 0 !important;
}

body.v1-social-screen .social-following-title {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body.v1-social-screen .social-following-subtitle {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  margin: 6px 0 0 !important;
}

body.v1-social-screen .social-following-count-pill {
  align-items: center;
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(0, 205, 255, 0.22), 0 6px 18px rgba(229, 78, 148, 0.18) !important;
  color: #fff !important;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
  white-space: nowrap;
}

body.v1-social-screen .social-following-toolbar {
  padding: 16px 22px 0 !important;
}

body.v1-social-screen .social-following-search {
  align-items: center;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 11px 16px !important;
}

body.v1-social-screen .social-following-search i {
  color: rgba(234, 240, 255, 0.45) !important;
  font-size: 18px !important;
}

body.v1-social-screen .social-following-search input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  flex: 1;
  font-size: 14px !important;
  font-weight: 500 !important;
  min-width: 0;
  outline: none;
  padding: 0;
  width: 100%;
}

body.v1-social-screen .social-following-search input::placeholder {
  color: rgba(234, 240, 255, 0.4) !important;
}

body.v1-social-screen .social-following-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 22px 0 !important;
}

body.v1-social-screen .social-following-tabs .v1-feed-filter {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: rgba(234, 240, 255, 0.72) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 7px;
  min-height: 36px;
  padding: 7px 14px !important;
}

body.v1-social-screen .social-following-tabs .v1-feed-filter i {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 15px !important;
}

body.v1-social-screen .social-following-tabs .v1-feed-filter.is-active,
body.v1-social-screen .social-following-tabs .v1-feed-filter.is-active:hover,
body.v1-social-screen .social-following-tabs .v1-feed-filter.is-active:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.v1-social-screen .social-following-tabs .v1-feed-filter.is-active i {
  color: #fff !important;
}

body.v1-social-screen .social-following-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  grid-template-columns: none !important;
  min-width: 0;
  overflow: hidden;
  padding: 16px 18px 20px !important;
}

body.v1-social-screen .social-following-panel[data-following-filter="recent"] .social-following-list .social-follower-item:not(.is-following-recent),
body.v1-social-screen .social-following-panel[data-following-filter="instructors"] .social-following-list .social-follower-item:not(.is-following-instructor),
body.v1-social-screen .social-following-panel .social-following-list .social-follower-item.is-following-search-hidden {
  display: none !important;
}

body.v1-social-screen .social-following-list .social-follower-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 14px;
  min-width: 0;
  padding: 14px 14px !important;
  width: 100%;
}

body.v1-social-screen .social-following-list .social-follower-meta {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

body.v1-social-screen .social-following-list .social-follower-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 55%;
}

body.v1-social-screen .social-following-list .social-follower-actions .btn,
body.v1-social-screen .social-following-btn-message,
body.v1-social-screen .social-following-btn-unfollow,
body.v1-social-screen .social-following-btn-follow {
  align-items: center;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  gap: 6px;
  justify-content: center;
  line-height: 1.2 !important;
  min-height: 34px;
  padding: 7px 14px !important;
  white-space: nowrap;
}

body.v1-social-screen .social-following-list .social-follower-actions .btn:not([style*="display:none"]):not([style*="display: none"]),
body.v1-social-screen .social-following-btn-message,
body.v1-social-screen .social-following-btn-unfollow:not([style*="display:none"]):not([style*="display: none"]),
body.v1-social-screen .social-following-btn-follow:not([style*="display:none"]):not([style*="display: none"]) {
  display: inline-flex !important;
}

/* Same pink → cyan gradient as count pill */
body.v1-social-screen .social-following-btn-message,
body.v1-social-screen .social-following-list .btn-accent,
body.v1-social-screen .social-following-btn-follow {
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(0, 205, 255, 0.28), 0 4px 14px rgba(229, 78, 148, 0.2) !important;
  color: #fff !important;
}

body.v1-social-screen .social-following-btn-message:hover,
body.v1-social-screen .social-following-btn-message:focus,
body.v1-social-screen .social-following-list .btn-accent:hover,
body.v1-social-screen .social-following-list .btn-accent:focus {
  background: linear-gradient(90deg, #f062a5 0%, #33d6ff 100%) !important;
  color: #fff !important;
}

body.v1-social-screen .social-following-btn-message i,
body.v1-social-screen .social-following-btn-message .fa {
  color: #fff !important;
  font-size: 14px !important;
}

body.v1-social-screen .social-following-btn-unfollow,
body.v1-social-screen .social-following-list .unfollowButton {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  color: #fff !important;
}

body.v1-social-screen .social-following-list .followButton[style*="display:none"],
body.v1-social-screen .social-following-list .followButton[style*="display: none"],
body.v1-social-screen .social-following-list .unfollowButton[style*="display:none"],
body.v1-social-screen .social-following-list .unfollowButton[style*="display: none"],
body.v1-social-screen .social-following-list .AcceptButton,
body.v1-social-screen .social-following-list .RejectButton,
body.v1-social-screen .social-following-list .pendingButton,
body.v1-social-screen .social-following-list .social-follower-actions .btn[style*="display:none"],
body.v1-social-screen .social-following-list .social-follower-actions .btn[style*="display: none"] {
  display: none !important;
}

@media (max-width: 767px) {
  body.v1-social-screen .social-following-head,
  body.v1-social-screen .social-following-toolbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.v1-social-screen .social-following-tabs {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  body.v1-social-screen .social-following-list {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.v1-social-screen .social-following-list .social-follower-item {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.v1-social-screen .social-following-list .social-follower-meta {
    flex: 1 1 calc(100% - 64px);
  }

  body.v1-social-screen .social-following-list .social-follower-actions {
    flex: 1 1 100%;
    justify-content: stretch;
    max-width: none;
  }

  body.v1-social-screen .social-following-list .social-follower-actions .btn:not([style*="display:none"]):not([style*="display: none"]) {
    flex: 1;
    min-width: 0;
  }
}

/* ── Video modal: design match + share ── */
/* Sit above fixed topnav (z-index 10050). Only raise OPEN confirm/global modals so an
   idle #globalModal never stacks above the feed / stream UI. */
body.v1-social-screen #socialVideoModal.in,
body.v1-social-screen #socialVideoModal.show,
body.v1-social-screen #socialImageModal.in,
body.v1-social-screen #socialImageModal.show,
body.v1-social-screen #globalModal.in,
body.v1-social-screen #globalModal.show,
body.v1-social-screen #globalModalConfirm.in,
body.v1-social-screen #globalModalConfirm.show,
body.v1-social-screen [id^="confirmModal_"].in,
body.v1-social-screen [id^="confirmModal_"].show {
  z-index: 10120 !important;
}

body.v1-social-screen.modal-open .modal-backdrop {
  z-index: 10110 !important;
}

body.v1-social-screen #socialVideoModal .modal-dialog {
  max-width: 760px;
  width: calc(100% - 24px);
}

body.v1-social-screen #socialVideoModal .modal-content.social-video-modal,
body.v1-social-screen .social-video-modal {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55) !important;
  overflow: visible !important;
}

body.v1-social-screen .social-video-modal-head {
  align-items: flex-start !important;
  border-bottom: 0 !important;
  display: flex !important;
  gap: 12px;
  justify-content: space-between !important;
  padding: 18px 18px 10px !important;
  text-align: left !important;
  width: 100%;
}

body.v1-social-screen .social-video-modal-head-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 8px;
  text-align: left !important;
}

body.v1-social-screen .social-video-modal-head .modal-title {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.v1-social-screen .social-video-modal-meta {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 6px;
  text-align: left !important;
}

body.v1-social-screen .social-video-modal-x {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  color: rgba(234, 240, 255, 0.7) !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  float: none !important;
  font-size: 20px !important;
  height: 32px;
  justify-content: center;
  margin: 0 0 0 auto !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  width: 32px;
}

body.v1-social-screen .social-video-modal-x:hover {
  color: #fff !important;
}

body.v1-social-screen .social-video-modal-player {
  aspect-ratio: 16 / 9;
  background: #0b0e14;
  margin: 0 18px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

body.v1-social-screen .social-video-modal-player video {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
  background: #000;
}

body.v1-social-screen .social-video-modal-play {
  align-items: center;
  background: rgba(0, 205, 255, 0.92) !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 28px rgba(0, 205, 255, 0.35);
  color: #fff !important;
  cursor: pointer;
  display: inline-flex !important;
  font-size: 28px !important;
  height: 72px;
  justify-content: center;
  left: 50%;
  padding: 0 0 0 4px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  z-index: 2;
}

body.v1-social-screen .social-video-modal-play[hidden],
body.v1-social-screen .social-video-modal-play[style*="display: none"],
body.v1-social-screen .social-video-modal-play[style*="display:none"] {
  display: none !important;
}

body.v1-social-screen .social-video-modal-foot {
  align-items: center;
  border-top: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 18px 18px !important;
}

body.v1-social-screen .social-video-modal-stats {
  align-items: center;
  color: rgba(234, 240, 255, 0.84) !important;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 14px !important;
  font-weight: 600 !important;
  gap: 8px;
  margin-right: auto;
}

body.v1-social-screen .social-video-modal-stats-wrap {
  margin-right: auto;
  min-width: 0;
  position: relative;
}

body.v1-social-screen .social-video-modal-views-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(234, 240, 255, 0.84);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 600;
  gap: 6px;
  padding: 0;
}

body.v1-social-screen .social-video-modal-views-btn:hover,
body.v1-social-screen .social-video-modal-views-btn:focus {
  color: #fff;
  outline: none;
  text-decoration: underline;
}

body.v1-social-screen .social-video-modal-viewers {
  background: #151922;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  bottom: calc(100% + 10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  left: 0;
  max-height: 260px;
  min-width: 220px;
  overflow: auto;
  padding: 10px;
  position: absolute;
  width: min(280px, 70vw);
  z-index: 5;
}

body.v1-social-screen .social-video-modal-viewers-title {
  color: rgba(234, 240, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

body.v1-social-screen .social-video-modal-viewers-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.v1-social-screen .social-video-modal-viewers-item {
  align-items: center;
  border-radius: 10px;
  color: #fff !important;
  display: flex;
  gap: 10px;
  padding: 6px 8px;
  text-decoration: none !important;
}

body.v1-social-screen .social-video-modal-viewers-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.v1-social-screen .social-video-modal-viewers-avatar,
body.v1-social-screen .social-video-modal-viewers-avatar img,
body.v1-social-screen .social-video-modal-viewers-fallback {
  border-radius: 50%;
  flex-shrink: 0;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

body.v1-social-screen .social-video-modal-viewers-fallback {
  align-items: center;
  background: rgba(91, 108, 255, 0.35);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
}

body.v1-social-screen .social-video-modal-viewers-name {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .social-video-modal-viewers-empty {
  color: rgba(234, 240, 255, 0.5);
  font-size: 13px;
  margin: 4px 0;
}

body.v1-social-screen .social-video-modal-stats i {
  margin-right: 4px;
}

body.v1-social-screen .social-video-modal-stats-sep {
  color: rgba(234, 240, 255, 0.35);
}

body.v1-social-screen .social-video-modal-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.v1-social-screen .social-video-modal-close {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  min-height: 36px;
  padding: 7px 16px !important;
}

body.v1-social-screen .social-video-modal-share-wrap {
  position: relative;
}

body.v1-social-screen .social-video-modal-share {
  align-items: center;
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(0, 205, 255, 0.28), 0 4px 14px rgba(229, 78, 148, 0.2) !important;
  color: #111 !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px !important;
}

body.v1-social-screen .social-video-modal-share i {
  color: #111 !important;
  font-size: 14px !important;
}

body.v1-social-screen .social-video-modal-share:hover,
body.v1-social-screen .social-video-modal-share:focus {
  background: linear-gradient(90deg, #f062a5 0%, #33d6ff 100%) !important;
  color: #111 !important;
}

body.v1-social-screen .social-video-modal-share-menu {
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  bottom: calc(100% + 8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  padding: 8px;
  position: absolute;
  right: 0;
  z-index: 20;
}

body.v1-social-screen .social-video-modal-share-menu[hidden] {
  display: none !important;
}

body.v1-social-screen .social-video-share-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: rgba(234, 240, 255, 0.9) !important;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  padding: 8px 10px;
  text-align: left;
  text-decoration: none !important;
  width: 100%;
}

body.v1-social-screen .social-video-share-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

@media (max-width: 575.98px) {
  body.v1-social-screen .social-video-modal-foot {
    align-items: stretch;
    flex-direction: column;
  }

  body.v1-social-screen .social-video-modal-actions {
    width: 100%;
  }

  body.v1-social-screen .social-video-modal-close,
  body.v1-social-screen .social-video-modal-share {
    flex: 1;
  }

  body.v1-social-screen .social-video-modal-share-wrap {
    flex: 1;
  }

  body.v1-social-screen .social-video-modal-share {
    width: 100%;
  }

  body.v1-social-screen .social-video-modal-play {
    height: 60px;
    width: 60px;
  }
}

/* ── Image modal: design match + share ── */
body.v1-social-screen .social-image-card {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}

body.v1-social-screen #socialImageModal .modal-dialog {
  max-width: 760px;
  width: calc(100% - 24px);
}

body.v1-social-screen #socialImageModal .modal-content.social-image-modal,
body.v1-social-screen .social-image-modal {
  background: #1c1f27 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55) !important;
  overflow: hidden !important;
}

body.v1-social-screen .social-image-modal-head {
  align-items: flex-start !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  gap: 12px;
  justify-content: space-between !important;
  padding: 18px 18px 12px !important;
  text-align: left !important;
  width: 100%;
}

body.v1-social-screen .social-image-modal-head-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 8px;
  text-align: left !important;
}

body.v1-social-screen .social-image-modal-head .modal-title {
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.3 !important;
  margin: 0 !important;
  text-align: left !important;
}

body.v1-social-screen .social-image-modal-meta {
  color: rgba(234, 240, 255, 0.55) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 6px;
  text-align: left !important;
}

body.v1-social-screen .social-image-modal-x {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  color: rgba(234, 240, 255, 0.7) !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  float: none !important;
  font-size: 20px !important;
  height: 32px;
  justify-content: center;
  margin: 0 0 0 auto !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  width: 32px;
}

body.v1-social-screen .social-image-modal-x:hover {
  color: #fff !important;
}

body.v1-social-screen .social-image-modal-media {
  align-items: center;
  background: #0b0e14;
  display: flex;
  justify-content: center;
  max-height: min(68vh, 720px);
  min-height: 280px;
  overflow: hidden;
  padding: 0;
}

body.v1-social-screen .social-image-modal-media img {
  display: block;
  height: auto;
  max-height: min(68vh, 720px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

body.v1-social-screen .social-image-modal-foot {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 18px 18px !important;
}

body.v1-social-screen .social-image-modal-stats {
  align-items: center;
  color: #fff !important;
  display: inline-flex;
  font-size: 14px !important;
  font-weight: 600 !important;
  gap: 6px;
  margin-right: auto;
}

body.v1-social-screen .social-image-modal-stats i {
  color: #fff !important;
}

body.v1-social-screen .social-image-modal-actions {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.v1-social-screen .social-image-modal-close {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  min-height: 36px;
  padding: 7px 16px !important;
}

body.v1-social-screen .social-image-modal-share-wrap {
  position: relative;
}

body.v1-social-screen .social-image-modal-share {
  align-items: center;
  background: linear-gradient(90deg, #e54e94 0%, #00cdff 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(0, 205, 255, 0.28), 0 4px 14px rgba(229, 78, 148, 0.2) !important;
  color: #111 !important;
  display: inline-flex !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px !important;
}

body.v1-social-screen .social-image-modal-share i {
  color: #111 !important;
  font-size: 14px !important;
}

body.v1-social-screen .social-image-modal-share:hover,
body.v1-social-screen .social-image-modal-share:focus {
  background: linear-gradient(90deg, #f062a5 0%, #33d6ff 100%) !important;
  color: #111 !important;
}

body.v1-social-screen .social-image-modal-share-menu {
  background: #161922;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  bottom: calc(100% + 8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  padding: 8px;
  position: absolute;
  right: 0;
  z-index: 20;
}

body.v1-social-screen .social-image-modal-share-menu[hidden] {
  display: none !important;
}

body.v1-social-screen .social-image-share-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: rgba(234, 240, 255, 0.9) !important;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  padding: 8px 10px;
  text-align: left;
  text-decoration: none !important;
  width: 100%;
}

body.v1-social-screen .social-image-share-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

@media (max-width: 575.98px) {
  body.v1-social-screen .social-image-modal-foot {
    align-items: stretch;
    flex-direction: column;
  }

  body.v1-social-screen .social-image-modal-actions {
    width: 100%;
  }

  body.v1-social-screen .social-image-modal-close,
  body.v1-social-screen .social-image-modal-share-wrap,
  body.v1-social-screen .social-image-modal-share {
    flex: 1;
  }

  body.v1-social-screen .social-image-modal-share {
    width: 100%;
  }
}

/* ── People suggestions Follow button — same as row ── */
body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action a.followButton,
body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action a.unfollowButton,
body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action a.btn,
body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action button.btn,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.followButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.unfollowButton,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action button.btn {
  background: #282830 !important;
  background-color: #282830 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action a.followButton:hover,
body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action a.unfollowButton:hover,
body.v1-social-screen .v1-social-right #v1PeopleSuggestions .v1-people-action a.btn:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.followButton:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.unfollowButton:hover,
body.v1-social-screen .v1-social-right .v1-widget-card--people-suggestions .v1-people-action a.btn:hover {
  background: #32343a !important;
  background-color: #32343a !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* Follow btn: same fill as people row (#282830) + light border */
body.v1-social-screen .v1-social-right .v1-people-action .v1-people-follow-btn,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn.followButton,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn.unfollowButton,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn.btn,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn.btn-sm {
  background: #282830 !important;
  background-color: #282830 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  min-height: 32px !important;
  min-width: 0 !important;
  padding: 6px 14px !important;
}

body.v1-social-screen .v1-social-right .v1-people-action .v1-people-follow-btn:hover,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn:hover,
body.v1-social-screen .v1-social-right .v1-people-action a.v1-people-follow-btn:focus {
  background: #32343a !important;
  background-color: #32343a !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.v1-social-screen .v1-social-right .v1-people-action .v1-people-follow-btn[style*="display:none"],
body.v1-social-screen .v1-social-right .v1-people-action .v1-people-follow-btn[style*="display: none"] {
  display: none !important;
}

/* ── Dark emoji picker / atwho popup (comment + composer) ── */
body.v1-social-screen .atwho-view {
  background: #161922 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55) !important;
  color: rgba(234, 240, 255, 0.9) !important;
  max-width: 340px !important;
  min-width: 280px !important;
  overflow: hidden !important;
  padding: 6px !important;
  z-index: 10080 !important;
}

/* Popup is appended to <body>; keep it above open modals (#globalModal is 10120) */
body.v1-social-screen.modal-open .atwho-view {
  z-index: 10140 !important;
}

/* Mention user list: always scrollable (stock + patched UI) */
body.v1-social-screen .atwho-view.humhub-richtext-provider:not(:has(.atwho-emoji-entry)),
body.v1-social-screen .atwho-view.v1-mention-dropdown,
body.v1-social-screen .v1-mention-dropdown.atwho-view {
  display: block !important;
  max-height: min(280px, 42vh) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 8px !important;
  scrollbar-color: rgba(255, 255, 255, 0.28) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  width: min(320px, calc(100vw - 32px)) !important;
}

body.v1-social-screen .atwho-view.humhub-richtext-provider:not(:has(.atwho-emoji-entry))::-webkit-scrollbar,
body.v1-social-screen .v1-mention-dropdown::-webkit-scrollbar {
  width: 6px;
}
body.v1-social-screen .atwho-view.humhub-richtext-provider:not(:has(.atwho-emoji-entry))::-webkit-scrollbar-thumb,
body.v1-social-screen .v1-mention-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
body.v1-social-screen .atwho-view.humhub-richtext-provider:not(:has(.atwho-emoji-entry))::-webkit-scrollbar-track,
body.v1-social-screen .v1-mention-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

body.v1-social-screen .v1-mention-dropdown .v1-mention-scroll {
  -webkit-overflow-scrolling: touch;
  max-height: none;
  overflow: visible;
}

body.v1-social-screen .atwho-view ul,
body.v1-social-screen .v1-mention-dropdown .v1-mention-list {
  background: transparent !important;
  list-style: none !important;
  margin: 0 !important;
  max-height: none !important;
  padding: 0 !important;
}

body.v1-social-screen .atwho-view ul li,
body.v1-social-screen .atwho-view ul li.hint,
body.v1-social-screen .v1-mention-dropdown .v1-mention-item {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 10px !important;
  color: rgba(234, 240, 255, 0.88) !important;
  cursor: pointer;
  display: flex !important;
  gap: 10px;
  line-height: 1.25 !important;
  margin: 2px 0 !important;
  min-height: 44px;
  padding: 8px 10px !important;
}

/* Emoji chooser cells are a grid of icons — do not use mention row flex/padding */
body.v1-social-screen .atwho-view ul li.atwho-emoji-entry,
body.v1-social-screen [data-emoji-category] .atwho-emoji-entry {
  align-items: center !important;
  box-sizing: border-box !important;
  display: flex !important;
  float: left;
  gap: 0 !important;
  height: 36px !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin: 2px !important;
  min-height: 0 !important;
  overflow: hidden;
  padding: 4px !important;
  width: 36px !important;
}

body.v1-social-screen .v1-mention-dropdown .v1-mention-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  overflow: hidden;
  width: 36px;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-avatar img,
body.v1-social-screen .v1-mention-dropdown .v1-mention-avatar .img-rounded,
body.v1-social-screen .v1-mention-dropdown .v1-mention-avatar .media-object,
body.v1-social-screen .atwho-view.humhub-richtext-provider ul li:not(.atwho-emoji-entry) img {
  border-radius: 50% !important;
  display: block !important;
  height: 36px !important;
  margin: 0 !important;
  object-fit: cover;
  width: 36px !important;
}

/* Twemoji in the comment emoji picker — keep square, not round avatars */
body.v1-social-screen .atwho-view ul li.atwho-emoji-entry img,
body.v1-social-screen [data-emoji-category] .atwho-emoji-entry img,
body.v1-social-screen .atwho-view.humhub-richtext-provider ul li.atwho-emoji-entry img {
  border-radius: 0 !important;
  display: block !important;
  flex: 0 0 24px;
  height: 24px !important;
  margin: 0 !important;
  max-height: 24px !important;
  max-width: 24px !important;
  object-fit: contain !important;
  width: 24px !important;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-avatar-fallback {
  color: rgba(234, 240, 255, 0.55);
  font-size: 16px;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-secondary {
  color: rgba(234, 240, 255, 0.48);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.v1-social-screen .atwho-view ul li.hint {
  font-size: 12px !important;
}

/* Selected/hover: soft highlight only — no cyan left bar */
body.v1-social-screen .atwho-view .cur,
body.v1-social-screen .atwho-view ul li.cur,
body.v1-social-screen .atwho-view ul li:hover,
body.v1-social-screen .v1-mention-dropdown .v1-mention-item.cur,
body.v1-social-screen .v1-mention-dropdown .v1-mention-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-left: 0 !important;
  border-left-color: transparent !important;
  color: #fff !important;
}

body.v1-social-screen .v1-mention-dropdown .v1-mention-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(234, 240, 255, 0.45);
  font-size: 11px;
  letter-spacing: 0.02em;
  margin-top: 4px;
  padding: 8px 6px 2px;
  text-align: center;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-loading,
body.v1-social-screen .v1-mention-dropdown .v1-mention-more,
body.v1-social-screen .v1-mention-dropdown .v1-mention-loading-row {
  color: rgba(234, 240, 255, 0.5);
  font-size: 11px;
  list-style: none;
  padding: 10px 8px !important;
  text-align: center;
}
body.v1-social-screen .v1-mention-dropdown .v1-mention-empty {
  color: rgba(234, 240, 255, 0.55);
  font-size: 12px;
  padding: 16px 10px;
  text-align: center;
}

body.v1-social-screen .atwho-view strong,
body.v1-social-screen .atwho-view b,
body.v1-social-screen .atwho-view .cur strong {
  background: rgba(255, 255, 255, 0.12) !important;
  border-radius: 3px;
  color: #eaf0ff !important;
  font-weight: 700 !important;
}

body.v1-social-screen .atwho-view small {
  color: rgba(234, 240, 255, 0.5) !important;
}

body.v1-social-screen .atwho-emoji-entry {
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
}

body.v1-social-screen .atwho-emoji-entry:hover,
body.v1-social-screen .atwho-emoji-entry:active,
body.v1-social-screen .atwho-emoji-entry:focus,
body.v1-social-screen .atwho-emoji-entry.cur,
body.v1-social-screen [data-emoji-category] .atwho-emoji-entry.cur {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 0 !important;
  border-radius: 8px !important;
}

body.v1-social-screen [data-emoji-category] {
  background: transparent !important;
  display: block !important;
  max-height: 200px;
  overflow: auto;
  position: relative;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
  scrollbar-width: thin;
}

body.v1-social-screen [data-emoji-category] .humhub-emoji-chooser-item-list,
body.v1-social-screen [data-emoji-category] ul {
  display: block !important;
  overflow: visible !important;
}

body.v1-social-screen [data-emoji-category]::-webkit-scrollbar {
  width: 8px;
}

body.v1-social-screen [data-emoji-category]::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

body.v1-social-screen [data-emoji-category]::-webkit-scrollbar-track {
  background: transparent;
}

body.v1-social-screen .emoji-nav {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex;
  gap: 2px;
  margin: 0 -8px;
  padding: 8px 8px 6px !important;
}

body.v1-social-screen .emoji-nav .emoji-nav-item {
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  border-top: 2px solid transparent !important;
  color: rgba(234, 240, 255, 0.7) !important;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  padding: 6px 2px !important;
  text-align: center;
}

body.v1-social-screen .emoji-nav .emoji-nav-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

body.v1-social-screen .emoji-nav .emoji-nav-item.cur {
  background: rgba(0, 212, 245, 0.12) !important;
  border-left: 0 !important;
  border-top: 2px solid #00d4f5 !important;
  color: #fff !important;
}

/* ProseMirror / Bootstrap tooltips near editors (smiley tip, etc.) */
body.v1-social-screen .tooltip .tooltip-inner,
body.v1-social-screen .tooltip-inner {
  background: #1a1d27 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #eaf0ff !important;
}

body.v1-social-screen .tooltip.top .tooltip-arrow,
body.v1-social-screen .tooltip.bs-tooltip-top .arrow::before {
  border-top-color: #1a1d27 !important;
}

body.v1-social-screen .tooltip.bottom .tooltip-arrow,
body.v1-social-screen .tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #1a1d27 !important;
}

body.v1-social-screen .ProseMirror-menubar .ProseMirror-menu-active,
body.v1-social-screen .ProseMirror-menuitem > div,
body.v1-social-screen .ProseMirror-menu-dropdown-menu {
  background: #161922 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(234, 240, 255, 0.88) !important;
}

body.v1-social-screen .ProseMirror-menu-dropdown-menu {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden;
}

body.v1-social-screen .ProseMirror-menu-dropdown-item {
  color: rgba(234, 240, 255, 0.85) !important;
}

body.v1-social-screen .ProseMirror-menu-dropdown-item:hover,
body.v1-social-screen .ProseMirror-menu-dropdown-item.ProseMirror-menu-active {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}


/* ── V1 error pages (404 / 403 / 500 / 401) ─────────────────────────────── */

body.v1-social-screen .v1-error-page {
  --v1-error-cyan: #00d4f5;
  --v1-error-pink: #de4e90;
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 220px);
  padding: 48px 20px 64px;
  position: relative;
  width: 100%;
}

body.v1-social-screen .v1-error-atmosphere {
  background:
    radial-gradient(680px 320px at 50% 18%, rgba(0, 212, 245, 0.14), transparent 70%),
    radial-gradient(520px 280px at 72% 68%, rgba(222, 78, 144, 0.12), transparent 72%),
    radial-gradient(420px 220px at 22% 78%, rgba(0, 212, 245, 0.06), transparent 70%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

body.v1-social-screen .v1-error-card {
  background:
    radial-gradient(520px 180px at 50% 0%, rgba(0, 212, 245, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  max-width: 560px;
  overflow: hidden;
  padding: 52px 40px 40px;
  position: relative;
  text-align: center;
  width: min(100%, 560px);
  z-index: 1;
}

body.v1-social-screen .v1-error-card::before {
  background: linear-gradient(90deg, var(--v1-error-cyan), var(--v1-error-pink));
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.9;
  position: absolute;
  right: 0;
  top: 0;
}

body.v1-social-screen .v1-error-code {
  background: linear-gradient(135deg, rgba(0, 212, 245, 0.55), rgba(222, 78, 144, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(4.5rem, 14vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 29px;
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

body.v1-social-screen .v1-error-icon {
  align-items: center;
  background: linear-gradient(145deg, rgba(0, 212, 245, 0.18), rgba(222, 78, 144, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: var(--v1-error-cyan);
  display: inline-flex;
  font-size: 28px;
  height: 64px;
  justify-content: center;
  margin: -18px auto 18px;
  width: 64px;
}

body.v1-social-screen .v1-error-icon i {
  color: inherit;
  line-height: 1;
}

body.v1-social-screen .v1-error-eyebrow {
  color: rgba(234, 240, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

body.v1-social-screen .v1-error-title {
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 10px;
}

body.v1-social-screen .v1-error-title strong {
  color: inherit;
  font-weight: inherit;
}

body.v1-social-screen .v1-error-subtitle {
  color: rgba(234, 240, 255, 0.68);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto 8px;
  max-width: 36ch;
}

body.v1-social-screen .v1-error-detail {
  color: rgba(234, 240, 255, 0.45);
  font-size: 13px;
  line-height: 1.45;
  margin: 8px auto 0;
  max-width: 42ch;
}

body.v1-social-screen .v1-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

body.v1-social-screen .v1-error-btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

body.v1-social-screen .v1-error-btn:hover,
body.v1-social-screen .v1-error-btn:focus {
  text-decoration: none;
}

body.v1-social-screen .v1-error-btn-primary {
  background: linear-gradient(90deg, var(--v1-error-cyan) 0%, var(--v1-error-pink) 100%);
  box-shadow: 0 10px 28px rgba(0, 212, 245, 0.18);
  color: #fff !important;
}

body.v1-social-screen .v1-error-btn-primary:hover,
body.v1-social-screen .v1-error-btn-primary:focus {
  box-shadow: 0 14px 32px rgba(222, 78, 144, 0.22);
  color: #fff !important;
  transform: translateY(-1px);
}

body.v1-social-screen .v1-error-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(234, 240, 255, 0.88) !important;
}

body.v1-social-screen .v1-error-btn-ghost:hover,
body.v1-social-screen .v1-error-btn-ghost:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 245, 0.35);
  color: #fff !important;
}

/* Hide legacy HumHub error panel chrome if a fallback view still renders */
body.v1-social-screen > .container > .panel.panel-default > .panel-heading,
body.v1-social-screen > .container > .panel.panel-danger > .panel-heading {
  background: transparent !important;
  border: 0 !important;
  color: rgba(234, 240, 255, 0.7) !important;
}

@media (max-width: 640px) {
  body.v1-social-screen .v1-error-page {
    min-height: calc(100vh - 180px);
    padding: 28px 16px 48px;
  }

  body.v1-social-screen .v1-error-card {
    border-radius: 20px;
    padding: 40px 22px 28px;
  }

  body.v1-social-screen .v1-error-actions {
    flex-direction: column;
  }

  body.v1-social-screen .v1-error-btn {
    width: 100%;
  }
}

/* Report post modal — visible custom radios (loads after style.css) */
body.v1-social-screen #globalModal .social-report-reason-option {
  position: relative;
}

body.v1-social-screen #globalModal .social-report-reason-radio-ui {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 2px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  flex: 0 0 18px !important;
  height: 18px !important;
  width: 18px !important;
}

body.v1-social-screen #globalModal .social-report-reason-input:checked + .social-report-reason-radio-ui {
  background: #00d4f5 !important;
  border-color: #00d4f5 !important;
  box-shadow: inset 0 0 0 3px #18191a !important;
}

/* Uploaded cover is a CSS background (cover, not stretched). The img stays for upload/crop updates. */
body.v1-social-screen .v1-social-left .v1-profile-card .v1-profile-banner-wrap.is-uploaded-banner,
body.v1-social-screen .v1-social-left .v1-profile-card--compact .v1-profile-banner-wrap.is-uploaded-banner {
  background-color: #0b101a !important;
  background-image: var(--v1-banner-image) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

body.v1-social-screen .v1-profile-banner-wrap.is-uploaded-banner > .v1-profile-banner {
  opacity: 0 !important;
  pointer-events: none;
}

/* Profile pictures are stored uncropped; fill round/square frames without stretching */
img[data-contentcontainer-id]:not([data-profile-image-role="banner"]):not(.v1-profile-banner),
img[src*="/uploads/profile_image/"]:not([src*="/uploads/profile_image/banner/"]) {
  object-fit: cover;
}

/* Story viewer: name + avatar open profile */
#zuck-modal .story-viewer .head .v1-story-profile-name,
#zuck-modal .story-viewer .head .name.v1-story-profile-name,
#zuck-modal .story-viewer .head .v1-story-profile-avatar,
#zuck-modal .story-viewer .head .v1-story-profile-avatar-img {
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}

#zuck-modal .story-viewer .head .v1-story-profile-name:hover,
#zuck-modal .story-viewer .head .name.v1-story-profile-name:hover {
  text-decoration: underline;
}

body.v1-social-screen a.v1-story-name {
  color: inherit;
  text-decoration: none;
}

body.v1-social-screen a.v1-story-name:hover,
body.v1-social-screen a.v1-story-name:focus {
  color: #fff;
  text-decoration: underline;
}
