
/* Resizable RTS command dock, desktop only. */
@media(min-width:801px) and (min-height:600px){
 :root{--kd-dock-h:var(--kd-dock-user363,clamp(216px,27vh,250px))}
 body.kd-ui-compact154{--kd-dock-h:var(--kd-dock-user363,clamp(216px,27vh,250px))!important}
 #kd-reference-sidebar{height:var(--kd-dock-h)!important}
 #stage,#vignette{bottom:var(--kd-dock-h)!important}
 #kdDockHandle363{position:fixed;bottom:calc(var(--kd-dock-h) - 3px);left:var(--kd-map-col,230px);right:0;height:16px;z-index:110;display:flex;justify-content:center;align-items:center;gap:8px;cursor:ns-resize;touch-action:none;color:#f8d6a1;user-select:none;background:linear-gradient(90deg,transparent,#48321bc9 40%,#48321bc9 60%,transparent);pointer-events:auto}
 #kdDockHandle363 span{font:700 18px/1 Georgia;transform:rotate(90deg);letter-spacing:.1em}
 #kdDockHandle363 button{min-width:31px;height:20px;padding:0 5px;background:#263c2f;color:#efce95;border:1px solid #b38b51;pointer-events:auto}
 #kd-reference-sidebar>.kd-hud-block{min-height:0!important}
}
@media(max-width:800px),(max-height:599px){#kdDockHandle363{display:none!important}}

@media(min-width:801px) and (min-height:600px){
 body.kd-dock-folded364 #kd-reference-sidebar{overflow:hidden!important;min-height:0!important;padding:0!important}
 body.kd-dock-folded364 #kd-reference-sidebar>.kd-hud-block{visibility:hidden!important;pointer-events:none!important}
 body.kd-dock-folded364 #kdDockHandle363{height:26px;bottom:calc(var(--kd-dock-h) - 10px);background:linear-gradient(90deg,transparent,#78572ce9 36%,#78572ce9 64%,transparent)}
 body.kd-dock-folded364 #kdDockHandle363 span{color:#fff2bb}
}
