/* GamingSecrets V31.54.0 - titres de sources et fenêtres accessibles */
/* Le H2 reste un titre ; le vrai bouton est placé à l’intérieur. */
 .gs-secret-editor-content h2[data-source] {
 cursor: pointer;
 transition: background .18s, border-color .18s, box-shadow .18s;
 }
 .gs-secret-source-trigger {
 appearance: none;
 display: block;
 width: 100%;
 min-width: 0;
 margin: 0;
 padding: 0;
 border: 0;
 background: transparent;
 color: inherit;
 font: inherit;
 line-height: inherit;
 letter-spacing: inherit;
 text-align: inherit;
 cursor: pointer;
 }
 .gs-secret-editor-content h2[data-source]:hover {
 background: linear-gradient(135deg, rgba(196,18,48,.20), rgba(255,255,255,.03) 58%), rgba(14,14,14,.85);
 border-color: rgba(196,18,48,.45);
 box-shadow: 0 0 0 1px rgba(196,18,48,.18);
 }
 @keyframes gs-flash {
 0% { background: linear-gradient(135deg, rgba(196,18,48,.38), rgba(255,255,255,.05) 58%), rgba(20,10,10,.9); border-color: rgba(196,18,48,.7); }
 100% { background: linear-gradient(135deg, rgba(196,18,48,.10), rgba(255,255,255,.018) 58%), rgba(10,10,10,.68); border-color: rgba(196,18,48,.22); }
 }
 .gs-secret-editor-content h2.gs-flash {
 animation: gs-flash .45s ease forwards;
 }
 /* Popup */
 .gs-source-overlay {
 display: none; position: fixed; inset: 0;
 background: rgba(0,0,0,.72); z-index: 9999;
 align-items: center; justify-content: center; padding: 20px;
 }
 .gs-source-overlay[hidden] { display:none!important; }
 .gs-source-overlay.gs-open { display: flex; }
 .gs-source-popup {
 background: #111; border: 1px solid rgba(196,18,48,.28);
 border-radius: 16px; padding: 28px 24px 24px;
 max-width: 480px; width: 100%; position: relative;
 box-shadow: 0 20px 60px rgba(0,0,0,.6);
 }
 .gs-source-popup-label {
 color: var(--gs-brand-red); font-size: 10px; font-weight: 800;
 text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px;
 }
 .gs-source-popup-text { color: #d1d1d1; font-size: 14px; line-height: 1.7; }
 .gs-source-popup-close {
 position: absolute; top: 14px; right: 16px;
 background: none; border: none; color: #666;
 font-size: 22px; cursor: pointer; line-height: 1; padding: 0;
 }
 .gs-source-popup-close:hover { color: #fff; }
/* V31.44.16 — retour contextuel Temple / base des fiches Secrets */
.gs-secret-context-nav{
 display:flex;
 align-items:center;
 margin:0 0 16px;
}
.gs-secret-context-back{
 display:inline-flex;
 align-items:center;
 gap:7px;
 min-height:40px;
 padding:0 13px;
 border:1px solid rgba(255,255,255,.10);
 border-radius:999px;
 background:rgba(255,255,255,.045);
 color:rgba(255,255,255,.82);
 font-size:12px;
 font-weight:850;
 line-height:1.2;
 text-decoration:none;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
 transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}
.gs-secret-context-back:hover,
.gs-secret-context-back:focus-visible{
 border-color:var(--gs-archive-accent-border,rgba(112,217,239,.38));
 background:rgba(255,255,255,.075);
 color:#fff;
 transform:translateY(-1px);
}
.gs-secret-file.gs-secret-halsey .gs-secret-context-back{
 border-color:rgba(112,217,239,.20);
 background:linear-gradient(135deg,rgba(55,86,119,.10),rgba(112,217,239,.06));
 color:#DDE9F0;
}
.gs-secret-actions [data-gs-secret-context-back] span{
 display:inline;
}
@media(max-width:700px){
 .gs-secret-context-nav{margin-bottom:13px}
 .gs-secret-context-back{width:100%;justify-content:flex-start;min-height:44px;padding:0 14px;font-size:12px}
 .gs-secret-actions [data-gs-secret-context-back]{width:100%}
}
