/* GrooveDig Batch 38C — mobile-only homepage layout refinements.
   No desktop changes, no playback JS changes. */
@media (max-width: 600px) {
  html, body { max-width: 100%; }
  .hero, .hero-inner, .hero-copy { box-sizing: border-box; min-width: 0; max-width: 100%; }
  .hero { overflow: hidden; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px 16px !important; }
  .hero-inner > * { min-width: 0; max-width: 100%; }
  .hero-copy { width: 100%; text-align: center; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(1.65rem, 7.3vw, 2.3rem) !important; line-height: 1.12 !important; overflow-wrap: anywhere; letter-spacing: -0.035em; }
  .hero-copy h1 em { overflow-wrap: anywhere; }
  .hero-sub { max-width: 100%; overflow-wrap: break-word; }
  .hero-copy .tags, .hero-copy .hero-tags, .hero .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 100%; }
  .hero-actions { width: 100%; max-width: 100%; display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .hero-actions > .btn, .hero-actions > button, .hero-actions > a { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100% !important; max-width: 100%; min-width: 0; white-space: normal !important; text-align: center; overflow-wrap: anywhere; }
  .hero .waveform { max-width: 100%; overflow: hidden; }
  /* Long live metadata must never widen its container. */
  #gd-now-playing, .gd-now-playing, .gd-now, .gd-recent, #player, #player .player-info { min-width: 0; max-width: 100%; }
  #gd-now-playing *, .gd-now-playing *, .gd-now *, #player .player-info strong, #player .player-info span { overflow-wrap: anywhere; word-break: normal; }
  /* Keep final content scrollable above the fixed bottom playback bar. */
  body { padding-bottom: calc(105px + env(safe-area-inset-bottom, 0px)); }
  .sticky-player { z-index: 100; }
  .sticky-player .sticky-inner, .sticky-player .shell { min-width: 0; max-width: 100%; }
}
@media (max-width: 380px) {
  .hero-inner { padding-inline: 12px !important; }
  .hero-copy h1 { font-size: clamp(1.48rem, 7vw, 1.9rem) !important; }
}
