/* V52: match the overscroll canvas to the active page theme.
   The root canvas is exposed when the page is pulled beyond its scroll bounds. */
html:has(body.studio-app.night),
html:has(body.studio-app:not(.day):not(.night)) {
  background-color:#28131c!important;
  color-scheme:dark;
}
html:has(body.studio-app.day) {
  background-color:#f7ede3!important;
  color-scheme:light;
}
body.studio-app.night,
body.studio-app:not(.day):not(.night) {
  background-color:#28131c!important;
}
body.studio-app.day {
  background-color:#f7ede3!important;
}
/* On mobile, keep browser scroll bounce using the same root canvas. */
@supports (-webkit-touch-callout:none) {
 html:has(body.studio-app.night),
 html:has(body.studio-app:not(.day):not(.night)) {background:#28131c!important}
}
