:root {
    --overlay-alpha: .68;
    --outline-color: #fff;
    --outline-width: 3px;
}

 

* {
    box-sizing: border-box
}
/*
html,
body {
    height: 100%
}

body {
    margin: 0;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0e13;
    color: #e5e7eb;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
} */

.stage {
    position: relative;
    background: #111827;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    isolation: isolate;
    touch-action: manipulation;
    user-select: none;
}

.preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.overlay-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 2;
}

.overlay-img {
    display: none;
}

/* PNG blended on canvas */
.face-outline {
    fill: none;
    stroke: var(--outline-color);
    stroke-width: var(--outline-width);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6));
}

.hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    z-index: 3;
    font-size: 12px;
    color: #e5e7eb;
    opacity: .9;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    pointer-events: none;
}