:root{--ox-layout:#1B1E23;--ox-child:#22262C;--ox-widget:#2C3139;--ox-widget-hover:#373D47;--ox-border:#484F5B;--ox-circle:#5C6574;--ox-text:#B1B7C2;--ox-text-dim:#808997;--ox-white:#F1F3F6;--ox-danger:#DD4C52;--ox-warning:#D69D2D;--ox-success:#37C697;--ox-accent:#FF7C00}

/* Break out of Astra/Gutenberg's content width on the Demo page. */
body.oxdemo-active-page #primary,
body.oxdemo-active-page .site-main,
body.oxdemo-active-page .entry-content,
body.oxdemo-active-page .ast-container,
body.oxdemo-active-page .ast-article-single{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
body.oxdemo-active-page .entry-title{display:none!important}
body.oxdemo-active-page #primary{margin-top:0!important;margin-bottom:0!important}
body.oxdemo-active-page .site-content{padding-top:0!important;padding-bottom:0!important}
body.oxdemo-active-page .entry-content>*{max-width:none!important}

.oxdemo-wrap{box-sizing:border-box;position:relative;left:50%;width:100vw!important;max-width:none!important;margin-left:-50vw!important;margin-right:-50vw!important;min-height:calc(100vh - 112px);padding:22px 24px 34px!important;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:visible}
.oxdemo-shell,.oxdemo-shell *{box-sizing:border-box}
.oxdemo-shell{position:relative;width:min(1500px,calc(100vw - 48px));height:clamp(620px,calc(100svh - 190px),810px);min-height:620px;margin:0 auto!important;border:1px solid var(--ox-border);border-radius:16px;overflow:hidden;background:var(--ox-layout);color:var(--ox-white);font-family:"Segoe UI",Inter,system-ui,-apple-system,sans-serif;font-size:13.5px;line-height:1.35;box-shadow:0 24px 80px rgba(0,0,0,.36)}

.oxdemo-topbar{height:72px;display:grid;grid-template-columns:122px 1fr 164px;align-items:center;gap:14px;padding:0 18px;border-bottom:1px solid rgba(72,79,91,.45)}
.oxdemo-back,.oxdemo-status,.oxdemo-nav{background:var(--ox-child);border:1px solid rgba(72,79,91,.82)}
.oxdemo-back{height:36px;width:82px;border-radius:18px;color:var(--ox-text);display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;font:600 13.5px/1 "Segoe UI",sans-serif;padding:0}.oxdemo-back:hover{color:var(--ox-white);background:var(--ox-widget-hover)}.oxdemo-back>span:first-child{font-size:21px;line-height:1;margin-top:-2px}

.oxdemo-nav{justify-self:center;display:flex;align-items:center;gap:2px;padding:4px;border-radius:23px;min-height:46px;max-width:100%;white-space:nowrap}
.oxdemo-nav-item{border:0;background:transparent;color:var(--ox-text);height:38px;min-width:88px;padding:0 15px;border-radius:19px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font:600 14.5px/1 "Segoe UI",sans-serif;cursor:pointer;transition:background .14s ease,color .14s ease}.oxdemo-nav-item[data-group="visuals"]{min-width:104px}.oxdemo-nav-item[data-group="exploits"]{min-width:112px}.oxdemo-nav-item[data-group="configs"]{min-width:106px}.oxdemo-nav-item[data-group="settings"]{min-width:112px}.oxdemo-nav-item:hover,.oxdemo-nav-item.is-active{background:var(--ox-widget-hover);color:var(--ox-white)}.oxdemo-nav-item.is-active .oxdemo-icon{color:var(--ox-accent)}.oxdemo-nav-label{transform:translateY(-.2px)}
.oxdemo-icon{width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;color:currentColor}.oxdemo-icon svg{display:block;width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.oxdemo-status{justify-self:end;height:40px;border-radius:20px;padding:0 17px;display:inline-flex;align-items:center;gap:10px;color:var(--ox-white);font-weight:700;font-size:13.5px}.oxdemo-status-icon{color:var(--ox-success)}

.oxdemo-flyout{position:absolute;z-index:20;width:350px;padding:8px;border-radius:14px;border:1px solid var(--ox-border);background:var(--ox-child);box-shadow:0 18px 55px rgba(0,0,0,.45);display:none}.oxdemo-flyout.is-open{display:block}.oxdemo-flyout button{width:100%;border:0;background:transparent;color:var(--ox-white);border-radius:11px;text-align:left;padding:10px 14px 10px 58px;cursor:pointer;position:relative;min-height:66px}.oxdemo-flyout button:hover{background:var(--ox-widget-hover)}.oxdemo-flyout .oxdemo-flyout-icon{position:absolute;left:13px;top:16px;width:34px;height:34px;border-radius:50%;background:var(--ox-widget);display:grid;place-items:center;color:var(--ox-text)}.oxdemo-flyout button:hover .oxdemo-flyout-icon{color:var(--ox-white)}.oxdemo-flyout .oxdemo-flyout-icon svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.oxdemo-flyout strong{display:block;font-size:13.5px;margin-bottom:4px}.oxdemo-flyout small{display:block;color:var(--ox-text);font-size:11.5px;line-height:1.3}

.oxdemo-content{position:absolute;left:0;right:0;top:72px;bottom:62px;padding:11px 26px 18px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(177,183,194,.58) rgba(72,79,91,.34)}.oxdemo-content::-webkit-scrollbar{width:8px}.oxdemo-content::-webkit-scrollbar-track{background:rgba(72,79,91,.34)}.oxdemo-content::-webkit-scrollbar-thumb{background:rgba(177,183,194,.58);border-radius:4px}.oxdemo-content::-webkit-scrollbar-thumb:hover{background:rgba(255,124,0,.9)}
.oxdemo-page{display:none}.oxdemo-page.is-visible{display:block;animation:oxdemoIn .16s ease}@keyframes oxdemoIn{from{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.oxdemo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}

.oxdemo-card{background:var(--ox-child);border:1px solid rgba(72,79,91,.88);border-radius:12px;padding:14px;min-width:0;color:var(--ox-white)}.oxdemo-card h3{margin:0;color:var(--ox-white);font-size:14.5px;line-height:16px;font-weight:700;letter-spacing:0}.oxdemo-card>p{margin:3px 0 0;color:var(--ox-text);font-size:11.5px;line-height:1.35}.oxdemo-separator{height:1px;background:rgba(72,79,91,.78);margin:10px 0 10px}
.oxdemo-row,.oxdemo-control-row{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 0;color:var(--ox-white)}.oxdemo-row{cursor:pointer;border-radius:7px}.oxdemo-row:hover{background:rgba(55,61,71,.32);padding-left:5px;padding-right:5px}.oxdemo-label{display:block;color:var(--ox-white);font-size:13.5px;font-weight:700;line-height:16px}.oxdemo-desc{display:block;color:var(--ox-text);font-size:11.5px;line-height:1.35;margin-top:2px}

.oxdemo-toggle-input{position:absolute;opacity:0;pointer-events:none}.oxdemo-toggle{flex:0 0 auto;width:30px;height:16px;border-radius:8px;background:var(--ox-circle);position:relative;transition:.16s ease}.oxdemo-toggle:after{content:"";position:absolute;width:12px;height:12px;top:2px;left:2px;border-radius:50%;background:var(--ox-white);transition:.16s ease}.oxdemo-toggle-input:checked+.oxdemo-toggle{background:var(--ox-accent)}.oxdemo-toggle-input:checked+.oxdemo-toggle:after{transform:translateX(14px)}

.oxdemo-control-row select,.oxdemo-full,.oxdemo-text{appearance:none;-webkit-appearance:none;border:1px solid var(--ox-border);background-color:var(--ox-widget);color:var(--ox-white);border-radius:8px;min-height:28px;height:28px;padding:0 30px 0 10px;outline:0;font:400 13.5px/1 "Segoe UI",sans-serif;box-shadow:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B1B7C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.oxdemo-text{background-image:none;padding:8px 10px}.oxdemo-control-row select{width:min(220px,44%)}.oxdemo-full{width:100%;margin:4px 0 8px}.oxdemo-text{width:100%;margin-top:8px;height:auto;min-height:34px}.oxdemo-control-row select:focus,.oxdemo-text:focus,.oxdemo-full:focus{border-color:rgba(255,124,0,.82)}

.oxdemo-segment{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--ox-widget);border:1px solid var(--ox-border);padding:0;border-radius:8px;margin:2px 0 10px;overflow:hidden;height:28px}.oxdemo-segment button{border:0;border-radius:7px;padding:0 8px;background:transparent;color:var(--ox-text);cursor:pointer;font:600 11.5px/1 "Segoe UI",sans-serif}.oxdemo-segment button.is-active{background:rgba(255,124,0,.88);color:#fff}

/* Custom River slider: 3 px track, orange fill, 9 px white knob, compact value field. */
.oxdemo-slider-block{display:grid;grid-template-columns:minmax(96px,1fr) minmax(188px,44%);align-items:center;gap:16px;min-height:38px;margin:3px 0}.oxdemo-slider-head{display:block;margin:0;min-width:0}.oxdemo-slider-head .oxdemo-label{font-size:13.5px}.oxdemo-slider-control{display:grid;grid-template-columns:minmax(84px,1fr) 72px;align-items:center;gap:9px;min-width:0}.oxdemo-slider-control output{height:22px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid var(--ox-border);border-radius:7px;background:var(--ox-widget);color:var(--ox-white);font:400 11.5px/1 "Segoe UI",sans-serif;padding:0 6px;white-space:nowrap}
.oxdemo-slider-control input[type="range"]{-webkit-appearance:none!important;appearance:none!important;width:100%;height:18px;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:linear-gradient(to right,var(--ox-accent) 0 var(--range-progress,50%),var(--ox-circle) var(--range-progress,50%) 100%) center/100% 3px no-repeat!important;cursor:pointer;border-radius:0!important}
.oxdemo-slider-control input[type="range"]::-webkit-slider-runnable-track{-webkit-appearance:none;height:3px;background:transparent;border:0;box-shadow:none}.oxdemo-slider-control input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:9px;height:9px;margin-top:-3px;border:0!important;border-radius:50%;background:var(--ox-white)!important;box-shadow:none!important}.oxdemo-slider-control input[type="range"]::-moz-range-track{height:3px;border:0;border-radius:2px;background:var(--ox-circle)}.oxdemo-slider-control input[type="range"]::-moz-range-progress{height:3px;border-radius:2px;background:var(--ox-accent)}.oxdemo-slider-control input[type="range"]::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:var(--ox-white)}

.oxdemo-primary,.oxdemo-secondary{border-radius:8px;border:1px solid var(--ox-border);min-height:30px;padding:6px 11px;cursor:pointer;font:600 13px/1 "Segoe UI",sans-serif}.oxdemo-primary{width:100%;background:rgba(255,124,0,.86);border-color:rgba(255,124,0,.85);color:#fff;margin-top:8px}.oxdemo-primary:hover{background:var(--ox-accent)}.oxdemo-secondary{background:var(--ox-widget);color:#fff}.oxdemo-secondary:hover{background:var(--ox-widget-hover)}

.oxdemo-bottom{position:absolute;left:0;right:0;bottom:0;height:62px;border-top:1px solid rgba(72,79,91,.35);pointer-events:none}.oxdemo-search-wrap{pointer-events:auto;position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:236px;height:40px;border:1px solid var(--ox-border);background:var(--ox-child);border-radius:20px;display:flex;align-items:center;gap:8px;padding:0 14px}.oxdemo-search-wrap span{color:var(--ox-text)}.oxdemo-search-wrap input{width:100%;background:transparent;border:0;outline:0;color:#fff;font:400 13.5px/1 "Segoe UI",sans-serif}.oxdemo-search-wrap input::placeholder{color:var(--ox-text-dim)}.oxdemo-power{pointer-events:auto;position:absolute;right:18px;bottom:9px;width:46px;height:46px;border-radius:50%;border:1px solid rgba(221,76,82,.82);color:var(--ox-danger);background:rgba(221,76,82,.13);cursor:pointer;font-size:20px}.oxdemo-power:hover{background:rgba(221,76,82,.22)}.oxdemo-note{text-align:center;color:#8b919a;font-size:12px;margin:10px auto 0;max-width:900px}

.oxdemo-modal{position:absolute;inset:0;z-index:50;display:none;place-items:center;background:rgba(0,0,0,.66)}.oxdemo-modal.is-open{display:grid}.oxdemo-modal-card{position:relative;width:min(720px,calc(100% - 32px));background:var(--ox-layout);border:1px solid rgba(255,124,0,.45);border-radius:14px;padding:22px}.oxdemo-modal-card h3{margin:0}.oxdemo-modal-card>p{color:var(--ox-text)}.oxdemo-modal-close{position:absolute;top:12px;right:12px;width:30px;height:30px;border:0;border-radius:8px;background:transparent;color:var(--ox-text);font-size:22px;cursor:pointer}.oxdemo-esp-canvas{position:relative;height:310px;border:1px solid var(--ox-border);border-radius:10px;background:#1b232f;overflow:hidden}.oxdemo-player-box{position:absolute;left:50%;top:48px;width:96px;height:165px;transform:translateX(-50%);border:1px solid #f1f3f6}.oxdemo-player-box:before{content:"";position:absolute;width:16px;height:16px;border:1px solid #f1f3f6;border-radius:50%;left:50%;top:14px;transform:translateX(-50%)}.oxdemo-draggable{position:absolute;transform:translate(-50%,-50%);padding:4px 7px;background:rgba(44,49,57,.9);border:1px solid var(--ox-border);border-radius:6px;color:#fff;font-size:12px;cursor:move;user-select:none}.oxdemo-healthbar,.oxdemo-armorbar{position:absolute;width:5px;height:130px;border-radius:3px;top:70px}.oxdemo-healthbar{left:32%;background:linear-gradient(to top,var(--ox-success) 72%,#334052 72%)}.oxdemo-armorbar{right:32%;background:linear-gradient(to top,#4ca7ff 55%,#334052 55%)}.oxdemo-modal-actions{display:grid;grid-template-columns:150px 120px 1fr;gap:10px;margin-top:14px}.oxdemo-modal-actions .oxdemo-primary{margin-top:0}.oxdemo-toast{position:absolute;right:18px;top:79px;z-index:60;min-width:260px}.oxdemo-toast-item{background:var(--ox-child);border:1px solid var(--ox-border);border-left:3px solid var(--ox-accent);border-radius:9px;padding:12px 14px;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.4)}



/* ===========================
   v1.4 fidelity + behaviour
   =========================== */
body.oxdemo-active-page .entry-title{display:none!important}
body.oxdemo-active-page .site-content>.ast-container,body.oxdemo-active-page .site-content .ast-container,body.oxdemo-active-page #primary,body.oxdemo-active-page .entry-content{max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
body.oxdemo-active-page .oxdemo-wrap{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;padding:6px 10px 20px!important;min-height:auto!important}
body.oxdemo-active-page .oxdemo-shell{width:min(1500px,calc(100vw - 20px))!important;height:min(810px,calc(100vh - 205px))!important;min-height:630px!important;margin:0 auto!important;display:flex;flex-direction:column}
.oxdemo-topbar{flex:0 0 68px}
.oxdemo-content{position:relative!important;top:auto!important;bottom:auto!important;flex:1 1 auto;min-height:0!important;overflow:auto!important;padding:11px 18px 76px!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--ox-text-dim) transparent}
.oxdemo-content::-webkit-scrollbar{width:8px}.oxdemo-content::-webkit-scrollbar-track{background:transparent}.oxdemo-content::-webkit-scrollbar-thumb{background:rgba(128,137,151,.58);border-radius:4px}
.oxdemo-bottom{flex:0 0 62px;position:absolute!important}
.oxdemo-note{margin:7px auto 0!important}

/* Back mark and exact-ish power glyph: no Unicode power character. */
.oxdemo-back-mark{width:8px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);display:inline-block;margin-left:3px}
.oxdemo-power{font-size:0!important;display:block!important;padding:0!important}
.oxdemo-power-ring{position:absolute;left:50%;top:50%;width:14px;height:14px;border:1.7px solid var(--ox-danger);border-radius:50%;transform:translate(-50%,-42%);border-top-color:transparent}
.oxdemo-power-stem{position:absolute;left:50%;top:12px;width:2px;height:11px;border-radius:2px;background:var(--ox-danger);transform:translateX(-50%)}
.oxdemo-search-icon{width:12px;height:12px;border:1.5px solid var(--ox-text);border-radius:50%;position:relative;display:block;flex:0 0 auto}.oxdemo-search-icon:after{content:"";position:absolute;width:5px;height:1.5px;background:var(--ox-text);right:-4px;bottom:-2px;transform:rotate(45deg);border-radius:1px}

/* Original menu hides dependent cards completely when master is off. */
[hidden]{display:none!important}
[data-master-details]{display:block}

/* Fine control details. */
.oxdemo-color-row{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0}
.oxdemo-color-chip{width:26px;height:26px;border:1px solid var(--ox-border);border-radius:6px;background:var(--chip,#ff7c00);cursor:pointer;box-shadow:inset 0 0 0 3px var(--ox-widget)}
.oxdemo-key-chip{min-width:86px;height:28px;padding:0 10px;border-radius:8px;border:1px solid var(--ox-border);background:var(--ox-widget);color:var(--ox-white);font:600 12px/1 "Segoe UI",sans-serif}
.oxdemo-danger{border-radius:8px;border:1px solid rgba(221,76,82,.65);background:rgba(221,76,82,.13);color:var(--ox-danger);min-height:30px;padding:6px 11px;cursor:pointer;font:600 13px/1 "Segoe UI",sans-serif}
.oxdemo-full-btn{width:100%;margin-top:8px}.oxdemo-config-status{color:var(--ox-text);font-size:12.5px;margin:7px 0 4px}.oxdemo-file-line{color:var(--ox-text);font-size:12px;margin-top:10px}.oxdemo-success{color:var(--ox-success);font-weight:700;font-size:12.5px}.oxdemo-friend-line{display:flex;align-items:center;gap:8px;min-height:34px;border-bottom:1px solid rgba(72,79,91,.4);font-size:12.5px}.oxdemo-friend-line b{color:var(--ox-success);font-size:11px}.oxdemo-friend-line .oxdemo-key-chip{margin-left:auto;min-width:auto}.oxdemo-card-wide{grid-column:1/-1}.oxdemo-public-config{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(72,79,91,.5)}.oxdemo-public-config b,.oxdemo-public-config span{display:block}.oxdemo-public-config span,.oxdemo-public-config p{color:var(--ox-text);font-size:12px;margin:3px 0}.oxdemo-public-config>div:last-child{display:flex;gap:8px}.oxdemo-public-config .oxdemo-primary{width:auto;margin:0}.oxdemo-public-config .oxdemo-secondary{width:auto}

/* Slider layout closer to the C++ River widgets. */
.oxdemo-slider-block{grid-template-columns:minmax(130px,1fr) minmax(210px,44%)!important;gap:16px!important;min-height:36px!important;margin:2px 0!important}.oxdemo-slider-head>span:first-child{display:block}.oxdemo-slider-head .oxdemo-desc{max-width:230px}.oxdemo-slider-control{grid-template-columns:minmax(92px,1fr) 72px!important}.oxdemo-slider-control input[type="range"]{height:18px!important;background:linear-gradient(to right,var(--ox-accent) 0 var(--range-progress,50%),var(--ox-circle) var(--range-progress,50%) 100%) center/100% 3px no-repeat!important}.oxdemo-slider-control input[type="range"]::-webkit-slider-thumb{width:9px!important;height:9px!important;margin-top:-3px!important;background:#fff!important}.oxdemo-slider-control output{height:24px!important}

/* ESP editor more closely follows 720x520 modal in lumin_ui.cpp. */
.oxdemo-esp-editor{width:min(720px,calc(100% - 32px))!important;height:min(520px,calc(100% - 28px));display:flex;flex-direction:column;padding:18px 22px!important}.oxdemo-esp-editor>h3{font-size:15px!important;margin:0!important}.oxdemo-esp-editor>p{font-size:11.5px!important;margin:4px 0 10px!important}.oxdemo-layout-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:7px}.oxdemo-layout-tabs button{height:27px;border:1px solid var(--ox-border);border-radius:7px;background:var(--ox-widget);color:var(--ox-text);font:600 11.5px/1 "Segoe UI",sans-serif;cursor:pointer}.oxdemo-layout-tabs button.is-active{background:rgba(255,124,0,.55);color:#fff;border-color:rgba(255,124,0,.72)}.oxdemo-layout-hint{color:var(--ox-text);font-size:11.5px;margin-bottom:7px}.oxdemo-esp-editor .oxdemo-esp-canvas{height:auto!important;flex:1 1 auto;min-height:250px;background:#1b232f}.oxdemo-guide{position:absolute;background:rgba(100,100,125,.18);pointer-events:none}.guide-left,.guide-right{top:18%;bottom:18%;width:1px}.guide-left{left:35%}.guide-right{right:35%}.guide-top,.guide-bottom{left:35%;right:35%;height:1px}.guide-top{top:18%}.guide-bottom{bottom:18%}.oxdemo-player-box{top:50%!important;left:50%!important;width:96px!important;height:165px!important;transform:translate(-50%,-50%)!important}.sk-head{position:absolute;width:16px;height:16px;border:1px solid #f1f3f6;border-radius:50%;left:50%;top:14px;transform:translateX(-50%)}.sk-body{position:absolute;width:1px;height:72px;background:#f1f3f6;left:50%;top:38px}.sk-arm,.sk-leg{position:absolute;width:1px;background:#f1f3f6;transform-origin:top}.sk-arm{height:55px;top:42px;left:50%}.sk-arm-l{transform:rotate(50deg)}.sk-arm-r{transform:rotate(-50deg)}.sk-leg{height:58px;top:109px;left:50%}.sk-leg-l{transform:rotate(25deg)}.sk-leg-r{transform:rotate(-25deg)}.oxdemo-draggable.is-selected{outline:2px solid var(--ox-accent);outline-offset:2px}.oxdemo-dragbar{width:6px!important;height:115px!important;padding:0!important;border-radius:3px!important}.oxdemo-dragbar.health{background:linear-gradient(to top,var(--ox-success) 72%,#334052 72%)}.oxdemo-dragbar.armor{background:linear-gradient(to top,#4ca7ff 55%,#334052 55%)}.oxdemo-modal-actions{margin-top:10px!important;grid-template-columns:150px 120px 1fr!important}

/* Slightly larger top navigation as in the original 42px pill. */
.oxdemo-nav{height:42px!important;padding:4px!important}.oxdemo-nav-item{height:34px!important;min-width:84px!important;padding:0 14px!important;font-size:13px!important}.oxdemo-nav .oxdemo-icon{width:15px!important;height:15px!important}.oxdemo-status{height:38px!important}

@media(max-width:1100px){body.oxdemo-active-page .oxdemo-shell{height:auto!important;min-height:680px!important}.oxdemo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oxdemo-content{min-height:560px!important;padding-bottom:82px!important}.oxdemo-slider-block{grid-template-columns:1fr!important;gap:4px!important}.oxdemo-slider-control{grid-template-columns:minmax(110px,1fr) 72px!important}}

@media(max-width:760px){
 body.oxdemo-active-page .oxdemo-wrap{padding:4px 4px 14px!important}
 body.oxdemo-active-page .oxdemo-shell{width:calc(100vw - 8px)!important;height:auto!important;min-height:760px!important;border-radius:12px!important}
 .oxdemo-topbar{height:108px!important;flex-basis:108px!important;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:46px 54px!important;padding:5px 9px!important;gap:3px 8px!important}
 .oxdemo-back{grid-column:1;grid-row:1;justify-self:start}.oxdemo-status{grid-column:2;grid-row:1;justify-self:end}.oxdemo-nav{grid-column:1/-1;grid-row:2;width:100%!important;justify-self:stretch!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;scrollbar-width:none}.oxdemo-nav::-webkit-scrollbar{display:none}.oxdemo-nav-item{flex:0 0 auto;min-width:88px!important;padding:0 11px!important;font-size:12.5px!important}.oxdemo-nav .oxdemo-icon{width:15px!important;height:15px!important}
 .oxdemo-content{padding:9px 9px 84px!important;min-height:630px!important;overflow:visible!important}.oxdemo-grid{grid-template-columns:1fr!important;gap:10px!important}.oxdemo-card{padding:12px!important}.oxdemo-card h3{font-size:14px!important}.oxdemo-control-row{flex-direction:column!important;align-items:stretch!important;gap:6px!important}.oxdemo-control-row select{width:100%!important}.oxdemo-slider-block{grid-template-columns:1fr!important;gap:5px!important;margin:8px 0!important}.oxdemo-slider-control{grid-template-columns:minmax(110px,1fr) 72px!important}.oxdemo-flyout{position:absolute!important;top:112px!important;max-height:calc(100vh - 180px);overflow:auto}.oxdemo-bottom{height:62px!important}.oxdemo-search-wrap{width:min(236px,calc(100% - 94px))!important;left:12px!important;transform:none!important}.oxdemo-power{right:10px!important}.oxdemo-public-config{align-items:flex-start;flex-direction:column}.oxdemo-public-config>div:last-child{width:100%}.oxdemo-public-config .oxdemo-primary,.oxdemo-public-config .oxdemo-secondary{flex:1}.oxdemo-modal{position:fixed!important;inset:8px!important}.oxdemo-esp-editor{width:100%!important;height:min(560px,calc(100vh - 16px))!important}.oxdemo-layout-tabs{grid-template-columns:repeat(2,1fr)!important}.oxdemo-modal-actions{grid-template-columns:1fr!important}.oxdemo-note{padding:0 8px}
}

/* =========================================
   v1.5 centering hotfix
   v1.4 kept the original left:50% rule while also removing the compensating
   negative viewport margin, which shifted the whole demo half a screen right.
   Keep the demo in normal full-width flow and center only the shell itself.
   ========================================= */
body.oxdemo-active-page .oxdemo-wrap{
  left:0!important;
  right:auto!important;
  width:100%!important;
  max-width:100vw!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  padding-left:10px!important;
  padding-right:10px!important;
  overflow-x:hidden!important;
}
body.oxdemo-active-page .oxdemo-shell{
  width:min(1500px,calc(100% - 20px))!important;
  max-width:1500px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.oxdemo-active-page .site-content,
body.oxdemo-active-page #content,
body.oxdemo-active-page #primary,
body.oxdemo-active-page .site-main,
body.oxdemo-active-page article,
body.oxdemo-active-page .entry-content{
  overflow-x:hidden!important;
}
@media(max-width:760px){
  body.oxdemo-active-page .oxdemo-wrap{
    left:0!important;
    width:100%!important;
    margin:0!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
  body.oxdemo-active-page .oxdemo-shell{
    width:calc(100% - 8px)!important;
    max-width:none!important;
  }
}

/* ===== v1.6: Demo page cleanup ===== */
body.oxdemo-active-page #colophon,
body.oxdemo-active-page footer.site-footer,
body.oxdemo-active-page .site-footer,
body.oxdemo-active-page .site-below-footer-wrap,
body.oxdemo-active-page .ast-small-footer,
body.oxdemo-active-page .ast-footer-overlay {
    display: none !important;
}
body.oxdemo-active-page,
body.oxdemo-active-page #page,
body.oxdemo-active-page .site-content,
body.oxdemo-active-page #content {
    background: #080808 !important;
}
body.oxdemo-active-page #page {
    min-height: 100vh !important;
}
body.oxdemo-active-page .oxdemo-note {
    margin-bottom: 0 !important;
}

/* ===== v1.6: Product card Demo button ===== */
.oxdemo-product-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}
.oxdemo-product-demo-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 22px !important;
    border: 1px solid #ff7c00 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #ff7c00 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .15s ease, color .15s ease, border-color .15s ease !important;
}
.oxdemo-product-demo-button:hover,
.oxdemo-product-demo-button:focus {
    background: #ff7c00 !important;
    color: #ffffff !important;
    border-color: #ff7c00 !important;
}
@media (max-width: 544px) {
    .oxdemo-product-actions {
        width: 100% !important;
        gap: 8px !important;
    }
    .oxdemo-product-actions > a,
    .oxdemo-product-actions > button {
        flex: 1 1 auto !important;
    }
    .oxdemo-product-demo-button {
        min-width: 104px !important;
        padding: 0 16px !important;
    }
}


/* ===== v1.8: Aim page layout closer to original menu ===== */
.oxdemo-grid-aim{
  grid-template-columns: minmax(320px,1.08fr) minmax(320px,1.08fr) minmax(350px,1.14fr) !important;
  grid-template-areas:
    "aim target smooth"
    "esp activation smooth";
  align-items:start;
}
.oxdemo-card-aim{grid-area:aim}
.oxdemo-card-target{grid-area:target}
.oxdemo-card-smooth{grid-area:smooth;align-self:stretch;display:flex;flex-direction:column}
.oxdemo-card-activation{grid-area:activation}
.oxdemo-card-esp{grid-area:esp}

.oxdemo-page[data-page="aim-assistance"] .oxdemo-card{
  min-height: 0;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card h3{
  margin-bottom: 4px;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card p{
  max-width: 95%;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-smooth p{
  max-width: 100%;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-smooth .oxdemo-slider-block{
  margin: 8px 0 !important;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-smooth .oxdemo-row,
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-smooth .oxdemo-color-row{
  margin-top: 6px;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-aim .oxdemo-row,
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-esp .oxdemo-row{
  min-height: 30px;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-target .oxdemo-control-row,
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-activation .oxdemo-control-row{
  min-height: 44px;
}
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-target select,
.oxdemo-page[data-page="aim-assistance"] .oxdemo-card-activation select{
  min-width: 170px;
}

@media (max-width: 1180px){
  .oxdemo-grid-aim{
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    grid-template-areas:
      "aim target"
      "smooth smooth"
      "esp activation";
  }
}

@media (max-width: 760px){
  .oxdemo-grid-aim{
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "aim"
      "target"
      "smooth"
      "activation"
      "esp";
  }
}


/* ===== v1.9: nested ESP feature controls like the real menu ===== */
.oxdemo-grid-esp{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start}
.oxdemo-feature-block{position:relative}
.oxdemo-feature-row{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.oxdemo-feature-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.oxdemo-inline-toggle{display:flex;align-items:center;cursor:pointer}
.oxdemo-color-pair{display:flex;gap:4px;align-items:center}
.oxdemo-role-chip{height:26px;min-width:34px;padding:2px 4px;border:0;border-radius:6px;background:transparent;color:var(--ox-text-dim);display:flex;align-items:center;gap:4px;cursor:pointer}
.oxdemo-role-chip:hover{background:var(--ox-widget-hover)}
.oxdemo-role-chip span{font:600 10px/1 "Segoe UI",sans-serif}
.oxdemo-role-chip i,.oxdemo-color-mini{display:block;width:20px;height:20px;border:1px solid var(--ox-circle);border-radius:5px;background:var(--chip,#fff)}
.oxdemo-color-mini{padding:0;cursor:pointer}
.oxdemo-feature-details{margin:3px 0 2px 13px;padding:3px 0 3px 13px;border-left:1px solid rgba(72,79,91,.66)}
.oxdemo-feature-details[hidden]{display:none!important}
.oxdemo-feature-details .oxdemo-slider-block{margin:5px 0!important;grid-template-columns:minmax(120px,1fr) minmax(155px,42%)!important}
.oxdemo-feature-details .oxdemo-control-row{min-height:36px!important;padding:3px 0!important}
.oxdemo-feature-details .oxdemo-control-row select{min-width:145px}
.oxdemo-feature-separator{height:1px;background:rgba(72,79,91,.5);margin:5px 0}
.oxdemo-segment-compact{max-width:225px;margin:3px 0 7px!important}
.oxdemo-segment-compact button{min-height:25px!important;padding:5px 8px!important;font-size:11.5px!important}
.oxdemo-page[data-page="player-esp"] .oxdemo-card{padding:13px 14px!important}
.oxdemo-page[data-page="player-esp"] .oxdemo-row{min-height:32px}

@media(max-width:1100px){.oxdemo-grid-esp{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){
 .oxdemo-grid-esp{grid-template-columns:1fr!important}
 .oxdemo-feature-row{align-items:flex-start}
 .oxdemo-feature-actions{gap:5px}
 .oxdemo-role-chip{min-width:31px}
 .oxdemo-feature-details .oxdemo-slider-block{grid-template-columns:1fr!important}
 .oxdemo-feature-details .oxdemo-control-row{flex-direction:column;align-items:stretch}
 .oxdemo-feature-details .oxdemo-control-row select{width:100%!important}
}
