.bstar-gallery-modal{border:0;padding:16px;background:#10151e;color:#fff;width:min(96vw,1600px);max-width:96vw;max-height:96dvh;border-radius:12px;overflow:auto;margin:auto;box-sizing:border-box}
.bstar-gallery-modal::backdrop{background:#000d}.bstar-gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 8px 12px}
.bstar-gallery-modal button{display:grid;place-items:center;border:1px solid #ffffff45;background:#172536;color:#fff;min-width:44px;min-height:44px;border-radius:50%;font-size:30px;cursor:pointer}
.bstar-gallery-stage{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0}.bstar-gallery-stage img{display:block;width:calc(100% - 112px);height:auto;max-height:76dvh;object-fit:contain;min-width:0}.bstar-gallery-modal [data-caption]{font-size:15px;line-height:1.6;text-align:center;color:#fff;margin:15px 0 0;overflow-wrap:anywhere}
.bstar-gallery-modal [hidden]{display:none!important}.bstar-gallery-modal button:focus-visible{outline:3px solid #00c2ff;outline-offset:3px}
.bstar-detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.bstar-detail-gallery figure{margin:0;min-width:0}.bstar-detail-gallery a{display:block}.bstar-detail-gallery img{display:block;width:100%;height:auto;border:1px solid var(--princing-box-border);border-radius:8px}.bstar-detail-gallery figcaption{font-size:14px;line-height:1.6;margin-top:12px;color:var(--text-color)}
@media(max-width:575px){.bstar-detail-gallery{grid-template-columns:1fr}}
@media(max-width:575px){.bstar-gallery-modal{padding:10px}.bstar-gallery-stage{flex-wrap:wrap;gap:10px}.bstar-gallery-stage img{order:-1;width:100%;max-height:65dvh}.bstar-gallery-modal [data-caption]{font-size:13px}}
