/* Only the requested v50 corrections; the approved v49 interface is retained. */
#portrait-gallery{height:calc(100dvh - 40px)}
@media(max-width:460px){#portrait-gallery{height:calc(100dvh - 24px)}}
#head-panel .head-overlay-close{display:flex;align-items:center;justify-content:center;line-height:1}
#head-panel .head-overlay-close svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
#head-camera-controls .head-control-item:has(#head-elevation){bottom:40px}
#head-camera-controls .head-control-item:has(#head-focal-length){left:9px;top:50%;transform:translateY(-50%);width:18px;height:clamp(48px,14%,82px);padding:3px 2px}
#head-camera-controls #head-focal-length{width:12px;height:100%;writing-mode:vertical-lr;direction:rtl}
#head-camera-controls #head-focal-length::-webkit-slider-runnable-track{width:3px;height:100%}
#head-camera-controls #head-focal-length::-webkit-slider-thumb{margin-top:0;margin-left:-3.5px}
.palette-color-add{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;padding:0;border:1px solid #a88e69;border-radius:50%;background:#3c3025;color:#ead3a5;box-shadow:0 2px 6px #0008;cursor:pointer}
.palette-color-add svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
