/* GamingSecrets V31.57.42 — graphite / acier.
 * Couche visuelle publique : aucune règle de visibilité, d'ordre ou d'interaction.
 * Les images, couleurs de statut et contours de focus restent fonctionnels.
 */
:root{
 --gs-surface-page:#101216;
 --gs-surface-panel:#191d23;
 --gs-surface-raised:#242a32;
 --gs-surface-field:#2b323b;
 --gs-line-quiet:#3b444f;
 --gs-line-control:#8794a4;
 --gs-text-primary:#f3f5f7;
 --gs-text-secondary:#d1d7df;
 --gs-text-muted:#aeb9c7;
 --gs-accent-readable:#ff91a5;
 --gs-brand-bg:var(--gs-surface-page);
 --gs-brand-panel:var(--gs-surface-panel);
 --gs-brand-panel-2:var(--gs-surface-raised);
 --gs-brand-line:var(--gs-line-quiet);
 --gs-brand-text:var(--gs-text-secondary);
 /* Les anciens tokens bleus de l'interface deviennent des gris acier. */
 --gs-blue-950:#101216;--gs-blue-900:#15191e;--gs-blue-850:#191d23;
 --gs-blue-800:#242a32;--gs-blue-700:#343d48;--gs-blue-600:#536171;
 --gs-blue-500:#8d9bac;--gs-blue-400:#b2c0d0;--gs-blue-300:#c9d3de;
 --gs-blue-200:#dce3eb;--gs-blue-100:#f0f3f6;
 --gs-blue-line:#3b444f;--gs-blue-line-strong:#8794a4;
 --gs-blue-soft:rgba(174,185,199,.08);--gs-blue-glow:transparent;
}
html{background:var(--gs-surface-page);color-scheme:dark;}
body{color:var(--gs-text-primary);}
body:not(.gs-archive-xbox-universe){background:var(--gs-surface-page);}

/* Des surfaces stables : aucun lavis rouge/bleu derrière les textes courants. */
body :is(
 .gs-panel,.gs-item-card,.gs-catalogue-popular-card,.gs-sidebar-widget,
 .gs-home-secret-card,.gs-home-bestrev,.gs-home-rev-card,.gs-home-catalogue-search,
 .gs-context-card,.gs-guide-links,.related-card,.article-author-box,
 .gs-calendar-radar-card,.gs-calendar-list-context,.gs-secret-module-section,
 .gs-secret-related-card,.gs-secret-related-universe-panel,
 .gs-halo-creature,.gs-halo-weapon-card
){background:var(--gs-surface-panel)!important;border-color:var(--gs-line-quiet)!important;}
body :is(
 .gs-panel,.gs-item-card,.gs-catalogue-popular-card,.gs-sidebar-widget,
 .gs-home-secret-card,.gs-home-bestrev,.gs-home-rev-card,.gs-home-catalogue-search,
 .gs-context-card,.gs-guide-links,.related-card,.article-author-box,
 .gs-calendar-radar-card,.gs-calendar-list-context,.gs-secret-module-section,
 .gs-secret-related-card,.gs-secret-related-universe-panel,
 .gs-halo-creature,.gs-halo-weapon-card,.gs-home-tool-card,
 .gs-brand-hero-v2783,.gs-home-release-card,.gs-xbox-page-launcher,.gs-xbox-module-hero
):not(:focus-visible){box-shadow:none!important;}
body :is(.gs-home-secret-body,.gs-home-bestrev-body,.gs-home-rev-card-body,.related-body){
 background:var(--gs-surface-panel)!important;
}

