
:root{
 --sth-gold:#cba456;
 --sth-panel:rgba(8,8,6,.80);
 --sth-panel-mobile:rgba(8,8,6,.90);
 --sth-line:rgba(197,155,76,.52);
 --sth-text:#efe5d2;
}
html{
 min-height:100%;
 background:#090704 url("../img/fondo-sthemistery-tetrico-v0142.jpg") center/cover fixed no-repeat!important;
}
body{
 min-height:100vh;
 color:var(--sth-text)!important;
 background:linear-gradient(90deg,rgba(3,3,2,.15),rgba(3,3,2,.05) 50%,rgba(3,3,2,.14))!important;
}
body::before{
 content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(rgba(0,0,0,.02),rgba(0,0,0,.10));
}
.topbar{
 background:rgba(7,7,5,.72)!important;
 border-bottom:1px solid rgba(197,155,76,.36)!important;
 backdrop-filter:blur(2px);
}
.document-panel,.case-panel,.panel,.card,.history-stage,.archive-stage,.con-stage,
.act-close,.act-result,.close-phase,.phase-result,.evidence-block,.analysis-card,
.final-match,.ident-result,.ready-box,.reveal-box,.unlock-box,.v04-step,.decision-card{
 background:var(--sth-panel)!important;
 border-color:var(--sth-line)!important;
 box-shadow:0 16px 44px rgba(0,0,0,.34)!important;
 backdrop-filter:blur(1.2px);
}
h1,h2,h3{color:#f1e6d1!important}
.eyebrow,.case-ref,.stage-num,.section-caption{color:#d7aa55!important}
.case-shell{padding-top:24px!important;padding-bottom:44px!important}
.sth-sidebar{
 background:rgba(6,7,6,.88)!important;
 border-right:1px solid rgba(197,155,76,.40)!important;
 backdrop-filter:blur(3px);
}
.sidebar-logo,.mobile-brand{color:#dcc38e!important;font-family:Georgia,serif}
.sidebar-sub{color:#cba24f!important}
.sidebar-step.active{background:linear-gradient(90deg,rgba(197,155,76,.18),rgba(197,155,76,.02))!important}
.mobile-gamebar{background:rgba(6,7,6,.92)!important;border-bottom:1px solid rgba(197,155,76,.40)!important}
button,.action-link,.primary-action,.secondary-button{border-color:rgba(197,155,76,.58)!important}
.old-paper,.old-letter,.old-doc,.archive-document,.registry-card,.transcript{box-shadow:0 9px 26px rgba(0,0,0,.32)!important}
@media(max-width:900px){
 html{background-position:center!important}
 .document-panel,.case-panel,.panel,.card,.history-stage,.archive-stage,.con-stage,
 .act-close,.act-result,.close-phase,.phase-result,.evidence-block,.v04-step,.decision-card{
   background:var(--sth-panel-mobile)!important;backdrop-filter:none;
 }
}
