
button,
label,
select,
.nav-tab,
.mobile-tab,
.chip,
.steam-chip,
.cal-chip,
.cal-plat,
.sagas-filter-btn,
.news-chip,
#auto-basket-view,
#manual-cart-view .glass-card {
  -webkit-user-select: none;
  user-select: none;
}
.sim-budget-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
}
.sim-budget-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34D399, #06B6D4);
  border: 2px solid #06070A;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.65);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sim-budget-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
}
.sim-budget-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34D399, #06B6D4);
  border: 2px solid #06070A;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.65);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* =========================================================================
   ACTUALITES : badges lisibles + lecteur d'article (v2)
   ========================================================================= */
.news-badge {
  --nb-color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 7px;
  border-radius: 7px;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .02em;
  color: #F8FAFC;
  background: rgba(5, 7, 12, .9);
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--nb-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  text-shadow: none;
  white-space: nowrap;
}
.news-badge svg, .news-badge i { width: 12px; height: 12px; color: var(--nb-color); flex-shrink: 0; }
.news-badge--lg { font-size: 11px; padding: 4px 10px 4px 8px; text-transform: uppercase; letter-spacing: .06em; }
.news-badge--releases { --nb-color: #34D399; }
.news-badge--industry { --nb-color: #22D3EE; }
.news-badge--hardware { --nb-color: #C084FC; }
.news-badge--updates  { --nb-color: #FBBF24; }
.news-badge--general  { --nb-color: #94A3B8; }
/* --- Lecteur d'article --- */
#news-reader-modal .news-reader-panel {
  position: relative;
  width: 100%;
  max-width: 1280px !important;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #0A0D14;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .8);
}
#news-reader-modal .news-reader-sticky-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] #news-reader-modal .news-reader-sticky-topbar,
html.theme-light #news-reader-modal .news-reader-sticky-topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}
#news-reader-modal .news-reader-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#news-reader-modal .news-reader-hero {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 46vh;
  overflow: hidden;
  background: #05070B;
}
#news-reader-modal .news-reader-hero-bg,
#news-modal-img-bg {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(.45) saturate(1.2);
  transform: scale(1.08);
  overflow: hidden !important;
  contain: paint;
}
#news-reader-modal .news-reader-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* jamais etiree ni rognee */
  display: block;
}
#news-reader-modal .news-reader-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  z-index: 2;
  background: linear-gradient(to top, #0A0D14, transparent);
  pointer-events: none;
}
#news-reader-modal .news-reader-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  background: rgba(5, 7, 12, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#news-reader-modal .news-reader-close:hover { background: rgba(5, 7, 12, .95); color: #fff; }
#news-reader-modal .news-reader-article {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 34px 36px;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 1.5rem 1.25rem !important;
}
#news-reader-modal .news-reader-lede {
  margin-top: 14px;
  font-size: 1.08rem;
  line-height: 1.68;
  font-weight: 600;
  color: #E2E8F0;
}
#news-reader-modal .news-reader-body {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.85;
  color: #CBD5E1;
  margin-top: 0.5rem !important;
  padding-top: 0 !important;
  border-top: none !important;
  max-width: none !important;
}
#news-reader-modal .news-reader-body p { margin: 0 0 1.05em;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
  margin-bottom: 1.15rem !important;
  max-width: none !important;
}
#news-reader-modal .news-reader-body h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  border-left: 4px solid var(--accent-primary, #10B981);
  padding-left: 12px;
}
#news-reader-modal .news-reader-body h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #F1F5F9;
  line-height: 1.35;
}
#news-reader-modal .news-reader-body h4 {
  margin: 1.6em 0 .6em;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}
