:root{--bg:#0b1020;--panel:#121a31;--soft:#1b2745;--text:#edf2ff;--muted:#9fb0d0;--line:#263452;--accent:#7aa7ff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.top{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:18px clamp(16px,4vw,44px);border-bottom:1px solid var(--line);background:#080d1b;position:sticky;top:0}.brand{font-weight:900;color:var(--text);text-decoration:none;font-size:20px}.top form{display:flex;gap:8px;min-width:min(560px,60vw)}input,button{border-radius:12px;border:1px solid var(--line);padding:12px 14px;font:inherit}input{background:#0d1428;color:var(--text);width:100%}button{background:var(--accent);color:#061027;font-weight:800;cursor:pointer}.wrap{width:min(1180px,92vw);margin:28px auto}.hero{padding:36px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,var(--panel),#10172b)}h1{font-size:clamp(32px,5vw,56px);line-height:1;margin:0 0 14px}h2{margin:34px 0 14px}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}.thumb{display:block;aspect-ratio:16/9;background:var(--soft);overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.card-body{padding:14px}.title{color:var(--text);font-weight:800;text-decoration:none}.meta{font-size:13px;color:var(--muted);margin-top:8px}.badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--soft);color:#cfe0ff;font-size:12px;margin-right:6px}.score{font-weight:900;color:#dbe8ff}.panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:22px}.stack{display:grid;gap:10px;max-width:560px}.notice{padding:12px 14px;border-radius:12px;background:#1f2f54}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.tabs a{color:var(--text);text-decoration:none;background:var(--soft);padding:9px 12px;border-radius:999px}.foot{padding:28px;text-align:center;color:var(--muted);border-top:1px solid var(--line);margin-top:40px}@media(max-width:720px){.top{display:block}.top form{min-width:0;margin-top:12px}}
.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.category-card{display:block;padding:15px 16px;border-radius:12px;background:var(--card-bg,#1c1c1c);border:1px solid var(--border-color,#333);color:var(--site-text,#fff)!important;font-weight:750;text-decoration:none}.category-card:hover{border-color:var(--link-color,#66b3ff);transform:translateY(-1px)}

/* Expanded public channel discovery system */
.channel-watch-hero{padding:clamp(28px,5vw,58px);border:1px solid var(--line);border-radius:26px;background:radial-gradient(circle at top right,rgba(122,167,255,.22),transparent 38%),linear-gradient(135deg,var(--panel),#0d1428);margin-bottom:20px}.channel-watch-hero h1{margin:8px 0 14px}.channel-watch-hero p{max-width:800px;color:var(--muted);font-size:1.08rem;line-height:1.7}.discover-kicker{text-transform:uppercase;letter-spacing:.13em;font-size:.76rem;font-weight:900;color:#a9c7ff}.channel-watch-search{display:flex;gap:10px;max-width:680px;margin-top:22px}.channel-tabs{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 14px;margin:18px 0 24px;scrollbar-width:thin}.channel-tab{flex:0 0 auto;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);text-decoration:none;font-weight:750}.channel-tab strong{display:inline-flex;min-width:26px;height:26px;align-items:center;justify-content:center;padding:0 8px;border-radius:999px;background:var(--soft);font-size:.76rem}.channel-tab.is-active{border-color:var(--accent);box-shadow:0 0 0 2px rgba(122,167,255,.12)}.channel-watch-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:28px 0 16px}.channel-watch-heading h2{margin:5px 0 0}.channel-watch-heading p{margin:0;color:var(--muted)}.channel-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:18px}.channel-video-card{background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden;min-width:0}.channel-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:var(--soft);overflow:hidden}.channel-video-thumb img{width:100%;height:100%;object-fit:cover}.channel-video-type{position:absolute;left:10px;bottom:10px;padding:5px 9px;border-radius:999px;background:rgba(5,10,22,.88);color:#fff;font-size:.72rem;font-weight:900}.channel-video-body{padding:14px}.channel-video-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text);font-weight:850;line-height:1.35;text-decoration:none}.channel-video-creator{display:block;margin-top:9px;color:#b9cef7;text-decoration:none;font-weight:700;font-size:.88rem}.channel-video-body p{margin:7px 0 0;color:var(--muted);font-size:.8rem}.channel-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:16px}.channel-card{display:flex;gap:15px;padding:17px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.channel-card-avatar{width:74px;height:74px;flex:0 0 74px;border-radius:50%;overflow:hidden;background:var(--soft)}.channel-card-avatar img{width:100%;height:100%;object-fit:cover}.channel-card-title{color:var(--text);font-size:1.02rem;font-weight:900;text-decoration:none}.channel-card-body p{margin:7px 0;color:var(--muted);font-size:.84rem}.channel-card-action{color:#bcd2ff;text-decoration:none;font-size:.84rem;font-weight:800}.channel-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin:30px 0}.channel-pagination a,.channel-pagination span{padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);text-decoration:none}.channel-profile-hero{display:flex;align-items:center;gap:24px;padding:28px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,var(--panel),#0e162c)}.channel-profile-avatar{width:132px;height:132px;border-radius:50%;object-fit:cover;border:3px solid var(--line);background:var(--soft)}.channel-profile-copy h1{margin:7px 0 10px}.channel-profile-copy p{color:var(--muted)}.channel-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.channel-profile-tabs{margin-top:22px}.channel-watch-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:16px;color:var(--muted)}.channel-watch-breadcrumb a{color:#bcd2ff;text-decoration:none}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px}.watch-main{min-width:0}.watch-copy{padding:20px;border:1px solid var(--line);border-top:0;border-radius:0 0 20px 20px;background:var(--panel)}.watch-copy h1{font-size:clamp(25px,4vw,44px);line-height:1.12;margin:12px 0}.inline-type{position:static;display:inline-flex}.watch-meta{color:var(--muted)}.watch-meta a{color:#c7d9ff;text-decoration:none;font-weight:800}.watch-sidebar{display:grid;align-content:start;gap:12px}.watch-sidebar h2{margin:0 0 4px}.watch-sidebar .channel-video-card{display:grid;grid-template-columns:128px 1fr}.watch-sidebar .channel-video-thumb{aspect-ratio:16/10}.watch-sidebar .channel-video-body{padding:10px}.watch-sidebar .channel-video-title{-webkit-line-clamp:3;font-size:.88rem}.watch-sidebar .channel-video-creator,.watch-sidebar .channel-video-body p{font-size:.73rem}.discover-description{margin-top:20px;padding:17px;border-radius:14px;background:var(--soft);line-height:1.65;white-space:normal}.discover-player{aspect-ratio:16/9;background:#000;overflow:hidden;border-radius:20px 20px 0 0}.discover-player iframe{display:block}
@media(max-width:900px){.watch-layout{grid-template-columns:1fr}.watch-sidebar{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.watch-sidebar h2{grid-column:1/-1}.watch-sidebar .channel-video-card{display:block}.channel-profile-hero{align-items:flex-start}}@media(max-width:640px){.channel-watch-search{display:grid}.channel-watch-heading{align-items:flex-start;flex-direction:column}.channel-profile-hero{display:block}.channel-profile-avatar{width:104px;height:104px;margin-bottom:15px}.channel-directory-grid{grid-template-columns:1fr}}

/* Complete watch page parity with the channel system */
.wr-style-watch-hero{padding-bottom:30px}.watch-pills{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}.watch-pills a,.watch-pills span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);text-decoration:none;font-size:.82rem;font-weight:800}.watch-pills.compact{margin:14px 0}.watch-pills.compact a,.watch-pills.compact span{min-height:30px;padding:5px 9px;font-size:.75rem}.wr-watch-side{display:grid;align-content:start;gap:16px}.watch-panel{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.watch-panel h2{margin:0 0 14px}.watch-creator-row{display:grid;grid-template-columns:74px 1fr;gap:14px;align-items:start}.watch-creator-avatar{display:block;width:74px;height:74px;border-radius:50%;overflow:hidden;background:var(--soft)}.watch-creator-avatar img{width:100%;height:100%;object-fit:cover}.watch-creator-row h3{margin:0 0 7px;font-size:1.05rem}.watch-creator-row h3 a{color:var(--text);text-decoration:none}.watch-creator-row p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.5}.watch-latest-list{display:grid;gap:7px}.watch-latest-list a{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--text);text-decoration:none}.watch-latest-list a>span{grid-row:1/3;color:#a9c7ff;font-size:.76rem;font-weight:900}.watch-latest-list strong{font-size:.86rem;line-height:1.35}.watch-latest-list small{color:var(--muted);font-size:.72rem}.watch-latest-list a.is-current{border-color:var(--accent);box-shadow:0 0 0 2px rgba(122,167,255,.12);background:var(--soft)}@media(max-width:900px){.wr-watch-side{grid-template-columns:1fr}.watch-panel{min-width:0}}

/* Watch-page scroll containers restored from the full channel-watch layout. */
.watch-latest-scroll{max-height:520px;overflow-y:auto;overflow-x:hidden;padding-right:6px;overscroll-behavior:contain;scrollbar-gutter:stable}
.watch-description-panel{max-height:360px;overflow:hidden;display:flex;flex-direction:column}
.watch-description-panel h2{flex:0 0 auto}
.watch-description-scroll{max-height:270px;overflow-y:auto;overflow-x:hidden;padding-right:10px;overscroll-behavior:contain;scrollbar-gutter:stable}
.watch-description-scroll p{margin:0 0 1em;white-space:normal;overflow-wrap:anywhere}.watch-description-scroll p:last-child{margin-bottom:0}
.watch-latest-scroll::-webkit-scrollbar,.watch-description-scroll::-webkit-scrollbar{width:10px}
.watch-latest-scroll::-webkit-scrollbar-track,.watch-description-scroll::-webkit-scrollbar-track{background:var(--soft);border-radius:999px}
.watch-latest-scroll::-webkit-scrollbar-thumb,.watch-description-scroll::-webkit-scrollbar-thumb{background:var(--muted);border-radius:999px;border:2px solid var(--panel)}
@media(max-width:620px){.watch-latest-scroll,.watch-description-panel,.watch-description-scroll{max-height:none;overflow:visible;padding-right:0}}

.channel-profile-watch{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.channel-profile-player{border-radius:20px 20px 0 0}.channel-profile-video-copy h2{font-size:clamp(24px,3vw,38px);line-height:1.15;margin:8px 0 0}.channel-profile-video-list{display:grid;gap:10px}.channel-profile-video-button{width:100%;display:grid;grid-template-columns:112px minmax(0,1fr);gap:11px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);padding:9px;cursor:pointer}.channel-profile-video-button.is-active{border-color:var(--accent);box-shadow:0 0 0 2px rgba(122,167,255,.12);background:var(--soft)}.channel-profile-video-thumb{display:block;aspect-ratio:16/9;border-radius:10px;background:var(--soft);overflow:hidden}.channel-profile-video-thumb img{width:100%;height:100%;object-fit:cover;display:block}.channel-profile-video-text{display:grid;gap:6px;min-width:0}.channel-profile-video-text strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.88rem;line-height:1.32}.channel-profile-video-text small{color:var(--muted);font-size:.75rem}@media(max-width:940px){.channel-profile-watch{grid-template-columns:1fr}.channel-profile-video-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media(max-width:560px){.channel-profile-video-button{grid-template-columns:96px minmax(0,1fr)}}
.channel-profile-seo{margin-top:34px}.channel-profile-seo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.channel-profile-seo-item{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel);min-width:0}.channel-profile-seo-item h3{margin:0 0 8px;font-size:1rem;line-height:1.35}.channel-profile-seo-item p{margin:0 0 10px;color:var(--muted);font-size:.88rem;line-height:1.55;overflow-wrap:anywhere}.channel-profile-seo-item a{color:#bcd2ff;text-decoration:none;font-weight:800;font-size:.86rem}.channel-profile-seo-meta{font-weight:800;color:#cfe0ff!important}

/* YTUnity discovery video carousels */
.ytu-video-carousel-section {
    overflow: visible;
}

.ytu-carousel-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.ytu-carousel-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
    color: var(--text);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.ytu-carousel-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform-origin: center;
}

.ytu-carousel-arrow-left {
    transform: translate(-38%, -50%) rotate(-135deg);
}

.ytu-carousel-arrow-right {
    transform: translate(-62%, -50%) rotate(45deg);
}

.ytu-carousel-button:hover,
.ytu-carousel-button:focus-visible {
    border-color: var(--accent);
    outline: 2px solid rgba(122, 167, 255, .2);
    outline-offset: 2px;
}

.ytu-video-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 31%);
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.ytu-video-carousel .ytu-carousel-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.ytu-video-carousel:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
    border-radius: 14px;
}

@media (max-width: 900px) {
    .ytu-video-carousel {
        grid-auto-columns: minmax(250px, 48%);
    }
}

@media (max-width: 620px) {
    .discover-section-head {
        align-items: flex-start;
    }

    .ytu-carousel-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .ytu-video-carousel {
        grid-auto-columns: minmax(245px, 86%);
    }
}


/* Watch sidebar panel separation — preserved intentionally. */
.wr-watch-side {
    gap: 24px;
}

@media (max-width: 900px) {
    .wr-watch-side {
        gap: 24px;
    }
}
/* November 3, 2026 look pass: same YTUnity colors, more depth and motion. */
@keyframes ytu-drift{0%{transform:translate3d(-4%,-3%,0) scale(1)}50%{transform:translate3d(4%,3%,0) scale(1.08)}100%{transform:translate3d(-4%,-3%,0) scale(1)}}
@keyframes ytu-shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.ytu-home .ytu-hero{isolation:isolate;clip-path:inset(0 round var(--site-radius,24px))}
.ytu-home .ytu-hero::before{content:"";position:absolute;inset:-20%;z-index:-1;background:radial-gradient(38% 45% at 22% 30%,rgba(45,156,255,.24),transparent 70%),radial-gradient(34% 40% at 78% 70%,rgba(229,9,20,.18),transparent 70%);animation:ytu-drift 22s ease-in-out infinite;pointer-events:none}
.ytu-home .ytu-hero-copy,.ytu-home .ytu-hero-panel{position:relative}
.ytu-home .discover-home-search input{transition:border-color .2s ease,box-shadow .2s ease}
.ytu-home .discover-home-search input:focus{border-color:rgba(114,183,255,.75);box-shadow:0 0 0 4px rgba(63,153,255,.18),0 0 28px rgba(63,153,255,.28);outline:none}
.ytu-home .discover-home-search button{transition:transform .16s ease,box-shadow .16s ease}
.ytu-home .discover-home-search button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(39,214,255,.28)}
.ytu-home .ytu-hero-panel{perspective:900px}
.ytu-home .ytu-stat{transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.ytu-home .ytu-stat:hover{transform:translateZ(18px) rotateX(3deg) rotateY(-4deg);border-color:rgba(114,183,255,.4);box-shadow:0 16px 34px rgba(0,0,0,.32)}

.discover-video-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.discover-video-card:hover,.discover-video-card:focus-within{transform:translateY(-5px);box-shadow:0 20px 40px rgba(0,0,0,.38),0 0 0 1px rgba(114,183,255,.35);border-color:rgba(114,183,255,.45)}
.discover-video-card .thumb{position:relative;background:var(--card-bg-soft,#0d131d)}
.discover-video-card .thumb::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);animation:ytu-shimmer 1.6s linear infinite;pointer-events:none}
.discover-video-card .thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.35),transparent 45%);opacity:0;transition:opacity .22s ease;pointer-events:none}
.discover-video-card:hover .thumb::after,.discover-video-card:focus-within .thumb::after{opacity:1}
.discover-video-card:hover .thumb img,.discover-video-card:focus-within .thumb img{transform:scale(1.06)}
.discover-video-card .thumb img{position:relative;transition:transform .35s ease}
.discover-video-card .badge{font-weight:800;font-size:.74rem;letter-spacing:.04em}
.discover-video-card .score{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:rgba(229,9,20,.14);border:1px solid rgba(229,9,20,.38);color:var(--site-text,#f4f7fb);font-weight:800;font-size:.78rem}
html[data-theme="light"] .discover-video-card .score{background:rgba(216,7,24,.08)}
html[data-theme="light"] .discover-video-card:hover,html[data-theme="light"] .discover-video-card:focus-within{box-shadow:0 18px 36px rgba(30,50,80,.18),0 0 0 1px rgba(7,95,184,.3)}
.ytu-video-carousel{scroll-behavior:smooth;padding-block:8px}
.ytu-carousel-button{transition:transform .16s ease,background-color .16s ease}
.ytu-carousel-button:hover{transform:scale(1.08)}

@media(prefers-reduced-motion:reduce){.ytu-home .ytu-hero::before,.discover-video-card .thumb::before{animation:none}.ytu-home .ytu-stat,.discover-video-card,.discover-video-card .thumb img,.ytu-carousel-button,.ytu-home .discover-home-search button{transition:none}.ytu-home .ytu-stat:hover,.discover-video-card:hover,.discover-video-card:focus-within,.discover-video-card:hover .thumb img,.ytu-carousel-button:hover,.ytu-home .discover-home-search button:hover{transform:none}.ytu-video-carousel{scroll-behavior:auto}}
/* Creators on the SpiderTaz Network strip (November 4, 2026): top of every public page. */
.ytu-network-creators{margin:18px 0 22px;padding:18px 18px 14px}
.ytu-network-creators-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.ytu-network-creators-head h2{margin:2px 0 0;font-size:1.25rem}
.ytu-network-creators-head a{font-weight:700;text-decoration:none;color:var(--link-color,#7fb4ec)}
.ytu-network-creators-list{list-style:none;margin:0;padding:0 0 6px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,220px);gap:14px;overflow-x:auto;scroll-snap-type:x proximity}
.ytu-network-creator{scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;min-width:0}
.ytu-network-creator-video{display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:rgba(127,180,236,.12)}
.ytu-network-creator-video img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.ytu-network-creator-video:hover img,.ytu-network-creator-video:focus-visible img{transform:scale(1.04)}
.ytu-network-creator-who{display:flex;align-items:center;gap:8px;text-decoration:none;color:inherit;min-width:0}
.ytu-network-creator-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--accent-red-strong,#d0000d)}
.ytu-network-creator-who span{display:flex;flex-direction:column;min-width:0}
.ytu-network-creator-who strong,.ytu-network-creator-who small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ytu-network-creator-who small{opacity:.75;font-size:.8rem}
@media (prefers-reduced-motion:reduce){.ytu-network-creator-video img{transition:none}}
.ytu-network-creators .ytu-network-creators-kicker{font-size:1.05rem;letter-spacing:.08em;text-transform:uppercase;padding:8px 16px}
