:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{margin:0;padding:0;width:100%;height:100%}body{min-height:100vh}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#747bff}.loading-spinner{display:flex;justify-content:center;align-items:center;padding:2rem}.spinner{border:3px solid rgba(0,0,0,.1);border-top-color:#1db954;border-radius:50%;animation:spin .8s linear infinite}.loading-spinner-small .spinner{width:20px;height:20px;border-width:2px}.loading-spinner-medium .spinner{width:40px;height:40px;border-width:3px}.loading-spinner-large .spinner{width:60px;height:60px;border-width:4px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem}.login-container{width:100%;max-width:450px}.login-content{background:#fff;border-radius:12px;padding:3rem 2rem;box-shadow:0 20px 60px #0000004d;text-align:center}.login-content h1{font-size:2.5rem;margin:0 0 .5rem;color:#1a1a1a}.subtitle{font-size:1.1rem;color:#666;margin:0 0 2rem}.features{display:grid;gap:1rem;margin-bottom:2rem}.feature{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#f8f9fa;border-radius:8px;text-align:left}.feature-icon{font-size:2rem;flex-shrink:0}.feature p{margin:0;color:#333;font-size:.95rem}.spotify-login-button{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;padding:1rem 2rem;font-size:1.1rem;font-weight:600;color:#fff;background:#1db954;border:none;border-radius:50px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #1db9544d}.spotify-login-button:hover{background:#1ed760;transform:translateY(-2px);box-shadow:0 6px 20px #1db95466}.spotify-login-button:active{transform:translateY(0)}.spotify-icon{width:24px;height:24px}.disclaimer{margin-top:2rem;font-size:.85rem;color:#999;line-height:1.5}@media (max-width: 640px){.login-content{padding:2rem 1.5rem}.login-content h1{font-size:2rem}.subtitle{font-size:1rem}}.tooltip-wrapper{position:relative;display:inline-flex;align-items:center}.tooltip-content{position:absolute;z-index:1000;padding:8px 12px;background:#2d2d2d;color:#fff;font-size:13px;line-height:1.4;border-radius:4px;max-width:250px;white-space:normal;box-shadow:0 2px 8px #0003;pointer-events:none}.tooltip-top{bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.tooltip-bottom{top:calc(100% + 8px);left:50%;transform:translate(-50%)}.tooltip-left{right:calc(100% + 8px);top:50%;transform:translateY(-50%)}.tooltip-right{left:calc(100% + 8px);top:50%;transform:translateY(-50%)}.tooltip-arrow{position:absolute;width:0;height:0;border:5px solid transparent}.tooltip-top .tooltip-arrow{bottom:-10px;left:50%;transform:translate(-50%);border-top-color:#2d2d2d}.tooltip-bottom .tooltip-arrow{top:-10px;left:50%;transform:translate(-50%);border-bottom-color:#2d2d2d}.tooltip-left .tooltip-arrow{right:-10px;top:50%;transform:translateY(-50%);border-left-color:#2d2d2d}.tooltip-right .tooltip-arrow{left:-10px;top:50%;transform:translateY(-50%);border-right-color:#2d2d2d}.help-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;color:#666;font-size:14px;cursor:help;-webkit-user-select:none;user-select:none;transition:color .2s}.help-icon:hover{color:#1db954}.pipeline-builder{max-width:1200px;margin:0 auto}.pipeline-builder-header{margin-bottom:30px;border-bottom:2px solid #e0e0e0;padding-bottom:15px}.mode-tabs{display:flex;gap:10px;margin-bottom:10px}.mode-tab{padding:12px 24px;background:#f0f0f0;color:#333;border:none;border-radius:4px 4px 0 0;cursor:pointer;font-size:16px;font-weight:500;transition:all .2s;border-bottom:3px solid transparent}.mode-tab:hover{background:#e0e0e0}.mode-tab.active{background:#fff;color:#007bff;border-bottom-color:#007bff}.mode-description{color:#666;font-size:14px;padding:5px 10px}.pipeline-builder-content{background:#f9f9f9;padding:20px;border-radius:8px}.popularity-filter-editor{border:1px solid #ddd;padding:15px;border-radius:4px;background:#fff}.filter-type-selector{display:flex;gap:20px;margin-bottom:20px}.filter-type-selector label{display:flex;align-items:center;gap:8px;cursor:pointer}.percentile-controls,.spin-count-controls{display:flex;flex-direction:column;gap:15px}.control-group{display:flex;flex-direction:column;gap:5px}.control-group label{font-weight:500;font-size:14px}.control-group input[type=range]{width:100%}.control-group input[type=number],.control-group select{padding:8px;border:1px solid #ddd;border-radius:4px;font-size:14px}.filter-actions{margin-top:15px;padding-top:15px;border-top:1px solid #eee}.filter-actions button{padding:8px 16px;background:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer}.filter-actions button:hover{background:#c82333}.simple-mode-view{max-width:800px}.simple-mode-view h2{margin-top:0;color:#333}.station-selector{margin-bottom:20px}.station-selector label{display:block;margin-bottom:5px;font-weight:500}.station-selector select{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:16px}.popularity-filter-section{margin-bottom:30px}.popularity-filter-section h3{margin-bottom:5px}.help-text{color:#666;font-size:14px;margin-bottom:15px}.error-message{background:#f8d7da;color:#721c24;padding:12px;border-radius:4px;margin-bottom:15px;border:1px solid #f5c6cb}.warning-section{background:#fff3cd;color:#856404;padding:12px;border-radius:4px;margin-bottom:15px;border:1px solid #ffeaa7}.warning-section h4{margin-top:0}.empty-result-warning{background:#f8d7da;color:#721c24;padding:15px;border-radius:4px;margin-bottom:15px;border:1px solid #f5c6cb}.preview-section{background:#fff;padding:20px;border-radius:4px;border:1px solid #ddd;margin-bottom:20px}.preview-section h3{margin-top:0}.preview-songs{display:flex;flex-direction:column;gap:10px}.preview-song{display:flex;justify-content:space-between;padding:10px;background:#f8f9fa;border-radius:4px}.song-title{font-weight:500;flex:1}.song-artist{color:#666;flex:1}.play-count{color:#999;font-size:14px}.preview-more{text-align:center;color:#666;font-style:italic;padding:10px}.action-buttons{display:flex;gap:10px}.action-buttons button{padding:12px 24px;font-size:16px;border:none;border-radius:4px;cursor:pointer;transition:background .2s}.action-buttons button:disabled{opacity:.5;cursor:not-allowed}.action-buttons button:not(.primary):hover:not(:disabled){background:#5a6268}.action-buttons button.primary{background:#007bff;color:#fff}.action-buttons button.primary:hover:not(:disabled){background:#0056b3}.action-buttons button.secondary{background:#28a745;color:#fff}.action-buttons button.secondary:hover:not(:disabled){background:#218838}.advanced-mode-view{max-width:1000px}.steps-section{margin-bottom:30px}.empty-state{text-align:center;padding:40px;color:#999;background:#f8f9fa;border-radius:4px}.steps-table{display:flex;flex-direction:column;gap:10px;margin-bottom:15px}.step-row{display:flex;align-items:center;gap:15px;padding:15px;background:#fff;border:1px solid #ddd;border-radius:4px}.step-number{font-weight:700;color:#007bff;min-width:60px}.step-operation{font-weight:500;text-transform:uppercase;color:#333;min-width:120px}.step-inputs{flex:1;color:#666}.weights{color:#007bff}.step-actions{display:flex;gap:8px}.step-actions button{padding:6px 12px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer}.step-actions button:hover:not(:disabled){background:#f8f9fa}.step-actions button.danger{color:#dc3545;border-color:#dc3545}.step-actions button.danger:hover:not(:disabled){background:#dc3545;color:#fff}.add-step-button{padding:10px 20px;background:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500}.add-step-button:hover:not(:disabled){background:#218838}.step-previews{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.step-preview{background:#f8f9fa;padding:15px;border-radius:4px;border-left:4px solid #007bff}.step-preview h4{margin:0 0 5px}.step-warnings{color:#856404;margin-top:10px}.step-editor-modal{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;overflow-y:auto;padding:20px}.modal-content{background:#fff;padding:30px;border-radius:8px;max-width:800px;width:100%;max-height:90vh;overflow-y:auto}.operation-selector{margin-bottom:20px}.operation-selector label{display:block;margin-bottom:5px;font-weight:500}.operation-selector select{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:16px}.inputs-section{margin-bottom:20px}.inputs-list{display:flex;flex-direction:column;gap:10px;margin-bottom:15px}.input-row{display:flex;align-items:center;gap:10px;padding:10px;background:#f8f9fa;border:1px solid #ddd;border-radius:4px}.input-type{font-weight:500;min-width:80px}.input-details{flex:1;font-size:14px}.input-weight{display:flex;align-items:center;gap:5px}.input-weight input{width:80px;padding:5px;border:1px solid #ddd;border-radius:4px}.input-actions{display:flex;gap:5px}.input-actions button,.input-actions select{padding:5px 10px;border:1px solid #ddd;background:#fff;border-radius:4px;cursor:pointer;font-size:14px}.add-input-buttons{display:flex;gap:10px}.add-input-buttons button{padding:8px 16px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.add-input-buttons button:hover{background:#0056b3}.weight-controls{display:flex;justify-content:space-between;align-items:center;padding:10px;background:#e7f3ff;border-radius:4px;margin-top:10px}.weight-total{font-weight:500}.weight-controls button{padding:6px 12px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid #ddd}.modal-actions button{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:16px}.modal-actions button:not(.primary){background:#6c757d;color:#fff}.modal-actions button.primary{background:#007bff;color:#fff}.slice-editor-panel{background:#f8f9fa;padding:20px;border-radius:4px;margin-top:20px;border:2px solid #007bff}.slice-editor-panel h4,.slice-editor-panel h5{margin-top:0}.time-filter-section{margin-top:20px}.time-filter-editor{margin-top:10px}.time-filter-editor .filter-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;margin-bottom:10px}.time-filter-editor .filter-toggle input[type=checkbox]{cursor:pointer}.time-filter-controls{margin-top:15px;padding:15px;background:#fff;border-radius:4px;border:1px solid #ddd}.time-filter-controls .control-group{margin-bottom:15px}.time-filter-controls .control-group:last-child{margin-bottom:0}.time-filter-controls .timezone-display{padding:8px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;color:#495057;font-family:monospace;font-size:14px}.days-checkboxes{display:flex;gap:10px;flex-wrap:wrap}.days-checkboxes label{display:flex;align-items:center;gap:5px;cursor:pointer}.slice-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.slice-editor-actions button{padding:10px 20px;border:none;border-radius:4px;cursor:pointer}.slice-editor-actions button:not(.primary){background:#6c757d;color:#fff}.slice-editor-actions button.primary{background:#007bff;color:#fff}.post-processing-editor{padding:20px;background:#fff;border-radius:8px;border:1px solid #ddd;margin-bottom:20px}.post-processing-editor h3{margin-top:0;margin-bottom:20px;color:#333}.post-processing-editor .form-group{margin-bottom:20px}.post-processing-editor .form-group.indented{margin-left:30px;padding-left:20px;border-left:3px solid #007bff}.post-processing-editor label{display:flex;flex-direction:column;gap:5px;font-weight:500;color:#333}.post-processing-editor label.checkbox-label{flex-direction:row;align-items:center;gap:10px}.post-processing-editor input[type=number],.post-processing-editor select{padding:8px;border:1px solid #ddd;border-radius:4px;font-size:14px;max-width:300px}.post-processing-editor input[type=checkbox]{width:20px;height:20px;cursor:pointer}.post-processing-editor .help-text{font-size:12px;color:#666;margin-top:2px}.post-processing-editor .warning-message{margin-top:10px;padding:10px;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;color:#856404;font-size:14px}.operation-editor{margin-bottom:15px;border:2px solid #e0e0e0;border-radius:8px;background:#fff;overflow:hidden;transition:border-color .2s}.operation-editor:hover{border-color:#007bff}.operation-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;cursor:pointer;-webkit-user-select:none;user-select:none}.operation-header:hover{background:#e9ecef}.operation-summary{display:flex;align-items:center;gap:12px;flex:1}.operation-index{font-weight:600;color:#333}.operation-type-badge{padding:4px 12px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.operation-type-badge[data-type=add]{background:#d4edda;color:#155724}.operation-type-badge[data-type=subtract]{background:#f8d7da;color:#721c24}.operation-weight,.operation-stations{font-size:14px;color:#666}.operation-filter-badge{padding:4px 8px;background:#cfe2ff;color:#084298;border-radius:4px;font-size:12px;font-weight:500}.operation-actions{display:flex;gap:8px}.icon-button{background:none;border:1px solid #ddd;padding:4px 10px;border-radius:4px;cursor:pointer;font-size:14px;color:#666;transition:all .2s}.icon-button:hover{background:#f0f0f0;border-color:#999}.icon-button.danger:hover{background:#dc3545;border-color:#dc3545;color:#fff}.operation-details{padding:20px;background:#fff;border-top:1px solid #e0e0e0}.operation-controls{display:flex;flex-direction:column;gap:20px;margin-bottom:20px}.weight-proportion{margin-left:10px;font-size:14px;color:#007bff;font-weight:500}.intersection-controls{margin-top:10px;padding:12px;background:#f8f9fa;border-radius:4px;display:flex;flex-direction:column;gap:8px}.intersection-controls label{font-size:14px;font-weight:500}.intersection-controls input[type=number]{width:80px;padding:6px;border:1px solid #ced4da;border-radius:4px;margin:0 8px}.stations-section{margin-top:20px}.stations-section h4{margin-bottom:10px;color:#333}.stations-list{display:flex;flex-direction:column;gap:10px;margin-bottom:15px}.station-row{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px}.station-info strong{display:block;margin-bottom:5px;color:#333}.station-filters{display:flex;gap:8px;flex-wrap:wrap}.filter-badge{padding:3px 8px;background:#e7f3ff;color:#06c;border-radius:3px;font-size:12px}.filter-badge-empty{padding:3px 8px;background:#f0f0f0;color:#999;border-radius:3px;font-size:12px}.station-actions{display:flex;gap:8px}.station-actions button{padding:6px 12px;border:1px solid #ced4da;background:#fff;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.station-actions button:hover{background:#f0f0f0}.station-actions button.danger{color:#dc3545;border-color:#dc3545}.station-actions button.danger:hover{background:#dc3545;color:#fff}.add-station-button{padding:10px 16px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .2s}.add-station-button:hover{background:#0056b3}.station-editor-inline{margin-top:20px;padding:15px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:4px}.station-editor-inline h4{margin-bottom:10px;color:#333}.operation-actions-bottom{margin-top:20px;padding-top:15px;border-top:1px solid #e0e0e0;display:flex;justify-content:flex-end}.operation-actions-bottom button{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background .2s}.operation-actions-bottom button.primary{background:#28a745;color:#fff}.operation-actions-bottom button.primary:hover{background:#218838}.advanced-mode-view{max-width:1200px;margin:0 auto}.advanced-mode-view h2{margin-bottom:10px;color:#333}.advanced-mode-view .mode-description{color:#666;margin-bottom:30px;font-size:15px}.operations-section{margin-bottom:30px}.operations-section h3{margin-bottom:15px;color:#333}.operations-list{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.add-operation-button{padding:12px 24px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:15px;font-weight:500;transition:background .2s}.add-operation-button:hover{background:#0056b3}.add-operation-button:disabled{background:#ccc;cursor:not-allowed}.action-buttons{display:flex;gap:15px;justify-content:flex-end;margin-top:30px;padding-top:20px;border-top:2px solid #e0e0e0}.action-buttons button{padding:12px 24px;border:none;border-radius:4px;cursor:pointer;font-size:15px;font-weight:500;transition:background .2s}.action-buttons button:not(.primary){background:#6c757d;color:#fff}.action-buttons button:not(.primary):hover{background:#5a6268}.action-buttons button.primary{background:#28a745;color:#fff}.action-buttons button.primary:hover{background:#218838}.action-buttons button:disabled{background:#ccc;cursor:not-allowed}.operation-config{display:flex;flex-direction:column;gap:15px}.config-row{display:grid;grid-template-columns:150px 1fr;gap:15px;align-items:start}.config-row label:first-child{font-weight:500;color:#495057;padding-top:8px}.config-row select:not(.multi-select-stations),.config-row input[type=number]{padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;transition:border-color .2s}.config-row select:focus,.config-row input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.multi-select-stations{width:100%;padding:8px;border:1px solid #ced4da;border-radius:4px;font-size:14px;font-family:inherit}.multi-select-stations option{padding:6px}.multi-select-stations option:checked{background:#007bff;color:#fff}.help-text{font-size:12px;color:#6c757d;margin-top:4px;grid-column:2}.checkbox-row{grid-template-columns:1fr;gap:10px}.checkbox-row label{display:flex;align-items:center;gap:8px;cursor:pointer;padding-top:0!important}.checkbox-row input[type=checkbox]{cursor:pointer}.weight-input-group{display:flex;align-items:center;gap:10px;margin-left:28px}.weight-input-group input{width:100px;padding:6px 10px;border:1px solid #ced4da;border-radius:4px}.weight-info{color:#6c757d;font-size:13px}.filter-config-inline{margin-left:28px;margin-top:10px;padding:12px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px}.filter-config-inline label{display:inline-block;font-weight:500;color:#495057;margin-right:8px}.filter-config-inline input[type=number]{width:80px;padding:6px 10px;border:1px solid #ced4da;border-radius:4px}.filter-config-inline .help-text{display:block;margin-top:8px;margin-left:0}.filter-config-inline .time-filter-editor{margin-top:0}.filter-config-inline .time-filter-controls{background:#fff;margin-top:10px}.advanced-filters-section{margin-top:10px;padding:15px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px}.advanced-filters-section h4{margin:0 0 15px;color:#495057;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.filter-row{margin-bottom:15px}.filter-row:last-child{margin-bottom:0}.filter-row>label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;color:#495057;margin-bottom:10px}.filter-row input[type=checkbox]{cursor:pointer}.filter-config{margin-left:28px;padding:12px;background:#fff;border:1px solid #dee2e6;border-radius:4px}.filter-config label{display:inline-block;font-weight:500;color:#495057;margin-right:8px}.filter-config input[type=number]{width:80px;padding:6px 10px;border:1px solid #ced4da;border-radius:4px}.filter-config .help-text{display:block;margin-top:8px;margin-left:0}.operation-summary .operation-stations{flex:1;color:#495057;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:400px}.shared-filters-section{margin-top:20px;padding:15px;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px}.shared-filters-section h4{margin:0 0 15px;color:#495057;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.filter-control{display:flex;align-items:center;gap:10px}.filter-control label{font-weight:500;color:#495057;min-width:120px}.filter-control .add-filter-btn{padding:6px 12px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:background .2s}.filter-control .add-filter-btn:hover{background:#0056b3}.filter-value{display:flex;align-items:center;gap:8px}.filter-summary{padding:6px 12px;background:#fff;border:1px solid #ced4da;border-radius:4px;font-size:13px;color:#495057}.filter-value .edit-btn{padding:6px 10px;background:#fff;border:1px solid #ced4da;border-radius:4px;cursor:pointer;font-size:12px;color:#495057;transition:all .2s}.filter-value .edit-btn:hover{background:#f8f9fa;border-color:#007bff;color:#007bff}.filter-value .remove-btn{padding:4px 8px;background:#fff;border:1px solid #dc3545;border-radius:4px;cursor:pointer;font-size:16px;font-weight:700;color:#dc3545;line-height:1;transition:all .2s}.filter-value .remove-btn:hover{background:#dc3545;color:#fff}.filter-editor-modal{margin-top:15px;padding:15px;background:#fff;border:1px solid #ced4da;border-radius:6px;box-shadow:0 2px 8px #0000001a}.filter-editor-modal .modal-actions{margin-top:15px;display:flex;justify-content:flex-end;gap:10px}.filter-editor-modal .modal-actions button.primary{padding:8px 16px;background:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background .2s}.filter-editor-modal .modal-actions button.primary:hover{background:#0056b3}.stations-list{list-style:none;padding:0;margin:0 0 15px;display:flex;flex-direction:column;gap:8px}.station-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;transition:all .2s}.station-item:hover{border-color:#007bff;box-shadow:0 1px 4px #007bff1a}.station-name{font-size:14px;color:#212529;font-weight:500}.remove-station-btn{padding:2px 8px;background:transparent;border:1px solid #dc3545;border-radius:3px;cursor:pointer;font-size:18px;font-weight:700;color:#dc3545;line-height:1;transition:all .2s}.remove-station-btn:hover{background:#dc3545;color:#fff}.add-station-control{display:flex;align-items:center;gap:10px}.add-station-control label{font-weight:500;color:#495057;font-size:14px}.add-station-control select{flex:1;padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;background:#fff;cursor:pointer;transition:border-color .2s}.add-station-control select:hover:not(:disabled){border-color:#007bff}.add-station-control select:disabled{background:#e9ecef;cursor:not-allowed;color:#6c757d}.empty-state{padding:20px;text-align:center;color:#6c757d;font-style:italic;background:#f8f9fa;border:1px dashed #dee2e6;border-radius:4px;margin-bottom:15px}.pipeline-preview{background:#fff;padding:20px;border-radius:8px;border:1px solid #e0e0e0;margin-top:20px}.pipeline-preview.loading{display:flex;justify-content:center;align-items:center;min-height:200px}.loading-container{display:flex;flex-direction:column;align-items:center;gap:16px}.loading-spinner{width:48px;height:48px;border:4px solid #f3f3f3;border-top:4px solid #1db954;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-text{text-align:center}.loading-text strong{display:block;color:#333;font-size:16px;margin-bottom:8px}.loading-text p{color:#666;font-size:14px;margin:0}.pipeline-preview h3{margin-top:0;margin-bottom:20px;color:#333;border-bottom:2px solid #007bff;padding-bottom:10px}.pipeline-preview h4{color:#555;margin-top:20px;margin-bottom:15px;font-size:18px}.preview-warnings{background:#fff3cd;border:1px solid #ffc107;border-radius:4px;padding:15px;margin-bottom:20px}.warning-message{color:#856404;padding:5px 0;display:flex;align-items:center;gap:8px}.preview-steps{margin-bottom:30px}.steps-list{display:flex;flex-direction:column;gap:10px}.step-item{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:15px;transition:background .2s}.step-item:hover{background:#e9ecef}.step-header{display:flex;align-items:center;gap:15px}.step-number{font-weight:700;color:#007bff;font-size:14px}.step-operation{font-weight:500;color:#333;flex:1}.step-count{color:#28a745;font-weight:500;font-size:14px}.step-warnings{margin-top:10px;padding-top:10px;border-top:1px solid #dee2e6}.step-warning{color:#856404;font-size:13px;padding:3px 0}.preview-songs{margin-top:20px}.songs-list{display:flex;flex-direction:column;gap:8px}.song-item{border:1px solid #dee2e6;border-radius:6px;background:#fff;overflow:hidden;transition:box-shadow .2s}.song-item:hover{box-shadow:0 2px 8px #0000001a}.song-main{display:flex;align-items:center;justify-content:space-between;padding:15px;cursor:pointer}.song-info{flex:1}.song-title{font-weight:500;color:#333;font-size:15px;margin-bottom:4px}.song-artist{color:#666;font-size:14px}.song-meta{display:flex;align-items:center;gap:15px}.play-count{color:#6c757d;font-size:13px;background:#e9ecef;padding:4px 10px;border-radius:12px}.provenance-toggle{background:transparent;border:1px solid #007bff;color:#007bff;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.provenance-toggle:hover{background:#007bff;color:#fff}.song-provenance{background:#f8f9fa;border-top:1px solid #dee2e6;padding:15px}.provenance-header{font-weight:500;color:#555;margin-bottom:10px;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.provenance-steps{display:flex;flex-direction:column;gap:8px}.provenance-step{display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border-left:3px solid #007bff;border-radius:4px;font-size:14px}.provenance-step-number{font-weight:700;color:#007bff;min-width:60px}.provenance-operation{font-weight:500;color:#333;flex:1}.provenance-source{color:#666;font-style:italic}.empty-result{text-align:center;padding:40px;color:#6c757d;background:#f8f9fa;border:1px dashed #dee2e6;border-radius:6px}.version-history{background:#fff;padding:20px;border-radius:8px;border:1px solid #e0e0e0;margin-top:20px}.version-history.loading{display:flex;justify-content:center;align-items:center;min-height:200px}.version-history h3{margin-top:0;margin-bottom:20px;color:#333;border-bottom:2px solid #007bff;padding-bottom:10px}.version-history-list{display:flex;flex-direction:column;gap:12px}.version-item{border:1px solid #dee2e6;border-radius:6px;padding:15px;background:#f8f9fa;transition:all .2s}.version-item:hover{box-shadow:0 2px 8px #0000001a}.version-item.current{border-color:#007bff;border-width:2px;background:#e7f3ff}.version-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.version-info{display:flex;align-items:center;gap:15px}.version-number{font-weight:700;color:#007bff;font-size:16px}.version-timestamp{color:#6c757d;font-size:14px}.current-badge{background:#007bff;color:#fff;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.version-actions{display:flex;gap:10px}.rollback-button{background:#28a745;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:14px;transition:background .2s}.rollback-button:hover:not(:disabled){background:#218838}.rollback-button:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.expand-button{background:transparent;border:1px solid #007bff;color:#007bff;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.expand-button:hover{background:#007bff;color:#fff}.version-details{padding-top:15px;border-top:1px solid #dee2e6;margin-top:10px}.version-detail-section{margin-bottom:15px}.version-detail-section h4{font-size:14px;color:#555;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.version-operations{display:flex;flex-direction:column;gap:6px}.version-operation{background:#fff;padding:10px;border-radius:4px;border-left:3px solid #007bff;font-size:14px}.version-operation-type{font-weight:500;color:#333}.version-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}.version-filter-item{background:#fff;padding:8px 12px;border-radius:4px;font-size:13px;color:#666;border:1px solid #dee2e6}.version-post-processing{background:#fff;padding:10px;border-radius:4px;font-size:14px}.version-pp-item{display:flex;justify-content:space-between;padding:4px 0}.version-pp-label{color:#666}.version-pp-value{font-weight:500;color:#333}.no-versions{text-align:center;padding:40px;color:#6c757d;background:#f8f9fa;border:1px dashed #dee2e6;border-radius:6px}.error-message{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24;padding:15px;border-radius:4px;margin-bottom:20px}.station-selector-row{flex-direction:column;align-items:flex-start}.station-multi-select{width:100%;display:flex;flex-direction:column;gap:12px}.selected-stations-tags{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;min-height:48px}.station-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:#007bff;color:#fff;border-radius:16px;font-size:14px;font-weight:500}.station-tag .remove-station{background:none;border:none;color:#fff;font-size:20px;line-height:1;cursor:pointer;padding:0 4px;margin-left:4px;opacity:.8;transition:opacity .2s}.station-tag .remove-station:hover{opacity:1}.available-stations{display:flex;flex-wrap:wrap;gap:8px;max-height:200px;overflow-y:auto;padding:8px;border:1px solid #e9ecef;border-radius:6px;background:#fff}.add-station-btn{padding:8px 14px;background:#fff;color:#495057;border:1px solid #ced4da;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s;white-space:nowrap}.add-station-btn:hover{background:#e7f3ff;border-color:#007bff;color:#007bff}.modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:24px;font-weight:600;color:#111827}.close-btn{background:none;border:none;font-size:32px;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-btn:hover{background-color:#f3f4f6;color:#111827}.modal-body{padding:24px;overflow-y:auto;flex:1}.step-indicator{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.step{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1}.step-number{width:40px;height:40px;border-radius:50%;background-color:#e5e7eb;color:#6b7280;display:flex;align-items:center;justify-content:center;font-weight:600;transition:all .3s}.step.active .step-number,.step.completed .step-number{background-color:#1db954;color:#fff}.step-label{font-size:14px;color:#6b7280;font-weight:500}.step.active .step-label{color:#111827}.step-divider{flex:1;height:2px;background-color:#e5e7eb;margin:0 8px 28px}.step-content{animation:fadeIn .3s ease-in}.step-content label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:8px}.step-content input[type=text]{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;transition:border-color .2s}.step-content input[type=text]:focus{outline:none;border-color:#1db954;box-shadow:0 0 0 3px #1db9541a}.help-text{margin-top:12px;font-size:14px;color:#6b7280;line-height:1.5}.station-list{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto;padding:4px}.station-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.station-item:hover{background-color:#f9fafb;border-color:#1db954}.station-item input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#1db954}.station-info{flex:1;display:flex;align-items:center;gap:8px}.station-name{font-weight:500;color:#111827}.review-section{margin-bottom:24px}.review-section h3{font-size:16px;font-weight:600;color:#374151;margin-bottom:8px}.review-section p{font-size:16px;color:#111827;margin:0}.station-review-list{list-style:none;padding:0;margin:0}.station-review-list li{padding:8px 0;color:#111827;border-bottom:1px solid #e5e7eb}.station-review-list li:last-child{border-bottom:none}.loading-container{display:flex;justify-content:center;align-items:center;min-height:200px}.modal-footer{display:flex;gap:12px;padding:24px;border-top:1px solid #e5e7eb}.spacer{flex:1}.btn{padding:12px 24px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;border:none;display:flex;align-items:center;gap:8px}.btn-secondary{background-color:#f3f4f6;color:#374151}.dashboard-page{min-height:100vh;background:#f5f5f5}.dashboard-header{background:#fff;padding:1.5rem 2rem;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;align-items:center}.dashboard-header h1{margin:0;font-size:1.5rem;color:#1db954}.user-info{display:flex;align-items:center;gap:1rem;color:#333}.logout-button{padding:.5rem 1rem;background:#f0f0f0;border:none;border-radius:4px;cursor:pointer;transition:background .2s}.logout-button:hover{background:#e0e0e0}.stations-button{padding:.5rem 1rem;background:#667eea;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background .2s;font-weight:500}.stations-button:hover{background:#5568d3}.dashboard-content{max-width:1600px;margin:0 auto;padding:2rem}.dashboard-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.dashboard-title h2{margin:0;font-size:2rem;color:#1a1a1a}.create-button{padding:.75rem 1.5rem;background:#1db954;color:#fff;border:none;border-radius:50px;font-weight:600;cursor:pointer;transition:all .2s}.create-button:hover{background:#1ed760;transform:translateY(-2px)}.empty-state{text-align:center;padding:4rem 2rem;background:#fff;border-radius:12px}.empty-state-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{margin:0 0 .5rem;font-size:1.5rem;color:#1a1a1a}.empty-state p{color:#666;margin:0 0 2rem}.create-button-large{padding:1rem 2rem;background:#1db954;color:#fff;border:none;border-radius:50px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s}.create-button-large:hover{background:#1ed760;transform:translateY(-2px)}.playlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.playlist-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;transition:transform .2s,box-shadow .2s}.playlist-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.playlist-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.playlist-header h3{margin:0;font-size:1.25rem;flex:1;color:#1a1a1a}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.status-badge.active{background:#d4edda;color:#155724}.status-badge.paused{background:#fff3cd;color:#856404}.playlist-info{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem;padding:1rem;background:#f8f9fa;border-radius:8px}.info-item{display:flex;justify-content:space-between}.info-item .label{color:#666;font-size:.9rem}.info-item .value{font-weight:600;color:#1a1a1a}.playlist-actions{display:flex;gap:.5rem}.action-button{flex:1;padding:.5rem;background:#1db954;color:#fff;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:background .2s}.action-button:hover{background:#1ed760}.action-button.secondary{background:#f0f0f0;color:#333}.action-button.secondary:hover{background:#e0e0e0}.error-message{text-align:center;padding:2rem;color:#d32f2f;background:#fff;border-radius:8px;margin:2rem}.superuser-panel{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem;box-shadow:0 4px 12px #00000026}.superuser-panel h3{margin:0 0 1rem;font-size:1.25rem;display:flex;align-items:center;gap:.5rem}.admin-actions{display:flex;gap:1rem;flex-wrap:wrap}.admin-button{padding:.75rem 1.5rem;background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.admin-button:hover:not(:disabled){background:#ffffff4d;border-color:#ffffff80;transform:translateY(-2px)}.admin-button:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.dashboard-header{flex-direction:column;gap:1rem;align-items:flex-start}.dashboard-title{flex-direction:column;align-items:flex-start;gap:1rem}.playlist-grid{grid-template-columns:1fr}}.recent-plays-container{display:flex;flex-direction:column;gap:1rem}.recent-plays-loading{display:flex;justify-content:center;padding:3rem 0}.recent-plays-spinner{width:2rem;height:2rem;border:3px solid #e5e7eb;border-top-color:#1db954;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.recent-plays-error{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:1rem;color:#991b1b}.recent-plays-empty{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:2rem;text-align:center;color:#6b7280}.recent-plays-filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column}.filter-group label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.filter-group select{border:1px solid #d1d5db;border-radius:6px;padding:.5rem .75rem;font-size:.875rem;color:#1a1a1a;background-color:#fff;cursor:pointer}.filter-group select:focus{outline:none;border-color:#1db954;box-shadow:0 0 0 3px #1db9541a}.plays-count{margin-left:auto;font-size:.875rem;color:#6b7280}.plays-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.plays-table-wrapper{overflow-x:auto}.plays-table{width:100%;border-collapse:collapse}.plays-table thead{background-color:#f9fafb}.plays-table thead tr{border-bottom:1px solid #e5e7eb}.plays-table th{padding:.75rem 1rem;text-align:left;font-size:.75rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.plays-table tbody{background:#fff}.plays-table tbody tr{border-bottom:1px solid #e5e7eb}.plays-table tbody tr:last-child{border-bottom:none}.plays-table tbody tr:hover{background-color:#f9fafb}.plays-table td{padding:.75rem 1rem;font-size:.875rem}.plays-table .cell-artist,.plays-table .cell-title{color:#111827;font-weight:500}.plays-table .cell-station,.plays-table .cell-played{color:#6b7280}@media (max-width: 768px){.recent-plays-filters{flex-direction:column;align-items:stretch}.plays-count{margin-left:0}}.playlist-detail-page{min-height:100vh;background:linear-gradient(to bottom,#f9fafb,#fff);padding:24px}.tabs-container{display:flex;gap:8px;border-bottom:2px solid #e5e7eb;max-width:1200px;margin:0 auto 24px}.tab{padding:12px 24px;background:none;border:none;border-bottom:2px solid transparent;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s;margin-bottom:-2px}.tab:hover{color:#374151}.tab.active{color:#1db954;border-bottom-color:#1db954}.page-header{display:flex;align-items:center;gap:16px;margin-bottom:32px}.back-button{padding:8px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.back-button:hover{background:#f9fafb;border-color:#1db954}.page-header h1{font-size:32px;font-weight:700;color:#111827;margin:0}.playlist-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr;gap:24px}.plays-section{grid-column:1 / -1;background:#fff;border-radius:12px;padding:32px;box-shadow:0 1px 3px #0000001a}@media (max-width: 768px){.playlist-content{grid-template-columns:1fr}}.info-section{background:#fff;border-radius:12px;padding:32px;box-shadow:0 1px 3px #0000001a}.info-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.info-header h2{font-size:28px;font-weight:700;color:#111827;margin:0}.status-badges{display:flex;gap:8px}.status-badge{padding:6px 12px;border-radius:6px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:4px}.status-badge.active{background-color:#d1fae5;color:#065f46}.status-badge.paused{background-color:#fef3c7;color:#92400e}.status-badge.frozen{background-color:#dbeafe;color:#1e40af}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px;margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid #e5e7eb}.info-item{display:flex;flex-direction:column;gap:4px}.info-item .label{font-size:14px;color:#6b7280;font-weight:500}.info-item .value{font-size:20px;color:#111827;font-weight:600}.stations-list h3{font-size:18px;font-weight:600;color:#374151;margin:0 0 16px}.stations-list ul{list-style:none;padding:0;margin:0}.stations-list li{padding:12px;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;font-weight:500;color:#111827}.station-disabled-badge{font-size:12px;padding:2px 8px;background-color:#fef3c7;color:#92400e;border-radius:4px;font-weight:500}.edit-form{animation:fadeIn .3s ease-in}.form-group{margin-bottom:24px}.form-group label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:8px}.form-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;transition:border-color .2s}.form-input:focus{outline:none;border-color:#1db954;box-shadow:0 0 0 3px #1db9541a}.station-checkboxes{display:flex;flex-direction:column;gap:8px}.checkbox-label{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.checkbox-label:hover{background-color:#f9fafb;border-color:#1db954}.checkbox-label input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#1db954}.form-actions{display:flex;gap:12px;margin-top:24px}.actions-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;height:fit-content}.actions-section h3{font-size:20px;font-weight:600;color:#111827;margin:0 0 16px}.action-group{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}.danger-zone{padding-top:24px;border-top:1px solid #e5e7eb}.danger-zone h4{font-size:16px;font-weight:600;color:#dc2626;margin:0 0 12px}.help-text{font-size:14px;color:#6b7280;margin:8px 0 0;line-height:1.5}.btn{width:100%;padding:12px 20px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;border:none;display:flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background-color:#1db954;color:#fff}.btn-primary:hover:not(:disabled){background-color:#1ed760;transform:translateY(-1px);box-shadow:0 4px 12px #1db9544d}.btn-secondary{background-color:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover:not(:disabled){background-color:#059669}.btn-warning{background-color:#f59e0b;color:#fff}.btn-warning:hover:not(:disabled){background-color:#d97706}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}.btn:disabled{opacity:.6;cursor:not-allowed}.error-message{text-align:center;padding:48px 24px;color:#dc2626;font-size:18px}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.stations-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.stations-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;color:#fff}.stations-header h1{margin:0 0 1rem;font-size:2.5rem}.back-button{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.95rem;transition:all .2s}.stations-content{max-width:1200px;margin:0 auto}.stations-section{margin-bottom:3rem}.stations-section h2{color:#fff;margin-bottom:1.5rem;font-size:1.5rem}.stations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.station-card{background:#fff;border-radius:12px;padding:1.5rem;display:flex;align-items:center;gap:1rem;box-shadow:0 4px 6px #0000001a;transition:all .3s}.station-card.active{cursor:pointer}.station-card.active:hover{transform:translateY(-4px);box-shadow:0 8px 12px #0003}.station-card.inactive{opacity:.6}.station-icon{font-size:3rem;flex-shrink:0}.station-info{flex:1}.station-info h3{margin:0 0 .5rem;font-size:1.25rem;color:#333}.station-id{margin:0 0 .25rem;font-size:.85rem;color:#666;font-family:monospace}.station-country{margin:0;font-size:.9rem;color:#888}.station-status{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:500;flex-shrink:0}.station-status.active{background:#d4edda;color:#155724}.station-status.inactive{background:#f8d7da;color:#721c24}.status-dot{width:8px;height:8px;border-radius:50%;animation:pulse 2s ease-in-out infinite}.station-status.active .status-dot{background:#28a745}.station-status.inactive .status-dot{background:#dc3545}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.error-message{background:#fff;border-radius:12px;padding:2rem;text-align:center;color:#dc3545;box-shadow:0 4px 6px #0000001a;max-width:500px;margin:2rem auto}.station-detail-page{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.station-detail-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;color:#fff}.back-button{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.95rem;transition:all .2s;margin-bottom:1rem}.back-button:hover{background:#ffffff4d;transform:translate(-2px)}.station-title{display:flex;align-items:center;gap:1rem}.station-icon{font-size:4rem}.station-title h1{margin:0;font-size:2.5rem}.station-meta{margin:.5rem 0 0;font-size:1rem;opacity:.9;display:flex;align-items:center;gap:1rem}.station-id{font-family:monospace;background:#fff3;padding:.25rem .5rem;border-radius:4px}.station-detail-content{max-width:1400px;margin:0 auto}.controls{background:#fff;padding:1rem 1.5rem;border-radius:12px;margin-bottom:1.5rem;box-shadow:0 4px 6px #0000001a}.controls label{display:flex;align-items:center;gap:1rem;font-weight:500;color:#333}.controls select{padding:.5rem 1rem;border:1px solid #ddd;border-radius:8px;font-size:.95rem;cursor:pointer;background:#fff}.controls select:focus{outline:none;border-color:#667eea}.content-grid{display:grid;grid-template-columns:1fr 2fr;gap:1.5rem;align-items:start}@media (max-width: 1024px){.content-grid{grid-template-columns:1fr}}.top-songs-section,.recent-plays-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px #0000001a}.top-songs-section h2,.recent-plays-section h2{margin:0 0 1.5rem;color:#333;font-size:1.5rem}.top-songs-list,.plays-list{display:flex;flex-direction:column;gap:1rem}.top-song-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:linear-gradient(135deg,#f5f7fa,#e8ecf1);border-radius:8px;transition:transform .2s}.top-song-item:hover{transform:translate(4px)}.rank{font-size:2rem;font-weight:700;color:#667eea;min-width:50px;text-align:center}.song-details{flex:1}.song-title,.play-title{font-weight:600;color:#333;margin-bottom:.25rem;font-size:1.05rem}.song-artist,.play-artist{color:#666;font-size:.9rem}.play-count{display:flex;flex-direction:column;align-items:center;background:#fff;padding:.75rem 1rem;border-radius:8px;min-width:80px}.play-count .count{font-size:1.5rem;font-weight:700;color:#667eea}.play-count .label{font-size:.75rem;color:#888;text-transform:uppercase}.play-item{display:flex;gap:1rem;padding:1rem;border-bottom:1px solid #eee;transition:background .2s}.play-item:last-child{border-bottom:none}.play-item:hover{background:#f8f9fa}.play-time{display:flex;flex-direction:column;min-width:120px;font-size:.85rem}.time-absolute{color:#333;font-weight:500}.time-relative{color:#888;margin-top:.25rem}.play-details{flex:1}.no-data{text-align:center;padding:2rem;color:#888;font-style:italic}.user-info{display:flex;align-items:center;gap:1rem;color:#fff}.logout-button{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.95rem;transition:all .2s}.logout-button:hover{background:#ffffff4d}.error-message{background:#fff;border-radius:12px;padding:2rem;text-align:center;color:#dc3545;box-shadow:0 4px 6px #0000001a}.statistics-section{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 4px 6px #0000001a}.statistics-section h2{margin:0 0 1.5rem;color:#333;font-size:1.5rem}.stat-period-display{background:#f8f9fa;border-radius:8px;padding:1.5rem;border:1px solid #e0e0e0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.stat-period-card{background:#f8f9fa;border-radius:8px;padding:1.25rem;border:1px solid #e0e0e0}.stat-period-card h3{margin:0 0 1rem;color:#667eea;font-size:1.1rem;font-weight:600}.stat-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1rem}.stat-item{background:#fff;padding:1rem;border-radius:6px;border:1px solid #e0e0e0}.stat-label{font-size:.85rem;color:#666;margin-bottom:.5rem;font-weight:500}.stat-value{font-size:1.5rem;font-weight:700;color:#333}.stat-detail{font-size:.8rem;color:#888;margin-top:.25rem}.stat-subsection{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.stat-subsection h4{margin:0 0 1rem;color:#555;font-size:1rem;font-weight:600}.decade-chart{display:flex;flex-direction:column;gap:.75rem}.decade-bar{display:grid;grid-template-columns:80px 1fr 50px;gap:.75rem;align-items:center}.decade-label{font-size:.9rem;font-weight:500;color:#555}.decade-bar-container{background:#e0e0e0;height:24px;border-radius:4px;overflow:hidden}.decade-bar-fill{background:linear-gradient(90deg,#667eea,#764ba2);height:100%;transition:width .3s ease;min-width:2px}.decade-count{font-size:.9rem;font-weight:600;color:#333;text-align:right}
