/* =========================================================================
   STYLE-THEMES-WCAG.CSS — Modules extraits (v164.0+) & Correctifs WCAG 2.1 AA
   Chargé immédiatement après /css/style-modules.css pour préserver la cascade.
   ========================================================================= */

/* =========================================================================
   PARTIE 4/4 (v149.4) — PROPOSITION 2 : YOUTUBE (3 CARTES 16:9 + 2 RAPIDES)
   & SORTIES À VENIR SANS VIDE MORT + ACCROCHE HERO 3 LIGNES + RESPONSIVE 390px
   ========================================================================= */
.tsp-hero-hook-p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  overflow: hidden !important;
}

/* Grille YouTube Top 3 (Cartes Cinéma 16:9 côte à côte) */
.yt-dash-top3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}
@media (min-width: 768px) {
  .yt-dash-top3-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
  }
}
.yt-dash-cinema-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elevated, rgba(15, 23, 42, 0.72));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.09));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  min-width: 0;
}
.yt-dash-cinema-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
}
.yt-dash-cinema-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090D16;
  flex-shrink: 0;
}
.yt-dash-cinema-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.yt-dash-cinema-card:hover .yt-dash-cinema-thumb img {
  transform: scale(1.05);
}
.yt-dash-cinema-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  overflow: hidden !important;
  min-height: 3.6em !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--text-primary, #FFFFFF);
}

/* Barre rapide YouTube (Vidéos #4 et #5 en vraies cartes horizontales riches — Chantier 1.1) */
.yt-dash-quick2-bar {
  border-top: 1px solid var(--tsp-card-border, var(--border-subtle, rgba(255, 255, 255, 0.1)));
  padding-top: 0.85rem;
  margin-top: 0.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px) and (max-width: 1023.98px), (min-width: 1280px) {
  .yt-dash-quick2-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
  }
}
.yt-dash-quick-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  min-height: 126px;
  border-radius: 16px;
  background: var(--bg-elevated, rgba(15, 23, 42, 0.65));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  transition: transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  min-width: 0;
}
.yt-dash-quick-pill:hover {
  transform: translateY(-1px);
  border-color: var(--accent-primary);
}
.yt-dash-quick-thumb-wrap {
  width: 188px;
  height: 106px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #090D16;
}
.yt-dash-quick-thumb {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
html.theme-light .yt-dash-cinema-card,
html.theme-light .yt-dash-quick-pill {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
html.theme-light .yt-dash-cinema-card:hover,
html.theme-light .yt-dash-quick-pill:hover {
  background: #F1F5F9 !important;
  border-color: var(--accent-primary) !important;
}
html.theme-light .yt-dash-cinema-title {
  color: #0F172A !important;
}

/* Sorties à venir : flux continu sans vide mort + Hero min-height 108px + 4 sorties gap 0.5rem */
.tsp-releases-radar-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0.65rem !important;
}
.tsp-radar-hero-banner {
  min-height: 108px !important;
}
.tsp-radar-list-4 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Point 3 : Correctif Responsive Smartphone (< 1024px et 390×844) contre tout débordement à droite */
@media (max-width: 1023.98px) {
  .tsp-bento-row-1,
  .tsp-bento-row-2,
  .tsp-bento-row-3 {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .tsp-bento-row-1 > *,
  .tsp-bento-row-2 > *,
  .tsp-bento-row-3 > *,
  #home-hero-carousel-box,
  .tsp-hero-carousel-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 639.98px) {
  .tsp-hero-carousel-card {
    padding: 1rem !important;
    height: auto !important;
    min-height: 310px !important;
  }
  .tsp-hero-carousel-card h2 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  .yt-dash-quick-thumb-wrap {
    width: 132px;
    height: 76px;
  }
}

/* =========================================================================
   POINT 4 (v149.6) — CURSEUR SOURIS "MAIN" (cursor: pointer) UNIVERSEL
   ========================================================================= */
a, button, [role="button"], [onclick], label[for], select, summary,
.nav-tab, .sub-nav-pill, .tsp-hero-carousel-card, .tsp-home-news-mini-card,
.tsp-radar-hero-banner, .tsp-radar-row, .yt-dash-cinema-card, .yt-dash-quick-pill,
.tsp-news-hero-card, .tsp-news-horiz-card, .tsp-cal-row-card, .tsp-backlog-row {
  cursor: pointer !important;
}

/* =========================================================================
   PARTIE 3/4 (v152.0) — ANIMATIONS FLUIDES CARROUSELS & HALO AUJOURD'HUI
   ========================================================================= */
@keyframes tspCarouselSlideFadeIn {
  0% {
    opacity: 0;
    transform: translateX(14px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.tsp-carousel-slide-anim {
  animation: tspCarouselSlideFadeIn 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cal-today-halo {
  box-shadow: 0 0 0 2px #14B8A6, 0 0 28px rgba(20, 184, 166, 0.45) !important;
  border-color: #14B8A6 !important;
  transition: box-shadow 0.35s ease, border-color 0.35s ease !important;
}

html.theme-light #cal-btn-today {
  background: #CCFBF1 !important;
  color: #0F766E !important;
  border-color: #5EEAD4 !important;
}
html.theme-light #cal-btn-today:hover {
  background: #99F6E4 !important;
}
html.theme-light #cal-dynamic-years-bar button:not(.tsp-pill-black),
html.theme-light #cal-visible-months-strip button:not(.tsp-pill-black) {
  background: #F1F5F9 !important;
  color: #334155 !important;
  border-color: #CBD5E1 !important;
}
html.theme-light #cal-dynamic-years-bar button:not(.tsp-pill-black):hover,
html.theme-light #cal-visible-months-strip button:not(.tsp-pill-black):hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}

/* =========================================================================
   CORRECTIF TRANSVERSAL — BOUTONS 3 BOUTIQUES WISHLIST & PILULES THÈME CLAIR
   ========================================================================= */
.wl-store-btn-primary {
  background: #0F766E !important;
  border: 1px solid #115E59 !important;
  color: #FFFFFF !important;
}
.wl-store-btn-primary:hover {
  background: #115E59 !important;
  color: #FFFFFF !important;
}

.wl-store-btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
}
.wl-store-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #0F766E !important;
  color: #FFFFFF !important;
}

html.theme-light .wl-store-btn-primary {
  background: #0F766E !important;
  border: 1px solid #115E59 !important;
  color: #FFFFFF !important;
}
html.theme-light .wl-store-btn-primary:hover {
  background: #115E59 !important;
  color: #FFFFFF !important;
}

html.theme-light .wl-store-btn-secondary {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
}
html.theme-light .wl-store-btn-secondary:hover {
  background: #E2E8F0 !important;
  border-color: #0D9488 !important;
  color: #0F172A !important;
}

html.theme-light #wishlist-platform-filter-bar .wish-plat-chip:not(.tsp-pill-black) {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #1E293B !important;
}
html.theme-light #wishlist-platform-filter-bar .wish-plat-chip:not(.tsp-pill-black):hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
}
html.theme-light #wishlist-platform-filter-bar .wish-plat-chip.tsp-pill-black {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
}
html.theme-light #wishlist-platform-filter-bar .wish-plat-chip.tsp-pill-black span {
  color: #FFFFFF !important;
}





/* =========================================================================
   LOT D.1 ? R?SERVATION DE HAUTEUR & ASPECT-RATIO ANTI-CLS (CLS -> 0)
   ========================================================================= */
#home-hero-carousel-box {
  min-height: 360px;
}
#home-news-bento-grid {
  min-height: 320px;
}
#dashboard-youtube-showcase {
  min-height: 380px;
}
#home-releases-radar {
  min-height: 360px;
}
#home-automated-deals-strip {
  min-height: 112px;
}
.tsp-hero-carousel-img,
.yt-dash-cinema-thumb img,
.yt-dash-quick-thumb {
  aspect-ratio: 16 / 9;
}
.tsp-home-news-mini-thumb {
  width: 96px;
  height: 66px;
  aspect-ratio: 96 / 66;
}
.tsp-radar-row-cover {
  width: 44px;
  height: 58px;
  aspect-ratio: 44 / 58;
}
.game-poster-img {
  aspect-ratio: 2 / 3;
}

