.hwh-imager{
  --hwh-navy:#061f36;--hwh-navy2:#0b3459;--hwh-blue:#0d5f9a;--hwh-cyan:#2bd4ff;
  --hwh-white:#f7fbff;--hwh-muted:#9db8cf;--hwh-gold:#ffd45a;--hwh-line:rgba(167,211,244,.18);
  --hwh-panel:#0a2b49;--hwh-panel2:#0d365c;--hwh-danger:#ff7272;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--hwh-white);background:linear-gradient(180deg,#061f36,#041522);
  border:1px solid rgba(167,211,244,.18);border-radius:20px;overflow:hidden;
  box-shadow:0 28px 70px rgba(0,0,0,.22);margin:20px 0;
}
.hwh-imager *{box-sizing:border-box}
.hwh-imager button,.hwh-imager input,.hwh-imager select{font:inherit}
.hwh-imager button{cursor:pointer}
.hwh-imager__hero{padding:28px 30px 24px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;
  background:
    radial-gradient(circle at 85% 20%,rgba(43,212,255,.16),transparent 28%),
    linear-gradient(135deg,#0d365c,#061f36);
  border-bottom:1px solid var(--hwh-line)}
.hwh-imager__hero h1{font-size:clamp(28px,4vw,46px);line-height:1;margin:6px 0 10px;letter-spacing:-.04em;color:white}
.hwh-imager__hero p{margin:0;color:#bad0e2;max-width:720px;line-height:1.55}
.hwh-kicker{font-size:10px;font-weight:900;letter-spacing:.13em;color:var(--hwh-cyan)}
.hwh-live-badge{font-size:10px;font-weight:900;letter-spacing:.08em;border:1px solid rgba(43,212,255,.3);padding:9px 11px;border-radius:999px;white-space:nowrap;background:rgba(43,212,255,.08)}
.hwh-live-badge span{display:inline-block;width:8px;height:8px;border-radius:50%;background:#45e68a;margin-right:6px;box-shadow:0 0 0 4px rgba(69,230,138,.12)}
.hwh-imager__layout{display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);align-items:start}
.hwh-side{border-right:1px solid var(--hwh-line);background:rgba(2,18,31,.35)}
.hwh-panel{padding:20px;border-bottom:1px solid var(--hwh-line)}
.hwh-panel__title{display:flex;gap:11px;align-items:flex-start;margin-bottom:13px}
.hwh-panel__title>b{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(43,212,255,.12);border:1px solid rgba(43,212,255,.18);color:var(--hwh-cyan)}
.hwh-panel__title h2{font-size:15px;margin:0 0 2px;color:white}
.hwh-panel__title p{font-size:11px;color:var(--hwh-muted);margin:0}
.hwh-search{display:grid;grid-template-columns:1fr auto;gap:8px}
.hwh-imager input,.hwh-imager select{width:100%;min-width:0;background:#041b2c;color:white;border:1px solid #234b69;border-radius:9px;padding:10px 11px;outline:none}
.hwh-imager input:focus,.hwh-imager select:focus,.hwh-imager button:focus-visible{border-color:var(--hwh-cyan);box-shadow:0 0 0 3px rgba(43,212,255,.13);outline:none}
.hwh-btn,.hwh-imager button{border:1px solid #285370;background:#0c3558;color:#dff4ff;border-radius:9px;padding:9px 11px;font-weight:800;font-size:12px}
.hwh-imager button:hover:not(:disabled){background:#11446f;border-color:#3d6e8f}
.hwh-imager button:disabled{opacity:.42;cursor:not-allowed}
.hwh-btn--primary{background:linear-gradient(#32ccf2,#1493cc)!important;color:#02111e!important;border-color:#40dafc!important}
.hwh-message{min-height:17px;font-size:11px;color:var(--hwh-muted);margin-top:8px}
.hwh-message.is-error{color:#ff9b9b}.hwh-message.is-ok{color:#72e5a2}
.hwh-chips,.hwh-presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hwh-chips button{padding:6px 8px;border-radius:999px;font-size:10px}
.hwh-presets{display:grid;grid-template-columns:1fr 1fr}
.hwh-presets button{text-align:left;min-height:42px}
.hwh-avatar-list{display:grid;gap:7px;margin-top:10px}
.hwh-avatar-card{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;background:#061d31;border:1px solid var(--hwh-line);padding:7px;border-radius:10px}
.hwh-avatar-card.is-active{border-color:var(--hwh-cyan);box-shadow:0 0 0 2px rgba(43,212,255,.08)}
.hwh-avatar-card img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated;background:rgba(255,255,255,.04);border-radius:7px}
.hwh-avatar-card strong,.hwh-avatar-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hwh-avatar-card strong{font-size:12px}.hwh-avatar-card span{font-size:10px;color:var(--hwh-muted);margin-top:2px}
.hwh-avatar-card button{padding:6px 8px;font-size:10px}
.hwh-furni-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:330px;overflow:auto;margin-top:10px;padding-right:2px}
.hwh-furni-card{min-width:0;padding:7px!important;text-align:center;background:#061d31!important}
.hwh-furni-card img{display:block;width:64px;height:64px;margin:auto;object-fit:contain;image-rendering:pixelated}
.hwh-furni-card strong{display:block;font-size:9px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.hwh-furni-card span{display:block;font-size:8px;color:var(--hwh-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hwh-workspace{padding:20px;min-width:0}
.hwh-workspace__bar,.hwh-selected-head,.hwh-export{display:flex;align-items:center;justify-content:space-between;gap:14px}
.hwh-workspace__bar strong,.hwh-workspace__bar span{display:block}.hwh-workspace__bar strong{font-size:15px}.hwh-workspace__bar span{font-size:10px;color:var(--hwh-muted);margin-top:2px}
.hwh-toolbar{display:flex;align-items:end;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.hwh-toolbar label{font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:var(--hwh-muted)}
.hwh-toolbar select{margin-top:3px;padding:7px 9px}
.hwh-canvas-wrap{position:relative;margin:14px 0;background:
 linear-gradient(45deg,#d7e0e6 25%,transparent 25%),
 linear-gradient(-45deg,#d7e0e6 25%,transparent 25%),
 linear-gradient(45deg,transparent 75%,#d7e0e6 75%),
 linear-gradient(-45deg,transparent 75%,#d7e0e6 75%),#eef3f6;
 background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0;
 border:2px solid #204865;border-radius:14px;overflow:hidden;touch-action:none}
.hwh-canvas-wrap canvas{display:block;width:100%;height:auto;max-height:72vh;object-fit:contain;image-rendering:pixelated;cursor:grab}
.hwh-canvas-wrap canvas:active{cursor:grabbing}
.hwh-canvas-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#4e6678;pointer-events:none;padding:30px}
.hwh-canvas-empty[hidden]{display:none}.hwh-canvas-empty strong{font-size:18px;color:#1b3345}.hwh-canvas-empty span{font-size:11px;margin-top:4px}
.hwh-pixel-icon{width:66px;height:66px;display:grid;place-items:center;border-radius:13px;background:#ffd45a;border:4px solid #dba82b;color:#573e06;font-weight:1000;font-size:30px;margin-bottom:10px;box-shadow:inset 0 -8px rgba(0,0,0,.08)}
.hwh-selected-panel{background:#061d31;border:1px solid var(--hwh-line);border-radius:13px;padding:14px}
.hwh-selected-head h3{margin:3px 0 0;font-size:16px}
.hwh-layer-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.hwh-object-controls{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:14px}
.hwh-object-controls label{display:grid;grid-template-columns:1fr auto;gap:4px;color:var(--hwh-muted);font-size:10px;font-weight:800}
.hwh-object-controls input{grid-column:1/-1;padding:0;border:0}
.hwh-object-controls output{color:white}
.hwh-avatar-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}
.hwh-avatar-controls label{font-size:9px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:var(--hwh-muted)}
.hwh-avatar-controls select{margin-top:4px}
.hwh-export{justify-content:flex-start;margin-top:13px}
.hwh-btn--export{font-size:13px!important;padding:11px 16px!important}
.hwh-export span{font-size:10px;color:var(--hwh-muted)}
.hwh-help{margin-top:12px;border:1px solid var(--hwh-line);border-radius:11px;background:#061d31;padding:11px 13px}
.hwh-help summary{cursor:pointer;font-weight:800;font-size:12px}
.hwh-help ol{font-size:11px;color:#b9cedf;line-height:1.65;margin-bottom:0}
.hwh-fansite-note{padding:13px 20px;border-top:1px solid var(--hwh-line);font-size:10px;color:var(--hwh-muted);text-align:center;background:#031522}
.hwh-goodies-auto-menu{position:relative}.hwh-goodies-auto-menu .sub-menu{z-index:999}
@media(max-width:1050px){.hwh-imager__layout{grid-template-columns:1fr}.hwh-side{border-right:0;border-bottom:1px solid var(--hwh-line);display:grid;grid-template-columns:1fr 1fr}.hwh-side .hwh-panel:last-child{grid-column:1/-1}.hwh-furni-results{max-height:250px}}
@media(max-width:720px){.hwh-imager{border-radius:14px}.hwh-imager__hero{padding:20px;display:block}.hwh-live-badge{display:inline-block;margin-top:12px}.hwh-side{display:block}.hwh-workspace{padding:12px}.hwh-workspace__bar,.hwh-selected-head,.hwh-export{align-items:flex-start;flex-direction:column}.hwh-toolbar{justify-content:flex-start;width:100%}.hwh-object-controls,.hwh-avatar-controls{grid-template-columns:1fr 1fr}.hwh-furni-results{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){.hwh-furni-results{grid-template-columns:repeat(3,minmax(0,1fr))}.hwh-object-controls,.hwh-avatar-controls{grid-template-columns:1fr}.hwh-presets{grid-template-columns:1fr 1fr}}
