* {
    font-family: system-ui, sans-serif;
}

.designer {
    display: flex;
    gap: 2em;
    align-items: flex-start;
}

.watch {
    position: relative;
    width: 400px;
    height: 400px;
    overflow: hidden;
    border: 1px solid;
    border-radius: 50%;
}

/* The faces fill the square bounding box, so the inscribed circle stays
   fully covered at every rotation angle. */
.face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stacking order is driven entirely by the checked radio, with no JavaScript. */
.face.minute {
    z-index: 2;
}
.face.hour {
    z-index: 1;
}
.face.background {
    z-index: 0;
}

/* Hide images before any are uploaded */
.face:not([src]) {
    display: none;
}

#top-hour:checked ~ .watch .face.hour {
    z-index: 2;
}
#top-hour:checked ~ .watch .face.minute {
    z-index: 1;
}

#time {
    display: block;
}

#time-slider {
    display: block;
    width: 400px;
}
