.catalog-page .beats-top[hidden]{display:none}
.catalog-page .beats-top{
  position:fixed;z-index:25;
  right:max(10px,calc(env(safe-area-inset-right) + 8px),calc((100vw - 1240px) / 2));
  bottom:calc(env(safe-area-inset-bottom) + 12px);
  display:inline-flex;align-items:center;gap:7px;
  min-height:44px;padding:5px 10px 5px 6px;border-radius:999px;
  border:1px solid color-mix(in srgb,var(--theme-button,#71384c) 46%,var(--theme-paper,#fafbfc));
  background:var(--theme-paper,#fafbfc);color:var(--theme-text,#20242b);
  box-shadow:0 3px 12px #0002;
  font:700 12px/1 system-ui,sans-serif;white-space:nowrap;
  cursor:pointer;touch-action:manipulation;user-select:none;
}
.beats-top .beats-top__icon{
  display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:var(--theme-button,#71384c);color:var(--theme-button-ink,#fff);
}
.beats-top svg{width:16px;height:16px;flex:none}
.beats-top[data-primed],.beats-top:focus-visible{
  outline:2px solid var(--theme-text,#20242b);outline-offset:2px;
}
.beats-top[data-primed] .beats-top__icon{transform:translateY(-2px)}
@media(hover:hover){.beats-top:hover .beats-top__icon{transform:translateY(-2px)}}
@media(min-width:1250px){.catalog-page .beats-top{right:22px;bottom:22px}}

.catalog-page .beats-top {
  right: auto;
  bottom: auto;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  padding: 3px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  transform: translate(var(--beats-top-x, -100px), var(--beats-top-y, 0px));
}
.catalog-page .beats-top__icon { width: 25px; height: 25px; }

.catalog-page .beats-top {
  left: auto;
  top: auto;
  right: calc(4px + env(safe-area-inset-right));
  bottom: calc(8px + env(safe-area-inset-bottom));
  transform: none;
}
