:root { color-scheme: light; --text: #17202a; --line: #d9dee8; --accent: #2563eb; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: #f6f7f9; font: 16px/1.6 system-ui, sans-serif; }
main { width: min(1040px, calc(100% - 32px)); margin: auto; padding: 28px 0 48px; }
a { color: #1d4ed8; }
h1 { font-size: clamp(28px, 5vw, 40px); margin: 0; }
header p { margin: 8px 0; }
header { margin-bottom: 24px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 16px; background: white; padding: 12px; z-index: 10; }
.skip-link:focus { top: 12px; }
.artist-search { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
input, button, select { min-height: 44px; max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: white; color: var(--text); font: inherit; }
input { flex: 1 1 240px; }
button { cursor: pointer; }
#artistList { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; padding: 0; list-style: none; }
.artist-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px; overflow-wrap: anywhere; }
.artist-card h2 { margin: 0; font-size: 19px; line-height: 1.5; }
.artist-card h2 a { display: inline-block; padding: 6px 0; }
.artist-card p { margin: 8px 0 0; color: #475467; font-size: 14px; }
.artist-region { font-weight: 700; }

.artist-modes { display: flex; gap: 8px; }
.artist-modes [aria-pressed="true"] { background: #dbeafe; font-weight: 700; }
.artist-preference-note { color: #475467; font-size: 13px; }
.artist-preference-editor { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 12px; }
.artist-preference-editor label { display: grid; gap: 4px; font-size: 13px; }
.artist-preference-editor p { flex-basis: 100%; }
button:disabled { opacity: .6; cursor: default; }
