/*
 * streamer-mobile-v2.css
 * Новая мобильная вёрстка профилей стримеров.
 * Все классы заскоплены внутри .streamer-mobile-v2.
 * Используется только на мобильных через @media max-width.
 */

/* ─── Видимость: mobile-v2 только на мобильных ─────────────────────────── */
@media (min-width: 768px) {
  .streamer-mobile-v2 {
    display: none !important;
  }
}

/* Скрываем все дочерние элементы .streamer-page на мобиле, оставляем только .streamer-mobile-v2 */
@media (max-width: 767px) {
  .streamer-page--has-mobile-v2 > *:not(.streamer-mobile-v2) {
    display: none !important;
  }

  body.single-streamer > .container,
  body.single-streamer .container.mx-auto {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .streamer-mobile-v2 {
    max-width: none;
    width: 100%;
  }

  .streamer-mobile-v2 .smv2-bottombar {
    max-width: none;
  }
}

/* ─── Корневые CSS-переменные блока ────────────────────────────────────── */
.streamer-mobile-v2 {
  --smv2-bg: #0e0b1a;
  --smv2-card: #17132b;
  --smv2-card2: #15112a;
  --smv2-acc: #9d5cff;
  --smv2-text: #f4f2fb;
  --smv2-muted: #8f88a8;
  --smv2-line: rgba(255, 255, 255, .06);
  --smv2-line2: rgba(255, 255, 255, .07);
  --smv2-radius: 14px;
  --smv2-bottom-offset: 72px; /* место под нижний бар */
}

.streamer-mobile-v2 {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--smv2-bg);
  min-height: 100svh;
  font-family: var(--tn-font-sans, system-ui, -apple-system, sans-serif);
  color: var(--smv2-text);
  position: relative;
  overflow-x: hidden;
  padding-bottom: var(--smv2-bottom-offset);
  box-sizing: border-box;
}

.streamer-mobile-v2 *,
.streamer-mobile-v2 *::before,
.streamer-mobile-v2 *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.streamer-mobile-v2 img {
  display: block;
  max-width: 100%;
}

.streamer-mobile-v2 button {
  font-family: inherit;
}

