:root { --ink:#202423; --muted:#68716d; --cream:#f5f0e8; --card:#fffdfa; --line:#ded8cf; --accent:#e95c38; --accent-dark:#c74426; --sage:#dce3d3; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:linear-gradient(135deg,#e6ecdf 0%,#f5f0e8 48%,#f6dfd3 100%); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; min-height:100vh; }
button,input { font:inherit; }
button { cursor:pointer; }
.app-shell { width:min(1040px,calc(100% - 32px)); margin:auto; padding:74px 0 64px; }
.hero { margin:0 0 38px; max-width:620px; }
.eyebrow { margin:0 0 9px; color:var(--accent-dark); font-size:.72rem; letter-spacing:.15em; font-weight:800; }
h1,h2,p { margin-top:0; } h1 { font-family:Georgia,serif; font-size:clamp(3rem,8vw,5.6rem); line-height:.9; letter-spacing:-.065em; margin-bottom:17px; } h2 { margin-bottom:0; font-size:1.3rem; letter-spacing:-.03em; } .hero > p:last-child { color:var(--muted); font-size:1.08rem; }
.search-panel,.collection { background:rgba(255,253,250,.82); border:1px solid rgba(255,255,255,.8); box-shadow:0 16px 45px rgba(55,52,45,.10); border-radius:18px; padding:26px; }
.search-panel { margin-bottom:24px; }.search-panel h2 { margin-bottom:17px; }
.search-box { min-height:57px; display:flex; align-items:center; gap:12px; padding:0 16px; background:white; border:1px solid var(--line); border-radius:12px; font-size:1.65rem; transition:.2s; }.search-box:focus-within { border-color:var(--accent); box-shadow:0 0 0 3px rgba(233,92,56,.14); }.search-box input { width:100%; border:0; outline:0; font-size:1rem; color:var(--ink); background:transparent; }.loading { color:var(--muted); white-space:nowrap; font-size:.78rem; }
.hint { margin:10px 0 0; color:var(--muted); font-size:.82rem; }.results { margin-top:15px; display:grid; gap:8px; }.result-card { width:100%; display:flex; text-align:left; gap:13px; align-items:center; border:1px solid var(--line); background:#fff; padding:10px 12px; border-radius:11px; transition:.16s; }.result-card:hover,.result-card:focus-visible { transform:translateY(-1px); border-color:var(--accent); outline:none; }.cover-wrap { position:relative; display:grid; place-items:center; width:64px; height:64px; min-width:64px; flex:0 0 64px; overflow:hidden; border-radius:7px; background:var(--sage); }.cover { position:relative; z-index:1; display:block; width:64px; height:64px; object-fit:cover; object-position:center; }.disc { display:grid; place-items:center; width:37px; height:37px; flex:none; border-radius:50%; background:var(--sage); color:#405238; font-weight:bold; }.fallback { position:absolute; width:100%; height:100%; border-radius:0; }.result-text { display:grid; gap:3px; min-width:0; }.result-text strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.result-text small { color:var(--muted); }.add-mark { margin-left:auto; display:grid; place-items:center; width:27px; height:27px; border-radius:50%; color:#fff; background:var(--accent); font-size:1.25rem; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }.section-heading .eyebrow { margin-bottom:5px; }#count { display:inline-grid; place-items:center; height:23px; min-width:23px; padding:0 6px; border-radius:20px; background:var(--sage); color:#3a5132; font-size:.76rem; vertical-align:middle; }
.table-wrap { overflow-x:auto; } table { border-collapse:collapse; width:100%; min-width:580px; } th { font-size:.71rem; color:var(--muted); text-align:left; letter-spacing:.06em; text-transform:uppercase; padding:0 13px 11px; } td { border-top:1px solid var(--line); padding:15px 13px; } td:first-child { font-weight:650; } td:nth-child(2) { color:var(--muted); }.empty-state { margin:0; color:var(--muted); padding:21px 13px 6px; }.button { border:0; border-radius:9px; padding:10px 15px; font-weight:700; }.primary { color:white; background:var(--accent); }.primary:hover { background:var(--accent-dark); }.ghost { color:var(--ink); background:#ebe8e1; }.ghost:hover { background:#dcd8cf; }.delete { color:#a6402a; background:transparent; border:1px solid #ebc9c0; padding:7px 10px; border-radius:7px; font-size:.81rem; }.delete:hover { background:#fff0eb; }
.dialog { width:min(410px,calc(100% - 32px)); color:var(--ink); background:var(--card); border:0; border-radius:17px; padding:27px; box-shadow:0 20px 80px rgba(20,20,20,.3); }.dialog::backdrop { background:rgba(31,37,35,.45); backdrop-filter:blur(2px); }.dialog form { position:relative; }.dialog h2 { font-family:Georgia,serif; font-size:1.85rem; }.close { position:absolute; right:-6px; top:-11px; border:0; background:transparent; font-size:1.7rem; color:var(--muted); }.album-preview { margin:20px 0; padding:15px; background:var(--cream); border-radius:10px; }.album-preview strong,.album-preview span { display:block; }.album-preview span { color:var(--muted); margin-top:4px; }.dialog-actions { display:flex; justify-content:flex-end; gap:8px; }.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width:600px) { .app-shell{padding-top:43px}.search-panel,.collection{padding:20px}.section-heading{align-items:flex-end}.section-heading h2{font-size:1.12rem} }
