/* Ponka Cat console backdrop and mobile layout */
.glass-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 340px 280px at 15% calc(100% - 96px), rgb(104 213 180 / 22%), transparent 70%),
    radial-gradient(ellipse 380px 310px at 87% calc(100% - 120px), rgb(78 186 160 / 19%), transparent 70%),
    linear-gradient(#090909, #0b0b0c 64%, #101010);
}
.glass-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 62px 52px;
  -webkit-mask-image: linear-gradient(rgb(0 0 0 / 82%), transparent 96%);
  mask-image: linear-gradient(rgb(0 0 0 / 82%), transparent 96%);
}
@media (max-width: 860px) {
  /* Safari uses the root canvas behind the page during elastic overscroll. */
  html.vkui { background-color: #101010; }
  .glass-backdrop {
    /* Let the decoration scroll with the page as iOS resizes its browser chrome. */
    position: absolute;
    background:
      radial-gradient(ellipse 230px 250px at -8% 88%, rgb(104 213 180 / 18%), transparent 70%),
      radial-gradient(ellipse 245px 270px at 108% 96%, rgb(78 186 160 / 16%), transparent 70%),
      linear-gradient(#090909, #0b0b0c 64%, #101010);
  }
  .glass-backdrop::before {
    opacity: .5;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@supports selector(:has(*)) {
  @media (max-width: 860px) {
    /* Paint the mobile background on the page canvas, beneath the whole app. */
    html.vkui:has(.app-shell) {
      background-color: #101010;
      background-image:
        linear-gradient(rgb(255 255 255 / 2.5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 2.5%) 1px, transparent 1px),
        radial-gradient(ellipse 230px 250px at -8% 88%, rgb(104 213 180 / 18%), transparent 70%),
        radial-gradient(ellipse 245px 270px at 108% 96%, rgb(78 186 160 / 16%), transparent 70%),
        linear-gradient(#090909, #0b0b0c 64%, #101010);
      background-size: 62px 52px, 62px 52px, 100% 100%, 100% 100%, 100% 100%;
      background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    }
    body:has(.app-shell), #root:has(.app-shell), .vkuiPanel__in:has(> .app-shell) { background: transparent; }
    .glass-backdrop { display: none; }
  }
}
.glass-skip-link { display: none; }
@media (max-width: 860px) {
  .glass-tabbar { left: 0; right: 0; margin-inline: auto; transform: none; }
  .page--configs .console-page-heading { position: absolute; display: block; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
