body {
    margin: 0; background: #000; color: #eee;
    font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
    display: flex; flex-direction: column; align-items: center; justify-content: top; gap: 10px;
    user-select: none; touch-action: manipulation;
  }.
  
nav { background:#1c1c1c; padding:1rem 0; }
nav ul { list-style:none; text-align:center; }
nav ul li { display:inline; margin:0 0.2rem;}
nav ul li a { color:#fff; text-decoration:none; text-transform: uppercase; font-size:0.8rem; }
nav ul li a:hover { color:#47a; }  

div#recording_details { background:#000; padding: 0; margin: 0;}
div#recording_details a { color:#fda; text-decoration:none; text-transform: lowercase; font-size:0.7rem; }
div#recording_details a:hover { color:#07a; }
  
div#sub { padding: 0; margin: 0;}
div#sub a { color:#07a; text-decoration:none; font-size:0.7rem; }
div#sub a:hover { color:#fda; }

div#studionav { padding: 0; margin: 0;}
div#studionav a.epi { color:#07a; text-decoration:none; font-size: 1rem; }
div#studionav a.epi:hover { color:#fda; }

  h1 { margin: 0; padding: 0; font-size: 1.3em; color: #eee; }
  h2 { margin: 0; padding: 0; font-size: 1.2em;}
  h3 { margin: 5px auto 20px; font-size: 0.8em; text-align: center;}
  h5 { margin: 0 auto; font-size: 4em; text-align: center; color: #ededed;}
  
  a.bottomnav {color: #ccc; font-weight: normal; font-size: 1em; text-transform: none; text-decoration: none;}
  a.pbottom {color: #27d; font-weight: normal; text-decoration: underline;}
  a.pbottom:hover {font-weight: bold;}
  
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;  /* Forces exactly 3 equal columns */
    gap: 20px;                           /* Space between items; adjust as needed */
    justify-items: center;               /* Centers each item within its column */
    max-width: 1200px;                   /* Optional: Limit total width for larger screens */
    margin: 0 auto;                      /* Centers the entire grid on the page */
    padding: 20px;                       /* Optional symmetric padding */
}

.product {
    width: 100%;                         /* Ensures item fills its grid cell */
    text-align: center;                  /* Centers image/text inside the item */
	 border-radius:25px;
}

.product img {
    max-width: 100%;                     /* Makes images responsive within their column */
    height: auto;
    display: block;
    margin: 0 auto;                      /* Extra centering for the image itself */
}

.product:hover { transform:translateY(-8px); }

.product h3 { padding:0.5rem; font-size:1rem; min-height:20px; }


  .controls {
    display: flex; gap: 5px; flex-wrap: wrap; justify-content: center;
  }

  /* Text button (Track 1) */
  .text-btn {
    padding: 0px; font-size: 10px; background: transparent;
    border: 0px;
    cursor: pointer; transition: all 0.3s;
  }
  .text-btn:hover, .text-btn.active { color: #eee; transform: scale(1.02); }

  /* Image1 buttons */
  .img-btn {
    width: 60px; height: 100px;
    background-size: cover; background-position: center;
    cursor: pointer;
    transition: all 0.35s ease;
  }
  .img-btn:hover { transform: scale(1.01); }

  /* Active = lit image + glowing border */
  .img-btn.active {
    transform: scale(1.05);
  }
  
  /* Image2 buttons */
  .img2-btn {
    width: 69px; height: 80px; margin-left: 4px;
    background-size: cover; background-position: center;
    cursor: pointer;
    transition: all 0.35s ease;
  }
  .img2-btn:hover { transform: scale(1.01); }

  /* Active = lit image + glowing border */
  .img2-btn.active {
    transform: scale(1.05);
  }  
  

  .volume-control {color: #ddd;
    display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 10px; margin: 10px 0 0;
    background: #444; border: 1px solid #676; border-radius: 5px;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
  }
  label { font-size: 16px; }
  input[type="range"] {
    -webkit-appearance: none; width: 160px; height: 8px;
    background: #333; border-radius: 4px;
    background: linear-gradient(to right, #aaa 0%, #aaa var(--value,100%), #333 var(--value,100%), #333 100%);
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px;
    background: #aaa; border-radius: 50%; box-shadow: 0 0 25px #aaa;
  }
  #volumeValue { min-width: 50px; font-size: 10px; }
  .status { margin: 10px 0; font-size: 12px; opacity: 1; font-style: italic; text-align: center; letter-spacing: 1.8px; text-transform: uppercase;}

footer { background:#000; color:#888; text-align:center; padding:1rem 0 3rem; margin-top:2rem; font-size:0.7rem; font-variant: small-caps; }    
  .footer a {color: #ccc;}
  
  /* Recording Details Popup – Tonehall style */
.recording-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}
.recording-popup:target {
    display: flex;
}
.recording-content {
    background: #111;
    border: 2px solid #aaa;
    padding: 30px 40px;
    max-width: 600px;
    width: 90%;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 30px rgba(175,50,50,0.4);
    color: #eee;
    font-family: 'Courier New', monospace;
}
.recording-content h3 {
    margin-top: 0;
	font-size: 1.2em;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 8px rgba(50,50,175,0.6);
}
.close-popup {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 32px;
    color: #b2202a;
    text-decoration: none;
    font-weight: bold;
}
.close-popup:hover { color: #fff; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

.blink_me {
animation: blinker 0.2s linear infinite;
color: #fff;
}

@keyframes blinker {
50% {
opacity: 60%;
}
}