* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }





img, video {
            max-width: 100%;
            height: auto;
           }




  nav {
        width: 100%;
        background: rgb(31, 30, 30);
        display: flex;  /* ✅ SWITCH TO FLEX */
        align-items: center;
        padding: 0.75rem 2rem;
        position: relative;   /* safe + helps dropdown anchoring */    /* required for z-index */

        z-index: 10;          /* ✅ ensures nav + dropdown sit above hero image */
      }
  


/* ✅ Desktop Flex layout */
.nav-left,
.nav-right {
            flex: 0 0 auto;       /* ✅ only as wide as their content */
            display: flex;
            align-items: center;
            min-width: 0;
           }




.nav-left {justify-content: flex-start;}

.nav-right {justify-content: flex-end;}


 


 /* ✅ PERFECT optical centering */
/* Desktop nav links — true visual centering */
.nav-links {
            flex: 1;                 /* middle zone takes remaining space */
            display: flex;
            justify-content: center; /* centers links in the middle zone */
            align-items: center;

            list-style: none;
            gap: 2rem;
            margin: 0;               /* IMPORTANT: no auto margins */
            padding: 0;
            min-width: 0;
          }



  /* Artist name look */
  .artist-name {
                font-size: clamp(2rem, 4vw, 4rem);
                font-weight: 700;
                color: aquamarine;
                letter-spacing: 1px;
                margin: 0;
                white-space: nowrap;
               }
  


  .nav-links li { 
                  padding: 0; 
                }



  .nav-links li a {
                    position: relative;
                    text-transform: uppercase;
                    font-size: 1.5rem;
                    font-weight: 500;
                    text-decoration: none;
                    color: whitesmoke;
                    /* refined animation */
                    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.15s ease;
                    padding: 0.85rem 1rem; 
                  }
                  
  
  
.nav-links li a:hover,
.nav-links li a:focus-visible,
.nav-links li a:active {
                        color: aquamarine;
                        text-shadow: 0 0 10px aqua;
                       }

  

.nav-links li a:focus-visible {
                                outline: 2px solid aquamarine;
                                outline-offset: 4px;
                              }
                      


  
  /* Logo */
  .logo { margin: 0; display: flex; }
  .logo img {
              width: 72px;
              height: 72px;
              border-radius: 50%;
              background-color: aquamarine;
              display: block;
              object-fit: cover;
            }


  
  /* Hamburger: hidden on desktop */
  .nav-toggle {
                display: none;              /* ✅ important */
                background: transparent;
                border: 0;
                padding: 0.5rem;
                cursor: pointer;
                line-height: 0;
              }


  
  /* Hamburger lines (visible when button is visible) */
  .nav-toggle span {
                    display: block;             /* ✅ important */
                    width: 34px;
                    height: 3px;
                    margin: 6px 0;
                    background: whitesmoke;
                    transition: transform 0.5s ease, opacity 0.5s ease;  /* Animate hamburger to X */
                    transform-origin: center;
                   }
  



 

/* When menu is open */
.nav-toggle.is-active span:nth-child(1) {
                                          transform: translateY(7px) rotate(45deg);
                                        }

.nav-toggle.is-active span:nth-child(2) {
                                          opacity: 0;
                                        }

.nav-toggle.is-active span:nth-child(3) {
                                          transform: translateY(-9px) rotate(-45deg);
                                        }




                          /* THIS page-music IS THE (body class="page-music") */

/* ✅ MUSIC page only: sticky nav + page scroll */
.page-music nav{
                position: sticky;
                top: 0;
                z-index: 999;
               }

/* ✅ MUSIC page only: let the PAGE scroll (not main) */
.page-music{
            overflow-y: auto;
           }

/* ✅ MUSIC page only: stop main from being the scroller */
.page-music main {
                  overflow: visible;
                 }


                 


          /* The body starts here */

html, body {
            height: 100%;
            margin: 0;
            overflow-x: hidden;   /* prevent side white line */
           }




