.car-gallery{box-sizing:border-box;width:min(1200px,96vw);height:94dvh;max-width:96vw;max-height:96dvh;padding:16px;border:1px solid #475569;border-radius:12px;background:#101827;color:#fff;overflow:hidden}.car-gallery[open]{display:flex;flex-direction:column;gap:12px}.car-gallery::backdrop{background:rgba(0,0,0,.85)}.car-gallery-top{display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.car-gallery button{border:1px solid #526071;border-radius:7px;background:#253142;color:#fff;cursor:pointer}.car-gallery button:focus-visible{outline:3px solid #70baff;outline-offset:2px}.car-gallery-close{padding:8px 14px}.car-gallery-stage{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-height:0;touch-action:pan-y}.car-gallery-stage img{width:calc(100% - 112px);height:100%;object-fit:contain;min-width:0}.car-gallery-prev,.car-gallery-next{font-size:40px;line-height:1;width:44px;height:64px;flex-shrink:0}.car-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:4px;flex-shrink:0}.car-gallery-thumbs button{padding:2px;flex:0 0 78px;height:62px}.car-gallery-thumbs img{width:100%;height:100%;object-fit:contain}.car-gallery-thumbs [aria-current=true]{border:3px solid #70baff}.car-gallery-error{text-align:center}.car-gallery [hidden]{display:none!important}@media(max-width:600px){.car-gallery{padding:10px;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.car-gallery-stage{gap:4px}.car-gallery-prev,.car-gallery-next{width:32px;height:52px}.car-gallery-stage img{width:calc(100% - 72px)}}
