/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apply text-decoration: none only to specific elements that need it */
a {
  text-decoration: none;
  color: black;
}

/* Specific styles for marketplace category links */
.category-link {
  display: block;
  padding: 8px 12px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.category-link:hover {
  background-color: #f5f5f5;
  color: #FF9900;
}

.category-link:last-child {
  border-bottom: none;
}

/* Subcategory links */
.subcategory-link {
  display: block;
  padding: 6px 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}

.subcategory-link:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

.subcategories-all-link {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  transition: background-color 0.2s;
}

.subcategories-all-link:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #333333;
  overflow-x: hidden;
  font-size: 11px;
  color: #000;
  font-family: Tahoma, sans-serif;
  line-height: 1.2;
}

/* UserInfoDisplay global styles */
/* Удалено переопределение анимации - ScrollingText управляет своей анимацией динамически */

.loading-placeholder {
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #999;
}

.user-info-full-name {
  text-align: center;
  cursor: pointer;
  color: #000;
  text-decoration: none;
  display: block;
}

.user-info-full-name:hover {
  text-decoration: underline;
  color: #FF9900;
}

/* Friendship status display styles */
.friendship-status-display {
  font-size: 9px;
  color: #FF9900;
  cursor: pointer;
  text-align: center;
  margin-top: 2px;
  padding: 2px 4px;
  border-radius: 3px;
  transition: all 0.2s;
  text-transform: lowercase;
  z-index: 10;
  position: relative;
}

.friendship-status-display:hover {
  background: #fff8f0;
  color: #e68800;
}

.friendship-status-display:active {
  transform: scale(0.95);
}

/* ScrollingText component styles */
.scrolling-container {
  position: relative;
  overflow: hidden;
  height: 20px;
  width: 100%;
}

.scrolling-text {
  white-space: nowrap;
  position: absolute;
  width: max-content;
  top: -4px;
  left: 0;
}

.scrolling-text.ready {
  visibility: visible;
  font-size: 12px;
}

.scrolling-text.hidden {
  visibility: hidden;
}