body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}



main {
      flex: 1 0 auto;
      min-height: 0;      /* ✅ CRITICAL for nested scrolling (card-content) */
      position: relative;
      z-index: 0;
      overflow-y: auto;     /* ✅ main scrolls */
      overflow-x: hidden;   /* ✅ no right-side gap */
     }



nav, footer {
              flex: 0 0 auto;   /* ✅ keep nav/footer at natural height */
            }



footer {
        margin-top: auto;       /* ✅ add THIS line */
        text-align: center;
        background-color: black;
        color: whitesmoke;
        padding: 0.5rem 0.5rem;
        width: 100%;
       }



.footer-content {
                display: flex;
                flex-direction: column;   /* logo on top, text below */
                align-items: center;
                justify-content: center;
                gap: 0.75rem;
                }
      

.footer-logo {
              width: 90px;              /* adjust as needed */
              height: auto;
              display: block;
             }
      

.footer-text {
              font-size: 0.9rem;
              text-align: center;
              opacity: 0.9;
             }

             



                                      /* =========================
                                                MUSIC CSS PAGE
                                        ========================= */

.music-main{
  background: #7e7e7e;
  padding: 2rem;
}


/* ✅ push the footer down */

.music-main {
              flex: 1 0 auto;
            }


.track-main{
            display: grid;

            /* controls | song | artist | right side */
            grid-template-columns:
              auto
              minmax(220px, 1fr)
              minmax(240px, 1fr)
              minmax(210px, 240px);  /* ✅ right side has a max */

            gap: 2rem;
            align-items: center;

            width: min(860px, 100%); /* ✅ pulls everything left */
            justify-self: start;      /* ✅ sits close to “Track 1)” */
          }



/* outer frame */
.tracklist{
  max-width: 1200px;
  margin: 0 auto;
  border: 6px solid #777;
  background: #666; /* matches your prototype vibe */
  padding: 1rem;
}

.tracklist-header{
  padding: 0.75rem 1rem 1rem;
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(0,0,0,0.25);
  margin-bottom: 1rem;
}

