/* Music Room / silver smoke. Neutral glass, soft light and a technical dot field.
   Artwork keeps its color; the interface uses a deliberately monochrome material. */
@font-face {
  font-family: Manrope;
  src: url(assets/fonts/manrope/manrope-variable.ttf) format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
body.music-room-page.music-glass-ui {
  --mg-font: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
  --mg-radius: 18px;
  --mg-control-radius: 12px;
  --mg-rim: rgb(255 255 255 / .18);
  --mg-glass: linear-gradient(140deg, rgb(255 255 255 / .16), rgb(136 142 153 / .055) 34%, rgb(0 0 0 / .38) 68%, rgb(255 255 255 / .055)), rgb(12 13 16 / .57);
  --mg-shadow: 0 16px 42px rgb(0 0 0 / .26), 0 0 38px rgb(231 238 255 / .025);
  --mg-highlight: inset 0 1px 0 rgb(255 255 255 / .28), inset 0 -1px 0 rgb(0 0 0 / .32), inset 1px 0 0 rgb(255 255 255 / .035);
  --mg-filter: blur(26px) saturate(105%);
  --mg-dot: rgb(220 227 239 / .18);
  --mg-glow: rgb(226 234 255 / .19);
  --mg-glow-low: rgb(192 203 226 / .1);
  --mg-ease: cubic-bezier(.16, 1, .3, 1);
  --bar: 96px;
  font-family: var(--mg-font);
  font-size: 14px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
html[data-theme=dark][data-music-palette] body.music-room-page.music-glass-ui {
  --bg: #090a0c;
  --bg-2: #111215;
  --panel: #141519;
  --panel-2: #23252b;
  --ink: #f5f5f7;
  --ink-2: #d6dadd;
  --muted: #adb5bb;
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --line-2: color-mix(in srgb, var(--ink) 19%, transparent);
  --control-surface: var(--panel-2);
  --control-edge: var(--line-2);
  --control-ink: var(--ink);
  font-size: 14px;
}
html[data-theme=light] body.music-room-page.music-glass-ui {
  --bg: #eff0f3;
  --bg-2: #eceef0;
  --panel: #fff;
  --panel-2: #eaedef;
  --ink: #1d1d1f;
  --ink-2: #3c4349;
  --muted: #5e6871;
  --line: rgb(29 29 31 / .09);
  --line-2: rgb(29 29 31 / .18);
  --mg-rim: rgb(255 255 255 / .84);
  --mg-glass: linear-gradient(140deg, rgb(255 255 255 / .96), rgb(155 162 175 / .12) 44%, rgb(255 255 255 / .64) 76%), rgb(240 241 246 / .64);
  --mg-shadow: 0 8px 28px rgb(29 29 31 / .065);
  --mg-highlight: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 0 0 1px rgb(255 255 255 / .4);
  --control-surface: var(--panel-2);
  --control-edge: var(--line-2);
  --control-ink: var(--ink);
  --mg-dot: rgb(70 79 98 / .21);
  --mg-glow: rgb(255 255 255 / .98);
  --mg-glow-low: rgb(98 110 139 / .1);
  font-size: 14px;
}
body.music-room-page.music-glass-ui * { font-family: var(--mg-font) !important; }
body.music-room-page.music-glass-ui :is(.logo, .logo *, .brandface) { font-family: Unbounded, sans-serif !important; }
body.music-room-page.music-glass-ui #view :is(.mg-room-heading h1, .hmg-section-heading h2, .collection-library h1) { font-family: Unbounded, Manrope, sans-serif !important; font-weight: 500; }
html body.music-room-page.music-glass-ui::before,
html body.music-room-page.music-glass-ui::after { display: none !important; }
body.music-glass-ui :is(button, a, input) { -webkit-tap-highlight-color: transparent; }
body.music-glass-ui :is(button, a, input, select, summary):focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 4px; }
body.music-glass-ui :is(.hmg-deck-time, .t, .q-dur, output, .pl-duration) { font-variant-numeric: tabular-nums; }

/* At 1440px: 236px navigation + 24px gutter + 1148px content + 32px gutter.
   The five artist cards share that content width; no empty dock column. */
body.music-room-page.music-glass-ui .app { grid-template-rows: minmax(0, 1fr) var(--bar); z-index: auto; }
html body.music-room-page.music-glass-ui .main { padding: 18px 32px 160px 24px; background: transparent !important; }
body.music-room-page.music-glass-ui .side {
  margin: 12px 0 4px 12px;
  padding: 22px 12px;
  border: 1px solid var(--mg-rim);
  border-radius: var(--mg-radius);
  background: var(--mg-glass) !important;
  box-shadow: var(--mg-highlight);
  backdrop-filter: blur(26px) saturate(105%);
  -webkit-backdrop-filter: blur(26px) saturate(105%);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
body.music-glass-ui .side .logo { margin: 0 0 20px; padding: 0 10px; font-size: 19px; letter-spacing: -.9px; }
body.music-glass-ui .side .nav { position: relative; isolation: isolate; gap: 4px; }
body.music-room-page.music-glass-ui .side .nav a {
  position: relative;
  z-index: 1;
  min-height: 42px;
  padding: 10px 12px;
  gap: 12px;
  border: 0 !important;
  border-radius: var(--mg-control-radius);
  background: transparent !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  transition: color 120ms;
}
body.music-room-page.music-glass-ui .side .nav a::before { display: none !important; }
body.music-room-page.music-glass-ui .side .nav a.active { color: var(--ink) !important; }
body.music-glass-ui .side .nav a svg { width: 19px; height: 19px; stroke-width: 1.7; color: inherit !important; }
body.music-glass-ui .side .nav-label { padding: 12px 12px 6px; font-size: 11px; font-weight: 500; color: var(--muted); }
body.music-glass-ui .mg-selection {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: var(--mg-control-radius);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ink) 4%, transparent);
}
body.music-glass-ui .side .upgrade { border: 0; border-radius: 16px; padding: 16px; }
body.music-glass-ui .side :is(.pl-item strong, .tile strong) { font-size: 12px; }