/* ─── Герой ─────────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-hero {
  padding: 16px 16px 14px;
  background: radial-gradient(120% 90% at 50% -10%, rgba(157, 92, 255, .26), rgba(14, 11, 26, 0) 60%);
}

.streamer-mobile-v2 .smv2-hero-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.streamer-mobile-v2 .smv2-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.streamer-mobile-v2 .smv2-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 2px solid var(--smv2-acc);
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  border: 2px solid var(--smv2-acc);
  background: var(--smv2-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--smv2-acc);
}

.streamer-mobile-v2 .smv2-live-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #e0356b;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  letter-spacing: .04em;
}

.streamer-mobile-v2 .smv2-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: smv2-pulse 1.4s infinite;
}

@keyframes smv2-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.streamer-mobile-v2 .smv2-offline-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #444;
  color: #aaa;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: .04em;
}

.streamer-mobile-v2 .smv2-hero-info {
  flex: 1;
  min-width: 0;
}

.streamer-mobile-v2 .smv2-hero-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.streamer-mobile-v2 .smv2-hero-name h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.streamer-mobile-v2 .smv2-tag {
  background: rgba(157, 92, 255, .18);
  color: var(--smv2-acc);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.streamer-mobile-v2 .smv2-hero-handle {
  color: var(--smv2-muted);
  font-size: 12px;
  margin-top: 5px;
}

.streamer-mobile-v2 .smv2-hero-stats {
  display: flex;
  gap: 14px;
  margin-top: 9px;
  font-size: 11px;
  color: var(--smv2-muted);
  flex-wrap: wrap;
}

.streamer-mobile-v2 .smv2-hero-stats b {
  font-weight: 800;
  font-size: 14px;
  color: var(--smv2-text);
}

.streamer-mobile-v2 .smv2-hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ─── Кнопки ─────────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-btn {
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity .15s;
  font-family: inherit;
}

.streamer-mobile-v2 .smv2-btn:active {
  opacity: .75;
}

.streamer-mobile-v2 .smv2-btn--primary {
  flex: 1.6;
  background: var(--smv2-acc);
  color: #fff;
}

.streamer-mobile-v2 .smv2-btn--ghost {
  flex: 1;
  background: transparent;
  color: var(--smv2-text);
  border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 700;
  font-size: 13px;
}

.streamer-mobile-v2 .smv2-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
  display: inline-block;
}

/* ─── Вкладки ────────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-tabs {
  position: sticky;
  top: 0;
  z-index: 38;
  background: var(--smv2-bg);
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--smv2-line);
}

.streamer-mobile-v2 .smv2-tabs-inner {
  display: flex;
  gap: 6px;
  background: #161126;
  border: 1px solid var(--smv2-line);
  border-radius: 13px;
  padding: 4px;
}

.streamer-mobile-v2 .smv2-tab {
  flex: 1;
  border: 0;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--smv2-muted);
  font-family: inherit;
  transition: background .15s, color .15s;
}

.streamer-mobile-v2 .smv2-tab.is-active {
  background: var(--smv2-acc);
  color: #fff;
}

.streamer-mobile-v2 .smv2-tab-panel {
  display: none;
}

.streamer-mobile-v2 .smv2-tab-panel.is-active {
  display: block;
}

/* ─── Общие секции ───────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-section {
  padding: 20px 16px 4px;
}

.streamer-mobile-v2 .smv2-section--bleed {
  padding: 20px 0 4px;
}

.streamer-mobile-v2 .smv2-h-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.streamer-mobile-v2 .smv2-h-row.smv2-pad {
  padding: 0 16px;
}

.streamer-mobile-v2 .smv2-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.streamer-mobile-v2 .smv2-title::before {
  content: "";
  width: 4px;
  height: 16px;
  background: var(--smv2-acc);
  border-radius: 3px;
  flex: 0 0 auto;
}

.streamer-mobile-v2 .smv2-title--big {
  font-size: 20px;
}

.streamer-mobile-v2 .smv2-badge {
  background: rgba(255, 255, 255, .08);
  color: #c9c4dd;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
}

.streamer-mobile-v2 .smv2-link {
  color: var(--smv2-muted);
  font-size: 12px;
  text-decoration: none;
}

/* ─── Карусель ───────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.streamer-mobile-v2 .smv2-carousel::-webkit-scrollbar {
  display: none;
}

.streamer-mobile-v2 .smv2-carousel > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

/* ─── Паспорт (таблица фактов) ───────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-passport {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--smv2-line2);
  border: 1px solid var(--smv2-line2);
  border-radius: 13px;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-passport > div {
  background: var(--smv2-card2);
  padding: 11px 13px;
}

.streamer-mobile-v2 .smv2-passport .smv2-pk {
  color: var(--smv2-muted);
  font-size: 11px;
  margin-bottom: 2px;
}

.streamer-mobile-v2 .smv2-passport .smv2-pv {
  font-size: 13px;
  font-weight: 700;
}

.streamer-mobile-v2 .smv2-lead {
  margin: 0 0 12px;
  color: #c9c4dd;
  font-size: 14px;
  line-height: 1.6;
}

.streamer-mobile-v2 .smv2-goto-bio {
  margin-top: 10px;
  background: none;
  border: 0;
  color: var(--smv2-acc);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

/* ─── Часто ищут (пилюли статей) ────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-search-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.streamer-mobile-v2 .smv2-search-item {
  background: #161126;
  border: 1px solid var(--smv2-line2);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 700;
  color: #d8d3ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
}

.streamer-mobile-v2 .smv2-search-item .smv2-chev {
  color: #6f688c;
  flex-shrink: 0;
}

/* ─── Клипы ──────────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-clip {
  width: 248px;
}

.streamer-mobile-v2 .smv2-clip-thumb {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #1a1530;
}

.streamer-mobile-v2 .smv2-clip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-clip-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.streamer-mobile-v2 .smv2-clip-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.streamer-mobile-v2 .smv2-clip-views {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
}

.streamer-mobile-v2 .smv2-clip h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 8px 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* iframe-оверлей для клипов (после клика) */
.streamer-mobile-v2 .smv2-clip-iframe-wrap {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #000;
}

.streamer-mobile-v2 .smv2-clip-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.streamer-mobile-v2 .smv2-clip-iframe-close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 11;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ─── VOD / Трансляции ───────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-vod {
  width: 248px;
  background: var(--smv2-card);
  border: 1px solid var(--smv2-line);
  border-radius: 14px;
  padding: 10px;
}

.streamer-mobile-v2 .smv2-vod-thumb {
  position: relative;
  width: 100%;
  height: 128px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1530;
}

