/* V8.2.9 — apply the V8.2.8 album proportions to single-track pages too.
   On desktop, the left information card follows the square artwork while the
   details card takes all available space. The original mobile layout remains.
*/
@media (min-width: 1261px) {
  .main-content .lm827-single-layout {
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
  .main-content .lm827-single-layout > .lm827-single-card {
    width: 100%;
    max-width: 390px;
  }
  .main-content .lm827-single-card .lm827-single-cover {
    width: 100%;
    max-width: 340px;
    height: auto;
    aspect-ratio: 1;
  }
}

/* Keep the cover/metadata card readable at intermediate desktop widths. */
@media (min-width: 1121px) and (max-width: 1260px) {
  .main-content .lm827-single-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .main-content .lm827-single-card {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }
  .main-content .lm827-single-card .lm827-single-cover {
    width: 100%;
    max-height: none;
    aspect-ratio: 1;
  }
}

/* Match the album track-list card's alignment: no extra top margin. */
.main-content .lm827-single-layout > .lm827-single-sidebar {
  margin: 0 !important;
  align-self: start;
  width: 100%;
  min-width: 0;
}
