:root {
  color-scheme: dark;
  --bg: #060303;
  --surface: #130b0a;
  --surface-muted: #24100e;
  --surface-lift: #1a0d0b;
  --text: #fff3df;
  --muted: #c89f76;
  --line: rgba(230, 56, 38, 0.28);
  --accent: #e63826;
  --accent-dark: #99170f;
  --gold: #f2a233;
  --focus: #f2a233;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(220px, 560px);
  gap: 24px;
  align-items: center;
  padding: 12px clamp(16px, 4vw, 36px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 3, 3, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(242, 162, 51, 0.42);
  border-radius: 50%;
  background: #000;
  box-shadow: none;
  object-fit: contain;
}

.search-shell {
  justify-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  width: min(100%, 560px);
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.search-shell:focus-within {
  outline: 3px solid rgba(242, 162, 51, 0.18);
  border-color: var(--focus);
}

.search-shell input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-shell input::placeholder {
  color: rgba(255, 243, 223, 0.58);
}

.search-shell button {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--gold);
  cursor: pointer;
}

.search-shell button:hover {
  background: #32120f;
}

.page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 18px clamp(12px, 3vw, 34px) 46px;
}

.ad-slot {
  display: grid;
  min-height: 96px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px dashed #b9b6ad;
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
  box-shadow: none;
}

.native-banner {
  overflow: hidden;
}

#container-0b4da4a66a189ae78152f3d0d10f4f3c {
  width: 100%;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0;
  color: var(--text);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px 18px;
}

.infeed-ad {
  position: relative;
  display: flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  margin: 28px auto;
  overflow: hidden;
}

.infeed-ad::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  padding: 1px 5px;
  background: rgba(0, 0, 0, 0.75);
  color: #ddd;
  content: "Ad";
  font-size: 0.6rem;
  transform: translateX(-50%);
}

.horizontal-ad {
  width: 100%;
}

.mobile-banner {
  display: none;
}

.tower-ad-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin: 28px auto;
}

.tower-ad-row .infeed-ad {
  margin: 0;
}

.video-card {
  display: grid;
  gap: 11px;
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: auto 220px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.video-card:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 6px;
  border-radius: 8px;
}

.thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(242, 162, 51, 0.16);
  background:
    linear-gradient(135deg, rgba(230, 56, 38, 0.32), rgba(242, 162, 51, 0.18)),
    var(--surface-lift);
  box-shadow: var(--shadow);
}

.thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.video-card:hover .thumbnail img {
  transform: scale(1.025);
}

.video-card:active .thumbnail {
  transform: scale(0.985);
}

.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 4px;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff3df;
  font-size: 0.78rem;
  font-weight: 700;
}

.video-copy {
  min-width: 0;
}

.video-title {
  display: -webkit-box;
  min-width: 0;
  margin: 0 0 5px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text);
}

.video-meta,
.video-channel {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.empty-state {
  margin: 34px 0 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, auto) minmax(150px, 1fr);
    gap: 10px;
    padding: 8px 10px;
  }

  .brand {
    gap: 8px;
    font-size: 1.04rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .search-shell {
    justify-self: end;
    width: 100%;
    min-height: 40px;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .search-shell input {
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .page {
    padding: 10px 9px 38px;
  }

  .ad-slot {
    min-height: 74px;
    margin-bottom: 20px;
    padding: 12px;
  }

  .section-heading {
    display: block;
    margin-bottom: 14px;
    padding: 0 2px;
  }

  .section-heading h1 {
    font-size: 1.28rem;
  }

  .section-heading p {
    margin-top: 6px;
    font-size: 0.9rem;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 9px;
  }

  .infeed-ad,
  .tower-ad-row {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .desktop-banner,
  .tablet-banner,
  .tall-tower-ad {
    display: none;
  }

  .mobile-banner {
    display: flex;
  }

  .thumbnail {
    border-radius: 7px;
  }

  .video-copy {
    padding: 0 2px;
  }

  .video-title {
    margin-bottom: 4px;
    font-size: 0.86rem;
    line-height: 1.25;
  }

  .video-meta,
  .video-channel {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (min-width: 480px) and (max-width: 720px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .video-title {
    font-size: 0.92rem;
  }
}

@media (max-width: 379px) {
  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand span {
    display: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-title {
    font-size: 0.94rem;
  }

  .video-meta,
  .video-channel {
    font-size: 0.8rem;
  }

  .section-heading p {
    display: none;
  }
}
