.entity-handle{position:absolute;display:flex;align-items:center;max-width:calc(100% - 6px);transform:translate(-50%,-100%);pointer-events:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 2px 8px #0004}
.entity-handle[hidden]{display:none}
.studio-layout .entity-handle>.actor-move-handle{position:static;transform:none;min-width:0;min-height:44px;max-width:180px;border:0;border-radius:6px 0 0 6px;box-shadow:none}
.entity-handle .actor-name,.entity-handle .prop-name,.entity-handle #actor-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.entity-handle>.entity-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:11px;border:0;border-left:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);cursor:pointer;touch-action:manipulation}
.entity-handle>.entity-action[data-entity-action=lock]{border-radius:0 6px 6px 0}
.entity-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.entity-handle>.entity-action:hover{background:var(--hover)}
.entity-handle>.entity-action[aria-pressed=true]{background:var(--action-bg);color:var(--action-ink)}
.entity-handle[data-position-locked=true]>.actor-move-handle{cursor:pointer}
.prop-facing-handles{position:absolute;inset:0;pointer-events:none;z-index:6}
.studio-layout .prop-facing-handle{position:absolute;display:block;width:44px;height:44px;min-width:44px;min-height:44px;transform:translate(-50%,-50%);padding:0;border:0;border-radius:50%;background:transparent;color:inherit;box-shadow:none;pointer-events:auto;touch-action:none;cursor:grab}
.studio-layout .prop-facing-handle[hidden]{display:none}
.prop-facing-handle:focus-visible{outline:2px solid #f6cf67;outline-offset:0}
.prop-facing-handle:active,.facing-dragging .prop-facing-handle{cursor:grabbing}
