:root{color-scheme:dark;font-family:Roboto,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;--yt-spec-brand-background-solid: #0f0f0f;--yt-spec-general-background-a: #0f0f0f;--yt-spec-general-background-b: #181818;--yt-spec-text-primary: #f1f1f1;--yt-spec-text-secondary: #aaaaaa;--yt-spec-badge-chip-background: rgba(255,255,255,.1);--yt-spec-call-to-action: #3ea6ff}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;background:var(--yt-spec-general-background-a);color:var(--yt-spec-text-primary)}button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}input{font-family:inherit}.app{display:flex;flex-direction:column;min-height:100vh}.header{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 16px;height:56px;background:var(--yt-spec-brand-background-solid);border-bottom:1px solid rgba(255,255,255,.1)}.header-left{display:flex;align-items:center;gap:16px}.hamburger{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;transition:background .2s}.hamburger:hover{background:#ffffff1a}.hamburger svg{width:20px;height:20px}.logo{display:flex;align-items:center;gap:2px;text-decoration:none;color:var(--yt-spec-text-primary)}.logo-icon{width:32px;height:22px;background:red;border-radius:5px;display:grid;place-items:center;position:relative}.logo-icon:after{content:"";width:0;height:0;border-left:9px solid white;border-top:5px solid transparent;border-bottom:5px solid transparent;margin-left:2px}.logo-text{font-size:1.15rem;font-weight:700;letter-spacing:-.02em}.header-center{display:flex;align-items:center;flex:1;max-width:640px;margin:0 40px}.search-bar{display:flex;flex:1;height:40px}.search-input{flex:1;background:#121212;border:1px solid #303030;border-right:none;border-radius:20px 0 0 20px;padding:0 16px;font-size:1rem;color:var(--yt-spec-text-primary);outline:none}.search-input:focus{border-color:#1c62b9}.search-input::placeholder{color:#888}.search-btn{width:64px;height:40px;background:#222;border:1px solid #303030;border-radius:0 20px 20px 0;display:grid;place-items:center}.search-btn:hover{background:#333}.search-btn svg{width:20px;height:20px;color:var(--yt-spec-text-primary)}.header-right{display:flex;align-items:center;gap:8px}.icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;transition:background .2s}.icon-btn:hover{background:#ffffff1a}.icon-btn svg{width:20px;height:20px}.avatar{width:32px;height:32px;border-radius:50%;background:#5c4dbf;display:grid;place-items:center;font-size:.8rem;font-weight:600;margin-left:8px}.main{display:flex;flex:1}.sidebar{width:240px;padding:12px 0;overflow-y:auto;flex-shrink:0;background:var(--yt-spec-brand-background-solid)}.sidebar-item{display:flex;align-items:center;gap:24px;padding:0 12px;height:40px;border-radius:10px;margin:0 12px;cursor:pointer;transition:background .2s;font-size:.875rem}.sidebar-item:hover{background:#ffffff1a}.sidebar-item.active{background:#ffffff26;font-weight:600}.sidebar-item svg{width:20px;height:20px;flex-shrink:0}.sidebar-divider{height:1px;background:#ffffff1a;margin:12px 16px}.sidebar-title{padding:8px 24px 4px;font-size:.95rem;font-weight:600}.content{flex:1;padding:24px;overflow-y:auto}.chips{display:flex;gap:12px;margin-bottom:24px;overflow-x:auto;padding-bottom:4px}.chip{padding:6px 16px;border-radius:8px;background:var(--yt-spec-badge-chip-background);font-size:.875rem;white-space:nowrap;transition:background .2s}.chip:hover{background:#fff3}.chip.active{background:var(--yt-spec-text-primary);color:#0f0f0f}.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px 16px}.video-card{cursor:pointer;border-radius:12px;transition:transform .1s}.video-card:hover{transform:scale(1.02)}.thumbnail-container{position:relative;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#1a1a1a}.thumbnail-container img{width:100%;height:100%;object-fit:cover}.duration-badge{position:absolute;bottom:8px;right:8px;background:#000c;color:#fff;font-size:.75rem;font-weight:500;padding:2px 6px;border-radius:4px}.video-info{display:flex;gap:12px;padding:12px 4px 0}.channel-avatar{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-size:.85rem;font-weight:600}.video-meta{flex:1;min-width:0}.video-title{font-size:.95rem;font-weight:500;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}.channel-name{font-size:.8rem;color:var(--yt-spec-text-secondary)}.channel-name:hover{color:var(--yt-spec-text-primary)}.video-stats{font-size:.8rem;color:var(--yt-spec-text-secondary)}.player-page{display:flex;gap:24px;padding:24px;flex:1}.player-main{flex:1;min-width:0}.player-wrapper{width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;position:relative}.player-wrapper video{width:100%;height:100%;display:block}.video-player-title{font-size:1.25rem;font-weight:600;margin-top:12px;line-height:1.4}.player-meta{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.1)}.player-channel{display:flex;align-items:center;gap:12px}.player-channel-info h3{font-size:.95rem;font-weight:500}.player-channel-info p{font-size:.8rem;color:var(--yt-spec-text-secondary)}.subscribe-btn{background:#fff;color:#0f0f0f;font-weight:600;padding:10px 20px;border-radius:20px;font-size:.875rem;transition:background .2s}.subscribe-btn:hover{background:#d9d9d9}.player-actions{display:flex;gap:8px}.action-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:20px;background:#ffffff1a;font-size:.875rem;font-weight:500;transition:background .2s}.action-btn:hover{background:#fff3}.action-btn svg{width:18px;height:18px}.description-box{background:#ffffff0d;border-radius:12px;padding:16px;margin-top:16px;font-size:.875rem;line-height:1.6}.description-stats{font-weight:600;margin-bottom:8px}.player-sidebar{width:400px;flex-shrink:0}.player-sidebar h3{font-size:1rem;font-weight:600;margin-bottom:16px}.rec-list{display:flex;flex-direction:column;gap:8px}.rec-card{display:flex;gap:8px;cursor:pointer;border-radius:8px;transition:background .2s;padding:4px}.rec-card:hover{background:#ffffff0d}.rec-thumb{width:168px;height:94px;border-radius:8px;overflow:hidden;flex-shrink:0;position:relative;background:#1a1a1a}.rec-thumb img{width:100%;height:100%;object-fit:cover}.rec-thumb .duration-badge{bottom:4px;right:4px;font-size:.7rem}.rec-info{flex:1;min-width:0;padding-top:2px}.rec-title{font-size:.85rem;font-weight:500;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px}.rec-channel{font-size:.75rem;color:var(--yt-spec-text-secondary);margin-bottom:2px}.rec-stats{font-size:.75rem;color:var(--yt-spec-text-secondary)}.back-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:20px;background:#ffffff1a;font-size:.875rem;font-weight:500;margin-bottom:16px;transition:background .2s}.back-btn:hover{background:#fff3}.comments-section{margin-top:24px}.comments-header{display:flex;align-items:center;gap:24px;margin-bottom:24px}.comments-header h3{font-size:1rem;font-weight:600}.comment-input-wrapper{display:flex;gap:12px;margin-bottom:24px}.comment-avatar{width:40px;height:40px;border-radius:50%;background:#7c4dff;display:grid;place-items:center;font-size:.85rem;font-weight:600;flex-shrink:0}.comment-input{flex:1;background:transparent;border:none;border-bottom:1px solid #303030;color:var(--yt-spec-text-primary);font-size:.875rem;padding:8px 0;outline:none}.comment-input:focus{border-bottom-color:#fff}.comment{display:flex;gap:12px;margin-bottom:20px}.comment-body{flex:1}.comment-author{font-size:.8rem;font-weight:500;margin-bottom:4px}.comment-text{font-size:.875rem;line-height:1.5;color:var(--yt-spec-text-primary)}.comment-actions{display:flex;align-items:center;gap:8px;margin-top:8px}.comment-action{display:flex;align-items:center;gap:4px;font-size:.75rem;color:var(--yt-spec-text-secondary);padding:4px 8px;border-radius:20px;transition:background .2s}.comment-action:hover{background:#ffffff1a}.comment-action svg{width:14px;height:14px}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media(max-width:1100px){.player-sidebar,.sidebar{display:none}}@media(max-width:700px){.header-center{margin:0 12px}.video-grid{grid-template-columns:1fr}.content{padding:12px}}