#news-reader-modal .news-reader-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--accent-primary, #10B981);
  background: rgba(16, 185, 129, 0.08);
  border-radius: 0 16px 16px 0;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 600;
  color: #F8FAFC;
  line-height: 1.6;
}
#news-reader-modal .news-reader-body .studio-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #E2E8F0;
  line-height: 1.65;
}
#news-reader-modal .news-reader-body ul,
#news-reader-modal .news-reader-body ol {
  margin: 14px 0 14px 22px;
  padding-left: 14px;
}
#news-reader-modal .news-reader-body ul { list-style-type: disc; }
#news-reader-modal .news-reader-body ol { list-style-type: decimal; }
#news-reader-modal .news-reader-body li { margin-bottom: 6px; }
#news-reader-modal .news-reader-body figure {
  margin: 1.75rem auto;
  max-width: 65%;
  text-align: center;
}
#news-reader-modal .news-reader-body figure.studio-figure.size-sm {
  max-width: 40%;
  margin: 1.5rem auto;
}
#news-reader-modal .news-reader-body figure.studio-figure.size-md {
  max-width: 65%;
  margin: 1.75rem auto;
}
#news-reader-modal .news-reader-body figure.studio-figure.size-lg {
  max-width: 100%;
  margin: 2rem auto;
}
#news-reader-modal .news-reader-body figure img,
#news-reader-modal .news-reader-body img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#news-reader-modal .news-reader-body figure img:hover,
#news-reader-modal .news-reader-body img:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
#news-reader-modal .news-reader-body figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  color: #94A3B8;
  font-style: italic;
}
.studio-tech-sheet {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(52, 211, 153, 0.28);
  transition: border-color 180ms ease, background-color 180ms ease;
}
.tsp-accordion-banner > summary.tsp-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.tsp-accordion-banner > summary.tsp-accordion-summary::-webkit-details-marker {
  display: none;
}
.tsp-accordion-chevron {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34D399;
}
.tsp-accordion-chevron .tsp-chevron-svg {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.tsp-accordion-banner[open] .tsp-accordion-chevron .tsp-chevron-svg {
  transform: rotate(180deg);
}
.studio-tech-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (min-width: 640px) {
  .studio-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.studio-tech-item {
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.studio-tech-lbl,
.studio-tech-label {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
}
.studio-tech-val,
.studio-tech-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
  line-height: 1.35;
}
@media (max-width: 640px) {
  #news-reader-modal { padding: 0 !important; }
  #news-reader-modal .news-reader-panel { max-height: 100vh; height: 100%; border-radius: 0; }
  #news-reader-modal .news-reader-hero { max-height: 34vh; }
  #news-reader-modal .news-reader-article { padding: 16px 16px 28px; }
  #news-reader-modal .news-reader-body { font-size: 1.02rem; line-height: 1.8; }
  #news-reader-modal .news-reader-body figure,
  #news-reader-modal .news-reader-body figure.studio-figure.size-sm,
  #news-reader-modal .news-reader-body figure.studio-figure.size-md,
  #news-reader-modal .news-reader-body figure.studio-figure.size-lg {
    max-width: 100%;
  }
}
/* =========================================================================
   ACTUALITES v3 : redactions JV / Tech, rubriques, "Mes jeux"
   ========================================================================= */
.news-badge--pc       { --nb-color: #C084FC; }
.news-badge--mobile   { --nb-color: #38BDF8; }
.news-badge--ai       { --nb-color: #F472B6; }
.news-badge--software { --nb-color: #FBBF24; }
.news-toolbar { position: relative; z-index: 2; }
.news-desk-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}
.news-desk-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #94A3B8;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.news-desk-btn:hover { color: #E2E8F0; background: rgba(255, 255, 255, .04); }
.news-desk-btn.active {
  color: #ECFDF5;
  background: linear-gradient(135deg, rgba(16, 185, 129, .28), rgba(6, 182, 212, .22));
  border-color: rgba(52, 211, 153, .45);
  box-shadow: 0 4px 16px -6px rgba(16, 185, 129, .55);
}
#news-desk-tech.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, .3), rgba(56, 189, 248, .22));
  border-color: rgba(167, 139, 250, .5);
  box-shadow: 0 4px 16px -6px rgba(139, 92, 246, .55);
}
#news-desk-studio.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, .32), rgba(245, 158, 11, .24));
  border-color: rgba(52, 211, 153, .55);
  color: #ECFDF5;
  box-shadow: 0 4px 18px -6px rgba(16, 185, 129, .6);
}
.news-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 150ms ease;
}
.news-tag-pill:hover {
  color: #F8FAFC;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(52, 211, 153, 0.35);
}
.news-tag-pill.active {
  color: #ECFDF5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.32), rgba(6, 182, 212, 0.24));
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 2px 10px -2px rgba(16, 185, 129, 0.45);
}
.news-card-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  transition: all 150ms ease;
}
.news-card-tag-chip:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(52, 211, 153, 0.55);
  color: #ECFDF5;
}
.news-card--studio {
  border-color: rgba(52, 211, 153, 0.38) !important;
  box-shadow: 0 14px 36px -14px rgba(16, 185, 129, 0.25);
}
.news-search-input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 34px;
  border-radius: 11px;
  font-size: 13px;
  color: #E2E8F0;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .1);
}
.news-search-input:focus { border-color: rgba(52, 211, 153, .5); }
#pi-alert-target.news-search-input { padding-left: 12px; }
.news-icon-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
}
.news-icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.news-chip--mine.active, .news-chip--mine:hover { border-color: rgba(251, 146, 60, .6) !important; color: #FDBA74 !important; }
/* =========================================================================
   FICHE PRIX (courbe, verdict, alerte)
   ========================================================================= */
#price-insights-modal { z-index: 9998 !important; }
#price-insights-modal .pi-panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #0A0D14;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .8);
}
#price-insights-modal .news-reader-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #E2E8F0; background: rgba(5, 7, 12, .78); border: 1px solid rgba(255, 255, 255, .16); cursor: pointer; }
#price-insights-modal .pi-scroll { overflow-y: auto; overscroll-behavior: contain; }
#price-insights-modal .pi-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 60px 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(16, 185, 129, .08), transparent);
}
#price-insights-modal .pi-cover { width: 120px; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); flex-shrink: 0; }
#price-insights-modal .pi-verdict {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: #E2E8F0;
}
#price-insights-modal .pi-verdict--buy  { background: rgba(16, 185, 129, .14); border-color: rgba(52, 211, 153, .45); color: #D1FAE5; }
#price-insights-modal .pi-verdict--good { background: rgba(56, 189, 248, .12); border-color: rgba(56, 189, 248, .4); color: #E0F2FE; }
#price-insights-modal .pi-verdict--wait { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .4); color: #FEF3C7; }
#price-insights-modal .pi-stat { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .07); }
#price-insights-modal .pi-stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; font-weight: 700; }
#price-insights-modal .pi-stat-value { font-size: 17px; font-weight: 900; color: #fff; margin-top: 2px; font-family: var(--font-mono, ui-monospace, monospace); }
#price-insights-modal .pi-stat-hint { font-size: 10px; color: #64748B; margin-top: 2px; }
#price-insights-modal .pi-chart-box { position: relative; height: 240px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .07); }
#price-insights-modal .pi-alert-box { padding: 14px; border-radius: 14px; background: rgba(251, 191, 36, .05); border: 1px solid rgba(251, 191, 36, .2); }
#price-insights-modal #pi-alert-enabled { accent-color: #10B981; }
@media (max-width: 640px) {
  #price-insights-modal { padding: 0 !important; }
  #price-insights-modal .pi-panel { max-height: 100vh; height: 100%; border-radius: 0; }
  #price-insights-modal .pi-cover { width: 88px; }
}
.game-news-item img { aspect-ratio: 16 / 9; }
/* Carte "À la une" (Actualités) & Barre de saut mensuel rapide (Calendrier) */
.news-badge--hero {
  --nb-color: #34D399;
  background: rgba(6, 78, 59, 0.92);
  border-color: rgba(52, 211, 153, 0.65);
  color: #ECFDF5;
}
.news-hero-card {
  border-color: rgba(52, 211, 153, 0.32);
  background: linear-gradient(165deg, rgba(16, 30, 38, 0.92) 0%, rgba(9, 12, 19, 0.96) 100%);
}
@media (min-width: 640px) {
  .news-hero-card {
    grid-column: span 2 / span 2;
  }
}
.cal-month-pill {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 150ms ease;
}
.cal-month-pill:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.cal-month-pill.active {
  color: #ECFDF5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(6, 182, 212, 0.22));
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 2px 10px -2px rgba(16, 185, 129, 0.45);
}
/* =========================================================================
   MODULE YOUTUBE (THE SHARE PLAYERS OFFICIAL CHANNEL)
   ========================================================================= */
.yt-filter-pill {
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.yt-filter-pill:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}
.yt-filter-pill.active {
  color: #F8FAFC;
  background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.28), rgba(6, 182, 212, 0.22));
  border-color: rgba(var(--accent-primary-rgb), 0.55);
  box-shadow: 0 6px 20px -4px rgba(var(--accent-primary-rgb), 0.35);
}
.yt-card {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms ease, box-shadow 200ms ease;
}
.yt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-primary-rgb), 0.45);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85), 0 0 25px -6px rgba(var(--accent-primary-rgb), 0.25);
}
.yt-play-overlay {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.92) 0%, rgba(185, 28, 28, 0.96) 100%);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.55);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.yt-card:hover .yt-play-overlay {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.75);
}
/* Petit badge Play discret en bas à droite de la miniature (ne masque jamais le texte de la miniature) */
.yt-play-corner {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
  z-index: 3;
}
.yt-card:hover .yt-play-corner {
  background: #EF4444;
  border-color: rgba(252, 165, 165, 0.55);
  transform: scale(1.06);
}
/* Badges haute lisibilité sur les miniatures YouTube (fond sombre opaque + liseré coloré) */
.yt-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  background: rgba(6, 9, 15, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left-width: 3px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.88), 0 1px 3px rgba(0, 0, 0, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}
.yt-cat-emissions {
  color: #E9D5FF !important;
  border-color: rgba(192, 132, 252, 0.45) !important;
  border-left-color: #C084FC !important;
}
.yt-cat-tests {
  color: #A7F3D0 !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  border-left-color: #34D399 !important;
}
.yt-cat-quotidienne {
  color: #FDE68A !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
  border-left-color: #FBBF24 !important;
}
.yt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: rgba(185, 28, 28, 0.95) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(252, 165, 165, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.88);
}
/* =========================================================================
   LOGO DE MARQUE ADAPTÉ AUX 3 THÈMES (1024.PNG RETRAVAILLÉ) & BADGE ON AIR
   ========================================================================= */
