.gym .detail-visual .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px;margin:18px 0 0;align-items:stretch}
.gym .detail-visual .gallery button{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;width:100%;min-width:0;margin:0;padding:6px;border:1px solid #cbd5c5;border-radius:6px;background:#fffefa;color:#465d50;font:500 13px/1.4 Arial,sans-serif;cursor:pointer;box-sizing:border-box;outline:none}
.gym .detail-visual .gallery button img{display:block;width:100%;height:82px;object-fit:contain;background:#efeee8;border-radius:3px}
.gym .detail-visual .gallery button span{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 4px;text-align:center;overflow-wrap:break-word;font:500 13px/1.4 Arial,sans-serif}
.gym .detail-visual .gallery button[aria-pressed=true]{border:2px solid #244d43;padding:5px;background:#eaf0e5;color:#244d43;outline:none}
.gym .detail-visual .gallery button[aria-pressed=true] span{font-weight:700}
.gym .detail-visual .gallery button:hover{border-color:#6b8773;background:#f0f3e9}
.gym .detail-visual .gallery button:focus-visible{outline:3px solid #a26125;outline-offset:3px}
@media(max-width:1000px) and (min-width:801px){.gym .detail-visual .gallery{gap:8px}.gym .detail-visual .gallery button img{height:68px}}
@media(max-width:480px){.gym .detail-visual .gallery{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.gym .detail-visual .gallery button img{height:78px}.gym .detail-visual .gallery button span{font-size:12px;min-height:36px}}
