
.model-gallery{min-width:0;width:100%}.gallery-frame{display:flex;justify-content:center;align-items:center;background:#e9f6fb;border-radius:18px;overflow:hidden}.gallery-frame>img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.gallery-frame[data-gallery-panel="2"]{display:none}.model-gallery:has(.gallery-choice input[value="2"]:checked) .gallery-frame[data-gallery-panel="1"]{display:none}.model-gallery:has(.gallery-choice input[value="2"]:checked) .gallery-frame[data-gallery-panel="2"]{display:flex}.gallery-controls{display:flex;gap:10px;flex-wrap:wrap;border:0;padding:8px 0 0;margin:8px 0 0;min-width:0}.gallery-controls>legend{padding:0;font-size:11px;font-weight:800;color:#17566c}.gallery-choice{position:relative;display:flex;align-items:center;gap:8px;min-height:54px;padding:6px 9px;background:white;border:2px solid #b5ddea;border-radius:12px;font-size:11px;font-weight:800;cursor:pointer;color:#17566c}.gallery-choice input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0;margin:0!important;padding:0!important}.gallery-choice img{display:block;width:58px!important;height:40px!important;min-width:0;object-fit:contain;border-radius:5px}.gallery-choice:has(input:checked){border-color:#e9b80b;background:#ffdf65}.gallery-choice:focus-within{outline:3px solid #0868a2;outline-offset:3px}.model-window-grid>.model-gallery{position:sticky;top:70px}.bjvisual .gallery-frame>img{max-height:390px}
@media(max-width:760px){.model-window-grid>.model-gallery{position:static}.model-window .gallery-frame>img,#bigjungledetail .gallery-frame>img{max-height:220px}.gallery-choice{font-size:11px;padding:6px 8px}.gallery-choice img{width:48px!important;height:35px!important}.gallery-controls{gap:8px}.gallery-frame{border-radius:14px}}

.model-gallery .gallery-frame[data-gallery-panel="3"]{display:none}.model-gallery:has(input[value="3"]:checked) .gallery-frame[data-gallery-panel="1"],.model-gallery:has(input[value="3"]:checked) .gallery-frame[data-gallery-panel="2"]{display:none}.model-gallery:has(input[value="3"]:checked) .gallery-frame[data-gallery-panel="3"]{display:flex}

.model-gallery .gallery-frame[data-gallery-panel="5"]{display:none}.model-gallery:has(input[value="5"]:checked) .gallery-frame{display:none}.model-gallery:has(input[value="5"]:checked) .gallery-frame[data-gallery-panel="5"]{display:flex}

.model-gallery .gallery-frame[data-gallery-panel="4"]{display:none}.model-gallery:has(input[value="4"]:checked) .gallery-frame:not([data-gallery-panel="4"]){display:none}.model-gallery:has(input[value="4"]:checked) .gallery-frame[data-gallery-panel="4"]{display:flex}
