:root {
  --brand-color: #d32f2f;
  --brand-color-dark: #8b1e1e;
  --brand-color-rgb: 211, 47, 47;
  --rc-page-bg: #f4f6f8;
  --rc-surface: #ffffff;
  --rc-surface-alt: #f8fafc;
  --rc-text-strong: #17202a;
  --rc-text-base: #334155;
  --rc-text-muted: #64748b;
  --rc-border-soft: rgba(15, 23, 42, 0.08);
  --rc-border-strong: rgba(15, 23, 42, 0.14);
  --rc-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --rc-shadow-card: 0 18px 36px rgba(15, 23, 42, 0.1);
  --rc-radius-sm: 5px;
  --rc-radius-md: 5px;
  --rc-radius-lg: 5px;
  --menu-header-height: 120px;
  --menu-footer-height: 70px;
  --footer-bg: #111111;
  --footer-text: #cccccc;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(var(--brand-color-rgb), 0.08), transparent 32%),
    linear-gradient(180deg, #f7f7f8 0%, var(--rc-page-bg) 48%, #eef2f6 100%);
  color: var(--rc-text-base);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.bg-dark .breadcrumb-item + .breadcrumb-item::before,
.bg-dark .text-muted {
  color: #ddd !important;
}

body.view-desktop {
  background:
    radial-gradient(circle at top left, rgba(var(--brand-color-rgb), 0.03), transparent 34%),
    linear-gradient(180deg, #f4f5f7 0%, #f4f5f7 55%, #eef1f4 100%);
  color: #1f2933;
}

body.bg-dark {
  background:
    radial-gradient(circle at top right, rgba(var(--brand-color-rgb), 0.04), transparent 30%),
    linear-gradient(180deg, #0f1117 0%, #111520 60%, #0d1117 100%) !important;
  color: #e2e8f0 !important;
}

body.view-desktop #main-content {
  min-height: 60vh;
}

body.view-desktop .container {
  width: 90%;
  max-width: 1800px;
}

/* ── Banner 201 — faixa full-bleed, ratio 5.6:1, max 160px ── */
.rc-home-desktop__banner-top {
  width: 100%;
  overflow: hidden;
  background: var(--rc-surface-alt, #f4f6f8);
  border-bottom: 1px solid var(--rc-border-soft);
}

.bg-dark .rc-home-desktop__banner-top {
  background: #0a0d14;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.rc-home-desktop__banner-top .rc-banner-slot {
  width: 100%;
  margin: 0;
}

.rc-home-desktop__banner-top .banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-home-desktop__banner-top .banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.rc-home-desktop__banner-top .banner-link {
  display: flex;
  justify-content: center;
}

.rc-home-desktop__banner-top .banner-img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── Grade topo 4 colunas (2+1+1) ── */
.rc-home-desktop__top-grid {
  display: flex;
  gap: 14px;
  align-items: stretch;
  min-height: 360px;
}

.rc-home-desktop__top-featured {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rc-home-desktop__top-featured > * {
  flex: 1;
  min-height: 0;
}

.rc-home-desktop__top-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rc-home-desktop__top-stack-card {
  flex: 1;
  min-height: 0;
}

.rc-home-desktop__top-ad {
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.rc-home-desktop__top-ad .rc-banner-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.rc-home-desktop__top-ad .banner {
  flex: 1;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1.52;
}

/* ── Google Ad — max-height 200px ── */
.rc-home-desktop__google-ad .rc-ads-box,
.rc-home-desktop__google-ad ins,
.rc-home-desktop__google-ad .rc-banner-slot .banner {
  max-height: 200px;
  overflow: hidden;
}

/* ── 4 colunas: N4, N5, N6 + AO VIVO ── */
.rc-home-desktop__4col {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 25%;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 1199.98px) {
  .rc-home-desktop__4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .rc-home-desktop__4col {
    grid-template-columns: 1fr;
  }
}

/* ── Main rail: 6 news grid + sidebar ── */
.rc-home-desktop__main-rail {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .rc-home-desktop__main-rail {
    grid-template-columns: 1fr;
  }
}

.rc-home-desktop__main-feed {
  min-width: 0;
}

.rc-home-desktop__feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1199.98px) {
  .rc-home-desktop__feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .rc-home-desktop__feed-grid {
    grid-template-columns: 1fr;
  }
}

.rc-home-desktop__main-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Banner spot (B204, B205) — same bg as B201 ── */
.rc-banner-spot {
  background: var(--rc-surface-alt, #f4f6f8);
  border: 1px solid var(--rc-border-soft);
  border-radius: var(--rc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-dark .rc-banner-spot {
  background: #0a0d14;
  border-color: rgba(255, 255, 255, 0.06);
}

.rc-banner-spot .rc-banner-slot {
  margin: 0;
  width: 100%;
}

.rc-banner-spot .banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.rc-banner-spot .banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.rc-banner-spot .banner-link {
  display: flex;
  justify-content: center;
}

.rc-banner-spot .banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── Discovery grid (desktop) ── */
.rc-home-desktop__discover-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 991.98px) {
  .rc-home-desktop__discover-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Programação destaque (rail sidebar) ── */
.rc-home-desktop__program-highlight {
  border: 1px solid rgba(var(--brand-color-rgb), 0.2);
  border-radius: var(--rc-radius-md);
  overflow: hidden;
  background: var(--rc-surface);
}

.rc-home-desktop__program-highlight-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--brand-color);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rc-home-desktop__program-highlight-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
  transition: color 0.15s;
}

.rc-home-desktop__program-highlight-link:hover {
  color: #fff;
}

.rc-home-desktop__program-highlight .rc-live-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ── Banner slots 204 (top-ad) — ratio 1:1.5294, centralizado ── */
body.view-desktop .rc-home-desktop__top-ad .rc-banner-slot {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.view-desktop .rc-home-desktop__top-ad .banner {
  aspect-ratio: 1 / 1.5294;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.view-desktop .rc-home-desktop__top-ad .banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Editorias chips ── */
.rc-home-desktop__editorias {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rc-editoria-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--rc-radius-md);
  background: var(--rc-surface);
  border: 1px solid var(--rc-border-soft);
  color: var(--rc-text-strong);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--rc-shadow-soft);
}

.rc-editoria-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--rc-shadow-card);
  border-color: var(--brand-color);
  color: var(--brand-color);
}

.rc-editoria-chip__img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.rc-editoria-chip__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--brand-color-rgb), 0.1);
  color: var(--brand-color);
  font-size: 0.75rem;
}

.bg-dark .rc-editoria-chip {
  background: #1b2432;
  border-color: rgba(148, 163, 184, 0.16);
  color: #f8fafc;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bg-dark .rc-editoria-chip:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-color: var(--brand-color);
  color: var(--brand-color);
}

/* ── TV / telas muito grandes (1920px+) ── */
@media (min-width: 1920px) {
  body.view-desktop .container {
    max-width: min(90vw, 2000px);
  }

  .rc-home-desktop__top-grid {
    min-height: 480px;
  }

  .desktop-header__inner {
    min-height: 76px;
  }

  .desktop-header__brand img {
    height: 48px;
  }

  .desktop-header__nav-link {
    font-size: 1rem;
    padding: 8px 16px;
  }

  .desktop-header__live-btn {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}

.push-toast-wrap {
  z-index: 1100;
}

.push-prompt {
  border-radius: 20px 20px 0 0 !important;
  max-width: 520px;
  margin: 0 auto;
}

.push-prompt .push-emoji {
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 0 6px;
}

.push-prompt .push-msg {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.push-prompt .push-btns {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.push-prompt .push-btns .btn {
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  flex: 1;
}

.push-prompt__hint {
  font-size: 0.88rem;
}

.view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-switcher__meta {
  display: none;
}

.view-switcher__list {
  display: inline-flex;
  gap: 4px;
}

.view-switcher__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
}

.view-switcher__link:hover,
.view-switcher__link:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.view-switcher__link.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

#mobile-header {
  height: 120px;
  background-color: #ffffff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1030;
}

.bg-dark #mobile-header {
  background-color: #111;
}

#mobile-header.scrolled {
  height: 60px;
  box-shadow: 0 4px 20px rgba(var(--brand-color-rgb), 0.15);
}

