
/* ==========================================================================
   EMIGRANTBOOK — MAIN STYLESHEET
   ☀️ DEFAULT: FACEBOOK LIGHT THEME (სუფთა თეთრი დიზაინი)
   🌙 DARK MODE: .dark-mode კლასით 100% ორიგინალი შავი დიზაინი
   ========================================================================== */

/* ==========================================================================
   SECTION 1: გლობალური საბაზისო წესები (GLOBAL BASE & RESET)
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: #f0f2f5;
  color: #050505;
  padding-bottom: 60px !important;
}

/* ==========================================================================
   SECTION 2: ონლაინ სტატუსის მწვანე წერტილები და პულსაცია (ONLINE STATUS DOTS)
   ========================================================================== */
.avatar-has-online {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

.online-status-dot-sm {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  background-color: #31a24c;
  border: 2px solid #ffffff;
  border-radius: 50%;
  z-index: 10;
  animation: onlinePulse 2s infinite;
  pointer-events: none;
}

.online-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background-color: #31a24c;
  border: 3px solid #ffffff;
  border-radius: 50%;
  z-index: 10;
  animation: onlinePulse 2s infinite;
  pointer-events: none;
}

@keyframes onlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(49, 162, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0); }
}

/* ==========================================================================
   SECTION 3: აპლიკაციის ჩატვირთვის ეკრანი (APP PRELOADER & SPLASH)
   ========================================================================== */
#app-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999 !important;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  animation: logoHeartbeat 1.3s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  filter: drop-shadow(0 0 20px rgba(220, 174, 54, 0.4));
}

@keyframes logoHeartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}

#app-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================================================
   SECTION 4: ავტორიზაცია, ლოგინი და რეგისტრაცია (AUTH SCREEN & LOGIN FORM)
   ========================================================================== */
#auth-screen {
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.auth-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid #dadde1;
  margin-bottom: 20px;
}

.logo-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px auto;
  background: #ffffff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(220, 174, 54, 0.25);
  border: 1px solid rgba(220, 174, 54, 0.4);
  overflow: hidden;
  padding: 10px;
}

.logo-img-text {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo {
  font-size: 32px;
  font-weight: 900;
  color: #dcae36;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: glowTextAnimation 2.5s infinite alternate ease-in-out;
}

@keyframes glowTextAnimation {
  0% {
    color: #dcae36;
    text-shadow: 0 0 5px rgba(220, 174, 54, 0.2), 0 0 10px rgba(220, 174, 54, 0.2);
    transform: scale(1);
  }
  50% {
    color: #b8860b;
    text-shadow: 0 0 15px rgba(220, 174, 54, 0.6), 0 0 25px rgba(220, 174, 54, 0.4);
    transform: scale(1.02);
  }
  100% {
    color: #dcae36;
    text-shadow: 0 0 5px rgba(220, 174, 54, 0.2), 0 0 10px rgba(220, 174, 54, 0.2);
    transform: scale(1);
  }
}

.pwa-install-card {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(220, 174, 54, 0.35);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.pwa-install-card:hover {
  border-color: #dcae36;
  box-shadow: 0 0 20px rgba(220, 174, 54, 0.2);
  transform: translateY(-2px);
}

.pwa-install-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-install-icon {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  border: 1px solid rgba(220, 174, 54, 0.4);
  object-fit: contain;
}

.pwa-install-info {
  text-align: left;
}

.pwa-install-title {
  font-size: 14px;
  font-weight: bold;
  color: #050505;
}

.pwa-install-sub {
  font-size: 11px;
  color: #65676b;
  margin-top: 2px;
}

.pwa-install-action-btn {
  background: #dcae36;
  color: #111111;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.auth-footer {
  color: #65676b;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

.subtitle {
  color: #65676b;
  margin-bottom: 20px;
  font-size: 14px;
}

.input-group {
  text-align: left;
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  color: #65676b;
  margin-bottom: 6px;
  font-size: 13px;
}

.input-group input, .input-group select, .input-group textarea {
  width: 100%;
  padding: 14px;
  background: #f0f2f5;
  border: 1px solid #ccd0d5;
  border-radius: 10px;
  color: #050505;
  outline: none;
  font-size: 14px;
  transition: border-color 0.2s;
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: #dcae36;
}

.btn {
  width: 100%;
  padding: 14px;
  background: #dcae36;
  color: #111111;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.btn:hover {
  background: #c2982e;
}

.toggle-text {
  margin-top: 20px;
  color: #65676b;
  font-size: 14px;
}

.toggle-text span {
  cursor: pointer;
  color: #dcae36;
  font-weight: 600;
}

.toggle-text span:hover {
  text-decoration: underline;
}

.forgot-pass {
  display: block;
  margin-top: 15px;
  color: #65676b;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.forgot-pass:hover {
  color: #050505;
}

.error-msg {
  color: #ff4d4f;
  margin-bottom: 10px;
  font-size: 14px;
  display: none;
}

/* ==========================================================================
   SECTION 5: მთავარი ზედა ზოლი (MAIN APP HEADER & NAVIGATION)
   ========================================================================== */
.header {
  background: #ffffff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dadde1;
  position: sticky;
  top: 0;
  z-index: 100;
}

.profile-header-fix {
  justify-content: space-between !important;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: #dcae36;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icons-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-icon-btn, .nav-icon-btn {
  background: #f0f2f5;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.header-icon-btn:hover, .nav-icon-btn:hover {
  background: #e4e6eb;
}

.header-icon-svg, .nav-icon-svg {
  width: 20px;
  height: 20px;
  fill: #050505;
}

.nav-icon-btn.active .nav-icon-svg {
  fill: #dcae36;
}

.header-badge, .notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4d4f;
  color: white;
  font-size: 11px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dcae36;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  overflow: visible;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 110;
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: #050505;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   SECTION 6: გვერდითი მენიუ (SIDE MENU OVERLAY & CONTENT)
   ========================================================================== */
.side-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 400;
  display: none;
}

.side-menu-content {
  position: fixed;
  top: 0; right: -80%; width: 80%; max-width: 340px; height: 100%;
  background: #ffffff;
  border-left: 1px solid #dadde1;
  z-index: 401;
  display: flex;
  flex-direction: column;
  padding: 60px 0 20px 0;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.side-menu-content.open {
  right: 0 !important;
}

.menu-section-title {
  font-size: 13px;
  color: #65676b;
  padding: 15px 20px 8px 20px;
  font-weight: 600;
}

.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #050505;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.menu-item-row:hover {
  background: #f0f2f5;
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-item-icon {
  font-size: 20px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
}

.menu-item-arrow {
  color: #8a8d91;
  font-size: 16px;
  font-weight: bold;
}

.menu-divider {
  height: 1px;
  background: #dadde1;
  margin: 8px 0;
}

.menu-live-btn {
  background: linear-gradient(135deg, #ff4d4f 0%, #c0392b 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  width: calc(100% - 40px);
  margin: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
  transition: transform 0.2s, background 0.2s;
  -webkit-user-select: none;
  user-select: none;
}

.menu-live-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff6b6b 0%, #d63031 100%);
}

.side-menu-logout-btn {
  width: calc(100% - 40px);
  padding: 12px;
  background: #ff4d4f;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  margin: 20px 20px 10px 20px;
  transition: background 0.2s;
}

.side-menu-logout-btn:hover {
  background: #d93d40;
}

/* ==========================================================================
   SECTION 7: საინფორმაციო მოდალი (AKHO INFO MODAL)
   ========================================================================== */
.akho-info-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.akho-info-modal {
  background: #ffffff;
  border: 1px solid #dcae36;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.akho-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dadde1;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.akho-info-title {
  font-size: 18px;
  font-weight: bold;
  color: #dcae36;
  display: flex;
  align-items: center;
  gap: 8px;
}

.akho-info-close {
  background: none;
  border: none;
  color: #65676b;
  font-size: 22px;
  cursor: pointer;
}

.akho-info-close:hover {
  color: #050505;
}

.akho-info-body {
  font-size: 14px;
  line-height: 1.6;
  color: #050505;
}

.akho-info-box {
  background: #f0f2f5;
  border-left: 3px solid #dcae36;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 12px 0;
  font-weight: bold;
  color: #050505;
}

.akho-feature-list {
  list-style: none;
  margin-top: 10px;
}

.akho-feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ==========================================================================
   SECTION 8: ახალი პოსტის შექმნის ბარათი (CREATE POST CARD)
   ========================================================================== */
.create-post-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  margin-top: 8px;
  margin-bottom: 8px !important;
  border: 1px solid #dadde1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 680px) {
  .create-post-card {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

.create-post-input {
  width: 100%;
  height: 80px;
  background: #f0f2f5;
  border: 1px solid #ccd0d5;
  border-radius: 8px;
  padding: 12px;
  color: #050505;
  resize: none;
  outline: none;
  font-size: 15px;
  margin-bottom: 10px;
}

.create-post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-upload-wrapper {
  position: relative;
  cursor: pointer;
}

.file-upload-btn {
  background: #f0f2f5;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: #65676b;
  font-weight: 600;
  -webkit-user-select: none;
  user-select: none;
}

.file-upload-wrapper input {
  position: absolute;
  left: 0; top: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer;
}

.file-upload-badge {
  background: #dcae36;
  color: #111111;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.create-post-card .publish-btn {
  background: #dcae36;
  color: #111111;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.create-post-card .publish-btn:hover {
  background: #c2982e;
}

.selected-file-info {
  margin-top: 8px;
  font-size: 13px;
  color: #dcae36;
}

/* ==========================================================================
   SECTION 9: სთორების ლენტა მთავარზე (STORIES TRAY ON FEED)
   ========================================================================== */
.stories-wrapper {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px !important;
  margin-bottom: 8px !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.stories-wrapper::-webkit-scrollbar {
  display: none;
}

.story-card {
  width: 108px;
  min-width: 108px;
  max-width: 108px;
  height: 195px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1c1e21;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  -webkit-user-select: none;
  user-select: none;
}

/* რბილი გრადიენტი, რომ თეთრი სახელი და ავატარი მკაფიოდ გამოჩნდეს */
.story-card:not(:has(.create-story-btn-wrapper))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.story-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: block;
}

/* სთორის შექმნის (+ Create Story) ქვედა თეთრი ნაწილი */
.create-story-btn-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 24px 6px 10px 6px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #050505;
  line-height: 1.2;
  z-index: 3;
}

/* პლუსის მრგვალი ღილაკი ცენტრში, ზღვარზე გადასული */
.create-story-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dcae36;
  color: #111111;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 4;
}

/* მომხმარებლის ავატარი ზედა მარცხენა კუთხეში */
.story-badge-avatar {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #dcae36;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

.story-badge-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* მომხმარებლის სახელი ბარათის ძირში */
.story-username-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.story-username-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   SECTION 10: პოსტების ბარათი (FEED POST CARD & INTERACTIONS)
   ========================================================================== */
.post-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px 0 0 0;
  margin-bottom: 20px;
  border: 1px solid #dadde1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 100%;
}

.post-header, .post-content, .post-stats, .post-actions {
  padding-left: 15px;
  padding-right: 15px;
}

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

.post-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dcae36;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  overflow: visible;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.post-author-info {
  display: flex;
  flex-direction: column;
}

.post-author {
  font-weight: bold;
  color: #050505;
  cursor: pointer;
}

.post-author:hover { text-decoration: underline; }

.post-time {
  font-size: 12px;
  color: #65676b;
}

.post-delete-btn {
  background: none;
  border: none;
  color: #ff4d4f;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

.post-delete-btn:hover {
  background: rgba(255, 77, 79, 0.1);
}

.post-content {
  font-size: 15px;
  color: #050505;
  margin-bottom: 12px;
  line-height: 1.4;
}

.post-media {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  max-height: 520px !important;
  object-fit: cover !important;
  background: transparent !important;
  display: block;
  cursor: pointer;
}

.post-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #65676b;
  font-size: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #ffffff;
}

.fb-stats-left {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.fb-reaction-icons {
  display: flex;
  align-items: center;
  gap: -4px;
}

.fb-icon-svg-badge {
  font-size: 16px;
  background: #f0f2f5;
  border-radius: 50%;
  padding: 1px;
}

.fb-likes-counter {
  color: #65676b;
  font-size: 14px;
  margin-left: 3px;
}

.comment-count-label {
  cursor: pointer;
  color: #65676b;
}

.comment-count-label:hover {
  text-decoration: underline;
}

.post-actions {
  display: flex;
  border-top: 1px solid #dadde1;
  padding: 4px 6px;
  background: #ffffff;
  position: relative;
}

.action-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 6px 2px;
  color: #65676b !important;
  font-weight: 600 !important;
  cursor: pointer;
  font-size: 13.5px !important;
  letter-spacing: -0.2px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
  -webkit-user-select: none;
  user-select: none;
}

.action-btn:hover {
  background: #f0f2f5;
  border-radius: 4px;
}

.action-btn-svg {
  width: 20px;
  height: 20px;
  fill: #65676b;
}

.action-btn.btn-liked {
  color: #f33e58 !important;
}

.action-btn.btn-liked .action-btn-svg {
  fill: #f33e58 !important;
}

.post-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.post-options-dropdown {
  position: relative;
}

.post-options-btn {
  background: transparent;
  border: none;
  color: #65676b;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.post-options-btn:hover {
  background: #f0f2f5;
  color: #050505;
}

.post-options-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  background: #ffffff;
  border: 1px solid #dadde1;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 210px;
  overflow: hidden;
}

.post-options-menu button {
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #050505;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.post-options-menu button:hover {
  background: #f0f2f5;
  color: #dcae36;
}

.post-action-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  filter: invert(41%) sepia(8%) saturate(305%) hue-rotate(182deg) brightness(94%) contrast(87%) !important;
  opacity: 1 !important;
}