.brand-logo-box {
  background: transparent;
  padding: 1px;
}
.brand-logo-img {
  display: none;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.72));
}
#brand-header-logo-img {
  display: block;
}
.brand-header-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}
@media (min-width: 640px) {
  .brand-header-logo {
    height: 52px;
  }
}
.brand-yt-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}
@media (min-width: 640px) {
  .brand-yt-logo {
    height: 66px;
  }
}
.brand-footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}
html.theme-aurora .brand-logo-aurora,
html[data-theme="aurora"] .brand-logo-aurora,
html:not(.theme-radar):not(.theme-spatial) .brand-logo-aurora {
  display: block;
}
html.theme-radar .brand-logo-radar,
html[data-theme="radar"] .brand-logo-radar {
  display: block;
}
html.theme-spatial .brand-logo-spatial,
html[data-theme="spatial"] .brand-logo-spatial {
  display: block;
}
/* Badge ON AIR (identique à FloatingOnAirBadge.kt de l'application Android SharePlayers) */
@keyframes onAirPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.65), 0 6px 18px -2px rgba(183, 28, 28, 0.85);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(229, 57, 53, 0), 0 8px 24px 0 rgba(229, 57, 53, 0.95);
  }
}
@keyframes onAirDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}
.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, #E53935 0%, #B71C1C 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  animation: onAirPulse 1.6s infinite ease-in-out;
  white-space: nowrap;
  flex-shrink: 0;
}
.on-air-badge.hidden {
  display: none !important;
}
.on-air-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  animation: onAirDotBlink 1s infinite ease-in-out;
}
.on-air-text {
  line-height: 1;
}
.brand-logo-accent {
  background: linear-gradient(90deg, #34D399 0%, #22D3EE 55%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html.theme-radar .brand-logo-accent,
html[data-theme="radar"] .brand-logo-accent {
  background: linear-gradient(90deg, #22D3EE 0%, #34D399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html.theme-spatial .brand-logo-accent,
html[data-theme="spatial"] .brand-logo-accent {
  background: linear-gradient(90deg, #A5F3FC 0%, #C4B5FD 55%, #F9A8D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Compaction chirurgicale de la barre de navigation pour éviter tout débordement */
#main-header > div {
  max-width: 1280px;
  width: 100%;
}
.nav-pill-dock {
  padding: 4px !important;
  gap: 2px !important;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-pill-dock::-webkit-scrollbar {
  display: none;
}
.nav-pill-dock .nav-tab {
  padding: 6px 8px !important;
  font-size: 11.5px !important;
  gap: 5px !important;
}
@media (min-width: 1280px) {
  .nav-pill-dock .nav-tab {
    padding: 6px 9.5px !important;
    font-size: 12px !important;
  }
}
/* =========================================================================
   MODULE MÉTHODOLOGIE D'ANALYSE TECHNIQUE (THE SHARE PLAYERS LAB)
   ========================================================================= */
#tab-methodology:not(.hidden) {
  display: flex;
  flex-direction: column;
  gap: 36px !important;
  padding-bottom: 32px;
}
#tab-methodology .meth-hero.glass-card,
.meth-hero {
  position: relative !important;
  overflow: hidden !important;
  contain: paint;
  background: linear-gradient(145deg, rgba(11, 22, 34, 0.95) 0%, rgba(8, 12, 20, 0.98) 60%, rgba(16, 28, 26, 0.95) 100%);
  padding: 28px !important;
}
@media (min-width: 640px) {
  .meth-hero {
    padding: 40px !important;
  }
}
.meth-hero-glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
  pointer-events: none;
}
.meth-toc-pill {
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.meth-toc-pill:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.1);
}
.meth-toc-pill.active {
  color: #ECFDF5;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(6, 182, 212, 0.22));
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 4px 14px -2px rgba(16, 185, 129, 0.4);
}
.meth-section {
  scroll-margin-top: 132px;
  display: flex;
  flex-direction: column;
  gap: 24px !important;
  padding: 24px !important;
}
@media (min-width: 640px) {
  .meth-section {
    padding: 34px !important;
    gap: 28px !important;
  }
}
.meth-section > .grid {
  gap: 20px !important;
}
.meth-media-card {
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.8);
}
.meth-figure {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 16px;
}
.meth-figure img {
  transition: transform 250ms ease;
}
.meth-figure:hover img {
  transform: scale(1.012);
}
/* Encadré Vert Émeraude (#10b981) : Pourquoi notre mesure est fiable */
.meth-trust-panel {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.11) 0%, rgba(6, 78, 59, 0.18) 100%);
  border: 1px solid rgba(16, 185, 129, 0.42);
  box-shadow: inset 0 1px 0 0 rgba(52, 211, 153, 0.18);
  padding: 22px !important;
}
/* Encadré Ambre (#f59e0b) : Les limites honnêtes de cette analyse */
.meth-limit-panel {
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.10) 0%, rgba(120, 53, 15, 0.18) 100%);
  border: 1px solid rgba(245, 158, 11, 0.42);
  box-shadow: inset 0 1px 0 0 rgba(251, 191, 36, 0.16);
  padding: 22px !important;
}
.home-news-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  flex: 1;
  width: 100%;
}
@media (min-width: 768px) {
  .home-news-bento {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 16px;
  }
}
.home-deals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
}
@media (min-width: 768px) {
  .home-deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .home-deals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-deal-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
}
/* Alignement uniforme des barres d'en-tête sur l'Accueil (remplace pb-3.5 absent de tailwind.min.css) */
.home-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  padding-bottom: 14px !important;
  margin-bottom: 4px;
}
@media (max-width: 639px) {
  #header-studio-btn {
    display: none !important;
  }
}
/* Fallback explicite pour les classes absentes du build statique tailwind.min.css */
.bg-red-600 {
  background-color: #DC2626 !important;
  color: #FFFFFF !important;
}
.bg-red-600:hover {
  background-color: #EF4444 !important;
}
.theme-switcher-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 6px !important;
  width: 100%;
}
/* ========================================================================= */
/* MENU DÉROULANT DE THÈME (#quick-theme-dropdown) — VERRERIE OPAQUE         */
/* ========================================================================= */
#quick-theme-dropdown {
  background: rgba(11, 15, 25, 0.96) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(16, 185, 129, 0.18) !important;
}
html.theme-radar #quick-theme-dropdown {
  background: rgba(4, 14, 18, 0.97) !important;
  border-color: rgba(6, 182, 212, 0.45) !important;
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.90), 0 0 20px rgba(6, 182, 212, 0.18) !important;
}
html.theme-spatial #quick-theme-dropdown {
  background: rgba(24, 16, 42, 0.96) !important;
  border-color: rgba(196, 181, 253, 0.35) !important;
  box-shadow: 0 22px 48px -12px rgba(8, 4, 20, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}