.mobile-header-spacer {
  padding-top: 120px;
}

.header-logo img {
  height: 40px;
  transition: height 0.4s ease;
  object-fit: contain;
}

#mobile-header.scrolled .header-logo img {
  height: 35px;
}

.btn-header {
  color: var(--brand-color);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.btn-play-header,
.btn-play-header:active,
.btn-play-header:hover {
  background-color: var(--brand-color);
  color: white;
  box-shadow: 0 4px 10px rgba(var(--brand-color-rgb), 0.4);
}

.btn-play-header:active,
.btn-play-header:hover {
  transform: scale(1.05);
}

.btn-player-info {
  color: var(--brand-color);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--brand-color-rgb), 0.08);
  border: none;
  transition: background-color 0.2s;
  font-size: 1.15rem;
}

.btn-player-info:hover,
.btn-player-info:active {
  background: rgba(var(--brand-color-rgb), 0.18);
}

.custom-offcanvas .offcanvas-header {
  background-color: #fff;
  height: var(--menu-header-height);
  border-bottom-right-radius: 30px;
  position: relative;
  z-index: 2;
}

.bg-dark .custom-offcanvas .offcanvas-header {
  background-color: #222;
}

.bg-dark .custom-offcanvas .offcanvas-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.custom-offcanvas {
  background-color: var(--brand-color);
  color: white;
  border: none;
}