.menu-svg-icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  filter: brightness(0) opacity(0.75);
}

.menu-item-text {
  color: #050505;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   SECTION 11: TIKTOK სტილის ვიდეო პანელი (TIKTOK PANEL & FLOATING HEARTS)
   ========================================================================== */
.video-container-rel {
  position: relative;
  width: 100%;
  background: #000;
}

.tiktok-side-panel {
  position: absolute;
  right: 8px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 10;
  background: transparent;
  padding: 0;
}

.tiktok-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  gap: 2px;
  transition: transform 0.1s;
  -webkit-user-select: none;
  user-select: none;
}

.tiktok-action-item:active {
  transform: scale(0.9);
}

.tiktok-icon-circle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.8));
}

.tiktok-icon-circle svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  transition: fill 0.2s, transform 0.1s;
}

.tiktok-icon-circle svg.heart-liked {
  fill: #fe2c55 !important;
}

.tiktok-action-item span {
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.9);
}

.tiktok-floating-avatars-container {
  position: absolute;
  left: 12px;
  bottom: 100px;
  width: 50px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
  z-index: 15;
}

.tiktok-floating-avatar-item {
  position: absolute;
  bottom: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #dcae36;
  color: #111111;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  animation: avatarSmoothRiseScroll 6s linear forwards;
}

.tiktok-floating-avatar-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tiktok-floating-avatar-heart {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 11px;
  background: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  z-index: 5;
}

@keyframes avatarSmoothRiseScroll {
  0% { opacity: 0; transform: translateY(20px) scale(0.6); }
  15% { opacity: 1; transform: translateY(-30px) scale(1); }
  80% { opacity: 1; transform: translateY(-180px) scale(1); }
  100% { opacity: 0; transform: translateY(-230px) scale(0.7); }
}

/* ==========================================================================
   SECTION 12: კომენტარების მოდალური ფანჯარა (COMMENTS BOTTOM SHEET MODAL)
   ========================================================================== */
.comments-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.comments-modal-content {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 1px solid #dadde1;
}

.comments-modal-drag {
  width: 40px; height: 5px;
  background: #ccd0d5;
  border-radius: 3px;
  margin: 10px auto;
  cursor: pointer;
}

.comments-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 15px 20px;
  border-bottom: 1px solid #dadde1;
}

.modal-likes-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  color: #050505;
}

.modal-likes-trigger:hover {
  text-decoration: underline;
}

.comments-modal-close {
  background: none; border: none;
  color: #65676b; font-size: 24px;
  cursor: pointer;
}

.comments-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-comment-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-direction: column;
}

.fb-comment-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.fb-comment-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #dcae36;
  color: #111111;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; overflow: visible; font-size: 14px; position: relative;
}

.fb-comment-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.fb-comment-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fb-comment-bubble {
  background: #f0f2f5;
  padding: 10px 14px;
  border-radius: 18px;
  width: fit-content;
  max-width: 100%;
}

.fb-comment-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.fb-comment-name {
  font-size: 14px;
  font-weight: bold;
  color: #050505;
}

.fb-comment-time {
  font-size: 12px;
  color: #65676b;
}

.fb-comment-text {
  font-size: 14px;
  color: #050505;
  word-break: break-word;
  line-height: 1.3;
}

.fb-comment-actions-row {
  display: flex;
  gap: 15px;
  margin-top: 4px;
  padding-left: 8px;
}

.fb-comment-action-btn {
  background: none; border: none;
  color: #65676b; font-size: 12px;
  font-weight: bold; cursor: pointer;
}

