/* Keep the existing wardrobe layout while the photograph defines the canvas geometry. */
.wardrobe-stage--pilot.wardrobe-stage--pieces {
    width: 100% !important;
    max-width: min(100%, calc(660px * var(--wardrobe-ratio))) !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    background: #fff;
}
.wardrobe-stage--pieces::after {
    display: none;
}
.wardrobe-canvas--pilot.wardrobe-canvas--pieces {
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: var(--wardrobe-width) / var(--wardrobe-height) !important;
    background: #fff;
}
.wardrobe-piece-scene {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}
.wardrobe-canvas--pieces .wardrobe-slot {
    position: static;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    filter: none;
    backdrop-filter: none !important;
    transform: none;
    transition: none;
    animation: none !important;
    outline: none;
    cursor: pointer;
}
.wardrobe-piece-contour {
    display: none;
    color: #23874d;
}
.wardrobe-piece-contour use {
    fill: currentColor;
    fill-opacity: .14;
    stroke: currentColor;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 5 3;
}
.wardrobe-piece-target.is-active .wardrobe-piece-contour,
.wardrobe-piece-target:focus-visible .wardrobe-piece-contour {
    display: block;
}
.wardrobe-piece-target.is-wrong .wardrobe-piece-contour {
    display: block;
    color: #c74535;
}
.wardrobe-piece-target.is-filled {
    pointer-events: none;
    cursor: default;
}
.wardrobe-piece-target.is-filled .wardrobe-piece-contour {
    display: none;
}
.wardrobe-item--pilot .wardrobe-piece-thumb {
    display: block;
    overflow: hidden;
    background: #fff;
    pointer-events: none;
}
.wardrobe-canvas--pieces > .wardrobe-finished {
    position: absolute;
    pointer-events: none;
}
@media (max-width: 760px) {
    .wardrobe-stage--pilot.wardrobe-stage--pieces {
        width: min(100%, 360px) !important;
        max-width: 360px !important;
    }
}
