.homebase-zoomable-photo { cursor: zoom-in; }
.homebase-zoomable-photo:focus-visible { outline: 3px solid #53b974; outline-offset: 3px; }
.homebase-photo-zoom { position: fixed; width: min(1080px, calc(100vw - 16px)); height: min(92dvh, 1000px); max-width: none; max-height: none; margin: auto; padding: 14px; border: 1px solid #568b69; border-radius: 14px; background: #0b2116; color: #fff; box-sizing: border-box; font: 14px/1.4 system-ui, sans-serif; }
.homebase-photo-zoom::backdrop { background: rgba(0, 13, 7, .86); }
.homebase-photo-zoom header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.homebase-photo-zoom header strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.homebase-photo-zoom button, .homebase-photo-zoom a { min-height: 42px; padding: 8px 12px; border: 1px solid #6aaf81; border-radius: 7px; background: #163d27; color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.homebase-photo-zoom header button { flex: 0 0 42px; font-size: 24px; line-height: 1; }
.homebase-photo-zoom-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.homebase-photo-zoom-tools output { min-width: 54px; text-align: center; font-weight: 700; }
.homebase-photo-zoom-viewport { display: flex; align-items: safe center; justify-content: safe center; height: calc(100% - 147px); min-height: 180px; overflow: auto; overscroll-behavior: contain; background: #06120c; border-radius: 8px; }
.homebase-photo-zoom-frame { position: relative; flex: 0 0 auto; min-width: 1px; min-height: 1px; }
.homebase-photo-zoom-frame img { position: absolute; top: 50%; left: 50%; max-width: none; max-height: none; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.homebase-photo-zoom p { margin: 9px 0 0; color: #c4d8ca; font-size: 12px; }
@media (max-width: 600px) { .homebase-photo-zoom { padding: 10px; } .homebase-photo-zoom-tools { gap: 5px; } .homebase-photo-zoom-tools button, .homebase-photo-zoom-tools a { padding: 7px 9px; } .homebase-photo-zoom-viewport { height: calc(100% - 188px); } }