.fb-comment-action-btn:hover { color: #050505; }
.fb-comment-action-btn.comment-liked { color: #1877f2 !important; }

.fb-replies-container {
  margin-left: 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100% - 48px);
  margin-top: 8px;
}

.reply-input-active-bar {
  background: #f0f2f5;
  padding: 6px 12px;
  display: none;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid #dadde1;
  color: #050505;
}

.comments-modal-footer {
  padding: 12px 15px;
  background: #ffffff;
  border-top: 1px solid #dadde1;
  display: flex;
  flex-direction: column;
}

.modal-footer-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.modal-input-holder {
  flex: 1;
  display: flex;
  background: #f0f2f5;
  border-radius: 20px;
  padding: 8px 16px;
  align-items: center;
}

.modal-input-holder input {
  flex: 1; background: none; border: none;
  color: #050505; outline: none; font-size: 14px;
}

.comment-submit-button {
  background: #dcae36;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: bold;
  color: #111111;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 13: მომწონებელთა სია (LIKERS MODAL)
   ========================================================================== */
.likers-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4100;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.likers-modal-content {
  width: 100%; max-width: 400px;
  background: #ffffff; border: 1px solid #dadde1;
  border-radius: 12px; max-height: 60vh;
  display: flex; flex-direction: column;
}

.likers-modal-header {
  padding: 15px; border-bottom: 1px solid #dadde1;
  display: flex; justify-content: space-between; align-items: center;
  color: #050505;
}

.likers-modal-body {
  flex: 1; overflow-y: auto; padding: 10px 15px;
  display: flex; flex-direction: column; gap: 12px;
}

.liker-row {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; padding: 8px 0;
  color: #050505;
}

.liker-avatar-container {
  position: relative;
  width: 40px; height: 40px;
}

.liker-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: #dcae36; color: #111111; font-weight: bold;
  display: flex; align-items: center; justify-content: center; overflow: visible;
  position: relative;
}

.liker-reaction-badge {
  position: absolute;
  bottom: -2px;
  right: -4px;
  background: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ==========================================================================
   SECTION 14: პროფილის რედაქტირების ბარათი (EDIT PROFILE SCREEN)
   ========================================================================== */
#edit-profile,
#screen-edit-profile {
  background-color: #ffffff !important;
  color: #050505 !important;
  width: 100% !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
  position: relative !important;
  font-family: inherit !important;
  display: none;
}


.fb-about-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #dadde1 !important;
}

.fb-about-back-btn {
  background: transparent !important;
  border: none !important;
  padding: 4px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
}

.fb-about-header-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #050505 !important;
}

.fb-about-scroll-body {
  padding: 10px 16px 90px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.fb-about-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  border-bottom: 1px solid #ebedf0 !important;
  padding-bottom: 16px !important;
}

.fb-about-section-title {
  font-size: 17.5px !important;
  font-weight: 800 !important;
  color: #050505 !important;
  margin-top: 4px !important;
}

.fb-about-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  cursor: pointer !important;
  padding: 6px 0 !important;
}

.fb-about-icon-circle {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  background-color: #f0f2f5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.fb-about-text-wrap {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.fb-about-add-btn {
  color: #1877f2 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.fb-about-val-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #050505 !important;
  line-height: 1.25 !important;
}

.fb-about-sub-label {
  font-size: 12.5px !important;
  color: #65676b !important;
  margin-top: 2px !important;
}

.fb-about-privacy-tag {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11.5px !important;
  color: #65676b !important;
  margin-top: 3px !important;
}

.fb-about-edit-pen {
  display: flex !important;
  align-items: center !important;
  padding: 6px !important;
}

/* SUB-SCREEN */
.fb-sub-screen {
  display: none; /* flex-ის ნაცვლად უნდა ეწეროს none! */
  position: fixed !important;
  inset: 0 !important;
  background: #ffffff !important;
  z-index: 2000 !important;
  flex-direction: column !important;
  max-width: 680px !important;
  margin: 0 auto !important;
}


.fb-sub-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid #dadde1 !important;
}

.fb-sub-back-btn {
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
}

.fb-sub-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #050505 !important;
}

.fb-sub-content {
  flex: 1 !important;
  padding: 20px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.fb-input-box-wrap {
  display: flex !important;
  align-items: center !important;
  background: #f0f2f5 !important;
  border-radius: 10px !important;
  padding: 4px 12px !important;
  border: 1px solid #ccd0d5 !important;
}

.fb-input-icon {
  margin-right: 10px !important;
  display: flex !important;
  align-items: center !important;
}

.fb-sub-input {
  flex: 1 !important;
  height: 44px !important;
  border: none !important;
  background: transparent !important;
  font-size: 15px !important;
  color: #050505 !important;
  outline: none !important;
}

.fb-privacy-pill {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  background: #e4e6eb !important;
  color: #050505 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.fb-sub-footer {
  padding: 12px 16px !important;
  border-top: 1px solid #dadde1 !important;
  background: #ffffff !important;
}

.fb-blue-btn {
  width: 100% !important;
  background: #1877f2 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  height: 42px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fb-blue-btn:active {
  opacity: 0.8 !important;
}

/* BOTTOM SHEETS */
.fb-bs-backdrop {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 100000 !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

.fb-bs-panel {
  width: 100% !important;
  max-width: 500px !important;
  background: #ffffff !important;
  border-radius: 16px 16px 0 0 !important;
  padding: 10px 16px 24px 16px !important;
  box-sizing: border-box !important;
  animation: slideUpSheet 0.22s ease-out !important;
}

.fb-bs-handle {
  width: 40px !important;
  height: 4px !important;
  background: #ccd0d5 !important;
  border-radius: 4px !important;
  margin: 0 auto 12px auto !important;
}

.fb-bs-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #050505 !important;
  margin-bottom: 6px !important;
  text-align: center !important;
}

.fb-bs-subtitle {
  font-size: 13px !important;
  color: #65676b !important;
  text-align: center !important;
  margin-bottom: 14px !important;
}

.fb-bs-list {
  display: flex !important;
  flex-direction: column !important;
}

.fb-bs-item {
  padding: 14px 10px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #050505 !important;
  border-bottom: 1px solid #f0f2f5 !important;
  cursor: pointer !important;
}

.fb-bs-item:active {
  background-color: #f0f2f5 !important;
}

.fb-audience-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.fb-audience-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 8px !important;
  cursor: pointer !important;
  border-radius: 8px !important;
}

.fb-aud-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #e4e6eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.fb-aud-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.fb-aud-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #050505 !important;
}

.fb-aud-desc {
  font-size: 12px !important;
  color: #65676b !important;
  margin-top: 1px !important;
}

.fb-audience-row input[type="radio"] {
  width: 20px !important;
  height: 20px !important;
  accent-color: #1877f2 !important;
}

/* "იხილეთ დაწვრილებით" ღილაკი */
.profile-see-more-details-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 10px 0 4px 0 !important;
  color: #1877f2 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.profile-see-more-details-btn:active {
  opacity: 0.7 !important;
}


/* ==========================================================================
   SECTION 15: კონფიდენციალურობის პარამეტრები (PRIVACY SETTINGS)
   ========================================================================== */
.privacy-section-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dadde1;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.privacy-option-item {
  background: #f0f2f5;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #dadde1;
  margin-top: 15px;
}

.privacy-option-title {
  font-size: 16px;
  font-weight: bold;
  color: #dcae36;
  margin-bottom: 6px;
}

.privacy-option-desc {
  font-size: 13px;
  color: #65676b;
  line-height: 1.4;
  margin-bottom: 15px;
}

.privacy-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #ccd0d5;
  transition: all 0.2s;
  color: #050505;
  font-weight: 600;
  font-size: 14px;
}

.privacy-radio-item:hover {
  border-color: #dcae36;
  background: #f0f2f5;
}

.privacy-radio-item input[type="radio"] {
  accent-color: #dcae36;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 16: ძველი სთორის ნახვის ფანჯარა (LEGACY STORY VIEWER)
   ========================================================================== */
.story-viewer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 500; display: flex; justify-content: center; align-items: center; }
.story-viewer-content { width: 100%; max-width: 420px; height: 100vh; max-height: 740px; background: black; position: relative; display: flex; flex-direction: column; }
@media(max-width: 480px) { .story-viewer-content { max-height: 100vh; } }
.story-viewer-header { position: absolute; top: 0; left: 0; right: 0; padding: 15px; background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0)); display: flex; justify-content: space-between; align-items: center; z-index: 15; }
.story-viewer-user { display: flex; align-items: center; gap: 8px; }
.story-viewer-avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #dcae36; overflow: hidden; background: #222222; }
.story-viewer-avatar img { width:100%; height:100%; object-fit: cover; }
#sv-username { color: white; font-weight: bold; font-size: 14px; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.story-close-btn { background: none; border: none; color: white; font-size: 28px; cursor: pointer; -webkit-user-select: none; user-select: none;}
.story-viewer-media { flex: 1; display: flex; justify-content: center; align-items: center; overflow: hidden; }

.story-viewer-footer {
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 80%, rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 12;
}