/* =========================================================================
   REFONTE CHIRURGICALE TESTS : PALETTE NOTES (/10 & /20), SYNTHÈSE BAS D'ARTICLE,
   SOMMAIRE REPLIÉ MOBILE (<1024px) & ANTI-DÉBORDEMENT SMARTPHONE (390px)
   ========================================================================= */

/* 1. Badges de note par palier (getScoreTierMeta) — Police Outfit/Plus Jakarta Sans */
.tsp-score-tier-badge,
html.theme-light .tsp-score-tier-badge,
html[data-theme="light"] .tsp-score-tier-badge {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  color: #ffffff !important;
  letter-spacing: 0.01em;
}
.tsp-score-tier-badge *,
html.theme-light .tsp-score-tier-badge *,
html[data-theme="light"] .tsp-score-tier-badge * {
  color: #ffffff !important;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
}

/* 2. Bloc de synthèse en bas de la colonne principale du Test (Desktop & Mobile) */
.tsp-test-bottom-synthesis {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.tsp-test-bottom-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .tsp-test-bottom-pros-cons {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.tsp-test-bottom-pros-card,
.tsp-test-bottom-cons-card {
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-sizing: border-box;
  min-width: 0;
}
@media (min-width: 640px) {
  .tsp-test-bottom-pros-card,
  .tsp-test-bottom-cons-card {
    padding: 1.5rem;
  }
}

/* Thème Sombre (par défaut / Aurora / Radar / Spatial) */
.tsp-test-bottom-pros-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #ECFDF5;
}
.tsp-test-bottom-cons-card {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #FFE4E6;
}

.tsp-test-bottom-pros-header,
.tsp-test-bottom-cons-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.tsp-test-bottom-pros-header {
  color: #34d399;
}
.tsp-test-bottom-cons-header {
  color: #fb7185;
}

/* Thème Clair */
html.theme-light .tsp-test-bottom-pros-card,
html[data-theme="light"] .tsp-test-bottom-pros-card {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #064e3b !important;
}
html.theme-light .tsp-test-bottom-cons-card,
html[data-theme="light"] .tsp-test-bottom-cons-card {
  background: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  color: #881337 !important;
}
html.theme-light .tsp-test-bottom-pros-header,
html[data-theme="light"] .tsp-test-bottom-pros-header,
html.theme-light .tsp-test-bottom-pros-header span,
html[data-theme="light"] .tsp-test-bottom-pros-header span {
  color: #15803d !important;
}
html.theme-light .tsp-test-bottom-cons-header,
html[data-theme="light"] .tsp-test-bottom-cons-header,
html.theme-light .tsp-test-bottom-cons-header span,
html[data-theme="light"] .tsp-test-bottom-cons-header span {
  color: #be123c !important;
}

.tsp-test-bottom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tsp-test-bottom-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}
.tsp-test-bottom-check {
  color: #16a34a !important;
  font-weight: 800;
  flex-shrink: 0;
}
.tsp-test-bottom-cross {
  color: #e11d48 !important;
  font-weight: 800;
  flex-shrink: 0;
}
html.theme-light .tsp-test-bottom-pros-card .tsp-test-bottom-list-item span:not(.tsp-test-bottom-check) {
  color: #14532d !important;
}
html.theme-light .tsp-test-bottom-cons-card .tsp-test-bottom-list-item span:not(.tsp-test-bottom-cross) {
  color: #881337 !important;
}

/* Bannière de Note pleine largeur juste en dessous */
.tsp-test-bottom-score-banner {
  margin-top: 1.15rem;
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  width: 100%;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.35);
}
@media (min-width: 640px) {
  .tsp-test-bottom-score-banner {
    padding: 1.5rem 2rem;
  }
}
.tsp-test-bottom-score-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.tsp-test-bottom-score-super,
html.theme-light .tsp-test-bottom-score-super {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff !important;
}
.tsp-test-bottom-score-label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.tsp-test-bottom-score-right {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
}
.tsp-test-bottom-score-val,
html.theme-light .tsp-test-bottom-score-val {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1;
}
.tsp-test-bottom-score-max,
html.theme-light .tsp-test-bottom-score-max {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  opacity: 0.85;
  color: #ffffff !important;
}

/* 3. Sommaire replié (<details class="tsp-mobile-toc">) en début de Test sur Smartphone & Tablette (< 1024px) */
.tsp-mobile-toc {
  display: block;
  margin: 0 0 1.35rem 0;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid #99f6e4;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}
html.theme-light .tsp-mobile-toc,
html[data-theme="light"] .tsp-mobile-toc {
  background: #f0fdfa !important;
  border: 1px solid #99f6e4 !important;
}
@media (min-width: 1024px) {
  .tsp-mobile-toc {
    display: none !important;
  }
}
@media (max-width: 1023.98px) {
  .tsp-desktop-toc-card {
    display: none !important;
  }
}
.tsp-mobile-toc-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2dd4bf;
  cursor: pointer;
  user-select: none;
}
.tsp-mobile-toc-summary::-webkit-details-marker {
  display: none;
}
html.theme-light .tsp-mobile-toc-summary,
html[data-theme="light"] .tsp-mobile-toc-summary,
html.theme-light .tsp-mobile-toc-summary span,
html[data-theme="light"] .tsp-mobile-toc-summary span {
  color: #0f766e !important;
}
.tsp-mobile-toc-chevron {
  transition: transform 0.2s ease;
  font-size: 0.95rem;
  line-height: 1;
}
.tsp-mobile-toc[open] .tsp-mobile-toc-chevron {
  transform: rotate(180deg);
}
.tsp-mobile-toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem 0.75rem 0.75rem;
  border-top: 1px solid rgba(153, 246, 228, 0.35);
}
.tsp-mobile-toc-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  text-align: left;
  background: transparent;
  border: none;
  color: #f1f5f9;
  transition: background 0.15s ease;
}
.tsp-mobile-toc-item:hover {
  background: rgba(13, 148, 136, 0.15);
}
html.theme-light .tsp-mobile-toc-item,
html[data-theme="light"] .tsp-mobile-toc-item,
html.theme-light .tsp-mobile-toc-item .tsp-mobile-toc-item-label,
html[data-theme="light"] .tsp-mobile-toc-item .tsp-mobile-toc-item-label {
  color: #0f172a !important;
}
html.theme-light .tsp-mobile-toc-item:hover,
html[data-theme="light"] .tsp-mobile-toc-item:hover {
  background: #ccfbf1 !important;
}
.tsp-mobile-toc-item-label {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

/* 4. Suppression de toute scrollbar interne sur #news-modal-sidebar & anti-débordement horizontal Mobile (390px / <1024px) */
#news-modal-sidebar {
  max-height: none !important;
  overflow-y: visible !important;
}
#news-reader-modal,
#news-reader-modal.tsp-fullpage-reader,
#news-reader-modal .news-reader-panel,
#news-reader-modal .news-reader-scroll,
#news-reader-modal .news-reader-container,
#news-reader-modal .news-reader-grid,
#news-reader-modal #news-modal-grid-layout,
#news-reader-modal .news-reader-article,
#news-reader-modal #news-modal-sidebar {
  box-sizing: border-box !important;
  max-width: 100% !important;
}
#news-reader-modal,
#news-reader-modal.tsp-fullpage-reader {
  overflow-x: hidden !important;
}
@media (max-width: 1023.98px) {
  #news-reader-modal .news-reader-panel,
  #news-reader-modal.tsp-fullpage-reader .news-reader-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    overflow-x: hidden !important;
  }
  #news-reader-modal .news-reader-scroll,
  #news-reader-modal.tsp-fullpage-reader .news-reader-scroll {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    overflow-x: hidden !important;
  }
  #news-reader-modal #news-modal-grid-layout,
  #news-reader-modal .tsp-layout-7-5,
  #news-reader-modal .tsp-layout-8-4,
  #news-reader-modal .news-reader-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  #news-reader-modal .news-reader-article {
    padding: 1.15rem 1rem !important;
    overflow-x: hidden !important;
  }
}

/* =========================================================================
   HARMONISATION CARROUSELS [‹] [━━ • • •] [›] (ACCUEIL & CALENDRIER),
   RESPONSIVE SMARTPHONE (< 640px) & MODALE FICHE DE JEU (#release-detail-modal)
   ========================================================================= */

/* 1. Composant unifié [‹] [━━ • • •] [›] sans bouton Pause */
.tsp-carousel-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  flex-shrink: 0;
}

.tsp-carousel-arrow {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.tsp-carousel-arrow:hover {
  background: #0d9488 !important;
  border-color: #14b8a6 !important;
  color: #ffffff !important;
}

.tsp-carousel-nav-pill .tsp-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tsp-carousel-nav-pill .tsp-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: all 0.25s ease;
  cursor: pointer;
}

.tsp-carousel-nav-pill .tsp-carousel-dot.active {
  width: 18px;
  height: 6px;
  background: #ffffff;
}

/* Boutons d'action du Hero Calendrier */
.tsp-cal-hero-month .tsp-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff !important;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: all 0.18s ease;
}
.tsp-cal-hero-month .tsp-hero-btn:hover {
  background: rgba(13, 148, 136, 0.85);
  border-color: #14b8a6;
}
.tsp-cal-hero-month .tsp-hero-btn.tsp-hero-btn--teal {
  background: #0d9488 !important;
  border-color: #14b8a6 !important;
  color: #ffffff !important;
}
.tsp-cal-hero-month .tsp-hero-btn.tsp-hero-btn--teal:hover {
  background: #0f766e !important;
}

/* 2. Correctif critique Smartphone (< 640px) pour Carrousels Accueil & Calendrier */
@media (max-width: 639.98px) {
  #cal-month-hero-carousel {
    height: auto !important;
    min-height: 330px !important;
    overflow: visible !important;
  }

  .tsp-cal-hero-month {
    height: auto !important;
    min-height: 330px !important;
    padding: 0 !important;
  }

  .tsp-cal-hero-month .tsp-cal-hero-inner {
    height: auto !important;
    min-height: 330px !important;
    padding: 1.15rem 1.15rem 1.35rem 1.15rem !important;
  }

  .tsp-hero-carousel-card {
    height: auto !important;
    min-height: 330px !important;
    padding: 1.15rem 1.15rem 1.35rem 1.15rem !important;
  }

  .tsp-carousel-bottom-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .tsp-carousel-controls-group {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
  }

  .tsp-carousel-nav-pill {
    align-self: center !important;
    margin: 0 auto !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 999px !important;
  }

  .tsp-carousel-nav-pill .tsp-carousel-arrow {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    font-size: 14px !important;
  }

  .tsp-carousel-nav-pill .tsp-carousel-dots {
    gap: 6px !important;
  }

  .tsp-carousel-nav-pill .tsp-carousel-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .tsp-carousel-nav-pill .tsp-carousel-dot.active {
    width: 18px !important;
    height: 6px !important;
  }
}

/* 3. Modale Fiche de Jeu (#release-detail-modal) : z-index > #main-header (10005), Zéro Courier/Violet */
.z-\[10020\],
#release-detail-modal {
  z-index: 10020 !important;
}

#release-detail-modal,
#release-detail-modal * {
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif !important;
}

#release-detail-modal #rel-detail-title,
#release-detail-modal #rel-countdown-badge,
#release-detail-modal #rel-card-countdown,
#release-detail-modal #rel-offers-box .font-black {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
}

/* Harmonisation complète et lisibilité AAA de #release-detail-modal (Thème Clair & Sombre) */
#release-detail-modal #rel-card-countdown,
html.theme-light #release-detail-modal #rel-card-countdown {
  background: #0d9488 !important;
  color: #ffffff !important;
  border-color: #0f766e !important;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25) !important;
}

#release-detail-modal .rel-plat-selected-badge,
html.theme-light #release-detail-modal .rel-plat-selected-badge {
  background: #0d9488 !important;
  color: #ffffff !important;
  border-color: #0f766e !important;
}

#release-detail-modal .rel-plat-wishlist-btn,
html.theme-light #release-detail-modal .rel-plat-wishlist-btn {
  background: #0d9488 !important;
  color: #ffffff !important;
  border-color: #0f766e !important;
}
#release-detail-modal .rel-plat-wishlist-btn:hover,
html.theme-light #release-detail-modal .rel-plat-wishlist-btn:hover {
  background: #0f766e !important;
  color: #ffffff !important;
}
#release-detail-modal .rel-plat-wishlist-btn.is-in-wishlist,
html.theme-light #release-detail-modal .rel-plat-wishlist-btn.is-in-wishlist {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #047857 !important;
}

#release-detail-modal #rel-btn-add-wishlist.is-cta,
#release-detail-modal #rel-btn-add-wishlist.is-cta *,
html.theme-light #release-detail-modal #rel-btn-add-wishlist.is-cta,
html.theme-light #release-detail-modal #rel-btn-add-wishlist.is-cta * {
  color: #ffffff !important;
}

html.theme-light #release-detail-modal #rel-detail-close-btn {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #0f172a !important;
}
html.theme-light #release-detail-modal #rel-detail-close-btn svg {
  color: #0f172a !important;
  stroke: #0f172a !important;
}
html.theme-light #release-detail-modal #rel-detail-close-btn:hover {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #ffffff !important;
}
html.theme-light #release-detail-modal #rel-detail-close-btn:hover svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

html.theme-light #release-detail-modal #rel-date-hero-card {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%) !important;
  border: 1.5px solid rgba(13, 148, 136, 0.32) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.06) !important;
}
html.theme-light #release-detail-modal #rel-date-hero-label {
  color: #0f766e !important;
}
html.theme-light #release-detail-modal #rel-card-date {
  color: #0f172a !important;
}
html.theme-light #release-detail-modal #rel-card-platforms-text {
  color: #334155 !important;
}

html.theme-light #release-detail-modal #rel-selected-platform-badge {
  background: #f0fdfa !important;
  color: #0f766e !important;
  border-color: #5eead4 !important;
}

html.theme-light #release-detail-modal .rel-plat-row {
  background: #f8fafc !important;
  border: 1.5px solid rgba(15, 23, 42, 0.10) !important;
}
html.theme-light #release-detail-modal .rel-plat-row:hover {
  background: #f0fdfa !important;
  border-color: rgba(13, 148, 136, 0.38) !important;
}
html.theme-light #release-detail-modal .rel-plat-row.is-in-wishlist {
  background: #f0fdf4 !important;
  border: 1.5px solid rgba(16, 185, 129, 0.40) !important;
}
html.theme-light #release-detail-modal .rel-plat-row.is-selected {
  background: #ccfbf1 !important;
  border: 1.5px solid #0d9488 !important;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.14) !important;
}
html.theme-light #release-detail-modal .rel-plat-name {
  color: #0f172a !important;
}
html.theme-light #release-detail-modal .rel-plat-row.is-selected .rel-plat-name {
  color: #0f766e !important;
}
html.theme-light #release-detail-modal .rel-plat-date {
  color: #334155 !important;
}

html.theme-light #release-detail-modal #rel-btn-add-wishlist.is-in-wishlist {
  background: #047857 !important;
  border: 1.5px solid #065f46 !important;
  color: #ffffff !important;
}
html.theme-light #release-detail-modal #rel-btn-add-wishlist.is-in-wishlist * {
  color: #ffffff !important;
}

html.theme-light #release-detail-modal #rel-offers-section-sub {
  color: #0f766e !important;
}
html.theme-light #release-detail-modal .rel-offer-card {
  background: #f0fdfa !important;
  border: 1.5px solid rgba(13, 148, 136, 0.38) !important;
}
html.theme-light #release-detail-modal .rel-offer-card:hover {
  background: #ccfbf1 !important;
  border-color: #0d9488 !important;
}
html.theme-light #release-detail-modal .rel-offer-title {
  color: #0f172a !important;
}
html.theme-light #release-detail-modal .rel-offer-sub {
  color: #0f766e !important;
}
html.theme-light #release-detail-modal .rel-offer-price {
  color: #047857 !important;
}

