*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --gap: 16px;
  --radius: 14px;
  --bg: #0e0e0e;
  --card: #111;
  --text: #fff;
  --muted: #bbb;
  --border: #333;
  --hover: #444;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

.all {
  padding: 10px;
  background-color: transparent;
  color: #fff;
  margin-top: 20px;
  margin-left: 5px;
}

.channel-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.username-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.username-container h2 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.sub-count {
  margin: 2px 0;
  color: #aaa;
  font-size: 14px;
}

.sub-btn {
  background: rgba(0, 0, 0, 0.45);
  border: none;
  border-radius: 9999px;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin-top: 5px;
  cursor: pointer;
}

.bi-check {
  background-color: #00b8ff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: white;
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding: 0;
  position: relative;
  top: 20px;
  justify-items: center;
}

.yt-grid > * {
  min-width: 0;
}

.yt-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: var(--card);
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.yt-card.yt-video {
  grid-column: 1 / -1;
}

.yt-card.yt-short {
  grid-column: auto;
}

.yt-thumb {
  width: 100%;
  display: block;
  background: #000;
}

.yt-thumb.is-video {
  aspect-ratio: 16/9;
  object-fit: contain;
}

.yt-thumb.is-short {
  aspect-ratio: 9/16;
  object-fit: cover;
}

.yt-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,.65);
  color: var(--text);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 1;
}

.yt-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px 12px;
}

.yt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  flex: 0 0 auto;
}

.yt-texts {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.yt-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-sub {
  font-size: 12px;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.yt-sub .bi-check {
  background-color: #00b8ff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: white;
}

.yt-card:focus,
.yt-card:hover {
  outline: none;
  box-shadow: 0 0 0 2px var(--hover);
}

.div_for_sigma {
  height: 80px;
}