.avatar-editor{position:relative;width:88%;height:88%;z-index:2;touch-action:pan-y}
.avatar-editor #preview{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y;cursor:default}
.avatar-hit{position:absolute;z-index:3;padding:0;border:0;background:transparent;cursor:grab;touch-action:none;transition:none!important;transform:none!important;border-radius:0}
.avatar-hit:active{cursor:grabbing}.avatar-hit:focus-visible{outline:2px dashed #cb4771;outline-offset:3px}
.avatar-frame{position:absolute;z-index:4;border:1.5px solid #ca4771;pointer-events:none;box-shadow:0 0 0 1px #fff7}
.resize-handle{position:absolute;width:44px;height:44px;border:0;padding:0;z-index:5;background:transparent;touch-action:none;transform:translate(-50%,-50%)!important;transition:none!important}
.resize-handle:before{content:'';position:absolute;inset:15px;background:white;border:2px solid #ca4771;border-radius:4px;box-shadow:0 1px 5px #4e243d30}
.resize-handle[data-corner=nw],.resize-handle[data-corner=se]{cursor:nwse-resize}
.resize-handle[data-corner=ne],.resize-handle[data-corner=sw]{cursor:nesw-resize}
.edit-tools{display:flex;justify-content:space-between;align-items:center;min-height:30px;gap:8px;margin-top:7px;font-size:11px;color:#a5808d}.edit-tools button{font-weight:700;color:#bd4567}
.stage .sample-tag{pointer-events:none;z-index:1}.stage .stage-corner{pointer-events:none}
@media(pointer:coarse){.resize-handle:before{inset:13px}.edit-tools{font-size:12px}}
