: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; user-select: none; } #app { max-width: 600px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; min-height: 100vh; } /* Status bar */ #status-bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); } #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; } #playlist-pos { font-size: 12px; color: var(--text-dim); margin-top: 4px; } /* Progress */ #progress-wrap { display: flex; flex-direction: column; gap: 4px; } #progress-bar { height: 8px; background: var(--accent2); border-radius: 4px; overflow: hidden; cursor: pointer; } #progress-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.5s linear; border-radius: 4px; } #time-display { display: flex; 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; transition: background 0.15s, transform 0.08s; display: flex; align-items: center; justify-content: center; touch-action: manipulation; } .btn:active { transform: scale(0.93); background: var(--accent2); } /* Seek row */ #seek-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .btn-seek { height: 52px; font-size: 14px; font-weight: 600; } /* Controls row */ #controls-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .btn-ctrl { height: var(--btn-h); font-size: 28px; } .btn-play { background: var(--accent); font-size: 32px; } .btn-play:active { background: #c73652; } /* Volume row */ #volume-row { display: flex; align-items: center; gap: 12px; } .btn-vol { width: 52px; height: 52px; flex-shrink: 0; } #volume-bar-wrap { flex: 1; } #volume-bar { height: 8px; background: var(--accent2); border-radius: 4px; overflow: hidden; cursor: pointer; } #volume-fill { height: 100%; background: #4caf50; width: 70%; transition: width 0.2s; border-radius: 4px; } /* Killist */ #killist-row { display: flex; gap: 8px; } .btn-kill { flex: 1; height: 52px; font-size: 16px; background: #3a1a1a; } .btn-kill:active { background: var(--accent); } .btn-kill-list { width: 80px; height: 52px; font-size: 14px; } #killist-panel { background: var(--surface); border-radius: var(--radius); padding: 16px; } #killist-panel h3 { margin-bottom: 12px; } #killist-items { list-style: none; display: flex; flex-direction: column; gap: 8px; } #killist-items li { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: 8px; padding: 8px 12px; font-size: 14px; } #killist-items li button { background: var(--accent); color: white; border: none; border-radius: 6px; padding: 4px 10px; cursor: pointer; } #btn-close-killist { margin-top: 12px; width: 100%; height: 44px; font-size: 15px; } .hidden { display: none !important; }