html.theme-light #release-detail-modal .rel-genre-tag {
  background: #f0fdfa !important;
  border-color: rgba(13, 148, 136, 0.35) !important;
  color: #0f766e !important;
}

/* 4. Purge finale de Courier (font-mono) sur Mes Jeux (/backlog), Le Lab (/lab) et Actualités (/actus) */
#backlog-subnav-mode-badge,
#backlog-kpi-total,
#backlog-kpi-completed,
#backlog-kpi-playing,
#backlog-kpi-backlog,
#backlog-kpi-hours,
#backlog-sidebar-progression *,
#backlog-sidebar-playtime *,
#tab-methodology,
#tab-methodology * {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}
#news-most-read-list,
#news-most-read-list * {
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif !important;
}

/* =========================================================================
   V155.0 — NETTOYAGE THÈME CLAIR & SUPPRESSION DU VIOLET SUR /BACKLOG
   ========================================================================= */
.tsp-btn-add-wishlist,
html[data-theme="light"] .tsp-btn-add-wishlist,
html.theme-light .tsp-btn-add-wishlist {
  background: #0F766E !important;
  border-color: #115E59 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.22) !important;
}
.tsp-btn-add-wishlist:hover,
html[data-theme="light"] .tsp-btn-add-wishlist:hover,
html.theme-light .tsp-btn-add-wishlist:hover {
  background: #115E59 !important;
  border-color: #115E59 !important;
  color: #ffffff !important;
}
.tsp-btn-add-wishlist *,
html[data-theme="light"] .tsp-btn-add-wishlist *,
html.theme-light .tsp-btn-add-wishlist * {
  color: #ffffff !important;
}

html[data-theme="light"] .tsp-purchase-kpi-card,
html.theme-light .tsp-purchase-kpi-card {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
}
html[data-theme="light"] .tsp-purchase-kpi-card .tsp-purchase-kpi-title,
html.theme-light .tsp-purchase-kpi-card .tsp-purchase-kpi-title {
  color: #475569 !important;
}
html[data-theme="light"] .tsp-purchase-kpi-card .tsp-purchase-kpi-val,
html.theme-light .tsp-purchase-kpi-card .tsp-purchase-kpi-val {
  color: #0f172a !important;
}
html[data-theme="light"] .tsp-purchase-kpi-card .tsp-purchase-kpi-val--teal,
html.theme-light .tsp-purchase-kpi-card .tsp-purchase-kpi-val--teal {
  color: #0d9488 !important;
}

/* =========================================================================
   V156.0 — BOUTON DE SUIVI CALENDRIER (.tsp-cal-track-btn), PRÉCOMMANDES
   THÈME CLAIR & CARROUSELS MULTI-COUCHES CINÉMATIQUES (.tsp-modern-carousel)
   ========================================================================= */

/* Section 2 : Bouton de suivi au bout de chaque ligne du Calendrier */
.tsp-cal-track-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

html.theme-light .tsp-cal-track-btn,
html[data-theme="light"] .tsp-cal-track-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

.tsp-cal-track-btn:hover,
html.theme-light .tsp-cal-track-btn:hover,
html[data-theme="light"] .tsp-cal-track-btn:hover {
  border-color: #0d9488 !important;
  color: #0d9488 !important;
  background: rgba(13, 148, 136, 0.10) !important;
}

.tsp-cal-track-btn.is-tracked,
html.theme-light .tsp-cal-track-btn.is-tracked,
html[data-theme="light"] .tsp-cal-track-btn.is-tracked {
  background: rgba(13, 148, 136, 0.16) !important;
  border: 1.5px solid #0d9488 !important;
  color: #0d9488 !important;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.22);
}

html.theme-light .tsp-cal-trailer-btn,
html[data-theme="light"] .tsp-cal-trailer-btn {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #b91c1c !important;
}
html.theme-light .tsp-cal-trailer-btn:hover,
html[data-theme="light"] .tsp-cal-trailer-btn:hover {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

/* Section 3 : Précommandes du mois en Thème Clair */
html.theme-light #cal-sidebar-upcoming-list a,
html[data-theme="light"] #cal-sidebar-upcoming-list a {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html.theme-light #cal-sidebar-upcoming-list a:hover,
html[data-theme="light"] #cal-sidebar-upcoming-list a:hover {
  background: #f0fdfa !important;
  border-color: #99f6e4 !important;
}

html.theme-light #cal-sidebar-upcoming-list a .tsp-cal-preorder-title,
html[data-theme="light"] #cal-sidebar-upcoming-list a .tsp-cal-preorder-title {
  color: #0f172a !important;
}

html.theme-light #cal-sidebar-upcoming-list a .tsp-cal-preorder-price,
html[data-theme="light"] #cal-sidebar-upcoming-list a .tsp-cal-preorder-price {
  color: #0f766e !important;
}

/* Section 4 : Carrousel Multi-Couches Cinématique (Accueil & Calendrier) */
.tsp-modern-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0F172A;
}

.tsp-carousel-slides-viewport {
  position: relative;
  width: 100%;
  min-height: 330px;
}

#cal-month-hero-carousel .tsp-carousel-slides-viewport {
  height: 350px;
}

#home-hero-carousel-box .tsp-carousel-slides-viewport {
  height: 360px;
}

@media (min-width: 1024px) {
  .tsp-bento-row-1 {
    align-items: stretch !important;
  }
  #home-hero-carousel-box {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #home-hero-carousel-box > .tsp-modern-carousel {
    flex: 1 1 auto !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }
  #home-hero-carousel-box .tsp-carousel-slides-viewport {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 440px !important;
  }
}

.tsp-modern-carousel .tsp-carousel-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), visibility 520ms;
}

.tsp-modern-carousel .tsp-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Image de fond (.tsp-carousel-bg) avec Ken Burns léger */
.tsp-modern-carousel .tsp-carousel-slide .tsp-carousel-bg {
  opacity: 0;
  transform: none;
  transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tsp-modern-carousel .tsp-carousel-slide.is-active .tsp-carousel-bg {
  opacity: 1;
  transform: scale(1.0);
}

/* Bloc texte (.tsp-carousel-text-block) décalé de 80ms */
.tsp-modern-carousel .tsp-carousel-slide .tsp-carousel-text-block {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1) 80ms, transform 420ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.tsp-modern-carousel .tsp-carousel-slide.is-active .tsp-carousel-text-block {
  opacity: 1;
  transform: translateY(0);
}

/* Barre de navigation fixe [‹] [━━ • • •] [›] en z-index: 20 */
.tsp-modern-carousel .tsp-carousel-nav-pill.tsp-carousel-fixed-nav {
  position: absolute;
  bottom: 1.35rem;
  right: 1.5rem;
  z-index: 20;
}

.tsp-modern-carousel .tsp-carousel-slide .tsp-carousel-bottom-bar {
  padding-right: 140px;
}

/* Indicateurs (.tsp-carousel-dot) : 7px -> 22px, rgba(255,255,255,0.4) -> #14b8a6 */
.tsp-carousel-nav-pill .tsp-carousel-dot {
  width: 7px !important;
  height: 6px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4) !important;
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1), background-color 320ms ease !important;
}

.tsp-carousel-nav-pill .tsp-carousel-dot.active {
  width: 22px !important;
  height: 6px !important;
  background: #14b8a6 !important;
}

@media (max-width: 639.98px) {
  .tsp-carousel-slides-viewport {
    min-height: 360px !important;
    height: 360px !important;
  }

  .tsp-modern-carousel .tsp-carousel-slide .tsp-cal-hero-inner,
  .tsp-modern-carousel .tsp-carousel-slide.tsp-hero-carousel-card {
    padding: 1.1rem 1.1rem 3.4rem 1.1rem !important;
  }

  .tsp-modern-carousel .tsp-carousel-slide .tsp-carousel-bottom-bar {
    padding-right: 0 !important;
  }

  .tsp-modern-carousel .tsp-carousel-nav-pill.tsp-carousel-fixed-nav {
    left: 50% !important;
    right: auto !important;
    bottom: 0.85rem !important;
    transform: translateX(-50%) !important;
  }
}