.tracklist-title{
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.tracklist-subtitle{
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* rows container */
.tracklist-table{
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}


/* one track row */
.track-row{
            display: grid;
            grid-template-columns: 120px 1fr;  /* Track # | everything else */
            gap: 0.75rem;

            align-items: center;

            background: #6b6b6b;
            border: 2px solid #2b2b2b;
            padding: 0.75rem;
          }


          .track-right{
                        display: flex;
                        flex-direction: column;
                        align-items: center;     /* centers slider + button */
                        justify-content: center;
                        gap: 0.6rem;
                      }



/* Track # cell */
.track-num{
  color: #000000;
  font-weight: 700;
  font-size: 1.5rem;
  justify-self: start;
}


/* Controls cell */
.track-controls{
                display: flex;
                align-items: center;
                gap: 2rem;        /* space between ▶ ⏸ ⏹ */
                margin-right: 1.1rem;  /* ⬅️ creates space before Song Name */
                margin-left: -1rem; /* ✅ pulls buttons closer to Track X) */
               }                      /*Negative margin is intentional and safe here*/

        
                              
            
/* Buttons */
/* === Transport buttons: Play / Pause / Stop === */
.tbtn {
      appearance: none;
      border: 2px solid aquamarine;
      background: #000;          /* ✅ black button background */
      color: aquamarine;         /* ✅ keep aquamarine icon */

      font-weight: 800;
      font-size: 1rem;

      padding: 0.45rem 0.6rem;
      cursor: pointer;
      line-height: 1;

      border-radius: 6px;

      transition:
        color 180ms ease,
        box-shadow 180ms ease,
        transform 120ms ease,
        background-color 180ms ease;
      }






:root{
      --flaco: aquamarine;
     }



/* Subtle glow on hover */
.tbtn:hover {
              background-color: rgba(127,255,212,0.10);  /* subtle greenish tint on hover */
              box-shadow: 0 0 10px rgba(127,255,212,0.6);
            }


.tbtn:active{
              transform: translateY(1px) scale(0.98);
            }





/* Keyboard focus glow (keep it strong for accessibility) */
.tbtn:focus-visible,
.download-btn:focus-visible{
                            outline: 2px solid var(--flaco);
                            outline-offset: 3px;
                            box-shadow: 0 0 14px rgba(127,255,212,0.35);
                           }

/* Optional: glow the whole row when playing */
.track-row.is-playing{
                      box-shadow:
                        0 0 0 2px rgba(127,255,212,0.40),
                        0 0 20px rgba(127,255,212,0.22);
                     }







.tbtn:active{ transform: translateY(1px); }
.tbtn:focus-visible{
                    outline: 2px solid aquamarine;
                    outline-offset: 3px;
                   }


/* Song + artist cells */
.track-song,
.track-artist {
                background: #000;              /* ✅ black background */
                border: 2px solid aquamarine;  /* ✅ aquamarine border */
                color: #fff;                   /* ✅ keep text readable */
              }


.track-song{
            font-size: 1.05rem;
            font-weight: 700;
            padding-left: 0.9rem;
           }


.track-artist{
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Download cell */

.track-download{
                width: 100%;
                display: flex;
                justify-content: center;  /* ✅ centered under slider */
               }



.track-download .download-btn{
                              width: 140px;             /* ✅ consistent button width */
                              text-align: center;
                             }



.download-btn{
              display: inline-flex;
              align-items: center;
              justify-content: center;

              border: 2px solid #145c2f;
              background: #1ecb4f;
              color: #0a0a0a;

              font-weight: 900;
              padding: 0.6rem 0.75rem;
              text-decoration: none;

              border-radius: 6px;

              /* 👇 physical button illusion */
              box-shadow: 0 4px 0 #145c2f;
              transform: translateY(0);

               transition:
                          transform 120ms cubic-bezier(.2,.8,.2,1),
                          box-shadow 120ms ease,
                          background-color 160ms ease;

              gap: 0.35rem;
            }



.download-btn:active{
                      transform: translateY(4px);
                      box-shadow: 0 0 0 #145c2f;
                    }


.download-btn:hover{
                    background: #24e060;
                   }



.download-btn:focus-visible{
                            outline: none;
                            box-shadow:
                              0 0 0 2px aquamarine,
                              0 4px 0 #145c2f;
                           }





/* Playing state */
.track-row.is-playing{
  box-shadow: 0 0 0 2px rgba(127,255,212,0.45);
}


.track-progress{
                width: 100%;
                max-width: 220px;   /* ✅ keep it compact */
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 0.35rem;
              }


.track-progress .seek{
                      width: 100%;
                      min-width: 0;       /* ✅ critical for range inside grid/flex */
                      display: block;
                     }



.track-progress .seek{ width: 100%; }




/* Chrome/Edge */
.seek::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--flaco);
  border: 2px solid #2b2b2b;
  box-shadow: 0 0 10px rgba(127,255,212,0.35);
}

/* Firefox */
.seek::-moz-range-thumb{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--flaco);
  border: 2px solid #2b2b2b;
  box-shadow: 0 0 10px rgba(127,255,212,0.35);
}



/*///////////////////////////////////////////////////////*/

:root { --flaco: aquamarine; }

/* ===== Slider base ===== */
.seek{
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;

  /* the “fill” is driven by --p (0%..100%) */
  background: linear-gradient(
    to right,
    var(--flaco) 0%,
    var(--flaco) var(--p, 0%),
    rgba(255,255,255,0.25) var(--p, 0%),
    rgba(255,255,255,0.25) 100%
  );
}

/* ===== Thumb (Chrome/Safari) ===== */
.seek::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--flaco);
  border: 2px solid #111;
  cursor: pointer;
}

/* ===== Track (Chrome/Safari) ===== */
.seek::-webkit-slider-runnable-track{
  height: 6px;
  border-radius: 999px;
  background: transparent; /* we draw it on .seek itself */
}