.bg-dark .custom-offcanvas {
  background-color: var(--brand-color-dark);
}

.menu-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 0;
  display: block;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}

.menu-link:active {
  transform: translateX(10px);
  color: #fff;
}

.submenu-container {
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  margin-left: 10px;
  padding-left: 15px;
  margin-bottom: 15px;
}

.submenu-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding: 5px 0;
  display: block;
  text-decoration: none;
}

.submenu-link:hover {
  color: #fff;
}

.offcanvas-footer {
  height: var(--menu-footer-height);
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
}

.tool-btn {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  background: none;
  border: none;
  transition: 0.3s;
}

.tool-btn.active,
.tool-btn:hover {
  color: #fff;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#menuPrincipalMobile .btn-lg {
  font-size: 2rem;
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-35 { animation-delay: 0.35s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-45 { animation-delay: 0.45s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-btn--profile {
  gap: 0;
}

.tool-btn__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

#playerDrawer {
  border-radius: 24px 24px 0 0;
  min-height: 60vh;
  max-height: 88vh;
  overflow: hidden;
  z-index: 1060;
}

#playerDrawer .offcanvas-body {
  overflow-y: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}

.player-drawer-handle {
  width: 36px;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  margin: 12px auto 0;
  flex-shrink: 0;
}

.player-program-banner {
  background: linear-gradient(135deg, var(--brand-color) 0%, #5a0010 100%);
  padding: 16px 20px 20px;
  color: white;
}

.player-program-banner .program-img,
.player-program-banner .program-img-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
}

.player-program-banner .program-img {
  object-fit: cover;
}

.player-program-banner .program-img-placeholder {
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
}

.player-program-banner__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.player-program-banner__title {
  font-size: 1.05rem;
}

.player-program-banner__hosts {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-top: 3px;
}

.player-program-banner__time {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 2px;
}

.player-controls-bar {
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bg-dark .player-controls-bar {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.08);
}

.player-drawer__play {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.player-drawer__mute {
  font-size: 1.3rem;
}

.player-drawer__volume-label {
  font-size: 0.72rem;
  min-width: 28px;
  text-align: right;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  outline: none;
  flex: 1;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-color);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.bg-dark .volume-slider {
  background: #444;
}

.schedule-section {
  padding: 14px 20px;
}

.schedule-section-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 700;
}

.bg-dark .schedule-section-title {
  color: #94a3b8;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.bg-dark .schedule-item {
  border-color: rgba(255, 255, 255, 0.05);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item.is-current .s-title {
  color: var(--brand-color);
  font-weight: 700;
}

.s-time {
  font-size: 0.78rem;
  color: #aaa;
  min-width: 40px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.s-title {
  font-size: 0.88rem;
  line-height: 1.25;
}

.s-host {
  font-size: 0.75rem;
  color: #aaa;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #e53935;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 1.2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.65);
  }
}

.live-dot-space {
  width: 8px;
  flex-shrink: 0;
}

.main-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 50px;
  padding-bottom: 30px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-color), #333);
}

.footer-brand img {
  height: 45px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-social:hover,
.btn-social:active {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
  transform: translateY(-3px);
}

.footer-nav h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #aaa;
  text-decoration: none;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav a:hover {
  color: var(--brand-color);
  padding-left: 5px;
}

.footer-nav i {
  font-size: 0.8rem;
  opacity: 0.5;
}

.app-cta-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.app-cta-title {
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.store-btn {
  display: inline-block;
  transition: transform 0.2s;
}

.store-btn img {
  height: 38px;
  width: auto;
}

.store-btn:active {
  transform: scale(0.95);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
}

.footer-address {
  font-size: 0.8rem;
  color: #777;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-address i {
  color: var(--brand-color);
  margin-right: 5px;
}

.bg-dark .main-footer {
  background-color: #060810;
  border-top: 3px solid var(--brand-color);
}

.bg-dark .main-footer::before {
  background: var(--brand-color);
  height: 0;
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP — variáveis e espaçamento
   ═══════════════════════════════════════════════════════════ */
body.view-desktop {
  --rc-radius-sm: 5px;
  --rc-radius-md: 5px;
  --rc-radius-lg: 5px;
}

body.view-desktop .rc-shell-block {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

body.view-desktop .rc-shell-block .banner img{
  width: 100%;
}

/* ── Header ─────────────────────────────────────────────── */
.desktop-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 24, 39, 0.09);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.desktop-header__inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.desktop-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.desktop-header__brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── Navegação ───────────────────────────────────────────── */
.desktop-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-header__nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.desktop-header__nav-link:hover {
  color: var(--brand-color);
  background: rgba(var(--brand-color-rgb), 0.06);
}

/* ── Dropdown Notícias ───────────────────────────────────── */
.desktop-header__dropdown {
  position: relative;
}

.desktop-header__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.desktop-header__chevron {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.desktop-header__dropdown:hover .desktop-header__chevron {
  transform: rotate(180deg);
}

.desktop-header__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 210px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 200;
}

.desktop-header__dropdown:hover .desktop-header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.desktop-header__submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  color: #374151;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.12s;
}

.desktop-header__submenu-link:hover {
  background: rgba(var(--brand-color-rgb), 0.06);
  color: var(--brand-color);
}

.desktop-header__submenu-link--all {
  color: var(--brand-color);
  margin-top: 2px;
}

.desktop-header__submenu-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.07);
  margin: 4px 2px;
}