html.theme-radar .tsp-modern-carousel {
  position: relative !important;
  border: 1px solid rgba(34, 211, 238, 0.28) !important;
  border-radius: 6px !important;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9) !important;
}
html.theme-radar .tsp-modern-carousel .tsp-carousel-slide,
html.theme-radar .tsp-modern-carousel .tsp-carousel-slide.tsp-hero-carousel-card,
html.theme-radar .tsp-modern-carousel .tsp-carousel-slide.tsp-cal-hero-month {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* =========================================================================
   V165.0 — AUDIT VISUEL, RESPONSIVE (320px-1920px) & CONTRASTES WCAG 2.1 AA
   (ACCUEIL, CALENDRIER DES SORTIES, MODALE DÉTAIL SORTIE, HEADER & FOOTER)
   ========================================================================= */
.tsp-modern-carousel .tsp-carousel-slide,
.tsp-modern-carousel .tsp-carousel-slide.tsp-hero-carousel-card,
.tsp-modern-carousel .tsp-carousel-slide.tsp-cal-hero-month {
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Responsive < 480px : Header 320px, YouTube Quick Pills & Lignes Calendrier */
@media (max-width: 479.98px) {
  .yt-dash-quick-pill {
    gap: 0.65rem !important;
    padding: 0.65rem 0.75rem !important;
    min-height: 98px !important;
  }
  .yt-dash-quick-thumb-wrap {
    width: 112px !important;
    height: 64px !important;
  }
  .tsp-cal-release-row {
    padding: 0.55rem 0.65rem !important;
    gap: 0.55rem !important;
  }
  .tsp-cal-release-row .tsp-cal-date-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
  }
  .tsp-cal-release-row .tsp-cal-date-box .cal-day-num {
    font-size: 0.95rem !important;
  }
  .tsp-cal-release-row .tsp-cal-date-box .cal-day-mon {
    font-size: 9px !important;
  }
  .tsp-cal-release-row .tsp-cal-row-cover {
    width: 40px !important;
    height: 40px !important;
    border-radius: 9px !important;
  }
  .tsp-cal-release-row .tsp-cal-trailer-btn,
  .tsp-cal-release-row .tsp-cal-track-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
  }
}

@media (max-width: 380px) {
  #main-header {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  #main-header > div {
    gap: 4px !important;
  }
  #main-header .brand-header-logo {
    max-width: 106px !important;
    height: auto !important;
  }
  #main-header .cmdk-pill-btn,
  #main-header #steam-login-btn,
  #main-header #btn-mobile-quick-menu,
  #main-header #header-notifications-bell {
    min-height: 32px !important;
    padding: 4px 6px !important;
  }
  #auth-header-container,
  #main-header > div > div:last-child {
    gap: 4px !important;
  }
}

/* Contrastes WCAG 2.1 AA — Mode Clair & Mode Sombre (Aurora / Radar / Spatial) */
html.theme-light #steam-login-btn,
html[data-theme="light"] #steam-login-btn {
  background: #0f766e !important;
  background-color: #0f766e !important;
  border-color: #0f766e !important;
  color: #ffffff !important;
}
html.theme-light #steam-login-btn *,
html[data-theme="light"] #steam-login-btn * {
  color: #ffffff !important;
}

#catalog-floating-cart-bar button[onclick*="setBasketMode"] {
  background-color: #6d28d9 !important;
  color: #ffffff !important;
}
#catalog-floating-cart-bar button[onclick*="setBasketMode"] * {
  color: #ffffff !important;
}

#cnil-consent-banner button[data-action="accept-youtube-consent"],
#cnil-cookie-banner button[data-action="accept-youtube-consent"] {
  background-color: #047857 !important;
  color: #ffffff !important;
}
#cnil-consent-banner button[data-action="accept-youtube-consent"] *,
#cnil-cookie-banner button[data-action="accept-youtube-consent"] * {
  color: #ffffff !important;
}

html.theme-light .mobile-bottom-nav .mobile-tab.active,
html[data-theme="light"] .mobile-bottom-nav .mobile-tab.active {
  color: #0F766E !important;
}
html.theme-light .mobile-bottom-nav .mobile-tab.active *,
html[data-theme="light"] .mobile-bottom-nav .mobile-tab.active * {
  color: #0F766E !important;
}
html.theme-light .mobile-bottom-nav .mobile-tab:not(.active),
html.theme-light .mobile-bottom-nav .mobile-tab:not(.active) *,
html[data-theme="light"] .mobile-bottom-nav .mobile-tab:not(.active),
html[data-theme="light"] .mobile-bottom-nav .mobile-tab:not(.active) * {
  color: #475569 !important;
}
html:not(.theme-light) .mobile-bottom-nav .mobile-tab:not(.active),
html:not(.theme-light) .mobile-bottom-nav #mob-tests:not(.active) {
  color: #94a3b8 !important;
}
html:not(.theme-light) .mobile-bottom-nav .mobile-tab:not(.active) span,
html:not(.theme-light) .mobile-bottom-nav #mob-tests:not(.active) span {
  color: #94a3b8 !important;
}

html.theme-light #site-footer .footer-version-badge,
html[data-theme="light"] #site-footer .footer-version-badge {
  background-color: #ccfbf1 !important;
  color: #065f46 !important;
  border-color: #99f6e4 !important;
}

/* Badges catégories Accueil (JV / Tech / ★ Rédaction) */
html.theme-light .tsp-home-news-cat-teal,
html[data-theme="light"] .tsp-home-news-cat-teal {
  background-color: #ccfbf1 !important;
  color: #0f766e !important;
  border-color: #99f6e4 !important;
}
html:not(.theme-light) .tsp-home-news-cat-teal {
  background-color: rgba(13, 148, 136, 0.22) !important;
  color: #5eead4 !important;
  border-color: rgba(20, 184, 166, 0.4) !important;
}
html.theme-light .tsp-home-news-cat-studio,
html[data-theme="light"] .tsp-home-news-cat-studio {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border-color: #fde68a !important;
}
html:not(.theme-light) .tsp-home-news-cat-studio {
  background-color: rgba(245, 158, 11, 0.22) !important;
  color: #fcd34d !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

/* Textes et boutons Teal #0D9488 -> #0F766E (Ratio >= 4.8:1 avec #FFFFFF ou fond clair) */
html.theme-light .text-\[\#0d9488\],
html[data-theme="light"] .text-\[\#0d9488\] {
  color: #0f766e !important;
}
html.theme-light .theme-btn-active,
html[data-theme="light"] .theme-btn-active,
.tsp-pill-black,
html.theme-light .tsp-pill-black,
html[data-theme="light"] .tsp-pill-black,
html:not(.theme-light) .tsp-pill-black {
  background: #0F766E !important;
  background-image: none !important;
  color: #FFFFFF !important;
}
html.theme-light .theme-btn-active *,
html[data-theme="light"] .theme-btn-active *,
.tsp-pill-black *,
html.theme-light .tsp-pill-black *,
html[data-theme="light"] .tsp-pill-black *,
html:not(.theme-light) .tsp-pill-black * {
  color: #ffffff !important;
}

/* Modale Détail Sortie (#release-detail-modal) en Mode Clair & Sombre */
#release-detail-modal .group\/strip > button {
  background-color: #0f172a !important;
  color: #ffffff !important;
}
#release-detail-modal .group\/strip > button * {
  color: #ffffff !important;
}
#release-detail-modal #rel-card-countdown,
#release-detail-modal .rel-plat-wishlist-btn:not(.is-in-wishlist) {
  background-color: #0f766e !important;
  color: #ffffff !important;
}
#release-detail-modal .rel-plat-wishlist-btn.is-in-wishlist,
#release-detail-modal #rel-btn-add-wishlist {
  background-color: #047857 !important;
  color: #ffffff !important;
}
#release-detail-modal #rel-card-countdown *,
#release-detail-modal .rel-plat-wishlist-btn *,
#release-detail-modal #rel-btn-add-wishlist * {
  color: #ffffff !important;
}
[data-cnil-yt-placeholder] {
  background-color: #020617 !important;
}
[data-cnil-yt-placeholder] .cnil-yt-consent-box {
  background-color: #0f172a !important;
  color: #ffffff !important;
}
#cookie-consent-banner button[onclick*="acceptAllCookies"],
#cnil-consent-banner button[data-action="accept-youtube-consent"],
#cookie-policy-modal button[data-action="accept-youtube-consent"] {
  background: #0F766E !important;
  background-image: none !important;
  color: #FFFFFF !important;
}
.sg-rating-step-btn { min-width: 44px; min-height: 44px; }

