.gallery-editor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.gallery-editor-head label{margin:0}.gallery-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.gallery-preview{min-width:0;padding:8px;border:1px solid var(--line);border-radius:9px;background:#fff}.gallery-preview>img{width:100%;height:110px;object-fit:contain;border-radius:5px;background:#f5f5ef}.gallery-preview-title{font-size:12px;margin:6px 0}.gallery-preview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.gallery-preview-actions button{font-size:11px;padding:5px 3px;white-space:nowrap}.gallery-preview-actions button:first-child{grid-column:1/-1}#product-gallery-files{font-size:12px;max-width:100%}#clear-image-error{font-size:12px;padding:6px 10px}.product-gallery{margin:4px 0 22px;min-width:0}.gallery-viewport{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:10px;background:#eeeede;touch-action:pan-x pan-y pinch-zoom}.gallery-viewport::-webkit-scrollbar{display:none}.gallery-slide{display:block;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in}.gallery-slide img{display:block;width:100%;height:320px;object-fit:contain;user-select:none;-webkit-user-select:none}.product-gallery.expanded .gallery-slide{cursor:zoom-out}.product-gallery.expanded .gallery-slide img{height:65vh;max-height:750px}.gallery-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 0}.gallery-navigation button{padding:5px 17px;font-size:20px}.gallery-position{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.gallery-thumbnails{display:flex;gap:7px;overflow-x:auto;padding:2px}.gallery-thumbnails button{flex:0 0 58px;width:58px;height:58px;padding:3px;background:#fff;border:2px solid transparent;border-radius:7px}.gallery-thumbnails button[aria-pressed=true]{border-color:var(--ink)}.gallery-thumbnails img{width:100%;height:100%;object-fit:contain}
@media(max-width:600px){.gallery-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-preview>img{height:95px}.gallery-slide img{height:260px}.gallery-thumbnails button{flex-basis:45px;width:45px;height:45px}.gallery-thumbnails{gap:5px}.product-gallery.expanded .gallery-slide img{height:60vh}}
.group-info{--record-height:36px;height:204px;min-height:204px;max-height:204px;box-sizing:border-box;display:flex;flex-direction:column;padding:14px 13px;overflow:hidden}.group-info .group-head{height:28px;min-height:28px;margin:0;align-items:center;gap:6px}.group-info .group-tag{font-size:13px;white-space:nowrap}.group-info .group-countdown{font-size:10px;white-space:nowrap}.group-info .group-total{height:26px;min-height:26px;margin:4px 0 0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-roll-window{height:calc(var(--record-height)*3);min-height:calc(var(--record-height)*3);overflow:hidden;position:relative;margin-top:3px}.group-roll-track{transform:translateY(0)}.group-roll-track.is-moving{transform:translateY(calc(-1*var(--record-height)));transition:transform .6s ease}.group-roll-row{height:var(--record-height);min-height:var(--record-height);display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.4;box-sizing:border-box}.record-source{font-size:10px;border-radius:4px;padding:2px 5px;flex-shrink:0;background:#e8eee2;color:#405640}.record-source.offline{background:#f1e8d9;color:#75542c}.record-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-empty-records{height:calc(var(--record-height)*3);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--muted)}@media(max-width:760px){.group-info{height:204px;min-height:204px;max-height:204px;padding:12px 10px}.group-info .group-head{height:30px;min-height:30px}.group-info .group-tag{font-size:12px}.group-info .group-countdown{font-size:9px}.group-roll-row{font-size:11px;gap:5px}.record-source{font-size:10px;padding:2px 4px}}@media(prefers-reduced-motion:reduce){.group-roll-track.is-moving{transition:none}}