.story-stats-row {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  padding: 0 4px;
}

.story-reactions-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 20px;
}

.story-react-btn {
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.1s;
  -webkit-user-select: none;
  user-select: none;
}

.story-react-btn:hover {
  transform: scale(1.3);
}

.story-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-comment-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 10px 16px;
  color: white;
  font-size: 14px;
  outline: none;
}

.story-comment-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.story-send-btn {
  background: #dcae36;
  color: #111111;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  -webkit-user-select: none;
  user-select: none;
}

/* ==========================================================================
   SECTION 17: სრული ეკრანის გალერეა და სლაიდერი (FULLSCREEN IMAGE GALLERY)
   ========================================================================== */
.gallery-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: #000000;
  z-index: 2000;
  display: none;
  flex-direction: column;
}

.gallery-top-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
  z-index: 2010;
}

.gallery-close-x {
  font-size: 32px; color: #ffffff; background: none; border: none; cursor: pointer;
}

.gallery-counter-label {
  color: #ffffff; font-size: 16px; font-weight: bold;
}

.gallery-top-icons {
  display: flex; gap: 15px; color: #ffffff; font-size: 22px; cursor: pointer;
}

.gallery-main-view {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery-slider-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.gallery-bottom-info-panel {
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 85%, rgba(0,0,0,0));
  padding: 16px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2010;
}

.gallery-author-row {
  display: flex; align-items: center; gap: 10px;
}

.gallery-author-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #dcae36;
  display: flex; align-items: center; justify-content: center; font-weight: bold; color: #111;
  overflow: hidden;
}

.gallery-author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gallery-author-meta {
  display: flex; flex-direction: column;
}

.gallery-author-name {
  font-size: 15px; font-weight: bold; color: #ffffff;
}

.gallery-time-stamp {
  font-size: 11px; color: #b0b3b8; display: flex; align-items: center; gap: 4px;
}

.gallery-post-caption {
  font-size: 14px; color: #e4e6eb; line-height: 1.4; max-height: 80px; overflow-y: auto;
}

.gallery-reactions-summary {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #2f3031; padding-bottom: 8px; font-size: 13px; color: #b0b3b8;
}

.gallery-actions-buttons-row {
  display: flex; justify-content: space-between; width: 100%;
}

.gallery-act-btn {
  flex: 1; background: none; border: none; padding: 6px;
  color: #b0b3b8; font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.gallery-act-btn.liked-active {
  color: #f33e58 !important;
}

/* ==========================================================================
   SECTION 18: ტექნიკური სამუშაოების და გაფრთხილების ფანჯრები (OVERLAYS)
   ========================================================================== */
#maintenance-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  color: #050505;
  z-index: 999999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

#warning-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 999998;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.warning-modal-box {
  background: #ffffff;
  border: 1px solid #dcae36;
  border-radius: 15px;
  padding: 25px;
  max-width: 420px;
  width: 100%;
  color: #050505;
  text-align: center;
  box-shadow: 0 10px 30px rgba(220, 174, 54, 0.2);
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top: 3px solid #1877f2;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   SECTION 19: პირდაპირი ეთერის ღილაკები და ბარათი (LIVE STREAM CARDS & BADGES)
   ========================================================================== */
.live-post-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f2f5;
  border: 1px solid #ccd0d5;
  color: #050505;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.live-post-btn:hover {
  background: #e4e6eb;
  border-color: #bcc0c4;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #ff4d4f;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 77, 79, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

.live-avatar-ring {
  position: relative;
  display: inline-block;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #e41e3f, #ff4d4f);
  box-shadow: 0 0 0 0 rgba(228, 30, 63, 0.7);
  animation: live-ring-pulse 1.5s infinite;
}

@keyframes live-ring-pulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 30, 63, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(228, 30, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 30, 63, 0); }
}

.live-badge-overlay {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  background: #e41e3f;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid #ffffff;
  letter-spacing: 0.5px;
}

.live-feed-card {
  background: #ffffff;
  border: 1px solid #e41e3f;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
}

.live-feed-header {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #dadde1;
}

.live-watch-banner {
  position: relative;
  width: 100%;
  height: 220px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.live-watch-btn {
  position: absolute;
  background: rgba(228, 30, 63, 0.9);
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
}

#posts-wall video,
#profile-posts-wall video,
.video-grid-thumbnail,
.tiktok-slide-video,
.post-video-player {
  transform: none !important;
  -webkit-transform: none !important;
}

/* ==========================================================================
   SECTION 20: ენის არჩევის მოდალი (LANGUAGE SELECTION MODAL)
   ========================================================================== */
.custom-lang-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.custom-lang-modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 380px;
  border-radius: 14px;
  border: 1px solid #dcae36;
  box-shadow: 0 8px 25px rgba(220, 174, 54, 0.2);
  overflow: hidden;
}

.custom-lang-modal-header {
  padding: 15px 18px;
  background: #f0f2f5;
  border-bottom: 1px solid #dadde1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dcae36;
  font-weight: bold;
  font-size: 15px;
}

.custom-lang-close-btn {
  background: none;
  border: none;
  color: #65676b;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.custom-lang-close-btn:hover {
  color: #050505;
}

.custom-lang-list {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 350px;
  overflow-y: auto;
}

.lang-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background: #f0f2f5;
  border-radius: 8px;
  color: #050505;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.lang-option-card:hover {
  background: #e4e6eb;
  border-color: #dcae36;
}

.lang-check {
  color: #dcae36;
  font-weight: bold;
  display: none;
}

.lang-option-card.active-lang {
  border-color: #dcae36;
  background: rgba(220, 174, 54, 0.12);
}

.lang-option-card.active-lang .lang-check {
  display: inline;
}

/* ==========================================================================
   SECTION 21: ფოტოების ბადე და მრავალჯერადი მონიშვნა (PHOTO GRID & SELECTION)
   ========================================================================== */
.photo-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.photo-item-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  background: #e4e6eb;
}

.photo-item-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.photo-select-checkbox {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

.selection-mode-active .photo-select-checkbox {
  display: flex;
}

.photo-item-container.selected .photo-select-checkbox {
  background: #1877f2;
  border-color: #ffffff;
}

.photo-item-container.selected img {
  opacity: 0.75;
  transform: scale(0.94);
}

.photo-selection-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid #dadde1;
  color: #050505;
}

.photo-selection-bar.active {
  display: flex;
}

.btn-unblock-user {
  background: #ff4d4f;
  color: #ffffff;
  border: 1px solid #ff4d4f;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, transform 0.1s;
}

.btn-unblock-user:hover {
  background: #ff7875;
  border-color: #ff7875;
}

.btn-unblock-user:active {
  transform: scale(0.96);
}

#profile-more-menu-dropdown {
  position: absolute;
  background: #ffffff;
  border: 1px solid #dadde1;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

#profile-more-menu-dropdown button {
  background: transparent;
  border: none;
  color: #ff4d4f;
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  transition: background 0.2s;
}

#profile-more-menu-dropdown button:hover {
  background: #f0f2f5;
}

/* ==========================================================================
   SECTION 22: გაზიარების ქვედა ფანჯარა (SHARE BOTTOM SHEET)
   ========================================================================== */
.eb-share-sheet {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  border: 1px solid #dadde1;
  border-bottom: none;
  padding: 12px 18px 25px 18px;
  box-sizing: border-box;
  animation: slideUpShare 0.28s cubic-bezier(0.1, 0.9, 0.2, 1);
}

@keyframes slideUpShare {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.share-drag-bar {
  width: 44px;
  height: 4px;
  background: #ccd0d5;
  border-radius: 4px;
  margin: 0 auto 12px auto;
}

.share-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcae36;
  color: #111;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.share-user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.share-user-name {
  color: #050505;
  font-size: 15px;
  font-weight: 700;
}

.share-badges-row {
  display: flex;
  gap: 6px;
}

.share-badge-btn {
  background: #f0f2f5;
  color: #050505;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.share-input-thought {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  color: #050505;
  font-size: 15px;
  padding: 14px 4px 6px 4px;
  resize: none;
  outline: none;
  font-family: inherit;
}

.share-btn-primary {
  background: #1877f2;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.share-btn-primary:active { opacity: 0.8; }

.share-sheet-divider {
  height: 1px;
  background: #dadde1;
  margin: 12px 0 10px 0;
}

.share-section-title {
  color: #65676b;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.share-friends-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 8px 0;
  scrollbar-width: none;
}
.share-friends-row::-webkit-scrollbar { display: none; }

.share-friend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 62px;
  max-width: 72px;
  cursor: pointer;
  text-align: center;
}

.share-friend-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #f0f2f5;
}
.share-friend-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-friend-name {
  color: #050505;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.share-apps-row {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  gap: 6px;
}

.share-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex: 1;
  text-align: center;
}

