.device-gallery{min-width:0}.gallery-main{position:relative;display:flex;align-items:center;justify-content:center;background:#f5f6f8;border-radius:18px;overflow:hidden;cursor:zoom-in;height:clamp(320px,48vw,570px)}.gallery-main>img{width:100%;height:100%;object-fit:contain;padding:12px}.gallery-zoom{position:absolute;bottom:14px;right:14px;background:#fff;padding:7px 12px;border-radius:20px;font-size:12px;color:#37454b;box-shadow:0 2px 12px #0001}.gallery-bottom{display:flex;justify-content:space-between;gap:10px;padding:12px 2px;font-size:12px;color:#65737c}.gallery-thumbs{display:flex;gap:12px;overflow-x:auto;padding:3px}.gallery-thumbs button{flex:0 0 78px;height:82px;background:#f5f6f8;border:2px solid transparent;border-radius:12px;padding:4px}.gallery-thumbs button[aria-pressed=true]{border-color:#2462f2;background:#fff}.gallery-thumbs img{width:100%;height:100%;object-fit:contain}.gallery-dialog{padding:0;border:0;border-radius:16px;background:#f7f8fa;color:#18232d;width:min(1100px,95vw);max-width:95vw;height:min(880px,94dvh);max-height:94dvh}.gallery-dialog::backdrop{background:rgba(10,18,26,.84)}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;height:56px}.gallery-toolbar button,.gallery-full button{border:1px solid #dce2e7;background:#fff;color:#18232d;border-radius:50%;width:44px;height:44px;font-size:23px}.gallery-full{display:flex;position:relative;align-items:center;justify-content:center;height:calc(100% - 56px);padding:12px 64px 24px;touch-action:pan-y pinch-zoom}.gallery-full img{width:100%;height:100%;object-fit:contain}.gallery-full button{position:absolute;top:calc(50% - 22px);z-index:1;font-size:32px}.gallery-full [data-gallery-prev]{left:10px}.gallery-full [data-gallery-next]{right:10px}.gallery-full [hidden]{display:none}html.gallery-modal-open{overflow:hidden}@media(max-width:600px){.gallery-main{height:360px}.gallery-thumbs button{flex-basis:68px;height:72px}.gallery-bottom{font-size:11px}.gallery-full{padding:8px 44px 16px}.gallery-full button{width:36px;height:36px}.gallery-full [data-gallery-prev]{left:4px}.gallery-full [data-gallery-next]{right:4px}.gallery-dialog{height:88dvh}}