html.theme-light #quick-theme-dropdown {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: 0 20px 42px -10px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}
html.theme-light #quick-theme-dropdown button {
  color: #0F172A !important;
}
html.theme-light #quick-theme-dropdown button:hover {
  background: rgba(16, 185, 129, 0.10) !important;
  color: #047857 !important;
}
#quick-theme-dropdown button.active-theme-opt {
  background: rgba(var(--accent-primary-rgb), 0.16) !important;
  color: var(--accent-primary) !important;
  border: 1px solid rgba(var(--accent-primary-rgb), 0.35) !important;
}
/* ========================================================================= */
/* POLYFILL DES CLASSES ARBITRAIRES ABSENTES DE TAILWIND.MIN.CSS (V133)      */
/* ========================================================================= */
.bg-\[\#060911\] { background-color: #060911; }
.bg-\[\#070A10\] { background-color: #070A10; }
.bg-\[\#0B0F17\]\/95 { background-color: rgba(11, 15, 23, 0.95); }
.bg-\[\#080B12\]\/95 { background-color: rgba(8, 11, 18, 0.95); }
.bg-\[\#090B10\]\/92 { background-color: rgba(9, 11, 16, 0.92); }
.bg-\[\#090B10\]\/95 { background-color: rgba(9, 11, 16, 0.95); }
.bg-\[\#090B10\]\/98 { background-color: rgba(9, 11, 16, 0.98); }
.bg-\[\#080B11\]\/98 { background-color: rgba(8, 11, 17, 0.98); }
.bg-\[\#0b0f19\] { background-color: #0b0f19; }
.bg-\[\#0b0f19\]\/95 { background-color: rgba(11, 15, 25, 0.95); }
.bg-\[\#0b0f19\]\/98 { background-color: rgba(11, 15, 25, 0.98); }
.bg-\[\#0a111a\]\/98 { background-color: rgba(10, 17, 26, 0.98); }
.text-sky-300 { color: #7DD3FC; }
.text-sky-400 { color: #38BDF8; }
.text-sky-300\/80 { color: rgba(125, 211, 252, 0.80); }
.bg-sky-500\/15 { background-color: rgba(14, 165, 233, 0.15); }
.bg-sky-500\/20 { background-color: rgba(14, 165, 233, 0.20); }
.border-sky-500\/30 { border-color: rgba(14, 165, 233, 0.30); }
.bg-white\/\[0\.05\] { background-color: rgba(255, 255, 255, 0.05); }
.hover\:bg-white\/\[0\.09\]:hover { background-color: rgba(255, 255, 255, 0.09); }
/* Classes utilitaires absentes du build statique tailwind.min.css */
.z-\[10000\] { z-index: 10000 !important; }
.z-\[9998\] { z-index: 9998 !important; }
.overflow-auto { overflow: auto !important; }
/* Correctif Lightbox HD du Lab (#methodology-lightbox-modal) : toujours au premier plan */
#methodology-lightbox-modal {
  z-index: 10050 !important;
  background: rgba(4, 7, 13, 0.94) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
#methodology-lightbox-modal:not(.hidden) {
  display: flex !important;
}
#methodology-lightbox-modal .meth-lightbox-topbar {
  background: rgba(9, 13, 22, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
}
#methodology-lightbox-modal .meth-lightbox-close-btn {
  background: rgba(239, 68, 68, 0.18) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #FCA5A5 !important;
}
#methodology-lightbox-modal .meth-lightbox-close-btn:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}
/* Correctif Badge Profil Steam & Menu déroulant sans troncature */
#user-profile-badge,
#user-profile-badge > button {
  padding: 4px 10px 4px 5px !important;
  max-width: 190px;
}
#user-avatar-img {
  width: 26px !important;
  height: 26px !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
}
#user-name-label {
  max-width: 105px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#user-dropdown-menu {
  right: 0 !important;
  max-width: calc(100vw - 16px) !important;
}
/* ============================================================================
   PILULE CONTEXTUELLE DE BIENVENUE (OPTION A) & BANNIÈRE COOKIES — COMPACTES
   ============================================================================ */
#welcome-floating-pill.welcome-floating-pill {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  width: 375px !important;
  max-width: calc(100vw - 32px) !important;
  z-index: 9500 !important;
  background: rgba(9, 13, 22, 0.97) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.92), 0 0 25px rgba(16, 185, 129, 0.14) !important;
}
#cookie-consent-banner {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  width: 400px !important;
  max-width: calc(100vw - 32px) !important;
  z-index: 9500 !important;
  background: rgba(9, 13, 22, 0.97) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.92) !important;
}
@media (max-width: 1023px) {
  #welcome-floating-pill.welcome-floating-pill,
  #cookie-consent-banner {
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 13px 14px !important;
    border-radius: 18px !important;
  }
  #cookie-consent-banner:not(.hidden):not([style*="display: none"]) ~ #welcome-floating-pill.welcome-floating-pill {
    display: none !important;
  }
  #user-dropdown-menu {
    max-height: calc(100dvh - 140px) !important;
  }
}
@media (max-width: 768px) {
  #cookie-consent-banner:not(.hidden) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    max-height: none !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    overflow: visible !important;
  }
  #cookie-consent-banner:not(.hidden) > div { flex-direction: row !important; align-items: center !important; gap: 8px !important; width: 100% !important; min-width: 0 !important; }
  #cookie-consent-banner:not(.hidden) .w-11.h-11,
  #cookie-consent-banner:not(.hidden) .w-9.h-9,
  #cookie-consent-banner:not(.hidden) .w-8.h-8,
  #cookie-consent-banner:not(.hidden) h4 { display: none !important; }
  #cookie-consent-banner:not(.hidden) p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  #cookie-consent-banner:not(.hidden) .flex-wrap { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; width: 100% !important; flex-shrink: 1 !important; }
  #cookie-consent-banner:not(.hidden) button { flex: 1 1 auto !important; min-height: 34px !important; padding: 6px 10px !important; font-size: 11px !important; white-space: nowrap !important; justify-content: center !important; }
  .tsp-hero-carousel-card h2,
  .tsp-hero-carousel-title {
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
}
/* ============================================================================
   BADGES DE STATUT HAUTE VISIBILITÉ SUR CARTES DE JEUX (CONTRASTE MAXIMAL 100% OPAQUE)
   Corrige l'absence de bg-*-950/85 dans tailwind.min.css qui rendait les badges transparents
   ============================================================================ */
.bg-emerald-950\/85 { background-color: #032219 !important; }
.bg-cyan-950\/85 { background-color: #042330 !important; }
.bg-amber-950\/85 { background-color: #2B1603 !important; }
.bg-rose-950\/85 { background-color: #2D0612 !important; }
.card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(0, 0, 0, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}
.card-status-badge--stock {
  background: linear-gradient(135deg, #042F23 0%, #064E3B 100%) !important;
  border: 1.5px solid #34D399 !important;
  color: #ECFDF5 !important;
}
.card-status-badge--preorder {
  background: linear-gradient(135deg, #052638 0%, #0C4A6E 100%) !important;
  border: 1.5px solid #38BDF8 !important;
  color: #F0F9FF !important;
}
.card-status-badge--unreleased {
  background: linear-gradient(135deg, #331A04 0%, #78350F 100%) !important;
  border: 1.5px solid #FBBF24 !important;
  color: #FEF3C7 !important;
}
.card-status-badge--out {
  background: linear-gradient(135deg, #380614 0%, #881337 100%) !important;
  border: 1.5px solid #FB7185 !important;
  color: #FFE4E6 !important;
}
.card-status-badge--owned {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
  border: 1.5px solid #2dd4bf !important;
  color: #FFFFFF !important;
}
.card-status-badge--console {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%) !important;
  border: 1.5px solid #60A5FA !important;
  color: #EFF6FF !important;
}
.card-record-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 9px;
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%) !important;
  border: 1.5px solid #FDE68A !important;
  color: #FFFFFF !important;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.92), 0 0 12px rgba(245, 158, 11, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
/* =========================================================================
   MA BIBLIOTHÈQUE MULTI-PLATEFORMES, BOUTONS UNIFIÉS & ÉTOILES PRÉCISION 0.25★
   ========================================================================= */
.btn-theme-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(var(--accent-primary-rgb, 16, 185, 129), 0.35);
  color: #E2E8F0;
  transition: all 0.2s ease;
}
.btn-theme-secondary:hover {
  background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.16);
  border-color: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.65);
  color: #FFFFFF;
}
.console-header-badge,
.console-header-badge--psn,
.console-header-badge--xbox,
.console-header-badge--steam,
.console-header-badge--cloud {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: #CBD5E1 !important;
}
.lib-card-plat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  font-weight: 800;
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}
.lib-card-plat-badge--ps5 {
  background: linear-gradient(135deg, #1D4ED8, #2563EB) !important;
  border: 1px solid #60A5FA !important;
}
.lib-card-plat-badge--xbox {
  background: linear-gradient(135deg, #047857, #10B981) !important;
  border: 1px solid #34D399 !important;
}
.lib-card-plat-badge--switch {
  background: linear-gradient(135deg, #BE123C, #E11D48) !important;
  border: 1px solid #FB7185 !important;
}
.lib-card-plat-badge--gog {
  background: linear-gradient(135deg, #0369A1, #0284C7) !important;
  border: 1px solid #38BDF8 !important;
}
.lib-card-plat-badge--epic {
  background: linear-gradient(135deg, #1E293B, #334155) !important;
  border: 1px solid #94A3B8 !important;
}
.lib-card-plat-badge--pc {
  background: linear-gradient(135deg, #0369A1, #0284C7) !important;
  border: 1px solid #38BDF8 !important;
}
.lib-plat-chip,
.add-lib-plat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1.1;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  transition: all 0.2s ease;
}
.lib-plat-chip:hover,
.add-lib-plat-pill:hover {
  border-color: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.45);
  color: #FFFFFF;
}
.lib-plat-chip.active,
.add-lib-plat-pill.active {
  background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.22) !important;
  border-color: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.65) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
#sg-rating-input-10::-webkit-outer-spin-button,
#sg-rating-input-10::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#sg-rating-input-10 {
  -moz-appearance: textfield;
}
@media (max-width: 767px) {
  html, body {
    max-width: 100vw;
    overflow-x: clip;
  }
  #tab-home,
  #tab-news,
  #tab-youtube,
  #tab-calendar,
  #tab-catalog,
  #tab-stats,
  #tab-dashboard,
  #tab-steam-library,
  #tab-sagas,
  #tab-sync {
    max-width: 100%;
    overflow-x: clip;
  }
  #calendar-header-sticky,
  #catalog-sticky-toolbar {
    top: 58px !important;
    padding: 6px 10px !important;
  }
  .cal-day-header {
    position: relative !important;
    top: auto !important;
  }
  #library-platform-filter-bar,
#yt-playlist-tabs {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* =========================================================================
   YOUTUBE LIVE BANNER & CALENDRIER MULTI-VUES (BENTO / GRID / LIST)
   Dimensions explicites (sans classes Tailwind arbitraires manquantes)
   ========================================================================= */
.yt-live-banner-card {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.78) 0%, rgba(30, 15, 25, 0.88) 60%, rgba(9, 13, 22, 0.95) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.35);
}
.yt-live-banner-title {
  color: #FFFFFF;
}
.yt-live-cta-btn {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px -2px rgba(239, 68, 68, 0.45);
}
/* =========================================================================
   CHANTIERS 1 À 6 — SYSTÈME DE GRILLES & COMPOSANTS (MAQUETTES 1 À 6)
   Sans dépendance aux classes Tailwind arbitraires absentes de tailwind.min.css
   ========================================================================= */
/* --- 1. Grilles Bento & 2 Colonnes (Desktop >= 1024px) --- */
.tsp-bento-row-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.tsp-bento-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.tsp-layout-8-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.tsp-layout-7-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.tsp-kpi-grid-5 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}
.tsp-kpi-icon-box {
  background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.12);
  border: 1px solid rgba(var(--accent-primary-rgb, 16, 185, 129), 0.28);
  color: var(--accent-primary, #10B981);
}
.tsp-kpi-card:hover {
  border-color: var(--card-hover-border, rgba(52, 211, 153, 0.45)) !important;
}
.bilan-subnav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #CBD5E1;
}
.bilan-subnav-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}
.bilan-subnav-btn.active {
  background: var(--accent-primary, #10B981) !important;
  border-color: var(--accent-primary, #10B981) !important;
  color: #041311 !important;
  box-shadow: 0 2px 10px var(--accent-glow, rgba(16, 185, 129, 0.28)) !important;
}
@media (min-width: 640px) {
  .tsp-kpi-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .tsp-bento-row-1 {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
  .tsp-bento-row-2 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .tsp-layout-8-4 {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
  .tsp-layout-7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .tsp-kpi-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
/* --- 3. Maquette 1 : Accueil (Hero Carousel, Cartes Actus 2x3, YouTube 3-col, Radar, Tweets, Podcast) --- */
.tsp-hero-carousel-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px -10px rgba(15, 23, 42, 0.35);
  flex: 1 !important;
  height: 100% !important;
  min-height: 360px !important;
  position: relative !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}
.tsp-hero-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}
.tsp-hero-carousel-card:hover .tsp-hero-carousel-img {
  transform: scale(1.04);
}
.tsp-hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 24, 0.96) 0%, rgba(9, 13, 24, 0.62) 52%, rgba(9, 13, 24, 0.15) 100%);
  pointer-events: none;
}
.tsp-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tsp-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.tsp-carousel-dot.active {
  width: 24px;
  background: #FFFFFF;
}
.tsp-home-news-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 6px 8px !important;
  border-radius: 14px !important;
  transition: background-color 0.18s ease, transform 0.18s ease !important;
}
.tsp-home-news-mini-card:hover {
  transform: translateY(-1px);
  border-color: var(--card-hover-border, rgba(52, 211, 153, 0.45));
}
.tsp-home-news-mini-thumb {
  width: 88px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0F172A;
  width: 96px !important;
  height: 66px !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}
