.shelf[data-collection=glass] .track{grid-auto-rows:auto;align-items:start;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}.card:has(sl-glass-extra){height:auto!important;min-height:394px;align-self:start}.card[data-id^="glass-checkbox-"],.card[data-id^="glass-slider-"],.card[data-id="glass-playback"],.card[data-id^="glass-menu-"],.card[data-id^="glass-"] .stage:has(sl-glass-extra){height:auto!important}.card:has(sl-glass-extra) .stage{flex:none;aspect-ratio:auto;width:100%;min-width:0;min-height:340px}sl-glass-extra{display:block;min-width:0;width:100%;height:auto}.big:has(>sl-glass-extra){display:block!important;overflow:auto!important;min-height:340px;align-content:safe center;background:#fafbfd}.glass-modal-toolbar{display:none}.glass-more-cover i{font-size:16px}.card[data-id^="glass-menu-"] .stage{min-height:540px}.card[data-id="glass-playback"] .stage{min-height:340px}
@media(max-width:860px){.sheet:has(sl-glass-extra)[open]{display:block;overflow:auto}.sheet:has(sl-glass-extra) .view{display:block;min-height:0}.sheet:has(sl-glass-extra) .big{height:auto;min-height:340px}.sheet:has(sl-glass-extra) .side{height:400px;min-height:400px;margin-top:10px}.sheet:has(sl-glass-extra) #sheet-close{display:none}.glass-modal-toolbar{display:flex;justify-content:flex-end;align-items:center;min-height:36px;margin-bottom:8px}}
@media(max-width:600px){.shelf[data-collection=glass] .track{grid-template-columns:minmax(0,1fr)}}

.card[data-id^="glass-"]{height:auto!important;min-height:394px;align-self:start}.card[data-id^="glass-"] .stage{flex:none;aspect-ratio:auto;min-height:340px}.card[data-id^="glass-menu-"] .stage{min-height:540px}.card[data-id="glass-playback"] .stage{min-height:340px}

/* The same 176px, centred miniature scene used by Product and Matte covers. */
.collection[data-coll=glass] .peek.art{position:relative;isolation:isolate;grid-template-columns:minmax(0,1fr)}
.gca-backdrop{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 20% 30%,#8daaff88,transparent 64%),radial-gradient(ellipse at 82% 80%,#ffc3aaad,transparent 64%),radial-gradient(ellipse at 76% 12%,#c8a8ff80,transparent 64%),#edf0f8}
.gca{position:relative;width:min(236px,100%);min-width:0;gap:10px;color:#1a1c23;font-weight:500;line-height:1.3;pointer-events:none}
.gca *{box-sizing:border-box}
.collection .peek .gca svg{display:block;width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gca-surface{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;border-radius:22px;background:#ffffff66;box-shadow:inset 0 1px 0 #ffffffd9,inset 0 0 0 1px #ffffff4d,0 8px 22px -12px #32235a40;backdrop-filter:blur(14px) saturate(1.5);-webkit-backdrop-filter:blur(14px) saturate(1.5)}
.gca-field{width:100%;height:42px;padding:0 13px}
.gca-value{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis}
.gca-generate{width:150px;height:34px;gap:12px}
.gca-dots{display:flex;gap:3px}
.gca-dots i{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.35;animation:gca-dot 5s ease-in-out infinite}
.gca-dots i:nth-child(2){animation-delay:.18s}.gca-dots i:nth-child(3){animation-delay:.36s}
.gca-share{height:42px;padding:4px;gap:5px}
.gca-bead{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffffff70;box-shadow:inset 0 1px 0 #ffffffba,0 2px 6px #32235a0c}
.gca-currency{font-size:11px;color:#62657a;padding-left:9px;border-left:1px solid #ffffff75}
.gca-switch{position:relative;flex:none;width:40px;height:24px;border-radius:12px;background:#ffffff55;box-shadow:inset 0 0 0 1px #ffffff80}
.gca-switch::after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #32235a26;translate:16px 0;animation:gca-switch 5s cubic-bezier(.3,.7,.2,1) infinite}
.gca-theme{display:grid;grid-template-columns:repeat(3,1fr);width:184px;height:32px;padding:3px;gap:0;font-size:11px}
.gca-theme>span{position:relative;z-index:1;text-align:center}
.gca-selected{position:absolute;left:3px;top:3px;width:calc((100% - 6px)/3);height:26px;border-radius:13px;background:#ffffffe0;box-shadow:0 1px 3px #32235a0f;animation:gca-segment 6s cubic-bezier(.45,0,.2,1) infinite}
.gca-box{display:grid;place-items:center;flex:none;width:21px;height:21px;border-radius:7px;background:#ffffffe0;box-shadow:inset 0 1px 0 #fff,0 1px 3px #32235a1a;color:#65718d}
.gca-box path{stroke-dasharray:1;stroke-dashoffset:0;animation:gca-check 6s cubic-bezier(.45,0,.2,1) infinite}
.gca-progress{width:142px;height:30px;font-size:12px;overflow:hidden}
.gca-progress>span:last-child{position:relative}
.gca-progress-fill{position:absolute;inset:0 auto 0 0;width:66.6667%;border-radius:inherit;background:#ffffff5c}
.gca-sliders .gca-field{gap:8px}
.gca-rail{position:relative;flex:1;min-width:30px;height:5px;border-radius:3px;background:#49577520;margin-left:3px}
.gca-rail i{position:absolute;inset:0 auto 0 0;width:60%;border-radius:inherit;background:#ffffffd9;animation:gca-fill 6s cubic-bezier(.45,0,.2,1) infinite}
.gca-rail u{position:absolute;left:60%;top:50%;width:15px;height:15px;margin-left:-7.5px;margin-top:-7.5px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #32235a35;animation:gca-thumb 6s cubic-bezier(.45,0,.2,1) infinite}
.gca-player{height:40px;width:100%;padding:0 11px;gap:10px}
.gca-play{display:grid;place-items:center;flex:none;width:25px;height:25px;border-radius:50%;background:#ffffff80}
.collection .peek .gca-play svg{width:14px;height:14px}
.gca-wave{position:relative;display:flex;align-items:center;justify-content:space-between;gap:2px;height:32px;flex:1;min-width:0;color:#65718d}
.gca-wave i{display:block;flex:1;max-width:3px;height:calc(var(--h) * .65);border-radius:2px;background:currentColor;opacity:.45}
.collection .peek .gca .gca-playhead{position:absolute;inset:0;width:100%;height:100%;overflow:visible;stroke:none}.gca-playhead rect{x:18px;fill:#fff;stroke:#56607d40;stroke-width:.6;animation:gca-playhead 8s linear infinite}
.gca-player small{color:#62657a;font-size:10px;font-variant-numeric:tabular-nums}
.gca-menus{gap:8px}
.gca-menu{display:grid;gap:2px;width:200px;max-width:100%;padding:6px;border-radius:18px;justify-content:stretch}
.gca-menu-row{display:flex;align-items:center;gap:8px;height:27px;padding:0 7px;font-size:12px;text-align:left}
.gca-menu-row:first-child{background:#ffffff55;border-radius:13px}
.gca-menu-row small{margin-left:auto;font-size:10px;color:#62657a}
.gca-trigger{height:34px;min-width:168px;padding:0 12px;gap:8px}
@keyframes gca-dot{0%,15%,80%,100%{opacity:.25}35%,60%{opacity:.8}}
@keyframes gca-switch{0%,18%,88%,100%{translate:0 0}32%,76%{translate:16px 0}}
@keyframes gca-segment{0%,20%,92%,100%{translate:0 0}34%,48%{translate:100% 0}62%,78%{translate:200% 0}}
@keyframes gca-check{0%,12%,94%,100%{stroke-dashoffset:1}30%,80%{stroke-dashoffset:0}}
@keyframes gca-fill{0%,12%,92%,100%{width:24%}38%,54%{width:85%}72%,82%{width:50%}}
@keyframes gca-thumb{0%,12%,92%,100%{left:24%}38%,54%{left:85%}72%,82%{left:50%}}
@keyframes gca-playhead{0%,100%{x:18px}50%{x:82px}}
@media(prefers-reduced-motion:reduce){.gca *,.gca *::before,.gca *::after{animation:none!important;transition:none!important}}

/* A single fill behaviour for all Glass code-window previews. The dialog owns
   scrolling on short screens; the live preview never gets its own scroll area. */
.sheet:has(sl-glass-input,sl-glass-toggle,sl-glass-extra)[open]{height:min(800px,calc(100dvh - 32px));overflow:auto}
.sheet .big:has(>sl-glass-input,>sl-glass-toggle,>sl-glass-extra){display:block!important;overflow:hidden!important;min-height:340px;align-content:normal}
.sheet[data-id^="glass-menu-"] .big{min-height:540px}

.card[data-id="glass-playback"] sl-glass-extra{--sl-glass-playback-max-width:380px}

.gca-navigation .gca-theme{width:220px}.gca-nav-trail{height:34px;padding:0 12px;font-size:11px;gap:7px}

.gca-overlays{gap:8px}.gca-window{display:grid;width:198px;height:92px;padding:10px 12px;gap:7px;border-radius:18px;font-size:11px;justify-content:stretch}.gca-overlay-head{display:flex;align-items:center;justify-content:space-between;font-weight:600}.collection .peek .gca-overlay-head svg{width:12px;height:12px}.gca-overlay-field{display:flex;align-items:center;height:25px;padding:0 8px;border-radius:14px;background:#ffffff6e;color:#62657a;text-align:left;font-size:10px}.gca-overlay-actions{display:flex;justify-content:flex-end;gap:6px;font-size:9px}.gca-overlay-actions i,.gca-overlay-actions b{padding:4px 8px;border-radius:12px;font-style:normal;font-weight:500;background:#ffffffa6}.gca-overlay-actions b{background:#1a1c23;color:white}.gca-overlay-trigger{height:32px;width:146px;padding:0 12px;font-size:10px;justify-content:space-between}

.gca-feedback{gap:7px}.gca-notice{width:165px;height:35px;justify-content:flex-start;padding:0 10px;gap:8px;font-size:11px}.gca-notice .gca-bead{width:22px;height:22px}.collection .peek .gca-notice svg{width:12px;height:12px}
