:root{font-family:IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#f4f4f4;background-color:#050505;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{font-family:Shrikhand,cursive;font-weight:400;line-height:1.2;letter-spacing:.02em;text-rendering:optimizeLegibility;font-feature-settings:"kern" 1;-webkit-font-feature-settings:"kern" 1;font-kerning:normal}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top,#1f1f32,#050505 55%)}a{color:inherit}button,input,select{font:inherit;color:inherit}.app-shell{min-height:100vh;max-width:1200px;margin:0 auto;padding:0 1.5rem 6rem;color:#fdf9ef}.app-header{position:sticky;top:0;z-index:100;background:radial-gradient(circle at top,#1f1f32,#050505 55%);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.5rem 0;margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%);margin-bottom:2rem;padding-left:calc(50vw - 50% + 1.5rem);padding-right:calc(50vw - 50% + 1.5rem);border-bottom:1px solid rgba(255,255,255,.08);width:100vw}.app-header-brand{display:flex;align-items:center;justify-content:center;gap:1rem}.app-header-logo{width:48px;height:48px;flex-shrink:0}.app-header h1{margin:0;font-size:clamp(1.75rem,2.5vw,2.5rem);font-family:Shrikhand,cursive;font-weight:400;line-height:1.2}.app-header nav{display:flex;gap:.75rem}.app-header nav a{border:1px solid rgba(255,255,255,.2);padding:.6rem 1rem;border-radius:999px;text-decoration:none;transition:background .2s ease}.app-header nav a:hover{background:#ffffff1f}.app-main{padding:0 0 4rem}.library-header{display:flex;justify-content:flex-start;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:2rem}.search-bar{flex:1}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:1.2rem;width:20px;height:20px;color:#fff9;pointer-events:none;z-index:1}.search-input{width:100%;padding:.85rem 1.2rem .85rem 3.5rem;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:#ffffff0d}.sort-dropdown{padding:.85rem 3rem .85rem 1.2rem;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:#ffffff0d;color:#fdf9ef;cursor:pointer;min-width:180px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4L6 8L10 4' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1.2rem center;background-size:12px}.sort-dropdown option{background:#1f1f32;color:#fdf9ef;padding:.5rem}.sort-dropdown:focus{outline:none;border-color:#fff3}.album-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}.album-card{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:1rem;display:flex;flex-direction:column;gap:.8rem;height:100%}.album-cover-link{display:block;width:100%;text-decoration:none;cursor:pointer;transition:transform .2s ease,opacity .2s ease}.album-cover-link:hover{transform:scale(1.02);opacity:.9}.album-cover{width:100%;aspect-ratio:1 / 1;border-radius:12px;overflow:hidden;background:#ffffff0d}.album-cover img{width:100%;height:100%;object-fit:cover}.album-cover-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:2rem;letter-spacing:.2em}.album-content header{min-height:4.5rem;display:flex;flex-direction:column;gap:.25rem}.album-era{font-size:.85rem;color:#fff9;margin:0;line-height:1.2}.album-card h3{margin:0;font-size:1.1rem;line-height:1.3;min-height:2.6rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.album-subtitle{margin:0;color:#fff9;line-height:1.2;min-height:1.2rem}.album-description{color:#fffc;min-height:3.5rem;max-height:3.5rem;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.17}.album-metadata{display:flex;justify-content:space-between;font-size:.85rem;color:#ffffffa6}.album-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;align-items:center;margin-top:auto}.album-action-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.6rem .9rem;border-radius:10px;text-decoration:none;border:none;cursor:pointer;transition:all .2s ease;flex:1;min-width:0;text-align:left}.album-action-button--icon-only{padding:0;flex:0 0 auto;min-width:auto;width:2.5rem;height:2.5rem;min-height:2.5rem}.album-action-button--primary{background:#eb4034e6;color:#fff}.album-action-button--primary:hover{background:#eb4034;transform:translateY(-1px)}.album-action-button--primary:focus{outline:2px solid rgba(235,64,52,.6);outline-offset:2px}.album-action-button--secondary{background:transparent;border:1px solid rgba(255,255,255,.3);color:inherit}.album-action-button--secondary:hover{background:#ffffff14;border-color:#fff6;transform:translateY(-1px)}.album-action-button--secondary:focus{outline:2px solid rgba(255,255,255,.4);outline-offset:2px}.album-action-button--icon-only svg{width:20px;height:20px;flex-shrink:0}.album-actions .ghost{background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:10px;padding:.4rem .9rem;text-decoration:none;text-align:center}button{border:none;border-radius:12px;padding:.55rem 1rem;background:#eb4034e6;color:#fff;cursor:pointer}.ghost{border:1px solid rgba(255,255,255,.35);border-radius:12px;padding:.55rem 1rem;text-decoration:none;color:inherit}.player-bar{position:fixed;bottom:0;left:0;right:0;background:#050505e6;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;padding:.75rem 2rem;gap:1rem}.player-cover{width:48px;height:48px;border-radius:6px;overflow:hidden;flex-shrink:0}.player-cover img{width:100%;height:100%;object-fit:cover}.player-controls{display:flex;gap:.5rem}.player-controls button{background:#ffffff1a}.player-track{display:flex;flex-direction:column}.player-meta{display:flex;gap:.75rem;color:#ffffffb3}.loading-state{padding:3rem 2rem;text-align:center;color:#ffffffb3;display:flex;flex-direction:column;align-items:center;gap:1.5rem}.loading-spinner{width:80px;height:80px;animation:spin 2s linear infinite}.loading-spinner-small{display:inline-block;font-size:1.2rem;animation:spin 1s linear infinite;line-height:1}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-state,.empty-state{padding:2rem;text-align:center;color:#ffffffb3}.error-state{display:flex;flex-direction:column;align-items:center;gap:1rem}.error-icon{font-size:3rem;margin-bottom:.5rem}.error-message{color:#eb4034e6;font-size:1.1rem;max-width:600px;line-height:1.6}.error-details{margin-top:1rem;text-align:left;max-width:800px;width:100%;background:#0000004d;border-radius:8px;padding:1rem}.error-details summary{cursor:pointer;color:#fff9;font-size:.9rem;margin-bottom:.5rem}.error-details pre{margin:.5rem 0 0;padding:.75rem;background:#0006;border-radius:4px;overflow-x:auto;font-size:.85rem;color:#fffc;white-space:pre-wrap;word-break:break-word}.error-retry{margin-top:1rem;padding:.75rem 2rem;font-size:1rem}.album-page{display:flex;flex-direction:column;gap:1.5rem}.album-page-header{display:flex;justify-content:space-between;gap:2rem;align-items:flex-start}.album-page-cover{width:200px;min-width:200px;aspect-ratio:1 / 1;border-radius:12px;overflow:hidden;background:#ffffff0d;flex-shrink:0}.album-page-cover img{width:100%;height:100%;object-fit:cover}.album-page-cover-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:3rem;letter-spacing:.2em;color:#ffffff4d}.album-page-info{flex:1;min-width:0}.album-page-actions{display:flex;gap:.8rem;margin-top:1rem;flex-wrap:wrap}.album-page-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:10px;text-decoration:none;border:none;cursor:pointer;transition:all .2s ease;font-size:.95rem;font-weight:500;min-height:2.75rem;white-space:nowrap}.album-page-button--primary{background:#eb4034e6;color:#fff}.album-page-button--primary:hover{background:#eb4034;transform:translateY(-1px)}.album-page-button--primary:focus{outline:2px solid rgba(235,64,52,.6);outline-offset:2px}.album-page-button--secondary{background:transparent;border:1px solid rgba(255,255,255,.3);color:inherit}.album-page-button--secondary:hover{background:#ffffff14;border-color:#fff6;transform:translateY(-1px)}.album-page-button--secondary:focus{outline:2px solid rgba(255,255,255,.4);outline-offset:2px}.tracklist ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.8rem}.tracklist li{display:flex;justify-content:space-between;padding:.8rem 1rem;border-radius:12px;background:#ffffff08}.track-info{display:flex;gap:1rem}.track-actions{display:flex;gap:.8rem;align-items:center}.track-duration{min-width:3.5rem;text-align:right;font-variant-numeric:tabular-nums;color:#fffc}.meta{text-transform:uppercase;font-size:.75rem;letter-spacing:.2em;color:#fff9}.status-banner{padding:.75rem 1rem;border-radius:10px;background:#ffffff0f}input,select{padding:.55rem .8rem;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:#ffffff08;color:inherit}@media(max-width:768px){.app-header,.library-header{flex-direction:column}.player-bar{flex-direction:column;align-items:flex-start}.album-actions{flex-direction:row;justify-content:center}.album-action-button--icon-only{flex:0 0 auto;width:2.5rem;height:2.5rem}.album-content header{min-height:auto}.album-card h3{min-height:auto;-webkit-line-clamp:3}.album-page-header{flex-direction:column;gap:1.5rem}.album-page-cover{width:100%;max-width:300px;margin:0 auto}.album-page-actions{flex-direction:column}.album-page-button{width:100%}}