.tsp-radar-hero-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 92px;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tsp-radar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.625rem;
  border-radius: 14px;
  transition: all 0.18s ease;
  cursor: pointer;
}
.tsp-radar-row:hover {
  background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.08);
}
.tsp-radar-row-cover {
  width: 42px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tsp-radar-date-pill {
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(249, 115, 22, 0.16);
  color: #FB923C;
  border: 1px solid rgba(249, 115, 22, 0.32);
  white-space: nowrap;
  flex-shrink: 0;
}
/* --- 4. Maquette 2 : Page Actualités (Hero 300px + Cartes Horizontales + Sidebar 3 Widgets) --- */
.tsp-news-hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 290px;
  height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.tsp-news-horiz-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(17, 22, 37, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.2s ease;
  cursor: pointer;
}
@media (min-width: 640px) {
  .tsp-news-horiz-card {
    flex-direction: row;
    align-items: center;
  }
}
.tsp-news-horiz-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-hover-border, rgba(52, 211, 153, 0.45));
}
.tsp-news-horiz-thumb {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0F172A;
}
@media (min-width: 640px) {
  .tsp-news-horiz-thumb {
    width: 192px;
    height: 116px;
  }
}
.tsp-rank-circle {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px;
  font-weight: 900;
  background: rgba(13, 148, 136, 0.16);
  color: #2DD4BF;
  border: 1px solid rgba(20, 184, 166, 0.35);
  flex-shrink: 0;
}
.tsp-newsletter-card {
  border-radius: 24px;
  padding: 1.35rem;
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 55%, #0d9488 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #FFFFFF;
  box-shadow: 0 14px 32px -10px rgba(13, 148, 136, 0.35);
}
/* --- 5. Maquettes 3 & 4 : Vue Lecture Pleine Page (Article & Test) --- */
#news-reader-modal.tsp-fullpage-reader {
  padding: var(--header-h, 64px) 0 0 0 !important;
  background: rgba(8, 11, 18, 0.96);
  align-items: stretch;
  justify-content: center;
  overflow-y: auto;
}
#news-reader-modal.tsp-fullpage-reader .news-reader-panel {
  width: 100%;
  max-width: 1280px;
  max-height: none;
  min-height: 100vh;
  margin: 0 auto;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
}
#news-reader-modal.tsp-fullpage-reader .news-reader-scroll {
  overflow: visible;
  padding: 1.25rem 1rem 3rem;
}
@media (min-width: 640px) {
  #news-reader-modal.tsp-fullpage-reader .news-reader-scroll {
    padding: 1.75rem 2rem 4rem;
  }
}
.tsp-reader-hero-banner {
  position: relative;
  width: 100%;
  min-height: 310px;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
.tsp-reader-hero-banner .news-reader-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  opacity: 0.45;
  z-index: 0;
}
.tsp-reader-hero-banner .news-reader-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.tsp-reader-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 24, 0.96) 0%, rgba(9, 13, 24, 0.55) 55%, rgba(9, 13, 24, 0.25) 100%);
  z-index: 2;
  pointer-events: none;
}
.tsp-en-bref-card {
  border-radius: 20px;
  padding: 1.25rem;
  background: rgba(13, 148, 136, 0.10);
  border: 1px solid #99f6e4;
}
/* --- 6. Maquette 5 : Calendrier (Hero Sortie du Mois + Lignes Étage 1 + Mini-Calendrier) --- */
.tsp-cal-hero-month {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 310px;
  height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.tsp-cal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 24, 0.96) 0%, rgba(9, 13, 24, 0.58) 55%, rgba(9, 13, 24, 0.18) 100%);
  pointer-events: none;
}
.tsp-mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.tsp-mini-cal-day {
  height: 34px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.tsp-mini-cal-day:hover {
  background: rgba(124, 58, 237, 0.18);
}
.tsp-mini-cal-day.is-selected,
.tsp-mini-cal-day.is-today {
  background: #111827;
  color: #FFFFFF !important;
  font-weight: 900;
}
.tsp-mini-cal-day.has-release::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #7C3AED;
  margin-top: 2px;
}
/* --- 7. Maquette 6 : Mon Backlog (Lignes avec barre de progression % + Pagination) --- */
.tsp-backlog-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  border-radius: 20px;
  background: rgba(17, 22, 37, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.18s ease;
  cursor: pointer;
}
@media (min-width: 640px) {
  .tsp-backlog-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.tsp-backlog-row:hover {
  background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.08);
  border-color: var(--card-hover-border, rgba(52, 211, 153, 0.45));
  transform: translateY(-1px);
}
.tsp-progress-track {
  width: 110px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.22);
  overflow: hidden;
}
.tsp-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #10B981, #059669);
}
/* --- 8. Correctifs Finaux de Finition (Lecteur Pleine Page + Inputs avec Icône) --- */
@media (min-width: 640px) {
  .news-reader-sticky-topbar {
    display: none !important;
  }
}
#news-modal-hero,
#news-reader-modal.tsp-fullpage-reader #news-modal-hero.tsp-reader-hero-banner {
  min-height: 340px !important;
  height: auto !important;
  padding: 1.5rem 1.75rem !important;
  overflow: hidden !important; contain: paint;
}
#news-reader-modal.tsp-fullpage-reader #news-modal-img.news-reader-hero-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#calendar-search-input,
#steam-search,
#news-search-input,
#search-input,
#add-lib-title-input {
  padding-left: 2.35rem !important;
}
/* ============================================================================
   9. CORRECTIFS AUDIT v145.6 (7 CHANTIERS MAQUETTES 1 À 6)
   ============================================================================ */
