.search-section{background:#f8f9fa;padding:30px;border-radius:15px;margin-bottom:30px}.input-group{margin-bottom:20px}.input-group label{display:block;margin-bottom:8px;font-weight:600;color:#555}.input-group input,.input-group select{width:100%;padding:12px;border:2px solid #ddd;border-radius:8px;font-size:16px;transition:border-color .3s}.input-group input:focus,.input-group select:focus{outline:none;border-color:#667eea}.btn-primary{width:100%;padding:12px 30px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;margin-top:10px}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea66}.btn-primary:active{transform:translateY(0)}.btn-primary:disabled{background:#ccc;cursor:not-allowed;transform:none}.loading{text-align:center;padding:40px}.spinner{border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;width:50px;height:50px;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{background:#fee;color:#c33;padding:15px;border-radius:8px;margin-bottom:20px;border-left:4px solid #c33;display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.error-quota{background:#fff3cd;color:#856404;border-left-color:#ffc107}.error-auth{background:#f8d7da;color:#721c24;border-left-color:#dc3545}.error-content{display:flex;align-items:flex-start;gap:10px;flex:1}.error-icon{font-size:1.5em;flex-shrink:0}.error-message{flex:1;line-height:1.6;white-space:pre-line}.error-close{background:none;border:none;color:#c33;font-size:24px;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s}.error-close:hover{background:#cc33331a}.summary{margin-bottom:40px}.summary h2{margin-bottom:20px;color:#667eea}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:25px;border-radius:12px;text-align:center;box-shadow:0 5px 15px #667eea4d}.stat-label{font-size:.9em;opacity:.9;margin-bottom:10px}.stat-value{font-size:2em;font-weight:700}@media (max-width: 768px){.stats-grid{grid-template-columns:1fr}}.charts{margin-top:40px}.chart-container{background:#f8f9fa;padding:30px;border-radius:15px;margin-bottom:30px;box-shadow:0 2px 10px #0000001a}.chart-container h2{margin-bottom:20px;color:#667eea;font-size:1.5em}.chart-container canvas{max-height:400px}.video-list{margin-top:40px}.video-list h2{margin-bottom:20px;color:#667eea}.video-list-content{display:grid;gap:20px}.video-item{display:flex;background:#f8f9fa;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000001a;transition:transform .2s}.video-item:hover{transform:translateY(-3px);box-shadow:0 4px 12px #00000026}.video-thumbnail{width:200px;height:112px;border-radius:8px;object-fit:cover;margin-right:20px;flex-shrink:0}.video-info{flex:1}.video-title{font-size:1.1em;font-weight:600;margin-bottom:8px;color:#333}.video-channel{color:#666;margin-bottom:10px;font-size:.9em}.video-stats{display:flex;gap:20px;flex-wrap:wrap}.stat-item{display:flex;align-items:center;gap:5px}.stat-item .label{color:#666;font-size:.9em}.stat-item .value{font-weight:600;color:#667eea}@media (max-width: 768px){.video-item{flex-direction:column}.video-thumbnail{width:100%;height:auto;margin-right:0;margin-bottom:15px}}footer{text-align:center;color:#fff;padding:20px}footer a{color:#fff;text-decoration:underline;margin:0 10px}footer a:hover{color:#f0f0f0}.ad-container{margin:1rem 0;min-height:90px;display:flex;justify-content:center;overflow:hidden}.ad-container .adsbygoogle{display:block}.container{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;padding:40px;margin-bottom:20px}header{text-align:center;margin-bottom:40px;padding-bottom:30px;border-bottom:3px solid #667eea}header h1{font-size:2.5em;color:#667eea;margin-bottom:10px}.subtitle{color:#666;font-size:1.1em}@media (max-width: 768px){.container{padding:20px}header h1{font-size:1.8em}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Malgun Gothic,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:20px;color:#333}#root{max-width:1400px;margin:0 auto}