.share-app-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.share-app-item span {
  color: #050505;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
}

/* ==========================================================================
   SECTION 23: ტექსტის შეყვანის ველების სელექცია (TEXT INPUT USER SELECT RESET)
   ========================================================================== */
input,
textarea,
[contenteditable="true"],
.create-post-input,
.comments-input,
.fb-live-input,
#story-comment-field {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

/* ==========================================================================
   SECTION 24: შემომავალი ზარი და ვიდეო ზარი (CALL MODAL & VIDEO CALL SCREEN)
   ========================================================================== */
#incoming-call-modal {
  display: none;
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 450px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(46, 213, 115, 0.4);
  border-radius: 22px;
  z-index: 3000;
  padding: 12px 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  align-items: center;
  justify-content: space-between;
  animation: slideDownCall 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideDownCall {
  from { transform: translate(-50%, -100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.incoming-banner-left { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.call-avatar-pulse { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.call-avatar-pulse img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #2ed573; }
.incoming-banner-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.incoming-banner-info h2 { font-size: 15px; font-weight: 700; color: #050505; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.incoming-banner-info p { font-size: 12px; color: #2ed573; font-weight: 500; }
.incoming-call-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.call-btn { width: 44px; height: 44px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: transform 0.15s; }
.call-btn:active { transform: scale(0.9); }
.call-btn svg { width: 20px; height: 20px; fill: #fff; }
.reject-btn { background: #ff4757; }
.accept-btn { background: #2ed573; }

#video-call-screen { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000000; z-index: 2000; }
#remote-video { width: 100%; height: 100%; object-fit: cover; }
#local-video { position: absolute; top: 20px; right: 20px; width: 100px; height: 140px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); box-shadow: 0 4px 12px rgba(0,0,0,0.5); z-index: 10; }
.video-call-top-bar { position: absolute; top: 20px; left: 20px; display: flex; flex-direction: column; gap: 4px; z-index: 10; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.video-call-top-bar span:first-child { font-weight: 700; font-size: 18px; color: #fff; }
.video-call-top-bar span:last-child { font-size: 13px; color: #2ed573; }
.video-call-bottom-bar { position: absolute; bottom: max(30px, env(safe-area-inset-bottom, 30px)); left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 25px; z-index: 10; }
.call-action-icon-btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.call-action-icon-btn:active { transform: scale(0.92); }
.call-action-icon-btn svg { width: 22px; height: 22px; fill: #fff; }
.end-call-btn { background: #ff4757; width: 60px; height: 60px; }

video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   SECTION 25: მთავარი ლენტის კონტეინერი (FEED CONTAINER & WALL)
   ========================================================================== */
.feed-container {
  width: 100% !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

#posts-wall,
.post-card {
  background: #ffffff !important;
  border-radius: 0 !important;
  padding: 12px 0 0 0 !important;
  margin-bottom: 8px !important;
  border-top: 1px solid #dadde1 !important;
  border-bottom: 1px solid #dadde1 !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   SECTION 26: ქვედა ფიქსირებული ნავიგაცია (BOTTOM NAVIGATION BAR)
   ========================================================================== */
.bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 56px !important;
  background-color: #ffffff !important;
  display: none;
  justify-content: space-around !important;
  align-items: center !important;
  border-top: 1px solid #dadde1 !important;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05) !important;
  z-index: 1000 !important;
  transform: translateY(0);
  transition: transform 0.25s ease-in-out !important;
  box-sizing: border-box !important;
}

.bottom-nav.nav-hidden {
  transform: translateY(100%) !important;
}

.bottom-nav .nav-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  height: 100% !important;
  text-decoration: none !important;
}

.bottom-nav .nav-icon {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  filter: brightness(0) opacity(0.6) !important;
  transition: filter 0.2s ease;
}

.bottom-nav .nav-item.active .nav-icon {
  filter: invert(45%) sepia(98%) saturate(1800%) hue-rotate(195deg) brightness(100%) contrast(105%) !important;
}

.nav-badge-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.bottom-nav-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  background-color: #ff3b30;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  z-index: 10;
}

/* ==========================================================================
   SECTION 27: შეტყობინებების ეკრანი (NOTIFICATIONS SCREEN)
   ========================================================================== */
#notifications-screen {
  display: none;
  width: 100%;
  min-height: 100vh;
  background-color: #f0f2f5;
  padding-bottom: 75px;
}

.notif-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #dadde1;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.notif-header-title {
  font-size: 22px;
  font-weight: 800;
  color: #050505;
}

.notif-section-label {
  font-size: 17px;
  font-weight: 700;
  color: #050505;
  padding: 16px 16px 8px 16px;
}

.notif-list-container {
  display: flex;
  flex-direction: column;
}

.notif-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #dadde1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notif-item-card:active {
  background: #f0f2f5;
}

.notif-avatar-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.notif-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #e4e6eb;
}

.notif-type-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.notif-type-badge.comment { background: #2ed573; }
.notif-type-badge.post { background: #1877f2; }
.notif-type-badge.video { background: #ff4757; }

.notif-type-badge svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-text {
  font-size: 14px;
  line-height: 1.35;
  color: #050505;
  margin-bottom: 4px;
  word-break: break-word;
}

.notif-text strong {
  color: #050505;
  font-weight: 700;
}

.notif-time {
  font-size: 12px;
  color: #65676b;
}

.notif-item-options {
  background: none;
  border: none;
  color: #65676b;
  font-size: 20px;
  padding: 6px;
  cursor: pointer;
}

/* ==========================================================================
   SECTION 28: მეგობრების და მოთხოვნების ეკრანი (FRIENDS & REQUESTS SCREEN)
   ========================================================================== */
#friends-screen {
  display: none;
  width: 100%;
  min-height: 100vh;
  background-color: #f0f2f5;
  padding-bottom: 75px;
}

.friends-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 10px 16px;
}

.friends-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #050505;
}

.friends-count-pill {
  color: #ff3b30;
  font-size: 16px;
  font-weight: 700;
}

.friend-requests-list {
  display: flex;
  flex-direction: column;
}

.friend-req-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #dadde1;
}

.friend-req-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  background: #e4e6eb;
  flex-shrink: 0;
  cursor: pointer;
}

.friend-req-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.friend-req-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.friend-req-name {
  font-size: 16px;
  font-weight: 700;
  color: #050505;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.friend-req-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 20px;
  margin: 3px 0 6px 0;
}

.mutual-friends-text {
  font-size: 13px;
  color: #65676b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friend-req-time {
  font-size: 13px;
  color: #65676b;
}

.friend-req-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.btn-confirm-req {
  width: 100%;
  background: #dcae36;
  color: #111111;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, opacity 0.2s;
  line-height: 1.2;
}

.btn-confirm-req:hover {
  background: #c2982e;
}

.btn-confirm-req:active {
  opacity: 0.85;
}

.btn-confirm-req:disabled {
  background: #e4e6eb !important;
  color: #8a8d91 !important;
  border: none !important;
  cursor: default !important;
}

.btn-delete-req {
  width: 100%;
  background: #e4e6eb;
  color: #050505;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, opacity 0.2s;
  line-height: 1.2;
}

.btn-delete-req:hover {
  background: #d8dadf;
}

.btn-delete-req:active {
  opacity: 0.8;
}

/* ==========================================================================
   SECTION 29: TIKTOK სტილის LIVE STREAM ბარათი (LIVE AGORA TIKTOK CARD)
   ========================================================================== */
.post-card, .collage-container, .feed-container {
  contain: content;
}

.collage-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  content-visibility: auto;
}

.live-tiktok-card {
  max-width: 480px;
  margin: 16px auto;
  background: #ffffff;
  border: 1px solid #dadde1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  position: relative;
}

.live-tiktok-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #dadde1;
}

.live-tiktok-video-box {
  position: relative;
  width: 100%;
  height: 480px;
  background: #000000;
  cursor: pointer;
  overflow: hidden;
}

.live-agora-stream-player {
  width: 100%;
  height: 100%;
}

.live-agora-stream-player video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.live-tiktok-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.8) 100%);
  z-index: 10;
}

.live-tiktok-top-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse-badge {
  background: #e41e3f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.live-viewers-pill {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-tiktok-bottom-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.live-stream-headline {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
  max-width: 70%;
}

.live-enter-btn-bubble {
  background: #1877f2;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.5);
  pointer-events: auto;
}

/* ==========================================================================
   SECTION 30: რეკლამის ბანერი და CTA (SPONSORED ADS POST CTA BAR)
   ========================================================================== */
div:has(> a[href*="live-wheel"]) {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.sponsored-cta-bar {
  background: #f0f2f5;
  border-top: 1px solid #dadde1;
  border-bottom: 1px solid #dadde1;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sponsored-cta-bar:active {
  background: #e4e6eb;
}

.sponsored-cta-text {
  flex: 1;
  min-width: 0;
  padding-right: 12px;
}

.sponsored-cta-headline {
  font-size: 14px;
  font-weight: 700;
  color: #050505;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.sponsored-cta-domain {
  font-size: 11.5px;
  color: #65676b;
  margin-top: 2px;
  text-transform: lowercase;
}

.sponsored-cta-btn {
  background: #ffffff;
  color: #050505;
  border: 1px solid #ccd0d5;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.sponsored-cta-btn:hover {
  background: #e4e6eb;
}

/* ==========================================================================
   SECTION 31: კონტაქტების და გამომწერების ეკრანი (CONNECTIONS / FOLLOWERS TIKTOK STYLE)
   ========================================================================== */
#connections-screen {
  background-color: #ffffff !important;
  color: #050505 !important;
  min-height: 100vh;
  width: 100%;
}

#connections-screen .feed-container {
  background-color: #ffffff !important;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 !important;
}

.connections-container { 
  background-color: #ffffff !important; 
  border: none !important; 
  padding: 0 !important; 
  box-shadow: none !important; 
  border-radius: 0 !important;
}

.conn-tiktok-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dadde1 !important;
  background-color: #ffffff !important;
  padding: 0 4px;
}

