
html,body.das-pp-override-active{margin:0!important;padding:0!important;background:#01040b!important}
body.das-pp-override-active #das-native-shell{min-height:100vh;background:radial-gradient(circle at 50% 25%,rgba(31,92,255,.12),transparent 35%),#01040b;color:#f7fbff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.das-native-top{height:70px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;background:rgba(1,4,11,.84);border-bottom:1px solid rgba(255,211,106,.14);backdrop-filter:blur(24px);position:relative;z-index:9999}
.das-native-brand{color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900;letter-spacing:.15em}.das-native-brand span{color:#ffd36a;font-size:23px;vertical-align:middle;margin-right:8px}
.das-native-top nav{display:flex;gap:28px}.das-native-top nav a{color:#b8c5d9!important;text-decoration:none!important;font-size:12px}.das-native-top nav a:hover{color:#ffd36a!important}
#das-native-content{width:100%;margin:0!important;padding:0!important}
.das-native-page{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
.das-native-page>p:empty{display:none!important}
@media(max-width:800px){.das-native-top nav{gap:13px}.das-native-top nav a:nth-child(3),.das-native-top nav a:nth-child(4){display:none}}

/* 1.1 SAFE SHELL: never hide headers/sections generated inside DAS content. */
#das-native-content .das-native-page{display:block!important;visibility:visible!important;opacity:1!important}
#das-native-content .das-native-page > *{max-width:none}
#das-native-shell > .das-native-top{display:flex!important;visibility:visible!important;opacity:1!important}

/* Only legacy clutter INSIDE the new shell is suppressed; DAS content remains untouched. */
#das-native-shell .ppt-sidebar,
#das-native-shell .sidebar-wrapper,
#das-native-shell .page-sidebar,
#das-native-shell .footer-widgets,
#das-native-shell .newsletter-widget{display:none!important}

/* 1.2 ADSENSE SAFE-ZONE */
.das-pp-override-active form,
.das-pp-override-active .d9form,
.das-pp-override-active .d9nav,
.das-pp-override-active .d9-member-actions,
.das-pp-override-active .d9-core-actions,
.das-pp-override-active .nx-enter,
.das-pp-override-active .nx-panel,
.das-pp-override-active .nx-core,
.das-pp-override-active .d9-mobile,
.das-pp-override-active .das-native-top{
  position:relative!important;
  z-index:20!important;
  isolation:isolate;
}
.das-pp-override-active .google-auto-placed,
.das-pp-override-active ins.adsbygoogle,
.das-pp-override-active [data-ad-client],
.das-pp-override-active [data-ad-slot]{z-index:5!important}
.das-pp-override-active iframe[src*="doubleclick"],
.das-pp-override-active iframe[src*="googlesyndication"],
.das-pp-override-active iframe[src*="googleadservices"]{max-width:100%!important}
@media(max-width:800px){
 body.das-pp-override-active{padding-bottom:82px!important}
 .das-pp-override-active .d9-mobile,
 .das-pp-override-active .das-native-top{z-index:99999!important}
}

/* 1.3 ROUTE OWNERSHIP FIX
   This engine no longer touches /join-das/ or /my-das-profile/.
   On owned DAS routes, suppress common PremiumPress wrappers if they leak into content. */
body.das-pp-override-active .ppt-header,
body.das-pp-override-active .ppt-footer,
body.das-pp-override-active .ppt-menu,
body.das-pp-override-active .premiumpress-header,
body.das-pp-override-active .premiumpress-footer,
body.das-pp-override-active .page-sidebar,
body.das-pp-override-active .sidebar-wrapper,
body.das-pp-override-active .widget-area,
body.das-pp-override-active .newsletter-widget{
  display:none!important;
}

/* Preserve actual DAS app roots/content. */
body.das-pp-override-active #das-native-content,
body.das-pp-override-active #das-native-content > *,
body.das-pp-override-active .nx-world,
body.das-pp-override-active .d9-stage,
body.das-pp-override-active .d9-app,
body.das-pp-override-active .d9-main{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

/* 1.4 MORNING AUDIT REPAIR
   One renderer per route; working member pages get DAS chrome without rewriting their engines. */
body.das-pp-override-active{
 --das-space:#01040b;--das-panel:#071126;--das-blue:#2457ff;
 --das-cyan:#49d9ff;--das-gold:#ffd166;--das-fire:#ff7a1a;
}
#das-native-shell{
 background:
   radial-gradient(circle at 18% 8%,rgba(36,87,255,.14),transparent 28%),
   radial-gradient(circle at 88% 16%,rgba(255,122,26,.07),transparent 24%),
   var(--das-space)!important;
}
#das-native-content.das-audit-repaired-content{
 min-height:calc(100vh - 70px);
 position:relative;
 z-index:2;
}
#das-native-content .das-native-page{
 width:min(1500px,100%)!important;
 margin:0 auto!important;
 box-sizing:border-box!important;
}

/* Neutralize common legacy full-width wrapper cosmetics while preserving functionality. */
body.das-pp-override-active #das-native-content .bg-light,
body.das-pp-override-active #das-native-content .bg-white{
 background:transparent!important;
}
body.das-pp-override-active #das-native-content .card{
 background:linear-gradient(145deg,rgba(8,17,38,.80),rgba(2,6,15,.92))!important;
 border-color:rgba(255,209,102,.14)!important;
 color:#f7fbff!important;
}
body.das-pp-override-active #das-native-content .text-dark{
 color:#f7fbff!important;
}

/* Keep monetization but reserve the center workspace for user actions. */
body.das-pp-override-active #das-native-content form,
body.das-pp-override-active #das-native-content button,
body.das-pp-override-active #das-native-content input,
body.das-pp-override-active #das-native-content select,
body.das-pp-override-active #das-native-content textarea,
body.das-pp-override-active #das-native-content [role="button"]{
 position:relative!important;
 z-index:40!important;
}
body.das-pp-override-active #das-native-content{
 padding-bottom:110px!important;
}
@media(max-width:800px){
 #das-native-content .das-native-page{padding:0!important}
}
