.scene-shell:has(.museum-2d){height:auto;min-height:0;aspect-ratio:16/9;background:#151311}.museum-2d{height:100%;width:100%;position:relative;overflow:hidden}.museum-viewport{position:absolute;inset:0;overflow:hidden}.museum-viewport.room-zoomed{cursor:grab}.museum-viewport.room-zoomed.room-panning{cursor:grabbing}.museum-viewport.room-panning .museum-stage{transition:none!important}.museum-stage{position:absolute;inset:0;transform-origin:50% 50%;transition:transform .25s ease;user-select:none;-webkit-user-select:none}.museum-background{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.museum-stage button{border:0;padding:0;margin:0;background:transparent;box-shadow:none;border-radius:4px;touch-action:none}.case-hotspot{position:absolute;top:28%;width:13%;height:27.3%;transform:translateX(-50%);z-index:2;cursor:grab}.case-hotspot.case-layer-back{z-index:2}.case-hotspot.case-layer-front{z-index:7}.case-hotspot.case-layer-front .case-label{z-index:9}.case-hotspot.dragging{z-index:12!important;cursor:grabbing;filter:drop-shadow(0 0 8px #d9b06a99)}.case-hotspot:hover,.case-hotspot:focus-visible,.case-hotspot.drop-target{outline:2px solid #d9b889;outline-offset:3px;background:#efcc9810}.case-hotspot.has-exhibit:hover{outline:0;background:transparent}.case-label{position:absolute;bottom:-8%;left:-25%;width:150%;color:#f4e5cf;font:clamp(9px,1vw,13px) Georgia,serif;text-shadow:0 1px 4px #000;opacity:0;transition:opacity .15s}.case-hotspot:hover .case-label,.case-hotspot:focus-visible .case-label{opacity:1}.exhibit-grab{position:absolute;width:20px;height:20px!important;transform:translate(-50%,-50%);z-index:30!important;border:1px solid #bd9257!important;border-radius:4px!important;background:#171311e8!important;color:#efd29f;font:700 12px/1 system-ui!important;cursor:grab;box-shadow:0 2px 7px #000b!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s,transform .12s,visibility 0s .12s}.case-hotspot:hover+.case-fit-control+.exhibit-grab,.case-hotspot:focus-visible+.case-fit-control+.exhibit-grab,.exhibit-grab:hover,.exhibit-grab:focus-visible,.exhibit-grab.drop-target,.exhibit-grab.dragging{visibility:visible;pointer-events:auto;opacity:1;transition-delay:0s}.exhibit-grab:hover,.exhibit-grab:focus-visible,.exhibit-grab.drop-target{outline:2px solid #f0cf9a;outline-offset:1px;transform:translate(-50%,-50%) scale(1.06)}.exhibit-grab.dragging{cursor:grabbing;opacity:.7}.exhibit-sprite{position:absolute;left:0;bottom:0;width:100%;aspect-ratio:1;overflow:hidden;filter:drop-shadow(0 6px 4px #0008);pointer-events:none}.atlas-image{position:absolute;max-width:none!important;width:300%;height:200%;object-fit:fill}.atlas-image.catalog-photo{mix-blend-mode:multiply}.exhibit-reference{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.case-hotspot .exhibit-reference{overflow:hidden;left:13%;right:13%;top:9%;bottom:7%;inset:auto 13% 7%;height:84%;display:block;filter:drop-shadow(0 5px 4px #0009)}.case-hotspot .exhibit-reference .reference-image{position:absolute;max-width:none;width:200%;height:200%;left:0;top:0;object-fit:cover;mix-blend-mode:multiply}.case-hotspot[data-display-kind="garment"] .exhibit-reference,.case-hotspot[data-display-kind="trouser"] .exhibit-reference{left:18%;right:18%;bottom:3%;height:91%}.case-hotspot[data-display-kind="footwear"],.case-hotspot[data-display-kind="shelf"]{top:54%;height:39%}.case-hotspot[data-display-kind="footwear"] .exhibit-reference,.case-hotspot[data-display-kind="shelf"] .exhibit-reference{left:14%;right:14%;top:54%;bottom:6%;height:40%}.case-hotspot[data-display-kind="headwear"] .exhibit-reference{left:19%;right:19%;top:49%;bottom:12%;height:39%}.reference-image{max-width:95%;max-height:95%;object-fit:contain;border:3px solid #332b22}.stand-hotspot{position:absolute;width:27%;aspect-ratio:2/3;transform:translate(-50%,-100%);z-index:10;cursor:grab}.stand-hotspot:focus-visible{outline:2px solid #d9b889}.stand-hotspot.dragging{cursor:grabbing;opacity:.85;z-index:14}.stand-hotspot.drop-target{outline:2px solid #d9b889;outline-offset:3px}.appearance-options{display:flex;gap:10px;flex-wrap:wrap}.appearance-option{flex:1;min-width:90px}.appearance-portrait{display:block;position:relative;height:125px;overflow:hidden;background:#241c17;border-radius:5px;margin-bottom:8px}.appearance-portrait img{position:absolute;max-width:none;width:300%;height:131.282051%;top:-15.384615%;object-fit:fill}.appearance-option[aria-pressed="true"]{outline:2px solid #bb423c;outline-offset:2px}.head-display{width:13%;aspect-ratio:1;transform:translate(-50%,-100%);border-bottom:8px solid #211e1a!important;background:linear-gradient(90deg,transparent 47%,#4e4b42 47%,#4e4b42 53%,transparent 53%)!important}.empty-head-display{display:none}.head-display .exhibit-sprite{bottom:30%}.outfit-pending{position:absolute;bottom:0;left:0;width:100%;font-size:10px;color:#ebd8bc;background:#191614df;padding:4px}.object-viewer.two-d-inspection{position:relative;overflow:hidden;background:radial-gradient(ellipse,#474038,#191714)}.two-d-inspection .inspection-art{position:absolute;inset:3% 15%;transition:transform .2s;container-type:size;display:flex;align-items:center;justify-content:center}.two-d-inspection .inspection-art>.exhibit-sprite{position:relative;height:auto;width:min(100cqw,calc(100cqh * var(--sprite-ratio,1)));flex:none;margin:auto;left:auto;bottom:auto;max-width:100%}
@media(max-width:700px){.scene-shell:has(.museum-2d){aspect-ratio:4/3}.museum-stage{width:133.333%;height:100%;left:-16.666%}.scene-bottom{padding:10px}.scene-bottom>span{display:none}}
@media(prefers-reduced-motion:reduce){.museum-stage{transition:none}}.head-display{border:0!important;background:transparent!important}.headstand-art{position:absolute;inset:0;pointer-events:none}.two-d-inspection .headstand-art{position:relative;width:auto;height:100%;aspect-ratio:1;margin:auto}.outfit-exhibit{position:absolute;inset:0}.outfit-exhibit-image{width:100%;height:100%;object-fit:contain}.outfit-locked .outfit-exhibit-image,.outfit-collecting .outfit-exhibit-image{filter:grayscale(1) brightness(.18) contrast(1.35) drop-shadow(0 0 12px #c19a5d66)}.outfit-complete .outfit-exhibit-image{filter:none}.outfit-plaque{position:absolute;left:50%;bottom:1%;transform:translateX(-50%);width:72%;padding:6px 8px;border:1px solid #806a4e;background:#131212e6;color:#e4d1ad;text-align:center;font:inherit;letter-spacing:.08em;cursor:pointer}.outfit-plaque strong,.outfit-plaque small{display:block}.outfit-plaque strong{font-size:8px}.outfit-plaque small{margin-top:2px;font-size:6px;opacity:.82}.outfit-plaque:hover,.outfit-plaque:focus-visible{border-color:#d2ae65;background:#3c2020;outline:0}.outfit-picker{position:absolute;left:50%;bottom:17%;transform:translateX(-50%);width:92%;padding:5px;border:1px solid #806a4e;background:#151211f5;box-shadow:0 8px 18px #000b;z-index:3}.outfit-picker button{display:flex;width:100%;justify-content:space-between;gap:6px;padding:6px;border:0;border-bottom:1px solid #4a3b30;background:transparent;color:#eadbc4;text-align:left;font:inherit;font-size:7px;cursor:pointer}.outfit-picker button:last-child{border-bottom:0}.outfit-picker button:hover:not(:disabled),.outfit-picker button:focus-visible{background:#542126;outline:0}.outfit-picker button:disabled{opacity:.45;cursor:not-allowed}.outfit-picker small{color:#c8a76f;font-size:6px;white-space:nowrap}.outfit-complete .outfit-plaque{border-color:#d2ae65;background:#51161b;color:#fff3d7}/* Physical mounts and soft editable gallery lighting */
.museum-mount{position:absolute;z-index:1;left:50%;top:7%;width:58%;height:82%;transform:translateX(-50%);pointer-events:none}.museum-mount.garment i{position:absolute;left:50%;top:2%;width:34%;height:17%;transform:translateX(-50%);border:2px solid #9a8362;border-bottom:0;border-radius:50% 50% 0 0}.museum-mount.garment b{position:absolute;left:12%;top:15%;width:76%;height:2px;background:#9a8362}.museum-mount.trouser i{position:absolute;left:12%;right:12%;top:7%;height:2px;background:#a48c68}.museum-mount.trouser b{position:absolute;left:24%;right:24%;top:7%;height:22%;border-left:2px solid #a48c68;border-right:2px solid #a48c68}.museum-mount.headwear i{position:absolute;left:50%;bottom:3%;width:4px;height:22%;transform:translateX(-50%);border:1px solid #3b2919;border-radius:3px;background:linear-gradient(90deg,#392617 0,#b88745 32%,#e2bd75 50%,#916331 70%,#2b1c12 100%);box-shadow:0 2px 5px #000c}.museum-mount.headwear i:before{content:"";position:absolute;left:50%;top:-6px;width:38px;height:10px;transform:translateX(-50%);border:1px solid #bd9258;border-radius:50%;background:radial-gradient(ellipse,#5c4329 0 32%,#211712 36% 70%,#a7773f 73% 78%,#17100d 82%);box-shadow:0 2px 4px #000b}.museum-mount.headwear i:after{content:"";position:absolute;left:50%;bottom:-5px;width:54px;height:11px;transform:translateX(-50%);border:1px solid #bd9258;border-radius:50%;background:linear-gradient(#37271b,#100c0a 65%,#020202);box-shadow:0 4px 5px #000c}.museum-mount.headwear b{position:absolute;left:50%;bottom:1%;width:68px;height:6px;transform:translateX(-50%);border:1px solid #76532d;border-radius:50%;background:#080706;box-shadow:inset 0 1px #d2a86566,0 4px 7px #000c}.museum-mount.footwear{bottom:0;height:18%;top:auto;border-top:2px solid #9a8362}.case-hotspot .exhibit-sprite{z-index:2}.museum-lighting{position:absolute;inset:0;z-index:1;pointer-events:none}.museum-glow{position:absolute;width:34%;height:54%;top:5%;transform:translateX(-50%);background:radial-gradient(ellipse at 50% 15%,rgba(255,210,140,.18),rgba(255,190,100,.07) 38%,transparent 72%);mix-blend-mode:screen}.museum-glow.center{left:50%}.museum-glow.left{left:25%}.museum-glow.right{left:75%}.museum-glow.headwear{left:68%;top:32%;width:24%;height:36%}.light-control{position:absolute;top:8%;z-index:4;transform:translateX(-50%);width:22px;height:22px;padding:0;border:1px solid #d5b57c;border-radius:50%;background:#2b231c;color:#f4d79a;font-size:10px;pointer-events:auto}.light-control:hover,.light-control:focus-visible{background:#6b3229;outline:0}.museum-lighting.editing:after{content:'EDIT MUSEUM · click a light to change its focus';position:absolute;left:50%;bottom:5%;transform:translateX(-50%);padding:5px 8px;border:1px solid #a7875d;background:#161211e6;color:#e4c997;font-size:8px;letter-spacing:.08em;white-space:nowrap}/* Two small movable side tables; the head stand sits above the selected table. */
.headwear-table{position:absolute;z-index:10;bottom:15%;width:11%;height:17%;padding:0;border:0;background:transparent;cursor:pointer}.headwear-table.left{left:12%}.headwear-table.right{right:12%}.table-top{position:absolute;left:0;right:0;top:25%;height:10%;border:1px solid #9c7b55;background:linear-gradient(#30251e,#12100f);box-shadow:0 4px 7px #0008}.table-leg{position:absolute;left:43%;top:35%;width:14%;height:54%;background:linear-gradient(90deg,#171311,#594231,#171311)}.headwear-table small{position:absolute;left:50%;bottom:0;transform:translateX(-50%);color:#d7b680;font-size:5px;white-space:nowrap;opacity:.75}.headwear-table:hover .table-top,.headwear-table:focus-visible .table-top{border-color:#d9b889}.head-display{width:10%!important;aspect-ratio:1/1.35!important;z-index:10}.head-display .headstand-art{bottom:0}.head-display .exhibit-sprite{bottom:22%}.museum-lamp{position:absolute;top:3%;z-index:5;width:13px;height:13px;padding:0;border:1px solid #7b6246;border-radius:50%;background:#171311;color:#f1cf8a;font-size:7px;box-shadow:0 2px 6px #000;pointer-events:auto}.museum-lighting.editing .museum-lamp{cursor:grab}.museum-lamp:hover,.museum-lamp:focus-visible{border-color:#f0c36f;outline:0}.light-slider{position:absolute;top:13%;z-index:5;width:48px;height:9px;transform:translateX(-50%);accent-color:#d3a75e;pointer-events:auto}.museum-lighting.editing .light-control{top:8%}.museum-lighting.editing:after{bottom:2%;content:'EDIT MUSEUM · drag ceiling lamps · use each slider for brightness · click ✦ to change focus'}.pedestal-lamp{top:56%;width:16px;height:16px;box-shadow:0 0 0 4px #2a211a,0 3px 8px #000}.pedestal-control{top:61%!important}.pedestal-slider{top:67%}.afghan-kit-stand{position:absolute;width:18%;aspect-ratio:2/3;transform:translate(-50%,-100%);z-index:5;padding:0;border:0;background:transparent;cursor:default}.afghan-kit-exhibit{position:absolute;inset:0;overflow:hidden;background:#171411;box-shadow:0 5px 15px #0008}.afghan-kit-image{position:absolute;width:430%;height:200%;max-width:none;object-fit:cover;object-position:53% 12%;left:-165%;top:0}.afghan-kit-image[data-view="1"]{object-position:58% 12%;left:-175%}.afghan-kit-image[data-view="2"]{object-position:81% 12%;left:-260%}.afghan-kit-image[data-view="3"]{object-position:59% 52%;left:-178%;top:-45%}.afghan-kit-image[data-view="4"]{object-position:80% 52%;left:-260%;top:-45%}.afghan-kit-plaque{position:absolute;left:4%;right:4%;bottom:2%;padding:3px;background:#14110ee8;color:#e7cf9d;font-size:5px;letter-spacing:.05em}.afghan-rotate{position:absolute;right:4%;top:3%;width:20px;height:20px;padding:0;border:1px solid #c29a5e;border-radius:50%;background:#17120ee8;color:#f3d08a;font-size:12px;cursor:pointer}.afghan-rotate:hover,.afghan-rotate:focus-visible{background:#5b2425;outline:0}.headwear-table{transform:translateX(-50%)}.museum-lighting.editing~.headwear-table{outline:1px dashed #b9965d;outline-offset:4px;cursor:grab}.museum-lighting.editing~.headwear-table:hover{outline-color:#f0c36f}/* Museum pedestals: substantial dark plinths with a real display head,not thin tables. */
.headwear-table{bottom:7%;width:13%;height:34%;z-index:7;background:transparent}.headwear-table .table-top{left:2%;right:2%;top:35%;height:8%;border:1px solid #b08852;background:linear-gradient(180deg,#4a3a2c,#161210);box-shadow:0 5px 10px #000b}.headwear-table .table-leg{left:9%;width:82%;top:43%;height:48%;border:1px solid #694d34;background:linear-gradient(100deg,#120f0e,#2a211d 38%,#100e0d 70%);box-shadow:inset 0 0 0 3px #171210,inset 0 0 16px #000a,0 7px 10px #000a}.headwear-table:before{content:'';position:absolute;left:3%;right:3%;bottom:5%;height:6%;border:1px solid #83613f;background:#171210;box-shadow:0 5px 8px #000a}.headwear-table small{z-index:4;bottom:13%;font-size:5px;color:#d8b477}.headwear-table .headstand-art{position:absolute;z-index:3;left:20%;top:0;width:60%;height:48%;inset:auto 20% auto;pointer-events:none}.outfit-locked .outfit-exhibit-image,.outfit-collecting .outfit-exhibit-image{filter:grayscale(1) brightness(.38) contrast(1.05) drop-shadow(0 0 15px #d4ae6a55)}/* The private-gallery background contains the two permanent plinth displays. */


/* Independent museum objects in the private gallery. */
.museum-pedestal{position:absolute;z-index:10;width:13%;height:31%;transform:translate(-50%,-100%);padding:0;border:0;background:transparent;cursor:grab;filter:drop-shadow(0 11px 9px #000a)}.museum-pedestal.dragging{cursor:grabbing;z-index:14;filter:drop-shadow(0 17px 12px #000c)}.museum-pedestal:focus-visible{outline:2px solid #f0c36f;outline-offset:5px}.museum-pedestal:before{content:'';position:absolute;left:8%;right:8%;bottom:0;height:48%;border:2px solid #9b7139;background:linear-gradient(105deg,#090909 0%,#24201b 38%,#0d0c0b 65%,#31261b 100%);box-shadow:inset 0 0 0 5px #090807,inset 0 0 24px #92713e55,0 7px 0 #070606}.museum-pedestal:after{content:'';position:absolute;left:2%;right:2%;bottom:44%;height:9%;border:2px solid #b78742;background:linear-gradient(#29231c,#0b0a09);box-shadow:0 4px 0 #050505}.museum-pedestal img{position:absolute;z-index:2;left:17%;width:66%;height:74%;bottom:30%;object-fit:contain;filter:drop-shadow(0 5px 5px #0009)}.pedestal-crown{position:absolute;z-index:3;left:8%;right:8%;bottom:0;height:7%;background:linear-gradient(#b88946,#15110d 45%,#090807);border:1px solid #d2a256}.pedestal-plaque{position:absolute;z-index:4;left:27%;right:27%;bottom:17%;padding:3px 1px;border:1px solid #9d793f;color:#dcb66e;background:#17120e;font:600 clamp(4px,.48vw,8px)/1 Arial,sans-serif;letter-spacing:.06em}.museum-lighting.editing:after{content:'EDIT MUSEUM · drag lamps anywhere · use sliders for brightness · click ✦ to change focus';bottom:2%}/* Three coat-sized rails and three lower object positions: the room capacity map. */
.gallery-rail{position:absolute;top:18%;width:22%;height:48%;transform:translateX(-50%);z-index:3;pointer-events:none}.rail-bar{position:absolute;left:12%;right:12%;top:9%;height:3px;border:1px solid #d2a256;border-radius:4px;background:linear-gradient(90deg,#2a2119,#f0ce85,#2a2119);box-shadow:0 2px 5px #000b}.rail-hook{position:absolute;left:50%;top:0;width:1px;height:10%;background:#c89750;box-shadow:0 0 4px #e9be72}.gallery-rail small{position:absolute;left:50%;top:14%;transform:translateX(-50%);white-space:nowrap;color:#dcb774;font:600 clamp(4px,.45vw,7px)/1 Arial,sans-serif;letter-spacing:.08em;text-shadow:0 1px 2px #000}.lower-display-slot{position:absolute;top:67%;width:11%;height:20%;transform:translateX(-50%);z-index:4;pointer-events:none}.lower-display-slot:before{content:'';position:absolute;left:12%;right:12%;bottom:8%;height:13%;border:1px solid #a97d43;border-radius:50%;background:linear-gradient(#30261e,#0c0b0a);box-shadow:0 3px 5px #0009}.lower-display-slot .headstand-art{position:absolute;inset:0 14% 5%;z-index:2}.lower-display-slot small{position:absolute;z-index:3;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;color:#caa464;font:600 clamp(3px,.38vw,6px)/1 Arial,sans-serif;letter-spacing:.05em}.outfit-exhibit-image{filter:drop-shadow(0 12px 10px #000a)}.outfit-locked .outfit-exhibit-image,.outfit-collecting .outfit-exhibit-image{filter:drop-shadow(0 0 15px #d4ae6a88) drop-shadow(0 12px 10px #000a)}.museum-pedestal>img{display:none}.museum-pedestal .headstand-art{position:absolute;z-index:2;left:17%;width:66%;height:74%;bottom:30%;pointer-events:none}/* A single approved full-body Afghanistan display,kept separate from the fixed plastic mannequin. */
.afghan-kit-image{width:100%;height:100%;left:0;top:0;object-fit:contain;background:transparent}.afghan-kit-image[data-view="1"],.afghan-kit-image[data-view="2"],.afghan-kit-image[data-view="3"],.afghan-kit-image[data-view="4"]{left:0;top:0;object-position:center}/* The Afghanistan ensemble is a photographed display object: its black studio surround is removed in the gallery. */
.afghan-kit-stand{left:70%!important;width:22%;aspect-ratio:2/3}.afghan-kit-exhibit{background:transparent;box-shadow:none}.afghan-kit-image{mix-blend-mode:screen;filter:drop-shadow(0 12px 10px #000b)}.afghan-kit-stand{left:70%!important;width:27%;aspect-ratio:2/3}/* Keep both mannequins crisp: no dimming,blur,glow,or decorative fade. */
.outfit-exhibit-image,.outfit-locked .outfit-exhibit-image,.outfit-collecting .outfit-exhibit-image,.outfit-complete .outfit-exhibit-image{filter:none!important;opacity:1!important}.afghan-kit-image{filter:none!important;opacity:1!important}/* Three compact top hooks leave every case tall enough for a greatcoat. */
.gallery-hook{position:absolute;top:8%;z-index:5;width:28px;height:53px;transform:translateX(-50%);pointer-events:none}.gallery-hook:before{content:'';position:absolute;left:50%;top:0;width:2px;height:25px;background:linear-gradient(#e6bd70,#59401f);box-shadow:0 1px 3px #000}.gallery-hook span{position:absolute;left:50%;top:20px;width:14px;height:17px;transform:translateX(-50%);border:2px solid #d3a45c;border-left:0;border-bottom:0;border-radius:0 13px 0 0;box-shadow:1px 2px 3px #0008}.gallery-hook small{position:absolute;top:41px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#d7b36e;font:600 5px/1 Arial,sans-serif;letter-spacing:.06em;text-shadow:0 1px 2px #000}.afghan-kit-stand{left:var(--afghan-x)!important;width:25.4%;cursor:grab}.afghan-kit-stand.dragging{cursor:grabbing;z-index:14}/* Conceal legacy artwork only where requested,without altering the room itself. */
.room-cleanup{position:absolute;z-index:1;pointer-events:none}.central-plinth-cover{left:41%;top:67%;width:18%;height:8%;border-radius:50%;background:repeating-linear-gradient(6deg,#5d371e 0 4px,#70452a 4px 7px,#5b351e 7px 11px);filter:brightness(.72);box-shadow:inset 0 5px 9px #2b160b66}.left-rail-cover{left:19%;top:13%;width:11%;height:10%;background:radial-gradient(ellipse at 40% 35%,#602015 0,#46140f 44%,#2d100e 100%)}/* Front-facing large heads match the original foreground plinth scale. */
.museum-pedestal{width:16%;height:39%}.museum-pedestal .headstand-art{left:-9%;width:118%;height:116%;bottom:24%;overflow:hidden}/* Only the two baked foreground plinths are erased; the original room stays intact. */
.original-room-plinth-removal{position:absolute;z-index:1;top:34%;width:21%;height:50%;background-image:url('assets/2d/room-private-clean-v5.png');background-repeat:no-repeat;background-size:476.19% 200%;pointer-events:none}.original-room-plinth-removal.left{left:0;background-position:left 0}.original-room-plinth-removal.right{right:0;background-position:right 0}.original-room-plinth-removal.left{background-position:left 68%}.original-room-plinth-removal.right{background-position:right 68%}/* Shared museum bases give the two full-height figures the same footprint. */
.mannequin-shared-base{position:absolute;z-index:-1;left:16%;right:16%;bottom:0;height:5%;border:1px solid #c4944f;border-radius:50%;background:linear-gradient(180deg,#33261d,#0b0a09 55%,#17100b);box-shadow:0 5px 9px #000a}.outfit-exhibit,.afghan-kit-exhibit{isolation:isolate}.outfit-exhibit-image{object-fit:contain}/* Exact supplied head-on-plinth display asset for both movable side objects. */
.museum-pedestal{width:15%;height:38%;filter:drop-shadow(0 11px 9px #000a);cursor:grab;touch-action:none}.museum-pedestal.dragging,.museum-pedestal:active{cursor:grabbing}.museum-pedestal:before,.museum-pedestal:after{display:none}.museum-pedestal .pedestal-complete-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;max-width:none!important;filter:none!important}.museum-pedestal .pedestal-hat-art{position:absolute!important;z-index:4;left:0!important;top:0!important;width:100%!important;height:46%!important;pointer-events:auto!important;cursor:grab;overflow:visible}.museum-pedestal .pedestal-hat-art *{pointer-events:none!important}.museum-pedestal.headwear-drag-source{z-index:20!important}.pedestal-hat-art.dragging{z-index:21!important;cursor:grabbing;filter:drop-shadow(0 0 8px #d9b06aaa)}.pedestal-headwear-label{position:absolute;z-index:6;left:50%;bottom:3%;transform:translateX(-50%);padding:3px 5px;border:1px solid #a97d43;background:#15110de8;color:#e4c78e;font:600 clamp(5px,.48vw,8px)/1 Arial,sans-serif;letter-spacing:.06em;white-space:nowrap;pointer-events:none}.primary-mannequin{transform:translate(-50%,-100%)}.primary-mannequin .outfit-exhibit{transform:translateY(2%) scale(.90);transform-origin:50% 100%}/* Front male display derived from the newly supplied reference,aligned to the Afghan figure. */
.outfit-exhibit-image{mix-blend-mode:screen;object-fit:contain}.mannequin-shared-base{z-index:0;left:20%;right:20%;height:5%;border-color:#c4944f}.outfit-exhibit,.afghan-kit-exhibit{z-index:1}.museum-pedestal{width:19%;height:43%}/* The two display platforms remain visually identical; labels stay in the side interface. */
.primary-mannequin .outfit-plaque,.afghan-kit-plaque{display:none}/* One standard plinth overlays the source-specific bases on every full-height figure. */
.mannequin-shared-base{z-index:6;left:17%;right:17%;bottom:0;height:7%;border:1px solid #c4944f;border-radius:50%;background:linear-gradient(180deg,#3a2c20 0%,#17110d 32%,#090807 68%,#21150e 100%);box-shadow:inset 0 2px 5px #c28c4533,0 5px 9px #000b}/* One photographic platform for every full-height mannequin. */
.mannequin-shared-base{z-index:6;left:17%;right:17%;height:20%;bottom:-11%;border:0;border-radius:0;background:url('assets/2d/standard-mannequin-platform-v1.png') center bottom/100% auto no-repeat;box-shadow:none}.room-title{position:absolute;z-index:8;left:2.5%;top:3%;display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 7px;color:#ead9bb;text-shadow:0 2px 4px #000;font-family:Georgia,serif;pointer-events:auto}.room-title span{grid-column:1;font:700 clamp(7px,.72vw,12px)/1 Arial,sans-serif;letter-spacing:.12em;color:#e25252}.room-title strong{grid-column:1;font-size:clamp(11px,1.25vw,19px);letter-spacing:.04em}.room-rename{grid-column:2;grid-row:1/3;align-self:center;width:24px;height:24px;padding:0;border:1px solid #b98a4a;background:#17120ee0;color:#efd18f;border-radius:50%;font-size:13px;cursor:pointer}.room-rename:hover,.room-rename:focus-visible{background:#5c2424;outline:0}.scene-rename{margin-left:7px;width:20px;height:20px;padding:0;border:1px solid #b98a4a;border-radius:50%;background:#17120ee0;color:#efd18f;cursor:pointer}.scene-rename:hover,.scene-rename:focus-visible{background:#5c2424;outline:0}/* The Afghan illustration sits lower inside its frame,so its common base is raised to the shared floor line. */
.afghan-kit-stand .mannequin-shared-base{bottom:-9.5%}/* The platform is physically behind the figure: feet visibly stand on its top surface. */
.mannequin-shared-base{z-index:0}.outfit-exhibit,.afghan-kit-exhibit{z-index:1}/* Fixed stance: each figure is advanced slightly onto the shared platform. */
.outfit-exhibit,.afghan-kit-exhibit{transform:translateY(2%)}.afghan-kit-image{background:transparent!important;mix-blend-mode:screen}/* Let pure black around the Afghan sprite blend into the room instead of forming a rectangle. */
.afghan-kit-exhibit{isolation:auto!important}.afghan-kit-image{mix-blend-mode:normal!important}/* Third,independent 360-degree mannequin. The original PNG figures stay unchanged. */
.rotating-mannequin-stand{position:absolute;width:27%;aspect-ratio:2/3;transform:translate(-50%,-100%);z-index:10;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.rotating-mannequin-stand.dragging{z-index:14;cursor:grabbing}.rotating-mannequin-stand *{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}.rotating-mannequin-exhibit{position:absolute;inset:0;z-index:1;transform:translateY(2%);pointer-events:none}.rotating-mannequin-video,.rotating-mannequin-freeze{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;background:transparent;transform:translate(3%,23%) scale(1.40);transform-origin:50% 100%;filter:drop-shadow(0 8px 5px #0008);opacity:0;pointer-events:none}.rotating-mannequin-video.active,.rotating-mannequin-freeze.visible{opacity:1}.rotating-mannequin-freeze{z-index:2}.rotating-mannequin-stand .mannequin-shared-base{bottom:-11%}.mannequin-360-controls{position:absolute;z-index:8;left:50%;bottom:-5.5%;display:flex;gap:4px;transform:translateX(-50%);pointer-events:auto}.mannequin-360-arrow{width:18px!important;height:18px!important;min-width:18px!important;padding:0!important;border:1px solid #c4944f!important;border-radius:50%!important;background:#17120ee8!important;color:#f1cf8a!important;font:700 13px/15px Georgia,serif!important;cursor:pointer;box-shadow:0 2px 5px #0009!important}.mannequin-360-arrow:hover,.mannequin-360-arrow:focus-visible,.mannequin-360-arrow[aria-pressed="true"]{background:#6b3029!important;outline:1px solid #f0d39a;outline-offset:1px}.mannequin-360-controls.spinning{opacity:.9}/* Keep large transparent display boxes from stealing hover and drag events from nearby exhibits. */
.rotating-mannequin-stand,.stand-hotspot,.museum-pedestal{pointer-events:none}.rotating-mannequin-stand,.stand-hotspot{transform:translate(-50%,-100%) scale(var(--mannequin-scale,1));transform-origin:50% 100%;transition:none}.museum-pedestal{transform:translate(-50%,-100%) scale(var(--pedestal-scale,1));transform-origin:50% 100%;transition:transform .12s ease}.rotating-mannequin-stand::before,.stand-hotspot::before{content:"";position:absolute;z-index:7;pointer-events:auto;cursor:grab}.rotating-mannequin-stand::before{left:36%;top:9%;width:28%;height:78%}.stand-hotspot::before{left:35%;top:8%;width:30%;height:82%}.pedestal-drag-handle{position:absolute;z-index:7;left:34%;top:25%;width:32%;height:70%;pointer-events:auto;cursor:grab}.rotating-mannequin-stand.dragging::before,.stand-hotspot.dragging::before,.museum-pedestal.dragging .pedestal-drag-handle{cursor:grabbing}.rotating-mannequin-stand .mannequin-360-controls,.museum-pedestal .pedestal-hat-art{pointer-events:auto}.mannequin-360-home{font-size:7px!important;color:#e2bd67!important}/* The museum name belongs to the gallery wall,not to the interface. */
.scene-badge{display:none!important}.museum-wall-title{position:absolute;z-index:8;left:50%;top:2.6%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;min-width:22%;max-width:42%;padding:8px 11px 7px;border:2px solid #a97c3c;background:linear-gradient(135deg,#19120e,#2d1d17 54%,#14100d);box-shadow:inset 0 0 0 3px #0c0907,0 4px 10px #000a;color:#f0d49d;text-align:center}.museum-wall-title:before,.museum-wall-title:after{content:'✦';color:#bc8742;font-size:10px}.museum-wall-title strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 clamp(9px,1.15vw,19px)/1 Georgia,serif;letter-spacing:.13em}.museum-wall-rename{width:23px;height:23px;padding:0;border:1px solid #c89a53;border-radius:50%;background:#17110d;color:#f2d595;cursor:pointer;font-size:13px}.museum-wall-rename:hover,.museum-wall-rename:focus-visible{background:#692a27;outline:0}.afghan-kit-image{mix-blend-mode:screen!important}.afghan-kit-image{mix-blend-mode:normal!important}/* Engraved letters sit directly on the wall: no plaque or frame. */
.museum-wall-title{top:3.2%;min-width:0;max-width:46%;padding:0;border:0;background:none;box-shadow:none;gap:5px}.museum-wall-title:before,.museum-wall-title:after{display:none}.museum-wall-title strong{font-weight:800;letter-spacing:.16em;color:transparent;background:repeating-linear-gradient(100deg,#c2a77e 0 2px,#806548 2px 4px,#e0c99a 4px 5px,#705339 5px 7px);-webkit-background-clip:text;background-clip:text;text-shadow:0 1px 0 #1a120d,0 -1px 1px #e8d5a7aa,1px 1px 2px #000}.museum-wall-rename{width:18px;height:18px;border:0;border-radius:0;background:transparent;color:#c6a271;font-size:12px;text-shadow:0 1px 2px #000}.museum-wall-rename:hover,.museum-wall-rename:focus-visible{background:transparent;color:#f1d5a0;outline:1px solid #b78b50}.museum-wall-title:has(.museum-wall-star){top:1.2%;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:5px;justify-items:center}.museum-wall-star{grid-column:1/-1;color:#c49a5a;font-size:clamp(14px,2vw,30px);line-height:.8;text-shadow:0 1px 0 #f2d8a5,0 3px 2px #2a1608,2px 3px 5px #000}.museum-wall-title:has(.museum-wall-star) strong{grid-column:1;grid-row:2}.museum-wall-title:has(.museum-wall-star) .museum-wall-rename{grid-column:2;grid-row:2}/* The greatcoat keeps its full native canvas but is scaled to the exact inner height of each display case. */
.greatcoat-hanging-preview{position:absolute;z-index:4;top:7.2%;width:16.5%;height:52%;transform:translateX(-50%);cursor:grab;touch-action:none}.greatcoat-hanging-preview.dragging{cursor:grabbing;z-index:12}.greatcoat-hanging-image{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;filter:drop-shadow(0 7px 5px #0008);pointer-events:none}.pedestal-fit-control{position:absolute;z-index:20;min-width:0;padding:3px 5px;border:1px solid #c1995a;border-radius:2px;background:#1b1611e8;color:#efd291;font:700 7px/1 Arial,sans-serif;letter-spacing:.08em;cursor:pointer}.museum-pedestal,.museum-pedestal *{touch-action:none}.museum-pedestal:hover{filter:drop-shadow(0 11px 9px #000a) drop-shadow(0 0 8px #d9b06a66)}/* The lower shelf accepts headwear dropped from either pedestal. */
.case-hotspot[data-display-kind="headwear"] .exhibit-sprite{bottom:22%;transform-origin:50% 100%}.case-fit-control{position:absolute;z-index:8;width:26px;height:18px!important;transform:translate(-50%,-50%);border:1px solid #bd9257!important;border-radius:4px!important;background:#171311e8!important;color:#efd29f;font:700 8px/1 Arial!important;cursor:pointer}/* Shelf objects stay in front of hanging garments; right-click opens manual fit controls. */
.case-hotspot[data-display-kind='headwear'],.case-hotspot[data-display-kind='footwear'],.case-hotspot[data-display-kind='shelf']{z-index:6}.case-hotspot[data-display-kind='headwear'] .exhibit-sprite,.case-hotspot[data-display-kind='footwear'] .exhibit-sprite,.case-hotspot[data-display-kind='shelf'] .exhibit-sprite{z-index:7}/* Compact museum hat stand: one small shelf base and a clearly visible long stem. */
.museum-mount.headwear i{bottom:2%;width:3px;height:70%;border-color:#4a321d;background:linear-gradient(90deg,#412b18,#e0b568 45%,#8c5d2d 72%,#2a1a10);box-shadow:0 1px 3px #000}.museum-mount.headwear i:before{top:-3px;width:18px;height:5px;border-color:#a97b41;background:#211710;box-shadow:0 1px 2px #000}.museum-mount.headwear i:after{display:none}.museum-mount.headwear b{bottom:1%;width:34px;height:5px;border-color:#9b6d36;background:linear-gradient(#302116,#090706);box-shadow:inset 0 1px #d9ae6866,0 2px 3px #000b}.case-hotspot[data-display-kind="headwear"] .exhibit-sprite{bottom:70%;pointer-events:auto;cursor:grab;touch-action:none}/* Final case layout: garments hang from the upper rail; portable objects rest on the front shelf. */
.case-hotspot.case-layer-back[data-display-kind="garment"],.case-hotspot.case-layer-back[data-display-kind="trouser"]{top:11%;width:16%;height:50%;z-index:2}.case-hotspot.case-layer-back[data-display-kind="garment"] .exhibit-sprite,.case-hotspot.case-layer-back[data-display-kind="trouser"] .exhibit-sprite{top:6%;bottom:auto;width:88%;left:6%;transform-origin:50% 0}.case-hotspot.case-layer-back[data-display-kind="garment"] .museum-mount,.case-hotspot.case-layer-back[data-display-kind="trouser"] .museum-mount{top:0;height:96%}.case-hotspot.case-layer-front[data-display-kind="shelf"]{top:31%;width:12%;height:25%;z-index:7}.case-hotspot.case-layer-front[data-display-kind="shelf"] .exhibit-sprite{left:5%;bottom:11%;width:90%;z-index:8;transform-origin:50% 100%}.case-hotspot.case-layer-front[data-display-kind="shelf"]:after{content:none}.case-hotspot.case-layer-front[data-display-kind="footwear"]{top:31%;width:14%;height:25%;z-index:7}.case-hotspot.case-layer-front[data-display-kind="footwear"] .exhibit-sprite{left:4%;bottom:8%;width:92%;z-index:8;transform-origin:50% 100%}.case-hotspot.case-layer-front[data-display-kind="footwear"] .museum-mount{display:none}.case-hotspot.case-layer-front[data-display-kind="headwear"]{top:31%;height:25%;z-index:7}.case-hotspot.case-layer-front[data-display-kind="headwear"] .exhibit-sprite{left:0;bottom:70%;width:100%;z-index:8;transform-origin:50% 100%}.case-hotspot.case-layer-front[data-display-kind="weapon"]{top:11%;width:16%;height:50%;z-index:7}.case-hotspot.case-layer-front[data-display-kind="weapon"] .exhibit-sprite{left:50%;bottom:32%;z-index:8;transform-origin:50% 50%}.case-hotspot.case-layer-front[data-display-kind="weapon"] .museum-mount{display:none}.market-thumbnail[data-thumbnail-scale="ssh39"]{background:#fff}.market-thumbnail[data-thumbnail-scale="ssh39"] img{object-fit:contain;transform:scale(.72)}.case-hotspot.case-layer-front[data-shelf-support="tall"] .exhibit-sprite{bottom:8%;width:65%}.case-hotspot[data-shelf-support="tall"] .museum-mount.headwear i{height:62%}.case-hotspot.case-layer-front[data-shelf-support="tall"] .museum-mount.headwear{display:block}.case-hotspot[data-item-id="lot-135"][data-shelf-support="tall"] .museum-mount.headwear{left:36%}.case-hotspot.case-layer-front[data-weapon-layout="handgun"]{top:31%;height:25%}.case-hotspot.case-layer-front[data-weapon-layout="handgun"] .exhibit-sprite{bottom:8%}.head-display.original-head-podium{width:19%!important;height:43%;aspect-ratio:auto!important}/* Head and body open the same podium settings; the fitted hat stays above this hit area. */
.museum-pedestal .pedestal-head-hit{position:absolute;z-index:3;left:32%;top:0;width:36%;height:32%;pointer-events:auto;cursor:grab}/* A fitted hat or mask can be grabbed over the full head,above the podium handle. */
.museum-pedestal .pedestal-hat-art{z-index:8}/* Configured full-body figures and their platforms share the display-size menu. */
.rotating-mannequin-stand[data-configured-outfit-stand]::before{top:0;height:104%}.rotating-mannequin-stand[data-configured-outfit-stand] .mannequin-shared-base{pointer-events:auto}/* Full-height mannequin platforms retain their physical size as figures grow. */
.rotating-mannequin-stand > .mannequin-shared-base,.stand-hotspot.rotating-empty-mannequin > .mannequin-shared-base{transform:scale(calc(1 / var(--mannequin-scale,1)));transform-origin:50% 45%}.rotation-first-hint{position:absolute;z-index:12;left:50%;top:0;transform:translate(-50%,-100%);width:max-content;max-width:250px;padding:10px 14px;border:1px solid #d5ac61;border-radius:7px;background:#211b12ee;color:#ffe7b5;font-size:13px;pointer-events:none;animation:rotation-guide-breathe 2.6s ease-in-out infinite}.rotation-first-hint::after{content:'↓';display:block;text-align:center;color:#e7c17b}.rotation-first-visit .mannequin-360-arrow{box-shadow:0 0 11px #e6b96c88;border-color:#e6b96c;animation:rotation-guide-breathe 2.6s ease-in-out infinite}
@keyframes rotation-guide-breathe{0%,100%{opacity:1}50%{opacity:.72}}
@media(prefers-reduced-motion:reduce){.rotation-first-hint,.rotation-first-visit .mannequin-360-arrow{animation:none}}

.pedestal-item-image{position:absolute;max-width:none;object-fit:fill}

.automatic-outfit-hint{position:absolute;z-index:50;left:50%;top:7%;transform:translateX(-50%);max-width:min(440px,90%);padding:12px 18px;border:1px solid #c6a76c;border-radius:7px;background:#211a13f2;color:#f5e2c2;text-align:center;font-size:14px;line-height:1.5;pointer-events:none}.automatic-outfit-hint[hidden]{display:none}

/* Figure-only sizing: physical circles stay outside the scaled figure layer. */
.rotating-mannequin-stand,.stand-hotspot.rotating-empty-mannequin{transform:translate(-50%,-100%)}
.rotating-mannequin-stand > .rotating-mannequin-exhibit,.stand-hotspot.rotating-empty-mannequin > .rotating-mannequin-exhibit{transform:scale(var(--mannequin-scale,1)) translateY(2%);transform-origin:50% 100%}
.rotating-mannequin-stand > .mannequin-shared-base,.stand-hotspot.rotating-empty-mannequin > .mannequin-shared-base{transform:none}
.rotating-mannequin-stand::before,.stand-hotspot.rotating-empty-mannequin::before{transform:scale(var(--mannequin-scale,1));transform-origin:50% 100%}

/* First-rotation help sits beside the parade soldier's head, outside figure sizing. */
.rotation-first-hint{left:32%;top:calc(100% - 78% * var(--mannequin-scale,1));transform:translate(-100%,-50%);padding:0;border:0;background:none;pointer-events:auto;animation:none}
.rotation-first-hint::after{content:none}
.museum-stage .rotation-first-trigger{width:auto;min-height:0;padding:3px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#ffe7b5;text-shadow:0 1px 4px #000,0 0 8px #000;font-size:14px;line-height:1.3;white-space:nowrap;cursor:pointer;animation:rotation-label-pulse 2.2s ease-in-out infinite}
.rotation-first-trigger:focus-visible{outline:2px solid #ffe7b5;outline-offset:3px}
.rotation-help-tooltip{position:absolute;right:0;top:calc(100% + 8px);width:230px;max-width:38vw;padding:0;border:0;background:transparent;color:#ffe7b5;text-shadow:0 1px 4px #000,0 0 8px #000;font-size:13px;line-height:1.5;white-space:normal;text-align:left;visibility:hidden;opacity:0;pointer-events:none}
.rotation-first-visit:hover .rotation-help-tooltip,.rotation-first-hint:focus-within .rotation-help-tooltip,.rotation-help-open .rotation-help-tooltip{visibility:visible;opacity:1}
@media(prefers-reduced-motion:reduce){.museum-stage .rotation-first-trigger{animation:none}}

.rotation-first-trigger::after{content:'→';display:inline-block;margin-left:9px;font-size:22px;line-height:0;vertical-align:-1px}
@keyframes rotation-label-pulse{0%,100%{opacity:1}50%{opacity:.55}}

/* The themed cabinets are lower in their artwork; move anchors, never saved item fits. */
.museum-stage .case-hotspot.case-layer-back[data-display-kind="garment"],.museum-stage .case-hotspot.case-layer-back[data-display-kind="trouser"],.museum-stage .case-hotspot.case-layer-front[data-display-kind="weapon"]{top:calc(11% + var(--case-hanger-offset,0%))}
.museum-stage .case-hotspot.case-layer-front[data-display-kind="headwear"],.museum-stage .case-hotspot.case-layer-front[data-display-kind="footwear"],.museum-stage .case-hotspot.case-layer-front[data-display-kind="shelf"],.museum-stage .case-hotspot.case-layer-front[data-weapon-layout="handgun"]{top:calc(31% + var(--case-shelf-offset,0%))}
.museum-stage .gallery-hook{top:calc(8% + var(--case-hanger-offset,0%))}.museum-stage .museum-wall-title{top:var(--room-title-top,3.2%)}

/* Arrangement handles keep moving separate from rotation. */
.museum-move-handle{display:none;position:absolute;left:50%;bottom:12%;transform:translateX(-50%);z-index:35;background:#241c12;color:#ffe7b5;border:1px solid #d5ac61;border-radius:5px;padding:7px 12px;font:600 13px sans-serif;white-space:nowrap;cursor:move;pointer-events:auto;touch-action:none}.museum-arranging .museum-move-handle{display:block}.museum-arranging .museum-move-handle:hover{background:#745723}
/* Controls live below the artwork, including the iPhone fullscreen fallback. */
.scene-presentation>.scene-bottom{position:relative;inset:auto;padding:12px 16px;background:#151515;border:1px solid #514236;border-top:0;border-radius:0 0 6px 6px;pointer-events:auto;flex-wrap:wrap}
.scene-presentation>.scene-shell{border-radius:6px 6px 0 0}
.scene-presentation>.scene-bottom .scene-tools{flex-wrap:wrap;gap:6px}
.scene-presentation>.scene-bottom .scene-tools button{min-height:42px}
.scene-presentation:fullscreen,.scene-presentation.room-expanded{position:fixed;inset:0;z-index:1000;width:100%;height:100vh;height:100dvh;background:#0e0e0e;display:flex;flex-direction:column;align-items:center;overflow:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);box-sizing:border-box}
.scene-presentation:fullscreen>.scene-shell,.scene-presentation.room-expanded>.scene-shell{flex:none;width:min(100%,calc((100dvh - 160px)*1.777778));height:auto;min-height:0;aspect-ratio:16/9;margin:auto;border-radius:0}
.scene-presentation:fullscreen .museum-stage,.scene-presentation.room-expanded .museum-stage{width:100%;left:0}
.scene-presentation:fullscreen>.scene-bottom,.scene-presentation.room-expanded>.scene-bottom{flex:none;box-sizing:border-box;width:100%;border-radius:0}
body.room-fullscreen-open{overflow:hidden}
@media(max-width:700px){.scene-presentation>.scene-bottom{padding:8px}.scene-presentation>.scene-bottom .scene-tools{width:100%}.scene-presentation>.scene-bottom .scene-tools button{flex:1 0 auto}.scene-presentation:fullscreen>.scene-bottom,.scene-presentation.room-expanded>.scene-bottom{max-height:160px;overflow:auto}}

/* Touch interaction and orientation-safe expanded room. */
.museum-stage,.museum-stage img{-webkit-touch-callout:none}.museum-arranging .rotating-mannequin-stand .outfit-viewer-surface{pointer-events:none}
.scene-presentation.room-expanded{width:var(--room-screen-width,100vw);height:var(--room-screen-height,100dvh);max-width:none!important;overflow:hidden}
.scene-presentation.room-expanded>.scene-shell,.scene-presentation:fullscreen>.scene-shell{width:min(100%,calc((var(--room-screen-height,100dvh) - var(--room-controls-height,110px) - 20px)*1.777778));min-height:0!important;max-height:none;height:auto!important;flex:none}
@media(orientation:landscape) and (max-height:600px){.scene-presentation.room-expanded>.scene-bottom{padding:4px;max-height:90px;overflow:auto}.scene-presentation.room-expanded .scene-bottom>span{display:none}.scene-presentation.room-expanded .scene-tools{gap:3px}.scene-presentation.room-expanded .scene-tools button{min-height:34px;padding:5px 8px;font-size:12px}}
/* One pointer owner for arrangement; rotation remains on the arrow buttons. */
.museum-arranging .outfit-viewer-rotation-surface{pointer-events:none}.museum-arranging .rotating-mannequin-stand,.museum-arranging [data-stand-index]{touch-action:none}
@media(pointer:coarse){.mannequin-360-controls{gap:8px!important}.mannequin-360-controls .mannequin-360-arrow{width:44px!important;height:44px!important;min-width:44px!important;font-size:26px!important;touch-action:manipulation}.museum-move-handle{min-height:44px;padding:10px 16px}}
.scene-presentation.room-expanded>.scene-shell,.scene-presentation:fullscreen>.scene-shell{width:min(100%,calc((var(--room-screen-height,100dvh) - var(--room-controls-height,64px) - env(safe-area-inset-top) - env(safe-area-inset-bottom))*1.777778));margin:0 auto}
@media(orientation:landscape) and (max-height:600px){.scene-presentation.room-expanded{justify-content:center}.scene-presentation.room-expanded>.scene-bottom{padding:2px;max-height:52px}.scene-presentation.room-expanded .scene-tools{flex-wrap:nowrap;overflow-x:auto;justify-content:center;width:100%}.scene-presentation.room-expanded .scene-tools button{flex:0 0 auto;white-space:nowrap;min-height:38px;padding:4px 7px;font-size:11px}.scene-presentation.room-expanded .scene-hint{display:none}}
@media(pointer:coarse){.rotating-mannequin-stand>.museum-move-handle{display:block;bottom:14%;min-height:44px}.mannequin-360-controls{gap:10px!important}.mannequin-360-controls .mannequin-360-arrow{width:52px!important;height:52px!important;min-width:52px!important;font-size:30px!important}}

/* Direct mouse and touch placement; rotation uses arrows. */
.museum-stage .museum-move-handle{display:none!important}
.museum-stage .rotating-mannequin-stand,.museum-stage [data-stand-index]{touch-action:none;cursor:grab}
@media(pointer:coarse){.mannequin-360-controls{gap:6px!important}.mannequin-360-controls .mannequin-360-arrow{width:40px!important;height:40px!important;min-width:40px!important;font-size:24px!important}}

/* Keep all three rotation buttons above the central drag hit area. */
.museum-stage .rotating-mannequin-stand::before,.museum-stage .stand-hotspot::before{pointer-events:none}
.museum-stage .outfit-viewer-rotation-surface{pointer-events:auto}
@media(pointer:coarse){.mannequin-360-controls{gap:5px!important}.mannequin-360-controls .mannequin-360-arrow{width:34px!important;height:34px!important;min-width:34px!important;font-size:21px!important}.mannequin-360-controls .mannequin-360-home{font-size:16px!important}}

/* Portable objects sit on the shelf; headwear mounts keep their calibrated baseline. */
.museum-stage:is([data-room-geometry="afghan"],[data-room-geometry="wwii"],[data-room-geometry="wartime"],[data-room-geometry="coldwar"]) .case-hotspot.case-layer-front:is([data-display-kind="shelf"],[data-display-kind="footwear"],[data-weapon-layout="handgun"]){top:calc(32% + var(--case-shelf-offset,0%))}

/* Raise long weapons slightly in themed rooms without changing saved item fits. */
.museum-stage:is([data-room-geometry="afghan"],[data-room-geometry="wwii"],[data-room-geometry="wartime"],[data-room-geometry="coldwar"]) .case-hotspot.case-layer-front[data-display-kind="weapon"]:not([data-weapon-layout="handgun"]){top:calc(9.5% + var(--case-hanger-offset,0%))}