.conn-tab-item {
  flex: 1;
  padding: 12px 2px;
  background: transparent !important;
  border: none !important;
  font-size: 14px;
  font-weight: 600;
  color: #65676b !important;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  -webkit-tap-highlight-color: transparent;
}

.conn-tab-item.active {
  color: #050505 !important;
  font-weight: 700 !important;
}

.conn-tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2.5px;
  background-color: #050505 !important;
  border-radius: 2px 2px 0 0;
}

.conn-search-bar-wrap {
  padding: 10px 14px 6px 14px;
  background-color: #ffffff !important;
}

.conn-search-box {
  display: flex;
  align-items: center;
  background-color: #f0f2f5 !important;
  border: 1px solid #ccd0d5 !important;
  border-radius: 20px;
  padding: 7px 14px;
  gap: 8px;
}

.conn-search-box input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 14px;
  color: #050505 !important;
}

.conn-search-box input::placeholder {
  color: #8a8d91 !important;
}

.connections-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 8px 16px; 
  background-color: #ffffff !important;
  border-bottom: 1px solid #f0f2f5 !important; 
}

#connections-title { 
  font-size: 13.5px; 
  font-weight: 700; 
  color: #65676b !important; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#connections-count {
  font-size: 13px;
  color: #8a8d91 !important;
  font-weight: 600;
}

.connections-list {
  background-color: #ffffff !important;
  padding: 4px 14px 40px 14px;
  display: flex;
  flex-direction: column;
}

.connections-empty { 
  background-color: #ffffff !important;
  text-align: center; 
  color: #65676b !important; 
  padding: 40px 20px; 
  font-size: 14px;
}

.connection-row { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 0; 
  background-color: #ffffff !important;
  border-bottom: 1px solid #f0f2f5 !important; 
}

.connection-user-info { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  cursor: pointer; 
  flex: 1;
  min-width: 0;
}

.connection-avatar { 
  width: 48px; 
  height: 48px; 
  border-radius: 50%; 
  background-color: #e4e6eb !important; 
  flex-shrink: 0;
  overflow: visible; 
  position: relative; 
}

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

.connection-name-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.connection-name { 
  font-weight: 700; 
  font-size: 14.5px;
  color: #050505 !important; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-subtext {
  font-size: 12px;
  color: #65676b !important;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.connection-right-box {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-remove-connection { 
  background: #fe2c55 !important; 
  color: #ffffff !important; 
  border: none !important; 
  padding: 7px 18px !important; 
  border-radius: 20px !important; 
  font-weight: 700 !important; 
  cursor: pointer; 
  font-size: 13px !important; 
  transition: transform 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
}

.btn-remove-connection:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.conn-more-dots-btn {
  background: transparent !important;
  border: none !important;
  color: #8a8d91 !important;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conn-more-dots-btn:hover { 
  background-color: #f0f2f5 !important; 
  color: #050505 !important;
}

/* ==========================================================================
   SECTION 32: პოსტის კოლაჟები და ფოტო-ბადეები (POST COLLAGE LAYOUTS 1-6)
   ========================================================================== */
.collage-container {
  margin-bottom: 0px;
  border-radius: 0 !important;
  overflow: hidden;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.collage-grid {
  display: grid;
  gap: 3px;
  background: #dadde1;
  width: 100% !important;
}

.collage-item {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: 0 !important;
}

.collage-1 { grid-template-columns: 1fr; }
.collage-1 .collage-item { max-height: 500px; object-fit: contain !important; background: #000; }
.collage-2 { grid-template-columns: 1fr 1fr; }
.collage-2 .collage-item { aspect-ratio: 1 / 1; }
.collage-3 { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 1fr); }
.collage-3 .collage-item:nth-child(1) { grid-row: span 2; aspect-ratio: 1 / 2; }
.collage-3 .collage-item:nth-child(2),
.collage-3 .collage-item:nth-child(3) { aspect-ratio: 1 / 1; }
.collage-4 { grid-template-columns: repeat(2, 1fr); }
.collage-4 .collage-item { aspect-ratio: 1 / 1; }
.collage-5 { grid-template-columns: repeat(6, 1fr); }
.collage-5 .collage-item:nth-child(1) { grid-column: span 3; aspect-ratio: 1 / 1; }
.collage-5 .collage-item:nth-child(2) { grid-column: span 3; aspect-ratio: 1 / 1; }
.collage-5 .collage-item:nth-child(n+3) { grid-column: span 2; aspect-ratio: 1 / 1; }
.collage-6 { grid-template-columns: repeat(3, 1fr); }
.collage-6 .collage-item { aspect-ratio: 1 / 1; }

.collage-overlay { position: relative; width: 100%; height: 100%; }
.collage-overlay-text {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #f0f2f5;
  width: 100%;
}

.photo-grid-full .collage-item {
  aspect-ratio: 1 / 1;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  cursor: pointer;
}

.video-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #f0f2f5;
  width: 100%;
}

.video-grid-card {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
}

.video-grid-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-grid-views {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

/* ==========================================================================
   SECTION 33: TIKTOK სრული ეკრანის ვიდეო ფიდი (TIKTOK FULLSCREEN FEED)
   ========================================================================== */
.tiktok-fullscreen-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #000000;
  z-index: 3000;
  display: none;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.tiktok-fullscreen-close {
  position: fixed;
  top: 15px; left: 15px;
  font-size: 30px; color: #ffffff;
  background: rgba(0,0,0,0.5); border: none;
  width: 45px; height: 45px; border-radius: 50%;
  cursor: pointer; z-index: 3100;
  display: flex; align-items: center; justify-content: center;
}

.tiktok-slide-item {
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-slide-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tiktok-overlay-bottom-info {
  position: absolute;
  bottom: 20px; left: 15px; right: 80px;
  z-index: 3050;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
  padding: 10px;
  border-radius: 8px;
}

.tiktok-info-author {
  font-weight: bold; font-size: 16px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px;
}

.tiktok-info-time {
  font-size: 12px; color: #d1d1d6; font-weight: normal;
}

.tiktok-info-caption {
  font-size: 14px; line-height: 1.3; max-height: 60px; overflow: hidden;
}

/* ==========================================================================
   SECTION 34: FACEBOOK სტილის კომენტარების დეტალური ბლოკი (FB COMMENT CARD)
   ========================================================================== */
.fb-comment-bubble {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
}

.fb-comment-user-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin-bottom: 2px !important;
}

.fb-comment-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #050505 !important;
  cursor: pointer !important;
}

.fb-comment-name:hover {
  text-decoration: underline !important;
}

.fb-comment-time {
  font-size: 12px !important;
  color: #65676b !important;
}

.fb-author-badge {
  font-size: 11.5px !important;
  color: #65676b !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.fb-comment-text {
  font-size: 14.5px !important;
  color: #050505 !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
  margin-top: 1px !important;
}

.fb-comment-actions-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 4px !important;
  padding: 0 !important;
  min-height: 22px !important;
}

.fb-actions-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.fb-comment-action-btn {
  background: none !important;
  border: none !important;
  color: #65676b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.fb-comment-action-btn:hover {
  text-decoration: underline !important;
}

.fb-comment-likes-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #65676b !important;
  cursor: pointer !important;
}

.fb-comment-heart-btn {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #65676b !important;
}

.fb-comment-heart-btn svg {
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  transition: transform 0.15s, fill 0.15s, stroke 0.15s;
}

.fb-comment-heart-btn.liked svg {
  fill: #e41e3f !important;
  stroke: #e41e3f !important;
}

.fb-comment-heart-btn:active svg {
  transform: scale(1.3);
}

