/* === ТОП БАННЕР С ПУЛЬСАЦИЕЙ И АНИМИРОВАННЫМ ОГНЁМ (ГАРАНТИРОВАННО) === */
/* Modern Search Button - Легкий и быстрый, без пульсации */
.modern-search-girls-container {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.modern-search-girls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(128, 128, 128, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(238, 132, 142, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    will-change: transform, box-shadow;
    min-width: 200px;
}

.modern-search-girls-btn:hover {
    background: rgba(128, 128, 128, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 132, 142, 0.4);
    text-decoration: none;
    color: white;
}

.modern-search-girls-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(238, 132, 142, 0.3);
}

.modern-search-icon {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
}

.modern-search-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 18px;
}

.modern-search-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.modern-search-girls-btn:hover .modern-search-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .modern-search-girls-btn {
        padding: 16px 28px;
        font-size: 16px;
        gap: 12px;
        min-width: 180px;
    }
    .modern-search-icon,
    .modern-search-arrow {
        font-size: 18px;
    }
    .modern-search-text {
        font-size: 16px;
    }
}

/* Старые стили - отключены для оптимизации */
.sngine-top-banner-container {
    display: none !important;
}

.sngine-top-banner-link {
    display: none !important;
}

.sngine-top-banner {
    display: none !important;
}

/* Отключаем пульсацию для оптимизации производительности */
@keyframes pulse {
    /* Анимация отключена для оптимизации */
}

/* === АНИМИРОВАННЫЙ ОГОНЁК (СМЕЛЫЙ И НАДЕЖНЫЙ) === */
.fire-emoji {
    display: inline-block;
    font-size: 1.6em;
    margin-right: 8px;
    animation: flicker-fire 1.2s infinite alternate ease-in-out;
    text-shadow: 
        0 0 4px #fff,
        0 0 8px rgba(255, 120, 0, 0.7),
        0 0 12px rgba(255, 160, 0, 0.8),
        0 0 16px rgba(255, 100, 0, 0.6);
    vertical-align: -2px;
    transform-origin: bottom center;
}

