/* Отступ от шапки */
.streamer-page{margin-top:24px}
/* Скрываем Cloudflare Turnstile до открытия вкладки комментариев */
#tab-comments .cf-turnstile,
#tab-comments [id^="cf-"],
#tab-comments [id*="turnstile"],
#tab-comments #content,
#tab-comments [id*="JHsxi"],
#tab-comments [id*="verifying"],
#tab-comments [id*="success"],
#tab-comments [id*="fail"],
#tab-comments [id*="expired"],
#tab-comments [id*="timeout"],
#tab-comments [id*="challenge-error"],
#tab-comments [id*="branding"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* Показываем Turnstile только когда вкладка комментариев активна */
#tab-comments.active .cf-turnstile,
#tab-comments.active [id^="cf-"],
#tab-comments.active [id*="turnstile"],
#tab-comments.active #content,
#tab-comments.active [id*="JHsxi"],
#tab-comments.active [id*="verifying"],
#tab-comments.active [id*="success"],
#tab-comments.active [id*="fail"],
#tab-comments.active [id*="expired"],
#tab-comments.active [id*="timeout"],
#tab-comments.active [id*="challenge-error"],
#tab-comments.active [id*="branding"] {
  display: revert !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}
/* Биография: типографика */
.streamer-history.rich-bio h1{font-size:1.75rem;line-height:1.25;font-weight:800;margin:0.8em 0 0.4em}
.streamer-history.rich-bio h2{font-size:1.35rem;line-height:1.3;font-weight:700;margin:1.2em 0 0.5em}
.streamer-history.rich-bio h3{font-size:1.1rem;line-height:1.35;font-weight:700;margin:1em 0 0.4em}
.streamer-history.rich-bio p{margin:0.6em 0}
.streamer-history.rich-bio a{color:#6ea8fe;text-decoration:underline}
/* (removed custom facts cards to match about-list appearance) */
/* Финансы */
/* (finance earnings styles removed) */
/* About list normalization (shared for info, brands and facts) */
.about-list{display:grid;grid-template-columns:1fr;gap:12px}
.about-list li{list-style:none;background:#0b1220;border:1px solid rgba(255,255,255,0.06);border-radius:12px;padding:14px 16px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:56px}
.about-list .label{display:block;color:#9ca3af;font-size:0.9rem;margin:0;white-space:normal;overflow:visible;text-overflow:clip;padding-right:12px}
.about-list .value{display:block;color:#e5e7eb;font-weight:800;line-height:1.35;word-break:break-word;text-align:right}
@media (min-width: 640px){
  .about-list{grid-template-columns:repeat(2,1fr)}
}
@media (min-width: 1024px){
  .about-list{grid-template-columns:repeat(3,1fr)}
}
/* Компактная таблица для блока "Кто такой" */
.streamer-about .about-list{display:block}
.streamer-about .about-list li{background:transparent;border:none;border-radius:0;padding:4px 0;min-height:auto;display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);gap:12px}
.streamer-about .about-list .label{text-align:right;font-weight:500;color:#9ca3af;padding-right:8px}
.streamer-about .about-list .value{text-align:left;font-weight:600;color:#e5e7eb}
/* Finance brands block: full width card */
.streamer-finance .about-list{grid-template-columns:1fr}
/* Facts specific tweaks: stack title and text */
.facts-list li{flex-direction:column;align-items:flex-start}
.facts-list .label{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.facts-list .label .em{font-size:21px;opacity:.9} /* увеличение на ~17% (было 18px, стало 21px) */
.facts-list .label .ttl{color:#e5e7eb;font-weight:800}
.facts-list .value{text-align:left;font-weight:400}
/* Headings & header tweaks */
.streamer-name{font-size:1.5rem;font-weight:800;margin-bottom:6px}
.streamer-info .streamer-live{margin-top:2px;margin-bottom:6px}
/* Социальные сети в header - базовые стили */
.streamer-header{
  display:flex !important;
  align-items:flex-start;
  gap:20px;
  position:relative;
}
.streamer-header-socials{
  flex-shrink:0;
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:auto;
  height:auto;
}
.socials-list-icons{
  display:flex !important;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap !important;
  flex-direction:row !important;
  list-style:none;
  margin:0;
  padding:0;
}
.social-icon{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:8px;
  background:rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.7);
  transition:all 0.2s ease;
  text-decoration:none;
  flex-shrink:0;
  box-sizing:border-box;
}
.social-icon svg{
  width:20px;
  height:20px;
  fill:currentColor;
  stroke:currentColor;
  display:block;
  flex-shrink:0;
}
.social-icon:hover{
  background:rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.9);
  transform:scale(1.1);
}
.social-icon.tg:hover{background:rgba(37,150,190,0.2);color:#2596be}
.social-icon.twitch:hover{background:rgba(145,70,255,0.2);color:#9146ff}
.social-icon.yt:hover{background:rgba(255,0,0,0.2);color:#ff0000}
.social-icon.kick:hover{background:rgba(0,255,58,0.2);color:#00ff3a}
.social-icon.steam:hover{background:rgba(27,40,56,0.3);color:#1b2838}
.social-icon.boosty:hover{background:rgba(255,165,0,0.2);color:#ffa500}
.streamer-about{margin-top:18px}
.streamer-tournaments{margin-top:18px}
.streamer-finance{margin-top:18px}
.streamer-faq{margin-top:18px}
.streamer-stats-mini{margin-top:18px}
.streamer-stats-mini h2{font-size:1.35rem;line-height:1.3;font-weight:700;margin:0 0 12px;color:#e5e7eb}
/* H1 заголовок стримера */
.streamer-h1{
  font-size:1rem;
  font-weight:700;
  line-height:1.3;
  margin:16px 0 20px;
  color:#efeff1;
}
/* Скрытие хлебных крошек на мобильных */
@media (max-width: 768px){
  .streamer-breadcrumbs,
  .streamer-kroshki{
    display:none !important;
  }
  /* Показываем короткий текст H1 на мобильных */
  .streamer-h1 .h1-text-full{
    display:none;
  }
  .streamer-h1 .h1-text-short{
    display:inline;
  }
  /* H1 увеличиваем на телефоне на 5% */
  .streamer-h1{
    font-size:1.66rem; /* 26.56px - увеличение на 5% от 1.58rem (1.58 * 1.05 = 1.659) */
    margin-bottom:12px !important; /* уменьшаем расстояние до аватара */
  }
  /* Аватар стримера увеличиваем на 15-20% */
  .streamer-avatar{
    width:138px !important; /* 120px * 1.15 = 138px */
    height:138px !important;
    /* Учитываем, что border и box-shadow масштабируются пропорционально */
  }
  /* Статус "Оффлайн · IRL" делаем ярче */
  .streamer-live{
    color:rgba(255,255,255,0.85) !important;
    font-size:0.95rem !important;
  }
  .streamer-live .status{
    color:rgba(255,255,255,0.85) !important;
    font-size:1.05rem !important; /* увеличиваем размер для большей точки (было 0.9rem, теперь 1.05rem) */
    font-weight:500;
    letter-spacing:0.01em; /* небольшой отступ для лучшей читаемости */
  }
  .streamer-live .status.offline{
    color:rgba(255,255,255,0.85) !important; /* возвращаем к исходному значению */
    opacity:0.94 !important; /* делаем прозрачнее на 6% */
  }
  .streamer-live .status.online{
    color:#4ade80 !important;
  }
  .streamer-live .live-game{
    color:rgba(255,255,255,0.85) !important;
  }
  /* Дата последнего онлайна - увеличиваем размер и делаем светлее */
  .streamer-last-seen{
    font-size:0.95rem !important; /* +1 шаг от 0.85rem */
    color:rgba(229,231,235,1) !important; /* на 10% ярче (было 0.9, стало 1.0) */
  }
  /* Мини-статистика под табами */
  .info-stats .value{
    font-size:1.44rem !important; /* 1.2rem * 1.2 = 1.44rem (увеличение на 20%) */
    color:#B46CFF !important; /* светлее фиолетовый */
  }
  /* Иконки (смайлы) в мини-статистике увеличиваем на 15-20% */
  .info-stats .label{
    font-size:0.96rem !important; /* 0.8rem * 1.2 = 0.96rem (увеличение на 20%) */
    line-height:1.4;
  }
  /* Эмодзи в label button увеличиваем дополнительно */
  .info-stats .label button{
    font-size:0.98rem !important; /* чуть больше для эмодзи (0.96rem * 1.02 ≈ 0.98rem) */
    line-height:1.4;
  }
  /* Фото в галерее - мобильные стили */
  .streamer-photos-preview .photo-card {
    flex: 0 0 170px !important;
    height: 170px !important;
  }
  .streamer-photos-preview .photos-track .photo-card:first-child {
    flex-basis: 190px !important;
    height: 190px !important;
  }
  /* Подписи под клипами делаем ярче на 10-15% */
  .streamer-photos-preview .photo-card figcaption{
    color:#e5e7eb !important; /* ярче на ~12% (было #d1d5db) */
  }
  /* Социальные сети на мобильных - под streamer-info */
  .streamer-header{
    flex-direction:column !important;
    align-items:center !important;
    text-align:center;
    gap:12px !important; /* уменьшаем отступ между аватаром и никнеймом на 8px (было 20px) */
  }
  .streamer-header-socials{
    width:100%;
    margin-top:6px;
    margin-left:0 !important;
    align-self:center;
  }
  .socials-list-icons{
    justify-content:center !important;
    gap:12px;
    flex-wrap:wrap !important;
    flex-direction:row !important;
    display:flex !important;
  }
  .social-icon{
    width:36px;
    height:36px;
  }
  .social-icon svg{
    width:22px;
    height:22px;
  }
  /* Блок "Новости о стримере" - улучшения для мобильных */
  .tn-news-streamer{
    margin-top:18px !important; /* единый вертикальный отступ */
    margin-bottom:18px !important;
  }
  .tn-news-streamer__title{
    margin-bottom:10px !important; /* gap между заголовком и первой карточкой 8-10px */
    gap:6px !important;
  }
  .tn-news-streamer__all-link{
    font-size:0.85rem !important;
  }
  .tn-news-streamer__list{
    gap:10px !important; /* стабильные отступы между карточками */
  }
  .tn-news-item{
    padding:12px !important; /* стабильные отступы внутри карточки */
    gap:12px !important;
    align-items:flex-start;
  }
  .tn-news-item__image{
    width:104px !important; /* увеличение на ~15% от 90px (90px * 1.15 = 103.5px) */
    height:104px !important;
    flex-shrink:0;
  }
  .tn-news-item__body{
    display:flex;
    flex-direction:column;
    gap:6px;
    flex:1;
    min-width:0;
  }
  .tn-news-item__title{
    font-size:0.97rem !important; /* увеличение на 1-2px (было 0.95rem) */
    margin-bottom:0 !important;
    line-height:1.4;
  }
  .tn-news-item__more{
    color:rgba(255,255,255,0.9) !important; /* более светлый цвет */
    font-weight:500 !important;
    font-size:0.9rem !important;
    margin-top:auto;
  }
  /* Блок "Часто сравнивают" - улучшения для мобильных */
  .streamer-compare-link{
    padding:10px 14px !important; /* уменьшение сверху на 3px (было 13px) */
    margin-top:0 !important;
    margin-bottom:20px !important;
    width:100% !important;
    box-sizing:border-box;
  }
  .streamer-compare-title{
    font-size:1.15rem !important;
    margin-top:18px !important;
    margin-bottom:12px !important;
  }
  .streamer-compare-info{
    margin-bottom:10px !important; /* уменьшение на 4px (было 14px) */
    gap:8px !important;
    flex-wrap:wrap;
  }
  .streamer-compare-avatar{
    width:36px !important;
    height:36px !important;
    flex-shrink:0;
    margin-right:8px !important;
  }
  .streamer-compare-name{
    font-size:0.9rem !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:calc(100% - 100px); /* чтобы не выходило за границы */
  }
  .streamer-compare-text{
    font-size:0.8rem !important;
    color:rgba(255,255,255,0.75) !important;
    line-height:1.4;
  }
  .streamer-compare-cta{
    display:inline-block !important;
    padding:6px 10px !important;
    border-radius:999px !important;
    border:1px solid rgba(148,163,184,0.5) !important;
    background:transparent !important;
    color:#e5e7eb !important;
    font-size:0.85rem !important;
    font-weight:500 !important;
    text-decoration:none;
    cursor:pointer;
    transition:all 0.2s ease;
    margin-bottom:10px !important; /* расстояние до описания 8-10px */
    width:auto;
    box-shadow:0 0 8px rgba(255,255,255,0.15) !important; /* белое свечение */
  }
  .streamer-compare-cta:hover{
    border-color:rgba(145,70,255,0.6) !important;
    color:#fff !important;
    box-shadow:0 0 12px rgba(255,255,255,0.25) !important; /* усиление белого свечения при hover */
    transform:translateY(-1px);
  }
  .streamer-compare-description{
    font-size:0.8rem !important;
    color:rgba(255,255,255,0.85) !important; /* светлее на 1pt (было 0.75) */
    line-height:1.4;
    margin:0 !important;
    max-width:100%;
    word-wrap:break-word;
  }
  /* Адаптивность для очень маленьких экранов (320-360px) */
  @media (max-width: 360px){
    .streamer-compare-info{
      gap:6px !important;
    }
    .streamer-compare-avatar{
      width:32px !important;
      height:32px !important;
      margin-right:6px !important;
    }
    .streamer-compare-name{
      font-size:0.85rem !important;
    }
    .streamer-compare-text{
      font-size:0.75rem !important;
    }
    .streamer-compare-cta{
      padding:8px 16px !important;
      font-size:0.85rem !important;
      width:100%;
      text-align:center;
    }
  }
  /* Блок "Похожие стримеры" - улучшения для мобильных */
  .tn-similar-streamers{
    margin-top:24px;
    margin-bottom:20px;
  }
  .tn-similar-streamers > h2{
    font-size:1.15rem !important; /* уменьшаем размер заголовка */
    line-height:1.3 !important; /* уменьшаем межстрочный интервал */
    margin-bottom:10px !important; /* расстояние 8-10px */
    font-weight:700;
    color:#e5e7eb;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .tn-similar-streamers .tn-similar-title,
  .tn-similar-streamers .tn-card__title{
    white-space:nowrap !important; /* не допускаем перенос на 2 строки */
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:0.95rem; /* уменьшаем шрифт если нужно */
  }
  .tn-similar-streamers .tn-grid,
  .tn-similar-streamers .tn-similar-grid{
    margin-top:10px !important; /* расстояние 8-10px сверху */
    gap:12px !important; /* выровненные горизонтальные отступы */
  }
}
@media (min-width: 769px){
  .streamer-h1{
    font-size:1.25rem;
    margin:18px 0 24px;
  }
  /* Показываем полный текст H1 на десктопе */
  .streamer-h1 .h1-text-full{
    display:inline;
  }
  .streamer-h1 .h1-text-short{
    display:none;
  }
  /* Цифры статистики - свечение и более светлый цвет */
  .info-stats .value,
  .streamer-stats-mini .info-stats .value {
    color: #BB79FF !important; /* светлее (#A067FF → #BB79FF) */
    text-shadow: 0 0 8px rgba(187, 121, 255, 0.4), 0 0 12px rgba(187, 121, 255, 0.2); /* лёгкое свечение 3-5% */
  }
  /* Соцсети - увеличение и белый контур/glow */
  .social-icon {
    width: 36px !important; /* увеличение */
    height: 36px !important;
    border: 1px solid rgba(255, 255, 255, 0.3); /* белый контур 1px */
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.2); /* glow 2px */
  }
  .social-icon svg {
    width: 22px !important; /* пропорциональное увеличение */
    height: 22px !important;
  }
  /* Интересные факты - разные цвета бордеров (пастельные оттенки) */
  .streamer-facts .facts-list li:nth-child(4n+1) {
    border-color: rgba(196, 181, 253, 0.5) !important; /* мягкий фиолетовый */
    border-width: 1px;
  }
  .streamer-facts .facts-list li:nth-child(4n+2) {
    border-color: rgba(167, 243, 208, 0.5) !important; /* мягкий зелёный */
    border-width: 1px;
  }
  .streamer-facts .facts-list li:nth-child(4n+3) {
    border-color: rgba(147, 197, 253, 0.5) !important; /* мягкий синий */
    border-width: 1px;
  }
  .streamer-facts .facts-list li:nth-child(4n+4) {
    border-color: rgba(253, 186, 116, 0.5) !important; /* мягкий оранжевый */
    border-width: 1px;
  }
  /* Социальные сети на десктопе - справа от streamer-info */
  .streamer-header{
    flex-direction:row !important;
    align-items:flex-start;
  }
  .streamer-header-socials{
    margin-left:auto !important;
    align-self:center;
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  .socials-list-icons{
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    flex-direction:row !important;
    display:flex !important;
  }
}
/* Галерея фото - убираем border и padding */
.streamer-photos-preview{
  border:none !important;
  padding:0 !important;
}
/* Базовые стили для блока фото - правильная верстка */
.streamer-photos-preview .photos-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.streamer-photos-preview .photos-track::-webkit-scrollbar {
  display: none;
}
/* Базовая карточка фото */
.streamer-photos-preview .photo-card {
  position: relative;
  flex: 0 0 210px;
  height: 210px;
  margin: 0;
  border-radius: 18px;
  overflow: hidden; /* обрезаем фото по радиусу */
  background: #181c22; /* тёмный фон */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45); /* ровная тень вокруг всей карточки */
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.streamer-photos-preview .photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
/* Первое фото чуть крупнее остальных */
.streamer-photos-preview .photos-track .photo-card:first-child {
  flex-basis: 240px;
  height: 240px;
}
/* Ссылка растягивается на всю карточку */
.streamer-photos-preview .photo-card > a {
  display: block;
  width: 100%;
  height: 100%;
}
/* Само изображение заполняет карточку и не имеет своих теней/радиусов */
.streamer-photos-preview .photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
/* Перебиваем возможные глобальные стили темы */
.entry-content .streamer-photos-preview .photos-track img,
.streamer-photos-preview .photos-track .photo-card img {
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
/* Bio teaser paragraphs */
.streamer-bio-teaser__content p{
  margin:0 0 8px;
  color:#d1d5db;
  font-size:.95rem;
  line-height:1.6;
}
.streamer-bio-teaser__content p+p{
  margin-top:6px;
}
/* Стили для карточек новостей стримера во вкладке Инфо */
.tn-news-streamer {
  background: #262b30;
  border-radius: 12px;
  margin-top: 18px;
  margin-bottom: 20px;
}
/* Убираем padding и border у всех блоков */
.streamer-about,
.streamer-tournaments,
.streamer-finance,
.streamer-socials,
.streamer-stats-mini,
.tn-news-streamer,
.tn-streamer-videos {
  padding: 0 !important;
  border: none !important;
}
.tn-news-streamer__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tn-news-streamer__all-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(229, 231, 235, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.tn-news-streamer__all-link:hover {
  color: rgba(229, 231, 235, 0.9);
}
.tn-news-streamer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tn-news-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tn-news-item__image {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.6);
}
.tn-news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tn-news-item__body {
  flex: 1;
  min-width: 0;
}
.tn-news-item__title {
  font-size: 0.95rem;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.tn-news-item__link {
  text-decoration: none;
  color: #e5e7eb;
  font-weight: 500;
}
.tn-news-item__link:hover {
  color: #9146ff;
}
.tn-news-item__more {
  font-size: 0.85rem;
  text-decoration: none;
  color: #9146ff;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.tn-news-item {
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tn-news-item:hover {
  border-color: rgba(129,140,248,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,23,42,0.5);
}
.tn-news-item:hover .tn-news-item__more {
  color: #a855f7;
}
/* Стили для карточек новостей на десктопе */
@media (min-width: 769px) {
  .tn-news-streamer__list {
    max-width: 800px; /* ограничение ширины */
  }
  .tn-news-item {
    max-width: 100%;
    gap: 16px; /* увеличенный gap между превью и текстом */
    padding: 16px;
  }
  .tn-news-item__image {
    width: 140px; /* нормальный размер превью */
    height: 140px;
    flex-shrink: 0;
  }
  .tn-news-item__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
  }
  .tn-news-item__title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
  }
  .tn-news-item__more {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9); /* более видимая кнопка на тёмном фоне */
    padding: 6px 12px;
    background: rgba(145, 70, 255, 0.15);
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    transition: all 0.2s ease;
  }
  .tn-news-item__more:hover {
    color: #fff;
    background: rgba(145, 70, 255, 0.25);
  }
}
/* Hover-эффекты для всех карточек на странице стримера */
.streamer-about .about-list li,
.streamer-facts .facts-list li,
.streamer-tournaments .tournament-card,
.streamer-finance .streamer-brands-item,
.photo-card {
  transition: all 0.2s ease;
}
.streamer-about .about-list li:hover {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.2);
  transform: translateY(-1px);
}
.streamer-facts .facts-list li:hover {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.2);
  transform: translateY(-1px);
}
.streamer-tournaments .tournament-card:hover {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.streamer-finance .streamer-brands-item:hover {
  transform: translateX(4px);
  opacity: 0.9;
}
.streamer-compare-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 18px 0 12px;
  line-height: 1.3;
}
.streamer-compare-link {
  background: #262b30;
  border-radius: 12px;
  border: none;
  padding: 10px 14px; /* уменьшение сверху на 3px (было 13px) */
  margin-top: 0;
  margin-bottom: 20px;
}
.streamer-compare-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px; /* уменьшение на 4px (было 14px) */
  flex-wrap: wrap;
}
.streamer-compare-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75); /* rgba(255,255,255,0.7-0.8) */
  line-height: 1.4;
}
.streamer-compare-avatar{
  width:36px; /* 32-36px */
  height:36px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  margin-right:8px; /* отступ справа 8-10px */
}
.streamer-compare-name {
  font-weight: 600;
  color: #fff; /* белый, как ник стримера на странице */
  font-size: 0.95rem;
  white-space: nowrap; /* без переноса в две строки */
}
.streamer-compare-cta {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px; /* расстояние до описания 8-10px */
  box-shadow: 0 0 8px rgba(145, 70, 255, 0.2); /* фиолетовое свечение */
}
.streamer-compare-cta:hover {
  border-color: rgba(145, 70, 255, 0.6);
  color: #fff;
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.4); /* усиление свечения при hover */
  transform: translateY(-1px);
}
.streamer-compare-description {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85); /* светлее на 1pt (было 0.75) */
  line-height: 1.4;
  max-width: 100%;
}
.streamer-bio-teaser button[data-tab-link],
.streamer-info-block button[data-tab-link] {
  transition: all 0.2s ease;
}
.streamer-bio-teaser button[data-tab-link]:hover,
.streamer-info-block button[data-tab-link]:hover {
  background: rgba(147, 51, 234, 0.15);
  border-color: rgba(147, 51, 234, 0.4);
  color: #fff;
  transform: translateY(-1px);
}
.tn-news-streamer__empty {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 4px 0;
}
@media (max-width: 640px) {
  .tn-news-item {
    padding: 10px;
  }
  .tn-news-item__title {
    font-size: 0.9rem;
  }
}

/* Sticky верхний таб-бар */
.streamer-tabs {
  position: sticky;
  top: 59px; /* под высоту хедера (56px) + прогресс-бар (3px) */
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  margin: 0 -30px 20px;
  padding-left: 30px;
  padding-right: 30px;
  background: #262b30;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.streamer-tabs::-webkit-scrollbar {
  display: none;
}
.streamer-tabs .tn-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  flex: 0 0 auto;
}
.streamer-tabs .tn-tab .streamer-tab-icon {
  font-size: 16px;
  line-height: 1;
}
.streamer-tabs .tn-tab .streamer-tab-label {
  font-size: 13px;
}
.streamer-tabs .tn-tab.active,
.streamer-tabs .tn-tab[aria-current="page"] {
  color: #ffffff;
  background: rgba(147,51,234,0.22);
  box-shadow: 0 0 0 1px rgba(147,51,234,0.5);
}
.streamer-tabs .tn-tab:active {
  transform: scale(0.96);
}
.streamer-tabs .tn-tab:hover:not(.active) {
  background: rgba(255,255,255,0.05);
  color: #e5e7eb;
}
@media (max-width: 768px) {
  .streamer-tabs {
    /* top остается 56px, чтобы не конфликтовать со sticky-хедером */
    padding: 8px 12px;
    margin: 0 -10px 16px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .streamer-tabs .tn-tab {
    font-size: 12px;
    padding: 6px 8px;
  }
  .streamer-tabs .tn-tab .streamer-tab-icon {
    font-size: 16px;
  }
}
/* Подсветка кнопок "Био" и "Медиа" при прокрутке */
.streamer-tabs.highlight-bio-media button[data-tab="history"]:not(.active),
.streamer-tabs.highlight-bio-media button[data-tab="media"]:not(.active) {
  background: rgba(145, 70, 255, 0.25);
  border-color: rgba(145, 70, 255, 0.5);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(145, 70, 255, 0.3), 0 2px 8px rgba(145, 70, 255, 0.2);
  animation: pulse-highlight 2s ease-in-out infinite;
}
@keyframes pulse-highlight {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(145, 70, 255, 0.3), 0 2px 8px rgba(145, 70, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.5), 0 4px 12px rgba(145, 70, 255, 0.3);
  }
}
/* Small toast for contextual hints on tabs & stats */
.streamer-toast{
  position:fixed;
  left:50%;
  transform:translate(-50%, 20px);
  bottom:72px;
  max-width:90%;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(15,23,42,0.96);
  border:1px solid rgba(148,163,184,0.6);
  color:#e5e7eb;
  font-size:.8rem;
  line-height:1.4;
  box-shadow:0 12px 28px rgba(0,0,0,0.7);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  z-index:60;
}
.streamer-toast.is-visible{
  opacity:1;
  transform:translate(-50%, 0);
  pointer-events:auto;
}
@media (min-width:769px){
  .streamer-toast{
    left:auto;
    right:32px;
    bottom:24px;
    transform:translateY(20px);
    max-width:320px;
  }
  .streamer-toast.is-visible{
    transform:translateY(0);
  }
}
/* Clickable help labels */
.tn-help{
  background:none;
  border:none;
  padding:0;
  font:inherit;
  color:inherit;
  cursor:pointer;
}
.tn-help .emoji{
  vertical-align:middle;
  margin-right:6px;
}
.tn-help span{
  vertical-align:middle;
}
.tn-help--paid{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:normal;
  max-width:150px;
  line-height:1.2;
}
.tn-help__icon{ line-height:1; }
.tn-help__icon{
  width:1em;
  height:1em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1em;
}
.tn-paid-subs-icon{
  width:1rem;
  height:1rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
}
.tn-paid-subs-icon svg{
  display:block;
}
.tn-help:focus-visible{
  outline:1px solid #9146ff;
  border-radius:4px;
}

/* Стили для блока клипов */
.streamer-clips-section {
  margin-top: 24px;
}

.streamer-clips-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.streamer-clips-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0 0 4px;
}

.streamer-clips-subtitle {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
}

.clips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 768px) {
  .clips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Увеличение пространства между превьюшками клипов на ПК */
@media (min-width: 769px) {
  .clips-grid {
    gap: 20px; /* увеличение горизонтального и вертикального gap */
    margin-top: 20px; /* пространство сверху */
    margin-bottom: 20px; /* пространство снизу */
  }
}

.clip-entity {
  display: flex;
  flex-direction: column;
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clip-entity:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.clip-tp {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.clip-thumb-wrapper {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(31,41,55,0.8);
  aspect-ratio: 16 / 9;
}

.clip-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: #1f2937;
}

.clip-tp:hover .clip-thumbnail {
  transform: scale(1.05);
}

.clip-meta {
  position: absolute;
  left: 8px;
  bottom: 8px;
}

.clip-views {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  font-size: 11px;
  color: #e5e7eb;
  font-weight: 500;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.clip-tp:hover .clip-views {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.clip-bp {
  padding: 8px 10px;
}

.clip-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Модальное окно для клипов */
.clip-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.clip-modal-backdrop.is-open {
  display: flex;
}

.clip-modal {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #020617;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.clip-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.clip-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
  transform: scale(1.1);
}

.clip-modal-body {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.clip-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

body.clip-modal-open {
  overflow: hidden;
}

/* Стили для блока "Активность за 30 дней" */
.streamer-stats-summary {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.streamer-stats-summary__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #e5e7eb;
}

.streamer-stats-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.streamer-stats-summary__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.streamer-stats-summary__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e5e7eb;
}

.streamer-stats-summary__label {
  font-size: 0.8rem;
  opacity: 0.75;
  color: #9ca3af;
}

.streamer-stats-summary__value--delta.delta-positive { color: #4ade80; }
.streamer-stats-summary__value--delta.delta-negative { color: #f97373; }
.streamer-stats-summary__value--delta.delta-neutral  { color: #e5e7eb; }

@media (max-width: 768px) {
  .streamer-stats-summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Стили для блока "Последние стримы" */
.streamer-recent-streams {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.streamer-recent-streams__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #e5e7eb;
}

.streamer-recent-streams__table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.streamer-recent-streams__row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 0.8fr 1fr;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
}

.streamer-recent-streams__row--head {
  font-weight: 600;
  opacity: 0.85;
  background: transparent;
  color: #9ca3af;
}

.streamer-recent-streams__row:not(.streamer-recent-streams__row--head):hover {
  background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 768px) {
  .streamer-recent-streams__row {
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr 1fr;
    font-size: 0.8rem;
  }
}

/* Стили для кликабельного аватара */
.avatar-wrap .avatar-link {
  display: inline-block;
  position: relative;
}
.avatar-wrap .avatar-link .streamer-avatar {
  display: block;
}

/* Стили для кликабельного H1 */
.streamer-h1__link {
  color: inherit;
  text-decoration: none;
}
.streamer-h1__link:hover,
.streamer-h1__link:focus {
  text-decoration: underline;
}

/* Стили для кликабельной цифры "Место в RU" */
.info-stats .value--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.info-stats .value--link:hover,
.info-stats .value--link:focus {
  text-decoration: underline;
}
