/* V162: ONLY INTERACTIVE BUTTONS pop; surrounding panels, headers, text,
   cards and controls keep the approved V157/V158/V159 whole-box glides. */
@keyframes waomV162ButtonPopIn{
  0%{opacity:0;transform:scale(.72)}
  68%{opacity:1;transform:scale(1.065)}
  100%{opacity:1;transform:scale(1)}
}
@keyframes waomV162ButtonPopOut{
  0%{opacity:1;transform:scale(1)}
  20%{opacity:1;transform:scale(1.025)}
  100%{opacity:0;transform:scale(.78)}
}
/* These operate only during the actual host-driven entrance or departure.
   Outside these states the original button interactions and pulsing styles run. */
html.waom-selector.waom-entering :is(button,.waom-return-bar a),
html.waom-upload.waom-entering :is(button,.waom-return-bar a,a.button),
html.waom-review.waom-entering :is(button,.waom-return-bar a,.actions a,.reviewCheckoutButton,a.secondary){
 animation-name:waomV162ButtonPopIn!important;
 animation-duration:.48s!important;
 animation-timing-function:cubic-bezier(.2,.9,.25,1)!important;
 animation-fill-mode:both!important;
}
html.waom-selector.waom-leaving :is(button,.waom-return-bar a),
html.waom-upload.waom-leaving :is(button,.waom-return-bar a,a.button),
html.waom-review.waom-leaving :is(button,.waom-return-bar a,.actions a,.reviewCheckoutButton,a.secondary){
 animation-name:waomV162ButtonPopOut!important;
 animation-duration:.28s!important;
 animation-timing-function:cubic-bezier(.6,0,.9,.55)!important;
 animation-fill-mode:both!important;
}
/* Default pop cues occur AFTER each containing panel reaches its position.
   Explicit stagger rules below retain the individual timings. */
html.waom-selector.waom-entering button{animation-delay:2.72s!important}
html.waom-upload.waom-entering :is(button,a.button){animation-delay:3.35s!important}
html.waom-review.waom-entering :is(button,.actions a,.reviewCheckoutButton,a.secondary){animation-delay:3.15s!important}
html.waom-selector.waom-entering .waom-return-bar a,
html.waom-upload.waom-entering .waom-return-bar a,
html.waom-review.waom-entering .waom-return-bar a{animation-delay:1.2s!important}
/* STANDARD and PREMIUM are real buttons. The old segmented-control wrapper
   must not glide separately, otherwise its moving parent makes them look as
   though they slide even when their own animation is a pop. */
