:root {
  --bg: #050816;
  --bg-2: #0d1223;
  --panel: rgba(13, 18, 35, 0.82);
  --panel-2: rgba(18, 24, 46, 0.94);
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #eef4ff;
  --muted: #93a4c5;
  --primary: #4f8cff;
  --secondary: #9c5cff;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 20px 60px rgba(0,0,0,.38);
  --radius: 24px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, Arial, sans-serif; color: var(--text); background: linear-gradient(180deg, #050816 0%, #070c19 100%); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
body { min-height: 100vh; position: relative; }
.bg-glow { position: fixed; inset: auto; border-radius: 999px; filter: blur(90px); opacity: .26; pointer-events: none; z-index: 0; }
.glow-1 { width: 380px; height: 380px; background: #2b6fff; top: -80px; left: -60px; }
.glow-2 { width: 340px; height: 340px; background: #8c43ff; bottom: -80px; right: -80px; }
.topbar, .page-grid, .stats-strip, .admin-layout, .login-shell { position: relative; z-index: 1; }
.topbar { max-width: 1500px; margin: 18px auto 0; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; background: rgba(9,12,24,.78); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.brand-wrap { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--primary), var(--secondary)); font-weight: 800; box-shadow: 0 12px 30px rgba(79,140,255,.32); }
.brand-wrap h1, .brand-wrap h2 { margin: 0; }
.brand-wrap p { margin: 4px 0 0; color: var(--muted); }
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.search-box input { min-width: 320px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); }
.btn { border: 1px solid var(--line); padding: 12px 16px; border-radius: 14px; cursor: pointer; transition: .18s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border: 0; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); }
.btn-danger { background: rgba(239,68,68,.12); color: #ffd5d5; border-color: rgba(239,68,68,.22); }
.btn-sm { padding: 8px 12px; border-radius: 12px; }
.btn-block { width: 100%; }
.page-grid { max-width: 1500px; margin: 18px auto; display: grid; grid-template-columns: 1.7fr .95fr; gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(16px); overflow: hidden; }
.player-panel { padding: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-head.compact { padding: 18px 18px 0; margin-bottom: 12px; }
.section-head h2, .section-head h3 { margin: 8px 0 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.live-pill, .admin-chip, .viewer-badge { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.live-pill { background: rgba(239,68,68,.14); color: #ffb4b4; border: 1px solid rgba(239,68,68,.22); }
.viewer-badge, .admin-chip { background: rgba(34,197,94,.12); color: #b7f7c6; border: 1px solid rgba(34,197,94,.18); }
.player-stage { position: relative; border-radius: 24px; overflow: hidden; background: #02050c; aspect-ratio: 16/9; border: 1px solid var(--line); }
.player-stage > video,
.player-stage > iframe,
.player-overlay{ position: absolute; inset: 0; width: 100%; height: 100%; }
.player-stage > video, .player-stage > iframe { display: none; border: 0; background: #000; z-index: 1; }
.player-overlay { display: grid; place-items: center; text-align: center; background: radial-gradient(circle at center, rgba(79,140,255,.16), transparent 35%); padding: 24px; z-index: 2; }


.overlay-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(135deg, rgba(79,140,255,.26), rgba(140,92,255,.26)); font-size: 2rem; margin-bottom: 16px; }
.player-actions-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.player-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status-label { color: var(--muted); }
.sidebar { padding-bottom: 16px; }
.channel-list { padding: 0 16px 16px; display: grid; gap: 12px; max-height: 740px; overflow: auto; }
.channel-card { display: grid; grid-template-columns: 132px 1fr; gap: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 18px; padding: 10px; cursor: pointer; color: var(--text); text-align: left; }
.channel-card:hover { background: rgba(79,140,255,.09); border-color: rgba(79,140,255,.2); }
.channel-thumb { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #18213b, #0d1325); color: var(--muted); }
.channel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.channel-info strong { display: block; margin-bottom: 6px; }
.channel-info span, .channel-info small { display: block; color: var(--muted); }
.empty-state { padding: 18px; color: var(--muted); text-align: center; }
.stats-strip { max-width: 1500px; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.metric-card span { color: var(--muted); display: block; margin-bottom: 10px; }
.metric-card strong { font-size: 1.5rem; }
.login-body, .admin-body { padding: 18px; }
.login-shell { max-width: 440px; margin: 70px auto; padding: 24px; }
.login-brand { margin-bottom: 20px; }
.login-form, .admin-form { display: grid; gap: 14px; }
.login-form label, .admin-form label { display: grid; gap: 8px; color: var(--muted); }
.login-form input, .admin-form input, .admin-form select, .admin-form textarea { background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text); border-radius: 14px; padding: 13px 14px; }
.login-hint, .form-status { margin-top: 16px; color: var(--muted); }
.form-status.success { color: #b7f7c6; }
.form-status.error { color: #ffb4b4; }
.admin-layout { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 18px; }
.admin-sidebar { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; min-height: calc(100vh - 36px); position: sticky; top: 18px; }
.admin-nav { display: grid; gap: 10px; margin-top: 26px; }
.admin-nav a { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid transparent; color: var(--muted); }
.admin-nav a.active, .admin-nav a:hover { background: rgba(79,140,255,.1); border-color: rgba(79,140,255,.18); color: var(--text); }
.sidebar-footer { display: grid; gap: 10px; }
.admin-main { display: grid; gap: 18px; }
.admin-topbar { padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.admin-stats { margin-bottom: 0; }
.admin-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: 18px; }
.form-card { padding: 0 18px 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.table-card { padding-bottom: 16px; }
.table-wrap { overflow: auto; padding: 0 18px 18px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.table-thumb { width: 92px; height: 54px; object-fit: cover; border-radius: 12px; }
.table-muted { color: var(--muted); }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1200px) {
  .page-grid, .admin-grid, .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; position: relative; top: 0; }
}
@media (max-width: 800px) {
  .topbar { flex-direction: column; align-items: stretch; }
  .search-box input { min-width: 0; width: 100%; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .channel-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-strip { grid-template-columns: 1fr; }
}

.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #18213b, #0d1325); color: #d9e5ff; border-radius: 14px; font-weight: 800; letter-spacing: .08em; }

/* ===== v2.7.20 - monetização limpa ===== */
.monetization-banner { margin-top: 12px; border: 1px dashed rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.04); overflow: hidden; }
.monetization-banner a, .monetization-banner div { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 10px 14px; color: var(--muted); text-align: center; }
.monetization-banner img { max-height: 72px; max-width: 100%; object-fit: contain; border-radius: 12px; }

.ad-kicker, .sponsored-label { display: inline-flex; align-items: center; justify-content: center; width: fit-content; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 10px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

.sponsored-card { text-decoration: none; background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(79,140,255,.08)); border-style: dashed; }
.sponsored-card:hover { transform: translateY(-1px); }
.sponsored-thumb { font-size: 1.8rem; color: #d9e5ff; }
.status-pill.warning { background: rgba(245,158,11,.12); color: #ffd591; border: 1px solid rgba(245,158,11,.2); }
@media (max-width: 700px) {
  .monetization-banner a, .monetization-banner div { flex-direction: column; min-height: 50px; }
  .monetization-banner img { max-height: 56px; }
}

/* v2.7.25: anúncio VAST usando o mesmo layout responsivo do iframe */

















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


/* v2.7.24: botão de continuar só libera após ads_skip_seconds */


/* ===== v2.7.29 - Tempo do anúncio e botão só após STARTED ===== */


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


/* v2.7.30 - Contador customizado só no desktop; mobile/tablet usa o contador nativo do anúncio */
@media (max-width: 1024px) {
  
}

/* ===== v2.8.0 - Cliente PRO com lista M3U individual ===== */
.admin-modal[hidden] { display: none !important; }
.admin-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.admin-modal-card { width: min(760px, 100%); max-height: 92vh; overflow: auto; padding: 18px; }
.admin-modal-card .admin-form { padding: 0; }
.channel-card.pro-channel { border-color: rgba(245,158,11,.45); background: linear-gradient(135deg, rgba(245,158,11,.13), rgba(255,255,255,.04)); }
.channel-card.pro-channel .channel-info strong::after { content: ' PRO'; margin-left: 6px; font-size: .72rem; color: #ffd591; letter-spacing: .08em; }
.pro-content-pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; border-radius: 999px; padding: 4px 8px; background: rgba(245,158,11,.14); color: #ffd591; border: 1px solid rgba(245,158,11,.24); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* v2.8.2 - desempenho: cards de carregamento progressivo */
.channel-card.load-more-card {
  border: 1px dashed rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.channel-card.load-more-card:disabled {
  cursor: wait;
  opacity: .72;
}
.load-more-thumb {
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  color: var(--accent, #ff1b2d);
  background: rgba(255,255,255,.06);
}
.pro-load-card .load-more-thumb {
  color: #f8d34a;
}

/* ===== v2.8.6 - Player StreamHub HLS/M3U personalizado ===== */
.player-stage.has-custom-video-player #mainVideo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background: #000;
}
.player-stage.has-custom-video-player .custom-player-controls {
  position: absolute;
  left: clamp(8px, 1.4vw, 16px);
  right: clamp(8px, 1.4vw, 16px);
  bottom: clamp(8px, 1.4vw, 16px);
  z-index: 22;
  display: grid;
  grid-template-columns: auto auto minmax(80px, 1fr) auto auto auto minmax(54px, 92px) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(5,10,20,.72), rgba(5,10,20,.92));
  box-shadow: 0 16px 46px rgba(0,0,0,.48);
  backdrop-filter: blur(12px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}
.player-stage.has-custom-video-player .custom-player-controls[hidden],
.player-stage:not(.has-custom-video-player) .custom-player-controls{
  display: none !important;
}
.player-stage.has-custom-video-player .custom-player-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.player-stage.has-custom-video-player .custom-player-btn:hover {
  background: rgba(79,140,255,.22);
  border-color: rgba(79,140,255,.36);
}
.custom-player-time {
  min-width: 42px;
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.custom-player-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239,68,68,.18);
  color: #ffd1d1;
  border: 1px solid rgba(239,68,68,.32);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.custom-player-seek,
.custom-player-volume {
  accent-color: var(--primary);
  width: 100%;
  min-width: 0;
}
.custom-player-seek:disabled {
  opacity: .5;
}
.custom-player-loader {
  position: absolute;
  inset: 0;
  z-index: 21;
  display: none;
  place-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(79,140,255,.12), transparent 44%);
}
.player-stage.has-custom-video-player.is-video-buffering .custom-player-loader {
  display: grid;
  grid-template-columns: auto auto;
}
.player-stage:not(.has-custom-video-player) .custom-player-loader{
  display: none !important;
}
.player-ui-hidden .player-stage.has-custom-video-player .custom-player-controls {
  opacity: .08;
  transform: translateY(8px);
}
.player-stage.has-custom-video-player:hover .custom-player-controls,
.player-ui-visible .player-stage.has-custom-video-player .custom-player-controls {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 760px) {
  .player-stage.has-custom-video-player .custom-player-controls {
    left: 8px;
    right: 8px;
    bottom: 8px;
    grid-template-columns: auto auto minmax(70px, 1fr) auto auto;
    gap: 6px;
    padding: 7px;
    border-radius: 14px;
  }
  .player-stage.has-custom-video-player .custom-player-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  .custom-player-time {
    min-width: 36px;
    font-size: .72rem;
  }
  .custom-player-volume,
  #customDuration,
  #customLive {
    display: none !important;
  }
}

/* ===== v2.8.7 - Player estilo TV/Globoplay ===== */
.player-stage { isolation: isolate; }
.player-stage #mainFrame {
  /* v2.8.8: o iframe precisa receber o primeiro clique para iniciar players externos. */
  pointer-events: auto !important;
  user-select: auto;
}
.gp-iframe-shield {
  /* Mantido no DOM por compatibilidade, mas não intercepta cliques. */
  position: absolute;
  inset: 0;
  z-index: 8;
  display: none !important;
  background: transparent;
  pointer-events: none !important;
}
.player-stage.has-embed-player .gp-iframe-shield { display: none !important; }

.gp-player-chrome {
  position: absolute;
  inset: 0;
  z-index: 24;
  pointer-events: none;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.08) 28%, rgba(0,0,0,0) 52%, rgba(0,0,0,.76) 100%);
  opacity: 1;
  transition: opacity .22s ease;
}

.player-ui-hidden .gp-player-chrome:not(.drawer-open) { opacity: .08; }
.player-stage:hover .gp-player-chrome,
.player-ui-visible .gp-player-chrome,
.gp-player-chrome.drawer-open { opacity: 1; }

.gp-top-info {
  position: absolute;
  top: clamp(14px, 2.2vw, 28px);
  left: clamp(14px, 2.2vw, 28px);
  display: grid;
  gap: 5px;
  max-width: min(52%, 620px);
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.gp-top-info strong { font-size: clamp(1rem, 1.45vw, 1.35rem); font-weight: 750; }
.gp-top-info span { font-size: clamp(.78rem, 1vw, .98rem); color: rgba(255,255,255,.9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.gp-extras-btn {
  position: absolute;
  right: clamp(14px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  min-width: 126px;
  height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(30,30,30,.92);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: background .16s ease, transform .16s ease;
}
.gp-extras-btn:hover { background: rgba(50,50,50,.96); transform: translateY(-50%) scale(1.02); }
.gp-player-chrome.drawer-open .gp-extras-btn i { transform: rotate(90deg); }
.gp-extras-btn i { transition: transform .18s ease; }

.gp-bottom-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}
.gp-live-line {
  position: relative;
  height: 3px;
  margin: 0 clamp(14px, 1.2vw, 20px);
  background: rgba(255,255,255,.28);
}
.gp-live-line span { position: absolute; inset: 0; background: #f80036; }
.gp-live-line::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #f80036;
}
.gp-control-row {
  min-height: 58px;
  padding: 0 clamp(14px, 1.2vw, 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gp-now-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 2px;
  background: #ff071f;
  font-size: .69rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
}
.gp-control-actions { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.gp-icon-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.85);
}
.gp-icon-btn:hover { background: rgba(255,255,255,.14); }
.gp-volume-wrap { display: flex; align-items: center; gap: 4px; }
.gp-volume-range {
  width: 0;
  opacity: 0;
  accent-color: #fff;
  transition: width .18s ease, opacity .18s ease;
  cursor: pointer;
}
.gp-volume-wrap:hover .gp-volume-range,
.gp-volume-range:focus { width: 88px; opacity: 1; }

.gp-channel-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,13,.3), rgba(13,13,13,.96) 28%);
  transition: max-height .24s ease, opacity .2s ease;
}
.gp-player-chrome.drawer-open .gp-channel-drawer {
  max-height: min(245px, 34vh);
  opacity: 1;
  pointer-events: auto;
}
.gp-channel-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px clamp(14px, 1.2vw, 20px) 18px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.gp-channel-card {
  flex: 0 0 clamp(210px, 27vw, 330px);
  position: relative;
  aspect-ratio: 16/8.7;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  overflow: hidden;
  padding: 0;
  background: #191919;
  color: #fff;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.gp-channel-card img,
.gp-channel-card .thumb-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gp-channel-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 35%, rgba(0,0,0,.82) 100%);
}
.gp-channel-card:hover { border-color: rgba(255,255,255,.48); transform: translateY(-1px); }
.gp-channel-card.active { outline: 2px solid #fff; outline-offset: -2px; }
.gp-channel-card.active::before {
  content: 'Você está assistindo';
  position: absolute;
  left: 14px;
  bottom: 44px;
  z-index: 2;
  font-size: .76rem;
  font-weight: 800;
}
.gp-channel-card-copy { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 3px; }
.gp-channel-card-copy strong { font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-channel-card-copy small { color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-channel-badge { position: absolute; z-index: 4; top: 10px; right: 10px; padding: 4px 7px; border-radius: 4px; background: #c9002b; font-size: .68rem; font-weight: 900; }

/* Os controles antigos continuam disponíveis como fallback, mas somem quando o novo chrome está ativo. */
.player-stage .custom-player-controls { display: none !important; }

.player-stage:fullscreen { border-radius: 0; border: 0; width: 100vw; height: 100vh; aspect-ratio: auto; }
.player-stage:fullscreen > video,
.player-stage:fullscreen > iframe { object-fit: contain; }

@media (max-width: 760px) {
  .gp-top-info { max-width: 68%; top: 12px; left: 12px; }
  .gp-top-info span { max-width: 58vw; }
  .gp-extras-btn { top: 48%; right: 10px; min-width: 96px; height: 42px; padding: 0 14px; font-size: .82rem; }
  .gp-control-row { min-height: 48px; padding-inline: 10px; }
  .gp-live-line { margin-inline: 10px; }
  .gp-channel-card { flex-basis: min(72vw, 290px); }
  .gp-player-chrome.drawer-open .gp-channel-drawer { max-height: min(210px, 42vh); }
  .gp-volume-range { display: none; }
}

/* ===== v2.8.9 - Layout limpo: somente player + canais do novo chrome ===== */
html, body {
  overflow-x: hidden;
}

/* Remove a lista/grade antiga de canais que ficava embaixo/lateral.
   Ela permanece no DOM apenas para manter busca, favoritos e lógica antiga funcionando. */
.page-grid {
  max-width: 100%;
  width: 100%;
  margin: 0 auto 18px;
  padding: 0;
  display: block;
}
.player-panel {
  width: 100%;
  max-width: none;
  padding: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #000;
  overflow: visible;
}
.player-info-row,
#channelSidebar,
.player-actions-row,
.iframe-controlbar-slot,
.player-hover-zone,
.epg-progress {
  display: none !important;
}

.player-stage {
  width: 100%;
  border: 0;
  border-radius: 0;
  min-height: min(62vh, 720px);
  background: #000;
}
.player-stage > video,
.player-stage > iframe {
  width: 100% !important;
  height: 100% !important;
}

.gp-channel-drawer {
  width: 100%;
}
.gp-player-chrome.drawer-open .gp-channel-drawer {
  max-height: min(250px, 38vh);
}
.gp-channel-rail {
  cursor: grab;
  touch-action: pan-x;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
  padding-bottom: 20px;
}
.gp-channel-rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.gp-channel-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.gp-channel-rail.is-dragging .gp-channel-card {
  pointer-events: none;
}
.gp-channel-card,
.gp-channel-card * {
  user-select: none;
  -webkit-user-select: none;
}
.gp-channel-card img {
  -webkit-user-drag: none;
}

/* Em telas grandes o visual fica mais próximo do player das referências. */
@media (min-width: 1024px) {
  .topbar {
    margin-top: 0;
    max-width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: rgba(0,0,0,.94);
  }
  .player-stage {
    min-height: calc(100vh - 74px);
  }
  .gp-channel-card {
    flex-basis: clamp(250px, 25vw, 360px);
  }
}

@media (max-width: 760px) {
  .player-stage {
    min-height: 56vh;
  }
  .gp-player-chrome.drawer-open .gp-channel-drawer {
    max-height: min(230px, 46vh);
  }
}


/* ===== v2.8.10 - Iframe clicável com bloqueio de popups + volume seguro ===== */
.player-stage.has-sandboxed-iframe #mainFrame {
  pointer-events: auto !important;
}
.player-stage.has-sandboxed-iframe .gp-volume-wrap {
  position: relative;
}
.player-stage.has-sandboxed-iframe .gp-volume-wrap::after {
  content: 'iframe protegido';
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  max-width: 190px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(20,20,20,.92);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.player-stage.has-sandboxed-iframe .gp-volume-wrap:hover::after,
.player-stage.has-sandboxed-iframe .gp-volume-wrap:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}


/* ===== v2.8.12 - texto do guia menor + iframe original sem sandbox ===== */
.player-stage.has-sandboxed-iframe .gp-volume-wrap::after {
  content: none !important;
  display: none !important;
}
.gp-top-info strong {
  font-size: clamp(1.15rem, 2.55vw, 2.85rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
}
.gp-top-info > span:not(.gp-signal-pill),
.gp-top-info em {
  font-size: clamp(.78rem, .95vw, .98rem) !important;
  line-height: 1.22 !important;
}


/* ======================================================================
   v2.8.14 - Programação visível, textos menores e sem botão inútil
   ====================================================================== */
body.public-tv-layout .gp-program-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.public-tv-layout .gp-top-info {
  top: clamp(54px, 10vh, 112px) !important;
  width: min(360px, 32vw) !important;
  gap: 5px !important;
}

body.public-tv-layout .gp-live-logo {
  width: 38px !important;
  height: 38px !important;
  margin-bottom: 4px !important;
  font-size: 1rem !important;
}

body.public-tv-layout .gp-schedule-line {
  font-size: clamp(0.66rem, 0.78vw, 0.82rem) !important;
  gap: 7px !important;
}

body.public-tv-layout .gp-signal-pill {
  min-height: 19px !important;
  padding: 0 7px !important;
  font-size: 0.59rem !important;
}

body.public-tv-layout .gp-top-info strong,
body.public-tv-layout .gp-top-info #gpNowTitle {
  font-size: clamp(1.08rem, 2.1vw, 2.05rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em !important;
  max-width: min(360px, 100%) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.public-tv-layout .gp-top-info #gpNowMeta,
body.public-tv-layout .gp-top-info #gpNextMeta {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: min(360px, 100%) !important;
  font-size: clamp(0.68rem, 0.78vw, 0.82rem) !important;
  line-height: 1.18 !important;
  font-weight: 700 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.public-tv-layout .gp-top-info #gpNowMeta {
  color: rgba(255, 255, 255, 0.82) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.public-tv-layout .gp-top-info #gpNextMeta {
  color: rgba(255, 255, 255, 0.68) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.public-tv-layout .gp-info-progress {
  display: block !important;
  width: min(230px, 62%) !important;
  height: 2px !important;
  margin: 4px 0 0 !important;
}

body.public-tv-layout .gp-volume-wrap {
  position: relative !important;
}

body.public-tv-layout .player-stage.gp-iframe-volume-limited .gp-volume-range {
  display: none !important;
}

body.public-tv-layout .player-stage.gp-iframe-volume-limited .gp-volume-wrap::after {
  content: 'use o volume do player interno' !important;
  position: absolute !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
  background: rgba(15, 15, 15, 0.94) !important;
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.64rem !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(4px) !important;
  transition: opacity .16s ease, transform .16s ease !important;
}

body.public-tv-layout .player-stage.gp-iframe-volume-limited .gp-volume-wrap:hover::after,
body.public-tv-layout .player-stage.gp-iframe-volume-limited .gp-volume-wrap:focus-within::after {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (max-width: 1260px) {
  body.public-tv-layout .gp-top-info {
    width: min(330px, 44vw) !important;
  }
  body.public-tv-layout .gp-top-info strong,
  body.public-tv-layout .gp-top-info #gpNowTitle {
    font-size: clamp(1rem, 2.3vw, 1.82rem) !important;
  }
}

@media (max-width: 920px) {
  body.public-tv-layout .gp-top-info {
    top: 14px !important;
    left: 14px !important;
    width: calc(100% - 120px) !important;
  }
  body.public-tv-layout .gp-top-info strong,
  body.public-tv-layout .gp-top-info #gpNowTitle {
    font-size: clamp(1rem, 5.2vw, 1.6rem) !important;
    -webkit-line-clamp: 2 !important;
  }
}


/* ======================================================================
   v2.8.16 - Ações superiores no modo iframe
   - Evita conflito entre a barra inferior do iframe e a barra do site.
   - Tela cheia e recarregar ficam no canto superior direito do player.
   - Sem sandbox no iframe.
   ====================================================================== */
body.public-tv-layout .gp-embed-top-actions {
  position: absolute !important;
  top: clamp(14px, 2.2vw, 28px) !important;
  right: clamp(16px, 2.8vw, 42px) !important;
  z-index: 18 !important;
  display: none !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: auto !important;
}

body.public-tv-layout .gp-embed-top-actions .gp-embed-action {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(22,22,22,.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.35) !important;
}

body.public-tv-layout .player-stage.has-embed-player .gp-embed-top-actions {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) {
  background:
    linear-gradient(180deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.16) 22%, rgba(0,0,0,0) 48%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.11) 30%, rgba(0,0,0,0) 62%, rgba(0,0,0,0) 100%) !important;
}

body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) .gp-bottom-ui,
body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) .gp-live-controls,
body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) .gp-control-row,
body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) .gp-live-line,
body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) .gp-control-actions,
body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome:not(.drawer-open) .gp-volume-wrap {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome.drawer-open .gp-embed-top-actions {
  display: inline-flex !important;
  pointer-events: auto !important;
}

body.public-tv-layout .player-stage.has-embed-player .gp-player-chrome.drawer-open .gp-live-controls {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.public-tv-layout .player-stage.has-embed-player .gp-extras-btn {
  top: 50% !important;
  right: clamp(18px, 3.2vw, 48px) !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 920px) {
  body.public-tv-layout .gp-embed-top-actions {
    top: 10px !important;
    right: 10px !important;
    gap: 8px !important;
  }
  body.public-tv-layout .gp-embed-top-actions .gp-embed-action {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
  }
}

/* v2.8.34 - Jogos de hoje: programas/VT visualmente rebaixados */
.gp-football-card.is-program,
.gp-football-card.is-low-priority {
  opacity: .82;
}
.gp-football-card.is-program .gp-football-time b,
.gp-football-card.is-low-priority .gp-football-time b,
.gp-football-card.is-vt .gp-football-time b {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}


/* v2.8.42 - Página dedicada Jogos do dia */
.games-day-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}
.games-day-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(22,22,22,.96), rgba(10,10,10,.94));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
}
.games-day-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.86);
  font-size: .84rem;
  margin-bottom: 12px;
}
.games-day-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}
.games-day-hero p {
  margin: 0;
  color: rgba(255,255,255,.72);
}
.games-day-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 220px;
}
.games-day-date,
.games-day-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
}
.games-day-refresh {
  border: 0;
  border-radius: 16px;
  min-height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, #ffffff, #dedede);
  color: #111;
  font-weight: 800;
  cursor: pointer;
}
.games-day-status {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.76);
}
.games-day-groups {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.games-day-group {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19,19,19,.95), rgba(8,8,8,.95));
  border: 1px solid rgba(255,255,255,.06);
}
.games-day-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.games-day-league-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: #ffd54a;
  font-size: 1.25rem;
}
.games-day-group-head h2 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}
.games-day-group-head p {
  margin: 0;
  color: rgba(255,255,255,.64);
}
.games-day-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.games-day-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(44,44,44,.88), rgba(28,28,28,.88));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.games-day-card.is-live {
  border-color: rgba(255,65,108,.42);
  box-shadow: 0 0 0 1px rgba(255,65,108,.15), inset 0 1px 0 rgba(255,255,255,.03);
}
.games-day-card-main {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.games-day-card-league,
.games-day-card-title,
.games-day-card-subtitle {
  display: block;
  color: rgba(255,255,255,.62);
}
.games-day-card-league {
  margin-bottom: 10px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.games-day-card-teams strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.18;
}
.games-day-card-teams strong + strong {
  margin-top: 8px;
}
.games-day-card-title,
.games-day-card-subtitle {
  margin-top: 10px;
  font-size: .92rem;
}
.games-day-card-side {
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}
.games-day-card-side b {
  font-size: 1rem;
}
.games-day-card-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.games-day-card-status.is-live { background: linear-gradient(135deg, #ff2e63, #ff5f7d); }
.games-day-card-status.is-upcoming { background: rgba(255,255,255,.12); }
.games-day-card-status.is-recorded,
.games-day-card-status.is-program { background: rgba(212, 175, 55, .18); color: #f7d66a; }
.games-day-card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.games-day-card-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.74);
  font-size: .92rem;
}
.games-day-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #ececec);
  color: #111;
  text-decoration: none;
  font-weight: 800;
}
body.games-page-body .tv-main-nav a.active,
body.games-page-body .tv-mobile-nav a.games-page-link {
  color: #fff;
}
body.games-page-body .tv-main-nav a.active::after {
  width: 100%;
}
@media (max-width: 900px) {
  .games-day-hero { flex-direction: column; }
  .games-day-meta { align-items: flex-start; min-width: 0; }
  .games-day-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .games-day-page { padding: 24px 14px 42px; }
  .games-day-hero,
  .games-day-group { padding: 18px; border-radius: 22px; }
  .games-day-card-main,
  .games-day-card-foot { flex-direction: column; align-items: flex-start; }
  .games-day-card-side { align-items: flex-start; text-align: left; min-width: 0; }
}


/* v2.8.44 - otimização EPG + correção visual da aba Jogos */
.games-day-watch-btn {
  background: linear-gradient(135deg, #ff174f, #d8003b) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 12px 28px rgba(255, 0, 61, .18) !important;
}
.games-day-watch-btn:hover,
.games-day-watch-btn:focus-visible {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}
.games-day-card-foot {
  background: transparent !important;
}

/* v2.8.47 - ajustes finais para usuário e SEO */
.games-day-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 22px;
}
.games-day-trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-weight: 750;
  font-size: .86rem;
}
.games-day-seo-copy {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.07);
}
.games-day-seo-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}
.games-day-seo-copy p {
  margin: 0;
  max-width: 780px;
  color: rgba(255,255,255,.70);
  line-height: 1.55;
}
.games-day-watch-btn,
.games-day-refresh {
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.games-day-watch-btn {
  background: linear-gradient(135deg, #ff174f, #d8003b) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 14px 30px rgba(255, 0, 61, .22) !important;
}
.games-day-watch-btn:hover,
.games-day-watch-btn:focus-visible,
.games-day-refresh:hover,
.games-day-refresh:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
body.games-page-body .games-day-hero p strong {
  color: #fff;
}
@media (max-width: 640px) {
  .games-day-trustbar {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .games-day-seo-copy {
    padding: 18px;
    border-radius: 20px;
  }
}

/* ======================================================================
   v2.8.98 - Jogos do dia: lista compacta e EPG mobile estabilizado
   ====================================================================== */
body.games-page-body {
  background: #0f0f0f;
  color: #f1f1f1;
}

body.games-page-body .bg-glow {
  display: none;
}

body.games-page-body .tv-search input[type="search"] {
  min-width: 0;
  width: 100%;
}

.games-day-page {
  width: min(100%, 1380px);
  max-width: none;
  margin: 0 auto;
  padding: 28px 28px 64px;
}

.games-day-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 22px;
  margin: 0;
  border-bottom: 1px solid #2a2a2a;
}

.games-day-heading {
  min-width: 0;
}

.games-day-heading h1 {
  margin: 0;
  max-width: 760px;
  color: #f1f1f1;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
}

.games-day-heading p {
  margin: 7px 0 0;
  color: #aaa;
  font-size: 14px;
  line-height: 1.4;
}

.games-day-meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.games-day-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #181818;
  color: #ddd;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.games-day-refresh {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #3f3f3f;
  border-radius: 8px;
  background: #272727;
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}

.games-day-refresh:hover,
.games-day-refresh:focus-visible {
  background: #3a3a3a;
  border-color: #555;
  filter: none;
  transform: none;
}

.games-day-refresh.is-loading i {
  animation: games-refresh-spin .8s linear infinite;
}

@keyframes games-refresh-spin {
  to { transform: rotate(360deg); }
}

.games-day-toolbar {
  position: sticky;
  top: var(--sh-header-height, 72px);
  z-index: 12;
  margin: 0 -2px;
  padding: 14px 2px;
  overflow: hidden;
  background: rgba(15, 15, 15, .96);
  border-bottom: 1px solid #232323;
}

.games-day-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.games-day-filters::-webkit-scrollbar {
  display: none;
}

.games-day-filters button {
  min-height: 36px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #272727;
  color: #f1f1f1;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.games-day-filters button:hover,
.games-day-filters button:focus-visible {
  background: #3a3a3a;
}

.games-day-filters button.is-active {
  background: #f1f1f1;
  color: #0f0f0f;
}

.games-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff0033;
}

.games-day-status {
  margin: 18px 0 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #303030;
  border-radius: 8px;
  background: #181818;
  color: #aaa;
  font-size: 14px;
}

.games-day-status[hidden] {
  display: none;
}

.games-day-groups {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 24px;
}

.games-day-group {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.games-day-group + .games-day-group {
  padding-top: 30px;
  border-top: 1px solid #2a2a2a;
}

.games-day-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.games-day-group-head h2 {
  margin: 0;
  color: #f1f1f1;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.games-day-group-head p {
  margin: 3px 0 0;
  color: #aaa;
  font-size: 13px;
}

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

.football-match-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  background: #181818;
  color: #f1f1f1;
}

.football-match-card.is-featured {
  border-color: #505050;
}

.football-match-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080808;
  color: #fff;
  text-decoration: none;
}

