.music-player { position: relative; z-index: 25; pointer-events: auto; }
.music-player summary {
  display: flex; align-items: center; gap: 8px; min-height: 36px;
  padding: 8px 10px; border: 1px solid var(--line); list-style: none;
  color: #d0dfed; background: #07111d99; cursor: pointer; font-size: 11px;
}
.music-player summary::-webkit-details-marker { display: none; }
.music-player summary:focus-visible, .music-player button:focus-visible,
.music-player input:focus-visible, .music-player a:focus-visible { outline: 2px solid #a8eaff; outline-offset: 4px; }
.music-symbol { font-size: 17px; color: #c8bdff; line-height: 1; }
.music-player[data-playing="true"] .music-symbol { color: #a0ffe2; text-shadow: 0 0 12px #a0ffe2; }
.music-player[open] summary { border-color: #b7a2ed88; }
.music-popover {
  position: absolute; top: calc(100% + 14px); right: 0;
  width: 290px; padding: 22px; border: 1px solid #b7a2ed44;
  background: linear-gradient(145deg, #15182df5, #07151dfc);
  box-shadow: 0 20px 70px #0009; backdrop-filter: blur(20px);
  color: #dce9ef; text-align: left;
}
.music-eyebrow { margin: 0 0 16px; font: 10px var(--mono); letter-spacing: .17em; color: #a6b8cc; }
.music-popover h2 { margin: 0; font-size: 23px; font-weight: 550; letter-spacing: .08em; overflow-wrap: anywhere; }
.music-artist { margin: 7px 0 18px; color: #a0afc3; font-size: 11px; }
.music-play {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 42px;
  border: 1px solid #b7a2ed66; background: #9e8dd91a; color: #e5dfff; padding: 10px 13px; cursor: pointer;
}
.music-play:hover { background: #9e8dd930; }
.music-volume { display: flex; justify-content: space-between; margin: 19px 0 9px; font-size: 11px; color: #bbcbd5; }
#music-volume { display: block; width: 100%; height: 22px; accent-color: #aeccff; cursor: pointer; }
.music-status { min-height: 32px; margin: 11px 0; color: #9eafbd; font-size: 11px; line-height: 1.6; }
.music-links { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid #b7a2ed22; padding-top: 11px; }
.music-links a, .music-links button { border: 0; padding: 5px 0; background: none; color: #bfceee; font-size: 10px; text-decoration: none; cursor: pointer; }
/* Keep the radio available when the city is in its immersive view. */
html[data-explore="true"] .masthead:has(.music-player) { opacity: 1; transform: none; pointer-events: none; border-color: transparent; }
html[data-explore="true"] .masthead > :not(.system-tools),
html[data-explore="true"] .system-tools > :not(.music-player) { visibility: hidden; }
html[data-explore="true"] .music-player { position: fixed; top: 80px; right: 4.6vw; visibility: visible; }
@media (max-width: 1180px) { .system-tools { gap: 9px; } .music-label { display: none; } }
@media (max-width: 1100px) {
  .music-player summary { min-width: 44px; min-height: 44px; justify-content: center; }
  .music-popover { right: -65px; width: min(290px, calc(100vw - 36px)); }
  html[data-explore="true"] .music-popover { right: 0; }
  .music-links a, .music-links button { min-height: 36px; display: flex; align-items: center; }
}
