:root {
  --livebt-red: #f21f3a;
  --livebt-red-dark: #d91d34;
  --livebt-black: #101316;
  --livebt-text: #12161b;
  --livebt-muted: #6f7782;
  --livebt-border: #e3e6ea;
  --livebt-soft: #f5f6f8;
  --livebt-soft-2: #f8f9fa;
  --livebt-white: #fff;
  --livebt-radius: 12px;
  --livebt-max: 1500px;
  --livebt-shadow: 0 10px 32px rgba(17, 24, 39, .07);
}

.livebt-page,
.livebt-single {
  color: var(--livebt-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.livebt-page *,
.livebt-single * { box-sizing: border-box; }

.livebt-page a,
.livebt-single a { color: inherit; text-decoration: none; }

.livebt-page { width: 100%; background: #fff; overflow: hidden; }

.livebt-page > section,
.livebt-single__inner {
  width: min(calc(100% - 48px), var(--livebt-max));
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------
   HERO
-------------------------- */
.livebt-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(350px, .95fr);
  gap: 22px;
  padding-top: 28px;
  padding-bottom: 14px;
}

.livebt-hero {
  position: relative;
  min-height: 545px;
  overflow: hidden;
  border-radius: 14px;
  background: #16191e var(--hero-bg) center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(12, 18, 24, .12);
}

.livebt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  border-radius: inherit;
  pointer-events: none;
}

.livebt-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.04) 58%),
    linear-gradient(0deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.34) 42%, rgba(0,0,0,.05) 76%);
}

.livebt-hero__link { position: absolute; inset: 0; z-index: 4; }

.livebt-hero__content {
  position: absolute;
  z-index: 3;
  left: 34px;
  right: 34px;
  bottom: 32px;
  color: white;
  max-width: 900px;
}

.livebt-hero__content h1 {
  margin: 11px 0 15px;
  color: #fff;
  font-size: clamp(34px, 3.15vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.livebt-hero__play {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.livebt-hero-side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-height: 545px;
}

.livebt-card--side {
  display: grid;
  grid-template-columns: 43% minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--livebt-border);
  border-radius: 12px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.livebt-card--side:hover {
  transform: translateY(-2px);
  border-color: #d8dce1;
  box-shadow: var(--livebt-shadow);
}

.livebt-card--side .livebt-card__body { padding: 0; }
.livebt-card--side .livebt-card__title { margin: 7px 0 9px; font-size: 17px; line-height: 1.18; }
.livebt-card--side .livebt-card__media { border-radius: 8px; }
.livebt-card--side .livebt-play { width: 36px; height: 36px; }
.livebt-card--side .livebt-play::after { border-left-width: 8px; border-top-width: 6px; border-bottom-width: 6px; }
.livebt-card--side .livebt-meta { font-size: 11px; }

/* -------------------------
   PLAY / LABELS / META
-------------------------- */
.livebt-play {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.94);
  background: rgba(0,0,0,.28);
  border-radius: 999px;
  display: inline-block;
  position: relative;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 18px rgba(0,0,0,.15);
}

.livebt-play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-42%, -50%);
  border-left: 10px solid white;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.livebt-play--large { width: 76px; height: 76px; }
.livebt-play--large::after { border-left-width: 17px; border-top-width: 12px; border-bottom-width: 12px; }

.livebt-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--livebt-red);
  color: #fff !important;
  font-weight: 850;
  font-size: 10.5px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.livebt-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--livebt-red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.livebt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 13px;
  color: var(--livebt-muted);
  font-size: 12px;
}

.livebt-meta > span + span::before {
  content: "•";
  margin-right: 13px;
  color: #a4aab3;
}

.livebt-meta--light { color: rgba(255,255,255,.9); }
.livebt-meta--light > span + span::before { color: rgba(255,255,255,.55); }

/* -------------------------
   CARDS
-------------------------- */
.livebt-card { min-width: 0; }

.livebt-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #171a1f;
}

