/* V137: LOCAL-ONLY strong game-style assembly. Deliberately not a deployment stylesheet.
   Host shell owns the fixed room. No transform ever applied to canvas/gesture layers. */
html.waom-hosted,html.waom-hosted body{background:transparent!important;background-image:none!important;background-color:transparent!important;background-attachment:initial!important;min-height:100%;}
/* Review must keep its own ORIGINAL #0d0d0e background, not the brick wall. */
html.waom-hosted.waom-review,html.waom-hosted.waom-review body{background:#0d0d0e!important;background-image:none!important;background-color:#0d0d0e!important}
html.waom-hosted body::before,html.waom-hosted body::after{display:none!important;content:none!important}
html.waom-hosted{scroll-behavior:auto!important}
html.waom-hosted .intro,html.waom-hosted .main>section.panel,
html.waom-hosted .controls,html.waom-hosted .info{animation:none!important;}
html.waom-hosted.waom-entering .shell{pointer-events:none}

/* V138: Same enclosed-brick-room intro box as the approved position picker.
   The wording remains exactly unchanged. No editing canvas is touched. */
html.waom-upload .uploadIntro{
  display:block;
  margin:20px 0 25px;
  padding:clamp(23px,3vw,35px) clamp(18px,2.5vw,32px);
  background-image:linear-gradient(100deg,rgba(12,13,12,.93),rgba(16,17,16,.86) 52%,rgba(21,22,20,.78));
  background-color:#101110;
  border:1px solid #e5e5dc66;
  border-radius:28px;
  box-shadow:0 16px 45px #0009,inset 0 1px #ffffff36;
}
html.waom-upload .uploadIntro>.eyebrow{margin:0 0 11px;color:#A2F52A;letter-spacing:.12em}
html.waom-upload .uploadIntro>h1{margin:0 0 13px;font-family:Impact,'Arial Black','Franklin Gothic Heavy','Segoe UI',sans-serif;font-weight:900;letter-spacing:-.02em;color:#fff}
html.waom-upload .uploadIntro>.lead{margin:0;max-width:720px;color:#d8ddd6}
html.waom-upload.waom-entering .uploadIntro{animation:v137PanelWipe .9s .2s cubic-bezier(.16,.9,.22,1) both!important}
@media(max-width:620px){html.waom-upload .uploadIntro{padding:22px 16px;margin:14px 0 18px;border-radius:21px}html.waom-upload .uploadIntro>h1{font-size:clamp(35px,9.4vw,54px)}}

/* Selector: each piece is separately timed; the map frame reveals by CLIPPING,
   not transform, so clickable grid coordinates remain unchanged when revealed. */
html.waom-selector.waom-entering .head{animation:v137Drop .65s .06s cubic-bezier(.18,.95,.21,1) both!important}
html.waom-selector.waom-entering .waom-return-bar{animation:v137SlideRight .68s .18s cubic-bezier(.12,.85,.2,1) both!important}
html.waom-selector.waom-entering .intro{animation:v137SweepLeft .88s .29s cubic-bezier(.14,.9,.25,1) both!important}
html.waom-selector.waom-entering .intro h1{animation:v138SmoothReveal .78s .47s ease-out both!important}
html.waom-selector.waom-entering .avail{animation:v137Scale .78s .61s cubic-bezier(.14,.92,.23,1) both!important}
html.waom-selector.waom-entering .main>section.panel{animation:v137PanelWipe 1.05s .64s cubic-bezier(.19,.87,.21,1) both!important}
html.waom-selector.waom-entering .canvasTop{animation:v137FadeDown .58s .99s ease-out both!important}
html.waom-selector.waom-entering .mapFooter{animation:v137FadeUp .64s 1.10s ease-out both!important}
html.waom-selector.waom-entering .controls{animation:v137SweepRight .9s .78s cubic-bezier(.15,.9,.24,1) both!important}
html.waom-selector.waom-entering .controls>h2{animation:v138SmoothReveal .5s 1.05s ease-out both!important}
html.waom-selector.waom-entering .controls .seg{animation:v137Pop .55s 1.14s ease-out both!important}
html.waom-selector.waom-entering .controls .cartHead{animation:v137FadeUp .5s 1.24s ease-out both!important}
html.waom-selector.waom-entering .info{animation:v137FadeUp .7s 1.25s ease-out both!important}

/* Upload: substantial motion on every visible component, including the editor,
   preview heading, photo guidance, finished list, and editor tools. The editor
   PANEL only wipes via clip-path; its underlying canvas is never moved. */
html.waom-upload.waom-entering .header{animation:v137Drop .68s .04s cubic-bezier(.16,.9,.24,1) both!important}
html.waom-upload.waom-entering .waom-return-bar{animation:v137SlideRight .63s .14s ease-out both!important}
html.waom-upload.waom-entering .uploadIntro>.eyebrow{animation:v138SmoothReveal .62s .24s both!important}
html.waom-upload.waom-entering .uploadIntro>h1{animation:v137SweepLeft .83s .40s cubic-bezier(.15,.85,.2,1) both!important}
html.waom-upload.waom-entering .uploadIntro>.lead{animation:v137FadeUp .63s .55s ease-out both!important}
html.waom-upload.waom-entering .editorSharedPanel{animation:v137PanelWipe 1.03s .64s cubic-bezier(.13,.87,.27,1) both!important}
html.waom-upload.waom-entering .editorVisual .panelHead{animation:v137FadeDown .57s .91s both!important}
html.waom-upload.waom-entering .editorTools .panelHead{animation:v138SmoothReveal .62s 1.05s both!important}
html.waom-upload.waom-entering .editorTools .studioActions{animation:v137FadeUp .67s 1.15s both!important}
html.waom-upload.waom-entering #finishedPanel{animation:v137SweepRight .85s .83s cubic-bezier(.15,.87,.23,1) both!important}
html.waom-upload.waom-entering #finishedPanel .panelHead{animation:v137Pop .58s 1.14s both!important}
html.waom-upload.waom-entering .photoGuide{animation:v137FadeUp .82s 1.15s cubic-bezier(.18,.9,.22,1) both!important}
html.waom-upload.waom-entering .photoGuide .guideItem:nth-child(1){animation:v137Pop .54s 1.32s both!important}
html.waom-upload.waom-entering .photoGuide .guideItem:nth-child(2){animation:v137Pop .54s 1.38s both!important}
html.waom-upload.waom-entering .photoGuide .guideItem:nth-child(3){animation:v137Pop .54s 1.44s both!important}
html.waom-upload.waom-entering .photoGuide .guideItem:nth-child(4){animation:v137Pop .54s 1.50s both!important}
html.waom-upload.waom-entering .photoGuide .guideItem:nth-child(5){animation:v137Pop .54s 1.56s both!important}
html.waom-upload.waom-entering .photoGuide .guideItem:nth-child(6){animation:v137Pop .54s 1.62s both!important}

/* V139: REVIEW UR ORDER intentionally has NO entrance animations.
   It opens normally as soon as the existing lights-out transition releases. */

/* Homepage hands off to the brick room instead of disappearing abruptly. */
html.waom-home.waom-leaving #artwork{animation:v137HomeFade .65s .02s ease-in both!important}
html.waom-home.waom-leaving .storySection{animation:v137HomeFade .65s .02s ease-in both!important}
@keyframes v137HomeFade{0%{opacity:1;filter:blur(0)}100%{opacity:0;filter:blur(16px)}}

/* Foreground dismantles in steps before the replacement scene is shown. */
html.waom-leaving .head,html.waom-leaving .header,html.waom-leaving .shell>header{animation:v137ExitUp .58s .05s ease-in both!important}
html.waom-leaving .waom-return-bar{animation:v137ExitUp .5s .08s ease-in both!important}
html.waom-leaving .intro,html.waom-leaving .uploadIntro,html.waom-leaving .shell>h1{animation:v137ExitLeft .64s .09s cubic-bezier(.68,.02,.97,.75) both!important}
html.waom-leaving .main>section.panel,html.waom-leaving .editorSharedPanel,
html.waom-leaving .layout>div>.card{animation:v137PanelClose .67s .10s cubic-bezier(.7,.02,.96,.7) both!important}
html.waom-leaving .controls,html.waom-leaving #finishedPanel,
html.waom-leaving .layout>aside{animation:v137ExitRight .66s .17s cubic-bezier(.7,.03,.9,.7) both!important}
html.waom-leaving .info,html.waom-leaving .photoGuide,html.waom-leaving .stepper,
html.waom-leaving .shell>.lead,html.waom-leaving .layout>div>.secure{animation:v137ExitDown .53s .07s ease-in both!important}

/* Intentionally conspicuous 3D-inspired motion with safe end state. */
@keyframes v137Drop{0%{opacity:0;transform:translateY(-84px) scale(.96);filter:blur(9px)}70%{opacity:1;filter:blur(0)}100%{opacity:1;transform:none;filter:none}}
@keyframes v137SlideRight{from{opacity:0;transform:translateX(105px);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes v137SweepLeft{from{opacity:0;transform:translateX(-140px) scale(.98);filter:blur(11px)}80%{opacity:1;filter:blur(0)}to{opacity:1;transform:none;filter:none}}
@keyframes v137SweepRight{from{opacity:0;transform:translateX(150px) scale(.94);filter:blur(10px)}80%{opacity:1;filter:blur(0)}to{opacity:1;transform:none;filter:none}}
@keyframes v137PanelWipe{0%{opacity:0;clip-path:inset(0 100% 0 0 round 25px);filter:brightness(.74)}40%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0 round 25px);filter:none}}
@keyframes v137Scale{from{opacity:0;transform:scale(.7);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes v137Pop{0%{opacity:0;transform:scale(.76) translateY(20px);filter:blur(7px)}65%{opacity:1;transform:scale(1.05);filter:none}100%{opacity:1;transform:none;filter:none}}
@keyframes v138SmoothReveal{0%{opacity:0;transform:translateY(20px);filter:blur(5px)}100%{opacity:1;transform:none;filter:none}}
@keyframes v137FadeDown{from{opacity:0;transform:translateY(-31px);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@keyframes v137FadeUp{from{opacity:0;transform:translateY(63px);filter:blur(7px)}to{opacity:1;transform:none;filter:none}}
@keyframes v137ExitUp{to{opacity:0;transform:translateY(-72px);filter:blur(6px)}}
@keyframes v137ExitLeft{to{opacity:0;transform:translateX(-155px);filter:blur(8px)}}
@keyframes v137ExitRight{to{opacity:0;transform:translateX(170px);filter:blur(7px)}}
@keyframes v137ExitDown{to{opacity:0;transform:translateY(73px);filter:blur(7px)}}
@keyframes v137PanelClose{0%{opacity:1;clip-path:inset(0 0 0 0 round 25px)}100%{opacity:0;clip-path:inset(0 0 0 100% round 25px);filter:brightness(.3)}}

/* The same existing editor/picker designs. No canvas resize or new styling.
   Room background comes only from the permanent shell, never from page body. */
@media(max-width:700px){
 html.waom-selector.waom-entering .main>section.panel{animation-duration:.92s!important}
 html.waom-upload.waom-entering .editorSharedPanel{animation-duration:.96s!important}
}
@media(prefers-reduced-motion:reduce){
 html.waom-hosted *,html.waom-hosted *::before,html.waom-hosted *::after{
  animation-duration:.001ms!important;animation-delay:0ms!important;transition-duration:.001ms!important;
 }
}
