:root { color-scheme: dark; --accent: #f3fa00; --surface: rgba(245, 248, 255, .1); --surface-strong: rgba(245, 248, 255, .17); }
* { box-sizing: border-box; }
html, body { width: 100%; min-width: 280px; min-height: 100%; margin: 0; overflow: hidden; background: #0a0908; }
body { color: #fff; font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.music-stage { position: relative; isolation: isolate; width: 100%; height: 100vh; height: 100dvh; min-height: 360px; overflow: hidden; background: #0a0908; }
#stage { position: fixed; z-index: 0; inset: 0 0 0 auto; display: block; width: 65vw; height: 100vh; height: 100dvh; pointer-events: none; }
.sphere-copy { position: absolute; z-index: 1; top: 26%; left: 67.5%; width: min(58vw, 680px); transform: translateX(-50%); text-align: center; }
.sphere-artist { margin: 0 0 8px; color: rgba(255, 255, 255, .85); font-size: clamp(13px, 1.5vw, 18px); font-weight: 600; letter-spacing: .14em; }
.sphere-title { margin: 0; overflow: hidden; color: var(--accent); font-size: clamp(30px, 7vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.album-cover { position: absolute; z-index: 1; top: 60%; left: 67.5%; display: flex; width: clamp(64px, 13.45vh, 96px); aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; padding: 8px 6px 7px; transform: translateX(-50%); border: 1px solid rgba(255, 255, 255, .12); border-radius: 11px; background: radial-gradient(circle at 68% 39%, rgba(0, 232, 238, .32), transparent 27%), linear-gradient(145deg, #14171a 0%, #080a0c 72%); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.cover-emblem { position: absolute; top: 25%; left: 50%; width: 38%; transform: translateX(-50%); fill: #00e7e8; filter: drop-shadow(0 0 7px rgba(0, 231, 232, .72)); }
.cover-emblem circle { fill: #10383b; }
.cover-name { z-index: 1; color: #00e7e8; font-size: clamp(6px, .8vw, 8px); font-weight: 800; letter-spacing: .03em; }
.cover-caption { z-index: 1; margin-top: 2px; color: rgba(255, 255, 255, .68); font-size: 4px; letter-spacing: .04em; }
.player { position: absolute; z-index: 2; bottom: max(14px, env(safe-area-inset-bottom)); left: 67.5%; width: min(770px, calc(65vw - 48px)); transform: translateX(-50%); }
.player-toolbar { display: flex; align-items: center; gap: 8px; width: 100%; }
.volume-control, .more-control { position: relative; display: flex; flex: 0 0 auto; align-items: center; }
.icon-button { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 0; border-radius: 50%; background: var(--surface); color: var(--accent); cursor: pointer; transition: background .16s ease, transform .16s ease, color .16s ease; }
.icon-button:hover { transform: translateY(-1px); background: var(--surface-strong); }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-button[aria-pressed="true"] svg { fill: currentColor; }
.icon-button.is-muted { color: rgba(243, 250, 0, .52); }
.track-strip { position: relative; display: grid; height: 64px; min-width: 0; flex: 1 1 auto; place-items: center; overflow: hidden; border-radius: 36px; background: rgba(235, 240, 255, .15); }
.track-progress { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; cursor: pointer; background: linear-gradient(90deg, rgba(218, 227, 255, .15) var(--range-value, 13%), rgba(255, 255, 255, .045) var(--range-value, 13%)); }
.track-progress::-webkit-slider-thumb { width: 0; height: 0; appearance: none; -webkit-appearance: none; }
.track-progress::-moz-range-thumb { width: 0; height: 0; border: 0; }
.track-title { z-index: 1; max-width: calc(100% - 24px); overflow: hidden; color: var(--accent); font-size: clamp(13px, 1.8vw, 20px); font-weight: 800; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.volume-range { position: absolute; z-index: 5; bottom: calc(100% + 12px); left: 0; width: 108px; height: 38px; padding: 0 10px; appearance: none; -webkit-appearance: none; border-radius: 22px; background: rgba(22, 25, 33, .94); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.volume-range[hidden], .track-info[hidden], .more-menu[hidden], .player-message[hidden] { display: none; }
.volume-range::-webkit-slider-thumb { width: 12px; height: 12px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 50%; background: var(--accent); }
.volume-range::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--accent); }
.track-info { position: absolute; right: 0; bottom: calc(100% + 12px); left: 0; margin: 0 auto; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(12, 14, 20, .88); color: #fff; font-size: 13px; text-align: center; width: max-content; max-width: 100%; }
.track-info span { padding: 0 5px; color: var(--accent); }
.more-menu { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 12px); min-width: 180px; padding: 6px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(12, 14, 20, .96); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.more-menu button { width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 13px; text-align: left; cursor: pointer; }
.more-menu button:hover { background: rgba(255, 255, 255, .1); }
.playback-controls { display: flex; height: 64px; align-items: center; justify-content: center; gap: 28px; margin-top: 18px; }
.transport-button { display: grid; width: 40px; height: 44px; place-items: center; border: 0; background: transparent; color: var(--accent); cursor: pointer; transition: transform .16s ease; }
.transport-button:hover { transform: scale(1.12); }
.transport-button svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.play-button { display: grid; width: 64px; height: 64px; place-items: center; border: 0; border-radius: 50%; background: rgba(235, 240, 255, .2); color: var(--accent); cursor: pointer; transition: background .16s ease, transform .16s ease; }
.play-button:hover { transform: scale(1.05); background: rgba(235, 240, 255, .28); }
.play-button svg { width: 25px; height: 25px; fill: currentColor; }
.play-button:not(.is-playing) .pause-icon, .play-button.is-playing .play-icon { display: none; }
.player-message { position: absolute; right: 0; bottom: calc(100% + 12px); left: 0; width: max-content; max-width: 100%; margin: 0 auto; padding: 9px 13px; border-radius: 10px; background: rgba(12, 14, 20, .9); color: #fff; font-size: 12px; text-align: center; }
@media (max-width: 900px) { #stage { right: 0; left: 0; width: 100vw; } .sphere-copy, .album-cover, .player { left: 50%; } .sphere-copy { width: min(90vw, 680px); } .player { width: min(770px, calc(100% - 48px)); } }
@media (max-width: 700px) { .player { bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 32px); } .sphere-copy { top: 25%; width: calc(100% - 28px); } .sphere-artist { margin-bottom: 6px; font-size: clamp(12px, 3.5vw, 15px); } .sphere-title { font-size: clamp(30px, 7vw, 48px); } .album-cover { top: 56%; width: 68px; border-radius: 9px; } .player-toolbar { display: grid; grid-template-columns: repeat(5, 40px); justify-content: space-between; gap: 8px 4px; } .icon-button { width: 40px; height: 40px; flex-basis: 40px; } .track-strip { grid-row: 2; grid-column: 1 / -1; height: 52px; } .track-title { font-size: clamp(13px, 4vw, 17px); } .playback-controls { height: 52px; gap: 28px; margin-top: 10px; } .play-button { width: 52px; height: 52px; } .transport-button { height: 44px; } .track-info { bottom: calc(100% + 10px); font-size: 12px; } }
@media (max-width: 360px) { .player { width: calc(100% - 24px); } .player-toolbar { grid-template-columns: repeat(5, 38px); } .icon-button { width: 38px; height: 38px; flex-basis: 38px; } .track-strip { height: 48px; } .playback-controls { gap: 22px; } }
@media (max-height: 520px) { .sphere-copy { top: 17%; } .sphere-artist { margin-bottom: 4px; font-size: 12px; } .sphere-title { font-size: clamp(28px, 6vw, 44px); } .album-cover { top: 40%; width: 64px; } .player { bottom: max(8px, env(safe-area-inset-bottom)); } .player-toolbar { gap: 6px; } .icon-button { width: 38px; height: 38px; flex-basis: 38px; } .track-strip { height: 48px; } .playback-controls { height: 48px; gap: 22px; margin-top: 8px; } .play-button { width: 48px; height: 48px; } .transport-button { height: 40px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