/* =========================================================================
   AUDIT 1 — CORRECTIFS WCAG 2.1 AA & HARMONISATION 4 THÈMES (CLAIR / AURORA / RADAR / SPATIAL)
   ========================================================================= */

/* [RADAR-CAL-01] Titres uppercase du Calendrier en Radar HUD */
html.theme-radar #tab-calendar h3,
html.theme-radar #tab-calendar h4,
[data-theme="radar"] #tab-calendar h3,
[data-theme="radar"] #tab-calendar h4 {
  letter-spacing: 0.01em !important;
  font-size: 0.85rem !important;
}

/* [RADAR-READER-01] Cohérence angulaire des cartes Verdict en Radar HUD */
html.theme-radar .tsp-test-bottom-pros-card,
html.theme-radar .tsp-test-bottom-cons-card,
html.theme-radar .tsp-test-bottom-score-banner,
[data-theme="radar"] .tsp-test-bottom-pros-card,
[data-theme="radar"] .tsp-test-bottom-cons-card,
[data-theme="radar"] .tsp-test-bottom-score-banner {
  border-radius: 6px !important;
}

/* [SPATIAL-BACKLOG-01] Flèche d'accent sur la puce .steam-chip en Spatial Glass */
html.theme-spatial .steam-chip span[class*="text-[#0d9488]"],
[data-theme="spatial"] .steam-chip span[class*="text-[#0d9488]"] {
  color: #2DD4BF !important;
}

/* [LIGHT-NEWS-02 / LIGHT-TESTS-02 / AURORA-NEWS-01 / SPATIAL-NEWS-01] Teal #0D9488 -> #0F766E */
.tsp-newsletter-btn,
.tsp-btn-add-wishlist,
.wl-store-btn-primary,
#news-modal-hero-test-overlay span[class*="bg-[#0D9488]"],
#news-modal-hero-test-overlay span[class*="bg-[#0d9488]"],
.tsp-news-hero-card span[class*="bg-[#0d9488]"],
#news-sidebar-must-read span[class*="bg-[#0d9488]"] {
  background: #0F766E !important;
  background-color: #0F766E !important;
  color: #FFFFFF !important;
}

/* [LIGHT-NEWS-01] Carte sidebar "À ne pas manquer" */
html.theme-light #news-sidebar-must-read,
html[data-theme="light"] #news-sidebar-must-read,
#news-sidebar-must-read {
  background-color: #090D16 !important;
}
#news-sidebar-must-read > div.absolute.inset-0 {
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.25) 0%, rgba(9, 13, 22, 0.92) 100%) !important;
}
#news-sidebar-must-read h4 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}

/* [LIGHT-NEWS-03] Pastilles de classement .tsp-rank-circle en Mode Clair */
html.theme-light .tsp-rank-circle,
html[data-theme="light"] .tsp-rank-circle {
  background: #CCFBF1 !important;
  color: #0F766E !important;
  border: 1px solid rgba(15, 118, 110, 0.35) !important;
}

/* [LIGHT-YT-01] Suppression du halo noir sur .yt-cat-badge hors overlay d'image en Mode Clair */
html.theme-light .yt-cat-badge:not(.absolute),
html[data-theme="light"] .yt-cat-badge:not(.absolute),
html.theme-light #yt-featured-container .yt-cat-badge,
html[data-theme="light"] #yt-featured-container .yt-cat-badge,
html.theme-light .yt-dash-quick-pill .yt-cat-badge,
html[data-theme="light"] .yt-dash-quick-pill .yt-cat-badge,
html.theme-light .yt-card .yt-cat-badge,
html[data-theme="light"] .yt-card .yt-cat-badge,
html.theme-light .yt-dash-side-card .yt-cat-badge,
html[data-theme="light"] .yt-dash-side-card .yt-cat-badge,
html.theme-light .yt-dash-side-body .yt-cat-badge,
html[data-theme="light"] .yt-dash-side-body .yt-cat-badge {
  background: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  border-left-width: 3px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.theme-light .yt-cat-badge.yt-cat-tests:not(.absolute),
html[data-theme="light"] .yt-cat-badge.yt-cat-tests:not(.absolute) {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.30) !important;
  border-left-color: #10B981 !important;
}
html.theme-light .yt-cat-badge.yt-cat-quotidienne:not(.absolute),
html[data-theme="light"] .yt-cat-badge.yt-cat-quotidienne:not(.absolute) {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #B45309 !important;
  border-color: rgba(245, 158, 11, 0.34) !important;
  border-left-color: #F59E0B !important;
}
html.theme-light .yt-cat-badge.yt-cat-emissions:not(.absolute),
html[data-theme="light"] .yt-cat-badge.yt-cat-emissions:not(.absolute) {
  background: rgba(139, 92, 246, 0.12) !important;
  color: #6D28D9 !important;
  border-color: rgba(139, 92, 246, 0.30) !important;
  border-left-color: #8B5CF6 !important;
}

/* [LIGHT-DEALS-DOT-01] Point plateforme visible dans les badges sombres Bons Plans en Mode Clair */
html.theme-light .deal-plat-dark-badge *:not(.plat-dot-indicator),
html[data-theme="light"] .deal-plat-dark-badge *:not(.plat-dot-indicator) {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
}
html.theme-light .deal-plat-dark-badge .plat-dot-indicator,
html[data-theme="light"] .deal-plat-dark-badge .plat-dot-indicator {
  background-color: #FFFFFF !important;
  color: #FFFFFF !important;
  opacity: 0.95 !important;
}

/* [LIGHT-BACKLOG-PROG-01] Couleurs exactes des 4 pastilles de légende "Ma progression" */
#backlog-sidebar-progression .tsp-prog-dot--completed,
html.theme-light #backlog-sidebar-progression .tsp-prog-dot--completed,
html[data-theme="light"] #backlog-sidebar-progression .tsp-prog-dot--completed {
  background-color: #10B981 !important;
}
#backlog-sidebar-progression .tsp-prog-dot--playing,
html.theme-light #backlog-sidebar-progression .tsp-prog-dot--playing,
html[data-theme="light"] #backlog-sidebar-progression .tsp-prog-dot--playing {
  background-color: #F59E0B !important;
}
#backlog-sidebar-progression .tsp-prog-dot--unplayed,
html.theme-light #backlog-sidebar-progression .tsp-prog-dot--unplayed,
html[data-theme="light"] #backlog-sidebar-progression .tsp-prog-dot--unplayed {
  background-color: #94A3B8 !important;
}
#backlog-sidebar-progression .tsp-prog-dot--dropped,
html.theme-light #backlog-sidebar-progression .tsp-prog-dot--dropped,
html[data-theme="light"] #backlog-sidebar-progression .tsp-prog-dot--dropped {
  background-color: #F43F5E !important;
}

/* [LIGHT-HOME-02 / AURORA-HOME-02 / SPATIAL-HOME-01] Séparateurs & compteur plateformes dans Sorties à venir */
html.theme-light .tsp-radar-row .text-\[10px\],
html[data-theme="light"] .tsp-radar-row .text-\[10px\],
html.theme-light .tsp-radar-row .text-\[10px\] span,
html[data-theme="light"] .tsp-radar-row .text-\[10px\] span {
  color: #475569 !important;
  opacity: 1 !important;
}