.fb-replies-toggle-btn {
  background: none !important;
  border: none !important;
  color: #65676b !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  margin-top: 6px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.fb-replies-toggle-btn:hover {
  text-decoration: underline !important;
}

.fb-replies-container {
  margin-left: 46px !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: calc(100% - 46px) !important;
  margin-top: 6px !important;
}

/* ==========================================================================
   SECTION 35: FACEBOOK ბურგერ მენიუ და გვერდითი პანელი (DRAWER SLIDE MENU)
   ========================================================================== */
.fb-main-burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  z-index: 101;
}

.fb-main-burger-btn span {
  width: 22px;
  height: 2.2px;
  background-color: #050505;
  border-radius: 2px;
  display: block;
}

body:not(.light-mode) .fb-main-burger-btn span {
  background-color: #ffffff;
}

.fb-drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000000;
  backdrop-filter: blur(2px);
}

.fb-new-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #f0f2f5;
  z-index: 2000001;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 12px 14px 40px 14px;
  box-sizing: border-box;
}

.fb-new-drawer.open {
  transform: translateX(0);
}

.fb-drawer-profile-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  margin-bottom: 8px;
}

.fb-drawer-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-drawer-avatar-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e4e6eb;
}

.fb-drawer-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-drawer-user-name {
  font-weight: 700;
  font-size: 15px;
  color: #050505;
}

.fb-drawer-switch-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-drawer-switch-arrow {
  font-size: 11px;
  color: #65676b;
}

.fb-drawer-badge-red {
  background: #e41e3f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
}

.fb-drawer-action-btn {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: #050505;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  margin-bottom: 14px;
}

.fb-drawer-action-icon {
  width: 28px;
  height: 28px;
  background: #e4e6eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.fb-drawer-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #050505;
  margin: 4px 0 8px 4px;
}

.fb-drawer-shortcuts-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 4px;
}

.fb-drawer-shortcuts-row::-webkit-scrollbar { display: none; }

.fb-shortcut-card {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.fb-shortcut-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fb-shortcut-name {
  font-size: 11.5px;
  font-weight: 600;
  color: #050505;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.fb-drawer-menu-list {
  background: #ffffff;
  border-radius: 12px;
  padding: 4px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
}

.fb-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #050505;
  cursor: pointer;
}

.fb-drawer-item:active {
  background: #f0f2f5;
}

.fb-drawer-item-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1877f2;
}

.fb-drawer-item-icon img {
  filter: brightness(0) !important;
}

.fb-drawer-more-btn {
  width: 100%;
  background: #e4e6eb;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 14px;
}

.fb-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fb-accordion-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.fb-acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13.5px;
  color: #050505;
}

.fb-acc-icon { font-size: 18px; }
.fb-acc-icon-img { width: 20px; height: 20px; }
.fb-acc-arrow { font-size: 10px; color: #65676b; }

.fb-accordion-body {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin-top: -2px;
}

.fb-accordion-body a {
  padding: 10px 16px;
  text-decoration: none;
  color: #050505;
  font-size: 13px;
  border-bottom: 1px solid #f0f2f5;
}

.fb-accordion-body a:hover { background: #f0f2f5; }

/* ==========================================================================
   SECTION 36: საძიებო სისტემა და მოდალი (SEARCH SCREEN & OVERLAY SHEET)
   ========================================================================== */
.fb-search-screen {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
}

.fb-search-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #ffffff;
}

.fb-search-back-arrow {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: #050505;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.fb-search-pill-box {
  flex: 1;
  background: #f0f2f5;
  border-radius: 20px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
}

.fb-search-real-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #050505;
}

.fb-search-real-input::placeholder {
  color: #65676b;
}

.fb-search-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 6px 16px;
}

.fb-search-subhead-title {
  font-size: 19px;
  font-weight: 800;
  color: #050505;
}

.fb-search-see-all-btn {
  background: none;
  border: none;
  color: #1877f2;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.fb-search-content-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 20px 0;
}

.fb-search-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 16px !important;
  background: #ffffff !important;
  cursor: pointer;
  width: 100% !important;
  box-sizing: border-box !important;
}

.fb-search-item:active {
  background: #f2f3f5;
}

.fb-search-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.fb-search-item-left img,
img.fb-search-ava {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.fb-search-clock-circle {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #e4e6eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.fb-search-clock-circle svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #050505 !important;
}

.fb-search-meta {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-width: 0 !important;
}

.fb-search-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #050505 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.fb-search-subtitle {
  font-size: 13px !important;
  color: #65676b !important;
  margin-top: 1px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.fb-search-dots-btn {
  background: none !important;
  border: none !important;
  padding: 6px 10px !important;
  cursor: pointer !important;
  color: #65676b !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  flex-shrink: 0 !important;
}

.fb-sheet-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100000;
  align-items: flex-end;
  justify-content: center;
}

.fb-sheet-panel {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  padding: 10px 16px 24px 16px;
  animation: slideUpSheet 0.22s ease-out;
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.fb-sheet-handle {
  width: 40px;
  height: 4px;
  background: #ccd0d5;
  border-radius: 4px;
  margin: 0 auto 12px auto;
}

.fb-sheet-header-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 12px 0;
}

.fb-sheet-ava-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fb-sheet-ava-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-sheet-target-name {
  font-size: 17px;
  font-weight: 700;
  color: #050505;
}

.fb-sheet-divider {
  height: 1px;
  background: #e4e6eb;
  margin: 6px 0 10px 0;
}

.fb-sheet-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  cursor: pointer;
}

.fb-sheet-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-sheet-row-texts {
  display: flex;
  flex-direction: column;
}

.fb-sheet-row-title {
  font-size: 15px;
  font-weight: 600;
  color: #050505;
}

.fb-sheet-row-desc {
  font-size: 13px;
  color: #65676b;
  margin-top: 1px;
}

/* ==========================================================================
   SECTION 37: ახალი პროფილის გვერდის დიზაინი (FACEBOOK PROFILE SCREEN)
   ========================================================================== */
/* 37.0. კონტეინერის რესპონსიული შეზღუდვა */
#profile-screen {
  width: 100% !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
}

#profile-screen .feed-container {
  width: 100% !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
}

@media (max-width: 680px) {
  #profile-screen .feed-container {
    max-width: 100% !important;
  }
}

@media (min-width: 681px) {
  #profile-screen {
    width: 680px !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  #profile-screen .facebook-profile-container {
    width: 680px !important;
    max-width: 680px !important;
    margin: 15px auto 0 auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #dadde1 !important;
  }

  #profile-screen .header.profile-header-fix,
  #profile-screen .header.profile-header-fix.fb-prof-top-bar {
    max-width: 680px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border-radius: 16px 16px 0 0 !important;
  }
}

/* 37.1. ზედა ფიქსირებული გამჭვირვალე ჰედერი */
#profile-screen .header.profile-header-fix,
#profile-screen .header.profile-header-fix.fb-prof-top-bar {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%) !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 100 !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

#profile-screen .nav-icons-center {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

#profile-screen .nav-icon-btn,
#profile-screen .fb-prof-nav-btn {
  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 0 !important;
}

#profile-screen .nav-icon-btn .nav-icon-svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
  width: 22px !important;
  height: 22px !important;
}

#profile-screen .fb-prof-top-actions svg,
#profile-screen .nav-icons-center svg {
  stroke: #ffffff !important;
  fill: #ffffff !important;
  color: #ffffff !important;
}

#profile-screen .fb-prof-top-actions img,
#profile-screen .nav-icons-center img,
#profile-screen .fb-prof-top-actions .post-action-icon,
#profile-screen .nav-icons-center .post-action-icon {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  width: 19px !important;
  height: 19px !important;
}

#profile-screen #profile-burger-btn .burger-line,
#profile-screen .burger-btn .burger-line {
  background-color: #ffffff !important;
  width: 18px !important;
  height: 2px !important;
}

/* 37.2. ქავერის ფოტო და კამერის ღილაკი */
#profile-screen .facebook-profile-container,
.facebook-profile-container {
  width: 100% !important;
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: relative !important;
  overflow: visible !important;
}

#profile-screen .profile-cover-wrapper,
.profile-cover-wrapper {
  height: 260px !important;
  min-height: 260px !important;
  width: 100% !important;
  background-color: #2d3748 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  display: block !important;
}