/* One material per control group. Children use fills rather than another glass. */
body.music-room-page.music-glass-ui .topbar {
  top: 12px;
  min-height: 62px;
  padding: 8px 10px;
  margin: 0 0 24px;
  gap: 12px;
  border: 1px solid var(--mg-rim);
  border-radius: var(--mg-radius);
  background: var(--mg-glass);
  box-shadow: var(--mg-shadow), var(--mg-highlight);
  backdrop-filter: var(--mg-refraction, var(--mg-filter));
  -webkit-backdrop-filter: var(--mg-filter);
}
body.music-glass-ui .topbar .search { min-width: 0; }
body.music-room-page.music-glass-ui .topbar .search input {
  height: 44px;
  border: 0;
  border-radius: var(--mg-control-radius);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 14px;
  color: var(--ink);
}
body.music-glass-ui .topbar .search input::placeholder { color: var(--muted); opacity: 1; }
body.music-glass-ui .topbar .search:focus-within { border-radius: var(--mg-control-radius); background: color-mix(in srgb, var(--ink) 5%, transparent); }
body.music-glass-ui .topbar-actions { gap: 6px; }
body.music-room-page.music-glass-ui .topbar-actions :is(.btn, .icon-btn, .vinyl-remix-shortcut, .room-open-button) {
  min-height: 42px;
  border: 0;
  border-radius: var(--mg-control-radius);
  background: transparent;
  box-shadow: none !important;
  backdrop-filter: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
body.music-glass-ui .topbar-actions .avatar { width: 36px; height: 36px; margin-left: 4px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line); }
body.music-glass-ui .search .suggest { border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); box-shadow: var(--mg-shadow); }

