
.hm-admin-entry{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:12px;margin:10px 0;border:1px solid #38c8ef;border-radius:8px;background:#081a29;color:white;font:700 13px Arial,sans-serif}.hm-admin-entry span{color:#9dd5e7;font-size:11px}.hm-admin-entry button,.hm-tools button,.hm-head button{cursor:pointer;border:1px solid #47cefa;color:white;background:#133950;border-radius:6px;padding:9px;font-weight:800}
.hm-overlay[hidden]{display:none!important}.hm-overlay{position:fixed!important;inset:0!important;z-index:2147483600!important;background:rgba(0,4,12,.96)!important;color:#f5fbff!important;display:flex!important;align-items:stretch;justify-content:center;font:13px Arial,sans-serif}.hm-panel{display:flex;flex-direction:column;width:100%;max-width:1600px;min-height:0;box-sizing:border-box;padding:12px;gap:9px}.hm-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.hm-head strong{display:block;font-size:23px;letter-spacing:.09em;color:#81e5ff}.hm-head small{display:block;color:#b8d1df}.hm-tools{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.hm-tools label{display:grid;gap:4px;color:#b4d9ea;font-weight:700;font-size:11px}.hm-tools input,.hm-tools select{max-width:205px;min-height:34px;background:#101f32;border:1px solid #526779;color:#fff;border-radius:6px;padding:5px}.hm-tools input{max-width:80px}.hm-note{color:#ffd38f;font-size:12px}.hm-stage{position:relative;flex:1;min-height:160px;overflow:auto;display:flex;justify-content:center;align-items:flex-start;background:repeating-linear-gradient(45deg,#09121d,#09121d 12px,#0c1825 12px,#0c1825 24px);border:1px solid #324759;border-radius:10px;padding:12px}.hm-viewport{position:relative;flex:none;transform-origin:top left;border:7px solid #4b5a70;border-radius:17px;box-shadow:0 0 0 1px #a2cddd,0 12px 40px #000;background:#000;overflow:hidden;box-sizing:content-box}.hm-viewport iframe{display:block;border:0;background:#000;width:100%;height:100%}.hm-info{text-align:center;font-weight:700;color:#8fdbfb}
.hm-admin-entry[hidden]{display:none!important}

/* V5.118: mode selector is explicit in the ADMIN preview toolbar */
#hmController{min-width:172px;max-width:225px}