/* CHANTIER 1.1 — Fix classes arbitraires absentes de tailwind.min.css */
.z-\[110\] { z-index: 9990 !important; }
.z-\[9995\] { z-index: 9995 !important; }
.z-\[9999\] { z-index: 9999 !important; }
.max-h-\[85dvh\] { max-height: 85dvh !important; }
.max-h-\[82vh\] { max-height: 82vh !important; }
.max-h-\[380px\] { max-height: 380px !important; }
/* CHANTIER 3.1 & 3.2 (v149.5) — Lecteur d'Article / Test plein écran sans interstice sous #main-header + Colonne droite élargie */
#main-header {
  z-index: 10005 !important;
}
#news-reader-modal,
#news-reader-modal.tsp-fullpage-reader {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding-top: var(--header-h, 64px) !important;
  z-index: 9990 !important;
  background: var(--bg-void, #0B0F19) !important;
}
html.theme-radar #news-reader-modal {
  background: #040D12 !important;
}
html.theme-spatial #news-reader-modal {
  background: #070914 !important;
}
html.theme-light #news-reader-modal,
html.theme-light #news-reader-modal.tsp-fullpage-reader {
  background: #F3F4F9 !important;
}
body.tsp-reader-active > main {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (min-width: 1024px) {
  #news-reader-modal .tsp-layout-7-5,
  #news-reader-modal .tsp-layout-8-4 {
    grid-template-columns: minmax(0, 1fr) 425px !important;
  }
}
@media (min-width: 1440px) {
  #news-reader-modal .tsp-layout-7-5,
  #news-reader-modal .tsp-layout-8-4 {
    grid-template-columns: minmax(0, 1fr) 450px !important;
  }
}
/* Supprimer la double barre sticky mobile qui fait doublon avec "<- Retour aux actualités" */
.news-reader-sticky-topbar {
  display: none !important;
}
/* CHANTIER 2.2 — Stop aux carrés noirs aveugles en thème clair */
html.theme-light .tsp-hero-glass-btn,
html.theme-light .tsp-hero-glass-btn *,
html.theme-light #news-modal-hero button,
html.theme-light #news-modal-hero button *,
html.theme-light #home-twitter-widget .bg-slate-900,
html.theme-light #home-twitter-widget .bg-slate-900 *,
html.theme-light .tsp-hero-carousel-card *:not(.badge-keep-dark),
html.theme-light .tsp-news-hero-card *:not(.badge-keep-dark),
html.theme-light #news-sidebar-must-read *:not(.badge-keep-dark),
html.theme-light #news-must-see-card *:not(.badge-keep-dark) {
  color: #FFFFFF !important;
}
html.theme-light .tsp-hero-carousel-card.group:hover h2,
html.theme-light .tsp-hero-carousel-card:hover h2,
html.theme-light .tsp-hero-carousel-card.group:hover .group-hover\:text-emerald-300,
html.theme-light .tsp-news-hero-card.group:hover h2,
html.theme-light .tsp-news-hero-card:hover h2,
html.theme-light .tsp-news-hero-card.group:hover .group-hover\:text-emerald-300,
html.theme-light .tsp-radar-hero-banner.group:hover h3,
html.theme-light .tsp-radar-hero-banner:hover h3,
html.theme-light .tsp-radar-hero-banner.group:hover h4 {
  color: #6EE7B7 !important;
}
html.theme-light #news-modal-hero button {
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}
html.theme-light #news-modal-hero button:hover {
  background: rgba(124, 58, 237, 0.85) !important;
}
/* CHANTIER 3.1 — Carrousel Hero Accueil sans trou vide ni bandes noires */
#home-hero-carousel-box {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.badge-keep-dark {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}
.badge-keep-dark * {
  color: #0F172A !important;
}
/* CHANTIER 3.2 — Mini-cartes Actualités Accueil sans fond gris ni bordure encadrée */
html.theme-light .tsp-home-news-mini-card {
  background: transparent !important;
  border: none !important;
  padding: 6px 4px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
html.theme-light .tsp-home-news-mini-card:hover {
  background: #F8FAFC !important;
}
/* CHANTIER 6.3 — Lignes horizontales du Calendrier des Sorties (Maquette 5) */
html.theme-light .tsp-cal-release-row {
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
html.theme-light .tsp-cal-release-row:hover {
  border-color: rgba(13, 148, 136, 0.38) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07) !important;
}
html.theme-light .tsp-cal-release-row h4 {
  color: #0F172A !important;
}
html.theme-light .tsp-cal-release-row .cal-plat-pill {
  background: #F1F5F9 !important;
  color: #334155 !important;
  border-color: #E2E8F0 !important;
}
/* ============================================================================
   10. MISE À JOUR MAJEURE v147.0 (6 CHANTIERS UX, CALENDRIER, AUTH & BONS PLANS)
   ============================================================================ */
/* CHANTIER 1.3 — Encart ⚡ L'Actu en 1 seule colonne verticale de 4 cartes aérées */
#home-news-bento-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  grid-template-columns: none !important;
}
/* CHANTIER 2.1 & 2.4 — Barre de filtres Calendrier non-sticky + Carrés de date adaptés par thème */
#calendar-header-sticky {
  position: static !important;
  top: auto !important;
  z-index: 10 !important;
}
.tsp-cal-date-box {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-variant-numeric: normal !important;
  font-feature-settings: "zero" 0 !important;
}
.tsp-cal-date-box .cal-day-num,
.tsp-cal-date-box .cal-day-mon {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-feature-settings: "zero" 0 !important;
}
html.theme-light .tsp-cal-date-box {
  background: #f0fdfa !important;
  border: 1px solid #99f6e4 !important;
  color: #0f766e !important;
}
html.theme-light .tsp-cal-date-box .cal-day-num {
  color: #0f766e !important;
}
html.theme-light .tsp-cal-date-box .cal-day-mon {
  color: #0f766e !important;
}
html.dark .tsp-cal-date-box {
  background: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.16) !important;
  border: 1px solid rgba(var(--accent-primary-rgb, 16, 185, 129), 0.35) !important;
  color: var(--accent-primary, #34D399) !important;
}
html.dark .tsp-cal-date-box .cal-day-num,
html.dark .tsp-cal-date-box .cal-day-mon {
  color: var(--accent-primary, #34D399) !important;
}
/* CHANTIER 3.1 — Priorité d'affichage absolue de la fenêtre de connexion */
#steam-connect-modal {
  z-index: 99999 !important;
  position: fixed !important;
  inset: 0 !important;
}
/* CHANTIER 4.3 — Boutons de statut en 1 clic dans Ma Collection */
.lib-quick-status-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
}
html.dark .lib-quick-status-group,
html.theme-aurora .lib-quick-status-group,
html.theme-radar .lib-quick-status-group,
html.theme-spatial .lib-quick-status-group {
  background: rgba(15, 23, 42, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
html.dark .lib-quick-status-btn { color: #94A3B8 !important; }
html.dark .lib-quick-status-btn:hover { color: #FFFFFF !important; background: rgba(255, 255, 255, 0.08) !important; }
.lib-quick-status-btn {
  padding: 4px 9px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.lib-quick-status-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.7);
}
html.theme-light .lib-quick-status-btn.active-todo {
  background: #E2E8F0 !important;
  color: #1E293B !important;
  border: 1px solid #CBD5E1 !important;
  font-weight: 800;
}
html.theme-light .lib-quick-status-btn.active-playing {
  background: #F0FDFA !important;
  color: #0F766E !important;
  border: 1px solid #99F6E4 !important;
  font-weight: 800;
}
html.theme-light .lib-quick-status-btn.active-done {
  background: #CCFBF1 !important;
  color: #115E59 !important;
  border: 1px solid #5EEAD4 !important;
  font-weight: 800;
}
html.dark .lib-quick-status-btn.active-todo {
  background: rgba(148, 163, 184, 0.16) !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(148, 163, 184, 0.32) !important;
  font-weight: 800;
}
html.dark .lib-quick-status-btn.active-playing {
  background: rgba(13, 148, 136, 0.20) !important;
  color: #5EEAD4 !important;
  border: 1px solid rgba(20, 184, 166, 0.40) !important;
  font-weight: 800;
}
html.dark .lib-quick-status-btn.active-done {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #6EE7B7 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  font-weight: 800;
}
/* CHANTIER 5.2 — Badges Format Physique (Boîte) vs Dématérialisé */
html.theme-light .deal-badge-physical {
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1px solid #CBD5E1 !important;
}
html.theme-light .deal-badge-digital {
  background: #F0FDFA !important;
  color: #0F766E !important;
  border: 1px solid #99F6E4 !important;
}
html.theme-light .deal-badge-codebox {
  background: #FDF2F8 !important;
  color: #9D174D !important;
  border: 1px solid #FBCFE8 !important;
}
html.dark .deal-badge-physical {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #FCD34D !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}
html.dark .deal-badge-digital {
  background: rgba(13, 148, 136, 0.18) !important;
  color: #5EEAD4 !important;
  border: 1px solid rgba(20, 184, 166, 0.35) !important;
}
html.dark .deal-badge-codebox {
  background: rgba(244, 63, 94, 0.18) !important;
  color: #FDA4AF !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
}
#deals-search-input {
  padding-left: 2.35rem !important;
}
/* ============================================================================
   11. MISE À JOUR CHIRURGICALE v148.0 / v151.0 — LECTEUR DE TEST & ARTICLE
   ============================================================================ */
#news-modal-chapters-bar {
  display: none !important;
}
#news-reader-modal .news-reader-panel,
#news-reader-modal.tsp-fullpage-reader .news-reader-panel {
  max-width: 1540px !important;
  width: min(1540px, 95vw) !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
@media (min-width: 640px) {
  #news-reader-modal .news-reader-panel,
  #news-reader-modal.tsp-fullpage-reader .news-reader-panel {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}
@media (min-width: 1024px) {
  #news-reader-modal .news-reader-panel,
  #news-reader-modal.tsp-fullpage-reader .news-reader-panel {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
#news-reader-modal #news-modal-grid-layout {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (min-width: 1024px) {
  #news-reader-modal .tsp-layout-7-5,
  #news-reader-modal .tsp-layout-8-4 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 395px !important;
    gap: 1.75rem !important;
    align-items: start !important;
  }
  #news-modal-sidebar {
    position: sticky !important;
    top: 1.25rem !important;
    align-self: start !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 1280px) {
  #news-reader-modal .tsp-layout-7-5,
  #news-reader-modal .tsp-layout-8-4 {
    grid-template-columns: minmax(0, 1fr) 395px !important;
    gap: 1.75rem !important;
  }
}
/* Boutons sobres "Suivre" et "+ Liste d'envies" (Zéro effet Sapin de Noël) */
.tsp-reader-action-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
  transition: all 0.18s ease !important;
}
.tsp-reader-action-btn:hover {
  border-color: #0D9488 !important;
  color: #2DD4BF !important;
  background: rgba(13, 148, 136, 0.1) !important;
}
.tsp-reader-action-btn.is-active {
  background: rgba(13, 148, 136, 0.12) !important;
  border: 1px solid #0D9488 !important;
  color: #2DD4BF !important;
}
html.theme-light .tsp-reader-action-btn {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
}
html.theme-light .tsp-reader-action-btn:hover {
  border-color: #0D9488 !important;
  color: #0D9488 !important;
  background: #F0FDFA !important;
}
html.theme-light .tsp-reader-action-btn.is-active {
  background: rgba(13, 148, 136, 0.12) !important;
  border: 1px solid #0D9488 !important;
  color: #0F766E !important;
}
#reader-toc-scroll-list {
  max-height: none !important;
  overflow-y: visible !important;
  padding-right: 0 !important;
}
@media (min-width: 640px) {
  #news-reader-modal .news-reader-article {
    padding: 2rem 2.5rem !important;
  }
}
#news-reader-modal .news-reader-body h2,
#news-reader-modal .news-reader-body h3,
#news-reader-modal .news-reader-body h4 {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin-top: 2.1rem !important;
  margin-bottom: 0.85rem !important;
  border-left: 4px solid #0D9488 !important;
  padding-left: 0.75rem !important;
}
#news-reader-modal .news-reader-body h2:first-child {
  margin-top: 0.25rem !important;
}
/* Citation lavande conforme à PJ1 (Thèmes Sombres & Clair) */
html.dark #news-reader-modal .news-reader-body blockquote {
  position: relative !important;
  margin: 1.5rem 0 !important;
  padding: 1.25rem 1.5rem 1.25rem 3rem !important;
  background: rgba(124, 58, 237, 0.12) !important;
  border: 1px solid rgba(167, 139, 250, 0.28) !important;
  border-left: 4px solid #A855F7 !important;
  border-radius: 16px !important;
  color: #F1F5F9 !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}