/* Реалистичное мерцание огня */
@keyframes flicker-fire {
    0% {
        transform: scale(1) rotate(0deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 8px rgba(255, 120, 0, 0.7),
            0 0 12px rgba(255, 160, 0, 0.8),
            0 0 16px rgba(255, 100, 0, 0.6);
    }
    25% {
        transform: scale(1.1) rotate(1deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 10px rgba(255, 140, 0, 0.9),
            0 0 14px rgba(255, 180, 0, 0.85),
            0 0 20px rgba(255, 90, 0, 0.7);
    }
    50% {
        transform: scale(0.95) rotate(-1deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 6px rgba(255, 110, 0, 0.6),
            0 0 10px rgba(255, 130, 0, 0.7),
            0 0 14px rgba(255, 80, 0, 0.5);
    }
    75% {
        transform: scale(1.05) rotate(0.5deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 9px rgba(255, 130, 0, 0.8),
            0 0 13px rgba(255, 170, 0, 0.8),
            0 0 18px rgba(255, 95, 0, 0.65);
    }
    100% {
        transform: scale(1) rotate(0deg);
        text-shadow: 
            0 0 4px #fff,
            0 0 8px rgba(255, 120, 0, 0.7),
            0 0 12px rgba(255, 160, 0, 0.8),
            0 0 16px rgba(255, 100, 0, 0.6);
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .sngine-top-banner {
        font-size: 1.15em;
        padding: 20px 16px;
        border-radius: 16px;
    }
    .fire-emoji {
        font-size: 1.4em;
        margin-right: 6px;
    }
/* Profile Modal Styles */
.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.profile-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.profile-modal-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  width: 100%;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.profile-modal-header {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 15px;
}

.profile-modal-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.profile-modal-close:hover {
  opacity: 0.8;
}

.profile-modal-body {
  display: flex;
  flex-direction: column;
}

.profile-modal-avatar-section {
  background: #ee848e;
  padding: 40px 20px 30px;
  text-align: center;
  position: relative;
}

.profile-modal-avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.profile-modal-name {
  color: white;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
}

.profile-modal-channel {
  color: white;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.profile-modal-info-section {
  background: white;
  padding: 20px;
}

.profile-modal-field {
  margin-bottom: 20px;
}

.profile-modal-label {
  display: block;
  color: #999;
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: lowercase;
}

.profile-modal-link {
  color: #6366f1;
  font-size: 15px;
  text-decoration: none;
  font-weight: 500;
}

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

.profile-modal-description {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  min-height: 60px;
  white-space: pre-wrap;
}

.profile-modal-footer-text {
  color: #999;
  font-size: 13px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

@media (max-width: 480px) {
  .profile-modal-content {
    max-width: 95%;
    border-radius: 14px;
  }
  
  .profile-modal-avatar-section {
    padding: 30px 15px 25px;
  }
  
  .profile-modal-avatar-img {
    width: 100px;
    height: 100px;
  }
}

/* Make profile modal avatars clickable */
.js_profile-modal {
  cursor: pointer !important;
  transition: opacity 0.2s;
}
.js_profile-modal:hover {
  opacity: 0.8;
}

/* Date separator styles - Telegram-like */
.post-date-separator {
  list-style: none;
  margin: 20px 0;
  text-align: center;
}

.date-separator-bubble {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(138, 143, 160, 0.25);
  border-radius: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/**
 * Announcements Banner Styles
 * Modern and beautiful announcement modal
 */

.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.announcement-banner.show {
  opacity: 1;
  visibility: visible;
}

.announcement-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.announcement-modal {
  position: relative;
  background: white;
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideUp 0.4s ease-out;
}

.announcement-banner.show .announcement-modal {
  transform: scale(1);
}

@keyframes slideUp {
  from {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.announcement-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  color: #333;
  font-size: 18px;
}

.announcement-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.announcement-content {
  overflow-y: auto;
  max-height: 80vh;
}

.announcement-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.announcement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement-body {
  padding: 40px;
}

.announcement-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.announcement-message {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 30px 0;
  white-space: pre-wrap;
}

.announcement-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.announcement-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  color: white;
  text-decoration: none;
}

.announcement-btn i {
  transition: transform 0.3s ease;
}

.announcement-btn:hover i {
  transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .announcement-modal {
    width: 95%;
    max-width: none;
    border-radius: 16px;
  }
  
  .announcement-image {
    height: 180px;
  }
  
  .announcement-body {
    padding: 24px;
  }
  
  .announcement-title {
    font-size: 22px;
  }
  
  .announcement-message {
    font-size: 14px;
  }
  
  .announcement-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .announcement-modal {
    background: #2a2a2a;
  }
  
  .announcement-title {
    color: #fff;
  }
  
  .announcement-message {
    color: #ccc;
  }
  
  .announcement-close {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  
  .announcement-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}





/* === COMBINED: custom.css + announcements-banner.css (БЕЗ telegram-background.css) === */

/* === ПРИНУДИТЕЛЬНОЕ СКРЫТИЕ СЧЕТЧИКОВ УВЕДОМЛЕНИЙ (кроме chatgirls) === */
.counter.red:not(#my-chats-counter),
span.counter:not(#my-chats-counter) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Счетчик chatgirls должен быть видимым - переопределяем с максимальным приоритетом */
li.js_live-messages #my-chats-counter,
#my-chats-counter {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  background: #ff3b96 !important;
  color: #fff !important;
  border-radius: 50% !important;
  min-width: 20px !important;
  height: 20px !important;
  line-height: 20px !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 0 4px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

/* Для мобильных устройств сдвигаем счетчик левее */
@media (max-width: 768px) {
  li.js_live-messages #my-chats-counter,
  #my-chats-counter {
    right: 2px !important;
    top: -3px !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-size: 10px !important;
  }
}

/* === ТОП БАННЕР С ПУЛЬСАЦИЕЙ И АНИМИРОВАННЫМ ОГНЁМ (ГАРАНТИРОВАННО) === */
/* Modern Search Button - Легкий и быстрый, без пульсации */
.modern-search-girls-container {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.modern-search-girls-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(128, 128, 128, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(238, 132, 142, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    will-change: transform, box-shadow;
    min-width: 200px;
}

.modern-search-girls-btn:hover {
    background: rgba(128, 128, 128, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(238, 132, 142, 0.4);
    text-decoration: none;
    color: white;
}

.modern-search-girls-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(238, 132, 142, 0.3);
}

.modern-search-icon {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
}

/* Date separator styles - Telegram-like */
.post-date-separator {
  list-style: none;
  margin: 20px 0;
  text-align: center;
}

.date-separator-bubble {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(138, 143, 160, 0.25);
  border-radius: 14px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Убираем отступы у видео внутри поста - ТОЛЬКО ДЛЯ ПК */
@media (min-width: 768px) {
  .post-body video,
  .post-body .paid-video-container,
  .post-body .js_video-plyr {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: none;
  }

  .post-body .paid-video-container {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
}


/* Растягиваем само видео на всю ширину - ТОЛЬКО ДЛЯ ПК */
@media (min-width: 768px) {
  .post-body video,
  .post-body .js_video-plyr,
  .post-body .blurred-video,
  .post-body .paid-video-container video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .post-body .paid-video-container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Исправление видео в посте и полноэкранном режиме - ТОЛЬКО ДЛЯ ПК */
@media (min-width: 768px) {
  /* Видео в посте - растягиваем на всю ширину */
  .post-body video,
  .post-body .js_video-plyr,
  .post-body .blurred-video,
  .post-body .paid-video-container video,
  .post-body .plyr__video-wrapper,
  .post-body .plyr__video-wrapper video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
  
  .post-body .paid-video-container,
  .post-body .plyr {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Полноэкранный режим - видео не должно обрезаться */
  .plyr--fullscreen video,
  .plyr--fullscreen .plyr__video-wrapper,
  .plyr--fullscreen .plyr__video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  
  .plyr--fullscreen .plyr__video-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ============================================
   ИСПРАВЛЕНИЕ ВИДЕО В ПОСТЕ И FULLSCREEN - ТОЛЬКО ДЛЯ ПК
   ============================================ */
@media (min-width: 768px) {
  /* Убираем отступы у контейнера видео */
  .post-body .paid-video-container {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    max-width: none !important;
  }
  
  /* Растягиваем само видео на всю ширину */
  .post-body .paid-video-container video,
  .post-body .paid-video-container .js_video-plyr,
  .post-body .paid-video-container .blurred-video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
  
  /* Обычные видео (не заблюренные) */
  .post-body video:not(.blurred-video),
  .post-body .js_video-plyr:not(.blurred-video) {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }
  
  /* Plyr wrapper для растягивания */
  .post-body .plyr,
  .post-body .plyr__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .post-body .plyr__video-wrapper video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  
  /* Полноэкранный режим - видео не должно обрезаться */
  .plyr--fullscreen,
  .plyr--fullscreen .plyr__video-wrapper {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .plyr--fullscreen video,
  .plyr--fullscreen .plyr__video-wrapper video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}

/* === Post bottom cleanup (remove "extra lines/hidden blocks" in post card bottom) ===
   The base theme draws 2 separators at the bottom:
   - .post-actions { border-top: 1px ... }
   - .post-footer  { background + border-top + padding, even when empty }
   This override removes the extra separators so the bottom looks clean.
*/
.post-actions {
  border-top: none !important;
}
.post-footer {
  background: transparent !important;
  border-top: none !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* === Profile: show cover on DESKTOP, hide on MOBILE (to keep mobile layout clean) === */
@media (max-width: 991px) {
  .profile-cover-wrapper,
  .profile-cover-buttons,
  .profile-cover-change-loader,
  .profile-cover-position-loader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}
@media (min-width: 992px) {
  .profile-cover-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* === Profile Videos: blur paid/locked thumbnails + Unlock overlay === */
.pg_video.is-locked {
  position: relative;
}
.pg_video.is-locked video {
  filter: blur(12px);
  transform: scale(1.03);
}
.pg_video.is-locked .pg-video-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}
.pg_video.is-locked .pg-video-unlock-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.pg_video.is-locked:hover .pg-video-unlock-btn {
  background: #fff;
}

/* Video container: height is driven by the poster (.ch-video-sizer) so the
   wrapper matches the real video aspect ratio (portrait or landscape) and the
   player no longer gets letterboxed into a hard-coded 16:9 box. The sizer also
   reserves space up-front, preventing layout shift when Video.js initializes. */
.ch-video-wrapper {
  position: relative;
  width: 100%;
  max-height: 75vh;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}
/* Poster image defines the height; capped + cover so the post isn't too tall
   and any black letterbox baked into the thumbnail is cropped away */
.ch-video-wrapper > .ch-video-sizer {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
}
/* Fallback ratio when there is no poster/thumbnail to size by */
.ch-video-wrapper > .ch-video-sizer--default {
  width: 100%;
  padding-top: 56.25%;
  max-height: none;
}
.ch-video-wrapper > video,
.ch-video-wrapper > .video-js {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.ch-video-wrapper > video,
.ch-video-wrapper > .video-js video {
  object-fit: cover;
}
.ch-video-wrapper .vjs-poster {
  background-size: cover !important;
}

/* ============================================================
   DESKTOP LAYOUT WIDENING  —  added 2026-04-24
   Widens main content wrappers on desktop (>=992px) only.
   Mobile (<=767.98px) and small tablets (<992px) are NOT touched.
   Targets: home feed, search, single post view, creator profile.
   ============================================================ */
@media (min-width: 992px) {
  /* Bootstrap .container  (home feed uses this via index.newsfeed.tpl) */
  body .container {
    max-width: 1600px !important;
  }

  /* Single post page  (/posts/...)  defined inline in post.tpl as 700px */
  body .ch-post-page {
    max-width: 1200px !important;
  }

  /* Search page  (/search/)  defined inline in search.tpl as 900px */
  body .search-modern-container {
    max-width: 1400px !important;
  }

  /* Creator profile wrapper  (/{username}/)  defined in profile-page.css as 600px */
  body .tg-profile-wrapper {
    max-width: 1400px !important;
  }

  /* Home modern navigation block  (inline max-width: 960px in index.newsfeed.tpl) */
  body .main-navigation-menu {
    max-width: 1400px !important;
  }
}

/* Extra-large desktops */
@media (min-width: 1600px) {
  body .container,
  body .ch-post-page,
  body .search-modern-container,
  body .tg-profile-wrapper,
  body .main-navigation-menu {
    max-width: 1760px !important;
  }
}
/* ============================================================
   END DESKTOP LAYOUT WIDENING
   ============================================================ */