/* ===== Thumb (Firefox) ===== */
.seek::-moz-range-thumb{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--flaco);
  border: 2px solid #111;
  cursor: pointer;
}

/* ===== Track (Firefox) ===== */
.seek::-moz-range-track{
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
}

/* Firefox fill (optional, keeps it consistent) */
.seek::-moz-range-progress{
  height: 6px;
  border-radius: 999px;
  background: var(--flaco);
}



/*////////////////////////////////////////////////////////////*/




.seek::-moz-range-thumb{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--flaco);
  border: 2px solid #2b2b2b;
  box-shadow: 0 0 10px rgba(127,255,212,0.5);
}

/* Hover glow */
.seek:hover::-webkit-slider-thumb,
.seek:hover::-moz-range-thumb{
  box-shadow: 0 0 14px rgba(127,255,212,0.75);
}


:root { --flaco: aquamarine; }

/* Pulse animation */
@keyframes flacoPulse {
                        0%   { box-shadow: 0 0 0 rgba(127,255,212,0.0); }
                        50%  { box-shadow: 0 0 14px rgba(127,255,212,0.65); }
                        100% { box-shadow: 0 0 0 rgba(127,255,212,0.0); }
                      }

/* Apply only when the row is active AND playing */
.track-row.is-playing .seek{
                            animation: flacoPulse 1.25s ease-in-out infinite;
                           }

.track-row.is-active{
                      box-shadow: 0 0 0 2px rgba(127,255,212,0.35);
                    }





:root {
  --flaco: aquamarine;
}

/* subtle active-row highlight (pause OR play) */
.track-row.is-active {
  box-shadow: 0 0 0 2px rgba(127,255,212,0.35);
}

/* pulse ONLY while playing */
@keyframes flacoPulse {
  0%   { box-shadow: 0 0 0 rgba(127,255,212,0.0); }
  50%  { box-shadow: 0 0 14px rgba(127,255,212,0.7); }
  100% { box-shadow: 0 0 0 rgba(127,255,212,0.0); }
}

.track-row.is-playing .seek {
  animation: flacoPulse 1.25s ease-in-out infinite;
}











                                     /*  MEDIA QUERY STARTS HERE  */
                              /* ✅ Mobile / small tablet hamburger layout */


                                        /* =========================
                                                MEDIA QUERIES
                                          ========================= */

/* ✅ Mobile / small tablet hamburger layout */
@media (max-width: 870px) {

  nav {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    padding: 0.75rem 1rem;
  }

  .nav-right { 
    display: none;
  }

  .nav-left {
    grid-column: 2;
    justify-self: center;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .nav-toggle span {
    margin: 5px 0;
  }

  .artist-name {
    text-align: center;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    flex: none;
    width: 100%;

    position: absolute;
    top: 100%;
    inset-inline: 0;

    z-index: 11;
    background: rgb(31, 30, 30);
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    overflow: hidden;
    pointer-events: none;

    transition: max-height 300ms ease, opacity 220ms ease, transform 220ms ease;
    will-change: max-height, opacity, transform;

    padding: 0;
  }

  .nav-links.is-open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 0.5rem 0 0.75rem;
    pointer-events: auto;
  }

  .nav-links li {
    width: fit-content;
    list-style: none;
    padding: 0.85rem 1rem;
    margin: 0 auto;
  }

  .nav-links li a {
    display: inline-block;
    width: auto;
    padding: 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.2;
  }
} 
                       




                                        /* =========================
                                                  RESPONSIVE
                                                  MUSIC CSS
                                          ========================= */




                        /* ---------- Narrow desktop / large tablet ---------- */

