:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-theme=light]{--bg-primary: #ffffff;--bg-secondary: #ffffff;--bg-card: #ffffff;--text-primary: #333;--text-secondary: #2d3748;--text-tertiary: #4a5568;--text-muted: #a0aec0;--border-primary: #cbd5f5;--border-secondary: #e2e8f0;--shadow-color: rgba(28, 46, 85, .06);--shadow-light: rgba(15, 23, 42, .04);--scrollbar-thumb: rgba(79, 92, 121, .2)}[data-theme=dark]{--bg-primary: #0f172a;--bg-secondary: #1e293b;--bg-card: #1e293b;--text-primary: #e2e8f0;--text-secondary: #cbd5e1;--text-tertiary: #94a3b8;--text-muted: #64748b;--border-primary: #334155;--border-secondary: #475569;--shadow-color: rgba(0, 0, 0, .3);--shadow-light: rgba(0, 0, 0, .2);--scrollbar-thumb: rgba(148, 163, 184, .3)}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}html{background:var(--bg-primary);height:100%}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg-primary);color:var(--text-primary);line-height:1.5;padding:16px;min-height:100vh;display:flex;flex-direction:column;align-items:center;transition:background-color .3s ease,color .3s ease}#root{display:flex;flex-direction:column;width:100%;max-width:800px;min-height:calc(100vh - 32px)}.dashboard{max-width:800px;margin:auto 0;width:100%;display:flex;flex-direction:column}.info-header{display:flex;justify-content:center;gap:24px;margin-bottom:20px;padding:16px;background:var(--bg-card);border:2px solid var(--border-primary);border-radius:8px;box-shadow:0 4px 12px var(--shadow-color);transition:background-color .3s ease,border-color .3s ease}.info-item{display:flex;flex-direction:column;align-items:center;gap:4px}.info-label{font-size:.75rem;color:var(--text-muted);font-weight:500;text-transform:uppercase;letter-spacing:.5px;transition:color .3s ease}.info-value{font-size:.9rem;color:var(--text-secondary);font-weight:600;transition:color .3s ease}.charts-container{display:flex;gap:16px;align-items:stretch}.section{flex:1;border:2px solid var(--border-primary);border-radius:8px;padding:14px;background:var(--bg-card);box-shadow:0 4px 12px var(--shadow-color);display:flex;flex-direction:column;transition:background-color .3s ease,border-color .3s ease}.section-body{overflow-y:auto;display:flex;flex-direction:column;flex:1}.section-body::-webkit-scrollbar{display:none}.section-body{-ms-overflow-style:none;scrollbar-width:none}.section-title{font-size:1rem;font-weight:600;color:var(--text-secondary);margin-bottom:10px;display:flex;align-items:center;justify-content:center;position:sticky;top:0;background:var(--bg-card);padding-bottom:6px;transition:color .3s ease,background-color .3s ease}.charts-grid{display:flex;flex-direction:column;gap:10px}.chart-card{background:var(--bg-card);border:1px solid var(--border-secondary);border-radius:5px;padding:10px 12px;box-shadow:0 2px 4px var(--shadow-light);flex-shrink:0;transition:background-color .3s ease,border-color .3s ease}.chart-content{overflow-y:visible;padding-right:6px}.chart-content::-webkit-scrollbar{width:4px}.chart-content::-webkit-scrollbar-track{background:transparent}.chart-content::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}.chart-header{display:flex;align-items:center;margin-bottom:6px}.chart-header h3{font-size:.95rem;font-weight:500;color:var(--text-tertiary);transition:color .3s ease}.chart-item{padding:4px 0;color:var(--text-secondary);border-bottom:1px solid var(--border-secondary);font-size:.85rem;transition:color .3s ease,border-color .3s ease}.chart-item:last-child{border-bottom:none}.no-data{color:var(--text-muted);font-style:italic;padding:15px 0;transition:color .3s ease}.song-list-button{margin-top:12px;width:100%;padding:12px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.song-list-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.song-list-button:active{transform:translateY(0)}.melon-chart-button{margin-top:auto;background:linear-gradient(135deg,#00cd3c,#00a632);box-shadow:0 4px 12px #00cd3c4d}.melon-chart-button:hover{box-shadow:0 6px 16px #00cd3c66}.modal-header-right{display:flex;align-items:center;gap:8px}.melon-updated-time{font-size:.75rem;color:var(--text-muted)}.melon-refresh-btn{background:none;border:none;font-size:1.1rem;cursor:pointer;padding:4px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}.melon-refresh-btn:hover{background:var(--border-secondary)}.melon-refresh-btn:disabled{cursor:default}.melon-chart-item{display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid var(--border-secondary);transition:background-color .2s}.melon-chart-item:last-child{border-bottom:none}.melon-chart-item:hover{background:var(--bg-secondary)}.melon-rank{font-size:.9rem;font-weight:700;color:var(--text-muted);min-width:32px;text-align:right;flex-shrink:0}.melon-title{font-size:.95rem;font-weight:600;color:var(--text-secondary);flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.melon-artist{font-size:.8rem;color:var(--text-muted);white-space:nowrap;flex-shrink:0;border:1px solid var(--border-secondary);border-radius:4px;padding:2px 7px}.modal-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{background:var(--bg-card);border-radius:12px;width:90%;max-width:600px;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #00000080;border:2px solid var(--border-primary)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:2px solid var(--border-secondary)}.modal-header h2{margin:0;font-size:1.25rem;color:var(--text-secondary)}.modal-close{background:none;border:none;font-size:1.5rem;color:var(--text-tertiary);cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .3s ease}.modal-close:hover{background:var(--border-secondary);color:var(--text-secondary)}.modal-body{padding:8px 12px;overflow-y:auto;flex:1}.modal-body::-webkit-scrollbar{width:8px}.modal-body::-webkit-scrollbar-track{background:transparent}.modal-body::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:999px}@media(max-width:768px){body{padding:12px}#root{min-height:calc(100vh - 24px)}.charts-container{flex-direction:column;gap:16px}.info-header{flex-direction:column;gap:12px;padding:12px}.info-item{flex-direction:row;justify-content:space-between;width:100%;padding:8px 0;border-bottom:1px solid var(--border-secondary)}.info-item:last-child{border-bottom:none}.section{padding:12px}.section-title{font-size:.9rem}.chart-card{padding:8px 10px}.chart-header h3{font-size:.85rem}.chart-item{font-size:.8rem;padding:3px 0}}@media(max-width:480px){body{padding:8px}#root{min-height:calc(100vh - 16px)}.info-header{padding:10px}.info-label{font-size:.7rem}.info-value{font-size:.85rem}.section{padding:10px;border-width:1px}.charts-container{gap:12px}.modal-content{width:95%;max-height:85vh}.modal-header{padding:16px}.modal-header h2{font-size:1.1rem}.modal-body{padding:16px}.song-item{font-size:.85rem;padding:8px 10px}}@media(max-width:600px){html,body{width:100vw!important;min-width:0!important;max-width:100vw!important;overflow-x:hidden!important;padding:0!important}.dashboard{max-width:100vw!important;margin:0!important;padding:0!important}.section{border-radius:0!important;box-shadow:none!important;margin-bottom:16px!important;width:100vw!important;min-width:0!important;max-width:100vw!important;left:0!important;right:0!important}}.footer{margin-top:auto;padding:20px;background:transparent;width:100%;text-align:center}.footer-content{text-align:center;color:var(--text-muted);font-size:.85rem;font-weight:400;letter-spacing:.3px;transition:color .3s ease}@media(max-width:768px){.footer{padding:15px;margin-top:20px}.footer-content{font-size:.75rem}}@media(max-width:480px){.footer{padding:12px;margin-top:16px}.footer-content{font-size:.7rem}}