html.dark #news-reader-modal .news-reader-body blockquote::before {
  content: "”";
  position: absolute;
  top: 0.45rem;
  left: 0.95rem;
  font-size: 2.25rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  color: #A855F7;
}
html.theme-light #news-reader-modal .news-reader-body blockquote {
  position: relative !important;
  margin: 1.5rem 0 !important;
  padding: 1.25rem 1.5rem 1.25rem 3rem !important;
  background: #F5F3FF !important;
  border: 1px solid #DDD6FE !important;
  border-left: 4px solid #7C3AED !important;
  border-radius: 16px !important;
  color: #1E1B4B !important;
  font-style: italic !important;
  font-weight: 600 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}
html.theme-light #news-reader-modal .news-reader-body blockquote::before {
  content: "”";
  position: absolute;
  top: 0.45rem;
  left: 0.95rem;
  font-size: 2.25rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  color: #7C3AED;
}
/* PARTIE 4/4 (v149.4) — Ratio 68% / 32% sur la Rangée 2 de l'Accueil (YouTube 3×16:9 + Sorties à venir 4 jeux) */
@media (min-width: 1024px) {
  .tsp-bento-row-2 {
    display: grid !important;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }
  .tsp-x-identity-col {
    flex: 0 0 225px !important;
    width: 225px !important;
    max-width: 225px !important;
  }
}
/* =========================================================================
   PARTIE 2/4 (v149.2) — ENVERGURE PC/4K FLUIDE (strictement isolée >= 1280px)
   Zéro modification sous 1280px (Mobile, Tablette, 1024px-1279px intacts)
   ========================================================================= */
