/* V375: retain first-open prepositioning while restoring a real rightward exit. */
html body.studio-app dialog#modal.v266-sections-dialog.v370-closing[open]{animation:none!important;transition:transform .32s cubic-bezier(.4,0,.8,.3),opacity .32s ease!important;transform:translate3d(105%,0,0)!important;opacity:.65!important}
/* Match the stone-glass video controls, including the arrow. */
html body.studio-app #view-hall .curated-header button.curated-all{appearance:none!important;-webkit-appearance:none!important;background:linear-gradient(135deg,rgba(108,105,101,.72),rgba(72,71,69,.68))!important;border:1px solid rgba(194,190,184,.16)!important;border-radius:999px!important;color:#eeeae4!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.065)!important;outline:none!important;-webkit-tap-highlight-color:transparent!important;transition:background .25s ease,box-shadow .25s ease,border-color .25s ease!important}
html body.studio-app #view-hall .curated-header button.curated-all span{color:inherit!important;background:transparent!important;border:0!important;box-shadow:none!important}
@media(hover:hover){html body.studio-app #view-hall .curated-header button.curated-all:hover{background:linear-gradient(135deg,rgba(123,120,116,.77),rgba(89,87,84,.73))!important;border-color:rgba(220,220,220,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 0 12px rgba(255,255,255,.12),0 0 4px rgba(255,255,255,.07)!important}}
html body.studio-app #view-hall .curated-header button.curated-all:is(:active,:focus,:focus-visible){outline:none!important;-webkit-tap-highlight-color:transparent!important}
@media(prefers-reduced-motion:reduce){html body.studio-app dialog#modal.v266-sections-dialog.v370-closing[open]{transition:none!important}}

/* V376: override legacy gold button rules in both day/night themes. */
html body.studio-app #view-hall .curated-header button.curated-all,
html body.studio-app.night #view-hall .curated-header button.curated-all,
html body.studio-app.day #view-hall .curated-header button.curated-all {
  appearance:none!important;-webkit-appearance:none!important;
  background:linear-gradient(135deg,rgba(108,105,101,.72),rgba(72,71,69,.68))!important;
  background-color:rgba(80,78,75,.72)!important;
  border:1px solid rgba(194,190,184,.16)!important;
  border-radius:999px!important;
  color:#eeeae4!important;-webkit-text-fill-color:#eeeae4!important;
  backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.065)!important;
  outline:none!important;-webkit-tap-highlight-color:transparent!important;
  transition:background .25s ease,box-shadow .25s ease,border-color .25s ease!important;
}
html body.studio-app #view-hall .curated-header button.curated-all span,
html body.studio-app.night #view-hall .curated-header button.curated-all span,
html body.studio-app.day #view-hall .curated-header button.curated-all span {
  color:#eeeae4!important;-webkit-text-fill-color:#eeeae4!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
@media(hover:hover){
html body.studio-app #view-hall .curated-header button.curated-all:hover,
html body.studio-app.night #view-hall .curated-header button.curated-all:hover,
html body.studio-app.day #view-hall .curated-header button.curated-all:hover {
  background:linear-gradient(135deg,rgba(123,120,116,.77),rgba(89,87,84,.73))!important;
  border-color:rgba(220,220,220,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 0 12px rgba(255,255,255,.12),0 0 4px rgba(255,255,255,.07)!important;
}}
html body.studio-app #view-hall .curated-header button.curated-all:is(:focus,:focus-visible,:active){outline:none!important;-webkit-tap-highlight-color:transparent!important;}

/* V377: keep the instrumental CTA arrow light on mouse hover and press. */
html body.studio-app #view-hall .curated-header button.curated-all:hover,
html body.studio-app #view-hall .curated-header button.curated-all:is(:active,:focus,:focus-visible),
html body.studio-app #view-hall .curated-header button.curated-all:hover span,
html body.studio-app #view-hall .curated-header button.curated-all:is(:active,:focus,:focus-visible) span,
html body.studio-app.night #view-hall .curated-header button.curated-all:hover span,
html body.studio-app.day #view-hall .curated-header button.curated-all:hover span {
 color:#eeeae4!important;
 -webkit-text-fill-color:#eeeae4!important;
 text-shadow:none!important;
}