/* [LIGHT-CAL-01] Mois sans sorties dans le Calendrier en Mode Clair */
html.theme-light #cal-visible-months-strip button:not(.tsp-pill-black),
html[data-theme="light"] #cal-visible-months-strip button:not(.tsp-pill-black) {
  opacity: 0.85 !important;
  color: #475569 !important;
}
html.theme-light #cal-visible-months-strip button.tsp-pill-black,
html[data-theme="light"] #cal-visible-months-strip button.tsp-pill-black {
  opacity: 1 !important;
}

/* [LIGHT-CAL-02 / AURORA-CAL-01 / SPATIAL-CAL-01] Séparateurs dans .tsp-cal-hero-inner */
.tsp-cal-hero-inner span[class*="opacity-"] {
  opacity: 0.85 !important;
}

/* [LIGHT-BACKLOG-01] Bouton "+ Ajouter un jeu à ma collection" en Mode Clair */
html.theme-light button[onclick*="openAddLibraryGameModal"],
html.theme-light button[onclick*="openAddLibraryGameModal"] *,
html[data-theme="light"] button[onclick*="openAddLibraryGameModal"],
html[data-theme="light"] button[onclick*="openAddLibraryGameModal"] * {
  color: #FFFFFF !important;
}

/* [LIGHT-BACKLOG-02 / AURORA-BACKLOG-01 / RADAR-BACKLOG-01 / SPATIAL-BACKLOG-02] Pagination désactivée */
html.theme-light #steam-lib-page-buttons button[disabled],
html[data-theme="light"] #steam-lib-page-buttons button[disabled] {
  opacity: 0.75 !important;
  color: #475569 !important;
  background: #F1F5F9 !important;
}

/* [LIGHT-WISHLIST-01] Badge RECORD & lisibilité des cartes Wishlist */
.card-record-badge,
.card-record-badge *,
html.theme-light .card-record-badge,
html.theme-light .card-record-badge *,
html[data-theme="light"] .card-record-badge,
html[data-theme="light"] .card-record-badge * {
  background: #F59E0B !important;
  color: #090D16 !important;
  text-shadow: none !important;
}
.wl-store-btn-secondary span {
  opacity: 0.9 !important;
}
.game-poster-card .rentabilite-val,
.game-poster-card [class*="text-emerald-"] {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* [LIGHT-READER-01 / AURORA-READER-01 / RADAR-READER-01 / SPATIAL-READER-01] Cartes LES PLUS / LES MOINS & Bannière Note */
html.theme-light .tsp-test-bottom-cross,
html[data-theme="light"] .tsp-test-bottom-cross {
  color: #BE123C !important;
}
html.theme-light .tsp-test-bottom-check,
html[data-theme="light"] .tsp-test-bottom-check {
  color: #15803D !important;
}
html.theme-aurora .tsp-test-bottom-cross,
[data-theme="aurora"] .tsp-test-bottom-cross,
html.theme-radar .tsp-test-bottom-cross,
[data-theme="radar"] .tsp-test-bottom-cross,
html.theme-spatial .tsp-test-bottom-cross,
[data-theme="spatial"] .tsp-test-bottom-cross {
  color: #FB7185 !important;
}
.tsp-test-bottom-score-banner {
  background: linear-gradient(135deg, #064E3B 0%, #0F766E 60%, #047857 100%) !important;
}

/* [LIGHT-HOME-RESTORE-01] Verrouillage explicite des contrastes Mode Clair (WCAG AA/AAA >= 7:1)
   sur les titres d'accueil, cartes L'Actu, YouTube, Radar Sorties à venir, bandeau X et pilule Header */
html.theme-light #tab-home > section h2,
html[data-theme="light"] #tab-home > section h2,
html.theme-light #tab-home .home-section-header h2,
html[data-theme="light"] #tab-home .home-section-header h2,
html.theme-light #home-automated-deals-section h2,
html[data-theme="light"] #home-automated-deals-section h2,
html.theme-light #dashboard-youtube-showcase h3:not(.yt-dash-cinema-title),
html[data-theme="light"] #dashboard-youtube-showcase h3:not(.yt-dash-cinema-title) {
  color: #0F172A !important;
}

/* L'Actu : titres des 4 articles */
html.theme-light #home-news-bento-grid .tsp-home-news-mini-card h3,
html[data-theme="light"] #home-news-bento-grid .tsp-home-news-mini-card h3,
html.theme-light #home-news-list .tsp-home-news-mini-card h3,
html[data-theme="light"] #home-news-list .tsp-home-news-mini-card h3 {
  color: #0F172A !important;
}
html.theme-light #home-news-bento-grid .tsp-home-news-mini-card:hover h3,
html[data-theme="light"] #home-news-bento-grid .tsp-home-news-mini-card:hover h3 {
  color: #0F766E !important;
}

/* Radar des sorties : titres des jeux de "Prochaines sorties attendues" (hors bannière photo sombre) */
html.theme-light #home-releases-radar .tsp-radar-row,
html[data-theme="light"] #home-releases-radar .tsp-radar-row {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html.theme-light #home-releases-radar .tsp-radar-row:hover,
html[data-theme="light"] #home-releases-radar .tsp-radar-row:hover {
  background: #F0FDFA !important;
  border-color: rgba(13, 148, 136, 0.42) !important;
}
html.theme-light #home-releases-radar .tsp-radar-row .text-white,
html[data-theme="light"] #home-releases-radar .tsp-radar-row .text-white,
html.theme-light #home-releases-radar .tsp-radar-row .text-xs.font-extrabold,
html[data-theme="light"] #home-releases-radar .tsp-radar-row .text-xs.font-extrabold,
html.theme-light #home-calendar-list .tsp-radar-row .text-white,
html[data-theme="light"] #home-calendar-list .tsp-radar-row .text-white {
  color: #0F172A !important;
}
html.theme-light #home-releases-radar .tsp-radar-row:hover .text-white,
html[data-theme="light"] #home-releases-radar .tsp-radar-row:hover .text-white,
html.theme-light #home-releases-radar .tsp-radar-row:hover .text-xs.font-extrabold,
html[data-theme="light"] #home-releases-radar .tsp-radar-row:hover .text-xs.font-extrabold {
  color: #0F766E !important;
}

/* Vidéos YouTube : rangée du haut ET rangée secondaire du bas (.yt-dash-quick-pill) */
html.theme-light #dashboard-youtube-showcase .yt-dash-cinema-title,
html[data-theme="light"] #dashboard-youtube-showcase .yt-dash-cinema-title,
html.theme-light #dashboard-youtube-showcase .yt-dash-quick-pill h3,
html[data-theme="light"] #dashboard-youtube-showcase .yt-dash-quick-pill h3,
html.theme-light #home-youtube-grid h3,
html[data-theme="light"] #home-youtube-grid h3 {
  color: #0F172A !important;
}
html.theme-light #dashboard-youtube-showcase .yt-dash-cinema-card:hover .yt-dash-cinema-title,
html[data-theme="light"] #dashboard-youtube-showcase .yt-dash-cinema-card:hover .yt-dash-cinema-title,
html.theme-light #dashboard-youtube-showcase .yt-dash-quick-pill:hover h3,
html[data-theme="light"] #dashboard-youtube-showcase .yt-dash-quick-pill:hover h3 {
  color: #0F766E !important;
}

