/**
 * TN: Lazy Loading Styles
 */

/* WebView fixes: отключаем font boosting и автозум */
html { 
  -webkit-text-size-adjust: 100%; 
  text-size-adjust: 100%; 
}

/* Aspect ratio containers */
.tn-ratio-16x9 {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.tn-ratio-4x3 {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.tn-ratio-1x1 {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

/* Image wrappers */
.tn-img-wrapper {
    position: relative;
    overflow: hidden;
}

.tn-img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

/* Card images */
.tn-card-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Placeholder blur effect */
.tn-img-ph {
    filter: blur(8px);
    transition: filter 0.25s ease-in-out;
}

.tn-img-ph.loaded {
    filter: none;
}

/* Lazy background images */
.tn-bg-lazy {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px; /* Fallback for older browsers */
}

.tn-bg-loaded {
    /* Background image loaded - placeholder for future styles */
    opacity: 1;
}

/* Embed containers */
.tn-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio fallback */
    overflow: hidden;
}

.tn-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tn-embed-placeholder {
    position: relative;
    background-color: #262b30;
}

.tn-embed-placeholder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tn-embed-placeholder-img:hover {
    opacity: 0.9;
}

/* Similar streamers section */
.tn-similar-streamers {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.tn-similar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.tn-grid-similar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .tn-grid-similar {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .tn-grid-similar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Streamer card */
.tn-card-streamer {
    background: rgba(38, 43, 48, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tn-card-streamer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tn-card-streamer .tn-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tn-card-streamer .tn-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.tn-card-streamer .tn-card__body {
    padding: 1rem;
}

.tn-card-streamer .tn-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.tn-card-streamer .tn-card__meta {
    font-size: 0.875rem;
    color: rgba(229, 231, 235, 0.7);
    margin: 0;
}

/* Honeypot field (hidden) - accessibility-friendly */
.tn-hp,
input[name*="honeypot"],
input[type="text"][name*="human"],
input[type="text"][name*="bot"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Hide honeypot labels */
label[for*="honeypot"],
label[for*="human"],
label[for*="bot"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Hide "Only fill in if you are not human" text */
.tn-hp-text,
*:contains("Only fill in if you are not human") {
    display: none !important;
    visibility: hidden !important;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 16 / 9) {
    .tn-ratio-16x9::before {
        content: '';
        display: block;
        padding-bottom: 56.25%; /* 16:9 */
    }
    
    .tn-ratio-4x3::before {
        content: '';
        display: block;
        padding-bottom: 75%; /* 4:3 */
    }
    
    .tn-ratio-1x1::before {
        content: '';
        display: block;
        padding-bottom: 100%; /* 1:1 */
    }
    
    .tn-ratio-16x9 > *,
    .tn-ratio-4x3 > *,
    .tn-ratio-1x1 > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* ============================================
   Streamers DB Table Styles
   ============================================ */

/* Remove underline from tabs and table header links */
#tn-streamers-db .mb-3 a,
#tn-streamers-db thead a {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

#tn-streamers-db .mb-3 a:hover,
#tn-streamers-db thead a:hover {
    text-decoration: none !important;
}

/* Tabs */
#tn-streamers-db .tn-tab {
    position: relative;
    color: var(--text);
}

#tn-streamers-db .tn-tab--active {
    color: var(--tn-accent);
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--tn-accent);
    border-radius: 8px;
}

/* Prevent bottom clipping of active tab border/outline */
#tn-streamers-db > .overflow-x-auto {
    overflow-y: visible;
}

#tn-streamers-db .mb-3 {
    overflow: visible;
}

#tn-streamers-db .mb-3 a {
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
}

/* REMOVED: Mobile card helpers - cards are no longer used */

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Скрываем старую верхнюю панель вкладок на мобильных */
    #tn-streamers-db .mb-3.flex.flex-wrap.gap-2 {
        display: none !important;
    }

    /* Мобильная панель сортировки (перенесена под H1, не фиксирована) */
    #tn-streamers-db .tn-mobile-sort-bar {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        margin: 10px 0 12px;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        background: rgba(15,23,42,0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 14px;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    #tn-streamers-db .tn-mobile-sort-bar a.tn-tab {
        border-radius: 999px;
        padding: 4px 10px !important;
        margin-right: 6px !important;
        background: rgba(31,41,55,0.96);
        color: rgba(249,250,251,0.9);
        border: 1px solid rgba(148,163,184,0.45);
        box-shadow: 0 4px 10px rgba(0,0,0,0.45);
        min-width: 0 !important;
        flex: 1 1 0 !important;
        flex-shrink: 1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    #tn-streamers-db .tn-mobile-sort-bar a.tn-tab:last-child {
        margin-right: 0 !important;
    }

    #tn-streamers-db .tn-mobile-sort-bar a.tn-tab--active {
        background: var(--tn-accent);
        border-color: var(--tn-accent);
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(0,0,0,0.7);
    }
    
    /* На очень маленьких экранах уменьшаем отступы и размер шрифта */
    @media (max-width: 360px) {
        #tn-streamers-db .tn-mobile-sort-bar {
            gap: 4px !important;
            padding-left: 8px !important;
            padding-right: 8px !important;
        }
        
        #tn-streamers-db .tn-mobile-sort-bar a.tn-tab {
            padding: 4px 6px !important;
            margin-right: 4px !important;
            font-size: 11px !important;
        }
        
        #tn-streamers-db .tn-mobile-sort-bar a.tn-tab:last-child {
            margin-right: 0 !important;
        }
    }
    
    /* Show game filters on mobile when games tab is active */
    #tn-streamers-db .mb-3.flex.flex-wrap.items-center.gap-2 {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 12px !important;
    }
    
    #tn-streamers-db .mb-3.flex.flex-wrap.items-center.gap-2 a {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    
    /* REMOVED: All mobile card styles - cards are no longer used */

}