/* Photography and records carry the identity; content never refracts. */
body.music-glass-ui .hmg { padding-top: 0; }
body.music-glass-ui .hmg-heading.mg-room-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 2px 0 12px; }
body.music-glass-ui .mg-room-heading .hmg-eyebrow { display: none; }
body.music-glass-ui .mg-room-heading h1 { font-size: 25px; line-height: 1.35; letter-spacing: -1px; font-weight: 500; margin: 7px 0 0; }
body.music-glass-ui .mg-room-heading .hmg-eyebrow { font-size: 12px; line-height: 1.5; }
body.music-glass-ui .mg-room-heading .hmg-link { min-height: 44px; font-size: 13px; font-weight: 500; }
body.music-glass-ui .artist-rail { margin: 0 0 14px; }
body.music-glass-ui .artist-rail-track { animation: mg-artist-marquee 48s linear infinite; width: max-content; transform: translate3d(0,0,0); will-change: transform; }
body.music-glass-ui .artist-rail-viewport { overflow: hidden; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, black 24px, black calc(100% - 24px), transparent); padding: 8px 4px 10px; }
body.music-glass-ui .artist-rail-group { gap: 12px; padding-right: 12px; }
body.music-glass-ui .artist-rail-group[aria-hidden=true] { display: flex; }
body.music-glass-ui .artist-rail-chip {
  min-height: 54px;
  gap: 10px;
  transform: none !important;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgb(255 255 255 / .25) !important;
  border-radius: 14px;
  background: linear-gradient(140deg, rgb(255 255 255 / .2), rgb(255 255 255 / .045) 40%, rgb(0 0 0 / .45)), rgb(17 19 24 / .68) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 4px 16px rgb(0 0 0 / .22), 0 0 18px rgb(255 255 255 / .025) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px);
  color: #e9edf3 !important;
  font-size: 12px;
  font-style: normal;
}
body.music-glass-ui .artist-rail-chip::before { display: none !important; }
body.music-glass-ui .artist-rail-chip::after { display: block !important; animation: mg-artist-sheen 9s ease-in-out infinite; animation-delay: calc(var(--artist-order) * -.85s); background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .24) 49%, transparent 65%); }
body.music-glass-ui .artist-rail-chip .artist-rail-name { transform: none; font-family: Manrope, sans-serif !important; font-size: 13px; font-weight: 650; font-style: normal; letter-spacing: -.1px; }
body.music-glass-ui .artist-rail-chip .artist-rail-thumb { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid rgb(255 255 255 / .28); box-shadow: 0 1px 5px #0006; transform: none; }
body.music-glass-ui .artist-rail-chip .artist-rail-pulse { color: var(--muted); }
body.music-glass-ui .artist-rail-chip.is-current-artist { border-color: rgb(255 255 255 / .64) !important; color: #fff !important; box-shadow: inset 0 1px #fffa, 0 0 24px #eef3ff26, 0 6px 20px #0006 !important; }
body.music-glass-ui .artist-rail[data-paused=true] .artist-rail-track { animation-play-state: paused; }
body.music-glass-ui .artist-rail-viewport:focus-within { overflow-x: auto; }
body.music-glass-ui .artist-rail-viewport:focus-within .artist-rail-track { animation: none; transform: none; }
body.music-glass-ui .artist-rail-viewport:focus-within .artist-rail-group[aria-hidden=true] { display: none; }
@keyframes mg-artist-marquee { to { transform: translate3d(-50%,0,0); } }
@keyframes mg-artist-sheen { 0%,65% { transform: translateX(-180%); opacity: 0; } 72% { opacity: .6; } 90%,100% { transform: translateX(180%); opacity: 0; } }
body.music-glass-ui .hmg-section-heading h2 { font-size: 21px; line-height: 1.45; letter-spacing: -.8px; font-weight: 500; }
body.music-glass-ui .hmg-artists .hmg-section-heading { margin-bottom: 14px; }
body.music-glass-ui .hmg-artist-card { background: linear-gradient(160deg, rgb(255 255 255 / .09), rgb(255 255 255 / .015) 60%), color-mix(in srgb, var(--panel) 86%, transparent) !important; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 10px 32px #0002, inset 0 1px #ffffff12; overflow: hidden; transition: transform 180ms var(--mg-ease), border-color 180ms; }
body.music-glass-ui .hmg-artist-caption { min-height: 126px; padding: 16px; background: transparent; background-image: none !important; }
body.music-glass-ui .hmg-artist-caption .hmg-artist-name { font-size: 17px; line-height: 1.45; letter-spacing: -.35px; font-weight: 700; }
body.music-glass-ui .hmg-artist-caption :is(.hmg-eyebrow, .hmg-discovery-meta, .hmg-artist-watch) { font-size: 12px; line-height: 1.5; color: var(--muted); }
body.music-glass-ui .hmg-artist-watch { margin-top: 6px; }
body.music-glass-ui .hmg-artist-image { border-radius: 0; }
body.music-glass-ui .hmg-artist-image::after { display: none !important; }
body.music-glass-ui .hmg .hmg-discovery-play { width: 40px; height: 40px; border-radius: 50%; background: var(--panel-2) !important; color: var(--ink); border-color: var(--line-2); }
body.music-glass-ui .hmg .hmg-deck { padding: 20px !important; background: var(--panel) !important; background-image: none !important; border-radius: 18px; border: 1px solid var(--line); box-shadow: none; }
body.music-glass-ui .hmg-deck-top { font-size: 11px; }
body.music-glass-ui .hmg .hmg-now-title { font-size: 21px; line-height: 1.3; letter-spacing: -.5px; }
body.music-glass-ui :is(.hmg-now-artist, .hmg-deck-time, .hmg-deck-context, .hmg-recent-heading, .hmg-recent-empty, .hmg-recent-copy small) { font-size: 12px; line-height: 1.5; }
body.music-glass-ui .hmg-deck-transport button { width: 40px; height: 40px; border-radius: 50%; }
body.music-glass-ui .hmg-sound-summary { padding: 16px 18px; font-size: 14px; border-radius: 16px; background: var(--panel); }
body.music-glass-ui .hmg-sound-slot .hmg-sound-state { font-size: 12px; }
body.music-glass-ui .hmg-sound-slot .music-direction-quick { background-image: none !important; }
body.music-glass-ui .hmg-recent-copy strong { font-size: 13px; }
body.music-glass-ui .hmg :is(.hmg-lab-frame, .hmg-lab-frame.hmg-onstage) { opacity: 1; transform: none; transition: none; }
body.music-glass-ui :is(.collection-library h1, .view-head h1) { letter-spacing: -.7px; }
body.music-glass-ui .collection-library :is(.cl-subtitle, .cl-search-wrap input, .cl-navigation a, .cl-navigation button, .cl-toolbar button, .pl-tabs button, .cl-card-title) { font-size: 13px; }
/* Bring the older Home modules onto the same readable scale. The tiny lettering
   printed on the illustrated record label is artwork, not interface copy. */
body.music-glass-ui #view .hmg :is(p, small, label, em, .hmg-link, .hmg-top-artist, .listen-count-copy, .journey-mark, .mx-deep-saved, .mx-deep-controls button, .mx-deep-chapters button, .journey-actions button, .journey-start, .journey-remix, .journey-save) { font-size: 12px !important; }
body.music-glass-ui #view .hmg :is(.hmg-deck-top, .hmg-deck-top span) { font-size: 11px !important; }
body.music-glass-ui #view .hmg .mv-home-pick strong { font-size: 13px; line-height: 1.5; }
body.music-glass-ui #view .hmg :is(button:not(.hmg-turntable), select, summary, .mx-deep-home span, .mx-deep-home text, .journey-home span) { font-size: 12px !important; }
body.music-glass-ui #view .hmg .journey-preview strong { font-size: 13px !important; }
body.music-glass-ui #view .hmg .hmg-recent-position { font-size: 12px !important; }
body.music-glass-ui #view .hmg :is(.hmg-recent-heading a, .journey-library-link) { font-size: 12px; }
body.music-glass-ui #view .hmg :is(.hmg-discovery-play, .hmg-artist-navigation button, .hmg-deck-transport button, .hmg-turntable, .mv-home-pick, .mv-home-actions a) { background-image: none !important; box-shadow: none !important; }
body.music-glass-ui #view .hmg :is(.hmg-mood-card, .hmg-instrumental-world, .music-direction-quick) { background-image: none !important; }
body.music-glass-ui #view .hmg .hmg-discovery-play { background-color: var(--panel-2) !important; border: 1px solid var(--line-2) !important; color: var(--ink) !important; }
body.music-glass-ui #view .hmg .hmg-top-rank { font-size: 32px; line-height: 1.2; }
body.music-glass-ui #view .hmg .mv-home-feature { background: var(--panel); border-color: var(--line); border-radius: 18px; }
body.music-glass-ui #view .hmg .mv-home-copy h2 { color: var(--ink); font-size: 23px; letter-spacing: -.5px; }
body.music-glass-ui #view .hmg .mv-home-copy p { color: var(--muted); }
body.music-glass-ui #view .hmg .mv-bright-link { font-size: 13px; border-color: var(--line-2); background: var(--panel-2); color: var(--ink); border-radius: 12px; }
body.music-glass-ui #view .hmg :is(.hmg-top-controls button, .mx-deep-record-nav button) { box-shadow: none !important; background-image: none !important; }
body.music-room-page.music-glass-ui .player .play-lg { box-shadow: none !important; }
body.music-glass-ui #playBtn2 { box-shadow: none !important; background-image: none !important; }
body.music-glass-ui #premiumBtn { box-shadow: none !important; }
body.music-glass-ui .side :is(.pl-item small, .pl-item span, .upgrade p) { font-size: 12px; }

/* The persistent player is one floating glass surface, with a clear play target. */
html[data-theme] body.music-room-page.music-glass-ui .player {
  position: fixed;
  z-index: 50;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: auto;
  height: 76px;
  padding: 10px 18px;
  gap: 20px;
  grid-template-columns: minmax(180px, 1fr) minmax(300px, 1.5fr) 232px;
  border: 1px solid var(--mg-rim) !important;
  border-radius: var(--mg-radius);
  background: var(--mg-glass) !important;
  box-shadow: var(--mg-shadow), var(--mg-highlight) !important;
  backdrop-filter: var(--mg-refraction, var(--mg-filter));
  -webkit-backdrop-filter: var(--mg-filter);
}
body.music-glass-ui .player .p-cover { display: block; flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; }
body.music-glass-ui .player .pm { min-width: 0; }
body.music-glass-ui .player .pm strong { font-size: 13px; line-height: 1.4; font-weight: 600; }
body.music-glass-ui .player .pm span { font-size: 12px; line-height: 1.4; }
body.music-room-page.music-glass-ui .player .t-btn { border-color: transparent; border-radius: 50%; background: transparent; color: var(--ink-2); }
body.music-room-page.music-glass-ui .player .play-lg { width: 44px; height: 44px; flex-shrink: 0; border: 0 !important; border-radius: 50%; }
body.music-glass-ui .player :is(.pCur, .pDur, .t, .music-volume output) { font-size: 11px; }
body.music-glass-ui .player .p-controls { gap: 5px; }
body.music-glass-ui .player .mv-player-launch { font-size: 11px; min-height: 32px; border-radius: 999px; }
body.music-glass-ui .player #fullQueueBtn2 { display: grid !important; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
body.music-room-page.music-glass-ui .context-dock {
  right: 24px;
  bottom: 104px;
  top: auto;
  transform: none;
  padding: 5px;
  min-width: 72px;
  border: 1px solid var(--mg-rim);
  border-radius: 18px;
  background: var(--mg-glass);
  box-shadow: var(--mg-shadow), var(--mg-highlight);
  backdrop-filter: var(--mg-filter);
  -webkit-backdrop-filter: var(--mg-filter);
}
body.music-glass-ui .context-dock :is(button, a) { border-radius: 12px; font-size: 12px; font-weight: 500; }
body.music-glass-ui .context-dock .music-tools-toggle { min-height: 38px; font-size: 12px; color: var(--ink); }

/* Parallel desktop panel; the same surface becomes a draggable mobile sheet. */
body.music-room-page.music-glass-ui .context-drawer {
  top: 12px;
  right: 12px;
  bottom: 104px;
  width: min(390px, calc(100vw - 24px));
  padding: 20px;
  border: 1px solid var(--mg-rim);
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--mg-shadow), var(--mg-highlight);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}
body.music-glass-ui .context-drawer[data-mg-state] { transition: none; }
body.music-glass-ui .context-drawer[data-mg-state=closed] { visibility: hidden !important; }
body.music-glass-ui .context-drawer[data-mg-state=moving],
body.music-glass-ui .context-drawer[data-mg-state=open] { visibility: visible; }
body.music-glass-ui .context-drawer[data-mg-open=false] { pointer-events: none; }
body.music-glass-ui .context-drawer .rail-tabs { position: relative; isolation: isolate; gap: 0; padding: 4px; border: 0; border-radius: 16px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
body.music-room-page.music-glass-ui .context-drawer .rail-tab { position: relative; z-index: 1; min-height: 50px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; color: var(--muted); font-size: 12px; }
body.music-glass-ui .context-drawer .rail-tab.on { color: var(--ink); }
body.music-glass-ui .context-drawer .drawer-panel.on { animation: none; }
body.music-glass-ui .drawer-head .np-cover { width: 48px; height: 48px; }
body.music-glass-ui .drawer-track strong { font-size: 15px; }
body.music-glass-ui .drawer-track > span:last-child { font-size: 12px; }
body.music-glass-ui .drawer-section-head strong { font-size: 16px; letter-spacing: -.25px; }
body.music-glass-ui .drawer-section-head .card-t { font-size: 12px; }
body.music-glass-ui .drawer-panel .rail-lyrics p { font-size: 16px; }
body.music-glass-ui .drawer-panel .rail-lyrics p.active { font-size: 19px; }
body.music-glass-ui :is(dialog.music-appearance-dialog, dialog.mobile-music-menu) { border-radius: 24px; background: var(--panel); border-color: var(--line-2); }
body.music-glass-ui .music-appearance-dialog { font-size: 14px; }
body.music-glass-ui .music-appearance-dialog :is(.appearance-hint, .appearance-swatch, .appearance-field, .appearance-status) { font-size: 12px; }
body.music-glass-ui .music-appearance-dialog .appearance-header h2 { font-size: 20px; letter-spacing: -.4px; }

/* Soft light and a defocused technical dot field. No scrolling or pointer loop. */
body.music-glass-ui .mg-atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
body.music-glass-ui .mg-soft-light { position: absolute; display: block; border-radius: 50%; filter: blur(92px); }
body.music-glass-ui .mg-soft-light-top { width: min(1000px, 90vw); height: 580px; right: -150px; top: -320px; background: radial-gradient(ellipse, var(--mg-glow), transparent 72%); }
body.music-glass-ui .mg-soft-light-bottom { width: 820px; height: 620px; left: 12%; bottom: -350px; background: radial-gradient(ellipse, var(--mg-glow-low), transparent 70%); }
body.music-glass-ui .mg-dot-field { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--mg-dot) .85px, transparent 1.35px); background-size: 23px 23px; filter: blur(.25px); mask-image: radial-gradient(ellipse at 67% 20%, black, transparent 77%); opacity: .65; }
body.music-glass-ui .mg-selection { background: linear-gradient(135deg, rgb(255 255 255 / .14), rgb(255 255 255 / .04) 55%, rgb(0 0 0 / .12)); box-shadow: inset 0 1px rgb(255 255 255 / .12), inset 0 -1px rgb(0 0 0 / .14); }
body.music-glass-ui .side { box-shadow: var(--mg-shadow), var(--mg-highlight); }
body.music-glass-ui #view .collection-library { background: transparent; }
body.music-glass-ui #view .hmg :is(.hmg-deck, .hmg-sound-summary) { background: linear-gradient(145deg, rgb(255 255 255 / .07), rgb(255 255 255 / .015) 40%, rgb(0 0 0 / .14)), color-mix(in srgb, var(--panel) 86%, transparent) !important; box-shadow: inset 0 1px rgb(255 255 255 / .08); }
body.music-glass-ui #view .hmg .hmg-artist-image { height: 200px; }
body.music-glass-ui #view .hmg .hmg-artist-caption { position: relative; display: block; min-height: 132px; }
body.music-glass-ui #view .hmg .hmg-artist-caption > div { width: 100%; min-width: 0; }
body.music-glass-ui #view .hmg .hmg-artist-caption .hmg-discovery-play { position: absolute; right: 16px; bottom: 16px; margin: 0; }
body.music-glass-ui #view .hmg .hmg-artist-caption .hmg-artist-watch { max-width: calc(100% - 48px); }
body.music-glass-ui #view .hmg button.hmg-discovery-play,
body.music-glass-ui #view .hmg .hmg-deck-transport [data-deck=play],
body.music-glass-ui #playBtn2 {
  background: linear-gradient(145deg, #fff 0%, #e1e4eb 48%, #b5bcc8 100%) !important;
  border: 1px solid rgb(255 255 255 / .7) !important;
  color: #16181e !important;
  box-shadow: inset 0 1px #fff, 0 3px 10px #0003, 0 0 22px #eaf0ff12 !important;
}
html[data-theme] body.music-room-page.music-glass-ui .player #playBtn2 { background: linear-gradient(145deg, #fff, #dfe3eb 55%, #b7bfcb) !important; color: #16181e !important; box-shadow: inset 0 1px #fff, 0 3px 12px #0003, 0 0 20px #eef3ff18 !important; }
body.music-glass-ui .artist-rail-chip .artist-rail-pulse { display: none; }
body.music-glass-ui .artist-rail-chip.is-playing-artist .artist-rail-pulse { display: inline-flex; color: #fff; }
body.music-glass-ui .artist-rail-chip.is-playing-artist .artist-rail-pulse b { background: currentColor; box-shadow: 0 0 6px #fff5; }
html[data-theme=light] body.music-glass-ui .artist-rail-chip {
  background: linear-gradient(140deg, #ffffffed, #dfe2e98c 45%, #ffffff8c) !important;
  border-color: #fff !important;
  color: #333943 !important;
  box-shadow: inset 0 1px #fff, 0 5px 16px #3a455010 !important;
}
html[data-theme=light] body.music-glass-ui .artist-rail-chip.is-current-artist { border-color: #77818c !important; box-shadow: inset 0 1px #fff, 0 0 18px #6a778824 !important; }
html[data-theme=light] body.music-glass-ui .mg-selection { background: linear-gradient(140deg, #ffffffc9, #a5adb82b); box-shadow: inset 0 1px #fff, 0 2px 8px #00000008; }
html[data-theme=light] body.music-glass-ui .hmg-artist-card { box-shadow: 0 10px 24px #2a34450b, inset 0 1px #fff; }
html[data-theme=light] body.music-glass-ui .context-drawer { background: linear-gradient(145deg, #fffffff5, #eceef2f5 65%, #ffffffed); }

@media (hover: hover) and (pointer: fine) {
  body.music-glass-ui .side .nav a:hover { color: var(--ink) !important; }
  body.music-glass-ui .topbar-actions :is(.btn, .icon-btn, .vinyl-remix-shortcut):hover,
  body.music-glass-ui .player .t-btn:not(.play-lg):hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
  body.music-glass-ui .artist-rail-chip:hover { color: var(--ink) !important; border-color: var(--line-2) !important; }
  body.music-glass-ui .hmg .hmg-discovery-play:hover { transform: scale(1.05); }
  body.music-glass-ui .artist-rail-viewport:hover .artist-rail-track { animation-play-state: paused; }
  body.music-glass-ui .artist-rail-chip:hover { border-color: #ffffffe0 !important; color: #fff !important; box-shadow: inset 0 1px #fff9, 0 0 26px #e5edff24, 0 6px 16px #0005 !important; }
  html[data-theme=light] body.music-glass-ui .artist-rail-chip:hover { color: #171b23 !important; }
  body.music-glass-ui #view .hmg .hmg-artist-card:hover { transform: translateY(-3px); border-color: #ffffff40; }
}
body.music-glass-ui :is(.topbar-actions button, .player .t-btn, .hmg-discovery-play, .hmg-deck-transport button, .context-dock button, .drawer-close) { transition: transform 100ms ease-out, background-color 150ms; }
body.music-glass-ui :is(.topbar-actions button, .player .t-btn, .hmg-discovery-play, .hmg-deck-transport button, .context-dock button, .drawer-close):active { transform: scale(.96); }

@media (max-width: 1100px) and (min-width: 761px) {
  html body.music-room-page.music-glass-ui .main { padding-right: 24px; }
  body.music-glass-ui .topbar-actions .youtube-upload-shortcut span,
  body.music-glass-ui .topbar-actions .vinyl-remix-shortcut span { display: none; }
  body.music-glass-ui .topbar-actions .btn { padding-inline: 10px; }
  html[data-theme] body.music-room-page.music-glass-ui .player { grid-template-columns: minmax(140px, 1fr) minmax(200px, 1.5fr) 194px; gap: 12px; }
}
@media (max-width: 760px) {
  body.music-room-page.music-glass-ui { --bar: 160px; }
  body.music-room-page.music-glass-ui .app { display: block; height: auto; min-height: 100dvh; }
  html body.music-room-page.music-glass-ui .main { padding: 12px 16px 200px; }
  body.music-room-page.music-glass-ui .mobile-top {
    margin: 8px 8px 0;
    padding: 6px;
    top: max(8px, env(safe-area-inset-top));
    border: 1px solid var(--mg-rim);
    border-radius: 20px;
    background: var(--mg-glass);
    box-shadow: var(--mg-highlight);
    backdrop-filter: var(--mg-filter);
    -webkit-backdrop-filter: var(--mg-filter);
  }
  body.music-glass-ui .mobile-top .logo { font-size: 16px; letter-spacing: -.5px; }
  body.music-glass-ui .mobile-top :is(.icon-btn, .vinyl-remix-shortcut) { background: transparent; border: 0; }
  body.music-room-page.music-glass-ui .mobile-top .icon-btn { color: inherit !important; }
  body.music-room-page.music-glass-ui .topbar { position: relative; top: auto; min-height: 48px; padding: 0 4px; margin-bottom: 20px; border-radius: 15px; background: var(--panel); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.music-glass-ui .topbar .search input { height: 46px; font-size: 16px; }
  body.music-glass-ui .hmg-heading.mg-room-heading { margin: 0 0 16px; align-items: end; }
  body.music-glass-ui .mg-room-heading h1 { font-size: 25px; letter-spacing: -.7px; }
  body.music-glass-ui .mg-room-heading .hmg-link { display: none; }
  body.music-glass-ui .artist-rail { margin-bottom: 20px; }
  body.music-glass-ui .artist-rail-chip { min-height: 50px; font-size: 12px; }
  body.music-glass-ui .artist-rail-chip .artist-rail-thumb { width: 28px; height: 28px; }
  body.music-glass-ui .artist-rail-viewport { margin-inline: -16px; padding-inline: 16px; mask-image: linear-gradient(90deg, transparent, black 16px, black calc(100% - 16px), transparent); }
  body.music-glass-ui .artist-rail-track { animation-duration: 58s; }
  body.music-glass-ui .mg-soft-light-top { width: 650px; height: 460px; top: -200px; right: -330px; filter: blur(68px); }
  body.music-glass-ui .mg-dot-field { background-size: 21px 21px; opacity: .5; }
  body.music-glass-ui .hmg-home-order .hmg-artists .hmg-section-heading h2 { font-size: 21px; }
  body.music-glass-ui .hmg-home-order .hmg-artist-card { flex-basis: min(75vw, 270px); }
  body.music-glass-ui .hmg-home-order .hmg-artist-caption { min-height: 116px; padding: 14px; }
  body.music-glass-ui .hmg-home-order .hmg-artist-name { font-size: 17px; line-height: 1.3; }
  body.music-glass-ui .hmg-home-order .hmg-artist-caption .hmg-eyebrow,
  body.music-glass-ui .hmg-home-order .hmg-artist-caption .hmg-discovery-meta { font-size: 12px; }
  body.music-glass-ui .hmg-home-order .hmg-deck { padding: 16px !important; }
  body.music-glass-ui .hmg .hmg-now-title { font-size: 18px; }
  body.music-glass-ui .hmg-home-order .hmg-recent-copy strong { font-size: 12px; line-height: 1.4; max-height: 34px; }
  body.music-glass-ui .hmg-home-order .hmg-recent-copy small,
  body.music-glass-ui .hmg-home-order .hmg-recent-position { font-size: 11px; }
  body.music-glass-ui .hmg-home-order .hmg-recent-track { grid-template-columns: 32px minmax(0, 1fr); min-height: 96px; }
  body.music-glass-ui #view .hmg .mx-deep-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  body.music-glass-ui #view .hmg .mx-deep-chapters button { min-width: 0; }
  html[data-theme] body.music-room-page.music-glass-ui .player {
    left: 8px;
    right: 8px;
    bottom: calc(var(--mg-nav-height, 64px) + 18px + env(safe-area-inset-bottom));
    height: 66px;
    padding: 8px 10px;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) 88px 88px;
    border-radius: 20px;
  }
  body.music-glass-ui .player .p-meta { gap: 8px; overflow: hidden; }
  body.music-glass-ui .player .p-cover { width: 38px; height: 38px; }
  body.music-glass-ui .player .pm strong { font-size: 12px; }
  body.music-glass-ui .player .pm span { font-size: 11px; }
  body.music-glass-ui .player .mv-player-launch { display: none; }
  body.music-glass-ui .player #prevBtn2 { display: none !important; }
  body.music-room-page.music-glass-ui .player .p-controls .t-btn { flex: 0 0 44px; width: 44px; height: 44px; padding: 6px; }
  body.music-room-page.music-glass-ui .player .p-controls .play-lg { flex-basis: 44px; width: 44px; height: 44px; }
  body.music-glass-ui .player .p-controls { justify-content: center; gap: 0; }
  body.music-glass-ui .player .p-right { width: 88px; gap: 0; justify-content: center; }
  body.music-glass-ui .player .music-volume { display: none; }
  body.music-room-page.music-glass-ui .player #editorialSound { width: 44px; min-height: 44px; flex: 0 0 44px; }
  body.music-room-page.music-glass-ui .mobile-nav {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 6px;
    min-height: 64px;
    gap: 2px;
    border: 1px solid var(--mg-rim);
    border-radius: 22px;
    background: var(--mg-glass);
    box-shadow: var(--mg-shadow), var(--mg-highlight);
    backdrop-filter: var(--mg-filter);
    -webkit-backdrop-filter: var(--mg-filter);
    isolation: isolate;
  }
  body.music-glass-ui .mobile-nav a { position: relative; z-index: 1; gap: 4px; min-height: 50px; padding: 4px 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--muted) !important; font-size: 11px; font-weight: 500; }
  body.music-glass-ui .mobile-nav a.active { color: var(--ink) !important; }
  body.music-glass-ui .mobile-nav a::before { display: none !important; }
  body.music-glass-ui .mobile-nav a svg { width: 20px; height: 20px; color: inherit; }
  body.music-room-page.music-glass-ui .context-drawer { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; height: min(82dvh, 720px); padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 26px; border-bottom: 1px solid var(--mg-rim); }
  body.music-glass-ui .drawer-head { position: relative; padding-top: 18px; touch-action: none; }
  body.music-glass-ui .drawer-head::before { content: ""; position: absolute; top: 0; left: calc(50% - 18px); width: 36px; height: 4px; border-radius: 999px; background: var(--line-2); }
  body.music-glass-ui .drawer-close { min-width: 44px; min-height: 44px; }
  body.music-glass-ui .context-drawer .rail-tab { min-height: 52px; }
}
@media (max-width: 359px) {
  body.music-glass-ui .player .p-cover { display: none; }
  body.music-glass-ui .mobile-top .logo { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.music-glass-ui :is(.mg-selection, .context-drawer, .drawer-panel, .hmg-discovery-play, .hmg-artist-intro, .mobile-nav a, .artist-rail-pulse b) { animation: none !important; transition: none !important; }
  body.music-glass-ui .artist-rail-track { animation: none !important; }
  body.music-glass-ui .artist-rail-viewport { overflow-x: auto; mask-image: none; }
  body.music-glass-ui .artist-rail-group[aria-hidden=true] { display: none; }
  body.music-glass-ui .artist-rail-chip::after { animation: none !important; display: none !important; }
  body.music-glass-ui :is(.hmg-record-disc, .hmg-artist-image::after) { animation: none !important; }
  body.music-glass-ui .hmg-artist-image img { transform: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  body.music-room-page.music-glass-ui { --mg-glass: var(--panel); --mg-filter: none; --mg-rim: var(--line-2); }
  html[data-theme] body.music-room-page.music-glass-ui :is(.topbar, .side, .player, .context-drawer, .context-dock, .mobile-top, .mobile-nav) { background: var(--panel) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  body.music-glass-ui .mg-atmosphere { display: none; }
}
@supports not (backdrop-filter: blur(1px)) {
  body.music-room-page.music-glass-ui { --mg-glass: var(--panel); }
}
