
/* Music page — aligned with the About and Projects page rhythm */
.music-page { padding-top:0; background:#e4e4e4; color:#111; }
.music-hero {
  min-height:clamp(340px,38vw,500px);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,.78fr);
  align-items:center;
  gap:clamp(18px,3vw,48px);
  padding-top:150px;
  padding-bottom:70px;
  overflow:hidden;
  isolation:isolate;
}
.music-hero-copy { position:relative; z-index:2; max-width:700px; }
.music-hero-copy .page-title { margin:24px 0 18px; }
.music-hero-copy .page-lead { max-width:650px; }
.music-hero-art {
  position:relative; min-width:0; min-height:330px;
  display:flex; align-items:center; justify-content:center;
  margin:0 -12px 0 0; isolation:isolate;
}
.music-cover-glow {
  position:absolute; width:78%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle,rgba(117,197,222,.3),rgba(117,197,222,0) 68%);
  filter:blur(26px); z-index:-1;
}
.music-feature-cover {
  display:block; width:min(100%,390px); aspect-ratio:1;
  object-fit:cover; border-radius:13px;
  box-shadow:0 24px 55px rgba(0,0,0,.2),0 0 0 1px rgba(255,255,255,.35);
  transform:rotate(1.2deg);
  transition:transform .55s cubic-bezier(.2,.75,.25,1),box-shadow .4s ease;
}
.music-hero-art:hover .music-feature-cover {
  transform:rotate(0) translateY(-5px) scale(1.015);
  box-shadow:0 30px 65px rgba(0,0,0,.24),0 0 0 1px rgba(255,255,255,.55);
}