@media (min-width: 1280px) {
  #main-header > div,
  main.max-w-7xl {
    max-width: min(92vw, 1680px) !important;
    width: 100% !important;
  }
  .nav-pill-dock .nav-tab {
    padding: 7px 13px !important;
    font-size: 13.5px !important;
    gap: 6px !important;
  }
  .tsp-hero-carousel-card {
    min-height: 420px !important;
  }
  .tsp-home-news-mini-thumb {
    width: 112px !important;
    height: 74px !important;
  }
  .tsp-home-news-mini-card h3,
  .tsp-home-news-mini-card h4 {
    font-size: 14.5px !important;
  }
  .tsp-radar-row-cover {
    width: 48px !important;
    height: 62px !important;
  }
  .tsp-radar-row h4,
  .tsp-radar-row h3,
  .tsp-radar-row .text-xs.font-extrabold {
    font-size: 14px !important;
  }
}
/* =========================================================================
   BANDEAU HORIZONTAL X (@TheSharePlayers) — 4 THÈMES (Aurora, Radar, Spatial, Clair)
   ========================================================================= */
.tsp-x-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tsp-x-tweets-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .tsp-x-tweets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
}
.tsp-x-tweet-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  min-width: 0;
}
.tsp-x-tweet-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent-primary);
}
.tsp-x-tweet-text {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  line-height: 1.45 !important;
  font-size: 0.8rem !important;
}
html.theme-light .tsp-x-banner {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html.theme-light .tsp-x-tweet-card {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}
html.theme-light .tsp-x-tweet-card:hover {
  background: #F1F5F9 !important;
  border-color: var(--accent-primary) !important;
}

/* =========================================================================
   BADGES ACCÈS ANTICIPÉ (ADVANCED ACCESS IGDB) — PC & MOBILE, DARK & LIGHT
   ========================================================================= */
.tsp-cal-ea-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
  max-width: 100%;
  background: rgba(245, 158, 11, 0.16);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.38);
}
html.theme-light .tsp-cal-ea-badge {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border-color: #FCD34D !important;
}

.tsp-hero-ea-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(180, 83, 9, 0.88) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(251, 191, 36, 0.55) !important;
  white-space: nowrap;
  max-width: 100%;
}

.tsp-rel-ea-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  max-width: 100%;
  text-align: center;
  background: rgba(245, 158, 11, 0.16);
  color: #FDE68A;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
html.theme-light .tsp-rel-ea-pill {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border-color: #F59E0B !important;
}

@media (max-width: 480px) {
  .tsp-cal-ea-badge {
    font-size: 9.5px;
    padding: 0.1rem 0.45rem;
  }
  .tsp-rel-ea-pill {
    font-size: 10.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
  }
}