/* ── Actions (direita) ───────────────────────────────────── */
.desktop-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Botão Ao Vivo */
.desktop-header__live-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--brand-color);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(var(--brand-color-rgb), 0.3);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  max-width: 210px;
  text-decoration: none;
}

.desktop-header__live-btn:hover {
  background: var(--brand-color-dark);
  box-shadow: 0 4px 16px rgba(var(--brand-color-rgb), 0.4);
  transform: translateY(-1px);
}

.desktop-header__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: livePulse 1.6s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.35); }
}

.desktop-header__live-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Botões ícone (dark mode, favoritos, login) */
.desktop-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: transparent;
  color: #4b5563;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}

.desktop-header__icon-btn:hover,
.desktop-header__icon-btn--auth:hover {
  background: rgba(var(--brand-color-rgb), 0.07);
  color: var(--brand-color);
  border-color: rgba(var(--brand-color-rgb), 0.18);
}

/* Avatar do usuário logado */
.desktop-header__avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  border: 2px solid rgba(var(--brand-color-rgb), 0.2);
  width: 36px;
  height: 36px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.desktop-header__avatar-btn:hover {
  border-color: var(--brand-color);
}

.desktop-header__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.desktop-header__avatar--fallback {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: rgba(var(--brand-color-rgb), 0.12);
  color: var(--brand-color);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Botão play (círculo vermelho) */
.desktop-header__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-color);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(var(--brand-color-rgb), 0.35);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  flex-shrink: 0;
}

.desktop-header__play:hover {
  background: var(--brand-color-dark);
  transform: scale(1.08);
  box-shadow: 0 5px 16px rgba(var(--brand-color-rgb), 0.45);
}

/* ── Footer ─────────────────────────────────────────────── */
.desktop-footer {
  background: #0d1117;
  color: #c9d1d9;
}

.bg-dark .desktop-footer {
  background: #060810;
  border-top: 3px solid var(--brand-color);
}

.desktop-footer__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.desktop-footer__heading {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.desktop-footer__link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.desktop-footer__link:hover {
  color: #fff;
}

.desktop-footer__divider {
  border-color: rgba(255, 255, 255, 0.07);
  margin: 28px 0 18px;
}

.desktop-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}

.desktop-footer__social:hover {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color);
  transform: translateY(-2px);
}

.desktop-footer__link--credit {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.desktop-footer__link--credit:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* ── Dark mode ───────────────────────────────────────────── */
body.bg-dark .desktop-header {
  background: rgba(13, 15, 22, 0.97) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

body.bg-dark .desktop-header__nav-link {
  color: rgba(255, 255, 255, 0.75);
}

body.bg-dark .desktop-header__nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

body.bg-dark .desktop-header__submenu {
  background: #1a1d27;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

body.bg-dark .desktop-header__submenu-link {
  color: rgba(255, 255, 255, 0.7);
}

body.bg-dark .desktop-header__submenu-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

body.bg-dark .desktop-header__submenu-divider {
  background: rgba(255, 255, 255, 0.07);
}

body.bg-dark .desktop-header__icon-btn {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

body.bg-dark .desktop-header__icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

body.bg-dark .desktop-header__avatar-btn {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ── Animações de entrada (home desktop) ─────────────────── */
@keyframes desktopFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.view-desktop .rc-home-desktop__hero {
  animation: desktopFadeUp 0.38s ease both;
}

body.view-desktop .rc-home-desktop__rail {
  animation: desktopFadeUp 0.38s 0.07s ease both;
}

body.view-desktop .rc-home-desktop__discover {
  animation: desktopFadeUp 0.38s 0.14s ease both;
}

@media (max-width: 991.98px) {
  .desktop-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 0;
  }
}

@media (max-width: 575.98px) {
}
