:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-size:.9rem;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:400;font-family:Roboto Condensed,sans-serif;text-transform:uppercase;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.app{max-width:1200px;width:100%;margin:0 auto;padding:1rem 1.5rem 0;display:flex;flex-direction:column}.app-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;flex-shrink:0;padding-bottom:.5rem;border-bottom:2px solid rgb(255 255 255 / .7)}.app-header-subtitle{color:#737373}.app-header-right{display:flex;align-items:center;gap:.5rem;margin-right:7px}.app h1{font-family:Oswald,sans-serif;font-size:1.875rem;font-weight:400;margin:0;text-transform:uppercase}.spotify-login-btn,.spotify-logout-btn{padding:.4rem .75rem;font-size:.85rem;font-weight:600;border:1px solid #1db954;border-radius:6px;cursor:pointer;background:transparent;color:#1db954;height:34px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.spotify-login-btn:hover,.spotify-logout-btn:hover{background:#1ed760}.spotify-controls{display:flex;align-items:center;gap:.5rem;height:34px;box-sizing:border-box}.spotify-status{font-size:.875rem;padding:.25rem .5rem;border-radius:4px;display:inline-flex;align-items:center;gap:.5rem}.spotify-status.spotify-connected{color:#1db954;background:#1db9541a}.spotify-status.spotify-connecting{color:#f59e0b;background:#f59e0b1a}.spotify-status.spotify-connecting:before{content:"";width:8px;height:8px;border-radius:50%;background:#f59e0b;animation:pulse 1.5s ease-in-out infinite}.spotify-status.spotify-disconnected{color:#ef4444;background:#ef44441a}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.play-pause-btn{width:32px;height:32px;border-radius:50%;border:none;background:#1db954;color:#000;font-size:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.play-pause-btn:hover:not(:disabled){background:#1ed760}.play-pause-btn:disabled{opacity:.5;cursor:not-allowed}.sidebar{flex:0 0 300px;display:flex;flex-direction:column;min-height:0;height:100%;border-right:1px solid #262626;padding-right:1rem;overflow:hidden}.search-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem;flex-shrink:0}.search-form input{width:100%;box-sizing:border-box;padding:.6rem .75rem;font-size:1rem;border:1px solid #333;border-radius:6px;background:#1a1a1a;color:#e5e5e5}.search-form input:focus{outline:none;border-color:#22c55e}.search-form button{padding:.6rem 1rem;font-weight:600;font-size:.95rem;border:none;border-radius:6px;background:#22c55e;color:#000;cursor:pointer;width:100%;box-sizing:border-box}.search-form button:hover:not(:disabled){filter:brightness(1.1)}.search-form button:disabled{opacity:.7;cursor:not-allowed}.error{color:#f87171}.sidebar-label{margin:0 0 .75rem;font-size:.875rem;color:#a3a3a3}.sidebar .error{margin-bottom:.75rem;font-size:.875rem;flex-shrink:0}.content{display:flex;gap:1rem;flex:1;height:0;padding-top:1rem}.results{list-style:none;padding:0;margin:0;flex:1;min-height:0;overflow-y:auto;max-height:calc(100vh - 154px)}.results::-webkit-scrollbar{display:none}.results li{padding:.75rem;border-bottom:1px solid #262626;cursor:pointer;border-radius:4px;margin-bottom:.25rem;transition:background-color .15s}.results li:hover{background-color:#1f1f1f}.results li.selected{background-color:#22c55e20;border-color:#22c55e}.results li.consumed{position:relative;padding-left:1.25rem}.results li.consumed:before{content:"";position:absolute;left:.5rem;top:50%;transform:translateY(-50%);width:6px;height:6px;border-radius:50%;background-color:#22c55e}.results li:last-child{border-bottom:none}.list-view-header{margin-bottom:.5rem;flex-shrink:0}.list-view-title{font-size:.9rem;font-weight:600;color:#a3a3a3}.list-view-empty{color:#737373;font-size:.9rem;margin-top:.5rem}.playlist-owner{color:#737373;font-size:.85em;font-weight:400;margin-left:.5rem}.detail{flex:1;min-width:0}.detail-columns{display:flex;gap:1rem;align-items:flex-start;width:100%}.detail-main{flex:1;min-width:0;height:calc(100vh - 120px);overflow-y:auto}.detail-main::-webkit-scrollbar{display:none}.detail-overview{flex:0 0 320px;padding:1rem 1.4rem;background:#1a1a1a;border-radius:8px;border:1px solid #262626;align-self:stretch}.detail-overview::-webkit-scrollbar{display:none}.detail-overview h3{font-size:1.25rem;font-weight:600;margin:0 0 1rem}.detail-overview .overview-text{color:#e5e5e5;line-height:1.6;white-space:pre-wrap;margin:0;font-size:.9rem}.detail-header{display:flex;gap:1.5rem;align-items:flex-start;margin-bottom:1.5rem}.detail-thumb-container{flex-shrink:0}.detail-thumb{width:200px;height:200px;object-fit:cover;border-radius:8px;display:block;margin-bottom:2rem}.detail-thumb-placeholder{width:200px;height:200px;border-radius:8px;background:#1a1a1a;border:1px solid #333;display:flex;align-items:center;justify-content:center;color:#737373;font-size:.875rem}.detail-content{flex:1}.detail h2{font-size:1.5rem;font-weight:600;margin:0 0 1rem}.detail h2.detail-title{font-family:Roboto Condensed,sans-serif;font-weight:400;font-size:1.7rem;text-transform:capitalize}.detail-meta{display:flex;flex-direction:column;gap:.75rem;font-size:.85rem}.detail-row{display:flex;gap:.5rem}.detail-row .label{font-weight:600;color:#737373;min-width:40px}.detail-row .value{color:#e5e5e5}.detail-row-links{align-items:center;flex-wrap:wrap}.detail-link{color:#22c55e;text-decoration:none;font-weight:500}.detail-link:hover{text-decoration:underline}.detail-loading{color:#737373;font-style:italic;margin:1rem 0}.detail-tracklist{margin-top:2rem}.tracklist-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.tracklist-header-right{display:flex;align-items:center;gap:1rem}.tracklist-filter{display:flex;align-items:center;gap:.35rem;margin-right:7px;margin-left:10px}.tracklist-filter-star+.tracklist-filter-star{margin-left:calc(-.35rem - 1px)}.tracklist-filter-label{font-size:.875rem;color:#a3a3a3;margin-right:.25rem}.tracklist-filter-star{padding:.2rem;border-radius:0;transition:border-color .2s ease,border-radius .2s ease}.tracklist-filter-star.track-like-btn{border:1px solid transparent;border-radius:0}.tracklist-filter:has(.tracklist-filter-star:nth-of-type(2):hover) .tracklist-filter-star:first-of-type{border-color:transparent}.tracklist-filter:has(.tracklist-filter-star:nth-of-type(3):hover) .tracklist-filter-star:first-of-type,.tracklist-filter:has(.tracklist-filter-star:nth-of-type(3):hover) .tracklist-filter-star:nth-of-type(2){border-color:transparent}.tracklist-filter .tracklist-filter-star.track-like-0:hover{border-color:#737373;border-right-color:transparent}.tracklist-filter-star:first-of-type:hover+.tracklist-filter-star{border-color:#737373;border-left-color:transparent;border-right-color:transparent}.tracklist-filter-star:first-of-type:hover+.tracklist-filter-star+.tracklist-filter-star{border-color:#737373;border-left-color:transparent}.tracklist-filter .tracklist-filter-star.track-like-btn:nth-of-type(2):hover{position:relative;z-index:1;border-color:#737373;border-left-color:#737373;border-right-color:transparent}.tracklist-filter-star:nth-of-type(2):hover~.tracklist-filter-star{border-color:#737373;border-left-color:transparent}.tracklist-filter .tracklist-filter-star.track-like-btn:nth-of-type(3):hover{position:relative;z-index:1;border-color:#737373;border-left-color:#737373}.tracklist-filter-all-active .tracklist-filter-star:first-of-type{border-color:#737373;border-right-color:transparent}.tracklist-filter-all-active .tracklist-filter-star:nth-of-type(2){border-color:#737373;border-left-color:transparent;border-right-color:transparent}.tracklist-filter-all-active .tracklist-filter-star:nth-of-type(3){border-color:#737373;border-left-color:transparent}.tracklist-filter-both-active .tracklist-filter-star:first-of-type{border-color:transparent}.tracklist-filter-both-active .tracklist-filter-star:nth-of-type(2){border-color:#737373;border-right-color:transparent}.tracklist-filter-both-active .tracklist-filter-star:nth-of-type(3){border-color:#737373;border-left-color:transparent}.tracklist-filter-star.tracklist-filter-star-active:nth-of-type(3){border-color:#737373}.tracklist-header h3{margin:0}.detail-tracklist h3{font-size:1.25rem;font-weight:600}.autoplay-switch{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;margin-bottom:2px;margin-right:10px}.autoplay-switch input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.autoplay-switch-track{display:inline-flex;align-items:center;padding:0 2px;width:36px;height:20px;flex-shrink:0;border-radius:9999px;background:#262626;transition:background .2s}.autoplay-switch:has(input:checked) .autoplay-switch-track{background:#1db954}.autoplay-switch-thumb{width:16px;height:16px;flex-shrink:0;border-radius:9999px;background:#fff;box-shadow:0 1px 2px #0000004d;transition:transform .2s}.autoplay-switch:has(input:checked) .autoplay-switch-thumb{transform:translate(16px)}.autoplay-switch-label{font-size:.875rem;color:#a3a3a3}.consumed-checkbox{display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none}.consumed-checkbox input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.consumed-checkbox-box{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;border-radius:4px;border:2px solid #525252;background:transparent;transition:background .2s,border-color .2s}.consumed-checkbox:has(input:checked) .consumed-checkbox-box{background:#1db954;border-color:#1db954}.consumed-checkbox:has(input:checked) .consumed-checkbox-box:after{content:"";width:5px;height:9px;margin-bottom:2px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}.consumed-checkbox:hover .consumed-checkbox-box{border-color:#737373}.consumed-checkbox-label{font-size:.875rem;color:#a3a3a3}.tracklist{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.tracklist li{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:4px;background:#1a1a1a;min-width:0;position:relative;overflow:hidden}.track-playing{cursor:pointer}.track-playing:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#0d2818;z-index:0}.track-progress-bar{position:absolute;bottom:0;left:0;height:3px;background:#1db954;transition:width .3s ease-out;z-index:1}.track-position{color:#737373;font-size:.875rem;min-width:25px;flex-shrink:0}.track-title{flex:1;color:#e5e5e5;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.track-duration{color:#737373;font-size:.875rem;flex-shrink:0}.play-track-btn{padding:.15rem .35rem;font-size:.75rem;font-weight:600;border:none;border-radius:4px;background:#1db954;color:#000;cursor:pointer;margin-left:auto;flex-shrink:0;white-space:nowrap}.play-track-btn:hover{background:#1ed760}.track-like-btn{display:flex;align-items:center;justify-content:center;padding:.25rem;border:none;border-radius:4px;background:transparent;cursor:pointer;flex-shrink:0;color:#525252;outline:none;box-shadow:none;-webkit-tap-highlight-color:transparent}.track-like-btn:focus,.track-like-btn:focus-visible,.track-like-btn:active{outline:none!important;box-shadow:none!important}.track-like-btn svg{display:block}.track-like-0 svg path{fill:none;stroke:currentColor;stroke-width:1.5}.track-like-1{color:#0d6b2c}.track-like-1 svg path{fill:currentColor}.track-like-2{color:#1db954}.track-like-2 svg path{fill:currentColor}.track-matched-disconnected .play-track-btn,.track-matched-disconnected .track-like-btn{opacity:.3;cursor:not-allowed}.no-match{color:#737373;font-size:.875rem;margin-left:auto;font-style:italic;flex-shrink:0;white-space:nowrap}.matching-indicator{font-size:.875rem;color:#737373;font-weight:400;font-style:italic}.detail-profile{margin-top:2rem}.detail-profile h3{font-size:1.25rem;font-weight:600;margin:0 0 1rem}.detail-profile p{color:#e5e5e5;line-height:1.6;white-space:pre-wrap}.view-list-select{padding:.4rem .6rem;border:1px solid #525252;border-radius:6px;background:#171717;color:#e5e5e5;cursor:pointer;height:34px;box-sizing:border-box;min-width:140px;max-width:220px;text-transform:uppercase;font-family:Roboto Condensed,sans-serif;font-weight:400}.view-list-select:hover,.view-list-select:focus{border-color:#737373;outline:none}.app-logout-btn{padding:.4rem .75rem;font-size:.85rem;border:1px solid #525252;border-radius:6px;background:transparent;color:#a3a3a3;cursor:pointer;margin-left:.5rem}.app-logout-btn:hover{background:#262626;color:#e5e5e5}.auth-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:2rem;width:100%;margin:0 auto}.auth-screen h1{font-family:Oswald,sans-serif;margin-bottom:.5rem;text-transform:uppercase;text-align:center}.auth-subtitle{color:#a3a3a3;margin:0 0 1.5rem;font-size:.95rem;text-align:center}.auth-form{display:flex;flex-direction:column;gap:.75rem;width:100%;max-width:280px;margin:0 auto}.auth-form input{padding:.6rem .75rem;font-size:1rem;border:1px solid #525252;border-radius:6px;background:#262626;color:#fff}.auth-form input::placeholder{color:#737373}.auth-form button[type=submit]{padding:.6rem 1rem;font-size:1rem;font-weight:600;border:none;border-radius:6px;background:#1db954;color:#000;cursor:pointer}.auth-form button[type=submit]:hover:not(:disabled){background:#1ed760}.auth-form button[type=submit]:disabled{opacity:.7;cursor:not-allowed}.auth-toggle{margin-top:1rem;padding:.5rem;font-size:.9rem;background:none;border:none;color:#737373;cursor:pointer;text-decoration:underline;text-align:center}.auth-toggle:hover{color:#a3a3a3}.add-to-list-btn{padding:.5rem 1rem;font-size:.9rem;border:1px solid #525252;border-radius:6px;background:transparent;color:#e5e5e5;cursor:pointer}.add-to-list-btn:hover{background:#262626;border-color:#737373}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#1a1a1a;border:1px solid #262626;border-radius:8px;width:90%;max-width:500px;max-height:80vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid #262626}.modal-header h2{font-size:1.25rem;font-weight:600;margin:0}.modal-close{background:none;border:none;color:#a3a3a3;font-size:1.5rem;line-height:1;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#e5e5e5}.modal-body{padding:1.5rem;overflow-y:auto;flex:1}.lists-checkbox-group{margin-bottom:1.5rem}.lists-label{font-size:.9rem;color:#a3a3a3;margin:0 0 .75rem}.list-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;padding:.5rem 0}.list-checkbox input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.list-checkbox-box{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;border-radius:4px;border:2px solid #525252;background:transparent;transition:background .2s,border-color .2s}.list-checkbox:has(input:checked) .list-checkbox-box{background:#1db954;border-color:#1db954}.list-checkbox:has(input:checked) .list-checkbox-box:after{content:"";width:5px;height:9px;margin-bottom:2px;border:solid #000;border-width:0 2px 2px 0;transform:rotate(45deg)}.list-checkbox:hover .list-checkbox-box{border-color:#737373}.list-checkbox-label{font-size:.9rem;color:#e5e5e5}.create-list-form{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #262626}.create-list-form label{display:block;font-size:.9rem;color:#a3a3a3;margin-bottom:.5rem}.create-list-input-group{display:flex;gap:.5rem}.create-list-input-group input{flex:1;padding:.6rem .75rem;font-size:.9rem;border:1px solid #525252;border-radius:6px;background:#262626;color:#fff}.create-list-input-group input::placeholder{color:#737373}.create-list-input-group button{padding:.6rem 1rem;font-size:.9rem;font-weight:600;border:none;border-radius:6px;background:#1db954;color:#000;cursor:pointer}.create-list-input-group button:hover:not(:disabled){background:#1ed760}.create-list-input-group button:disabled{opacity:.5;cursor:not-allowed}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #262626}.add-to-lists-btn{flex:1;padding:.75rem 1rem;font-size:.95rem;font-weight:600;border:none;border-radius:6px;background:#1db954;color:#000;cursor:pointer}.add-to-lists-btn:hover:not(:disabled){background:#1ed760}.add-to-lists-btn:disabled{opacity:.5;cursor:not-allowed}.modal-cancel-btn{padding:.75rem 1rem;font-size:.95rem;border:1px solid #525252;border-radius:6px;background:transparent;color:#a3a3a3;cursor:pointer}.modal-cancel-btn:hover{background:#262626;color:#e5e5e5}