.livebt-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.livebt-card:hover .livebt-card__media img { transform: scale(1.045); }

.livebt-card__media .livebt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: .94;
}

.livebt-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(0,0,0,.84);
  color: white;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .01em;
}

.livebt-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255,255,255,.66);
  font-size: 26px;
  font-weight: 900;
}

.livebt-card__body { padding-top: 11px; }

.livebt-card__title {
  margin: 7px 0 8px;
  font-size: 17px;
  line-height: 1.24;
  letter-spacing: -.015em;
}

.livebt-card__title a { transition: color .18s ease; }
.livebt-card__title a:hover { color: var(--livebt-red); }

.livebt-card--standard {
  transition: transform .2s ease;
}

.livebt-card--standard:hover { transform: translateY(-4px); }

/* -------------------------
   SECTION HEADERS
-------------------------- */
.livebt-section { padding: 44px 0 14px; }

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

.livebt-section__head h2 {
  margin: 0;
  font-size: clamp(27px, 2.1vw, 38px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.livebt-section__head > a,
.livebt-focus-panel__head a {
  color: #4f5660;
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease;
}

.livebt-section__head > a:hover,
.livebt-focus-panel__head a:hover { color: var(--livebt-red); }

.livebt-grid { display: grid; gap: 22px; }
.livebt-grid--latest { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.livebt-grid--archive { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* -------------------------
   FOCUS / CATEGORIES
-------------------------- */
.livebt-focus-section {
  position: relative;
  margin-top: 36px !important;
  padding-top: 52px !important;
  padding-bottom: 58px !important;
}

.livebt-focus-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: var(--livebt-soft-2);
  border-top: 1px solid #eef0f2;
  border-bottom: 1px solid #eef0f2;
}

.livebt-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.livebt-focus-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e4e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(19, 27, 37, .035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.livebt-focus-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--livebt-shadow);
}

.livebt-focus-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 13px;
}

.livebt-focus-panel__head h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.02em;
}

.livebt-focus-panel__items { display: grid; gap: 11px; }

.livebt-card--focus { margin-bottom: 2px; }
.livebt-card--focus .livebt-card__media { border-radius: 9px; }
.livebt-card--focus .livebt-card__title { margin: 7px 0 7px; font-size: 17px; line-height: 1.2; }
.livebt-card--focus .livebt-meta { font-size: 11px; }
.livebt-card--focus .livebt-kicker { margin-top: 1px; }

.livebt-card--mini {
  display: grid;
  grid-template-columns: 116px minmax(0,1fr);
  gap: 11px;
  align-items: center;
  padding-top: 11px;
  border-top: 1px solid var(--livebt-border);
}

.livebt-card--mini .livebt-card__body { padding-top: 0; }
.livebt-card--mini .livebt-kicker { display: none; }
.livebt-card--mini .livebt-card__title { margin: 0 0 6px; font-size: 13px; line-height: 1.23; }
.livebt-card--mini .livebt-play { display: none; }
.livebt-card--mini .livebt-duration { font-size: 9px; padding: 2px 5px; }
.livebt-card--mini .livebt-meta { font-size: 10px; gap: 4px 10px; }
.livebt-card--mini .livebt-meta > span + span::before { margin-right: 10px; }

/* -------------------------
   ARCHIVE
-------------------------- */
.livebt-archive-section {
  margin-top: 0 !important;
  padding-top: 54px !important;
  padding-bottom: 64px !important;
}

.livebt-section__head--archive p {
  margin: 8px 0 0;
  color: var(--livebt-muted);
  font-size: 14px;
}

.livebt-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(145px,.55fr)) auto;
  gap: 11px;
  margin: 5px 0 26px;
  padding: 14px;
  border: 1px solid var(--livebt-border);
  border-radius: 12px;
  background: var(--livebt-soft-2);
}

.livebt-filter input,
.livebt-filter select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dce2;
  border-radius: 7px;
  background: #fff;
  padding: 0 13px;
  font: inherit;
  color: #222;
  outline: none;
}