/* TN-PATCH START: Streamer cards responsive */
.tn-streamer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.tn-streamer-card {
  grid-column: span 4;
  background:#111;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
  color:#fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
}

.tn-streamer-card .tn-card-header {
  display:flex; align-items:center; gap:12px;
}

.tn-streamer-card .tn-avatar {
  width:64px; height:64px; border-radius:12px; object-fit:cover; flex:0 0 64px;
  background:#222;
}

.tn-streamer-card .tn-title {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.25;
  margin:0;
}

.tn-live-badge {
  display:inline-block;
  font-size:12px;
  font-weight:700;
  padding:2px 8px;
  border-radius:999px;
  background:#ff2d2d;
  color:#fff;
  margin-left:8px;
  vertical-align: middle;
}

.tn-offline { opacity:.7; }

.tn-streamer-card .tn-meta {
  margin-top:8px; display:flex; flex-wrap:wrap; gap:10px;
  font-size: 13px; opacity:.9;
}

.tn-streamer-card .tn-stat {
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding:6px 10px;
}

@media (max-width: 1024px) {
  .tn-streamer-card { grid-column: span 6; }
}
@media (max-width: 640px) {
  .tn-streamer-grid { gap:12px; }
  .tn-streamer-card { grid-column: 1 / -1; padding:14px; border-radius:14px; }
  .tn-streamer-card .tn-avatar { width:56px; height:56px; border-radius:10px; }
  .tn-streamer-card .tn-title { font-size: clamp(16px, 4.5vw, 18px); }
  .tn-streamer-card .tn-meta { font-size: 12px; gap:8px; }
}
/* TN-PATCH END: Streamer cards responsive */

/* ===== TN Streamers DB: mobile/table fixes ===== */
.tn-streamers-db * { box-sizing: border-box; }

