.icp-layout-v1 .icp-gallery{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;container-type:normal}
.icp-layout-v1 .icp-gallery:has(.icp-gallery-slide:nth-child(2)){grid-template-columns:58px minmax(0,1fr)}
.icp-gallery-stage{grid-column:-2/-1;grid-row:1;aspect-ratio:1;display:grid;place-items:center;max-height:440px;min-width:0}
.icp-gallery-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.icp-gallery-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;gap:4px;min-height:0;height:var(--icp-stage-height, 0px);visibility:hidden}
.icp-gallery[data-ready] .icp-gallery-rail{visibility:visible}
.icp-gallery:not(:has(.icp-gallery-slide:nth-child(2))) .icp-gallery-rail{display:none}
.icp-gallery-track{display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:0;scrollbar-width:none;overscroll-behavior-inline:contain}
.icp-gallery-track::-webkit-scrollbar{display:none}
.icp-gallery-slide,.icp-gallery-arrow,.icp-gallery-dots button{appearance:none;background:transparent;color:inherit;border:0;padding:0;margin:0;cursor:pointer;box-shadow:none}
.icp-gallery-slide{display:block;flex:0 0 58px;width:58px;height:58px;border:2px solid #e5e5e5;border-radius:8px;padding:4px}
.icp-gallery-slide picture,.icp-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain}
.icp-gallery-slide[aria-current=true]{border-color:#d2232a}
@media(hover:hover) and (pointer:fine){.icp-gallery-slide:not([aria-current=true]):hover{border-color:#d2232a66}}
.icp-gallery-arrow{flex:0 0 24px;height:24px;font-size:20px;line-height:24px}
.icp-gallery-arrow[hidden]{display:none!important}
.icp-gallery button:focus-visible,.icp-gallery-track:focus-visible{outline:2px solid #d2232a;outline-offset:-2px}
.icp-gallery-dots{display:none}
.icp-gallery-stickers{position:absolute;top:8px;left:78px;display:flex;flex-wrap:wrap;gap:4px;max-width:calc(100% - 86px);pointer-events:none}
.icp-gallery:not(:has(.icp-gallery-slide:nth-child(2))) .icp-gallery-stickers{left:8px;max-width:calc(100% - 16px)}
.icp-gallery-stickers span{background:#f2f2f4;color:#333;padding:4px 8px;border-radius:4px;font-size:11px;line-height:1.3}
@container (max-width:1024px){
.icp-layout-v1 .icp-gallery,.icp-layout-v1 .icp-gallery:has(.icp-gallery-slide:nth-child(2)){grid-column:1/-1;display:block}
.icp-gallery-stage{display:none}
.icp-gallery-rail,.icp-gallery:not(:has(.icp-gallery-slide:nth-child(2))) .icp-gallery-rail{display:block;height:auto;visibility:visible}
.icp-gallery-arrow{display:none!important}
.icp-gallery-track{flex-direction:row;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:none}
.icp-gallery-slide,.icp-gallery-slide[aria-current=true]{flex:0 0 300px;width:300px;height:300px;max-width:100%;border:0;background:#f5f5f7;padding:12px}
.icp-gallery-stickers{left:8px;max-width:calc(100% - 16px)}
}
@container (max-width:600px){
.icp-layout-v1 .icp-gallery,.icp-layout-v1 .icp-gallery:has(.icp-gallery-slide:nth-child(2)){grid-column:auto}
.icp-gallery-track{gap:0;scroll-snap-type:x mandatory;touch-action:pan-x pan-y pinch-zoom}
.icp-gallery-slide,.icp-gallery-slide[aria-current=true]{flex:0 0 100%;width:100%;height:auto;aspect-ratio:1;scroll-snap-align:start;scroll-snap-stop:always;background:white;padding:8px;border:0}
.icp-gallery[data-ready] .icp-gallery-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin-top:4px}
.icp-gallery-dots button{width:24px;height:24px;display:grid;place-items:center}
.icp-gallery-dots button::after{content:'';width:7px;height:7px;border-radius:50%;background:#bdbdc2}
.icp-gallery-dots button[aria-current=true]::after{background:#d2232a}
}