.streamer-mobile-v2 .smv2-vod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-vod-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.streamer-mobile-v2 .smv2-vod h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 9px 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-vod .smv2-meta {
  color: var(--smv2-muted);
  font-size: 11px;
  margin-top: 5px;
}

/* ─── Фото ───────────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-photo {
  width: 138px;
  height: 184px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--smv2-card);
  flex-shrink: 0;
}

.streamer-mobile-v2 .smv2-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Связи и окружение ──────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-squad-card {
  background: #13112a;
  border: 1px solid var(--smv2-line2);
  border-radius: 16px;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-squad-accent {
  height: 3px;
  background: linear-gradient(90deg, #2fd17a, #3a7bff, #e0356b);
}

.streamer-mobile-v2 .smv2-squad-body {
  padding: 15px 15px 16px;
}

.streamer-mobile-v2 .smv2-squad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.streamer-mobile-v2 .smv2-squad-head h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.streamer-mobile-v2 .smv2-squad-count {
  background: rgba(255, 255, 255, .08);
  color: #c9c4dd;
  font-size: 12px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.streamer-mobile-v2 .smv2-squad-inner {
  border: 1px solid rgba(47, 209, 122, .25);
  border-radius: 13px;
  padding: 13px;
}

.streamer-mobile-v2 .smv2-squad-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.streamer-mobile-v2 .smv2-squad-pill {
  background: rgba(47, 209, 122, .15);
  color: #2fd17a;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 7px;
}

.streamer-mobile-v2 .smv2-squad-name-label {
  font-size: 15px;
  font-weight: 800;
}

.streamer-mobile-v2 .smv2-squad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.streamer-mobile-v2 .smv2-member {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #161b18;
  border: 1px solid rgba(255, 255, 255, .05);
  border-left: 3px solid #2fd17a;
  border-radius: 11px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
}

.streamer-mobile-v2 .smv2-member-ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #2a2147;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-member-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-member-ava-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--smv2-acc);
}

.streamer-mobile-v2 .smv2-member span.smv2-member-nick {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.streamer-mobile-v2 .smv2-squad-more-btn {
  width: 100%;
  margin-top: 10px;
  background: #161b18;
  border: 1px solid var(--smv2-line);
  border-radius: 11px;
  padding: 12px;
  color: var(--smv2-text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.streamer-mobile-v2 .smv2-squad-more-count {
  background: rgba(255, 255, 255, .1);
  color: #c9c4dd;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Другие связи (не сквад) */
.streamer-mobile-v2 .smv2-other-connections {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.streamer-mobile-v2 .smv2-conn-card {
  background: var(--smv2-card);
  border: 1px solid var(--smv2-line);
  border-left: 3px solid var(--conn-color, var(--smv2-acc));
  border-radius: 11px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.streamer-mobile-v2 .smv2-conn-card__ava {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  background: #2a2147;
}

.streamer-mobile-v2 .smv2-conn-card__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-conn-card__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--smv2-acc);
}

.streamer-mobile-v2 .smv2-conn-card__info {
  flex: 1;
  min-width: 0;
}