.football-match-thumb img,
.football-match-thumb > .thumb-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.football-match-thumb > .thumb-fallback {
  display: grid;
  place-items: center;
  background: #121212;
  color: #777;
  font-size: 14px;
  font-weight: 800;
}

.football-match-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #121212;
  color: #707070;
}

.football-match-thumb-fallback i {
  font-size: 26px;
}

.football-match-thumb-fallback b {
  font-size: 13px;
  letter-spacing: 0;
}

.football-match-status,
.football-match-time {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0 6px;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.football-match-status {
  top: 8px;
  left: 8px;
  background: #454545;
}

.football-match-status.is-live {
  background: #ff0033;
}

.football-match-time {
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, .84);
  font-variant-numeric: tabular-nums;
}

.football-match-info {
  min-width: 0;
  padding: 13px 14px 14px;
}

.football-match-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.football-match-league {
  min-width: 0;
  overflow: hidden;
  color: #aaa;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-featured {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: #ffd54a;
  font-size: 11px;
  font-weight: 800;
}

.football-match-card h3 {
  margin: 7px 0 0;
  min-height: 40px;
  color: #f1f1f1;
  font-size: 15px;
  line-height: 1.32;
  letter-spacing: 0;
}

.football-match-card h3 a {
  color: inherit;
  text-decoration: none;
}

