/* One uninterrupted sea behind the root menus. It never enters a screen's
   display:none lifecycle, and its artwork scale does not follow menu rems. */
body.ph-shared-menu-sea { isolation: isolate; }
#menu-background {
  --menu-sea-tile: 960px;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  background: #01abff;
}
#menu-background > .menu-waves {
  background-size: var(--menu-sea-tile) auto;
  animation: drift-shared-menu-waves 22s linear infinite;
}
.is-android-app #menu-background {
  --menu-sea-tile: var(--home-sea-tile, 960px);
}
@keyframes drift-shared-menu-waves {
  from { background-position: 0 0; transform: scale(1.08); }
  to { background-position: var(--menu-sea-tile) var(--menu-sea-tile); transform: scale(1.08); }
}
.ph-shared-menu-sea :is(#intro, #play-mode, #online-menu, #online-rooms, #online-lobby, #challenge-setup:not(.is-discovery-setup)) {
  background: transparent;
}
