/* v402.11: Theory Modal Safe Final. Only handles theory sidebar/modal. No waterfall/keyboard/cursor changes. */
.ptp-theory-hidden-v40211{display:none!important;}
.ptp-theory-launch-card-v40211{
  margin:12px 0!important;padding:12px!important;border:1px solid rgba(34,211,238,.35)!important;border-radius:14px!important;background:rgba(7,22,38,.78)!important;box-shadow:0 0 0 1px rgba(255,255,255,.03) inset!important;
}
.ptp-theory-launch-card-v40211 .ptp-title{font-weight:900!important;color:#dff8ff!important;margin-bottom:8px!important;font-size:14px!important;}
.ptp-theory-launch-btn-v40211{width:100%!important;min-height:42px!important;border-radius:12px!important;border:1px solid rgba(34,211,238,.6)!important;background:linear-gradient(180deg,#35e4ff,#0ea5d3)!important;color:#00131c!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 0 14px rgba(34,211,238,.18)!important;}
.ptp-theory-launch-note-v40211{margin-top:8px!important;color:#aeefff!important;font-size:11px!important;line-height:1.35!important;opacity:.9!important;}
#ptp-theory-modal-v40211{display:none;position:fixed;inset:0;z-index:2147483000;font-family:system-ui,Segoe UI,Arial,sans-serif;}
#ptp-theory-modal-v40211.open{display:block;}
#ptp-theory-modal-v40211 .ptp-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(3px);}
#ptp-theory-modal-v40211 .ptp-panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1080px,94vw);height:min(760px,90vh);background:#071525;border:1px solid rgba(34,211,238,.5);border-radius:18px;box-shadow:0 28px 90px rgba(0,0,0,.58);color:#eef8ff;display:flex;flex-direction:column;overflow:hidden;}
#ptp-theory-modal-v40211 .ptp-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid rgba(148,163,184,.18);background:linear-gradient(180deg,#0e223b,#091827);}
#ptp-theory-modal-v40211 .ptp-head b{font-size:20px;color:#f7d36a;}
#ptp-theory-modal-v40211 .ptp-close{border:1px solid rgba(247,211,106,.5);background:linear-gradient(180deg,#26384f,#101d30);color:#fff;border-radius:10px;padding:9px 14px;font-weight:800;cursor:pointer;}
#ptp-theory-modal-v40211 .ptp-body{display:grid;grid-template-columns:260px 1fr;min-height:0;flex:1;}
#ptp-theory-modal-v40211 .ptp-tabs{padding:14px;border-right:1px solid rgba(148,163,184,.18);overflow:auto;background:#061321;}
#ptp-theory-modal-v40211 .ptp-tab{width:100%;text-align:left;margin:0 0 8px 0;padding:11px 12px;border-radius:11px;border:1px solid rgba(148,163,184,.25);background:linear-gradient(180deg,#1d2c42,#101d30);color:#eef8ff;font-weight:800;cursor:pointer;}
#ptp-theory-modal-v40211 .ptp-tab.active{background:linear-gradient(180deg,#35e4ff,#0da9d6);color:#00131c;border-color:rgba(34,211,238,.75);}
#ptp-theory-modal-v40211 .ptp-content{padding:18px;overflow:auto;font-size:17px;line-height:1.55;}
#ptp-theory-modal-v40211 .ptp-empty{border:1px dashed rgba(148,163,184,.35);border-radius:14px;padding:18px;color:#cfe9ff;}
#ptp-theory-modal-v40211 .ptp-content *{max-width:100%;}
#ptp-theory-modal-v40211 .ptp-content button,#ptp-theory-modal-v40211 .ptp-content a{font-size:15px!important;min-height:38px!important;}
#ptp-theory-modal-v40211 .ptp-content .ptp-theory-hidden-v40211{display:block!important;}
@media (max-width: 760px){#ptp-theory-modal-v40211 .ptp-body{grid-template-columns:1fr;}#ptp-theory-modal-v40211 .ptp-tabs{max-height:145px;border-right:0;border-bottom:1px solid rgba(148,163,184,.18);}}
