/* Mobile link styling for MMORBIT: accessible tap targets without generic oversized buttons. */
@media (max-width: 600px) {
  header nav a,
  .nav-listen,
  .platform-bar a,
  .text-link,
  .player-wrap > a,
  footer > div a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(204, 0, 38, .16);
  }

  header nav {
    gap: 14px;
  }

  header nav a {
    padding: 9px 0;
    justify-content: center;
    position: relative;
  }

  header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 1px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(.6);
    transition: opacity .2s ease, transform .2s ease;
  }

  header nav a:active::after,
  header nav a:focus-visible::after {
    opacity: .7;
    transform: scaleX(1);
  }

  .nav-listen {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--red);
    font-weight: 600;
  }

  .platform-bar {
    gap: 8px 22px;
    align-items: flex-start;
  }

  .platform-bar a {
    min-height: 44px;
    padding: 10px 0 8px;
    border: 0;
    border-bottom: 1px solid #444;
    font-weight: 600;
    letter-spacing: .01em;
  }

  .actions {
    align-items: flex-start;
    gap: 10px 20px;
  }

  .actions .button,
  .connect-actions .button,
  .world-copy .button,
  .merch-copy .button {
    width: auto;
    min-height: 48px;
    justify-content: center;
    padding: 13px 18px;
  }

  .actions .text-link,
  .listen-copy .text-link,
  .artist-copy .text-link {
    width: auto;
    min-height: 44px;
    padding: 10px 0 7px;
    border: 0;
    border-bottom: 1px solid currentColor;
    font-weight: 600;
  }

  .connect {
    padding-bottom: 66px;
  }

  .connect-actions {
    width: 100%;
    max-width: none;
  }

  .connect-actions .button {
    margin-top: 6px;
  }

  .player-wrap > a {
    min-height: 44px;
    padding: 10px 0 4px;
    justify-content: flex-start;
    text-align: left;
    text-decoration: none;
    border-bottom: 1px solid #777;
    width: fit-content;
  }

  footer {
    padding-bottom: max(46px, env(safe-area-inset-bottom));
  }

  footer > .wordmark {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  footer > div {
    gap: 2px 20px;
  }

  footer > div a {
    min-height: 44px;
    padding: 10px 0 7px;
    border: 0;
    border-bottom: 1px solid #303030;
    width: fit-content;
  }

  .button,
  .filters button,
  .record-play,
  .record-room button {
    min-height: 44px;
  }
}