/* Encart X ("Actualité rapide") : lien compte, bouton Suivre sur X à gauche de + Post, + Post, et cartes de tweets */
html.theme-light #home-x-banner,
html[data-theme="light"] #home-x-banner {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html.theme-light #home-x-banner a:not(.bg-black),
html[data-theme="light"] #home-x-banner a:not(.bg-black) {
  color: #0F172A !important;
}
html.theme-light #home-x-banner .tsp-x-identity-col a.rounded-xl[href*="x.com"],
html[data-theme="light"] #home-x-banner .tsp-x-identity-col a.rounded-xl[href*="x.com"],
html.theme-light #home-x-banner #home-x-admin-sync-btn,
html[data-theme="light"] #home-x-banner #home-x-admin-sync-btn {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}
html.theme-light #home-x-banner .tsp-x-identity-col a.rounded-xl[href*="x.com"]:hover,
html[data-theme="light"] #home-x-banner .tsp-x-identity-col a.rounded-xl[href*="x.com"]:hover,
html.theme-light #home-x-banner #home-x-admin-sync-btn:hover,
html[data-theme="light"] #home-x-banner #home-x-admin-sync-btn:hover {
  background: #E2E8F0 !important;
  border-color: #0D9488 !important;
  color: #0F172A !important;
}
html.theme-light #home-x-tweets-grid .tsp-x-tweet-card,
html[data-theme="light"] #home-x-tweets-grid .tsp-x-tweet-card,
html.theme-light #home-x-feed .tsp-x-tweet-card,
html[data-theme="light"] #home-x-feed .tsp-x-tweet-card {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}
html.theme-light #home-x-tweets-grid .tsp-x-tweet-card:hover,
html[data-theme="light"] #home-x-tweets-grid .tsp-x-tweet-card:hover {
  background: #F0FDFA !important;
  border-color: rgba(13, 148, 136, 0.42) !important;
}
html.theme-light #home-x-tweets-grid .tsp-x-tweet-card .text-white,
html[data-theme="light"] #home-x-tweets-grid .tsp-x-tweet-card .text-white,
html.theme-light #home-x-feed .tsp-x-tweet-card .text-white,
html[data-theme="light"] #home-x-feed .tsp-x-tweet-card .text-white {
  color: #0F172A !important;
}
html.theme-light #home-x-tweets-grid .tsp-x-tweet-card .tsp-x-tweet-text,
html[data-theme="light"] #home-x-tweets-grid .tsp-x-tweet-card .tsp-x-tweet-text {
  color: #1E293B !important;
}

/* Header : pilule utilisateur connectée (#user-profile-badge / #user-name-label) */
html.theme-light #user-profile-badge,
html[data-theme="light"] #user-profile-badge,
html.theme-light #user-profile-badge #user-name-label,
html[data-theme="light"] #user-profile-badge #user-name-label,
html.theme-light #user-profile-badge #user-dropdown-arrow,
html[data-theme="light"] #user-profile-badge #user-dropdown-arrow,
html.theme-light #header-user-btn,
html[data-theme="light"] #header-user-btn,
html.theme-light #user-profile-pill,
html[data-theme="light"] #user-profile-pill {
  color: #0F172A !important;
}

/* Préservation explicite du texte blanc sur toutes les cartes photo/bannières sombres de l'accueil */
html.theme-light .tsp-hero-carousel-card h2,
html[data-theme="light"] .tsp-hero-carousel-card h2,
html.theme-light .tsp-hero-carousel-card p,
html[data-theme="light"] .tsp-hero-carousel-card p,
html.theme-light .tsp-hero-carousel-card .text-white:not(.badge-keep-dark),
html[data-theme="light"] .tsp-hero-carousel-card .text-white:not(.badge-keep-dark),
html.theme-light .tsp-radar-hero-banner h3,
html[data-theme="light"] .tsp-radar-hero-banner h3,
html.theme-light .tsp-radar-hero-banner .text-white:not(.badge-keep-dark),
html[data-theme="light"] .tsp-radar-hero-banner .text-white:not(.badge-keep-dark),
html.theme-light .tsp-radar-hero-banner span:not(.badge-keep-dark),
html[data-theme="light"] .tsp-radar-hero-banner span:not(.badge-keep-dark),
html.theme-light .yt-dash-cinema-thumb .text-white,
html[data-theme="light"] .yt-dash-cinema-thumb .text-white,
html.theme-light .yt-duration-badge,
html[data-theme="light"] .yt-duration-badge {
  color: #FFFFFF !important;
}
html.theme-light .badge-keep-dark,
html[data-theme="light"] .badge-keep-dark,
html.theme-light .badge-keep-dark *,
html[data-theme="light"] .badge-keep-dark * {
  color: #0F172A !important;
}

/* =========================================================================
   CALENDRIER : PRÉCOMMANDES DU MOIS & CARTES OFFSCREEN (DARK & LIGHT MODES)
   ========================================================================= */
.tsp-cal-release-row.cal-cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 84px;
}

.tsp-cal-preorder-row {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.10);
}
.tsp-cal-preorder-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(13, 148, 136, 0.45);
}
.tsp-cal-preorder-cover {
  width: 40px;
  height: 52px;
}
.tsp-cal-preorder-plat {
  font-size: 9.5px;
  line-height: 1.25;
  background-color: #1E293B !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
.tsp-cal-preorder-date {
  font-size: 9.5px;
  line-height: 1.25;
  background: rgba(13, 148, 136, 0.16);
  color: #5EEAD4;
  border: 1px solid rgba(13, 148, 136, 0.32);
}
.tsp-cal-preorder-merchant {
  font-size: 10.5px;
  line-height: 1.25;
}
.tsp-cal-preorder-discount {
  font-size: 9.5px;
  line-height: 1.2;
}
.tsp-cal-preorder-cta {
  font-size: 10px;
  line-height: 1.25;
  background: rgba(13, 148, 136, 0.20);
  color: #5EEAD4;
  border: 1px solid rgba(13, 148, 136, 0.38);
}

html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row,
html.theme-light .tsp-cal-preorder-row,
html[data-theme="light"] .tsp-cal-preorder-row {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row:hover,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row:hover,
html.theme-light .tsp-cal-preorder-row:hover,
html[data-theme="light"] .tsp-cal-preorder-row:hover {
  background: #F0FDFA !important;
  border-color: #0D9488 !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-title,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-title,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-title,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-title {
  color: #0F172A !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row:hover .tsp-cal-preorder-title,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row:hover .tsp-cal-preorder-title,
html.theme-light .tsp-cal-preorder-row:hover .tsp-cal-preorder-title,
html[data-theme="light"] .tsp-cal-preorder-row:hover .tsp-cal-preorder-title {
  color: #0F766E !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-plat,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-plat,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-plat,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-plat {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
  border-color: #0F172A !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-date,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-date,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-date,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-date {
  background: #CCFBF1 !important;
  color: #0F766E !important;
  border-color: #5EEAD4 !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-merchant,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-merchant,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-merchant,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-merchant {
  color: #0F766E !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-price,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-price,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-price,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-price {
  color: #047857 !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-retail,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-retail,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-retail,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-retail {
  color: #64748B !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-discount,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-discount,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-discount,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-discount {
  background: #D1FAE5 !important;
  color: #065F46 !important;
  border-color: #6EE7B7 !important;
}
html.theme-light #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-cta,
html[data-theme="light"] #tab-calendar #cal-sidebar-upcoming-list a.tsp-cal-preorder-row .tsp-cal-preorder-cta,
html.theme-light .tsp-cal-preorder-row .tsp-cal-preorder-cta,
html[data-theme="light"] .tsp-cal-preorder-row .tsp-cal-preorder-cta {
  background: #0F766E !important;
  color: #FFFFFF !important;
  border-color: #0F766E !important;
}
html.theme-light #cal-sidebar-preorders-summary .tsp-cal-preorder-summary-note,
html[data-theme="light"] #cal-sidebar-preorders-summary .tsp-cal-preorder-summary-note {
  color: #334155 !important;
}
html.theme-light #cal-sidebar-preorders-summary .tsp-cal-preorder-summary-note strong,
html[data-theme="light"] #cal-sidebar-preorders-summary .tsp-cal-preorder-summary-note strong {
  color: #047857 !important;
}
html.theme-light #cal-sidebar-preorders-summary .tsp-cal-preorder-catalog-btn,
html[data-theme="light"] #cal-sidebar-preorders-summary .tsp-cal-preorder-catalog-btn {
  background: #0F766E !important;
  color: #FFFFFF !important;
  border-color: #0F766E !important;
}
html.theme-light #cal-sidebar-preorders-summary .tsp-cal-preorder-catalog-btn span,
html[data-theme="light"] #cal-sidebar-preorders-summary .tsp-cal-preorder-catalog-btn span {
  color: #FFFFFF !important;
}
html.theme-light .cal-expand-day-btn,
html[data-theme="light"] .cal-expand-day-btn {
  background: rgba(124, 58, 237, 0.08) !important;
  border-color: rgba(124, 58, 237, 0.25) !important;
  color: #6D28D9 !important;
}