html.waom-selector.waom-entering .controls .seg,
html.waom-selector.waom-leaving .controls .seg{
 animation-name:none!important;
 opacity:1!important;
 transform:none!important;
}
html.waom-selector.waom-entering .controls .seg button:nth-child(1){animation-delay:2.67s!important}
html.waom-selector.waom-entering .controls .seg button:nth-child(2){animation-delay:2.85s!important}
/* Picker control and footer pills remain individually staggered. */
html.waom-selector.waom-entering .controls button:nth-of-type(1){animation-delay:2.75s!important}
html.waom-selector.waom-entering .controls button:nth-of-type(2){animation-delay:2.93s!important}
html.waom-selector.waom-entering .controls button:nth-of-type(3){animation-delay:3.11s!important}
html.waom-selector.waom-entering .controls button:nth-of-type(4){animation-delay:3.29s!important}
html.waom-selector.waom-entering .mapFooter button:nth-of-type(1){animation-delay:2.72s!important}
html.waom-selector.waom-entering .mapFooter button:nth-of-type(2){animation-delay:2.90s!important}
html.waom-selector.waom-entering .mapFooter button:nth-of-type(3){animation-delay:3.08s!important}
html.waom-selector.waom-entering .mapFooter button:nth-of-type(4){animation-delay:3.26s!important}
/* First arrival is intentionally slower than subsequent room navigation. */
html.waom-selector.waom-first-arrival.waom-entering button{animation-delay:4.64s!important}
html.waom-selector.waom-first-arrival.waom-entering .waom-return-bar a{animation-delay:1.58s!important}
html.waom-selector.waom-first-arrival.waom-entering .controls .seg button:nth-child(1){animation-delay:4.04s!important}
html.waom-selector.waom-first-arrival.waom-entering .controls .seg button:nth-child(2){animation-delay:4.26s!important}
html.waom-selector.waom-first-arrival.waom-entering .controls button:nth-of-type(1){animation-delay:4.36s!important}
html.waom-selector.waom-first-arrival.waom-entering .controls button:nth-of-type(2){animation-delay:4.59s!important}
html.waom-selector.waom-first-arrival.waom-entering .controls button:nth-of-type(3){animation-delay:4.82s!important}
html.waom-selector.waom-first-arrival.waom-entering .controls button:nth-of-type(4){animation-delay:5.05s!important}
html.waom-selector.waom-first-arrival.waom-entering .mapFooter button:nth-of-type(1){animation-delay:4.54s!important}
html.waom-selector.waom-first-arrival.waom-entering .mapFooter button:nth-of-type(2){animation-delay:4.77s!important}
html.waom-selector.waom-first-arrival.waom-entering .mapFooter button:nth-of-type(3){animation-delay:5.00s!important}
html.waom-selector.waom-first-arrival.waom-entering .mapFooter button:nth-of-type(4){animation-delay:5.23s!important}
/* Photo editor: make controls appear after their own card has glided in. */
html.waom-upload.waom-entering .editorTools .quickButtons button:nth-of-type(1){animation-delay:2.88s!important}
html.waom-upload.waom-entering .editorTools .quickButtons button:nth-of-type(2){animation-delay:3.06s!important}
html.waom-upload.waom-entering .editorTools .quickButtons button:nth-of-type(3){animation-delay:3.24s!important}
html.waom-upload.waom-entering .editorTools .quickButtons button:nth-of-type(4){animation-delay:3.42s!important}
html.waom-upload.waom-entering .editorTools .studioActions button:nth-of-type(1){animation-delay:3.32s!important}
html.waom-upload.waom-entering .editorTools .studioActions button:nth-of-type(2){animation-delay:3.47s!important}
html.waom-upload.waom-entering .editorTools .studioActions button:nth-of-type(3){animation-delay:3.62s!important}
html.waom-upload.waom-entering .editorTools .studioActions button:nth-of-type(4){animation-delay:3.75s!important}
/* The guidelines reminder normally rocks. Pop once while the room arrives,
   then resume the existing two-second rock (or remain still once read). */
html.waom-upload.waom-entering #uploadGuidelinesOpen:not(.waom-guidelines-read),
html.waom-upload.waom-entering #uploadGuidelinesOpen.waom-guidelines-read{
 animation-name:waomV162ButtonPopIn!important;
 animation-duration:.43s!important;
 animation-delay:1.95s!important;
 animation-iteration-count:1!important;
}
html.waom-upload.waom-leaving #uploadGuidelinesOpen{
 animation-name:waomV162ButtonPopOut!important;
 animation-duration:.27s!important;
 animation-delay:.08s!important;
 animation-iteration-count:1!important;
}
/* Logo-burger header buttons pop shortly after the header settles. */
html.waom-selector.waom-entering .head button{animation-delay:1.10s!important}
html.waom-selector.waom-first-arrival.waom-entering .head button{animation-delay:1.28s!important}
html.waom-upload.waom-entering .header button{animation-delay:1.12s!important}
html.waom-review.waom-entering .shell>header button{animation-delay:1.15s!important}
/* Order review: preserve the card glides; pop its actual action buttons. */
html.waom-review.waom-entering .actions a:nth-of-type(1){animation-delay:3.31s!important}
html.waom-review.waom-entering .actions a:nth-of-type(2){animation-delay:3.50s!important}
html.waom-review.waom-entering .actions a:nth-of-type(3){animation-delay:3.70s!important}
html.waom-review.waom-entering .layout>aside .reviewCheckoutButton{animation-delay:3.10s!important}
/* Departing buttons disappear BEFORE their containing panel starts its glide.
   This prevents the buttons being carried sideways by the parent during exit. */
