@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{--walnut-deep:#4a3828;--walnut-mid:#6b5444;--wood-light:#e8ded3;--cream-label:#f5f2ed;--ink:#1a1614;--ink-muted:#5a5654;--bg:#fafaf9;--surface:#fff;--rule:#d4cec4;--accent:#8b6f47;--accent-hover:#6b5444;--accent-ink:#fff;--delete-red:#a83232;--delete-red-hover:#8b2828;--listened-green:#3a6b3a;--measure:60ch;scrollbar-color:var(--rule) transparent;caret-color:var(--accent);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--walnut-deep:#3a2e22;--walnut-mid:#4a3e32;--wood-light:#5a4e42;--cream-label:#d8cec3;--ink:#e8ded3;--ink-muted:#b8aea3;--bg:#1a1614;--surface:#2a2420;--rule:#4a4440;--accent:#c8a875;--accent-hover:#d8b885;--accent-ink:#1a1614;--delete-red:#e85555;--delete-red-hover:#f86666;--listened-green:#6baa6b;scrollbar-color:var(--rule) transparent;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}html{overflow-x:clip}body{-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--bg);margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.6}.screen{min-height:100vh}p{text-wrap:pretty}h1,h2,h3{text-wrap:balance}::selection{background:var(--accent);color:var(--accent-ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-underline-offset:.18em}.num{font-variant-numeric:tabular-nums}button,[role=button],summary,select,input[type=checkbox],input[type=radio]{min-height:44px}button{min-width:44px}input,select,textarea{font:inherit;font-size:max(1rem,16px)}img,video,canvas,svg{max-width:100%;height:auto}pre{overflow-x:auto}.app{flex-direction:column;min-height:100vh;display:flex}.app-header{background:var(--walnut-mid);border-bottom:2px solid var(--walnut-deep);padding:1rem 1.5rem}.header-content{justify-content:space-between;align-items:center;gap:1rem;max-width:1400px;margin:0 auto;display:flex}.app-title{color:var(--cream-label);letter-spacing:-.01em;margin:0;font-size:1.5rem;font-weight:600}.back-button{color:var(--cream-label);cursor:pointer;background:0 0;border:1px solid #ffffff4d;border-radius:4px;min-width:auto;min-height:44px;padding:.5rem 1rem;font-size:.9375rem;font-weight:500}.add-button{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:none;border-radius:4px;min-width:auto;padding:.625rem 1.25rem;font-size:.9375rem;font-weight:600;box-shadow:0 1px 2px #00000026}.collection-container{flex:1;width:100%;max-width:1400px;margin:0 auto;display:flex}.filter-sidebar{background:var(--walnut-mid);border-right:1px solid var(--walnut-deep);flex-direction:column;gap:.5rem;width:200px;padding:2rem 1rem;display:flex}.filter-button{color:#ffffffbf;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;min-width:auto;padding:.75rem 1rem;font-size:.9375rem;font-weight:500;transition:all .15s ease-out}.filter-button.active{background:var(--walnut-deep);color:var(--cream-label);border-color:var(--accent);font-weight:600}.shelf-area{flex:1;padding:2rem;overflow-y:auto}.album-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;padding:0;display:grid}.album-spine{background:linear-gradient(to bottom, var(--surface) 0%, var(--cream-label) 100%);border:2px solid var(--walnut-deep);text-align:center;cursor:pointer;border-radius:4px;flex-direction:column;justify-content:center;gap:.5rem;min-height:220px;padding:1.25rem 1rem;transition:all .2s ease-out;display:flex;box-shadow:0 1px 3px #4a38281f}.album-spine:hover{background:var(--surface);transform:translateY(-2px);box-shadow:0 4px 8px #4a38282e}.album-spine.selected{background:var(--accent);border-color:var(--walnut-deep);transform:scale(1.02);box-shadow:0 4px 12px #4a382840}.album-spine.selected .spine-artist,.album-spine.selected .spine-title,.album-spine.selected .spine-year{color:var(--accent-ink)}.spine-artist{color:var(--ink);letter-spacing:-.01em;font-size:1rem;font-weight:600}.spine-title{color:var(--ink-muted);font-size:.875rem;font-weight:500;line-height:1.4}.spine-year{color:var(--ink-muted);border-top:1px solid var(--rule);font-variant-numeric:tabular-nums;margin-top:auto;padding-top:.5rem;font-size:.75rem;font-weight:400}.album-detail-overlay{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1a1614bf;justify-content:center;align-items:center;padding:2rem;display:flex;position:fixed;inset:0}.album-detail{background:var(--surface);border:3px solid var(--walnut-deep);border-radius:8px;width:100%;max-width:500px;padding:2rem;box-shadow:0 8px 24px #0006}.album-cover{margin-bottom:1.5rem}.cover-placeholder{aspect-ratio:1;background:linear-gradient(135deg, var(--walnut-mid) 0%, var(--walnut-deep) 100%);border:2px solid var(--walnut-deep);text-align:center;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:2rem;display:flex}.cover-artist{color:var(--cream-label);letter-spacing:-.02em;font-size:1.5rem;font-weight:700}.cover-title{color:#ffffffd9;font-size:1.125rem;font-weight:500;line-height:1.4}.album-metadata{margin-bottom:1.5rem}.detail-title{color:var(--ink);letter-spacing:-.02em;margin:0 0 .5rem;font-size:1.75rem;font-weight:700}.detail-artist{color:var(--accent);margin:0 0 .25rem;font-size:1.125rem;font-weight:600}.detail-year{color:var(--ink-muted);margin:0 0 .75rem;font-size:.9375rem}.detail-status{color:var(--listened-green);margin:0;font-size:.9375rem;font-weight:500}.album-actions{flex-direction:column;gap:.75rem;display:flex}.action-button{background:var(--surface);border:2px solid var(--walnut-mid);color:var(--ink);cursor:pointer;text-align:center;border-radius:4px;min-width:auto;padding:.75rem 1.25rem;font-size:.9375rem;font-weight:600;transition:all .15s ease-out}.action-button:hover{background:var(--wood-light);border-color:var(--walnut-deep)}.action-button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.action-button.primary:hover{background:var(--accent-hover);border-color:var(--walnut-deep)}.action-button.delete{border-color:var(--delete-red);color:var(--delete-red);background:0 0;border-width:2px;margin-top:1rem}.action-button.delete:hover{background:var(--delete-red);color:var(--surface)}.add-album-container{background:var(--bg);flex:1;justify-content:center;align-items:flex-start;padding:3rem 1.5rem;display:flex}.add-album-form-wrapper{background:var(--surface);border:3px solid var(--walnut-mid);border-radius:8px;width:100%;max-width:560px;padding:2.5rem;box-shadow:0 4px 12px #4a382826}.add-heading,.edit-heading{color:var(--walnut-deep);letter-spacing:-.02em;margin:0 0 2rem;font-size:2rem;font-weight:700}.add-form,.edit-form{flex-direction:column;gap:1.5rem;display:flex}.form-label{color:var(--ink);text-transform:uppercase;letter-spacing:.05em;flex-direction:column;gap:.5rem;font-size:.875rem;font-weight:600;display:flex}.form-input{background:var(--bg);border:2px solid var(--rule);color:var(--ink);border-radius:4px;padding:.75rem 1rem;font-size:max(1rem,16px);transition:all .15s ease-out}.form-input:hover{border-color:var(--walnut-mid)}.form-input:focus{border-color:var(--accent);background:var(--surface);outline:none}.form-input::placeholder{color:var(--ink-muted);opacity:.6}.form-checkbox-label{color:var(--ink);cursor:pointer;align-items:center;gap:.75rem;font-size:.9375rem;font-weight:500;display:flex}.form-checkbox{cursor:pointer;width:20px;height:20px;accent-color:var(--accent);min-height:auto}.form-actions{gap:.75rem;margin-top:.5rem;display:flex}.form-actions .action-button{flex:1}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.empty-message{color:var(--ink-muted);margin:0 0 1.5rem;font-size:1.25rem;font-weight:500}.add-cta{background:var(--accent);color:var(--accent-ink);cursor:pointer;border:none;border-radius:4px;padding:1rem 2rem;font-size:1rem;font-weight:600;transition:all .2s ease-out;box-shadow:0 2px 6px #4a382833}.add-cta:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 10px #4a382840}@media (width<=768px){.collection-container{flex-direction:column}.filter-sidebar{border-right:none;border-bottom:2px solid var(--walnut-deep);flex-direction:row;width:100%;padding:1rem;overflow-x:auto}.filter-button{white-space:nowrap}.album-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}.album-spine{min-height:180px;padding:1rem .75rem}.spine-artist{font-size:.9375rem}.spine-title{font-size:.8125rem}.album-detail{padding:1.5rem}.add-album-form-wrapper{padding:2rem}.header-content{gap:.75rem}.app-title{font-size:1.25rem}}@media (width<=480px){.shelf-area{padding:1.5rem}.album-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.5rem}.album-detail-overlay{padding:1rem}.add-album-container{padding:2rem 1rem}.add-album-form-wrapper{padding:1.5rem}.form-actions{flex-direction:column}}@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}.back-button:hover,.add-button:hover{transform:translateY(-1px)}.back-button:active,.add-button:active{transform:translateY(0)}.filter-button:hover:not(.active){background:#ffffff0d}.album-detail-overlay{animation:.2s ease-out overlay-fade-in}@keyframes overlay-fade-in{0%{opacity:0}to{opacity:1}}.album-detail{animation:.25s ease-out detail-slide-up}@keyframes detail-slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}}@media (width<=480px){body,.container,[class*=container],section,header,footer,nav,main,article{padding-inline:max(1rem,16px)}}p,li,dt,dd,blockquote,figcaption,td,th{max-width:min(75ch,100%)}
