*{margin:0;padding:0;box-sizing:border-box}body{background:linear-gradient(135deg,#1a1a1a,#2d2d2d);min-height:100vh;color:#fff;line-height:1.6;font-family:Raleway,sans-serif;font-optical-sizing:auto;font-weight:400;font-style:normal}.container{max-width:1400px;margin:0 auto;padding:20px;min-height:100vh;display:flex;flex-direction:column}.header{text-align:center;margin-bottom:30px;background:#2d2d2df2;padding:30px;border-radius:20px;box-shadow:0 10px 30px #0000004d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,0,.1)}.header h1{font-size:2.5rem;font-weight:700;margin-bottom:10px;background:linear-gradient(135deg,gold,#ffed4e);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header p{font-size:1.1rem;color:#ccc;font-weight:500}.header-content{display:flex;align-items:center;justify-content:center}.header-text{text-align:center}.producer-comparison,.combined-video-chart{margin-bottom:40px}.charts-container{display:flex;flex-direction:column;gap:30px;margin-top:20px}.chart-card{background:#1a1a1a;border-radius:20px;padding:30px;box-shadow:0 10px 30px #0000004d;border:1px solid rgba(255,255,0,.1);transition:all .3s ease}.chart-card.large{padding:40px}.chart-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px #0006;border-color:#ff03}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding-bottom:0}.chart-header h2{font-size:1.8rem;font-weight:700;color:#fff}.chart-controls{display:flex;align-items:center;gap:15px}.chart-controls label{font-weight:600;color:gold;white-space:nowrap}.chart-controls select{padding:10px 15px;border:2px solid #444444;border-radius:10px;font-size:.9rem;background:#2d2d2d;color:#fff;cursor:pointer;transition:all .3s ease}.chart-controls select:focus{outline:none;border-color:gold;box-shadow:0 0 0 3px #ffd7001a}.chart-controls select option{background:#2d2d2d;color:#fff}.chart-subheader{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:2px solid #333333}.platform-links{display:flex;gap:8px}.platform-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#ffffff1a;color:#fff;text-decoration:none;transition:all .2s ease;border:1px solid rgba(255,255,255,.2)}.platform-icon:hover{transform:scale(1.1);background:#fff3}.youtube-icon:hover{background:#ff00004d;border-color:red}.tiktok-icon:hover{background:#ffffff4d;border-color:#fff}.instagram-icon:hover{background:#ff69b44d;border-color:#ff69b4}.performance-indicators{display:flex;gap:4px;align-items:center}.performance-arrow-container{display:flex;align-items:center;justify-content:center;width:32px;height:32px;cursor:pointer}.performance-arrow{animation:pulse 2s ease-in-out infinite;display:flex;align-items:center}.performance-arrow svg{width:24px;height:24px;stroke:currentColor;stroke-width:2;fill:none}.performance-arrow svg path,.performance-arrow svg text{fill:currentColor}.youtube-arrow{color:red}.tiktok-arrow{color:#fff}.instagram-arrow{color:#ff69b4}.all-arrow{color:gold}.value-indicator-container{display:flex;align-items:center;justify-content:center;width:32px;height:32px;cursor:pointer}.value-indicator{color:#10b981;font-weight:700;font-size:18px}@keyframes pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}.total-contribution{font-size:.9rem;font-weight:600;color:gold;text-align:right;min-width:60px}.chart-container-large{height:500px;margin-bottom:20px}.chart-container-large canvas{width:100%!important;height:100%!important}.producer-legend{display:flex;gap:16px;margin-top:24px;flex-wrap:wrap;justify-content:center}.legend-item{border-radius:12px;padding:12px;transition:all .3s ease;opacity:1;transform:scale(1)}.legend-item:hover{transform:scale(1.05);box-shadow:0 8px 25px #0000004d}.legend-item.hidden{opacity:.3;transform:scale(.95)}.producer-card{display:flex;align-items:center;gap:12px;min-width:160px}.producer-profile{position:relative;width:64px;height:64px;border-radius:50%;overflow:visible;flex-shrink:0}.producer-profile .profile-image{width:100%;height:100%;object-fit:cover}.producer-profile .fallback-icon{display:none;width:100%;height:100%;background:#fff3;color:#fff;font-size:20px;align-items:center;justify-content:center}.producer-info{flex:1;min-width:0}.producer-name{font-weight:600;color:#fff;font-size:14px;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.all-count{font-weight:700;color:#fff;font-size:16px;margin-bottom:4px}.producer-video-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.producer-video-count{font-weight:700;color:#fff;font-size:14px}.producer-solo-count{font-weight:400;color:#fffc;font-size:14px}.producer-breakdown{display:flex;gap:8px;font-size:11px;color:#fffc}.youtube-count,.tiktok-count,.instagram-count{white-space:nowrap}.clickable-title{cursor:pointer;transition:all .2s ease}.clickable-title:hover{text-decoration:underline;color:gold}.youtube-player-fixed{position:fixed;bottom:20px;right:20px;width:380px;background:#1a1a1a;border-radius:12px;box-shadow:0 8px 25px #0009;z-index:1000;border:1px solid rgba(255,255,255,.1);animation:slideInFromRight .3s ease-out}@keyframes slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.youtube-player-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.1)}.youtube-player-header h4{color:#fff;margin:0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.youtube-player-content{padding:12px}.youtube-player-content iframe{border-radius:8px;width:100%;height:640px}.close-button{background:none;border:none;color:#ccc;font-size:20px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;flex-shrink:0}.close-button:hover{background:#333;color:#fff}.crown{position:absolute;top:-52px;left:50%;transform:translate(-50%);font-size:53px;z-index:10;animation:crownBob 2s ease-in-out infinite}@keyframes crownBob{0%,to{transform:translate(-50%) translateY(0)}50%{transform:translate(-50%) translateY(-3px)}}.stink-lines{position:absolute;top:-33px;left:50%;transform:translate(-50%);z-index:1;display:flex;gap:5px}.stink-line{width:20px;height:40px;animation:stinkSquiggle 3s ease-in-out infinite}.stink-line.left{animation:stinkSquiggleLeft 3s ease-in-out infinite;animation-delay:0s}.stink-line.center{animation:stinkSquiggle 3s ease-in-out infinite;animation-delay:.5s}.stink-line.right{animation:stinkSquiggleRight 3s ease-in-out infinite;animation-delay:1s}.sine-path{animation:sineWave 16s ease-in-out infinite;opacity:.5}@keyframes stinkSquiggle{0%,to{transform:translateY(0);opacity:.7}25%{transform:translateY(-5px);opacity:1}50%{transform:translateY(-10px);opacity:.8}75%{transform:translateY(-5px);opacity:1}}@keyframes stinkSquiggleLeft{0%,to{transform:rotate(-20deg) translateY(0);opacity:.7}25%{transform:rotate(-20deg) translateY(-5px);opacity:1}50%{transform:rotate(-20deg) translateY(-10px);opacity:.8}75%{transform:rotate(-20deg) translateY(-5px);opacity:1}}@keyframes stinkSquiggleRight{0%,to{transform:rotate(20deg) translateY(0);opacity:.7}25%{transform:rotate(20deg) translateY(-5px);opacity:1}50%{transform:rotate(20deg) translateY(-10px);opacity:.8}75%{transform:rotate(20deg) translateY(-5px);opacity:1}}@keyframes sineWave{0%,to{d:path("M10 0 Q15 8 10 16 Q5 24 10 32 Q15 40 10 40")}25%{d:path("M10 0 Q5 8 10 16 Q15 24 10 32 Q5 40 10 40")}50%{d:path("M10 0 Q15 8 10 16 Q5 24 10 32 Q15 40 10 40")}75%{d:path("M10 0 Q5 8 10 16 Q15 24 10 32 Q5 40 10 40")}}.profile-image{width:100%;height:100%;object-fit:cover;border-radius:50%}.fallback-icon{display:none;width:100%;height:100%;align-items:center;justify-content:center;font-size:12px;color:#1a1a1a;background:#ffffffe6}.video-charts{margin-bottom:40px}.video-charts h2{font-size:1.8rem;font-weight:700;color:#fff;margin-bottom:30px;text-align:center}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px}.chart-container{background:#1a1a1a;border-radius:15px;padding:12px 24px;box-shadow:0 5px 20px #0000004d;transition:all .3s ease;border:1px solid rgba(255,255,0,.1);display:flex;flex-direction:column;position:relative;z-index:2}.chart-container:hover{transform:translateY(-5px);box-shadow:0 15px 40px #0006;border-color:#ff03}.chart-title{font-size:1.2rem;font-weight:700;color:#fff;flex:1}.total-views-display{font-size:1.8rem;font-weight:700;color:gold;text-align:right;min-width:80px;margin:-8px 0 4px}.producer-bubbles{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;position:relative;z-index:1}.producer-bubble{padding:4px 8px;border-radius:15px;font-size:.65rem;font-weight:600;color:#1a1a1a;border:2px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:6px}.producer-bubble .producer-name{margin-bottom:0}.producer-bubble .producer-name{line-height:1}.producer-icon{width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;color:#1a1a1a;overflow:hidden;position:relative}.chart-container canvas{flex:1;max-height:200px!important;width:100%!important}.footer{text-align:center;padding:20px;background:#2d2d2de6;border-radius:15px;box-shadow:0 5px 20px #0000004d;border:1px solid rgba(255,255,0,.1)}.footer-timestamps{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:2rem}.footer p{color:#ccc;font-size:.9rem;margin:5px 0;white-space:nowrap}.debug-buttons{display:flex;justify-content:center;gap:1rem;margin-top:1rem}.debug-button{background:linear-gradient(135deg,#ff6b6b,#ee5a52);color:#fff;border:none;padding:8px 16px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #ff6b6b4d}.debug-button:hover{background:linear-gradient(135deg,#ee5a52,#ff6b6b);transform:translateY(-2px);box-shadow:0 4px 12px #ff6b6b66}.debug-button:active{transform:translateY(0);box-shadow:0 2px 6px #ff6b6b4d}.debug-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.progress-bar{position:fixed;top:0;left:0;width:100%;height:4px;background:#ffd70033;z-index:1001;overflow:hidden}.progress-bar:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,#ffd700,transparent);animation:progress-indeterminate 1.5s infinite}@keyframes progress-indeterminate{0%{left:-100%}to{left:100%}}.loading{text-align:center;padding:50px;color:#ccc}.loading:after{content:"";display:inline-block;width:20px;height:20px;border:3px solid #333333;border-top:3px solid #ffd700;border-radius:50%;animation:spin 1s linear infinite;margin-left:10px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 768px){.container{padding:10px}.header{padding:20px}.header-content{flex-direction:column;gap:15px}.header-text{text-align:center}.header h1{font-size:2rem}.chart-card.large{padding:20px}.large .chart-header{flex-direction:column;gap:15px;align-items:flex-start}.chart-controls{width:100%;justify-content:space-between}.chart-container-large{height:300px}.chart-container-large:has(#combined-video-chart){height:450px}.producer-legend{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;justify-content:center}.charts-grid{gap:0px}.chart-container{height:auto;min-height:300px;margin-bottom:12px;margin-right:8px;padding:12px}.producer-bubbles{margin-bottom:10px}.producer-breakdown{flex-direction:column}.producer-video-line{flex-direction:column;align-items:flex-start}.youtube-player-fixed{width:190px;bottom:10px;right:10px}.youtube-player-header{padding:8px 12px}.youtube-player-header h4{font-size:11px;max-width:150px}.youtube-player-content{padding:8px}.youtube-player-content iframe{height:320px}.close-button{width:20px;height:20px;font-size:16px}.footer{padding:15px}.footer-timestamps{flex-direction:column;gap:10px}.footer p{font-size:.8rem;margin:3px 0}}