@media (max-width: 1300px) {
  .music-main{
    padding: 1.5rem;
  }

  .tracklist{
    max-width: 100%;
    padding: 0.85rem;
  }

  .track-main{
    grid-template-columns:
      auto
      minmax(150px, 1fr)
      minmax(130px, 1fr)
      minmax(170px, 190px);
    gap: 0.55rem;
    width: 100%;
  }

  .track-row{
    gap: 0.6rem;
    padding: 0.7rem;
  }



  .track-controls{
    gap: 0.65rem;
    margin-left: 0;
    margin-right: 0.45rem;
  }

  .tbtn{
    padding: 0.4rem 0.5rem;
    font-size: 0.95rem;
  }

  .track-song,
  .track-artist{
    padding: 0.55rem 0.6rem;
    min-width: 0;
  }

  .track-song{
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

  .track-artist{
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

  .track-progress{
    max-width: 170px;
  }

  .track-progress .time{
    font-size: 0.8rem;
  }

  .track-download .download-btn{
    width: 110px;
    min-height: 38px;
    font-size: 0.85rem;
    padding: 0.45rem 0.55rem;
  }
}


                              /* ---------- Tablet / narrow layout ---------- */

@media (max-width: 900px) {
  .music-main{
    padding: 1rem;
  }

  .tracklist{
    max-width: 100%;
    padding: 0.75rem;
  }

  .tracklist-header{
    padding: 0.75rem;
  }

  .track-row{
    grid-template-columns: 90px 1fr;
    gap: 0.5rem;
    padding: 0.7rem;
    align-items: center;
  }

  .track-main{
    grid-template-columns:
      auto
      minmax(130px, 1fr)
      minmax(90px, 110px)
      minmax(135px, 150px);
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
  }



  .track-controls{
    margin-left: -0.6rem;
    margin-right: 0.4rem;
    gap: 0.7rem;
  }

  .tbtn{
    padding: 0.38rem 0.48rem;
    font-size: 0.9rem;
    min-width: 34px;
    min-height: 34px;
  }

  .track-song,
  .track-artist{
    min-width: 0;
    padding: 0.5rem 0.55rem;
  }

  .track-song{
    font-size: 0.82rem;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
  }

  .track-artist{
    font-size: 0.72rem;
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
  }

  .track-right{
    gap: 0.45rem;
  }

  .track-progress{
    width: 100%;
    max-width: 150px;
    min-width: 0;
  }

  .track-progress .time{
    font-size: 0.72rem;
    text-align: center;
  }

  .track-download{
    width: 100%;
  }

  .track-download .download-btn{
    width: 100px;
    min-height: 34px;
    font-size: 0.78rem;
    padding: 0.4rem 0.45rem;
  }
}




                        /* ---------- 1300px down to 651px: Track title above controls ---------- */

/* ---------- 1300px down to 651px: Track title on its own row ---------- */
@media (max-width: 1300px) and (min-width: 651px) {

 

.track-row{
            display: grid;
            grid-template-columns:
              minmax(110px, 135px)   /* controls area gets a bit more room */
              minmax(120px, 0.9fr)   /* song box slightly reduced */
              minmax(115px, 1.1fr)   /* artist box gets a bit more room */
              minmax(130px, 160px);
            grid-template-areas:
              "num num num num"
              "controls song artist right";
            gap: 0.45rem 0.9rem;     /* more horizontal spacing between columns */
            align-items: center;
            padding: 0.7rem;
          }




  /* let children of .track-main join the parent grid */
  .track-main{
    display: contents;
  }

  .track-num{
    grid-area: num;
    color: #000;            /* black title */
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.1rem 0;
    align-self: start;
  }

 

.track-controls{
                grid-area: controls;
                justify-content: flex-start;
                align-items: center;
                gap: 1rem;              /* more space between Play / Pause / Stop */
                margin: 0;
                padding-right: 0.35rem; /* extra breathing room before Song box */
                align-self: center;
               }



  .track-song{
    grid-area: song;
    min-width: 0;
  }

  .track-artist{
    grid-area: artist;
    min-width: 0;
  }


.track-song{
            max-width: 100%;
           }


.track-artist{
              max-width: 100%;
             }



  .track-right{
    grid-area: right;
    align-self: center;
    min-width: 0;
  }
}





/* ---------- 780px down to 651px: tighter narrow-tablet layout ---------- */
@media (max-width: 780px) and (min-width: 651px) {

 .track-row{
  display: grid;
  grid-template-columns:
    minmax(110px, 135px)   /* controls area gets a bit more room */
    minmax(120px, 0.9fr)   /* song box slightly reduced */
    minmax(115px, 1.1fr)   /* artist box gets a bit more room */
    minmax(130px, 160px);
  grid-template-areas:
    "num num num num"
    "controls song artist right";
  gap: 0.45rem 0.9rem;     /* more horizontal spacing between columns */
  align-items: center;
  padding: 0.7rem;
}

  .track-num{
    font-size: 1.5rem;
  }

  .track-controls{
  grid-area: controls;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;              /* more space between Play / Pause / Stop */
  margin: 0;
  padding-right: 0.35rem; /* extra breathing room before Song box */
  align-self: center;
}

  .tbtn{
    min-width: 32px;
    min-height: 32px;
    padding: 0.35rem 0.42rem;
    font-size: 0.82rem;
  }

  .track-song,
  .track-artist{
    padding: 0.45rem 0.5rem;
    min-width: 0;
  }

  .track-song{
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
  }

  .track-artist{
    font-size: 0.68rem;
    line-height: 1.1;
    white-space: normal;
    word-break: break-word;
  }

  .track-progress{
    max-width: 120px;
  }

  .track-progress .time{
    font-size: 0.66rem;
  }

  .track-download .download-btn{
    width: 90px;
    min-height: 32px;
    font-size: 0.72rem;
    padding: 0.35rem 0.4rem;
  }
}


                                          /* ---------- Phone ---------- */

@media (max-width: 650px) {
  .music-main{
    padding: 1rem;
  }

  .tracklist{
    padding: 0.75rem;
  }

  .tracklist-header{
    padding: 0.75rem;
  }

  /* each track becomes a clean stacked card */
  .track-row{
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem;
  }

  /* stack everything inside the row */
  .track-main{
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.75rem;
    justify-self: stretch;
  }

  /* track number stays at top left */
  .track-num{
    font-size: 1.5rem;
    margin-bottom: 0.1rem;
  }

  /* title first, then artist */
  .track-song,
  .track-artist{
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.75rem;
  }

  .track-song{
    order: 1;
    font-size: 1rem;
    line-height: 1.25;
    padding-left: 0.75rem;
    white-space: normal;
    word-break: break-word;
  }

  .track-artist{
    order: 2;
    font-size: 0.9rem;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
  }

  /* controls centered on their own row */
  .track-controls{
    order: 3;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    gap: 2rem;
  }

  .tbtn{
    min-width: 42px;
    min-height: 42px;
    padding: 0.5rem 0.65rem;
  }

  /* progress + download stacked nicely */
  .track-right{
    order: 4;
    width: 100%;
    align-items: stretch;
    gap: 0.75rem;
  }

  .track-progress{
    width: 100%;
    max-width: none;
    align-items: stretch;
  }

  .track-progress .time{
    text-align: center;
    font-size: 0.9rem;
  }

  .track-progress .seek{
    width: 100%;
  }

  .track-download{
    width: 100%;
    justify-content: stretch;
  }

  .track-download .download-btn{
    width: 100%;
    min-height: 44px;
  }
}


                                        /* ---------- Very small phones ---------- */

@media (max-width: 420px) {
  .music-main{
    padding: 0.75rem;
  }

  .track-row{
    padding: 0.75rem;
  }

  .track-controls{
    gap: 2rem;
  }

  .tbtn{
    min-width: 40px;
    min-height: 40px;
    font-size: 0.95rem;
  }

  .track-song{
    font-size: 0.95rem;
  }

  .track-artist{
    font-size: 0.85rem;
  }

  .track-progress .time{
    font-size: 0.85rem;
  }

}