.item-gallery{display:flex;align-items:center;gap:14px;min-width:0;margin:6px 0}.item-gallery-thumb{position:relative;flex:0 0 88px;width:88px;height:72px;background:var(--caros-surface-soft);border:1px solid var(--caros-border);border-radius:10px;overflow:hidden;cursor:zoom-in;padding:4px;color:var(--caros-muted);font-size:11px}.item-gallery-thumb img{width:100%;height:100%;object-fit:contain}.item-gallery-count{position:absolute;right:3px;bottom:3px;background:var(--caros-primary);color:#fff;padding:2px 5px;border-radius:5px;font-size:11px}.item-gallery-title{color:inherit;font:inherit;font-weight:650;border:0;background:transparent;text-align:left;padding:0;cursor:zoom-in}.item-gallery-dialog{border:0;border-radius:18px;padding:0;width:min(1000px,94vw);max-width:94vw;max-height:94dvh;box-shadow:0 24px 100px #0008;color:var(--caros-ink);background:#fff}.item-gallery-dialog::backdrop{background:#0c1914d1}.item-gallery-panel{padding:20px}.item-gallery-panel header{display:flex;gap:20px;align-items:center;justify-content:space-between}.item-gallery-panel h2{font:600 18px/1.4 Arial,sans-serif;margin:0}.item-gallery-panel header button{font-size:30px;background:var(--caros-surface-soft);border:0;border-radius:50%;width:44px;height:44px;cursor:pointer;flex-shrink:0}.item-gallery-stage{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:200px;margin-top:15px;background:var(--caros-surface-soft);border-radius:12px}.item-gallery-stage>img{object-fit:contain;min-width:0;max-width:100%;width:100%;height:56dvh}.item-gallery-arrow{flex:0 0 44px;min-height:64px;background:var(--caros-primary);color:#fff;border:0;border-radius:8px;font-size:40px;cursor:pointer}.item-gallery-position{text-align:center;font:14px Arial,sans-serif}.item-gallery-strip{display:flex;gap:8px;overflow-x:auto;padding:4px}.item-gallery-strip button{flex:0 0 70px;height:58px;border:2px solid transparent;border-radius:6px;background:var(--caros-surface-soft);cursor:pointer}.item-gallery-strip button[aria-pressed=true]{border-color:var(--caros-primary)}.item-gallery-strip img{width:100%;height:100%;object-fit:contain}.item-gallery-empty{padding:60px 15px;text-align:center}.item-gallery button:focus-visible,.item-gallery-dialog button:focus-visible{outline:3px solid var(--caros-border-strong);outline-offset:3px}.item-gallery-listing-row{display:flex;align-items:center;gap:12px}.item-gallery-listing-row>a{flex:1;min-width:0}@media(max-width:600px){.item-gallery-panel{padding:12px}.item-gallery-stage>img{height:45dvh}.item-gallery-thumb{flex-basis:72px;width:72px;height:62px}.item-gallery-arrow{flex-basis:36px}.item-gallery-panel h2{font-size:15px}}.item-gallery-description{border-top:1px solid #dbe3e4;margin-top:18px;padding-top:14px}.item-gallery-description h3{font:600 16px/1.4 Arial,sans-serif;margin:0 0 8px}.item-gallery-description p{font:14px/1.6 Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}
