.panel-intro .hero-copy {
  --intro-heading-optical-offset: -0.075em;
  --intro-stack-gap: clamp(18px, 2.4vh, 28px);
  gap: 0;
}

.panel-intro .hero-copy h1 {
  transform: translateX(var(--intro-heading-optical-offset));
}

.panel-intro .hero-copy .lead,
.panel-intro .hero-copy .actions {
  margin-top: var(--intro-stack-gap) !important;
}

.visual-card {
  display: grid;
  place-items: center;
  overflow: hidden;
  transform: none;
  background: rgba(255, 255, 255, 0.025);
}

.visual-card::before,
.visual-card::after {
  display: none;
}

.visual-card .visual-top,
.visual-card .visual-lines,
.visual-card .fact-list {
  display: none;
}

.visual-card .visual-title {
  z-index: 1;
  margin-top: 0;
  max-width: 90%;
  text-align: center;
  text-wrap: balance;
}

.music-title-only {
  align-self: start;
}

.release-card {
  grid-template-columns: clamp(72px, 6.4vw, 104px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
}

.release-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.025);
  isolation: isolate;
}

.release-cover-frame::before,
.release-cover-frame::after {
  content: none !important;
  display: none !important;
}

.release-cover {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: none !important;
  box-shadow: none !important;
}

.release-cover-empty span {
  color: #666;
  font: 12px/1 ui-monospace, monospace;
  letter-spacing: 0.08em;
}

.release-copy {
  min-width: 0;
}

.release-card .wave,
.release-card .release-index {
  display: none;
}

.detail-release-cover {
  width: min(240px, 100%);
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  margin-bottom: 18px;
  border-radius: 18px;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transform: none !important;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.profile-link {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b7b7b7;
  font-size: 11px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.profile-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.profile-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.detail-profiles .profile-links {
  margin-top: 16px;
}

.language-switcher {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  transform: translateX(-50%);
}

.language-option {
  width: 38px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  display: none !important;
  place-items: center;
  background: transparent !important;
  color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  cursor: pointer;
}

.language-option:not(.is-active) {
  display: grid !important;
}

.language-option > span[aria-hidden="true"] {
  display: none !important;
}

.language-option::before {
  content: "";
  width: 26px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.34);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.language-option[data-language="ru"]::before {
  background-image: linear-gradient(to bottom, #fff 0 33.333%, #0039a6 33.333% 66.666%, #d52b1e 66.666% 100%);
}

.language-option[data-language="en"]::before {
  background-image:
    linear-gradient(#3c3b6e, #3c3b6e),
    repeating-linear-gradient(to bottom, #b22234 0 7.692%, #fff 7.692% 15.384%);
  background-position: 0 0, 0 0;
  background-size: 45% 54%, 100% 100%;
  background-repeat: no-repeat, repeat;
}

.language-option:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.language-option:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.detail-language-switcher {
  position: fixed;
  z-index: 20;
  top: 20px;
  right: 20px;
  left: auto;
  bottom: auto;
  transform: none;
}

@media (max-width: 560px) {
  .panel-intro .hero-copy {
    --intro-heading-optical-offset: -0.06em;
  }

  .release-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .release-cover-frame {
    border-radius: 11px;
  }

  .profile-links {
    margin-top: 18px;
  }

  .language-switcher {
    bottom: 14px;
  }

  .language-option {
    width: 34px !important;
    height: 30px !important;
  }

  .language-option::before {
    width: 24px;
    height: 16px;
  }

  .detail-language-switcher {
    top: 12px;
    right: 12px;
    bottom: auto;
  }
}