.streamer-mobile-v2 .smv2-conn-card__nick {
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.streamer-mobile-v2 .smv2-conn-card__rel {
  font-size: 11px;
  color: var(--smv2-muted);
  margin-top: 2px;
}

/* ─── Любимые категории (чипы) ───────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.streamer-mobile-v2 .smv2-chip {
  background: var(--smv2-card);
  border: 1px solid var(--smv2-line2);
  border-radius: 11px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.streamer-mobile-v2 .smv2-chip b {
  font-size: 13px;
  font-weight: 700;
}

.streamer-mobile-v2 .smv2-chip small {
  color: var(--smv2-muted);
  font-size: 11px;
}

/* ─── Интересные факты ───────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.streamer-mobile-v2 .smv2-fact {
  display: flex;
  gap: 11px;
  background: var(--smv2-card);
  border: 1px solid var(--smv2-line);
  border-radius: 13px;
  padding: 13px;
}

.streamer-mobile-v2 .smv2-fact-n {
  color: var(--smv2-acc);
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}

.streamer-mobile-v2 .smv2-fact p {
  margin: 0;
  font-size: 13px;
  color: #cdc8e0;
  line-height: 1.5;
}

/* ─── Новости ────────────────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.streamer-mobile-v2 .smv2-news-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.streamer-mobile-v2 .smv2-news-thumb {
  flex: 0 0 64px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--smv2-card);
}

.streamer-mobile-v2 .smv2-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-news-item h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-news-item .smv2-meta {
  color: var(--smv2-muted);
  font-size: 11px;
  margin-top: 4px;
}

/* ─── Похожие стримеры ───────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-streamer-card {
  width: 108px;
  background: var(--smv2-card);
  border: 1px solid var(--smv2-line);
  border-radius: 13px;
  padding: 13px 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.streamer-mobile-v2 .smv2-streamer-card.is-online {
  border-color: rgba(47, 209, 122, .35);
}

.streamer-mobile-v2 .smv2-streamer-ava {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin: 0 auto 8px;
  background: #2a2147;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-streamer-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-mobile-v2 .smv2-streamer-card b {
  font-size: 12px;
  font-weight: 700;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.streamer-mobile-v2 .smv2-streamer-card small {
  display: block;
  color: var(--smv2-muted);
  font-size: 10px;
  margin-top: 3px;
}

.streamer-mobile-v2 .smv2-online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fd17a;
  margin-right: 3px;
  vertical-align: middle;
}

/* ─── FAQ (нативный details) ──────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.streamer-mobile-v2 .smv2-faq details {
  background: var(--smv2-card);
  border: 1px solid var(--smv2-line);
  border-radius: 13px;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
}

.streamer-mobile-v2 .smv2-faq summary::-webkit-details-marker {
  display: none;
}

.streamer-mobile-v2 .smv2-faq summary::after {
  content: "+";
  color: var(--smv2-acc);
  font-size: 18px;
  flex: 0 0 auto;
}

.streamer-mobile-v2 .smv2-faq details[open] summary::after {
  content: "–";
}

.streamer-mobile-v2 .smv2-faq .smv2-faq-answer {
  padding: 0 14px 14px;
  color: #b6b1cc;
  font-size: 13px;
  line-height: 1.55;
}

/* ─── Биография (вкладка) ────────────────────────────────────────────────── */
.streamer-mobile-v2 .smv2-bio-content {
  padding: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #c9c4dd;
}

.streamer-mobile-v2 .smv2-bio-content h2,
.streamer-mobile-v2 .smv2-bio-content h3 {
  color: var(--smv2-text);
  font-weight: 800;
}

.streamer-mobile-v2 .smv2-bio-content h2 {
  font-size: 18px;
  margin: 20px 0 10px;
}

.streamer-mobile-v2 .smv2-bio-content h3 {
  font-size: 15px;
  margin: 16px 0 8px;
}

.streamer-mobile-v2 .smv2-bio-content p {
  margin: 0 0 12px;
}

/* ─── Нижняя панель (sticky bottombar) ───────────────────────────────────── */
.streamer-mobile-v2 .smv2-bottombar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 100;
  background: rgba(16, 12, 30, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 9px 12px;
  padding-bottom: calc(9px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 8px;
}

.streamer-mobile-v2 .smv2-bb-watch {
  flex: 1.7;
  background: var(--smv2-acc);
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
}

.streamer-mobile-v2 .smv2-bb-watch:active {
  opacity: .8;
}

.streamer-mobile-v2 .smv2-bb-item {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #c9c4dd;
  text-decoration: none;
}

.streamer-mobile-v2 .smv2-bb-icon {
  font-size: 16px;
}

/* ─── Статистика: базовый snapshot (в HTML, SEO) ─────────────────────────── */
.streamer-mobile-v2 .smv2-stats-snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--smv2-border, rgba(255,255,255,.08));
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 16px 0;
}

