:root, [data-theme="dark"] { --bg: #0E0E14; --surface: #16161E; --surface-2: #1E1E28; --border: #2A2A36; --text: #ECECF2; --text-dim: #7878A0; --text-bright: #FFFFFF; --key-current: #4F9D69; /* 4B = A-Dur green */ --bpm: #E0B423; --match: #4F9D69; --mic: #D62828; } [data-theme="light"] { --bg: #F4F4F8; --surface: #FFFFFF; --surface-2: #ECECF1; --border: #DCDCE4; --text: #1A1A22; --text-dim: #6A6A78; --text-bright: #000000; --key-current: #2E7A48; --bpm: #B88A1A; --match: #2E7A48; --mic: #C4202A; } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { background: var(--bg); color: var(--text); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; transition: background-color .18s, color .18s; } body { padding: 24px 32px; min-height: 100vh; } .container { max-width: 1600px; margin: 0 auto; } .topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .brand { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.3em; } .topbar-right { display: flex; align-items: center; gap: 18px; } .status { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: color 0.12s; } .status:hover { color: var(--text); } .status i { color: var(--mic); font-size: 14px; } .status.paused i { color: var(--text-dim); } .theme-toggle { background: none; border: 1px solid var(--border); border-radius: 4px; padding: 5px 12px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; transition: all .12s; } .theme-toggle:hover { color: var(--text); border-color: var(--text-dim); } .hero { display: grid; grid-template-columns: 240px 1fr; gap: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; transition: grid-template-columns .3s ease, padding .3s ease, min-height .3s ease; min-height: 280px; } .hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--key-current); transition: background-color .18s; } /* WHEEL expanded mode */ .hero.wheel-mode { grid-template-columns: 1fr; padding: 48px; min-height: 600px; } .hero.wheel-mode .cover, .hero.wheel-mode .info-top, .hero.wheel-mode .info-mid { display: none; } .hero.wheel-mode .info-bot { padding-top: 0; justify-content: center; } .hero.wheel-mode .wheel-container { width: 100%; max-width: 520px; height: 520px; } /* COVER expanded mode */ .hero.cover-mode { grid-template-columns: 1fr; min-height: 540px; } .hero.cover-mode .info { display: none; } .hero.cover-mode .cover { width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1; max-height: 460px; } @media (max-width: 760px) { .hero { grid-template-columns: 1fr; } } .cover { width: 100%; aspect-ratio: 1; max-height: 240px; border-radius: 8px; background: var(--surface-2); overflow: hidden; position: relative; cursor: pointer; transition: transform .15s; } .cover:hover { transform: scale(1.01); } .cover img { width: 100%; height: 100%; object-fit: cover; display: block; } .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(79, 157, 105, 0.20), transparent 60%); pointer-events: none; } .cover-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-dim); letter-spacing: 0.2em; text-transform: uppercase; } .cover-placeholder .note { font-size: 32px; opacity: 0.3; } .info { display: flex; flex-direction: column; min-width: 0; } .info-top { display: flex; flex-direction: column; position: relative; } .info-mid { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; } .info-bot { margin-top: auto; padding-top: 20px; display: flex; justify-content: flex-end; align-items: flex-end; min-height: 160px; } .track-title { font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 4px; } .track-artist { font-size: 15px; color: var(--text-dim); } .search-fallback-btn { position: absolute; top: 0; right: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 6px 12px; color: var(--text-dim); font-size: 11px; cursor: pointer; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; transition: all .12s; } .search-fallback-btn:hover { background: var(--border); color: var(--text); } .search-fallback-btn i { margin-right: 6px; } .stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; } .stat { background: var(--surface); padding: 12px 14px; } .stat-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; } .stat-value { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; font-feature-settings: 'tnum'; line-height: 1; } .stat-value.k { color: var(--key-current); } .stat-value.b { color: var(--bpm); } .stat-value.m { color: var(--match); } .stat-sub { font-size: 10px; color: var(--text-dim); margin-top: 4px; font-family: 'JetBrains Mono', monospace; } .tags-row { display: flex; flex-wrap: wrap; gap: 6px; } .tag { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; } .tag-key { background: var(--key-current); color: #fff; font-weight: 700; } .tag-genre { background: rgba(90, 138, 229, 0.13); color: #8AA8D8; border: 1px solid rgba(90, 138, 229, 0.32); } [data-theme="light"] .tag-genre { background: rgba(52, 90, 156, 0.10); color: #345A9C; border-color: rgba(52, 90, 156, 0.28); } .tag-mood { background: rgba(214, 41, 102, 0.13); color: #D88096; border: 1px solid rgba(214, 41, 102, 0.32); } [data-theme="light"] .tag-mood { background: rgba(168, 51, 106, 0.10); color: #A8336A; border-color: rgba(168, 51, 106, 0.28); } .wheel-container { width: 140px; height: 140px; position: relative; cursor: pointer; transition: transform .15s, width .3s ease, height .3s ease; } .wheel-container:hover { transform: scale(1.04); } .wheel-container svg { width: 100%; height: 100%; display: block; } .close-btn { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); font-size: 18px; cursor: pointer; display: none; align-items: center; justify-content: center; line-height: 1; z-index: 5; transition: color .12s, border-color .12s; } .close-btn:hover { color: var(--text); border-color: var(--text-dim); } .hero.wheel-mode .close-btn, .hero.cover-mode .close-btn { display: flex; } .section-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); margin: 28px 0 12px; } .suggestions { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; } .sug { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: border-color .12s, transform .12s; } .sug:hover { border-color: var(--text-dim); transform: translateY(-2px); } .sug-cover { width: 100%; aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); overflow: hidden; position: relative; } .sug-cover img { width: 100%; height: 100%; object-fit: cover; display: block; } .sug-cover-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0.25; } .sug-meta { display: flex; justify-content: space-between; align-items: center; } .sug-key { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 3px; color: #fff; letter-spacing: 0.04em; } .sug-bpm { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); } .sug-title { font-size: 13px; font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .sug-artist { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-dim); } .sug-compat { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); padding-top: 4px; border-top: 1px solid var(--border); }