/* Personal build shelf. Image files are the unchanged, full uploaded compositions. */
.build-gallery{--gallery-frame:min(58vw,510px);--gallery-gap:24px;position:relative;padding:58px 0 44px;color:#364b35;isolation:isolate}.build-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:0 0 28px}.platform-page #dashboard .build-gallery h2{font:34px/1.2 var(--pixel-font);color:#354d34;letter-spacing:0;margin:0 0 10px}.build-gallery-heading p{font:13px/1.7 Inter,Arial,sans-serif;color:#6e7766;margin:0;max-width:600px}.gallery-pixel-mark{position:relative;display:block;flex:none;width:37px;height:32px;margin-right:5px}.gallery-pixel-mark i{position:absolute;background:#a1b18f;width:8px;height:8px}.gallery-pixel-mark i:nth-child(1){top:0;left:0}.gallery-pixel-mark i:nth-child(2){top:11px;left:12px;background:#c5cfb8}.gallery-pixel-mark i:nth-child(3){top:0;left:24px}.gallery-window{position:relative;overflow:hidden;padding:22px 0 30px;touch-action:pan-y;cursor:grab;outline-offset:4px}.gallery-window.is-dragging{cursor:grabbing}.gallery-track{position:relative;height:calc(var(--gallery-frame) + 18px);user-select:none}.gallery-slide{position:absolute;left:50%;top:0;width:var(--gallery-frame);margin:0;transform:translateX(calc(-50% + var(--position) * (100% + var(--gallery-gap)) + var(--drag,0px))) scale(.92);opacity:.68;transition:transform .65s cubic-bezier(.22,.7,.22,1),opacity .65s ease;z-index:1;padding:8px;background:#f8f7ec;border:1px solid #9daa8d;box-shadow:0 4px 0 #d6ddcb,0 10px 19px #34412b12;box-sizing:border-box}.gallery-slide:before{content:'';position:absolute;inset:-5px 5px 5px -5px;border:1px solid #c2cdb5;z-index:-1;pointer-events:none}.gallery-slide:after{content:'';position:absolute;top:-5px;left:-5px;width:7px;height:7px;background:#6f8960;box-shadow:calc(var(--gallery-frame) - 1px) calc(var(--gallery-frame) - 1px) #6f8960;pointer-events:none}.gallery-slide.is-active{transform:translateX(calc(-50% + var(--position) * (100% + var(--gallery-gap)) + var(--drag,0px))) scale(1);opacity:1;z-index:2}.gallery-slide.is-far{visibility:hidden;transition:none}.gallery-window.is-dragging .gallery-slide{transition:none}.gallery-slide>button{display:block;position:relative;width:100%;aspect-ratio:1;border:0;padding:0;background:#292c3d;cursor:inherit;border-radius:0;overflow:hidden}.gallery-slide img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none;image-rendering:auto}.gallery-expand{position:absolute;bottom:11px;right:11px;display:flex;align-items:center;justify-content:center;width:29px;height:29px;background:#1a2237b8;border:1px solid #ffffff3a;color:#fff;opacity:0;transition:opacity .2s}.gallery-slide.is-active:hover .gallery-expand,.gallery-slide button:focus-visible .gallery-expand{opacity:1}.gallery-caption{max-width:var(--gallery-frame);margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:62px}.gallery-category{display:block;font:10px/1.5 Inter,Arial,sans-serif;letter-spacing:1.1px;text-transform:uppercase;color:#7c866f;margin-bottom:5px}.platform-page #dashboard .build-gallery h3{font:25px/1.2 var(--pixel-font);color:#344b32;letter-spacing:0;margin:0}.gallery-actions{display:flex;align-items:center;gap:9px}.gallery-count{font:11px/1.4 var(--pixel-font);color:#7b856f;white-space:nowrap;margin-right:10px}.build-gallery button{font-family:var(--pixel-font)}.gallery-arrow{display:inline-flex;align-items:center;justify-content:center;flex:none;width:41px;height:39px;padding:0;border:1px solid #9cac8c;background:#f1f3e7;color:#4c6744;border-radius:2px;box-shadow:0 2px #d5ddc9;cursor:pointer;transition:background .15s,transform .15s}.gallery-arrow:hover{background:#e0e8d4;transform:translateY(-1px)}.gallery-arrow:active{transform:translateY(1px);box-shadow:none}.build-gallery :is(button,.gallery-window):focus-visible{outline:2px solid #62844d;outline-offset:4px}.gallery-timing{display:flex;align-items:center;gap:18px;max-width:var(--gallery-frame);margin:17px auto 0}.gallery-dots{display:flex;align-items:center;gap:0;flex:none}.gallery-dots button{border:0;background:none;padding:8px;min-height:30px;min-width:25px;cursor:pointer;display:flex;justify-content:center;align-items:center}.gallery-dots span{width:5px;height:5px;display:block;background:#c7cfba;transition:background .2s,transform .2s}.gallery-dots button[aria-pressed=true] span{background:#678356;transform:scale(1.4)}.gallery-progress{height:2px;background:#d9dfcf;flex:1;overflow:hidden}.gallery-progress>span{display:block;width:100%;height:100%;background:#789266;transform:scaleX(0);transform-origin:left;will-change:transform}.gallery-play{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:0;padding:0;background:none;color:#647854;cursor:pointer;flex:none}.gallery-play[hidden]{display:none}.gallery-announcement{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.gallery-lightbox{border:0;padding:0;max-width:94vw;max-height:94dvh;background:#f7f6ec;color:#385035;width:min(880px,94vw);box-shadow:0 16px 70px #07100c50;overflow:auto;border-radius:3px}.gallery-lightbox::backdrop{background:#111a15d9;backdrop-filter:blur(4px)}.gallery-lightbox-inner{padding:14px 22px 20px}.gallery-lightbox header{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#79816d;font:12px var(--pixel-font);height:38px}.gallery-light-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;background:transparent;color:#526349;cursor:pointer}.gallery-lightbox img{display:block;width:100%;height:min(67dvh,736px);object-fit:contain;background:#292c3d;image-rendering:auto;margin:8px 0 20px}.gallery-lightbox footer{display:flex;justify-content:space-between;align-items:center;gap:20px}.gallery-lightbox footer>div{text-align:center}.gallery-lightbox footer h3{color:#344b32;font:25px/1.2 var(--pixel-font);margin:0}.build-gallery.is-entering .build-gallery-heading,.build-gallery.is-entering .gallery-window{animation:gallery-arrive .65s cubic-bezier(.2,.7,.2,1) both}.build-gallery.is-entering .gallery-window{animation-delay:.08s}@keyframes gallery-arrive{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.build-gallery{--gallery-frame:min(72vw,460px);--gallery-gap:12px;padding:38px 0 30px}.build-gallery-heading{margin-bottom:16px;gap:10px}.platform-page #dashboard .build-gallery h2{font-size:28px}.build-gallery-heading p{font-size:12px;max-width:330px}.gallery-pixel-mark{transform:scale(.75);margin-right:0}.gallery-slide{padding:5px}.gallery-slide:after{box-shadow:none}.gallery-window{padding:15px 0 22px}.gallery-track{height:calc(var(--gallery-frame) + 10px)}.gallery-caption,.gallery-timing{max-width:100%}.gallery-caption{padding:0 7px}.platform-page #dashboard .build-gallery h3{font-size:22px}.gallery-actions{gap:7px}.gallery-count{display:none}.gallery-arrow{width:42px;height:42px}.gallery-timing{gap:12px;padding:0 1px;margin-top:10px}.gallery-dots button{min-width:27px;min-height:40px;padding:8px}.gallery-play{width:40px;height:40px}.gallery-category{font-size:9px}.gallery-lightbox-inner{padding:9px 12px 17px}.gallery-lightbox footer{gap:10px}.gallery-lightbox footer h3{font-size:22px}.gallery-lightbox img{height:auto;max-height:65dvh;aspect-ratio:1;margin:7px 0 15px}.gallery-expand{opacity:.8;width:26px;height:26px;right:8px;bottom:8px}}
@media(prefers-reduced-motion:reduce){.build-gallery *{animation:none!important;transition:none!important}}html[data-motion=reduce] .build-gallery *{animation:none!important;transition:none!important}

/* Keep translated build names within the existing narrow-screen controls. */
.gallery-caption>div:first-child,.gallery-lightbox footer>div{min-width:0}.gallery-caption h3,.gallery-lightbox footer h3{overflow-wrap:anywhere;hyphens:auto}