.football-versus {
  color: #777;
  font-weight: 500;
}

.football-match-subtitle {
  margin: 5px 0 0;
  overflow: hidden;
  color: #aaa;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-channel {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: #aaa;
  font-size: 12px;
}

.football-match-channel span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-match-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: #f1f1f1;
  color: #0f0f0f;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.football-match-action:hover,
.football-match-action:focus-visible {
  background: #d9d9d9;
  color: #0f0f0f;
  filter: none;
  transform: none;
}

.games-day-watch-btn {
  border: 0 !important;
  border-radius: 8px !important;
  background: #f1f1f1 !important;
  color: #0f0f0f !important;
  box-shadow: none !important;
}

.games-day-seo-copy {
  margin: 42px 0 0;
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid #2a2a2a;
  border-radius: 0;
  background: transparent;
}

.games-day-seo-copy h2 {
  margin: 0 0 8px;
  color: #f1f1f1;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.games-day-seo-copy p {
  max-width: 820px;
  margin: 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .games-day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .games-day-page {
    padding: 20px 14px 44px;
  }

  .games-day-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 18px;
  }

  .games-day-heading h1 {
    font-size: 23px;
  }

  .games-day-meta {
    width: 100%;
    justify-content: space-between;
  }

  .games-day-toolbar {
    top: var(--sh-header-height, 60px);
  }

  .games-day-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .games-day-groups {
    gap: 30px;
    padding-top: 20px;
  }

  .games-day-group + .games-day-group {
    padding-top: 24px;
  }
}