.streamer-mobile-v2 .smv2-stats-snapshot__item {
  background: var(--smv2-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
}

.streamer-mobile-v2 .smv2-stats-snapshot__val {
  font-size: 20px;
  font-weight: 700;
  color: var(--smv2-text);
  line-height: 1;
}

.streamer-mobile-v2 .smv2-stats-snapshot__lbl {
  font-size: 11px;
  color: var(--smv2-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ─── Статистика: расширенный блок (lazy AJAX) ───────────────────────────── */
.streamer-mobile-v2 .smv2-stats-extended {
  padding: 4px 0 16px;
  min-height: 20px;
}

@media (max-width: 767px) {
  html,
  body.single-streamer {
    background: #0e0b1a !important;
    overflow-x: hidden !important;
  }

  body.single-streamer .container,
  body.single-streamer > .container,
  body.single-streamer .container.mx-auto {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-streamer .streamer-page,
  body.single-streamer .streamer-page--has-mobile-v2 {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #0e0b1a !important;
  }

  .streamer-mobile-v2 {
    width: 100vw !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --smv2-bottom-offset: 62px;
  }

  .streamer-mobile-v2 .smv2-bottombar {
    max-width: none !important;
    padding: 6px 10px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
  }

  .streamer-mobile-v2 .smv2-bb-watch {
    flex: 1.3;
    font-size: 13px;
    padding: 9px 10px;
    border-radius: 11px;
  }

  .streamer-mobile-v2 .smv2-bb-top {
    background: linear-gradient(135deg, #9d5cff, #6e4bff);
  }

  .streamer-mobile-v2 .smv2-bb-item {
    font-size: 10px;
    gap: 2px;
  }

  .streamer-mobile-v2 .smv2-bb-icon {
    font-size: 14px;
  }
}

.streamer-mobile-v2 .smv2-lead[data-smv2-collapsible] {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.streamer-mobile-v2 .smv2-lead.is-expanded {
  display: block;
}

.streamer-mobile-v2 .smv2-read-more {
  margin: -2px 0 13px;
  border: 0;
  background: none;
  color: var(--smv2-acc);
  font-size: 13px;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
}

.streamer-mobile-v2 .smv2-carousel.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding: 0 16px;
  scroll-snap-type: none;
}

.streamer-mobile-v2 .smv2-carousel.is-grid > * {
  min-width: 0;
  flex: initial;
}

.streamer-mobile-v2 .smv2-carousel.is-grid .smv2-clip,
.streamer-mobile-v2 .smv2-carousel.is-grid .smv2-vod {
  width: auto;
}

.streamer-mobile-v2 .smv2-carousel.is-grid .smv2-clip-thumb {
  height: 104px;
  border-radius: 12px;
}

.streamer-mobile-v2 .smv2-carousel.is-grid .smv2-vod-thumb {
  height: 96px;
}

.streamer-mobile-v2 .smv2-carousel.is-grid .smv2-clip h3,
.streamer-mobile-v2 .smv2-carousel.is-grid .smv2-vod h3 {
  font-size: 12px;
}

.streamer-mobile-v2 .smv2-more-wrap {
  padding: 14px 16px 0;
}

.streamer-mobile-v2 .smv2-media-more {
  width: 100%;
  border: 1px solid rgba(157, 92, 255, .36);
  background:
    linear-gradient(135deg, rgba(157, 92, 255, .22), rgba(47, 209, 122, .08)),
    #161126;
  color: #f4f2fb;
  border-radius: 14px;
  min-height: 44px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(157, 92, 255, .14);
}

.streamer-mobile-v2 .smv2-media-more small {
  background: rgba(255, 255, 255, .1);
  color: #d9ceff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
}

.streamer-mobile-v2 .smv2-section--bleed.is-highlight,
.streamer-mobile-v2 .smv2-section--bleed:target {
  animation: smv2-section-glow 1.6s ease-out;
}

@keyframes smv2-section-glow {
  0% { box-shadow: inset 0 0 0 999px rgba(157, 92, 255, .16), 0 0 28px rgba(157, 92, 255, .34); }
  55% { box-shadow: inset 0 0 0 999px rgba(157, 92, 255, .07), 0 0 16px rgba(157, 92, 255, .22); }
  100% { box-shadow: inset 0 0 0 999px rgba(157, 92, 255, 0), 0 0 0 rgba(157, 92, 255, 0); }
}

@media (max-width: 767px) {
  body.single-streamer .streamer-mobile-v2 {
    min-height: 0;
    --smv2-bottom-offset: 18px;
  }

  body.single-streamer .streamer-mobile-v2 .smv2-tab-panel.is-active {
    padding-bottom: 0;
  }

  body.single-streamer .streamer-mobile-v2 .smv2-tab-panel.is-active > .smv2-section:last-child {
    padding-bottom: 18px;
  }

  body.single-streamer footer {
    width: 100%;
    margin-top: 0 !important;
    background: #12111d;
    overflow-x: hidden;
  }

  body.single-streamer footer .container,
  body.single-streamer footer .container.mx-auto {
    width: 100% !important;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px 16px calc(86px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box;
  }

  body.single-streamer footer p,
  body.single-streamer footer span,
  body.single-streamer footer a {
    overflow-wrap: anywhere;
  }

  body.single-streamer footer .flex {
    min-width: 0;
  }
}
