.bn-yt .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bn-yt {
  --bn-yt-gold: #f5d742;
  --bn-yt-green: #b7ff3c;
  --bn-yt-ink: #f8fafc;
  --bn-yt-muted: #cbd5e1;
  --bn-yt-card: #1c2333;
  --bn-yt-line: rgba(245, 215, 66, 0.42);
  color: var(--bn-yt-ink);
  padding: 3.5rem 1.25rem 4rem;
  max-width: 1120px;
  margin: 0 auto;
}

.bn-yt-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.bn-yt-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bn-yt-gold);
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}

.bn-yt-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--bn-yt-ink);
}

.bn-yt-subtitle {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--bn-yt-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.bn-yt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bn-yt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bn-yt-filter,
.bn-yt-more {
  border: 1px solid var(--bn-yt-line);
  background: transparent;
  color: var(--bn-yt-ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.bn-yt-filter.is-active,
.bn-yt-more {
  background: linear-gradient(135deg, #f6e65c, #57e26b);
  color: #010919;
  border-color: transparent;
  font-weight: 700;
}

.bn-yt-search input {
  background: var(--bn-yt-card);
  color: var(--bn-yt-ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  min-width: 14rem;
}

.bn-yt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .bn-yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .bn-yt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.bn-yt-grid.is-shorts {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
}

.bn-yt-grid.is-shorts .bn-yt-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
}

@media (min-width: 900px) {
  .bn-yt-grid.is-shorts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    overflow: visible;
  }
  .bn-yt-grid.is-shorts .bn-yt-card { flex: none; }
}

.bn-yt-play {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--bn-yt-line);
  background: var(--bn-yt-card);
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(1, 9, 25, 0.35);
}

.bn-yt-play:focus-visible {
  outline: 2px solid var(--bn-yt-green);
  outline-offset: 3px;
}

.bn-yt-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}

.bn-yt-card.is-short .bn-yt-thumb {
  aspect-ratio: 9 / 16;
}

.bn-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bn-yt-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(1, 9, 25, 0.72);
  border: 2px solid var(--bn-yt-gold);
}

.bn-yt-play-icon::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.85rem;
  border-style: solid;
  border-width: 0.6rem 0 0.6rem 0.95rem;
  border-color: transparent transparent transparent var(--bn-yt-gold);
}

.bn-yt-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem 1rem;
}

.bn-yt-title {
  font-weight: 700;
  line-height: 1.35;
}

.bn-yt-date {
  color: var(--bn-yt-muted);
  font-size: 0.85rem;
}

.bn-yt-empty,
.bn-yt-loading {
  text-align: center;
  color: var(--bn-yt-muted);
}

.bn-yt-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.bn-yt-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(1, 9, 25, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bn-yt-modal[hidden] { display: none; }

.bn-yt-dialog {
  width: min(960px, 100%);
  background: #0b1220;
  border: 1px solid var(--bn-yt-line);
  border-radius: 1rem;
  overflow: hidden;
}

.bn-yt-dialog.is-short {
  width: min(420px, 100%);
}

.bn-yt-dialog-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  color: var(--bn-yt-ink);
}

.bn-yt-dialog-title {
  margin: 0;
  font-size: 0.95rem;
}

.bn-yt-close {
  border: 0;
  background: var(--bn-yt-gold);
  color: #010919;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.bn-yt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.bn-yt-dialog.is-short .bn-yt-frame {
  aspect-ratio: 9 / 16;
  max-height: 78vh;
}

.bn-yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
