:root{color-scheme:dark;--bg:#0c0a12;--panel:#15121c;--muted:#9a92a8;--text:#f4effb;--purple:#bc95fa;--line:#30283e;--sidebar:220px;--header:76px;font-family:'DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-height:100vh}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.card:focus-visible{outline:2px solid #d0b1ff;outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:#d6bbff;color:#1d0f32;padding:12px}.skip-link:focus{top:10px}.topbar{position:sticky;top:0;z-index:10;height:var(--header);display:flex;align-items:center;gap:30px;padding:0 28px 0 18px;background:#241632;border-bottom:1px solid #61407e;box-shadow:0 5px 0 #0b071155}.brand-area{display:flex;align-items:center;gap:16px;flex:0 0 226px}.brand{display:flex;align-items:center;font:700 28px 'Space Grotesk',sans-serif;letter-spacing:-1.6px;gap:1px}.brand-dot{color:#c69bff}.brand-mark{display:flex;width:27px;height:28px;border:1px solid #a978ef;border-radius:5px;background:#56377b;align-items:center;justify-content:center;margin-right:9px;transform:rotate(-7deg);box-shadow:3px 3px 0 #160f20}.brand-mark span{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #e5ceff;transform:rotate(7deg);margin-left:2px}.beta{font-size:8px;letter-spacing:1.1px;color:#bfa5d4;border:1px solid #715086;border-radius:3px;padding:4px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;background:transparent;border:1px solid transparent;border-radius:6px;color:#c0b0ce}.icon-button:hover{background:#ffffff09;border-color:#795594;color:#fff}.search{display:flex;align-items:center;gap:12px;max-width:720px;flex:1;background:#130e1c;border:1px solid #5d426f;border-radius:6px;padding:11px 15px;box-shadow:3px 3px 0 #130b1c66;color:#b498ce}.search:focus-within{border-color:#c293fa}.search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f4effb;font-size:13px}.search input::placeholder{color:#a295ad}.search kbd{font-size:11px;border:1px solid #4d3b5d;border-radius:3px;padding:1px 6px;color:#9986aa}.header-right{margin-left:auto;display:flex;align-items:center;gap:22px}.header-tag{font-size:9px;letter-spacing:1.6px;color:#a78cb9;white-space:nowrap}.sidebar{position:fixed;top:var(--header);left:0;bottom:0;width:var(--sidebar);display:flex;flex-direction:column;background:#15101d;border-right:1px solid #31223e;padding:29px 15px 22px;z-index:9}.nav-label{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#8c799e;padding:0 14px;margin-bottom:17px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:13px 14px;border:1px solid transparent;border-radius:6px;background:transparent;color:#aca0b9;font-size:13px;font-weight:500;margin-bottom:7px;text-align:left}.nav-item.selected{background:#332044;color:#e4c9ff;border-color:#62417e;box-shadow:3px 3px 0 #0c0811}.nav-item:hover{color:#f5eaff;background:#302139}.nav-item svg{width:18px;height:18px}.nav-indicator{width:5px;height:5px;border-radius:50%;background:#c393ff;margin-left:auto}.sidebar-section{margin-top:30px;padding-top:25px;border-top:1px solid #302439}.sidebar-section p{font-size:12px;line-height:1.9;color:#94829f;margin:0 14px 18px}.sidebar-note{font-size:10px;color:#aa8dc1;margin:0 14px;line-height:1.6}.note-dot{display:inline-block;width:5px;height:5px;margin-right:6px;background:#ae7cdb}.sidebar-bottom{margin-top:auto;padding:28px 14px 0}.sidebar-wordmark{font:600 23px 'Space Grotesk';color:#bda7ce;letter-spacing:-1px}.sidebar-wordmark span{color:#ae70e1}.sidebar-bottom p{color:#7e6e8c;font-size:11px;line-height:1.7;margin:9px 0 23px}.sidebar-bottom a{font-size:9px;color:#9d8aad;display:flex;align-items:center;gap:6px;margin-top:10px}.sidebar-bottom a:hover{color:#dac1f5}.sidebar-bottom svg{width:11px;height:11px}.workspace{margin-left:var(--sidebar);padding:30px 34px 36px 27px;min-height:calc(100vh - var(--header));background:linear-gradient(140deg,#17101f33,transparent 45%)}.hub-panel{position:relative;isolation:isolate;background:var(--panel);border:1px solid #483251;border-radius:8px;padding:26px 25px 0;min-height:calc(100vh - 147px);display:flex;flex-direction:column;box-shadow:0 8px 25px #0003}.hub-panel::before{content:'';position:absolute;inset:7px -8px -8px 7px;background:#211529;border:1px solid #59376d;border-radius:8px;z-index:-2;pointer-events:none}.hub-panel::after{content:'';position:absolute;inset:0;background:var(--panel);border-radius:7px;z-index:-1;pointer-events:none}.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{font-size:8px;letter-spacing:1.8px;font-weight:700;color:#9476aa}h1{font:600 27px 'Space Grotesk',sans-serif;letter-spacing:-1px;margin:7px 0 0}h1 span{color:#bb8df3}.feed-status{display:flex;gap:7px;align-items:center;font-size:9px;letter-spacing:.6px;color:#9b88a8}.feed-dot{width:5px;height:5px;border-radius:50%;background:#a57bc0}.toolbar{display:flex;align-items:stretch;justify-content:space-between;border-bottom:1px solid #3d2b47}.tabs{display:flex;gap:27px}.tab{display:flex;align-items:center;gap:9px;border:0;border-bottom:2px solid transparent;background:none;color:#a293af;font-size:12px;font-weight:600;padding:12px 0 18px;white-space:nowrap}.tab svg{width:17px;height:17px}.tab.active{color:#e0bbff;border-color:#bf89f5}.tab:hover{color:#eedcff}.count{font-size:10px;padding:3px 6px;border-radius:4px;background:#292130;color:#ab9ab7;min-width:22px}.tab.active .count{background:#61417c;color:#f0deff}.view-button{align-self:center;width:32px;height:32px;margin-bottom:8px}.view-button svg{width:16px;height:16px}.list-meta{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.3px;color:#8f7e9b;font-weight:600;margin:21px 0 17px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:27px 19px;padding-bottom:28px}.card{min-width:0;cursor:pointer;border-radius:6px}.thumbnail{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:5px;background:#21182b;border:1px solid #473153;transition:border-color .15s}.thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.card:hover .thumbnail{border-color:#c18bf7}.badge{position:absolute;top:8px;left:8px;background:#251528e8;border:1px solid #d090bd55;color:#ffb5d2;font-size:9px;letter-spacing:.5px;padding:4px 6px;border-radius:3px;font-weight:700}.badge.upcoming{background:#241c31ed;border-color:#ba8ddd55;color:#dfc5fc;font-size:8px}.card-body{display:flex;gap:10px;padding:12px 1px 0}.avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0;object-fit:cover;background:#382541;border:1px solid #51345c}.card-text{min-width:0}.card h3{font-size:12px;font-weight:500;line-height:1.5;margin:0 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card p{font-size:11px;color:#ba97dc;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card .extra{font-size:10px;color:#92819f}.state{padding:72px 25px;margin:10px 0 30px;border:1px dashed #45304f;border-radius:6px;background:#1b142233;text-align:center;font-size:13px;line-height:1.9;color:#a695b3}.state strong{display:inline-block;color:#d2bddf;font:500 17px 'Space Grotesk';margin-bottom:6px}.state[hidden]{display:none}.hub-footer{display:flex;justify-content:space-between;gap:15px;padding:18px 0;border-top:1px solid #2b2133;color:#786683;font-size:10px;margin-top:auto}.hub-footer>span:last-child{font-size:8px;letter-spacing:1.4px;display:flex;align-items:center;gap:9px}.footer-square{height:4px;width:4px;background:#8660a1}.modal{border:1px solid #6f4d84;background:#1a1223;color:var(--text);border-radius:8px;padding:22px;width:min(92vw,920px);box-shadow:8px 8px 0 #382142,0 24px 80px #000b}.modal::backdrop{background:#09050edb;backdrop-filter:blur(6px)}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.player-slot{aspect-ratio:16/9;background:#000}.player-slot iframe{border:0;width:100%;height:100%}.player-info{display:flex;justify-content:space-between;gap:20px;align-items:center}.player-info h2{font:500 19px 'Space Grotesk';margin-bottom:5px}.player-info p{font-size:12px;color:#aaa0b8}.player-info a{font-size:12px;color:#cea6ff;white-space:nowrap}.settings-modal{max-width:510px}.settings-modal h2{font:600 30px 'Space Grotesk';margin:8px 0}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-bottom:1px solid #ffffff12}.setting-row strong{font-size:13px}.setting-row p,.setting-note{color:#aa99b6;font-size:12px;line-height:1.6}.setting-row input{accent-color:#c69bff;width:18px;height:18px}.setting-row select{background:#30213b;color:white;border:1px solid #6b4b7b;border-radius:5px;padding:8px}.setting-note{margin-top:24px}.compact .grid{grid-template-columns:repeat(5,minmax(0,1fr))}.nav-collapsed .sidebar{display:none}.nav-collapsed .workspace{margin-left:0}.reduce-motion *{transition:none!important;animation:none!important}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media(min-width:1700px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}.compact .grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:1150px){:root{--sidebar:188px}.brand-area{flex-basis:180px;gap:10px}.beta,.header-tag{display:none}.topbar{gap:24px}.workspace{padding:23px 25px 28px 20px}.hub-panel{padding:22px 19px 0}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compact .grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sidebar{padding-left:10px;padding-right:10px}}@media(max-width:780px){:root{--header:68px}.topbar{padding:0 15px;gap:17px}.brand-area{flex-basis:auto}.brand{font-size:23px}.brand-mark{width:23px;height:24px}.header-right{gap:0}.sidebar{display:none}.workspace{margin-left:0;padding:20px 20px 28px 13px}.nav-collapsed .sidebar{display:flex;box-shadow:12px 0 40px #0008}.nav-collapsed .workspace{margin-left:0}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compact .grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hub-panel{min-height:calc(100dvh - 124px)}.feed-status{font-size:8px}.eyebrow{font-size:7px}.search{padding:10px}.search input{font-size:12px}}@media(max-width:520px){.topbar{height:112px;flex-wrap:wrap;align-content:center;gap:10px 15px}.brand-area{height:36px}.header-right{height:36px}.search{order:3;flex-basis:100%;max-width:none;padding:8px 12px}.search svg{width:16px;height:16px}:root{--header:112px}.hub-panel{padding:19px 13px 0}.hub-heading{margin-bottom:14px;align-items:flex-start}.hub-heading h1{font-size:24px}.feed-status{max-width:110px;line-height:1.7;text-align:right}.feed-dot{display:none}.tabs{gap:18px}.tab{font-size:11px;gap:6px;padding-bottom:15px}.tab svg{display:none}.view-button{display:none}.list-meta{font-size:7px}.grid,.compact .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 12px}.card h3{font-size:11px}.card-body{gap:7px}.avatar{width:26px;height:26px}.card p{font-size:10px}.hub-footer>span:first-child{display:none}.hub-footer{justify-content:flex-end}.state{padding:45px 15px}.player-info{align-items:flex-start;flex-direction:column}.player-info h2{font-size:16px}.player-info a{margin-bottom:8px}}

/* Navigation and interaction motion */
:root{--motion-ease:cubic-bezier(.2,.8,.2,1)}
body{overflow-x:hidden}
.icon-button,.nav-item,.count,.search,.setting-row select{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease}
.icon-button:active{transform:scale(.95)}
.sidebar,.nav-collapsed .sidebar{display:flex;transition:transform 280ms var(--motion-ease),opacity 220ms ease,visibility 280ms;overflow-y:auto}
.nav-collapsed .sidebar{transform:translateX(-100%);opacity:0;visibility:hidden;pointer-events:none}
.workspace{transition:margin-left 280ms var(--motion-ease)}
.tabs{position:relative}
.tabs::after{content:'';position:absolute;bottom:-1px;left:0;height:2px;width:var(--tab-width,0px);background:#bf89f5;transform:translateX(var(--tab-x,0px));transition:transform 260ms var(--motion-ease),width 260ms var(--motion-ease);pointer-events:none}
.tab.active{border-bottom-color:transparent}
.tab{transition:color 180ms ease}
.thumbnail{transition:border-color 180ms ease,box-shadow 180ms ease}
.card:hover .thumbnail{box-shadow:0 3px 14px #9a60ce15}
.modal::backdrop{animation:backdrop-in 220ms ease both}
@keyframes backdrop-in{from{background-color:transparent;backdrop-filter:blur(0)}to{background-color:#09050edb;backdrop-filter:blur(6px)}}
@media(max-width:780px){
  .sidebar{display:flex;transform:translateX(-100%);opacity:0;visibility:hidden;pointer-events:none}
  .nav-collapsed .sidebar{transform:translateX(0);opacity:1;visibility:visible;pointer-events:auto}
}
.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after,.reduce-motion .modal::backdrop{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after,.modal::backdrop{transition:none!important;animation:none!important}}

.auth-button{border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);padding:8px 12px;white-space:nowrap;font-size:12px}.auth-button:hover{border-color:var(--purple)}.auth-button:disabled{opacity:.65;cursor:default}.auth-status{position:fixed;z-index:30;right:16px;top:var(--header);background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:12px;max-width:320px;font-size:13px}@media(max-width:520px){.header-right{gap:8px}.auth-button{font-size:11px;padding:7px}}

/* A roomier viewing area, while leaving YouTube's player controls intact. */
.player-modal{width:min(96vw,1500px);max-width:none;max-height:96dvh;overflow:auto;padding:18px 22px 22px}
.player-slot{width:min(100%,calc((96dvh - 170px) * 16 / 9));margin:auto;border-radius:12px;overflow:hidden}
.player-info{width:min(100%,calc((96dvh - 170px) * 16 / 9));margin:auto}
.player-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.hub-panel{box-shadow:0 12px 38px #0002}
.thumbnail{border-radius:12px}
.card:hover .thumbnail{transform:translateY(-2px)}
@media(max-width:520px){.player-modal{width:96vw;padding:14px;max-height:94dvh}.player-slot,.player-info{width:100%}.player-actions{gap:12px}}
@media(prefers-reduced-motion:reduce){.card:hover .thumbnail{transform:none}}
.reduce-motion .card:hover .thumbnail{transform:none}
