:root {
--bg: #000;
--surface: #121212;
--surface-2: #1a1a1a;
--line: #2b2b2b;
--text: #fff;
--muted: #8a8a8a;
--orange: #e08830;
--peach: #f0b87a;
--on-orange: #000;
--display: "Barlow", "Helvetica Neue", Arial, sans-serif;
--body: "Barlow", "Helvetica Neue", Arial, sans-serif;
color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.45; }
body { padding-bottom: 110px; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
header { padding: 28px 0 8px; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 88px; width: auto; display: block; }
footer .logo img { height: 60px; opacity: .9; }
@media (max-width: 699px) { .logo img { height: 68px; } }
.eyebrow { margin: 26px 0 0; color: var(--orange); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.ok { color: var(--peach); font-size: 15px; min-height: 18px; margin: 0; }
.langs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: transparent; color: var(--muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 13px; }
.langs button[aria-pressed="true"] { background: var(--orange); color: var(--on-orange); }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 7vw, 60px); line-height: 1.02; margin: 6px 0 10px; text-transform: lowercase; text-wrap: balance; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 6px; font-size: 17px; }
.controls { position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--bg) 82%, transparent); padding: 14px 0 12px; display: grid; gap: 10px; }
.search { position: relative; }
.search input { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px 13px 42px; }
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.rowchips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--peach); color: var(--on-orange); border-color: var(--peach); font-weight: 700; }
.chip small { color: var(--muted); margin-left: 4px; font-weight: 500; }
.chip[aria-pressed="true"] small { color: #5a3a22; }
.sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; margin-top: 8px; }
.sechead { grid-column: 1 / -1; font-family: var(--display); font-weight: 800; font-size: 22px; margin: 18px 0 0; color: var(--peach); display: flex; align-items: baseline; gap: 10px; text-transform: lowercase; }
.sechead span { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; transition: border-color .15s, background .15s; }
.card.picked { border-color: var(--orange); background: var(--surface-2); }
.top { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.title { font-weight: 700; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.artist { color: var(--muted); font-size: 14px; margin-top: 2px; overflow-wrap: anywhere; }
.heart { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.heart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.heart[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.listen { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--peach); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.listen:hover { border-color: var(--peach); }
.listen svg { width: 12px; height: 12px; fill: currentColor; }
.tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.where { border-top: 1px dashed var(--line); padding-top: 10px; display: grid; gap: 8px; }
.where p { margin: 0; font-size: 13px; color: var(--muted); }
.where .chip { padding: 5px 11px; font-size: 13px; background: var(--bg); }
.where .chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.empty { grid-column: 1 / -1; color: var(--muted); padding: 30px 0; text-align: center; }
.add { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
.add h2 { font-family: var(--display); font-size: 26px; margin: 0; text-transform: lowercase; }
.add p { margin: 0; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
label.f { display: grid; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 500; }
.f input, .f textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; color: var(--text); width: 100%; }
.f textarea { min-height: 70px; resize: vertical; }
.btn { border: 0; border-radius: 12px; padding: 12px 20px; font-weight: 700; cursor: pointer; background: var(--orange); color: var(--on-orange); }
.btn.alt { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.err { color: #ff9b7a; font-size: 14px; min-height: 18px; margin: 0; }
.tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; background: rgba(0,0,0,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.tray .in { max-width: 1060px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.count { font-family: var(--display); font-weight: 800; font-size: 20px; }
.count small { font-family: var(--body); color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 6px; }
.overlay { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.72); display: none; align-items: flex-end; justify-content: center; padding: 0; }
.overlay.open { display: flex; }
.dialog { background: var(--surface); border: 1px solid var(--line); width: 100%; max-width: 680px; max-height: 92%; overflow: auto; border-radius: 20px 20px 0 0; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
@media (min-width: 700px) { .overlay { align-items: center; padding: 20px; } .dialog { border-radius: 20px; max-height: 90%; } }
.dialog h2 { font-family: var(--display); font-size: 28px; margin: 0; text-transform: lowercase; }
.summary { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; max-height: 260px; overflow: auto; font-size: 14px; }
.summary h3 { margin: 12px 0 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--peach); }
.summary h3:first-child { margin-top: 0; }
.summary ul { margin: 0; padding-left: 18px; }
.summary li { margin: 3px 0; }
.summary em { color: var(--muted); font-style: normal; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions a.btn { text-decoration: none; display: inline-block; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.hint b { color: var(--text); }
.x { justify-self: end; margin-bottom: -6px; }
footer { margin-top: 40px; color: var(--muted); font-size: 13px; display: flex; justify-content: center; }
.listen { background: transparent; cursor: pointer; font-family: var(--body); }
.player { aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: 12px; overflow: hidden; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 699px) {
.controls { position: static; background: none; padding: 10px 0 4px; }
h1 { margin-top: 16px; }
.sub { font-size: 16px; }
.btn { padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