html.waom-selector.waom-leaving :is(button,.waom-return-bar a),
html.waom-upload.waom-leaving :is(button,.waom-return-bar a,a.button),
html.waom-review.waom-leaving :is(button,.waom-return-bar a,.actions a,.reviewCheckoutButton,a.secondary){animation-delay:.08s!important}
html.waom-selector.waom-leaving .controls button:nth-of-type(2),
html.waom-selector.waom-leaving .mapFooter button:nth-of-type(2),
html.waom-upload.waom-leaving .editorTools .quickButtons button:nth-of-type(2),
html.waom-upload.waom-leaving .studioActions button:nth-of-type(2),
html.waom-review.waom-leaving .actions a:nth-of-type(2){animation-delay:.16s!important}
html.waom-selector.waom-leaving .controls button:nth-of-type(3),
html.waom-selector.waom-leaving .mapFooter button:nth-of-type(3),
html.waom-upload.waom-leaving .editorTools .quickButtons button:nth-of-type(3),
html.waom-upload.waom-leaving .studioActions button:nth-of-type(3),
html.waom-review.waom-leaving .actions a:nth-of-type(3){animation-delay:.24s!important}
html.waom-selector.waom-leaving .controls button:nth-of-type(4),
html.waom-selector.waom-leaving .mapFooter button:nth-of-type(4),
html.waom-upload.waom-leaving .editorTools .quickButtons button:nth-of-type(4),
html.waom-upload.waom-leaving .studioActions button:nth-of-type(4){animation-delay:.32s!important}
/* Legacy individual button animations use high-specificity shorthands.
   Match those selectors explicitly so no movement-based animation survives. */
html.waom-selector.waom-entering .controls button:nth-of-type(n),
html.waom-selector.waom-entering .mapFooter button:nth-of-type(n),
html.waom-selector.waom-entering .controls .seg button,
html.waom-upload.waom-entering .editorTools .quickButtons button:nth-of-type(n),
html.waom-upload.waom-entering .editorTools .studioActions button:nth-of-type(n),
html.waom-review.waom-entering .layout>div>.card .actions a:nth-of-type(n),
html.waom-review.waom-entering .layout>aside .reviewCheckoutButton{
 animation-name:waomV162ButtonPopIn!important;
 animation-duration:.43s!important;
 animation-timing-function:cubic-bezier(.2,.9,.25,1)!important;
}
html.waom-selector.waom-leaving .controls button:nth-of-type(n),
html.waom-selector.waom-leaving .mapFooter button:nth-of-type(n),
html.waom-selector.waom-leaving .controls .seg button,
html.waom-upload.waom-leaving .editorTools .quickButtons button:nth-of-type(n),
html.waom-upload.waom-leaving .editorTools .studioActions button:nth-of-type(n),
html.waom-review.waom-leaving .layout>div>.card .actions a:nth-of-type(n),
html.waom-review.waom-leaving .layout>aside .reviewCheckoutButton{
 animation-name:waomV162ButtonPopOut!important;
 animation-duration:.27s!important;
 animation-timing-function:cubic-bezier(.6,0,.9,.55)!important;
}
@media(prefers-reduced-motion:reduce){
 html.waom-selector.waom-entering button,html.waom-selector.waom-leaving button,
 html.waom-upload.waom-entering button,html.waom-upload.waom-leaving button,
 html.waom-review.waom-entering button,html.waom-review.waom-leaving button,
 html.waom-selector.waom-entering a,html.waom-selector.waom-leaving a,
 html.waom-upload.waom-entering a,html.waom-upload.waom-leaving a,
 html.waom-review.waom-entering a,html.waom-review.waom-leaving a{
  animation-delay:0s!important;animation-duration:.001ms!important;
 }
}