/* Playlist section */
.music-section { padding:clamp(64px,7vw,96px) 0 clamp(76px,9vw,120px); }
.music-section .section-head { margin-bottom:30px; }
.music-section .section-head h2 { font-size:clamp(38px,7vw,84px); }
.music-section .section-head p {
  color:#9298a1; font-size:10px; letter-spacing:.16em; text-transform:uppercase;
}
.music-layout {
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);
  gap:clamp(28px,4vw,58px); align-items:start;
}
/* Remove both large outer cards/containers */
.music-player {
  position:relative; min-height:580px; overflow:hidden;
  border:0; border-radius:0; background:transparent;
  padding:0; display:flex; flex-direction:column; justify-content:space-between;
}
.music-player:before { display:none; }
.player-top,.player-bottom { position:relative; z-index:2; }
.player-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.music-pill {
  display:inline-flex; align-items:center; gap:8px; padding:8px 11px;
  border:1px solid rgba(255,255,255,.12); border-radius:99px;
  color:#aeb5bf; font-size:9px; letter-spacing:.12em; text-transform:uppercase;
}
.music-pill:before {
  content:""; width:6px; height:6px; border-radius:50%;
  background:#75c5de; box-shadow:0 0 12px #75c5de;
}
.music-index { font-size:10px; color:#737b85; letter-spacing:.12em; }
.record-stage { position:relative; z-index:1; display:grid; place-items:center; min-height:310px; }
.record-shadow {
  position:absolute; width:min(66%,390px); aspect-ratio:1; border-radius:50%;
  background:#000; filter:blur(28px); opacity:.6; transform:translate(10px,20px);
}
.record {
  position:relative; width:min(67%,340px); aspect-ratio:1; border-radius:50%;
  background:repeating-radial-gradient(circle at center,#101215 0 2px,#202328 2.5px 3px,#0b0d10 3.5px 5px);
  box-shadow:0 22px 70px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.12);
  animation:recordSpin 7s linear infinite paused;
}
.music-player.is-playing .record { animation-play-state:running; }
.record:before {
  content:""; position:absolute; inset:12%; border:1px solid rgba(255,255,255,.1);
  border-radius:50%; box-shadow:0 0 0 1px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.05);
}
.record-label {
  position:absolute; inset:34%; border-radius:50%;
  background:radial-gradient(circle at 35% 28%,#d8f4fa,#75c5de 42%,#276b80 100%);
  display:grid; place-items:center; color:#071014; box-shadow:0 0 25px rgba(117,197,222,.25);
}
.record-label:after {
  content:""; width:7px; height:7px; border-radius:50%; background:#0a1115;
  box-shadow:0 0 0 4px rgba(255,255,255,.35);
}
.record-label span { position:absolute; top:23%; font-size:clamp(7px,.8vw,10px); font-weight:800; letter-spacing:.13em; }
.record-label small { position:absolute; bottom:22%; font-size:7px; letter-spacing:.14em; }
.record-arm {
  position:absolute; right:12%; top:11%; width:28%; height:40%;
  transform:rotate(16deg); transform-origin:82% 8%; pointer-events:none;
}
.record-arm:before {
  content:""; position:absolute; right:8%; top:0; width:34px; height:34px;
  border-radius:50%; background:linear-gradient(145deg,#bfc5ca,#353a40); box-shadow:0 4px 12px #000;
}
.record-arm:after {
  content:""; position:absolute; right:18%; top:22px; width:5px; height:83%;
  border-radius:9px; background:linear-gradient(90deg,#777,#e2e5e7,#555);
  transform:rotate(-9deg); transform-origin:top;
}
.record-arm i {
  position:absolute; right:2%; bottom:2%; width:20px; height:12px;
  border-radius:3px; background:#75c5de; transform:rotate(-10deg);
}
@keyframes recordSpin { to { transform:rotate(360deg); } }
.track-meta {
  display:flex; justify-content:space-between; align-items:end; gap:20px;
  margin:4px 0 22px;
}
.track-meta h2 { font-size:clamp(28px,4vw,44px); letter-spacing:-.07em; font-weight:500; margin:0 0 6px; }
.track-meta p { margin:0; color:#8c939c; font-size:13px; }
.track-meta .track-number { font-size:10px; color:#75c5de; letter-spacing:.15em; }
.progress-wrap {
  display:grid; grid-template-columns:42px 1fr 42px; gap:12px;
  align-items:center; color:#8c939c; font-size:10px; font-variant-numeric:tabular-nums;
}
.progress-range {
  appearance:none; width:100%; height:3px; border-radius:9px;
  background:linear-gradient(90deg,#75c5de 0%,#75c5de var(--progress,0%),rgba(255,255,255,.16) var(--progress,0%),rgba(255,255,255,.16) 100%);
  outline:none; cursor:pointer;
}
.progress-range::-webkit-slider-thumb {
  appearance:none; width:11px; height:11px; border-radius:50%;
  background:#f4f1e8; border:2px solid #75c5de; box-shadow:0 0 0 4px rgba(117,197,222,.12);
}
.progress-range::-moz-range-thumb { width:9px; height:9px; border-radius:50%; background:#f4f1e8; border:2px solid #75c5de; }
.player-controls { display:flex; justify-content:center; align-items:center; gap:24px; margin-top:22px; }
.player-controls button {
  border:0; background:transparent; color:#9ba2ac; width:42px; height:42px;
  border-radius:50%; display:grid; place-items:center; cursor:pointer;
  transition:color .2s,background .2s,transform .2s;
}
.player-controls button:hover { color:#fff; background:rgba(255,255,255,.08); transform:scale(1.08); }
.player-controls button svg {
  width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round;
}
.player-controls .play-toggle { width:58px; height:58px; background:#75c5de; color:#08090b; }
.player-controls .play-toggle:hover { background:#a4e5f6; color:#08090b; }
.player-controls .play-toggle svg { width:23px; height:23px; fill:currentColor; stroke:none; }
.visualizer { display:flex; align-items:center; gap:4px; height:18px; }
.visualizer i { display:block; width:3px; height:5px; border-radius:4px; background:#75c5de; opacity:.65; }
.music-player.is-playing .visualizer i { animation:meter .7s ease-in-out infinite alternate; }
.visualizer i:nth-child(2n) { animation-delay:-.4s; }
.visualizer i:nth-child(3n) { animation-delay:-.2s; }
@keyframes meter { to { height:17px; opacity:1; } }

/* Tracklist without a second panel; larger square artwork and tighter rhythm */
.playlist {
  border:0; border-radius:0; background:transparent; padding:0;
  display:flex; flex-direction:column; min-height:580px;
}
.playlist-head {
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:0 0 18px; border-bottom:1px solid rgba(255,255,255,.12);
}
.playlist-head h2 { font-size:18px; letter-spacing:.12em; font-weight:600; margin:0; }
.playlist-head span { font-size:9px; letter-spacing:.14em; color:#7f8791; text-transform:uppercase; }
.playlist-list { display:grid; gap:2px; padding-top:9px; }
.track-row {
  width:100%; display:grid; grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center; gap:15px; padding:8px 5px;
  border:1px solid transparent; border-radius:9px;
  background:transparent; color:#f4f1e8; text-align:left; cursor:pointer;
  transition:background .22s,border-color .22s,transform .22s;
}
.track-row:hover { background:rgba(255,255,255,.045); transform:translateX(3px); }
.track-row[aria-current="true"] { background:rgba(117,197,222,.09); border-color:rgba(117,197,222,.22); }
.track-art {
  width:58px; height:58px; aspect-ratio:1; border-radius:8px;
  display:grid; place-items:center; color:#071014; font-size:14px; font-weight:800;
  overflow:hidden;
}
.track-row:nth-child(1) .track-art { background:linear-gradient(145deg,#75c5de,#233d4a); }
.track-row:nth-child(2) .track-art { background:linear-gradient(145deg,#c1b5e8,#51436f); }
.track-row:nth-child(3) .track-art { background:linear-gradient(145deg,#d4a47e,#5d342b); }
.track-row:nth-child(4) .track-art { background:linear-gradient(145deg,#9ac6a8,#2e5140); }
.track-row:nth-child(5) .track-art { background:linear-gradient(145deg,#d8d9dc,#565d68); }
.track-row:nth-child(6) .track-art { background:linear-gradient(145deg,#e3c27c,#67512d); }
.track-name { display:block; font-size:15px; font-weight:600; letter-spacing:-.02em; }
.track-artist { display:block; margin-top:4px; font-size:12px; color:#929aa5; }
.track-duration { font-size:11px; color:#87909b; font-variant-numeric:tabular-nums; }
.track-row[aria-current="true"] .track-name { color:#8cdef3; }
.playlist-foot {
  margin-top:auto; padding-top:18px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; justify-content:space-between; gap:15px;
  color:#727b85; font-size:10px; line-height:1.5;
}
.playlist-foot strong { color:#b9c0c8; font-weight:500; }
.music-note { margin-top:20px; color:#747c86; font-size:10px; line-height:1.6; }

@media(max-width:900px) {
  .music-layout { grid-template-columns:1fr; gap:48px; }
  .music-player { min-height:540px; }
  .playlist { min-height:0; }
  .playlist-foot { margin-top:26px; }
}
@media(max-width:760px) {
  .music-hero {
    grid-template-columns:minmax(0,1fr) minmax(130px,.58fr);
    gap:0; min-height:390px; padding-top:130px; padding-bottom:45px;
  }
  .music-hero-art { min-height:300px; margin:0 -25px 0 -45px; }
  .music-feature-cover { width:100%; border-radius:10px; }
  .music-hero-copy .page-title { font-size:clamp(42px,9vw,62px); }
  .music-hero-copy .page-lead { font-size:clamp(15px,2.2vw,20px); }
}
@media(max-width:520px) {
  .music-hero {
    grid-template-columns:minmax(0,1fr) 108px; min-height:330px;
    padding-top:112px; padding-bottom:34px;
  }
  .music-hero-art { min-height:190px; margin:0 -18px 0 -38px; }
  .music-feature-cover { width:145px; max-width:none; border-radius:8px; }
  .music-hero-copy .page-title { font-size:clamp(36px,9vw,48px); margin:18px 0; }
  .music-hero-copy .page-lead { font-size:13px; line-height:1.5; }
  .music-section { padding:58px 0 72px; }
  .music-section .section-head { display:block; }
  .music-section .section-head p { margin-top:14px; }
  .music-player { min-height:500px; }
  .record-stage { min-height:255px; }
  .record { width:min(74%,270px); }
  .record-arm { right:9%; top:12%; }
  .track-meta { margin-bottom:18px; }
  .track-meta h2 { font-size:28px; }
  .player-controls { gap:12px; }
  .track-row { grid-template-columns:52px minmax(0,1fr) auto; gap:12px; padding:7px 2px; }
  .track-art { width:52px; height:52px; }
  .track-name { font-size:14px; }
  .track-artist { font-size:11px; }
  .playlist { min-height:0; }
  .playlist { padding:0; }
}
@media(prefers-reduced-motion:reduce) {
  .music-feature-cover,.record,.music-player.is-playing .visualizer i { animation:none!important; transition:none!important; }
}


/* --- Music player: compact streaming-bar layout --- */
.music-hero {
  padding-top:150px; /* same top rhythm as Projects */
  min-height:clamp(340px,38vw,500px);
}
.music-hero-art {
  min-height:340px; display:flex; align-items:center; justify-content:center;
}
.music-feature-cover {
  display:block; width:min(100%,390px); aspect-ratio:1/1; object-fit:cover;
  border-radius:12px; box-shadow:0 24px 55px rgba(0,0,0,.22);
}
.music-cover-glow {
  position:absolute; width:80%; aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle,rgba(117,197,222,.28),transparent 68%);
  filter:blur(28px); z-index:-1;
}
.music-layout {
  display:grid; grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);
  gap:clamp(24px,3vw,42px); align-items:stretch;
}
.music-player {
  min-width:0; min-height:170px; padding:0; border:0; border-radius:0;
  background:transparent; display:flex; align-items:center; gap:16px;
  overflow:visible;
}
.music-player:before { display:none; }
.inline-player-art { width:76px; height:76px; flex:0 0 76px; }
.inline-player-art img {
  display:block; width:100%; height:100%; object-fit:cover;
  border-radius:9px; box-shadow:0 5px 18px rgba(0,0,0,.3);
}
.inline-player-main { min-width:0; flex:1; display:flex; flex-direction:column; gap:20px; }
.inline-track-info {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; min-width:0;
}
.track-meta { min-width:0; margin:0; display:block; }
.track-meta .track-number { display:none; }
.track-meta h2 {
  margin:0 0 5px; font-size:clamp(14px,1.3vw,17px);
  line-height:1.25; letter-spacing:-.035em; font-weight:650;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.track-meta p { margin:0; font-size:13px; color:#8e969f; }
.inline-player-controls {
  flex:0 0 auto; display:flex; align-items:center; gap:10px;
}
.inline-player-controls button {
  width:34px; height:34px; border:0; border-radius:50%;
  display:grid; place-items:center; background:transparent;
  color:#aeb5bd; cursor:pointer; transition:background .2s,color .2s,transform .2s;
}
.inline-player-controls button:hover {
  background:rgba(255,255,255,.09); color:#fff; transform:scale(1.06);
}
.inline-player-controls svg {
  width:19px; height:19px; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.inline-player-controls .play-toggle {
  width:44px; height:44px; background:#fff; color:#111;
}
.inline-player-controls .play-toggle:hover { background:#e7e7e7; color:#111; }
.inline-player-controls .play-toggle svg { width:18px; height:18px; fill:currentColor; stroke:none; }
.inline-progress {
  display:grid; grid-template-columns:34px minmax(50px,1fr) 34px;
  gap:9px; align-items:center; color:#858d97; font-size:10px;
  font-variant-numeric:tabular-nums;
}
.progress-range {
  appearance:none; width:100%; height:3px; border-radius:8px;
  background:linear-gradient(90deg,#fff 0%,#fff var(--progress,0%),rgba(255,255,255,.2) var(--progress,0%),rgba(255,255,255,.2) 100%);
  outline:none; cursor:pointer;
}
.progress-range::-webkit-slider-thumb {
  appearance:none; width:10px; height:10px; border-radius:50%;
  background:#fff; border:0; box-shadow:0 0 0 3px rgba(255,255,255,.12);
}
.progress-range::-moz-range-thumb { width:10px; height:10px; border-radius:50%; background:#fff; border:0; }
.music-divider { width:1px; min-height:100%; background:rgba(255,255,255,.13); }
.playlist {
  min-width:0; min-height:0; padding:0; border:0; border-radius:0;
  background:transparent; display:flex; flex-direction:column;
}
.playlist-head {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:0 0 16px; border-bottom:1px solid rgba(255,255,255,.12);
}
.playlist-head h2 { margin:0; font-size:18px; letter-spacing:.1em; font-weight:650; }
.playlist-head span { color:#7f8791; font-size:9px; letter-spacing:.14em; }
.playlist-list { display:grid; gap:2px; padding-top:9px; }
.track-row {
  width:100%; min-width:0; display:grid;
  grid-template-columns:58px minmax(0,1fr) auto; align-items:center;
  gap:13px; padding:6px 5px; border:1px solid transparent;
  border-radius:8px; background:transparent; color:#f4f1e8;
  text-align:left; cursor:pointer; transition:background .2s,border-color .2s,transform .2s;
}
.track-row:hover { background:rgba(255,255,255,.045); transform:translateX(2px); }
.track-row[aria-current="true"] {
  background:rgba(117,197,222,.09); border-color:rgba(117,197,222,.2);
}
.track-art {
  display:block; width:58px; height:58px; aspect-ratio:1/1;
  object-fit:cover; border-radius:7px; overflow:hidden;
  color:#081015; font-size:13px; font-weight:750;
  text-align:center; line-height:58px;
}
.track-art-02 { background:linear-gradient(145deg,#c1b5e8,#51436f); }
.track-art-03 { background:linear-gradient(145deg,#d4a47e,#5d342b); }
.track-art-04 { background:linear-gradient(145deg,#9ac6a8,#2e5140); }
.track-art-05 { background:linear-gradient(145deg,#d8d9dc,#565d68); }
.track-art-06 { background:linear-gradient(145deg,#e3c27c,#67512d); }
.track-copy { min-width:0; display:block; }
.track-name {
  display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:15px; font-weight:650; letter-spacing:-.02em;
}
.track-artist { display:block; margin-top:4px; font-size:12px; color:#8e969f; }
.track-duration { color:#87909b; font-size:10px; font-variant-numeric:tabular-nums; }
.track-row[aria-current="true"] .track-name { color:#8cdef3; }
.music-note { display:none !important; }
@media(max-width:900px) {
  .music-layout { grid-template-columns:1fr; gap:24px; }
  .music-player { min-height:130px; padding-bottom:20px; }
  .music-divider { width:100%; height:1px; min-height:1px; }
  .playlist { padding-top:2px; }
}
@media(max-width:600px) {
  .music-hero { padding-top:150px; grid-template-columns:minmax(0,1fr) 120px; gap:8px; }
  .music-hero-art { min-height:190px; margin:0 -12px 0 -25px; }
  .music-feature-cover { width:120px; border-radius:8px; }
  .music-player { align-items:flex-start; gap:12px; min-height:112px; }
  .inline-player-art { width:58px; height:58px; flex-basis:58px; }
  .inline-player-main { gap:15px; }
  .inline-track-info { align-items:flex-start; flex-direction:column; gap:10px; }
  .inline-player-controls { gap:8px; }
  .inline-player-controls button { width:30px; height:30px; }
  .inline-player-controls .play-toggle { width:38px; height:38px; }
  .track-row { grid-template-columns:52px minmax(0,1fr) auto; gap:10px; padding:5px 2px; }
  .track-art { width:52px; height:52px; line-height:52px; }
  .track-name { font-size:14px; }
  .track-artist { font-size:11px; }
}

/* Music hero uses the same page rhythm and grid proportions as Projects. */
.music-page .music-hero {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);
  align-items:center;
  gap:clamp(12px,3vw,48px);
  min-height:clamp(340px,38vw,500px);
  padding:150px 0 80px;
  overflow:visible;
  isolation:isolate;
}
.music-page .music-hero-copy { position:relative; z-index:2; max-width:660px; }
.music-page .music-hero-copy .page-title { margin-bottom:18px; }
.music-page .music-hero-art {
  position:relative; z-index:1; align-self:stretch;
  display:flex; align-items:flex-end; justify-content:center;
  min-width:0; min-height:0; margin:0 -12px -28px 0;
  pointer-events:none; isolation:isolate;
}
.music-character-glow {
  position:absolute; width:75%; aspect-ratio:1; right:8%; bottom:8%;
  border-radius:50%; background:radial-gradient(circle,rgba(38,132,255,.16),rgba(38,132,255,0) 68%);
  filter:blur(18px); z-index:-1;
}
.music-character {
  display:block; width:min(100%,470px);
  max-height:clamp(350px,43vw,540px); height:auto;
  object-fit:contain; object-position:center bottom;
  filter:drop-shadow(0 22px 35px rgba(0,0,0,.16));
  animation:projectsCharacterIn .9s cubic-bezier(.2,.75,.25,1) both;
}
@media(max-width:760px) {
  .music-page .music-hero { grid-template-columns:minmax(0,1fr) minmax(130px,.58fr); gap:0; min-height:clamp(290px,62vw,390px); }
  .music-page .music-hero-art { margin:0 -16px -18px -44px; }
  .music-character { width:100%; max-height:360px; }
  .music-page .music-hero-copy .page-title { font-size:clamp(38px,8vw,58px); }
  .music-page .music-hero-copy .page-lead { max-width:360px; }
}
@media(max-width:520px) {
  .music-page .music-hero { grid-template-columns:minmax(0,1fr) 112px; min-height:270px; }
  .music-page .music-hero-art { margin:0 -20px -10px -55px; }
  .music-character { max-height:285px; }
  .music-page .music-hero-copy .page-title { font-size:clamp(34px,9vw,46px); }
  .music-page .music-hero-copy .page-lead { font-size:13px; line-height:1.55; }
}

/* Full-size selected-track player, modeled on the supplied square-cover reference. */
.music-layout {
  display:grid; grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);
  gap:clamp(28px,4vw,54px); align-items:stretch;
}
.music-player {
  min-width:0; min-height:0; padding:0 0 4px;
  border:0; border-radius:0; background:transparent;
  display:flex; flex-direction:column; align-items:center;
  justify-content:flex-start; overflow:visible;
}
.music-player:before { display:none; }
.player-cover-wrap {
  position:relative; width:min(100%,400px); aspect-ratio:1/1;
  margin:0 auto 24px; border-radius:12px; overflow:hidden;
  background:linear-gradient(145deg,#414141,#292929);
  box-shadow:0 14px 35px rgba(0,0,0,.28);
}
.player-cover {
  display:block; width:100%; height:100%; object-fit:cover;
}
.player-cover[hidden] { display:none; }
.player-cover-empty {
  width:100%; height:100%; display:grid; place-items:center;
  color:rgba(255,255,255,.3); font-size:82px; font-weight:300;
  background:radial-gradient(circle at 50% 40%,#555 0,#373737 45%,#292929 100%);
}
.player-cover-empty[hidden] { display:none; }
.player-track-info { width:min(100%,400px); text-align:center; margin:0 auto 22px; }
.player-track-info .track-number {
  margin-bottom:8px; color:#a4a4a4; font-size:10px;
  letter-spacing:.13em; text-transform:uppercase;
}
.player-track-info h2 {
  margin:0 0 5px; color:#f2f2f2; font-size:17px;
  line-height:1.25; font-weight:700; letter-spacing:-.025em;
}
.player-track-info p { min-height:18px; margin:0; color:#999; font-size:14px; font-weight:600; }
.player-progress { width:min(100%,400px); margin:0 auto; }
.player-progress .progress-range {
  display:block; width:100%; margin:0 0 12px; height:4px;
  appearance:none; border:0; border-radius:99px; outline:none;
  background:linear-gradient(90deg,#f0f0f0 0%,#f0f0f0 var(--progress,0%),#555 var(--progress,0%),#555 100%);
  cursor:pointer;
}
.player-progress .progress-range:disabled { cursor:default; opacity:.9; }
.player-progress .progress-range::-webkit-slider-thumb {
  appearance:none; width:12px; height:12px; border-radius:50%;
  background:#eee; border:0; box-shadow:0 0 0 1px rgba(0,0,0,.15);
}
.player-progress .progress-range::-moz-range-thumb {
  width:12px; height:12px; border:0; border-radius:50%; background:#eee;
}
.progress-times {
  display:flex; justify-content:space-between; color:#a0a0a0;
  font-size:12px; font-weight:650; font-variant-numeric:tabular-nums;
}
.player-controls {
  width:min(100%,400px); display:flex; justify-content:center;
  align-items:center; gap:26px; margin:26px auto 0;
}
.player-controls button {
  width:36px; height:36px; border:0; border-radius:50%;
  background:transparent; color:#a8a8a8; display:grid; place-items:center;
  cursor:pointer; transition:color .2s,background .2s,transform .2s;
}
.player-controls button:hover:not(:disabled) {
  color:#fff; background:rgba(255,255,255,.1); transform:scale(1.06);
}
.player-controls button:disabled { opacity:.32; cursor:default; }
.player-controls svg {
  width:21px; height:21px; fill:none; stroke:currentColor;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}
.player-controls .play-toggle {
  width:48px; height:48px; background:#fff; color:#111;
}
.player-controls .play-toggle:hover:not(:disabled) { background:#e8e8e8; color:#111; }
.player-controls .play-toggle svg { width:19px; height:19px; fill:currentColor; stroke:none; }
.music-divider { width:1px; min-height:100%; background:rgba(255,255,255,.14); }

/* Tracklist: square covers and a neutral liquid-glass selected state. */
.playlist {
  min-width:0; padding:0; border:0; border-radius:0; background:transparent;
  display:flex; flex-direction:column;
}
.playlist-head {
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:0 0 18px; border-bottom:1px solid rgba(255,255,255,.13);
}
.playlist-head h2 { margin:0; font-size:18px; letter-spacing:.1em; font-weight:650; }
.playlist-head span { color:#8b8b8b; font-size:9px; letter-spacing:.13em; }
.playlist-list { display:grid; gap:3px; padding-top:10px; }
.track-row {
  display:grid; grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center; gap:14px; width:100%; min-width:0;
  padding:7px 8px; border:1px solid transparent; border-radius:10px;
  background:transparent; color:#f3f3f3; text-align:left; cursor:pointer;
  transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.track-row:hover { background:rgba(255,255,255,.055); transform:translateX(2px); }
.track-row[aria-current="true"] {
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
  border-color:rgba(255,255,255,.17);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 8px 22px rgba(0,0,0,.12);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
}
.track-art {
  display:block; width:58px; height:58px; aspect-ratio:1/1;
  border-radius:7px; object-fit:cover; overflow:hidden;
  line-height:58px; text-align:center; font-size:13px; font-weight:750;
}
.track-art-02 { background:linear-gradient(145deg,#c1b5e8,#51436f); }
.track-art-03 { background:linear-gradient(145deg,#d4a47e,#5d342b); }
.track-art-04 { background:linear-gradient(145deg,#9ac6a8,#2e5140); }
.track-art-05 { background:linear-gradient(145deg,#d8d9dc,#565d68); }
.track-art-06 { background:linear-gradient(145deg,#e3c27c,#67512d); }
.track-copy { display:block; min-width:0; }
.track-name {
  display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
  font-size:15px; font-weight:650; letter-spacing:-.02em;
}
.track-artist { display:block; margin-top:4px; color:#a0a0a0; font-size:12px; }
.track-duration { color:#9a9a9a; font-size:11px; font-variant-numeric:tabular-nums; }
.track-row[aria-current="true"] .track-name { color:#fff; }
@media(max-width:900px) {
  .music-layout { grid-template-columns:1fr; gap:28px; }
  .music-divider { width:100%; height:1px; min-height:1px; }
  .music-player { width:min(100%,520px); margin-inline:auto; }
  .player-cover-wrap { width:min(100%,400px); }
}
@media(max-width:560px) {
  .player-cover-wrap { width:min(100%,calc(100vw - 64px)); }
  .player-track-info,.player-progress,.player-controls { width:min(100%,calc(100vw - 64px)); }
  .track-row { grid-template-columns:52px minmax(0,1fr) auto; gap:11px; padding:6px 5px; }
  .track-art { width:52px; height:52px; line-height:52px; }
  .track-name { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .music-character { animation:none; } }

/* Persistent compact player dock. Its surface color is track-driven. */
.music-dock {
  --dock-bg:#303030;
  position:fixed; z-index:50; left:12px; right:12px; bottom:12px;
  min-height:78px; display:grid;
  grid-template-columns:minmax(180px,1fr) auto minmax(160px,1fr);
  align-items:center; gap:24px; padding:9px 18px;
  color:#f7f7f7; background:color-mix(in srgb,var(--dock-bg) 94%,#000 6%);
  border:1px solid rgba(255,255,255,.12); border-radius:14px;
  box-shadow:0 12px 38px rgba(0,0,0,.34);
  backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
  transition:background .35s ease;
}
.dock-track { min-width:0; display:flex; align-items:center; gap:11px; }
.dock-track img,.dock-cover-empty {
  width:58px; height:58px; flex:0 0 58px; object-fit:cover; border-radius:7px;
}
.dock-track img[hidden],.dock-cover-empty[hidden] { display:none; }
.dock-cover-empty {
  display:grid; place-items:center; background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.65); font-size:26px;
}
.dock-copy { display:flex; min-width:0; flex-direction:column; gap:4px; }
.dock-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:650; }
.dock-copy small { color:rgba(255,255,255,.62); font-size:11px; }
.dock-controls { display:flex; align-items:center; justify-content:center; gap:16px; }
.dock-controls button {
  width:34px; height:34px; display:grid; place-items:center;
  border:0; border-radius:50%; color:rgba(255,255,255,.72);
  background:transparent; cursor:pointer; transition:background .2s,color .2s;
}
.dock-controls button:hover:not(:disabled) { color:#fff; background:rgba(255,255,255,.1); }
.dock-controls button:disabled { opacity:.3; cursor:default; }
.dock-controls svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.dock-controls .dock-play { width:44px; height:44px; color:#111; background:#fff; }
.dock-controls .dock-play:hover:not(:disabled) { color:#111; background:#e9e9e9; }
.dock-controls .dock-play svg { width:18px; height:18px; fill:currentColor; stroke:none; }
.dock-progress {
  display:grid; grid-template-columns:34px minmax(40px,1fr) 34px;
  gap:9px; align-items:center; color:rgba(255,255,255,.64);
  font-size:10px; font-weight:600; font-variant-numeric:tabular-nums;
}
.dock-progress-line { height:3px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.22); }
.dock-progress-line i { display:block; width:0; height:100%; background:#fff; transition:width .25s linear; }
.music-page { padding-bottom:100px; }
@media(max-width:700px) {
  .music-dock { left:8px; right:8px; bottom:8px; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:8px 10px; }
  .dock-track img,.dock-cover-empty { width:48px; height:48px; flex-basis:48px; }
  .dock-controls { gap:5px; }
  .dock-controls button { width:29px; height:29px; }
  .dock-controls .dock-play { width:39px; height:39px; }
  .dock-progress { grid-column:1/-1; grid-template-columns:30px minmax(40px,1fr) 30px; }
  .music-page { padding-bottom:118px; }
}

/* Final spacing and dock corrections. */
.music-player { min-height:0 !important; }
.player-cover-wrap { margin-bottom:12px; }
.player-track-info { margin-bottom:10px; }
.player-track-info .track-number { margin-bottom:4px; }
.player-track-info h2 { margin-bottom:2px; }
.player-progress .progress-range { margin-bottom:7px; }
.player-controls { margin-top:14px; gap:22px; }
.music-section {
  margin:0 !important; padding-bottom:64px !important;
  border:0 !important; box-shadow:none !important;
  background:#101113 !important;
}
.music-section::before,.music-section::after { display:none !important; }
.music-page + .site-footer { margin-top:0 !important; border-top:0 !important; }
.music-dock {
  position:fixed !important; left:12px !important; right:12px !important;
  bottom:12px !important; top:auto !important; z-index:9999 !important;
  transform:none !important; margin:0 !important;
  grid-template-columns:minmax(180px,1fr) auto minmax(170px,1fr);
}
.dock-volume {
  justify-self:end; display:flex; align-items:center; gap:11px;
  min-width:150px; color:rgba(255,255,255,.72);
}
.dock-volume svg {
  width:20px; height:20px; flex:0 0 20px; fill:none;
  stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.dock-volume input {
  width:min(130px,12vw); height:4px; appearance:none; border:0;
  border-radius:99px; outline:none; cursor:pointer;
  background:linear-gradient(90deg,#fff 0%,#fff var(--volume,70%),rgba(255,255,255,.25) var(--volume,70%),rgba(255,255,255,.25) 100%);
}
.dock-volume input::-webkit-slider-thumb {
  appearance:none; width:10px; height:10px; border-radius:50%; background:#fff;
}
.dock-volume input::-moz-range-thumb { width:10px; height:10px; border:0; border-radius:50%; background:#fff; }
@media(max-width:700px) {
  .music-dock {
    left:8px !important; right:8px !important; bottom:8px !important;
    grid-template-columns:minmax(0,1fr) auto !important; gap:8px;
  }
  .dock-volume { grid-column:1/-1; justify-self:end; min-width:0; padding-right:4px; }
  .dock-volume input { width:120px; }
}

/* Final fixes: keep the player attached to the viewport, not the document flow. */
body.music-body { animation:none !important; transform:none !important; }
.music-page { padding-bottom:0 !important; }
.music-section { margin-bottom:0 !important; padding-bottom:54px !important; }
.music-page + .music-dock + .site-footer,
.music-page ~ .site-footer { margin-top:0 !important; }
.site-footer { margin-top:0 !important; }
#music-dock.music-dock {
  position:fixed !important;
  inset:auto 12px 12px 12px !important;
  z-index:2147483000 !important;
  transform:none !important;
  width:auto !important;
  margin:0 !important;
  pointer-events:auto !important;
}
.player-progress .progress-range { margin-bottom:3px !important; }
.player-controls { margin-top:6px !important; gap:22px !important; }
.player-controls .skip-shape,
.dock-controls .skip-shape { fill:currentColor !important; stroke:none !important; }
.player-controls .skip-bar,
.dock-controls .skip-bar { fill:none !important; stroke:currentColor !important; stroke-width:1.8 !important; }
@media(max-width:700px) {
  #music-dock.music-dock { inset:auto 8px 8px 8px !important; }
}


/* Final music-page refinements */
.music-body { padding-bottom:0 !important; }
.music-page { padding-bottom:112px !important; }
.player-progress { margin-bottom:0; }
.player-progress .progress-range { margin-bottom:2px !important; }
.player-controls { margin-top:2px !important; gap:17px !important; }
.player-controls button svg,
.dock-controls button svg { width:21px; height:21px; fill:currentColor !important; stroke:none !important; }
.player-controls .play-toggle svg { width:24px; height:24px; }
.player-controls .mode-toggle { width:34px; height:34px; }
.player-controls .mode-toggle svg { width:19px; height:19px; }
.player-controls .mode-toggle.is-active { color:#75c5de; background:rgba(117,197,222,.12); }
.player-controls button:disabled { opacity:.35; cursor:not-allowed; }
.dock-controls button svg { width:20px; height:20px; }
@media(max-width:700px) {
  .music-page { padding-bottom:104px !important; }
  .player-controls { gap:10px !important; }
  .player-controls .mode-toggle { width:30px; height:30px; }
}


/* Correct footer clearance: no spacer between playlist and footer.
   Reserve the fixed dock's height below the footer content instead. */
.music-body .music-page {
  padding-bottom: 0 !important;
}
.music-body .site-footer {
  margin-top: 0 !important;
  padding-bottom: 120px !important;
}
@media (max-width: 700px) {
  .music-body .site-footer {
    padding-bottom: 112px !important;
  }
}


/* Track metadata: muted version note and legal age marker */
.track-name { display:block; min-width:0; }
.track-muted {
  color:#858b92;
  font-weight:400;
  font-size:.88em;
  white-space:nowrap;
}
.track-age-icon {
  display:inline-block;
  flex:0 0 14px;
  width:14px;
  height:14px;
  fill:none;
  stroke:#858b92;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:-2px;
  opacity:.9;
}
.track-name .track-age-icon { margin-left:1px; }
.playlist-age-note {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:10px 0 12px;
  padding:0;
  border:0;
  color:#858b92;
  font-size:10px;
  font-weight:400;
  line-height:1.55;
}
.playlist-age-note .track-age-icon { margin-top:1px; }
.track-art {
  width:58px !important;
  height:58px !important;
  min-width:58px;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}
.btn-arrow svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.track-name .track-age-icon { margin-left:5px; }
.track-muted { display:inline; }


/* Final responsive pass: music page */
.music-body{overflow-x:hidden}
.music-page,.music-page *{box-sizing:border-box}
.music-page .container{width:min(100% - 48px,1240px);margin-inline:auto}
.music-page .music-hero{width:min(100% - 48px,1240px);grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);gap:clamp(20px,4vw,64px)}
.music-page .music-character{display:block;width:min(100%,440px);height:auto;max-height:470px;object-fit:contain;object-position:center bottom}
.music-layout{min-width:0}
.music-player,.playlist{min-width:0;max-width:100%}
.playlist-list{min-width:0}
.track-row{min-width:0}
.track-copy{min-width:0}
.track-name,.track-artist{overflow-wrap:anywhere}
.player-controls{flex-wrap:nowrap}
.music-page img{max-width:100%}
@media(max-width:900px){
 .music-page .music-hero{grid-template-columns:minmax(0,1fr) minmax(160px,.55fr);padding-top:138px;padding-bottom:52px}
 .music-page .music-character{max-height:360px}
 .music-page .music-layout{grid-template-columns:minmax(0,1fr);gap:30px}
 .music-page .music-divider{width:100%;height:1px;min-height:1px}
 .music-page .playlist{width:100%}
}
@media(max-width:600px){
 .music-page .container{width:calc(100% - 32px)}
 .music-page .music-hero{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:8px;padding-top:124px;padding-bottom:36px;min-height:0}
 .music-page .music-hero-copy .page-title{font-size:clamp(42px,12vw,64px);line-height:.98;margin:16px 0 12px}
 .music-page .music-hero-copy .page-lead{font-size:13px;line-height:1.65}
 .music-page .music-hero-art{min-height:160px;margin:0 -5px 0 0;align-self:end}
 .music-page .music-character{width:130%;max-width:none;max-height:210px;object-position:center bottom}
 .music-page .music-section{padding-top:48px;padding-bottom:88px}
 .music-page .section-head{align-items:flex-start;gap:12px}
 .music-page .section-head h2{font-size:26px}
 .music-page .music-layout{gap:24px}
 .music-page .music-player{padding:20px 16px;border-radius:18px}
 .music-page .player-cover-wrap{width:min(100%,250px);margin-inline:auto}
 .music-page .player-track-info{text-align:center}
 .music-page .player-track-info h2{font-size:21px;overflow-wrap:anywhere}
 .music-page .player-progress{width:100%}
 .music-page .player-controls{justify-content:center;gap:clamp(8px,3vw,18px)}
 .music-page .player-controls button{flex:0 0 auto}
 .music-page .playlist-head{gap:10px}
 .music-page .playlist-head h2{font-size:22px}
 .music-page .playlist-age-note{font-size:10px;line-height:1.5}
 .music-page .track-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;padding:10px 8px}
 .music-page .track-art{width:44px;height:44px}
 .music-page .track-name{font-size:12px;line-height:1.35}
 .music-page .track-artist{font-size:10px}
 .music-page .track-duration{font-size:10px}
}
@media(max-width:380px){
 .music-page .music-hero{grid-template-columns:minmax(0,1fr) 78px}
 .music-page .music-hero-art{min-height:130px}
 .music-page .music-character{max-height:170px}
 .music-page .player-controls{gap:7px}
 .music-page .player-controls button{width:34px;height:34px}
 .music-page .player-controls .play-toggle{width:46px;height:46px}
 .music-page .track-row{grid-template-columns:38px minmax(0,1fr) auto;gap:8px}
 .music-page .track-art{width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.music-page *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