/* Скрываем элемент "Twitch news" ТОЛЬКО внутри контейнера топ стримеров */
.tn-streamers-db li a[href="https://twitch-news.ru/"],
.tn-streamers-db li a[href*="twitch-news.ru"][href*="Twitch news"],
#tn-streamers-db li a[href="https://twitch-news.ru/"],
#tn-streamers-db li a[href*="twitch-news.ru"][href*="Twitch news"] {
  display: none !important;
}
.tn-streamers-db li:has(a[href="https://twitch-news.ru/"]),
#tn-streamers-db li:has(a[href="https://twitch-news.ru/"]) {
  display: none !important;
}

/* Скрываем разделитель "›" ТОЛЬКО внутри контейнера топ стримеров, если следующий или предыдущий элемент скрыт */
.tn-streamers-db li[aria-hidden="true"]:has(+ li:has(a[href="https://twitch-news.ru/"])),
.tn-streamers-db li[aria-hidden="true"]:has(+ li a[href="https://twitch-news.ru/"]),
.tn-streamers-db li:has(a[href="https://twitch-news.ru/"]) + li[aria-hidden="true"],
.tn-streamers-db li:has(a[href="https://twitch-news.ru/"]) ~ li[aria-hidden="true"]:first-of-type,
#tn-streamers-db li[aria-hidden="true"]:has(+ li:has(a[href="https://twitch-news.ru/"])),
#tn-streamers-db li[aria-hidden="true"]:has(+ li a[href="https://twitch-news.ru/"]),
#tn-streamers-db li:has(a[href="https://twitch-news.ru/"]) + li[aria-hidden="true"],
#tn-streamers-db li:has(a[href="https://twitch-news.ru/"]) ~ li[aria-hidden="true"]:first-of-type {
  display: none !important;
}
/* Скрываем разделители, которые остались без соседей ТОЛЬКО внутри контейнера топ стримеров */
.tn-streamers-db nav ol li[aria-hidden="true"].mx-1:only-child,
.tn-streamers-db nav ol li[aria-hidden="true"].mx-1:last-child:not(:first-child),
#tn-streamers-db nav ol li[aria-hidden="true"].mx-1:only-child,
#tn-streamers-db nav ol li[aria-hidden="true"].mx-1:last-child:not(:first-child) {
  display: none !important;
}

/* ===== Классы для управления хлебными крошками ===== */
/* Доступные классы:
   - .post-kroshki - хлебные крошки на страницах постов
   - .category-kroshki - хлебные крошки на страницах категорий
   - .tag-kroshki - хлебные крошки на страницах тегов
   - .search-kroshki - хлебные крошки на странице поиска
   - .author-kroshki - хлебные крошки на страницах авторов
   - .archive-kroshki - хлебные крошки на архивных страницах
   - .page-kroshki - хлебные крошки на обычных страницах
   - .top-streamers-kroshki - хлебные крошки на странице топа стримеров
   - .streamer-kroshki - хлебные крошки на странице профиля стримера
*/

/* Скрываем хлебные крошки на странице топа стримеров */
.top-streamers-kroshki {
  display: none !important;
}

/* Бейдж LIVE — компактный */
.tn-streamers-db .tn-live-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
  border-radius: 6px;
  background: rgba(255,0,0,.15);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}

/* Таблица: горизонтальный скролл на мобильных (как на twitchtracker.com) */
/* Два уровня контейнеров: внешний БЕЗ overflow (для sticky), внутренний только для горизонтального скролла */

