/* Brand/page override. Loaded after page-v10.css. */

body {
  font-family:
    "Gilroy",
    "Manrope",
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* Header brand */

.page-header {
  margin-bottom: 26px;
}

.brand-link--wordmark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-wordmark {
  display: block;
  width: clamp(300px, 28vw, 440px);
  height: auto;
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(6, 18, 45, .16));
}

.brand-subtitle--standalone {
  display: inline-flex;
  align-items: center;

  min-height: 38px;
  padding-left: 16px;

  border-left: 1px solid rgba(8, 17, 38, .20);

  color: rgba(8, 17, 38, .84);
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 760;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Hero balance */

.hero {
  gap: 10px;
  margin-bottom: 24px;
}

.hero-kicker {
  color: var(--pg-accent);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: .22em;
}

.hero-title {
  font-size: clamp(32px, 3.15vw, 44px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 820;
}

.hero-note {
  max-width: 650px;
  color: rgba(8, 17, 38, .64);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 560;
}

/* Player frame: less puffy */

.player-card {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding: 6px;
  border-radius: 18px;
}

.player-card::before {
  border-radius: 18px;
}

.player-frame,
video-skin {
  border-radius: 12px;
}

/* Info block */

.info-grid {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: 1fr !important;
}

.social-card {
  display: none !important;
}

/* Side socials: ready for 5 icons */

.social-left {
  gap: 13px;
  padding: 10px;
  border-radius: 20px;
}

.social-left a {
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.social-left img {
  width: 36px;
  height: 36px;
}

/* Responsive */

@media (min-width: 1500px) {
  .brand-wordmark {
    width: 460px;
    max-height: 96px;
  }

  .hero-title {
    font-size: 46px;
  }
}

@media (max-width: 980px) {
  .brand-link--wordmark {
    gap: 12px;
  }

  .brand-wordmark {
    width: clamp(260px, 46vw, 360px);
    max-height: 82px;
  }

  .brand-subtitle--standalone {
    font-size: 15px;
    padding-left: 12px;
  }

  .hero-kicker {
    font-size: 14px;
  }

  .hero-title {
    font-size: clamp(30px, 5.6vw, 40px);
  }
}

@media (max-width: 640px) {
  .page-header {
    margin-bottom: 20px;
  }

  .brand-link--wordmark {
    flex-direction: column;
    gap: 8px;
  }

  .brand-wordmark {
    width: min(86vw, 360px);
    max-height: 92px;
  }

  .brand-subtitle--standalone {
    min-height: auto;
    padding-left: 0;
    border-left: 0;

    font-size: 16px;
    text-align: center;
  }

  .hero {
    gap: 8px;
    margin-bottom: 16px;
  }

  .hero-kicker {
    font-size: 13px;
    letter-spacing: .18em;
  }

  .hero-title {
    font-size: clamp(27px, 8vw, 36px);
  }

  .hero-note {
    max-width: 330px;
    font-size: 14px;
  }

  .player-card {
    padding: 5px;
    border-radius: 17px;
  }

  .player-frame,
  video-skin {
    border-radius: 12px;
  }

  .social-left {
    gap: 11px;
    padding: 8px 11px;
  }

  .social-left a,
  .social-left img {
    width: 32px;
    height: 32px;
  }
}

/* ===== page5: remove temporary waiting background from player overlay ===== */

.stream-overlay {
  background:
    radial-gradient(circle at center, rgba(35, 38, 48, .52), rgba(0, 0, 0, .96)) !important;
}

.stream-overlay-card {
  background: rgba(0, 0, 0, .56) !important;
}

/* ===== page5: calmer broadcast layout ===== */

.page {
  padding-top: 22px !important;
}

.page-shell {
  max-width: 1220px;
}

.page-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;

  min-height: 104px;
  margin-bottom: 22px !important;
  padding: 20px 24px;

  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 28px;

  background:
    linear-gradient(135deg, rgba(7, 20, 47, .74), rgba(23, 66, 143, .34)),
    rgba(255, 255, 255, .16);

  box-shadow: 0 24px 70px rgba(6, 18, 45, .20);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-link--wordmark {
  gap: 18px !important;
}

.brand-wordmark {
  width: clamp(330px, 30vw, 470px) !important;
  max-height: 92px !important;

  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .24)) !important;
}

.brand-subtitle--standalone {
  min-height: 42px !important;
  padding-left: 18px !important;

  border-left: 1px solid rgba(255, 255, 255, .34) !important;

  color: rgba(255, 255, 255, .92) !important;
  font-size: clamp(17px, 1.22vw, 21px) !important;
  font-weight: 700 !important;
}

.site-link {
  border-color: rgba(255, 255, 255, .48) !important;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--pg-accent) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

.hero {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 14px;

  max-width: 1220px;
  margin: 0 auto 14px !important;
  padding: 0 4px;

  text-align: left !important;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;

  min-height: 34px;
  padding: 0 13px;

  border: 1px solid rgba(240, 90, 60, .34);
  border-radius: 999px;

  background: rgba(255, 255, 255, .70);
  color: var(--pg-accent);

  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: .16em !important;
  white-space: nowrap;
}

.hero-title {
  display: none !important;
}

.hero-note {
  max-width: none !important;
  margin: 0 !important;

  color: rgba(8, 17, 38, .70) !important;
  font-size: clamp(16px, 1.18vw, 18px) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.player-card {
  max-width: 1220px !important;
  padding: 5px !important;
  border-radius: 18px !important;
}

.player-card::before {
  border-radius: 18px !important;
}

.player-frame,
video-skin {
  border-radius: 12px !important;
}

.info-grid {
  max-width: 1220px !important;
  margin-top: 16px !important;
}

.info-card {
  padding: 18px 22px !important;
}

.info-label {
  margin-bottom: 7px !important;
  font-size: 12px !important;
}

.info-title {
  margin-bottom: 4px !important;
  font-size: clamp(20px, 1.65vw, 27px) !important;
}

.info-description {
  font-size: 15px !important;
}

.footer-note {
  margin-top: 20px !important;
  font-size: 13px !important;
}

.social-left {
  gap: 12px !important;
  padding: 10px !important;
  border-radius: 20px !important;
}

.social-left a,
.social-left img {
  width: 36px !important;
  height: 36px !important;
}

@media (max-width: 980px) {
  .page-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;

    min-height: auto;
    padding: 18px 16px;
    text-align: center;
  }

  .brand-link--wordmark {
    flex-direction: column;
    gap: 8px !important;
  }

  .brand-wordmark {
    width: min(82vw, 390px) !important;
    max-height: 90px !important;
  }

  .brand-subtitle--standalone {
    min-height: auto !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center !important;
    gap: 8px;
  }

  .hero-note {
    max-width: 520px !important;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 12px 9px 86px !important;
  }

  .page-header {
    border-radius: 22px;
    margin-bottom: 16px !important;
  }

  .brand-wordmark {
    width: min(88vw, 350px) !important;
  }

  .hero-kicker {
    min-height: 30px;
    font-size: 12px !important;
  }

  .hero-note {
    max-width: 320px !important;
    font-size: 14px !important;
  }

  .player-card {
    padding: 4px !important;
    border-radius: 16px !important;
  }

  .player-frame,
  video-skin {
    border-radius: 11px !important;
  }

  .info-card {
    padding: 16px !important;
  }
}

/* Hide empty overlay subtitle line */
.stream-overlay-subtitle:empty {
  display: none !important;
}