#profile-screen #cover-camera-btn,
#profile-screen .cover-camera-btn,
.cover-camera-btn {
  position: absolute !important;
  top: auto !important;
  bottom: 60px !important;
  right: 14px !important;
  left: auto !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  background: rgba(0, 0, 0, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

#profile-screen #cover-camera-btn img,
#profile-screen .cover-camera-btn img,
.cover-camera-btn img,
.cover-camera-btn .post-action-icon {
  filter: brightness(0) invert(1) !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* 37.3. თეთრი მომრგვალებული ბარათი */
#profile-screen .profile-modern-card,
.profile-modern-card {
  width: 100% !important;
  background: #ffffff !important;
  border-radius: 26px 26px 0 0 !important;
  margin-top: -30px !important;
  position: relative !important;
  z-index: 10 !important;
  padding: 0 10px 20px 10px !important;
  box-sizing: border-box !important;
}

#profile-screen .profile-info-wrapper,
.profile-info-wrapper {
  width: 100% !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* 37.4. ცენტრალური დიდი ავატარი და კამერის ღილაკი */
#profile-screen .avatar-stats-row,
.avatar-stats-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: -80px !important;
  margin-bottom: 8px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  width: 100% !important;
  text-align: center !important;
}

#profile-screen .profile-avatar-holder,
.profile-avatar-holder {
  width: 160px !important;
  height: 160px !important;
  position: relative !important;
  margin: 0 auto !important;
}

#profile-screen .profile-fb-avatar, 
#profile-screen .profile-big-avatar,
.profile-fb-avatar, 
.profile-big-avatar {
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  background: #e4e6eb !important;
  border: 5px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
  margin: 0 auto !important;
}

#profile-screen .profile-big-avatar img,
#profile-screen .profile-fb-avatar img,
.profile-big-avatar img,
.profile-fb-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

#profile-screen #avatar-camera-btn,
#profile-screen .avatar-camera-btn,
.avatar-camera-btn {
  position: absolute !important;
  bottom: 4px !important;
  right: 6px !important;
  width: 36px !important;
  height: 36px !important;
  background: #e4e6eb !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 20 !important;
}

.profile-last-active-pill {
  position: absolute !important;
  bottom: 8px !important;
  right: 4px !important;
  z-index: 25 !important;
  display: none;
}

.profile-last-active-pill.is-online-dot {
  width: 18px !important;
  height: 18px !important;
  background-color: #31a24c !important;
  border: 3px solid #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25) !important;
  padding: 0 !important;
}

.profile-last-active-pill.is-offline-pill {
  background-color: #e7f8eb !important;
  border: none !important;
  color: #1b7a32 !important;
  border-radius: 14px !important;
  padding: 2px 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.2px !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.profile-stats-block {
  display: none !important;
}

/* 37.5. მომხმარებლის სახელი ცენტრში */
.profile-user-headline {
  text-align: center !important;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  width: 100% !important;
}

.profile-fb-name {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #050505 !important;
  text-align: center !important;
  line-height: 1.25 !important;
}

.profile-fb-subtitle {
  display: none !important;
}

/* 37.6. პროფილის სტატისტიკა ერთ ხაზზე */
.profile-stats-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 13.5px !important;
  color: #050505 !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.stat-inline-item {
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.stat-inline-item strong {
  font-weight: 800 !important;
  color: #050505 !important;
}

.stat-inline-item span {
  font-weight: 600 !important;
  color: #050505 !important;
}

.stat-dot-sep {
  color: #65676b !important;
  font-weight: bold !important;
  margin: 0 1px !important;
}

/* 37.7. საერთო მეგობრების ბლოკი */
.profile-mutual-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

.mutual-avatars-cluster {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.mutual-avatar-mini {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  object-fit: cover !important;
  margin-left: -8px !important;
}

.mutual-avatar-mini:first-child {
  margin-left: 0 !important;
}

.mutual-friends-text-wrap {
  font-size: 13px !important;
  color: #050505 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

/* 37.8. პროფილის მოქმედების ღილაკები (ოქროსფერი და მეორადი) */
.profile-action-column {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  box-sizing: border-box !important;
}

.profile-action-column button {
  height: 40px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  transition: opacity 0.15s ease, background-color 0.2s ease !important;
}

.profile-action-column .fb-btn-secondary {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: #e4e6eb !important;
  color: #050505 !important;
}

.profile-action-column .fb-btn-secondary:hover {
  background: #d8dadf !important;
}

.profile-action-column .fb-btn-primary,
.profile-action-column .fb-btn-success {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: #dcae36 !important;
  color: #111111 !important;
}

.profile-action-column .fb-btn-primary:hover,
.profile-action-column .fb-btn-success:hover {
  background: #c2982e !important;
}

.profile-action-column .fb-btn-primary:active,
.profile-action-column .fb-btn-success:active {
  transform: scale(0.98) !important;
  opacity: 0.9 !important;
}

.profile-action-column .btn-more-options {
  width: 44px !important;
  min-width: 44px !important;
  flex: 0 0 44px !important;
  background: #e4e6eb !important;
  color: #050505 !important;
}

/* 37.9. დეტალების სია */
.profile-details-box {
  background: transparent !important;
  padding: 0 !important;
  margin: 10px 0 16px 0 !important;
  width: 100% !important;
}

.detail-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  font-size: 15px !important;
  color: #050505 !important;
}

/* 37.10. შესაძლო ნაცნობების ჰორიზონტალური სლაიდერი */
/* 37.10. მეგობრების ჰორიზონტალური ბლოკი (სქრინის დიზაინით) */
.profile-friends-preview-box {
  width: 100% !important;
  padding: 12px 14px !important;
  border-top: 1px solid #f0f2f5 !important;
  border-bottom: 1px solid #f0f2f5 !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
}

.friends-preview-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  width: 100% !important;
}

.friends-preview-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #050505 !important;
}

.friends-see-all-btn {
  background: none !important;
  border: none !important;
  color: #1877f2 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.friends-preview-grid {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  padding-bottom: 6px !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
}

.friends-preview-grid::-webkit-scrollbar {
  display: none !important;
}

.friend-grid-item {
  width: 74px !important;
  min-width: 74px !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

.friend-grid-avatar-holder {
  width: 66px !important;
  height: 66px !important;
  min-width: 66px !important;
  min-height: 66px !important;
  border-radius: 50% !important;
  padding: 2px !important;
  border: 2px solid #1877f2 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.friend-grid-avatar-holder img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.friend-grid-name {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #050505 !important;
  text-align: center !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
}

/* 37.11. პროფილის ტაბები (პოსტები / ფოტოები / Reels) */
.profile-tabs {
  display: flex !important;
  gap: 8px !important;
  border: none !important;
  padding: 4px 0 12px 0 !important;
  width: 100% !important;
}

.tab-button {
  background: #e4e6eb !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #050505 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.tab-button.active {
  background: rgba(220, 174, 54, 0.18) !important;
  color: #b8860b !important;
  border: 1px solid #dcae36 !important;
  border-bottom: 1px solid #dcae36 !important;
}

/* 37.12. პროფილის პოსტების კედელი */
#profile-posts-wall {
  width: 100% !important;
  background: #f0f2f5 !important;
  padding-top: 10px !important;
  box-sizing: border-box !important;
}

#profile-posts-wall .post-card {
  width: 100% !important;
  background: #ffffff !important;
  border-top: 1px solid #dadde1 !important;
  border-bottom: 1px solid #dadde1 !important;
  margin-bottom: 10px !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
}

/* ==========================================================================
   SECTION 38: საერთო მეგობრების კლასტერი და დეტალების დამატებითი სტილები
   ========================================================================== */
.profile-mutual-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 12px 14px 14px 14px !important;
  padding: 0 !important;
  cursor: pointer !important;
  width: calc(100% - 28px) !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.mutual-avatars-cluster {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.mutual-avatars-cluster img.mutual-avatar-mini {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  object-fit: cover !important;
  margin-left: -10px !important;
  box-sizing: border-box !important;
  display: inline-block !important;
}

.mutual-avatars-cluster img.mutual-avatar-mini:first-child {
  margin-left: 0 !important;
}

body.light-mode .mutual-avatars-cluster img.mutual-avatar-mini {
  border-color: #ffffff !important;
}

.mutual-friends-text-wrap {
  font-size: 13.5px !important;
  color: #65676b !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  flex: 1 !important;
}

body.light-mode .mutual-friends-text-wrap {
  color: #65676b !important;
}

.profile-details-box {
  background: transparent !important;
  border: none !important;
  padding: 0 14px !important;
  margin: 16px 0 20px 0 !important;
}

.profile-details-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 14px !important;
}

.profile-details-main-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #050505 !important;
  line-height: 1.25 !important;
}

body:not(.light-mode) .profile-details-main-title {
  color: #e4e6eb !important;
}

.profile-details-edit-pen {
  cursor: pointer !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.profile-details-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.detail-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  border: none !important;
  padding: 0 !important;
  color: #050505 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

body:not(.light-mode) .detail-item {
  color: #e4e6eb !important;
}

.detail-item .icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.detail-item .icon img.post-action-icon {
  width: 22px !important;
  height: 22px !important;
  opacity: 0.8 !important;
}

body.light-mode .detail-item .icon img.post-action-icon {
  filter: brightness(0) !important;
}




.post-card {
  border-top: none !important;
}
