/* Harmonisation des sorties des plugins RigarduMás avec le thème (couleurs, typographie, rayons).
   Les plugins utilisent la variable --rgd-brand (repli : #E8000D) ; le thème la fixe sur l'or. */

:root {
	--rgd-brand: #ddbd70;
	--rgd-brand-rgb: 221, 189, 112;
	--rgd-brand-ink: #171710;
}

/* Texte foncé sur les fonds or (le blanc sur or n'est pas lisible) */
.rgd-cf-pill.active,
.rgd-go-btn--primary,
.rgd-gp__hero-cta,
.rgd-lc-live-badge,
.rgd-lp-filter.active,
.rgd-prog-cta,
.rgd-prog-pill--time,
.rgd-prog-prime,
.rgd-replay-badge,
.rgd-replay-pill.active,
.rgd-search-overlay-btn,
.rgd-srch-btn,
.rgd-tmdb2-tab.active,
.rgd-tv__panel-btn,
.rgd-tv__panel-cat,
.rgd-tvs-badge-live,
.rgd-tv__day-btn.is-active,
.rgd-tv__panel-close {
	color: var(--rgd-brand-ink) !important;
}
.rgd-lc-live-badge::before,
.rgd-tvs-badge-live::before { background: var(--rgd-brand-ink) !important; }

/* Guide TV : accent du plugin */
.rgd-tv, .rgd-tv * { --rgd-accent: var(--rgd-brand); }
.rgd-tv__day-btn.is-active { border-color: var(--rgd-brand) !important; }
.rgd-tv__slot-btn.is-active { border-color: var(--rgd-brand) !important; color: #fff !important; }

/* Typographie commune */
[class^="rgd-"], [class*=" rgd-"], .rk-channel-wrapper { font-family: inherit; }

/* Page /live/ : étiquette technique masquée, filtres sur une ligne défilable sur mobile */
.rgd-lp-epg-source { display: none !important; }
@media (max-width: 650px) {
	.rgd-lp-filters { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; }
	.rgd-lp-filters::-webkit-scrollbar { display: none; }
	.rgd-lp-filter { flex: none; white-space: nowrap; }
	.rgd-lp-tab { white-space: nowrap; }
}

/* Doublon : le thème a sa propre recherche dans l'en-tête */
@media (min-width: 861px) {
	.rgd-search-trigger, .rgd-search-fab, .rgd-srch-fab, .rgd-search-toggle { display: none !important; }
}
