:root {
  --bg: #0e0d12; --surface: #17161d; --surface-2: #201e28; --line: #2c2a36;
  --text: #f3f1f7; --muted: #a39fb2; --accent: #e8b44a; --accent-ink: #1a1408;
  --plus: #b48cff; --ok: #5fd39a; --warn: #ffb35c; --err: #ff6b6b;
  --radius: 14px; --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); }
a { color: var(--accent); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.brand { font-weight: 800; letter-spacing: .04em; text-decoration: none; color: var(--text); font-size: 18px; }
.brand span { color: var(--accent); }
nav a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin: 28px 0 10px; }
h2 { font-size: 22px; margin: 36px 0 14px; }
.lede { color: var(--muted); max-width: 620px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card.plus { border-color: color-mix(in srgb, var(--plus) 55%, var(--line)); }
.price { font-size: 30px; font-weight: 800; margin: 6px 0; }
.price small { font-size: 14px; color: var(--muted); font-weight: 500; }
ul.perks { padding-left: 18px; margin: 10px 0 16px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px;
  font: 600 15px var(--font); cursor: pointer; background: var(--accent); color: var(--accent-ink); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.plus { background: var(--plus); color: #160d26; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.tracks { display: flex; flex-direction: column; gap: 8px; }
.track { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.track .meta { flex: 1; min-width: 0; }
.track .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track .sub { color: var(--muted); font-size: 13px; }
.play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 15px; flex: none; }
.play.on { background: var(--accent); color: var(--accent-ink); }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-left: 6px; vertical-align: 1px; }
.badge.plus { background: color-mix(in srgb, var(--plus) 25%, transparent); color: var(--plus); }
.badge.new { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
form.stack { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
label { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--text); }
input[type=email], input[type=password], input[type=text], input[type=datetime-local], select, textarea {
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 11px 12px; font: 15px var(--font); }
input:focus, .btn:focus-visible, .play:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.msg { padding: 10px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.msg.err { border-color: var(--err); color: #ffd6d6; }
.msg.ok { border-color: var(--ok); }
.msg.warn { border-color: var(--warn); }
.bar { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 0; }
.bar .wrap { display: flex; align-items: center; gap: 12px; }
.bar audio { flex: 1; min-width: 0; height: 36px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
dialog { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); max-width: 440px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(0,0,0,.6); }
video { width: 100%; border-radius: 12px; background: #000; }
footer { color: var(--muted); font-size: 13px; padding: 40px 0 90px; }
@media (max-width: 560px) { nav a { margin-left: 10px; font-size: 14px; } }
/* embed */
body.embed { background: transparent; }
body.embed .wrap { padding: 12px; }

.mt0 { margin-top: 0; } .m0 { margin: 0; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mt20 { margin-top: 20px; }
.mb4 { margin-bottom: 4px; } .mb8 { margin-bottom: 8px; } .mb10 { margin-bottom: 10px; }
.fine { font-size: 14px; } .fs20 { font-size: 20px; } .plus-text { color: var(--plus); } .between { justify-content: space-between; }
.pre { white-space: pre-wrap; font-size: 13px; } .full { width: 100%; }
.np { max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play[disabled] { opacity: .35; cursor: default; }
nav a { white-space: nowrap; }
@media (max-width: 560px) { header.top { flex-direction: column; align-items: flex-start; } nav a:first-child { margin-left: 0; } }