/* Retirer les cadres de regroupement ; les cartes portent déjà leur propre surface. */
body .gs-home-v3151 :is(.gs-home-hub,.gs-home-secret-strip){
 border:0!important;background:transparent!important;box-shadow:none!important;
}
body .gs-home-v3151 .gs-home-catalogue-form{
 border:0!important;background:transparent!important;box-shadow:none!important;
}
body .gs-home-v3151 .gs-brand-pillar-calendar-preview{
 border:0!important;box-shadow:none!important;
}
body .gs-home-v3151 .gs-home-release-preview{
 background:var(--gs-surface-panel)!important;border:0!important;box-shadow:none!important;
}
body .single-article :is(.gs-guide-links,.article-author-box){border:0!important;}
body .single-article a.gs-guide-link{
 background:var(--gs-surface-raised);border-color:transparent;
}
body .single-article a.gs-guide-link:hover{border-color:var(--gs-line-control);background:#303743;}

/* Ces pseudo-éléments ne contiennent que quadrillages, filets et lumières décoratives. */
body .gs-home-hub::before,
body .gs-brand-hero-v2783::before,
body .gs-home-secret-card::before,
body .gs-home-secret-card::after,
body .gs-home-secret-body::before,
body .gs-calendar-radar-card::before,
body .gs-home-scroll-shell-secrets::before,
body .gs-home-scroll-shell-secrets::after,
body .gs-xbox-page-launcher::after,
body .gs-xbox-module-hero::after{content:none!important;}
body .gs-home-radar-sweep{opacity:.18;}
body :is(.gs-home-tool-card,.gs-home-rev-card,.gs-article-card)::after{box-shadow:none!important;}

/* Les voiles sur les illustrations sont conservés pour protéger le texte. */
body .gs-home-v3151 .gs-brand-hero-v2783{border-color:var(--gs-line-quiet);}
body .gs-home-v3151 .gs-brand-hero-v2783 .gs-home-hero-illustration::before{
 background:linear-gradient(90deg,rgba(16,18,22,.97) 0%,rgba(16,18,22,.91) 32%,rgba(16,18,22,.6) 53%,rgba(16,18,22,.12) 82%);
}
@media(max-width:560px){
 body .gs-home-v3151 .gs-brand-hero-v2783 .gs-home-hero-illustration::before{
  background:linear-gradient(90deg,rgba(16,18,22,.93),rgba(16,18,22,.71) 60%,rgba(16,18,22,.48));
 }
}

/* La recherche se distingue de son panneau sans multiplier les cadres. */
body :is(.gs-home-search-controls,.gs-xbox-bc-searchbox,.gs-xbox-d2d-searchbox){
 background:var(--gs-surface-field)!important;border-color:var(--gs-line-control)!important;box-shadow:none;
}
body :is(.gs-home-catalogue-form,.gs-filter-bar,.gs-inline-form,.gs-review-form,.gs-halo-filters,.gs-xbox-games-controls) :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
body :is(.gs-search-input,.gs-hub-term-input){
 background:var(--gs-surface-field)!important;color:var(--gs-text-primary)!important;
 border-color:var(--gs-line-control)!important;box-shadow:none;
}
body :is(.gs-home-search,.gs-home-catalogue-form,.gs-filter-bar,.gs-inline-form,.gs-review-form,.gs-hub-term-form,.gs-xbox-module-page) :is(input,select,textarea){color:var(--gs-text-primary);}
body :is(.gs-home-search,.gs-home-catalogue-form,.gs-filter-bar,.gs-inline-form,.gs-review-form,.gs-hub-term-form,.gs-xbox-module-page) :is(input,textarea)::placeholder{
 color:#bdc8d6!important;opacity:1;
}
body .gs-home-v3151 .gs-hub-terminal{
 border:0;background:var(--gs-surface-panel);box-shadow:none;
}
body .gs-home-v3151 .gs-hub-term-bar{background:var(--gs-surface-raised);color:var(--gs-text-secondary);border-color:var(--gs-line-quiet);}
body .gs-home-v3151 .gs-home-terminal-disclosure{border-top-color:var(--gs-line-quiet);}

/* Textes secondaires : dates, plateformes, auteurs et aides de navigation. */
body :is(
 .article-breadcrumb,.article-breadcrumb a,.bc-current,.article-meta-info,.meta-date,.meta-time,
 .meta-author,.article-excerpt,.article-image-credit,.author-bio,
 .article-related>.related-title,.article-related>.related-grid>p,
 .gs-home-independent,.gs-home-reviews-label,.gs-home-bestrev-author,.gs-home-rev-card-author,
 .gs-home-bestrev-content,.gs-home-rev-card-title,.gs-home-tools-showcase-head p,
 .gs-home-tools-swipe,.gs-home-terminal-disclosure>summary,
 .gs-catalogue-method-note,.gs-calendar-evidence,.gs-calendar-list-context p,
 .gs-secret-module-description,.gs-secret-module-summary-copy small,
 .gs-context-meta,.gs-context-empty,.gs-context-mobile-copy small,
 .gs-xbox-module-hero-copy>span,.gs-xbox-module-footer p,
 .gs-xbox-bc-result-top p,.gs-xbox-bc-sub,.gs-xbox-d2d-sub,
 .gs-xbox-bc-counter small,.gs-xbox-d2d-counter small,.gs-xbox-games-total small,
 .gs-xbox-d2d-matrix small
){color:var(--gs-text-muted)!important;text-shadow:none;}
body :is(.article-cat-tag,.author-profile-link,.related-cat,.gs-home-kicker,.gs-home-secret-body>span,.gs-home-secret-hot){
 color:var(--gs-accent-readable);text-shadow:none;
}
body .gs-home-secret-body strong{color:var(--gs-text-primary);}
body .gs-home-v3151 .gs-brand-pillar-calendar-preview .gs-home-release-date{
 color:#f3f5f7;text-shadow:none;background:#20262e;border-radius:5px;padding:4px 7px;width:fit-content;
}
body .gs-home-v3151 .gs-brand-pillar-calendar-preview .gs-home-release-card small{color:#dce3ec;text-shadow:0 1px 2px #000;}
body .gs-home-v3151 .gs-brand-pillar-calendar-preview .gs-home-release-card em{
 background:#20262e;border-color:#536171;color:#edf3f7;box-shadow:none;
}
body :is(.gs-home-calendar-filters button:not(.is-active),.gs-xbox-module-switcher a:not(.is-active)){
 color:var(--gs-text-secondary);background:var(--gs-surface-raised);border-color:var(--gs-line-control);
}

/* Actions rouges : couleur franche, texte blanc, sans halo diffus. */
body :is(.gs-home-search button,.gs-home-catalogue-form button,.gs-btn-primary){
 color:#fff;background:#c81036;box-shadow:none;text-shadow:none;
}
body :is(.gs-home-search button,.gs-home-catalogue-form button,.gs-btn-primary):hover{background:#b00d2e;box-shadow:none;}
body :is(.gs-tool,.gs-btn-compte,.gs-search-btn,.gs-settings-btn,.gs-mobile-auth-btn):not(:focus-visible){box-shadow:none!important;}
body .gs-header{background:#15191f;border-bottom-color:var(--gs-line-quiet);box-shadow:none;}
body .gs-ticker{background:#1d2229;border-color:var(--gs-line-quiet);box-shadow:none;}
body .gs-ticker :is(a,.gs-ticker-item){color:var(--gs-text-secondary);}
body .gs-footer :is(.gs-footer-desc,.gs-footer-col a,.gs-footer-bottom,.gs-footer-ai-note){color:var(--gs-text-muted)!important;}

/* Xbox : une recherche acier, des résultats graphite, les accents et états restent verts. */
body .gs-xbox-module-page{
 --gs-xbox-search-bg-top:#242a32;--gs-xbox-search-bg-bottom:#242a32;
 --gs-xbox-search-border:#3b444f;--gs-xbox-search-text:#edf4f0;--gs-xbox-search-soft:#b7c5bf;
 --gs-xbox-results-bg-top:#191d23;--gs-xbox-results-bg-bottom:#191d23;
 --gs-xbox-results-border:#3b444f;--gs-xbox-results-soft:#b7c5bf;
}
body .gs-xbox-module-page :is(.gs-xbox-bc-shell,.gs-xbox-d2d-shell,.gs-xbox-games-shell,.gs-xbox-calendar-shell){
 background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none;
}
body .gs-xbox-module-page :is(.gs-xbox-bc-search-panel,.gs-xbox-d2d-search-panel,.gs-xbox-games-explorer){
 background:var(--gs-surface-raised)!important;border:0!important;box-shadow:none!important;
}
body .gs-xbox-module-page :is(.gs-xbox-bc-result,.gs-xbox-d2d-result,.gs-xbox-game-card){
 background:var(--gs-surface-panel);border-color:var(--gs-line-quiet);box-shadow:none!important;
}
body .gs-xbox-module-page :is(.gs-xbox-bc-shell,.gs-xbox-d2d-shell,.gs-xbox-bc-search-panel,.gs-xbox-d2d-search-panel,.gs-xbox-games-explorer)::before{content:none!important;}
body .gs-xbox-module-page :is(.gs-xbox-bc-searchbox,.gs-xbox-d2d-searchbox):focus-within{border-color:#95dfb1!important;box-shadow:none;}
body.gs-archive-xbox-universe::after{content:none;}

/* Dojo / dossiers / Temple : neutraliser les panneaux, conserver les visuels et codes métier. */
body :is(.gs-team-shield,.gs-pc-tool,.gs-secret-module-panel){background:var(--gs-surface-panel);border-color:var(--gs-line-quiet);box-shadow:none;}
body .gs-team-shield:before{opacity:.06;}
body .gs-team-shield:after{content:none;}
body .gs-secret-module-section-secrets>summary{background:var(--gs-surface-raised);box-shadow:none;}
body .gs-secret-module-summary-copy strong{text-shadow:none;}
body .gs-halo-temple{--halo-panel:#191d23;--halo-line:#3b444f;}
body :is(.gs-halo-cosmos-nebula,.gs-halo-cosmos-galaxy){opacity:.18;}
body .gs-halo-cosmos-particles i{box-shadow:none;}

/* Métadonnées posées sur les jaquettes : fond plein, lisibilité indépendante de l'image. */
body .gs-home-secret-hot{background:#20262e!important;color:#f3f5f7!important;border-color:transparent!important;box-shadow:none!important;}
body .gs-home-secret-body>span{color:var(--gs-accent-readable)!important;}
