:root { --bg: #1a1a2e; --surface: #16213e; --accent: #e94560; --accent2: #0f3460; --text: #eaeaea; --text-dim: #888; --radius: 12px; --btn-h: 64px; } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; } #app { max-width: 600px; margin: 0 auto; padding: 16px; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; min-height: 100vh; } /* gap fallback: margin between every direct child */ #app > * + * { margin-top: 16px; } /* Status bar */ #status-bar { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; font-size: 12px; color: var(--text-dim); } #status-bar > * + * { margin-left: 8px; } #winamp-status { font-size: 16px; } #winamp-status.ok { color: #4caf50; } #winamp-status.err { color: var(--accent); } /* Track info */ #track-info { background: var(--surface); border-radius: var(--radius); padding: 20px; text-align: center; } #track-title { font-size: 18px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } #star-rating { font-size: 32px; margin-top: 10px; letter-spacing: 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; } .star { color: #333; -webkit-transition: color 0.12s, -webkit-transform 0.1s; transition: color 0.12s, transform 0.1s; display: inline-block; } .star.lit { color: #f5a623; } .star:active { -webkit-transform: scale(1.25); transform: scale(1.25); } #playlist-pos { font-size: 12px; color: var(--text-dim); margin-top: 6px; } /* Visualisation canvas */ #viz { width: 100%; height: 80px; border-radius: var(--radius); background: #000; display: block; cursor: pointer; } /* Progress */ #progress-wrap { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; } #progress-wrap > * + * { margin-top: 4px; } #progress-bar { height: 8px; background: var(--accent2); border-radius: 4px; overflow: hidden; cursor: pointer; } #progress-fill { height: 100%; background: var(--accent); width: 0%; -webkit-transition: width 0.5s linear; transition: width 0.5s linear; border-radius: 4px; } #time-display { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; font-size: 12px; color: var(--text-dim); } /* Buttons base */ .btn { background: var(--surface); color: var(--text); border: none; border-radius: var(--radius); font-size: 22px; cursor: pointer; -webkit-transition: background 0.15s, -webkit-transform 0.08s; transition: background 0.15s, transform 0.08s; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; /* Fallback for iOS 9: