@media (max-width: 767px) {
  #beat-discovery .discovery-searchbar {
    position: relative;
    top: auto;
    padding: 5px 8px;
    margin-block: 6px;
    gap: 3px;
  }
  #beat-discovery .discovery-searchbar label { gap: 3px; font-size: 11px; }
  #beat-discovery .discovery-searchbar input[type="search"] {
    min-height: 36px;
    padding: 4px 9px;
    font-size: 16px;
  }
  #beat-discovery .discovery-searchbar small { display: none; }
  #beat-discovery .discovery-searchbar strong { font-size: 10px; line-height: 1.2; }
  #beat-discovery .discovery-moods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 4px;
    margin-block: 6px;
  }
  #beat-discovery .discovery-moods button {
    min-width: 0;
    min-height: 32px;
    padding: 3px 2px;
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #beat-discovery .discovery-searchbar[data-scroll-hide]:not(:focus-within) { visibility: hidden; }
  #beat-discovery .discovery-searchbar[data-mobile-open] {
    position: fixed;
    inset: auto 12px calc(60px + env(safe-area-inset-bottom)) 12px;
    z-index: 31;
    background: var(--theme-paper, #fff);
    box-shadow: 0 10px 32px #0004;
  }
  .catalog-page .mobile-beat-search:not([hidden]) {
    position: fixed;
    left: calc(6px + env(safe-area-inset-left));
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 30;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--theme-accent, #71384c);
    border-radius: 50%;
    color: var(--theme-text, #20242b);
    background: var(--theme-paper, #fff);
    box-shadow: 0 0 13px color-mix(in srgb, var(--theme-accent, #71384c) 60%, transparent);
  }
  .mobile-beat-search::before {
    content: '';
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
    transform: translate(-2px, -2px);
  }
  .mobile-beat-search::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(8px, 8px) rotate(45deg);
  }
  .mobile-beat-search:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
}
@media (max-width: 767px) {
  html body.catalog-page #beat-discovery .discovery-searchbar { padding: 5px 8px !important; }
  html body.catalog-page #beat-discovery .discovery-searchbar label {
    display: block;
    line-height: 1.15;
    font-size: 11px !important;
  }
  html body.catalog-page #beat-discovery .discovery-searchbar input[type="search"] {
    box-sizing: border-box;
    height: 36px;
    min-height: 36px !important;
    margin-top: 3px;
    padding-block: 4px !important;
  }
  html body.catalog-page #beat-discovery .discovery-searchbar strong {
    display: block;
    margin-block: 3px 0;
  }
}

.catalog-page .mobile-beat-search:not([hidden]) {
  position: fixed;
  left: calc(6px + env(safe-area-inset-left));
  bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 130;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--theme-accent, #71384c);
  border-radius: 50%;
  color: var(--theme-text, #20242b);
  background: var(--theme-paper, #fff);
  box-shadow: 0 0 13px color-mix(in srgb, var(--theme-accent, #71384c) 60%, transparent);
}
.catalog-page .mobile-beat-search:not([hidden])[aria-expanded="true"] { display: none; }
.mobile-beat-search::before {
  content: '';
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-2px, -2px);
}
.mobile-beat-search::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(8px, 8px) rotate(45deg);
}
#beat-discovery .discovery-searchbar[data-mobile-open] {
  position: fixed;
  inset: var(--beat-search-top, 72px) max(12px, calc((100% - 620px) / 2)) auto;
  z-index: 129;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  visibility: visible;
  padding: 5px 8px;
}
#beat-discovery .discovery-searchbar[data-mobile-open] label {
  display: block;
  padding-inline-end: 48px;
  color: var(--theme-text, #20242b);
  text-shadow: 0 0 3px var(--theme-paper, #fff), 0 0 6px var(--theme-paper, #fff);
}
#beat-discovery .discovery-searchbar[data-mobile-open] input {
  background: transparent !important;
  color: var(--theme-text, #20242b);
  text-shadow: 0 0 3px var(--theme-paper, #fff), 0 0 6px var(--theme-paper, #fff);
}
#beat-discovery .discovery-searchbar[data-mobile-open] small { display: none; }
#beat-discovery .discovery-searchbar[data-mobile-open] strong {
  color: var(--theme-text, #20242b);
  text-shadow: 0 0 3px var(--theme-paper, #fff), 0 0 6px var(--theme-paper, #fff);
}
#beat-discovery .discovery-searchbar:not([data-mobile-open]) .beat-search-close { display: none; }
#beat-discovery .beat-search-close {
  position: absolute;
  top: 16px;
  right: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 9px;
  color: var(--theme-text, #20242b);
  font-size: 23px;
  cursor: pointer;
}
@media (min-width: 768px) {
  html body.catalog-page #beat-discovery .discovery-searchbar:not([data-mobile-open]) {
    position: relative;
    top: auto;
    max-width: 620px;
    padding: 8px 12px;
  }
  #beat-discovery .discovery-searchbar label { font-size: 12px; }
  #beat-discovery .discovery-searchbar input[type="search"] { min-height: 38px; padding: 5px 10px; font-size: 16px; }
  #beat-discovery .discovery-searchbar small { display: none; }
  #beat-discovery .discovery-searchbar[data-desktop-closed]:not([data-mobile-open]) { display: none; }
}
@media (min-width: 1050px) {
  html[data-brand] body.experience #beat-discovery .discovery-layout {
    grid-template-columns: minmax(245px, 30%) minmax(0, 1fr);
    gap: 18px;
  }
  html[data-brand] body.experience #beat-discovery .discovery-player {
    position: sticky;
    top: 108px;
    align-self: start;
  }
  html[data-brand] body.experience #beat-discovery .discovery-result {
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    padding: 10px;
    gap: 10px;
  }
  html[data-brand] body.experience #beat-discovery .discovery-result img {
    width: 110px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}
@media (min-width: 1320px) {
  html[data-brand] body.experience #beat-discovery .discovery-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
  }
}
