/* Netflix Dark Streaming extensions for Brand & Channel pages */
.brand-site main {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.b-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hg-red);
  box-shadow: 0 0 10px var(--hg-red);
  margin-right: 6px;
}

.b-page-intro {
  padding-top: 24px;
  padding-bottom: 10px;
}

.b-page-intro h1 {
  margin: 6px 0 12px;
  font-size: clamp(26px, 6vw, 42px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

/* Format Channel Cards (Short Drama, Novel, Comic) */
.b-format-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.b-format {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px 20px;
  min-height: 175px;
  background: var(--hg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.b-format__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.b-format__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.36;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.b-format:hover .b-format__bg img {
  transform: scale(1.06);
  opacity: 0.5;
}

.b-format__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.25) 0%, rgba(8, 8, 12, 0.92) 85%);
}

.b-format-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--hg-yellow);
}

.b-format-icon {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.b-format h3 {
  margin: 36px 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.b-format p {
  margin: 0;
  font-size: 13px;
  color: #cfd4e2;
  line-height: 1.55;
}

/* Site Matrix Cards with 3-Poster Visual Header */
.b-site-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.b-site-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--hg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.b-site-card__covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: -16px -16px 14px;
  padding: 10px 10px 0;
  height: 120px;
  background: #0c0d14;
  position: relative;
  overflow: hidden;
}

.b-site-card__covers::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--hg-card) 100%);
}

.b-site-card__covers img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.b-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--hg-muted);
}

.b-card-top > span:last-child {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e6f0;
}

.b-card-tag {
  margin: 10px 0 4px !important;
  font-size: 11.5px !important;
  font-weight: 700;
  color: var(--hg-yellow) !important;
}

.b-site-card h2,
.b-site-card h3 {
  margin: 4px 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}

.b-site-card > p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #b8bece;
  line-height: 1.6;
}

.b-for {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px !important;
}

.b-for strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}

.b-site-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12.5px;
  color: var(--hg-muted);
  line-height: 1.85;
}

.b-site-card li::before {
  content: "✓ ";
  color: var(--hg-green);
  font-weight: 800;
  margin-right: 6px;
}

.b-site-link {
  margin-top: auto;
  width: 100%;
  justify-content: space-between !important;
}

/* Compliant Adsterra Smartlink partner card (zero third-party scripts, data-nosnippet) */
.b-partner-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.b-partner-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 680px;
}

.b-partner-card__badge {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2e6f0;
  background: rgba(255, 255, 255, 0.09);
}

.b-partner-card__title {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.b-partner-card__desc {
  margin: 0;
  font-size: 13px;
  color: #b8bece;
  line-height: 1.55;
}

/* Two-Column Editorial + Sidebar Guide */
.b-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.b-two-col .b-prose {
  padding: 0;
  margin: 0;
}

.b-guide {
  background: linear-gradient(160deg, #191b26 0%, #12131c 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.b-guide > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--hg-red);
}

.b-guide h2 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
}

.b-guide .b-button {
  width: 100%;
  justify-content: space-between;
}

.b-guide > a:not(.b-button) {
  font-size: 13px;
  color: var(--hg-yellow);
  margin-top: 4px;
}

@media (min-width: 760px) {
  .b-format-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .b-site-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .b-site-grid.detailed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b-two-col {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
}

/* AI-Citable Structured Fact Card & Official Product Comparison Matrix */
.b-geo-guide {
  background: linear-gradient(165deg, rgba(28, 31, 43, 0.92) 0%, rgba(15, 16, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.b-geo-summary {
  margin: 0 0 18px;
  color: #d6dbe8;
  font-size: 14px;
  line-height: 1.7;
}

.b-fact-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
}

.b-fact-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 0;
}

.b-fact-item dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--hg-yellow);
  margin: 0 0 4px;
}

.b-fact-item dd {
  margin: 0;
  font-size: 13px;
  color: var(--hg-text);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.b-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 12, 0.65);
}

.b-comp-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

.b-comp-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--hg-muted);
}

.b-comp-table th,
.b-comp-table td {
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.b-comp-table thead th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.b-comp-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.b-comp-prod strong {
  display: block;
  color: #fff;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.b-comp-prod code {
  font-size: 11.5px;
  color: var(--hg-yellow);
  background: rgba(245, 197, 24, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
}

.b-comp-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: nowrap;
}

.b-comp-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hg-yellow);
}

.b-comp-links a:hover {
  color: var(--hg-yellow-2);
  text-decoration: underline;
}

@media (min-width: 760px) {
  .b-fact-dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 1100px) {
  .b-fact-dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