/* Внешний контейнер — НЕ создаёт scroll-контейнер, позволяет sticky работать относительно viewport */
.tn-table-outer {
  display: block;
  width: calc(100% + 1.5rem);
  max-width: calc(100% + 1.5rem);
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  overflow: visible;
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* Внутренний контейнер — только горизонтальный скролл */
.tn-table-scroll {
  display: block;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible; /* важно: не блокирует sticky */
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* Совместимость со старым классом (если где-то используется) */
.tn-table-responsive {
  display: block;
  width: calc(100% + 1.5rem);
  max-width: calc(100% + 1.5rem);
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

/* УДАЛЕНО: Псевдоэлементы ::before и ::after создавали вертикальные тёмные полосы при скролле */
.tn-table-outer::before,
.tn-table-outer::after,
.tn-table-scroll::before,
.tn-table-scroll::after,
.tn-table-responsive::before,
.tn-table-responsive::after {
  content: none !important;
  display: none !important;
}

/* Убеждаемся, что родительские контейнеры не ломают скролл и не создают overlay */
#tn-streamers-db,
.tn-streamers-db {
  overflow: visible;
  background-image: none !important;
  mask-image: none !important;
  position: relative;
}

/* Убираем любые установки --tn-header-height через inline стили */
#tn-streamers-db,
.tn-streamers-db,
.tn-table-outer,
.tn-table-scroll,
.tn-table-responsive {
  --tn-header-height: 0px !important;
}

/* Защита от overlay эффектов на таблице */
.tn-table {
  background: transparent !important;
}

.tn-streamers-db .tn-table-wrap { 
  width: 100%; 
  overflow-x: visible; 
}

.tn-streamers-db table { 
  width: 100%; 
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto; 
}

/* Липкий заголовок таблицы - работает относительно viewport */
.tn-streamers-db table {
  position: relative;
  border-collapse: separate;
  border-spacing: 0;
}

/* Липкий заголовок таблицы - работает относительно viewport */
/* ВАЖНО: sticky должен быть на th, а не на thead, и родительский контейнер (.tn-table-outer) не должен иметь overflow */
.tn-streamers-db table thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0 !important;
  z-index: 10;
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255,255,255,.1);
}

.tn-streamers-db table th,
.tn-streamers-db table td { 
  padding: 10px 12px; 
  vertical-align: middle; 
  border-bottom: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
  border-left: none;
  border-right: none;
}

.tn-streamers-db .tn-name,
.tn-streamers-db .tn-game,
.tn-streamers-db .tn-meta { 
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* На мобильных: горизонтальный скролл таблицы */
@media (max-width: 768px) {
  .tn-table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
  }
  
  /* Совместимость со старым классом */
  .tn-table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
  }
  
  /* Жёстко запрещаем любые overlay эффекты на мобильных */
  .tn-table-scroll::before,
  .tn-table-scroll::after,
  .tn-table-responsive::before,
  .tn-table-responsive::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .tn-streamers-db .tn-table {
    min-width: 860px; /* минимальная ширина для всех колонок */
    background: transparent !important;
  }
  
  /* Липкий заголовок на мобильных */
  .tn-streamers-db table thead th {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 11;
  }
  
  .tn-streamers-db .tn-table th,
  .tn-streamers-db .tn-table td {
    white-space: nowrap; /* без переносов, как на ПК */
  }
}

/* На десктопе: скрываем мобильную панель */
@media (min-width: 1024px) {
  .tn-mobile-sort-bar {
    display: none !important;
  }
}

/* REMOVED: Все стили для мобильных карточек - карточки больше не используются */