/* Анимация подсветки комментария при прокрутке по прямой ссылке */
@keyframes highlight-fade {
  0% {
    background-color: rgba(255, 153, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.3);
  }

  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

.highlight-comment {
  animation: highlight-fade 5s ease-in-out;
  border-radius: 4px;
  padding: 2px;
  margin: -2px;
}

/* Стили для красивых кнопок запросов в друзья */
.friend-request-buttons {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-accept {
  background: white;
  padding: 3px 16px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  min-width: 80px;
  justify-content: center;
}

.btn-accept:hover {
  background: #f8f9fa;
}

.btn-accept:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-reject {
  background: white;
  padding: 3px 16px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  min-width: 80px;
  justify-content: center;
}

.btn-reject:hover {
  background: #f8f9fa;
}

.btn-reject:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-icon {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
}

.btn-icon.accept {
  background: #7CB342;
  color: white;
  border-color: #7CB342;
}

.btn-icon.reject {
  background: #E53E3E;
  color: white;
  border-color: #E53E3E;
}

/* ONE.LV Header Styles */
.one-lv-header {
  position: static;
}

.header-container {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.one-logo {

  font-weight: bold;

  letter-spacing: -1px;
}

.logo-o {
  background: #6c8ceb;
  color: white;
  padding: 2px 4px;
  border-radius: 2px;
  margin-right: 1px;
}

.logo-n {
  background: #f4d03f;
  color: white;
  padding: 2px 4px;
  border-radius: 2px;
  margin-right: 1px;
}

.logo-e {
  background: #e67e22;
  color: white;
  padding: 2px 4px;
  border-radius: 2px;
}

.nav-bar {
  height: 22px;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-top: 5px;
}

.nav-item {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;

  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  border-radius: 0;

  margin-right: 2px;
}

.nav-item:last-child {
  margin-right: 0;
}

.nav-home {
  background: #7B7BFF;
  width: 22px;
  height: 22px;

  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-exit {
  background: #7B7BFF;
  width: 22px;
  height: 22px;

  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-email,
.nav-messages,
.nav-contacts,
.nav-games {
  background: #8787FF;
  flex: 1;
  min-width: 80px;
  max-width: 220px;
}

.nav-friends {
  background: #BEBEFF;
  flex: 1;
  min-width: 80px;
  max-width: 220px;
}

.nav-bar-spaced {}

.nav-icon {
  width: 16px;
  height: 16px;
}

.nav-home-icon {
  width: 17px;
  height: 15px;
  display: block;
}

.nav-logout-icon {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.9;
}

.header-top-section {
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 0px;
  padding-left: 0px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.header-center {
  display: flex;
  align-items: center;
  margin-top: 77px;
}

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

.logo-container {
  display: inline-block;
  position: relative;
}

.logo-image {
  display: block;
  width: 160px;
}

.logo-tagline {
  font-family: 'Arial Rounded MT Bold', Arial, sans-serif;

  color: #4A4A4A;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 5px;
  width: 100%;
  text-align: left;
  letter-spacing: 2.9px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  margin-left: 6px;
}

.datetime-display {

  color: #000;

  line-height: 1.2;
}

.center-link {

  color: #000;

}

.mobile-link {
  color: #0330b8;
  text-decoration: underline;
}

.user-status {


  margin-top: 77px;
}

.status-text {
  color: #000;
}

.language-text {
  color: #0330b8;
}

/* Responsive styles for tablets (between 600px and 768px) */
@media (max-width: 768px) and (min-width: 601px) {
  .main-container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    gap: 1.5%;
  }

  .header-container {
    padding: 0 15px;
  }

  .sidebar,
  .sidebar-right {
    width: 25%;
    min-width: 180px;
  }

  .content {
    width: 48%;
  }

  .profile-card,
  .menu-card {
    width: 100%;
  }

  .fg {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Responsive styles for screens less than 600px */
@media (max-width: 600px) {
  .header-container {
    padding: 0 10px;
  }

  .header-center {
    display: none;
  }

  .main-container {
    flex-direction: column;
    gap: 15px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .content {
    order: 2;
    padding-left: 0;
  }

  .profile-card {
    width: 100%;
    max-width: none;
  }

  .menu-card {
    width: 100%;
    max-width: none;
  }

  .eb {
    margin: 0 10px;
  }

  .fg {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .friend-photo {
    width: 80px;
    height: 100px;
  }

  .es {
    display: flex;
    flex-direction: row;
    gap: 2px;
  }

  .et {
    flex: 1;
    padding: 8px 2px;
    font-size: 8px;
    border-right: 1px solid #ddd;
    border-bottom: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: white;
    cursor: pointer;
    line-height: 1;
  }

  .et .tab-icon {
    width: 10px;
    height: 10px;
    background-size: 100px 90px;
    flex-shrink: 0;
  }

  .et:last-child {
    border-right: none;
  }

  .sidebar-right {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .main-container {
    flex-direction: column;
  }

  .content {
    order: 2;
    padding: 0;
  }

  .online-friend-photo {
    width: 70px;
    height: 90px;
  }

  .birthday-photo {
    width: 70px;
    height: 90px;
  }


  .profile-main-photo {
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 5px;
  }

  .nav-email {
    display: none;
  }

  .main-container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .profile-card {
    width: 100%;
  }

  .menu-card {
    width: 100%;
  }

  .eb {
    margin: 0 5px;
  }

  /* Removed - unified in .eb */

  .event-item {
    padding: 6px 10px;
  }

  .event-text {}

  .sidebar-right {
    display: none;
  }

  .online-friend-photo {
    width: 60px;
    height: 80px;
  }

  .birthday-photo {
    width: 60px;
    height: 80px;
  }

  .profile-photo-container {
    max-width: 150px;
  }

  .profile-main-photo {
    max-width: 130px;
  }

  .fc {
    padding: 5px 12px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {

  .nav-messages,
  .nav-contacts {
    display: none;
  }

  .profile-title {}

  .status-input {}

  .profile-photo-container {
    max-width: 120px;
  }

  .profile-main-photo {
    max-width: 100px;
  }

  .eb {
    margin: 0 2px;
  }

  /* Removed - unified in .eb */

  .er {}

  .et {
    padding: 6px 8px;
    font-size: 9px;
  }

  .sidebar-right {
    display: none;
  }
}

/* Page and main layout styles */
.page-container {
  min-height: 100vh;
}

.main-layout {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  background: white;
}

.content-section {
  min-height: 400px;
}

.content-grid {
  display: flex;
  gap: 20px;
}

.content-layout {
  display: flex;
  gap: 0px;
  align-items: flex-start;
}

.left-sidebar {
  flex-shrink: 0;
}

.main-content-area {
  flex: 1;
  padding: 20px;
  margin-top: 20px;
}

.nav-item:hover {
  filter: brightness(1.1);
}

.sidebar-section {
  background: #e2dd3b;
  border: 1px solid #e2dd3b;
  margin-bottom: 5px;
}

.sidebar-header {
  background: #ff8c00;
  color: white;

  font-weight: bold;
  padding: 8px 15px;

  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-content {
  padding: 8px;


}

.main-content-area {
  min-height: calc(100vh - 80px);
}


.comments-section {
  background: white;
  border: 1px solid #ddd;
  margin: 10px 0;
  padding: 10px;
}

.comment-item {

  margin-bottom: 5px;

  display: flex;
  align-items: center;
  gap: 5px;
}

.comment-author {
  color: #0066cc;
  font-weight: bold;
}

.mix-news-section {
  background: #333;
  color: white;
  padding: 10px;
  margin: 10px 0;
}

.mix-news-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;

}

/* New layout classes to replace Tailwind */
.content-container {
  max-width: 1024px;
  margin: 0 auto;
}

.main-grid {
  display: flex;
  gap: 8px;
  padding: 8px;
}

.sidebar-left {
  width: 192px;
  flex-shrink: 0;
}

.sidebar-right {
  width: 20%;
  min-width: 70px;
  flex-shrink: 0;
}

.main-content {
  flex: 1;
}

.profile-image-container {
  margin-bottom: 16px;
}

.profile-image {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: block;
}

.profile-info {
  text-align: center;
  font-size: 12px;
  margin-bottom: 8px;
}

.username {
  font-weight: bold;
}

.menu-item {
  padding: 1px 0;
  cursor: pointer;
  font-size: 12px;
}

.menu-item:hover {
  background-color: rgb(233 233 145);
}

.section-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #ff8c00;
}

.comment-text {
  color: #666;
  flex: 1;
}

.comment-date {
  color: #999;
  font-size: 9px;
  white-space: nowrap;
}

.more-link {
  font-size: 12px;
  color: #4169e1;
  margin-top: 8px;
  cursor: pointer;
}




/* news-grid можно объединить с .fg при необходимости, но разный gap */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.news-image {
  width: 100%;
}

.news-description {
  font-size: 12px;
  margin-top: 8px;
}

.ad-image {
  width: 100%;
  margin-bottom: 8px;
}

/* Unified friends list - now .fl */
.fl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.friend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.friend-avatar {
  margin: 0 auto;
}

.friend-info {
  font-size: 12px;
}

.friend-name {
  font-weight: bold;
}

.friend-activity {
  color: #666;
}

.video-image {
  width: 100%;
}

.hidden {
  display: none;
}



/* Profile Card Styles */
.profile-card {
  width: 100%;
  border: 2px solid #CCCC33;
  margin-bottom: 20px;
  border-top: 0;
}

/* Menu Card Styles */
.menu-card {
  width: 100%;
  border: 2px solid #CCCC33;
  margin-bottom: 20px;
  border-top: 0;
}

.menu-header {
  background: #ff8c00;
  color: white;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-icon-img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  background-color: white;
  border: 2px solid #9c8f18;
}

.menu-title {
  color: #ffffff;

  font-size: 12px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}

.menu-content {
  padding: 0;
}

.menu-list {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 0px;
  color: #000;
  text-decoration: underline;
  transition: background-color 0.2s;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-new-badge {
  background: #ff0000;
  color: white;
  font-size: 8px;
  padding: 1px 3px;
  border-radius: 2px;
  font-weight: bold;
}

/* Unified Block System - ALL blocks use .eb */
.eb {
  width: 100%;
  border: 2px solid #ff8c00;
  border-top: 0;
  background: white;
  margin-bottom: 20px;
  max-width: 100%;
}

.eh {
  background: #f90;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ei {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -1.7px;
  border: 2px solid #F56707;
  background-color: white;
}

.em {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.er a {
  color: #ffffff;
}

.er {
  color: #ffffff;

  font-size: 12px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}

.ch {
  background: #FFF8F0;
  padding: 15px;
  border-bottom: 1px solid #FF9900;
}

.profile-title {
  color: #ffffff;

  font-size: 12px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}

.es {
  display: flex;
}

.et {
  flex: 1;
  padding: 8px 0px;
  border: none;


  cursor: pointer;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.et .tab-icon {
  flex-shrink: 0;
}

.et:last-child {
  border-right: none;
}

.et:hover {
  border-bottom: 2px solid #f9f9f9;
}

.et.active {
  background: white;
  color: #aeacac;
  font-weight: bold;
}

.ec {
  background: white;
  padding: 0;
}

.el {}

.event-text img {
  height: 16px;
  vertical-align: middle;
}

/* Стили для эмодзи в форумных сообщениях */
.forum-emoji {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* Добавляем пробел перед эмодзи в событиях форума */
.forum-emoji::before {
  content: " ";
}

/* Стили для иконок настроения в событиях */
.event-mood-icon {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: text-bottom;
}

/* Делаем все div внутри события inline чтобы не было переносов строк */
.event-text div {
  display: inline;
}

/* Добавляем пробел перед изображениями в событиях */
.event-photo-link::before {
  content: " ";
}

.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.no-events {
  padding-left: 15px;
}

.event-item:hover {
  background: #f9f9f9;
}

.event-item:last-child {
  border-bottom: none;
}

.event-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tab-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.event-details {
  flex: 1;
}

.event-text {


  color: #000;
  line-height: 1.3;
}

.event-user-link {
  color: #0066cc;
  text-decoration: underline;
  font-weight: normal;
}

.event-user-link:hover {
  color: #004499;
}

.event-photo-inline-link {
  color: #0066cc;
  text-decoration: underline;
  font-weight: normal;
}

.event-photo-inline-link:hover {
  color: #004499;
}

.event-action {
  color: #000;
}

.event-time {


  color: #999;
  font-weight: normal;
  min-width: 40px;
  text-align: right;
}


/* Unified button container */
.fb {
  margin-bottom: 15px;
}

.ib {
  border: 2px solid #000;
  color: #000;
  padding: 0px 15px 2px 15px;
  cursor: pointer;
  text-decoration: none;
  background-color: white;
}

.ib:hover {
  background: #f0f0f0;
}

/* Unified grid system */
.fg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

/* Unified card system */
.fd {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px;
  justify-content: center;
}

.friend-photo-container {
  position: relative;
  margin-bottom: 5px;
}

/* Unified photo styles */
.friend-photo,
.friend-of-friend-photo,
.friend-of-friend-of-friend-photo,
.birthday-photo,
.online-friend-photo {
  width: 80px;
  height: 100px;
  object-fit: contain;
  background: white;
  border: 2px solid #ddd;
}

.friend-number {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.9);
  color: #666;


  padding: 2px 5px;
  border-radius: 3px;
}

.friend-status-bubble {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fffacd;
  border: 1px solid #f0e68c;
  padding: 4px 8px;
  border-radius: 10px;


  color: #000;
  white-space: nowrap;
}

.friend-online-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff9900;
  color: white;

  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  animation: onlineBlink 0.6s infinite alternate;
}

@keyframes onlineBlink {
  0% {
    background: #ff9900;
    color: white;
  }

  100% {
    background: white;
    color: #ff9900;
  }
}

.friend-info {
  width: 100%;
}

.friend-name {


  color: #000000;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 2px;
  font-weight: bold;
}

.friend-name:hover {
  color: #333333;
}

.friend-status {


  color: #666;
  margin-bottom: 2px;
}

/* Online status with color transition animation */
.online-status {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  padding: 0px 6px;
  border-radius: 1px;
  font-weight: bold;
  text-align: center;
  animation: colorTransition 0.5s infinite alternate;
  width: 60px;
  border: 1.5px solid;
  line-height: 1.45;
  height: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 6px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 6px;

  margin: 10px 0 2px 0;
}

@keyframes colorTransition {
  0% {
    background: #FF9900;
    color: white;
  }

  100% {
    background: white;
    color: #FF9900;
  }
}

/* Unified footer styles */
.ef {}

/* Unified link styles */
.show-all-link {
  color: #0066cc;
  text-decoration: underline;


  font-weight: normal;
}

.show-all-link:hover {
  color: #004499;
}



/* Removed duplicate - unified above */





.friend-of-friend-photo-container {
  position: relative;
  margin-bottom: 8px;
}

/* Photo style already unified above */

.friend-of-friend-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #00aaff;
  color: white;

  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 14px;
  text-align: center;
}

.friend-of-friend-online-badge {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff9900;
  color: white;

  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  animation: onlineBlink 0.6s infinite alternate;
}

.friend-of-friend-info {
  width: 100%;
}

.friend-of-friend-name {


  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 2px;
  font-weight: bold;
}

.friend-of-friend-name:hover {
  color: #004499;
}

.friend-of-friend-status {


  color: #666;
  margin-bottom: 2px;
}

.friend-of-friend-additional {


  color: #666;
  margin-bottom: 2px;
}

.friend-of-friend-link {

  font-size: 9px;
  color: #ff8c00;
  text-decoration: underline;
  cursor: pointer;
}

.friend-of-friend-link:hover {
  color: #cc6600;
}

/* Footer styles unified above */
/* Link styles unified above */

/* Grid styles unified above */

/* Card styles unified above */

.friend-of-friend-of-friend-photo-container {
  position: relative;
  margin-bottom: 8px;
}

/* Photo styles unified above with .friend-photo */

.friend-of-friend-of-friend-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff6699;
  color: white;

  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 14px;
  text-align: center;
}

.friend-of-friend-of-friend-info {
  width: 100%;
}

.friend-of-friend-of-friend-name {


  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  margin-bottom: 2px;
  font-weight: bold;
}

.friend-of-friend-of-friend-name:hover {
  color: #004499;
}

.friend-of-friend-of-friend-link {

  font-size: 9px;
  color: #ff8c00;
  text-decoration: underline;
  cursor: pointer;
}

.friend-of-friend-of-friend-link:hover {
  color: #cc6600;
}

/* Footer and link styles unified above */

/* Unified content styles */
.fc {
  background: white;
  padding: 5px 12px;
}



/* Удалено - используем общий .menu-card */

/* Удалено - используем общий .menu-card */

/* Удалено - используем общий .menu-card */

/* Menu Item Icons for all blocks */
.menu-item-icon-img {
  object-fit: contain;
  vertical-align: middle;
  margin-left: 5px;
  transform: scale(0.82);
  transform-origin: center center;
}

/* Responsive Images - General Rules */
img[src*="nofoto.png"] {
  max-width: 100%;
  object-fit: contain;
  background: white;
}

/* Enhanced responsive images */
@media (max-width: 600px) {
  .friend-photo {
    max-width: 80px;
  }

  .friend-of-friend-photo {
    max-width: 45px;
  }

  .birthday-photo,
  .online-friend-photo {
    max-width: 70px;
  }
}

@media (max-width: 480px) {
  .friend-photo {
    max-width: 60px;
  }

  .friend-of-friend-photo {
    max-width: 35px;
  }

  .birthday-photo,
  .online-friend-photo {
    max-width: 50px;
  }
}

/* Footer Styles */
.footer {
  border-top: 1px solid #888;
  margin-top: 20px;
  padding: 10px 0;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  color: #333;
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.footer-left {
  flex: 1;
  color: #333;
}

.footer-center {
  flex: 1;
  text-align: center;
  color: #333;
}

.footer-right {
  flex: 1;
  text-align: right;
  color: #333;
  line-height: 1.4;
}

.footer-bottom {
  text-align: center;
  margin-top: 8px;
  border-top: 1px solid #777;
  padding-top: 5px;
}

.footer-responsibility {
  color: #333;

}

.footer-link {
  color: #333;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Enhanced responsive design for rubber layout */
@media (max-width: 1200px) {
  .main-container {
    max-width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    gap: 1.5%;
  }

  .sidebar,
  .sidebar-right {
    width: 22%;
    min-width: 180px;
  }

  .content {
    width: 54%;
  }
}

@media (max-width: 600px) {
  .main-container {
    display: block !important;
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
  }

  /* Создаем контейнер для sidebar'ов */
  .main-container::before {
    content: "";
    display: table;
    width: 100%;
  }

  .sidebar {
    width: 49% !important;
    min-width: 0 !important;
    max-width: 49% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: inline-block !important;
    vertical-align: top !important;
  }

  .sidebar-right {
    width: 49% !important;
    min-width: 0 !important;
    max-width: 49% !important;
    box-sizing: border-box !important;
    margin: 0 0 0 2% !important;
    display: inline-block !important;
    vertical-align: top !important;
  }

  .content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both !important;
  }

  /* Fix for all blocks on mobile */
  .profile-card,
  .menu-card,
  .messages-card,
  .entertainment-card,
  .tops-card,
  .eb,
  .announcements-block,
  .birthdays-block,
  .online-friends-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Events block specific fixes */
  .eb {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }

  .es {
    overflow-x: auto;
    white-space: nowrap;
    display: flex !important;
  }

  .et {
    display: inline-block;
    white-space: nowrap;
    flex: 1;
  }

  .ec {
    display: block !important;
  }

  .el {
    display: block !important;
  }

  .footer-top {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    flex: none;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .sidebar-right {
    display: none !important;
  }

  /* Ensure content is always visible */
  .content {
    display: block !important;
    visibility: visible !important;
    order: 2 !important;
  }

  .eb {
    display: block !important;
    visibility: visible !important;
  }

  /* Even more compact on small screens */
  .es {

    display: flex !important;
  }

  .et {
    padding: 6px 8px;
    flex: 1;
  }

  .event-item {
    padding: 6px 10px;
  }
}

.profile-header {
  background-color: #CCCC33;
  display: flex;
  align-items: center;
  gap: 8px;
}



.profile-status-section {
  margin-bottom: -18px;
}

.status-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin-top: unset;
  margin-right: unset;
  margin-bottom: 23px;
  margin-left: unset;
  padding: 3px 7px;
  border: 1.5px solid rgb(204 204 51);
  border-radius: 6px;
  background-color: rgb(255, 255, 255);
  text-align: left;
  white-space: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0em;
  color: rgb(0, 0, 0);
  --before-top: unset;
  --before-right: unset;
  --before-bottom: 0;
  --before-left: 12%;
  --before-display: block;
  --before-border-width: 23px 19px 0 0;
  --before-border-color: #cccc33 transparent transparent;
  --before-translate: -50% 100%;
  --before-transform: skew(40deg);
  --after-top: unset;
  --after-right: unset;
  --after-bottom: 0;
  --after-left: 12.158%;
  --after-border-width: 19px 15px 0 0;
  --after-border-color: #ffffff transparent transparent;
  --after-translate: calc(-50% - 0.3px) 100%;
  --after-transform: skew(40deg);
  --transform-origin: top;
  z-index: 1;
}

/* Status display styles */
.status-delete-button {
  background: none;
  color: #c6c4c4;
  border: none;
  float: right;

  cursor: pointer;
  border-radius: 3px;
  margin-bottom: 5px;
  display: block;
  text-decoration: underline;
}

.status-delete-button:hover {
  color: black;
}

.status-display-container {
  width: 100%;
  height: 13px;
  overflow: hidden;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.status-display {


  color: #333;
  line-height: 20px;
}

/* .scrolling-text дубликат удален - оригинал находится выше в файле */

@keyframes scroll-right-to-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.status-input-wrapper {
  display: flex;
  gap: 4px;
  align-items: center;
}

.status-arrow {}

.status-arrow::before {
  border-color: var(--before-border-color);
  border-style: solid;
  border-width: var(--before-border-width);
  bottom: var(--before-bottom);
  content: "";
  display: var(--before-display);
  left: var(--before-left);
  position: absolute;
  right: var(--before-right);
  top: var(--before-top);
  transform: var(--before-transform);
  transform-origin: var(--transform-origin);
  translate: var(--before-translate);
}

.status-arrow::after {
  border-color: var(--after-border-color);
  border-style: solid;
  border-width: var(--after-border-width);
  bottom: var(--after-bottom);
  content: "";
  left: var(--after-left);
  position: absolute;
  right: var(--after-right);
  top: var(--after-top);
  transform: var(--after-transform);
  transform-origin: var(--transform-origin);
  translate: var(--after-translate);
  z-index: 1;
}

.status-input {
  flex: 1;
  padding: 2px 4px;
  border: 1px solid #ccc;


  min-width: 58px;
}

.profile-avatar-section {
  text-align: center;
  margin: 3px 0 6px 0;
}

.profile-nickname {
  text-align: center;

  color: #8787FF;
  margin-top: 5px;
  font-weight: normal;
  cursor: pointer;
  text-decoration: underline;
}

.profile-nickname:hover {
  background-color: #f0f0f0;
}

.ap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}



.nofoto-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



.as {
  width: 80px;
  height: 120px;
  background: #999;
  clip-path: polygon(50% 0%, 60% 25%, 85% 25%, 85% 50%, 75% 75%, 70% 100%, 30% 100%, 25% 75%, 15% 50%, 15% 25%, 40% 25%);
}

.profile-actions {
  margin-bottom: 12px;
  padding: 8px;
}

.action-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.action-icon {
  width: 24px;
  height: 20px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.action-icon.vip {
  color: white;
  font-weight: bold;

}

.profile-footer {
  text-align: center;
  margin-top: 8px;
}

.profile-link {
  color: #000;
  text-decoration: none;


  font-weight: bold;
}

.profile-link:hover {
  text-decoration: underline;
}

/* Старые стили настроений удалены */

/* Mood indicator on avatar */
.am {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: white;
  border: 1px solid #CC3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 10;
}

/* User Profile page */
.up {
  padding: 7px;
  margin: 0 0 7px 0;
  border: 1.5px solid #CC3;
}

.user-profile-container {
  width: 100%;
  margin: 0;
  background: white;
  padding: 0;
}

.user-profile-container .profile-header {
  color: white;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-profile-container .profile-title {
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 1px;
  float: right;
  color: black;
}

.user-profile-container .fc {
  display: flex;
  padding: 15px;
  gap: 20px;
  width: 100%;
}

.profile-photo-section {
  width: 50%;
  flex-shrink: 0;
}

.profile-header2 {}

.profile-photo-container {
  cursor: pointer;
  margin: 0 auto;
  display: block;
}

.profile-main-photo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}




.profile-info-section {
  flex: 1;
  color: black;
}

.profile-info-header {
  margin-bottom: 20px;
}

.profile-nick {
  font-size: 16px;
  font-weight: bold;
  color: black;
  margin: 0 0 10px 0;
}

.profile-description {

  color: black;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

.field-input {
  width: 200px;
  padding: 2px 4px;
  border: 1px solid #ccc;

}

.profile-field-note {

  color: black;
  line-height: 1.4;
  margin: 5px 0 15px 0;
  padding: 8px;

}

.profile-field {
  margin-bottom: 15px;

  line-height: 1.4;
}

.field-label {
  color: black;
  font-weight: bold;
  min-width: 40%;
  display: inline-block;
  vertical-align: top;
}

.field-value {
  color: black;
  display: inline-block;
  max-width: calc(100% - 130px);
  word-wrap: break-word;
}

.field-note {
  color: #666;

  display: block;
  margin-top: 2px;
}

.profile-edit-link {
  margin-top: 5px;

}

.profile-edit-link a {
  color: #4169E1;
  text-decoration: underline;
}


.profile-action-item {
  margin-bottom: 8px;
  font-size: 12px;
}

.action-icon {
  margin-right: 5px;
}

.action-link {
  color: #8787FF;
  text-decoration: underline;
}

.profile-small-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

.profile-links {
  margin-top: 20px;
}

.profile-links .profile-link {

  margin-bottom: 5px;
  cursor: pointer;
}

.new-label {
  color: #ff0000;
  font-weight: bold;
}

.clickable-field {
  cursor: pointer;
  text-decoration: underline;
  color: #000;
}



.field-edit {
  display: flex;
  gap: 5px;
  align-items: center;
  float: right;
}

.field-edit-input {
  padding: 2px 4px;
  border: 1px solid #ccc;

  min-width: 150px;
}


/* Layout Styles */
.layout {
  background: transparent;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 1%;
  background: white;
  padding-top: 16px;
  padding-left: 1%;
  padding-right: 1%;
}

.sidebar {
  width: 20%;
  min-width: 70px;
  flex-shrink: 0;
}

.content {
  width: 57%;
  min-width: 200px;
  padding: 0 1%;
}

/* Content padding when no right sidebar */
.main-container:not(.has-right-sidebar) .content {
  padding: 0 0 0 1%;
  width: 100%;
}



/* Удаленные дублированные блоки - все используют .eb */



/* Unified header styles */
.announcements-header,
.birthdays-header,
.online-header,
.eh {
  background: #ff8c00;
  color: white;
}

.sidebar-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-icon-img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  background-color: white;
  border: 2px solid #9c8f18;
}

.sidebar-title {
  color: #ffffff;

  font-size: 12px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}



.announcement-item {
  margin-bottom: 8px;
  padding: 8px;
  border: 1px solid #e0e0e0;
  position: relative;
}

.announcement-item.featured {
  background: #fffacd;
  border: 2px solid #f0e68c;
  margin-bottom: 10px;
}

.announcement-item:last-of-type:not(.featured) {
  border-bottom: 1px solid #e0e0e0;
}

.announcement-text {


  font-weight: bold;
  color: #000;
  margin-bottom: 2px;
}

.announcement-details {


  color: #666;
  line-height: 1.3;
  margin-bottom: 2px;
}

.announcement-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 14px;
}

.announcement-footer {
  margin-top: 3px;
  padding-top: 3px;

}

.sidebar-link {
  color: #0066cc;
  text-decoration: underline;


  display: block;
  margin-bottom: 2px;
}

.sidebar-link:hover {
  color: #004499;
}


.site-icon {
  width: 12px;
  height: 12px;
}

.guest-visit-time {


  color: #cc0000;
  font-weight: bold;
}

.guests-show-all {
  text-align: left;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}



/* Responsive styles for guests block */
@media (max-width: 768px) {
  /* guests-grid replaced with .fg */

  .guest-photo {
    width: 100px;
    height: 125px;
  }

  .guest-info {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  /* guests-grid replaced with .fg */

  .guest-photo {
    width: 120px;
    height: 150px;
  }

  .guest-info {
    max-width: 120px;
  }
}

/* Удалены дублирующие стили - все стили фото перенесены в profile.css */

.control-btn.active {
  background-color: #40e0d0;
  color: #1a1a2e;
  font-weight: bold;
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive styles for default page */
@media (max-width: 768px) {
  .default-container {
    padding: 0 10px;
  }

  .default-content-section {
    padding: 15px;
    margin: 15px 0;
  }

  .action-buttons {
    flex-direction: column;
  }

  /* Стили фото перенесены в profile.css */
}

/* Профиль - МОЯ АНКЕТА */


.av {
  position: relative;
}

.mood-icon-overlay {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 5px;
  left: 5px;
  border: 1px solid #fff;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
  cursor: pointer;
}

.mood-icon-overlay:hover {
  border-color: #FF9900;
  background-color: rgba(255, 153, 0, 0.1);
}

/* =====================================================
  НУМЕРОВАННАЯ СИСТЕМА ИКОНОК (в конце файла)
  ===================================================== */

/* Базовый класс для всех иконок - использует SVG SPRITE */

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  -webkit-mask: url('/icons.svg');
  -webkit-ma: varsk-position(--icon-pos, 0 0);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 34px auto;
  mask: url('/icons.svg');
  mask-position: var(--icon-pos, 0 0);
  mask-repeat: no-repeat;
  mask-size: 34px auto;
  background: #F56707;
}
.ia {
  background: #686868;
}

/* Specific color styles for icons based on context */
.profile-icon .icon,
.profile-icon-img,
.icon.profile-icon-img,
.menu-item-icon-img,
.icon.menu-item-icon-img {
  background: #8A8C00 !important;
}
.profile-icon {
    background-color: white;
}

em.icon-container,
.icon-em-container {
  color: #F56707 !important;
  background-color: white !important;
}

/* Mask size adjustment based on icon types */
.profile-icon .icon,
.profile-icon-img,
.icon.profile-icon-img {
  -webkit-mask-size: 40px auto !important;
  mask-size: 40px auto !important;
      margin-left: -2px;
    margin-top: -2px;
}
.menu-item-icon-img,
.icon.menu-item-icon-img {
  -webkit-mask-size: 34px auto !important;
  mask-size: 34px auto !important;
}
.action-icon,
.icon.em {
  -webkit-mask-size: 22px auto !important;
  mask-size: 29px auto !important;
  height: 20px;
  width: 26px;
  margin-left: -1.7px;
}

.menu-item-icon-img[class*="icon-"] {
  margin-left: 0px;
  margin-bottom: 0px;
  width: 24px;
}

.profile-icon {
margin-left: -1.2px;
    height: 22px;
    width: 22px;
    border: 2px solid #8a8c00;
}

/* CSS переменные для позиций - одна строка на иконку */
.icon-1 { --icon-pos: 0 -1px; }
.icon-2 { --icon-pos: -5.1px -1626.109px; }
.icon-3 { --icon-pos: -5.1px -1651.9px; }
.icon-4 { --icon-pos: 0 -2455px; }
.icon-5 { --icon-pos: 0 -2478px; }
.icon-6 { --icon-pos: -1.5px -317px;}
.icon-7 { --icon-pos: -5.1px -1677.7px;}
.icon-8 { --icon-pos: 0 -16px; }
.icon-9 { --icon-pos: 0px -968px;}  
.icon-10 { --icon-pos: 0 -13px; }
.icon-11 { --icon-pos: 0 -2430px; }
.icon-12 { --icon-pos: 0 -280.5px; }
.icon-13 { --icon-pos: 0 -708px; }
.icon-14 { --icon-pos: 0 -863px;}
.icon-15 { --icon-pos: 0 -58px; }
.icon-16 { --icon-pos: 0 -561px;}
.icon-17 { --icon-pos: 0 5px; }
.icon-18 { --icon-pos: 0 -792px; }
.icon-19 { --icon-pos: 0 -38px;}
.icon-20 { --icon-pos: 0 -79px; }
.icon-21 { --icon-pos: 0 -2546px; }
.icon-22 { --icon-pos: 0 -2721px;}
.icon-23 { --icon-pos: 0 -913px;}
.icon-24 { --icon-pos: 0 -819px;}
.icon-25 { --icon-pos: 0 -329px;}
.icon-26 { --icon-pos: 0 -487px;}
.icon-27 { --icon-pos: 0 -133px;}
.icon-27-1 { --icon-pos: 0 -540px;}
.icon-28 { --icon-pos: -0.5px -52px; }
.icon-29 { --icon-pos: 0 -84px; }
.icon-30 { --icon-pos: 0 -1036px;}
.icon-31 { --icon-pos: 0 -280px;}
.icon-32 { --icon-pos: 0 -1159px;}
.icon-33 { --icon-pos: 0 -228px; }
.icon-34 { --icon-pos: 0 -372px; }
.icon-35 { --icon-pos: 0 -228px; }
.icon-36 { --icon-pos: 0 -205px; }
.icon-37 { --icon-pos: 0 -2644px;}
.icon-38 { --icon-pos: 0 -2644px;}
.icon-39 { --icon-pos: 0 -658px; }
.icon-40 { --icon-pos: 0 -841px; }
.icon-41 { --icon-pos: 0 -963px; }
.icon-42 { --icon-pos: 0 -253px; }
.icon-43 { --icon-pos: 0 -441px; }
.icon-44 { --icon-pos: 0 -890px; }
.icon-45 { --icon-pos: 0 -394px; }
.icon-45-5 { --icon-pos:-1px -336px;}
.icon-46 { --icon-pos: 0 -203px; }
.icon-47 { --icon-pos: 0 -1259px;}
.icon-48 { --icon-pos: 0 -1235px;}
.icon-49 { --icon-pos: 0 -867px; }
.icon-50 { --icon-pos: 0 -239px; }
.icon-51 { --icon-pos: 0 -239px; }
.icon-52 { --icon-pos: 0 -610px; }
.icon-53 { --icon-pos: 0 -246px; }
.icon-54 { --icon-pos: 0 -1309px;}
.icon-55 { --icon-pos: 0 -1187px;}
.icon-56 { --icon-pos: 0 -245px; }
.icon-57 { --icon-pos: 0 -244px; }
.icon-58 { --icon-pos: 0 -255px; }
.icon-59 { --icon-pos: 0 -2501px; }
.icon-60 { --icon-pos: 0 -266px; }
.icon-61 { --icon-pos: 0 -260px; }
.icon-62 { --icon-pos: -0.4px -562px;}
.icon-63 { --icon-pos: -5.15px -1572px; }
.icon-64 { --icon-pos: -0px -989px;}
.icon-65 { --icon-pos: 0.6px -583px;}
.icon-66 { --icon-pos: 0 -280px; }
.icon-67 { --icon-pos: 0 -281px; }
.icon-68 { --icon-pos: 0 -290px; }
.icon-69 { --icon-pos: 0 -297px; }
.icon-70 { --icon-pos: 0 -303px; }
.icon-71 { --icon-pos: 0 -822.4px;}
.icon-72 { --icon-pos: 0 -884.7px;}
.icon-73 { --icon-pos: 0 -718px; }
.icon-74 { --icon-pos: 0 -215px; }
.icon-75 { --icon-pos: 0 -311px; }
.icon-76 { --icon-pos: 0 -463px; }
.icon-77 { --icon-pos: 0 -279px; }
.icon-78 { --icon-pos: 0 -304px; }
.icon-79 { --icon-pos: 0 -1011px;}
.icon-80 { --icon-pos: 0 -338px;}
.icon-81 { --icon-pos: 0 -16px;}
.icon-82 { --icon-pos: -0.4px -562px;}
.icon-83 { --icon-pos: 0 -1992px; }
.icon-84 { --icon-pos: 0 -2016px; }
.icon-85 { --icon-pos: 0 -2040px; }
.icon-86 { --icon-pos: 0 -2064px; }
.icon-87 { --icon-pos: 0 -2088px; }
.icon-88 { --icon-pos: 0 -2112px; }
.icon-89 { --icon-pos: 0 -2136px; }
.icon-90 { --icon-pos: 0 -2160px; }
.icon-91 { --icon-pos: 0 -2184px; }
.icon-92 { --icon-pos: 0 -2208px; }
.icon-93 { --icon-pos: 0 -2232px; }
.icon-94 { --icon-pos: 0 -1688px; }
.icon-95 { --icon-pos: 0 -1515px; }
.icon-96 { --icon-pos: 0 -2280px; }
.icon-97 { --icon-pos: 0 -2467px; }
.icon-98 { --icon-pos: 0 -2328px; }
.icon-99 { --icon-pos: 0 -1558px; }
.icon-100 { --icon-pos: 0 -2376px; }
.icon-101 { --icon-pos: 0 -1536px; }
.icon-102 { --icon-pos: 0 -176px; margin-left: -2.7px !important; }
.icon-103 { --icon-pos: 0 -1624px; }
.icon-104 { --icon-pos: 0 -1645px; }
.icon-105 { --icon-pos: 0 -1396px; margin-left: -2.7px !important; }
.icon-106 { --icon-pos: 0 -1492px; }
.icon-107 { --icon-pos: 0 -2511px; }
.icon-108 { --icon-pos: 0 -1757px; }
.icon-109 { --icon-pos: 0 -2592px; }
.icon-110 { --icon-pos: 0 -2616px; }
.icon-111 { --icon-pos: 0 -2640px; }
.icon-112 { --icon-pos: 0 -2664px; }
.icon-113 { --icon-pos: 0 -2688px; }
.icon-114 { --icon-pos: 0 -2712px; }
.icon-115 { --icon-pos: 0 -2736px; }
.icon-116 { --icon-pos: 0 -2760px; }
.icon-117 { --icon-pos: 0 -2784px; }
.icon-118 { --icon-pos: 0 -2808px; }
.icon-119 { --icon-pos: 0 -2832px; }
.icon-120 { --icon-pos: 0 -2856px; }
.icon-121 { --icon-pos: 0 -2880px; }
.icon-122 { --icon-pos: 0 -1515px;}
.icon-123 { --icon-pos: 0 -416px;}
.icon-124 { --icon-pos: 0 -61px;}
.icon-125 { --icon-pos: 0 -61px;}       
.icon-126 { --icon-pos: -1px -135px;}   
.icon-127 { --icon-pos: 1px -499px;}   
.icon-128 { --icon-pos: 0px -416px;}     
.icon-129 { --icon-pos: 0px -72px;}   
.icon-130 { --icon-pos: 0px -540px;}   
.icon-131 { --icon-pos: -1px -539px;}  
.icon-22 {
  mask: none !important;
  -webkit-mask: none !important;
  background-image: url('/icons.svg') !important;
  background-position: var(--icon-pos) !important;
  background-repeat: no-repeat !important;
  background-size: 34px auto !important;
  background-color: transparent !important;
}
.icon-gr {
    --icon-pos: 0 -4042px;
}
.icon-gf { --icon-pos: 0 -4204px; }
.icon-gf2 { --icon-pos: 0 -792px; }
.icon-pm {
--icon-pos: 0 -3872px;
}

.icon-c {
--icon-pos: 0 -3902px;
}

.icon-s {--icon-pos: 0 -3934px;
}

.icon-so {    --icon-pos: 0 -186px;
    width: 31px !important;
}

.icon-g {--icon-pos: 0 -3968px;
}

.icon-f {--icon-pos: 0 -792px;
  width: 43px !important;
  height: 38px !important;
}

.icon-fno {--icon-pos: 0 -4004px;
}



.icon-r {--icon-pos: 0 -761px;}

/* Специальная иконка профиля */
.profile-mood-icon {--icon-pos: 0 -792px;
}



/* toolbar */
u {
  text-decoration: underline;
}

strike {
  text-decoration: line-through;
}

/* Yellow header and border styles - для специальных блоков уведомлений */
.yh {
  background: #F9D71C;
  color: white;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 8px;
  margin-bottom: 0;
}

.yb {
  border: 2px solid #F9D71C;
  background: white;
  margin-top: 5px;
}







/* PostHeader стили (убраны из inline) */
.modal-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #65676b;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: #f0f2f5;
}

.dropdown-item-edit {
  color: #ff9900;
}

.dropdown-item-edit:hover {
  background-color: #fff5e6;
}

/* Категории постов в PostHeader */
.post-categories {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: #666;
  font-size: 11px;
  gap: 4px;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.3);
  border-radius: 12px;
  padding: 2px 6px;
  color: #FF9900;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.category-tag svg {
  margin-right: 3px;
  flex-shrink: 0;
}

/* Адаптивность для категорий */
@media (max-width: 768px) {
  .post-categories {
    margin-left: 4px;
    font-size: 10px;
    gap: 2px;
  }

  .category-tag {
    font-size: 9px;
    padding: 1px 4px;
  }
}

/* Стили для хештегов в постах */
.post-tags {
  margin: 8px 0 4px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 153, 0, 0.08);
  border: 1px solid rgba(255, 153, 0, 0.2);
  border-radius: 12px;
  padding: 3px 8px;
  color: #FF9900;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.clickable-tag {
  cursor: pointer;
  user-select: none;
}

.clickable-tag:hover {
  background: rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 153, 0, 0.4);
  color: #e68800;
  transform: translateY(-1px);
}

.clickable-tag:active {
  transform: translateY(0);
  background: rgba(255, 153, 0, 0.2);
}

.clickable-tag:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.3);
}

/* Адаптивность для хештегов */
@media (max-width: 768px) {
  .post-tags {
    margin: 6px 0 3px 0;
    gap: 4px;
  }

  .post-tag {
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* Стили для популярных тегов в FeedSidebar */
.feed-tag-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.2s;
  margin-bottom: 2px;
}

.feed-tag-item:hover {
  background: #f8f9fa;
}

.feed-tag-item.active {
  background: #fff5e6;
  border-left: 3px solid #FF9900;
}

.feed-tag-icon {
  margin-right: 8px;
  color: #666;
  flex-shrink: 0;
}

.feed-tag-item.active .feed-tag-icon {
  color: #FF9900;
}

.feed-tag-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.feed-tag-item.active .feed-tag-name {
  color: #FF9900;
  font-weight: 600;
}

.feed-tag-count {
  font-size: 11px;
  color: #666;
  background: #f0f0f0;
  border-radius: 12px;
  padding: 2px 6px;
  min-width: 16px;
  text-align: center;
}

.feed-tag-item.active .feed-tag-count {
  background: rgba(255, 153, 0, 0.1);
  color: #FF9900;
}

/* РАДИКАЛЬНЫЙ РЕФАКТОРИНГ АНИМАЦИИ ЗАГРУЗКИ - МАКСИМАЛЬНАЯ ВИДИМОСТЬ */

/* Мультиплексная анимация спиннера */
@keyframes uppySpinnerRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

          .pagination-input {
width: 51px;
  padding: 5px;
  text-align: center;
  margin: 0 5px;
  height: 20px;
  border-radius: unset;
  border: 1px solid;
          }
          .pagination button:disabled {
    cursor: not-allowed;
          }
          .pagination button {
    border: 0;
    background: none;
    color: black;
    cursor: pointer;
          }

/* PhotoViewer Info Styles */
.photo-info-container {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
}

.photo-owner-line {
  display: inline;
}

.photo-owner-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.photo-owner-link:hover {
  text-decoration: underline;
}

.photo-description {
  color: #333;
  margin-left: 8px;
}

.photo-meta-line {
  font-size: 11px;
  color: #666;
  margin-top: 5px;
}