/* v2.8.108 - Adsterra e HilltopAds, separadas ou somadas */
body.admin-dashboard-v2885 .ad-stats-filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

body.admin-dashboard-v2885 .ad-network-control button {
  min-width: 92px;
}

body.admin-dashboard-v2885 .ad-network-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-right: 4px;
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: #252a32;
  color: #d8dbe1;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

body.admin-dashboard-v2885 #adNetworkApiState.warning {
  border-color: rgba(245, 158, 11, .4);
  background: rgba(245, 158, 11, .14);
  color: #fbbf24;
}

@media (max-width: 720px) {
  body.admin-dashboard-v2885 .ad-stats-filter-groups {
    display: grid;
    gap: 8px;
    width: 100%;
  }

  body.admin-dashboard-v2885 .ad-network-control,
  body.admin-dashboard-v2885 .ad-stats-filter-groups .admin-period-control {
    width: 100%;
  }

  body.admin-dashboard-v2885 .ad-network-control button {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .games-day-refresh span {
    display: none;
  }

  .games-day-refresh {
    width: 40px;
    padding: 0;
  }

  .football-match-info {
    padding: 12px;
  }
}

/* v2.8.108 - estatisticas de monetizacao no painel administrativo */
body.admin-dashboard-v2885 .adsterra-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 2px 0 4px;
}