/* Цвет дельты (оставляем, используется в таблице) */
.tn-pos { color: #22c55e; }
.tn-neg { color: #ef4444; }

/* Top streamers table: stable columns + floating sticky header */
.tn-streamers-sticky-head {
  position: fixed;
  top: 0;
  display: none;
  overflow: hidden;
  z-index: 80;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tn-streamers-sticky-head.is-visible {
  display: block;
}

body.admin-bar .tn-streamers-sticky-head {
  top: 32px;
}

.tn-streamers-sticky-head__inner {
  will-change: transform;
}

.tn-streamers-sticky-head table {
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.tn-streamers-sticky-head th,
#tn-streamers-db .tn-table th,
#tn-streamers-db .tn-table td,
.tn-streamers-db .tn-table th,
.tn-streamers-db .tn-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

#tn-streamers-db .tn-table,
.tn-streamers-db .tn-table {
  table-layout: fixed !important;
  min-width: 820px;
}

#tn-streamers-db .tn-table th:nth-child(1),
#tn-streamers-db .tn-table td:nth-child(1),
.tn-streamers-sticky-head th:nth-child(1) { width: 54px; }

#tn-streamers-db .tn-table th:nth-child(2),
#tn-streamers-db .tn-table td:nth-child(2),
.tn-streamers-sticky-head th:nth-child(2) { width: 220px; }

#tn-streamers-db .tn-table th:nth-child(3),
#tn-streamers-db .tn-table td:nth-child(3),
.tn-streamers-sticky-head th:nth-child(3) { width: 150px; }

#tn-streamers-db .tn-table th:nth-child(4),
#tn-streamers-db .tn-table td:nth-child(4),
.tn-streamers-sticky-head th:nth-child(4) { width: 118px; }

#tn-streamers-db .tn-table th:nth-child(5),
#tn-streamers-db .tn-table td:nth-child(5),
.tn-streamers-sticky-head th:nth-child(5) { width: 128px; }

#tn-streamers-db .tn-table th:nth-child(6),
#tn-streamers-db .tn-table td:nth-child(6),
.tn-streamers-sticky-head th:nth-child(6) { width: 82px; }

#tn-streamers-db .tn-table th:nth-child(7),
#tn-streamers-db .tn-table td:nth-child(7),
.tn-streamers-sticky-head th:nth-child(7) { width: 118px; }

#tn-streamers-db .tn-table td:nth-child(2) > span,
.tn-streamers-db .tn-table td:nth-child(2) > span {
  max-width: 100%;
  min-width: 0;
}

#tn-streamers-db .tn-table td:nth-child(2) a,
.tn-streamers-db .tn-table td:nth-child(2) a {
  display: inline-block;
  min-width: 0;
  max-width: calc(100% - 34px);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

@media (max-width: 782px) {
  body.admin-bar .tn-streamers-sticky-head {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .tn-table-outer,
  .tn-table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .tn-table-scroll {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
  }

  #tn-streamers-db .tn-table,
  .tn-streamers-db .tn-table {
    min-width: 690px !important;
    font-size: 12px;
  }

  #tn-streamers-db .tn-table th,
  #tn-streamers-db .tn-table td,
  .tn-streamers-db .tn-table th,
  .tn-streamers-db .tn-table td,
  .tn-streamers-sticky-head th {
    padding: 8px 7px !important;
    line-height: 1.18;
    white-space: normal;
  }

  #tn-streamers-db .tn-table td,
  .tn-streamers-db .tn-table td {
    white-space: nowrap;
  }

  #tn-streamers-db .tn-table th:nth-child(1),
  #tn-streamers-db .tn-table td:nth-child(1),
  .tn-streamers-sticky-head th:nth-child(1) { width: 42px; }

  #tn-streamers-db .tn-table th:nth-child(2),
  #tn-streamers-db .tn-table td:nth-child(2),
  .tn-streamers-sticky-head th:nth-child(2) { width: 166px; }

  #tn-streamers-db .tn-table th:nth-child(3),
  #tn-streamers-db .tn-table td:nth-child(3),
  .tn-streamers-sticky-head th:nth-child(3) { width: 112px; }

  #tn-streamers-db .tn-table th:nth-child(4),
  #tn-streamers-db .tn-table td:nth-child(4),
  .tn-streamers-sticky-head th:nth-child(4) { width: 92px; }

  #tn-streamers-db .tn-table th:nth-child(5),
  #tn-streamers-db .tn-table td:nth-child(5),
  .tn-streamers-sticky-head th:nth-child(5) { width: 96px; }

  #tn-streamers-db .tn-table th:nth-child(6),
  #tn-streamers-db .tn-table td:nth-child(6),
  .tn-streamers-sticky-head th:nth-child(6) { width: 62px; }

  #tn-streamers-db .tn-table th:nth-child(7),
  #tn-streamers-db .tn-table td:nth-child(7),
  .tn-streamers-sticky-head th:nth-child(7) { width: 94px; }

  #tn-streamers-db .tn-avatar,
  .tn-streamers-db .tn-avatar {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
}