.livebt-filter input:focus,
.livebt-filter select:focus {
  border-color: #adb5bf;
  box-shadow: 0 0 0 3px rgba(17,24,39,.05);
}

.livebt-filter button,
.livebt-load-more {
  border: 0;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  background: var(--livebt-red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.livebt-filter button:hover,
.livebt-load-more:hover {
  background: var(--livebt-red-dark);
  transform: translateY(-1px);
}

.livebt-load-more-wrap { text-align: center; padding-top: 28px; }
.livebt-load-more { min-width: 170px; }
.livebt-archive-section.is-loading [data-livebt-results] { opacity: .5; pointer-events: none; }

/* -------------------------
   EMPTY / SKELETON STATE
-------------------------- */
.livebt-empty {
  padding: 25px;
  border: 1px dashed #cfd4db;
  border-radius: 10px;
  color: #68707b;
  background: rgba(255,255,255,.7);
}

.livebt-empty--small { padding: 14px; font-size: 13px; }

.livebt-empty-hero {
  min-height: 545px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 14px;
  border: 1px dashed #cfd5dc;
  background:
    radial-gradient(circle at 50% 30%, rgba(242,31,58,.08), transparent 34%),
    linear-gradient(135deg, #f8f9fa, #f2f4f6);
  color: #5d6570;
  text-align: center;
}

.livebt-empty-hero__icon .livebt-play { background: rgba(17,19,22,.78); }
.livebt-empty-hero strong { display: block; color: #242a31; font-size: 19px; margin-bottom: 5px; }
.livebt-empty-hero span { font-size: 13px; }

.livebt-side-placeholder {
  display: grid;
  grid-template-columns: 43% minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--livebt-border);
  border-radius: 12px;
  background: #fff;
}

.livebt-placeholder-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: linear-gradient(110deg, #e9ecef 8%, #f4f5f6 18%, #e9ecef 33%);
  background-size: 200% 100%;
}

.livebt-placeholder-copy { display: grid; gap: 8px; }
.livebt-placeholder-copy span { display: block; height: 9px; border-radius: 999px; background: #e5e8eb; }
.livebt-placeholder-copy span:nth-child(1) { width: 34%; height: 7px; background: #f3c6cc; }
.livebt-placeholder-copy span:nth-child(2) { width: 96%; }
.livebt-placeholder-copy span:nth-child(3) { width: 68%; }

.livebt-card-placeholder { min-width: 0; }
.livebt-placeholder-media--card { border-radius: 10px; }
.livebt-placeholder-copy--card { padding-top: 12px; }
.livebt-placeholder-copy--card span:nth-child(1) { width: 23%; }
.livebt-placeholder-copy--card span:nth-child(2) { width: 88%; height: 10px; }
.livebt-placeholder-copy--card span:nth-child(3) { width: 52%; height: 8px; }

.livebt-focus-placeholder { display: grid; gap: 11px; }
.livebt-placeholder-media--focus { border-radius: 9px; }
.livebt-placeholder-copy--focus { gap: 7px; }
.livebt-placeholder-copy--focus span:nth-child(1) { width: 28%; height: 7px; }
.livebt-placeholder-copy--focus span:nth-child(2) { width: 84%; height: 10px; }
.livebt-focus-placeholder__row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 11px;
  align-items: center;
  padding-top: 11px;
  border-top: 1px solid var(--livebt-border);
}
.livebt-focus-placeholder__row i { display: block; width: 116px; aspect-ratio: 16/9; border-radius: 7px; background: #eaedf0; }
.livebt-focus-placeholder__row span { display: block; width: 78%; height: 10px; border-radius: 999px; background: #e5e8eb; }

/* -------------------------
   SINGLE VIDEO
-------------------------- */
.livebt-single { background: #fff; }
.livebt-single__inner { padding-top: 40px; padding-bottom: 60px; max-width: 1160px; }
.livebt-single h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.04em; margin: 10px 0 14px; max-width: 1050px; }
.livebt-player { position: relative; width: 100%; aspect-ratio: 16/9; margin: 26px 0; background: #0b0c0e; border-radius: 12px; overflow: hidden; }
.livebt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.livebt-single__lead { max-width: 900px; font-size: 21px; line-height: 1.5; font-weight: 500; color: #3f4650; }
.livebt-single__content { max-width: 900px; font-size: 17px; line-height: 1.72; }
.livebt-details { max-width: 900px; margin: 30px 0; border-top: 1px solid var(--livebt-border); }
.livebt-details > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--livebt-border); }
.livebt-details dt { font-weight: 800; }
.livebt-details dd { margin: 0; }
.livebt-related { width: 100% !important; margin-top: 26px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* -------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 1280px) {
  .livebt-hero-wrap { grid-template-columns: minmax(0, 1.75fr) minmax(330px, .9fr); }
  .livebt-grid--archive { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .livebt-focus-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .livebt-filter { grid-template-columns: 1fr 1fr 1fr; }
  .livebt-filter__search { grid-column: span 2; }
}

@media (max-width: 1040px) {
  .livebt-page > section,
  .livebt-single__inner { width: min(calc(100% - 36px), var(--livebt-max)); }
  .livebt-hero-wrap { grid-template-columns: 1fr; }
  .livebt-hero { min-height: 500px; }
  .livebt-hero-side { grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-rows: none; min-height: auto; }
  .livebt-card--side, .livebt-side-placeholder { display: block; padding: 0; border: 0; }
  .livebt-card--side .livebt-card__body { padding-top: 10px; }
  .livebt-grid--latest { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .livebt-page > section,
  .livebt-single__inner { width: min(calc(100% - 24px), var(--livebt-max)); }
  .livebt-hero-wrap { padding-top: 16px; }
  .livebt-hero { min-height: 430px; border-radius: 10px; }
  .livebt-empty-hero { min-height: 390px; }
  .livebt-hero__content { left: 19px; right: 19px; bottom: 20px; }
  .livebt-hero__content h1 { font-size: clamp(30px, 8vw, 42px); }
  .livebt-hero__play { place-items: start center; padding-top: 24%; }
  .livebt-hero-side { grid-template-columns: 1fr; gap: 14px; }
  .livebt-card--side, .livebt-side-placeholder { display: grid; grid-template-columns: 42% minmax(0,1fr); gap: 12px; padding: 9px; border: 1px solid var(--livebt-border); }
  .livebt-section { padding-top: 34px; }
  .livebt-section__head { align-items: flex-end; }
  .livebt-grid--archive { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .livebt-focus-grid { grid-template-columns: 1fr; }
  .livebt-focus-section { padding-top: 42px !important; padding-bottom: 44px !important; }
  .livebt-filter { grid-template-columns: 1fr 1fr; padding: 11px; }
  .livebt-filter__search { grid-column: 1 / -1; }
  .livebt-filter button { grid-column: 1 / -1; }
  .livebt-details > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 520px) {
  .livebt-hero { min-height: 395px; }
  .livebt-empty-hero { min-height: 340px; }
  .livebt-play--large { width: 60px; height: 60px; }
  .livebt-section__head { align-items: flex-start; }
  .livebt-section__head > a { font-size: 12px; }
  .livebt-grid--latest,
  .livebt-grid--archive { grid-template-columns: 1fr; gap: 20px; }
  .livebt-filter { grid-template-columns: 1fr; }
  .livebt-filter__search,
  .livebt-filter button { grid-column: auto; }
  .livebt-card--side { grid-template-columns: 44% minmax(0,1fr); }
  .livebt-card--mini,
  .livebt-focus-placeholder__row { grid-template-columns: 105px minmax(0,1fr); }
  .livebt-focus-placeholder__row i { width: 105px; }
  .livebt-single h1 { font-size: 36px; }
}
