* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; }
body { margin: 0; background: #171519; color: #faf5f2; }
main { width: min(100% - 2rem, 38rem); margin: auto; padding: clamp(2rem, 9vw, 5rem) 0 2rem; }
header { margin-bottom: 2rem; }
.brand { color: #ffb291; font-weight: 850; letter-spacing: .18em; }
.demo { margin-left: 1rem; color: #c9c0c6; font-size: .9rem; }
h1 { font-size: clamp(2.35rem, 9vw, 4.4rem); line-height: 1; letter-spacing: -.06em; margin: .5em 0 .3em; }
p, small, .status, .artist { color: #d0c5cc; }
form { padding: 1rem; border: 1px solid #534752; border-radius: 1rem; background: #251f26; }
label { display: block; font-weight: 650; margin-bottom: .5rem; }
.row { display: flex; flex-wrap: wrap; gap: .55rem; }
input, button { font: inherit; border-radius: .6rem; padding: .65rem .8rem; min-height: 44px; }
input { flex: 1 1 9rem; min-width: 0; background: #171519; border: 1px solid #82717c; color: inherit; }
button { background: #ffb291; border: 1px solid transparent; color: #25161a; font-weight: 750; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #ffce92; outline-offset: 3px; }
.status:not(:empty) { margin: .8rem 0; }
ul { padding: 0; margin: .8rem 0; list-style: none; }
li + li { margin-top: .45rem; }
.track { text-align: left; width: 100%; background: #302730; color: inherit; border-color: #534752; overflow-wrap: anywhere; }
.track[aria-pressed="true"] { border-color: #ffb291; }
.artist { display: block; font-size: .92rem; font-weight: 400; }
h2 { margin: 0 0 .75rem; overflow-wrap: anywhere; }
small { display: block; margin-top: .45rem; }
footer { margin-top: 2rem; }
a { color: #ffb291; }
#results section { margin-top: 1.25rem; }
#results h2 { font-size: 1.05rem; margin-bottom: .45rem; }
.result-card { display: flex; gap: .75rem; align-items: center; }
.cover { position: relative; display: grid; place-items: center; flex: 0 0 3rem; height: 3rem; border-radius: .4rem; overflow: hidden; background: #4a3d49; color: #ffb291; }
.cover.portrait { border-radius: 50%; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.back { margin-top: .8rem; background: #302730; color: inherit; border-color: #82717c; }
.categories { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.categories:empty { display: none; }
.categories a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .75rem; border: 1px solid #82717c; border-radius: .6rem; text-decoration: none; }
.categories a:hover { background: #302730; }
.categories button { background: #302730; color: inherit; border-color: #82717c; }
.categories button[aria-pressed="true"] { background: #ffb291; color: #25161a; border-color: #ffb291; }