body.admin-dashboard-v2885 .admin-period-control {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: #171a20;
}

body.admin-dashboard-v2885 .admin-period-control button {
  min-width: 72px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #aeb3bd;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

body.admin-dashboard-v2885 .admin-period-control button:hover,
body.admin-dashboard-v2885 .admin-period-control button:focus-visible {
  color: #fff;
  background: #252a32;
  transform: none;
}

body.admin-dashboard-v2885 .admin-period-control button.active {
  border-color: #e6e8eb;
  background: #f2f3f5;
  color: #111318;
}

body.admin-dashboard-v2885 .adsterra-status {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

body.admin-dashboard-v2885 .adsterra-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  order: 0 !important;
}

body.admin-dashboard-v2885 .adsterra-metrics .metric-card strong {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  overflow-wrap: anywhere;
}

body.admin-dashboard-v2885 .adsterra-insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 16px;
  min-width: 0;
}

body.admin-dashboard-v2885 .adsterra-chart-card,
body.admin-dashboard-v2885 .adsterra-account-card,
body.admin-dashboard-v2885 .adsterra-table-card {
  min-width: 0;
  margin: 0;
}

body.admin-dashboard-v2885 .adsterra-chart-card {
  overflow: hidden;
}

body.admin-dashboard-v2885 .adsterra-chart {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  gap: 3px;
  width: 100%;
  min-height: 230px;
  padding: 16px 4px 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

body.admin-dashboard-v2885 .adsterra-chart-column {
  display: grid;
  flex: 1 0 14px;
  grid-template-rows: minmax(170px, 1fr) 24px;
  gap: 7px;
  min-width: 14px;
}

body.admin-dashboard-v2885 .adsterra-chart-track {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(to top, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 100% 25%;
}

body.admin-dashboard-v2885 .adsterra-chart-track span {
  position: absolute;
  inset: auto 1px 0;
  height: var(--bar-size, 0%);
  min-height: 0;
  border-radius: 3px 3px 0 0;
  background: #18a875;
  transition: height .2s ease;
}

body.admin-dashboard-v2885 .adsterra-chart-column:hover .adsterra-chart-track span {
  background: #2bd29a;
}

body.admin-dashboard-v2885 .adsterra-chart-column small {
  align-self: start;
  color: #8f96a3;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-38deg);
  transform-origin: top center;
}

body.admin-dashboard-v2885 .adsterra-account-list {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
}

body.admin-dashboard-v2885 .adsterra-account-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.admin-dashboard-v2885 .adsterra-account-list > div:last-child {
  border-bottom: 0;
}

body.admin-dashboard-v2885 .adsterra-account-list dt {
  color: #9ca3af;
  font-size: 13px;
}

body.admin-dashboard-v2885 .adsterra-account-list dd {
  min-width: 0;
  margin: 0;
  color: #f4f5f6;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

body.admin-dashboard-v2885 .adsterra-refresh.is-loading i {
  animation: admin-adsterra-spin .8s linear infinite;
}

@keyframes admin-adsterra-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  body.admin-dashboard-v2885 .adsterra-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body.admin-dashboard-v2885 .adsterra-insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.admin-dashboard-v2885 .adsterra-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  body.admin-dashboard-v2885 .admin-period-control {
    width: 100%;
  }

  body.admin-dashboard-v2885 .admin-period-control button {
    flex: 1 1 0;
    min-width: 0;
  }

  body.admin-dashboard-v2885 .adsterra-status {
    text-align: left;
  }

  body.admin-dashboard-v2885 .adsterra-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-dashboard-v2885 .adsterra-chart {
    min-height: 205px;
  }
}

@media (max-width: 460px) {
  body.admin-dashboard-v2885 .adsterra-metrics {
    grid-template-columns: 1fr;
  }

  body.admin-dashboard-v2885 .adsterra-refresh span {
    display: none;
  }

  body.admin-dashboard-v2885 .adsterra-refresh {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }
}

/* v2.8.108 - configurações de monetização reunidas na área Anúncios */
body.admin-dashboard-v2885 .ads-workspace-tabs {
  width: fit-content;
  margin: 0 0 16px;
}

body.admin-dashboard-v2885 .ads-workspace-panel[hidden] {
  display: none !important;
}

body.admin-dashboard-v2885 #adsterraRefreshBtn[hidden] {
  display: none !important;
}

body.admin-dashboard-v2885 .ads-workspace-panel.active {
  display: grid;
  gap: 16px;
  min-width: 0;
}

body.admin-dashboard-v2885 .ad-settings-card {
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.admin-dashboard-v2885 .ad-settings-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.admin-dashboard-v2885 .ad-settings-fields .field-full,
body.admin-dashboard-v2885 .ad-settings-group-title {
  grid-column: 1 / -1;
}

body.admin-dashboard-v2885 .ad-settings-group-title {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 16px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

body.admin-dashboard-v2885 .ad-settings-group-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

body.admin-dashboard-v2885 .ad-settings-group-title strong {
  color: #f4f5f6;
  font-size: 15px;
}

body.admin-dashboard-v2885 .ad-settings-group-title small {
  color: #9ca3af;
  line-height: 1.45;
}

body.admin-dashboard-v2885 .ad-settings-card .form-actions {
  position: sticky;
  z-index: 4;
  bottom: 0;
  justify-content: flex-end;
  margin-top: 18px;
  padding: 12px 0 0;
  background: #17191e;
}

@media (max-width: 720px) {
  body.admin-dashboard-v2885 .ads-workspace-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.admin-dashboard-v2885 .ad-settings-fields {
    grid-template-columns: 1fr;
  }

  body.admin-dashboard-v2885 .ad-settings-fields .field-full,
  body.admin-dashboard-v2885 .ad-settings-group-title {
    grid-column: auto;
  }
}
