.content-gallery{width:100%;min-width:0}.gallery-stage{position:relative;display:grid;place-items:center;min-height:200px;touch-action:pan-y}.gallery-main-image{display:block!important;width:100%!important;max-height:450px!important;object-fit:contain!important;animation:gallery-arrive .25s ease;transition:opacity .25s ease}.gallery-main-image[hidden]{display:none!important}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0;font-size:12px}.gallery-controls button{font:inherit;min-width:44px;min-height:44px;padding:6px 12px;border:1px solid #aa718d80;border-radius:10px;background:#852d5012;color:inherit;cursor:pointer}.gallery-thumbnails{display:flex;justify-content:center;gap:8px;overflow-x:auto;padding:5px;max-width:100%}.gallery-thumbnails button{flex:0 0 64px;width:64px;height:70px;border:1px solid #aa718d80;border-radius:10px;background:#852d5010;padding:5px;cursor:pointer}.gallery-thumbnails img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}.gallery-thumbnails button.active{border:2px solid #b83f73}.content-gallery :focus-visible{outline:3px solid #b83f73;outline-offset:3px}.people-avatar:has(.content-gallery){width:min(360px,100%);height:auto}.detail-visual:has(.content-gallery){display:flex;align-items:center;justify-content:center;flex-direction:column}.content-gallery-container{max-width:650px;margin:20px auto}.branch-card .content-gallery{margin:15px 0}@keyframes gallery-arrive{from{opacity:.55}to{opacity:1}}@media(max-width:600px){.gallery-main-image{max-height:320px!important}.gallery-thumbnails button{flex-basis:54px;width:54px;height:60px}}@media(prefers-reduced-motion:reduce){.gallery-main-image{animation:none!important;transition:none!important}}
