/* ---------- Music, reorganized (Dec 1, night) ----------
   Her note: "making the videos and the pictures all in a carousel with highlights on the 2:41 video which is the better
   one and then making the prizes and things bigger". The head (title, role line), then one sideways carousel at one
   height: the Rachmaninoff final first with a small gold "Watch this one", then Chopin, then the photos (they open
   large). Arrows at the edges, native swipe and trackpad scroll with snap. Then the prizes as three big cards.
   Behavior: features/music.js. Site tokens only. */
#music .mu { --mh: clamp(230px, 28vw, 420px); }
#music .mu-head h3 { margin: 0; }
#music .mu-head .meta { margin-top: 8px; max-width: 70ch; }

#music .mu-car { position: relative; margin-top: clamp(20px, 2.2vw, 30px); }
#music .mu-track { display: flex; gap: clamp(12px, 1.4vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
#music .mu-track::-webkit-scrollbar { display: none; }
#music .mu-track:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
#music .mu-slide { flex: none; margin: 0; scroll-snap-align: start; }
#music .mu-slide > .vp { width: calc(var(--mh) * 16 / 9); max-width: 82vw; aspect-ratio: 16 / 9; height: auto; }
#music .mu-photo { height: var(--mh); padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
#music .mu-photo img { display: block; height: 100%; width: auto; max-width: none; }
@media (hover: hover) { #music .mu-photo img { transition: transform 0.9s var(--e-out); } #music .mu-photo:hover img { transform: scale(1.04); } }
#music .mu-photo:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
#music .mu-cap { max-width: calc(var(--mh) * 16 / 9); margin: 12px 0 0; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
#music .mu-tag { display: inline-block; margin-right: 10px; padding: 3px 10px 4px; border-radius: 999px; background: var(--marker, #F3DC9C); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; vertical-align: 1px; }
#music .mu-arrow { position: absolute; top: calc(var(--mh) * 0.5 - 22px); z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(252, 250, 246, 0.94); color: var(--ink); font-size: 20px; box-shadow: 0 10px 24px -12px rgba(26, 24, 22, 0.6); cursor: pointer; transition: opacity 0.25s ease, scale 0.25s ease; }
#music .mu-arrow:hover { scale: 1.06; color: var(--acc); }
#music .mu-prev { left: -10px; }
#music .mu-next { right: -10px; }
#music .mu-arrow[disabled] { opacity: 0; pointer-events: none; }
[data-theme="dark"] #music .mu-arrow { background: rgba(40, 37, 33, 0.94); color: #F4EFE6; }

/* the prizes, bigger */
#music .mu-prizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); margin: clamp(30px, 3.4vw, 48px) 0 0; padding: 0; list-style: none; }
#music .mu-prizes li { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2vw, 28px); background: var(--sheet); }
#music .mu-logo { height: 40px; width: auto; }
#music .mu-word { height: 26px; margin: 7px 0; }
#music .mu-prizes b { font: 400 clamp(30px, 2.8vw, 42px)/1.05 var(--serif); color: var(--ink); }
#music .mu-prizes span { font-size: 16.5px; line-height: 1.45; color: var(--ink-2); }
[data-theme="dark"] #music .mu-logo:not(.mu-word) { filter: brightness(0) invert(0.92); }

@media (max-width: 760px) {
  #music .mu { --mh: 200px; }
  #music .mu-arrow { display: none; }
  #music .mu-prizes { grid-template-columns: minmax(0, 1fr); }
  #music .mu-prizes b { font-size: 30px; }
}
/* the prize logos are back (Dec 1, late, her note: "add logos back to the piano thing"), one even height on every card */
#music .mu-prizes li > .mu-logo { display: block; height: 44px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; margin: 0 0 14px; }
#music .mu-prizes li > .mu-logo.mu-word { height: 30px; margin: 7px 0 21px; }

/* Dec 2 (her note: "mtac logo not showing in the piano section"): the MTAC seal is a full-color badge (a black disc with
   white lettering and colored squares), so the dark-mode filter that lightens one-color marks turned it into a blank
   light disc. It keeps its own colors now, with a faint light ring so the black disc reads on the night. */
[data-theme="dark"] #music .mu-logo[src*="mtac"] { filter: none; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(244, 239, 230, 0.28); }

/* Dec 2 (her note: "spacing for the music award cards are bad it's like very big under there for no reason"): Music ends
   right under its prize cards, and the night after it starts sooner. */
main > section#music.sec:not(.uv-night) { padding-bottom: clamp(30px, 3vw, 48px); }
main > #after-hours.uv-night { padding-top: clamp(24px, 2.4vw, 40px); }
