@media (max-width: 700px) {
  body.discography-page {
    margin: 0;
    background: #f8f5f1;
    color: #332b29;
    font: 16px/1.65 system-ui, sans-serif;
    -webkit-text-size-adjust: 100%;
  }

  .discography-page .discography {
    box-sizing: border-box;
    max-width: 600px;
    margin: 0 auto !important; /* The original layout sets its margins inline. */
    padding: 22px clamp(16px, 5vw, 30px) 36px;
    overflow-wrap: anywhere;
  }

  .discography > .discography-desktop-nav,
  .discography > br {
    display: none;
  }

  .discography-mobile-header {
    display: block;
    margin-bottom: 20px;
  }

  .discography-home {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin-inline: auto;
    align-items: center;
  }

  .discography-home img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .discography .discography-mobile-nav a {
    color: #332b29;
  }

  .discography-label {
    margin: 0 0 14px;
    color: #92273e;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
  }

  .discography-mobile-nav details {
    margin-bottom: 7px;
    border: 1px solid #e0d8d1;
    border-radius: 8px;
    background: #fff;
  }

  .discography-mobile-nav summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 9px 12px;
    color: #652a36;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
  }

  .discography-mobile-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 4px 8px 8px;
    list-style: none;
  }

  .discography-mobile-nav a {
    box-sizing: border-box;
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid #e0d8d1;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
  }

  .discography-mobile-nav img {
    flex: none;
    width: 32px;
    height: 36px;
    object-fit: contain;
  }

  .discography-mobile-nav a[aria-current="page"] {
    border-color: #92273e;
    background: #f7e9ed;
    font-weight: 700;
  }

  .discography :is(a, summary):focus-visible {
    outline: 2px solid #92273e;
    outline-offset: 2px;
  }

  .discography :is(.discography-title, .discography-record, .discography-tracks),
  .discography :is(.discography-title, .discography-record, .discography-tracks) > tbody,
  .discography :is(.discography-title, .discography-record, .discography-tracks) > tbody > tr,
  .discography :is(.discography-title, .discography-record, .discography-tracks) > tbody > tr > td {
    display: block;
    width: auto;
    height: auto;
  }

  .discography-title {
    margin-bottom: 10px;
  }

  .discography-title > tbody > tr:nth-child(2),
  .discography-title td[rowspan],
  .discography-tracks > tbody > tr > td:nth-child(3),
  .discography-empty {
    display: none !important;
  }

  .discography .discography-title .titledata {
    color: #302328;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.25;
  }

  .discography .discography-record > tbody > tr:first-child {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #e0d8d1;
    border-radius: 10px;
    background: #fff;
  }

  .discography-record > tbody > tr:first-child img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .discography-record > tbody > tr:first-child div > br {
    display: none;
  }

  .discography .discography-record td {
    color: #332b29;
    font-size: 15px;
    line-height: 1.65;
  }

  .discography-record p {
    margin: 0;
  }

  .discography-record td > p + p {
    margin-top: .5em;
  }

  .discography .discography-tracks-heading,
  .discography .discography-record .titledata {
    color: #652a36;
    font-size: 16px;
    font-weight: 700;
  }

  .discography-tracks-heading {
    display: block;
    margin: 0 0 6px;
  }

  .discography-tracks {
    margin-bottom: 20px;
  }

  .discography-tracks > tbody > tr {
    padding: 7px 0;
    border-bottom: 1px solid #e0d8d1;
  }

  .discography .discography-tracks td:first-child {
    font-weight: 650;
  }

  .discography .discography-tracks td:nth-child(2) {
    color: #655855;
    font-size: 14px;
  }

  .discography-record a {
    color: #92273e;
  }
}
