.tl-crop-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.tl-crop-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.tl-crop-dialog {
    width: min(520px, 100%);
    background: var(--bg-elev-2, #1a1d24);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.tl-crop-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.tl-crop-dialog__head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}
.tl-crop-dialog__close {
    border: none;
    background: transparent;
    color: var(--text-muted, #94a3b8);
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
}
.tl-crop-stage-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-height: min(60vh, 420px);
    background: #0b0d12;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
}
.tl-crop-stage-wrap.is-dragging {
    cursor: grabbing;
}
.tl-crop-canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.tl-crop-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.45);
}
.tl-crop-overlay__hole {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.tl-crop-overlay__hole.is-circle {
    border-radius: 50%;
}
.tl-crop-controls {
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tl-crop-zoom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted, #94a3b8);
}
.tl-crop-zoom input[type="range"] {
    flex: 1;
}
.tl-crop-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
