:root{--bg:#0b0c10;--panel:#111319;--panel-2:#171a22;--panel-3:#1d202a;--border:rgba(255,255,255,.075);--border-hi:rgba(255,255,255,.13);--text:#f5f6f8;--muted:#9298a7;--muted-2:#626978;--accent:#ef3340;--accent-2:#ff5963;--accent-soft:rgba(239,51,64,.14);--green:#39d6a0;--blue:#78aaff;--yellow:#ffc65b;--radius:18px;--sidebar:252px;--topbar:76px;--shadow:0 20px 70px rgba(0,0,0,.32);font-family:system-ui,sans-serif;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg);color:var(--text);font-family:system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:20;inset:0 auto 0 0;width:var(--sidebar);padding:25px 15px 16px;background:#0e1015;border-right:1px solid var(--border);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 23px;text-decoration:none;color:var(--text)}.brand-mark{width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#ff535e,#c91428);display:grid;place-items:center;font:700 14px system-ui;box-shadow:0 7px 24px rgba(239,51,64,.28);letter-spacing:-1px}.brand-copy{display:grid;gap:3px}.brand-copy strong{font:700 13px system-ui;letter-spacing:1.3px}.brand-copy small{font-size:9px;letter-spacing:2.1px;color:var(--muted);font-weight:700}.sidebar-rule{height:1px;background:var(--border);margin:0 7px 19px}.side-nav{display:flex;flex-direction:column;gap:4px}.nav-caption{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#626977;padding:0 12px 8px}.nav-caption-spaced{padding-top:23px}.nav-link{position:relative;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid transparent;border-radius:11px;color:#a9afbc;text-decoration:none;font-size:13px;font-weight:600;transition:background .18s,color .18s,border .18s}.nav-link:hover{background:rgba(255,255,255,.045);color:#fff}.nav-link.active{background:var(--accent-soft);border-color:rgba(239,51,64,.17);color:#fff}.nav-link.active:before{content:"";position:absolute;left:-16px;top:9px;bottom:9px;width:3px;background:var(--accent);border-radius:0 4px 4px 0}.nav-icon{width:19px;text-align:center;font-size:18px;color:#7f8796;line-height:1}.nav-link.active .nav-icon{color:var(--accent-2)}.nav-link kbd{margin-left:auto;font-size:9px;border:1px solid var(--border-hi);padding:2px 5px;border-radius:5px;color:#808897}.nav-count{margin-left:auto;padding:3px 6px;border-radius:6px;background:rgba(255,255,255,.07);color:#aab1bf;font-size:10px}.nav-pill{margin-left:auto;font-size:8px;letter-spacing:.8px;color:#ff9ca3;background:rgba(239,51,64,.16);padding:4px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto}.sidebar-status{margin:0 5px 14px;padding:10px 9px;border-radius:10px;background:rgba(255,255,255,.025);display:flex;align-items:center;gap:7px;color:#9ba2b0;font-size:10px}.status-dot,.footer-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 12px rgba(57,214,160,.55)}.status-badge{margin-left:auto;color:#6e7786;font-size:8px;font-weight:700;letter-spacing:.8px}.sidebar-profile{display:flex;align-items:center;gap:10px;padding:14px 8px 0;margin-top:12px;border-top:1px solid var(--border)}.profile-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#272b36,#161922);border:1px solid var(--border-hi);font:700 11px system-ui;color:#ff737c}.profile-avatar.small{width:27px;height:27px;border-radius:9px;font-size:9px}.profile-info{display:grid;gap:3px;min-width:0}.profile-info strong{font-size:11px}.profile-info small{font-size:9px;color:var(--muted)}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;background:rgba(255,255,255,.035);border:1px solid var(--border);border-radius:10px;color:#aeb5c2;cursor:pointer;transition:.18s}.icon-button:hover{background:rgba(255,255,255,.09);border-color:var(--border-hi);color:#fff}.icon-button.tiny{width:28px;height:28px;margin-left:auto;font-size:17px}.main-column{min-height:100vh;margin-left:var(--sidebar);display:flex;flex-direction:column}.topbar{height:var(--topbar);position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 34px;background:rgba(11,12,16,.84);backdrop-filter:blur(18px);border-bottom:1px solid var(--border)}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:16px}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#737b89;font-size:10px;font-weight:700;letter-spacing:1.1px}.breadcrumbs strong{font-size:12px;color:#e8eaf0;letter-spacing:0}.crumb-slash{color:#424956}.topbar-actions{gap:10px}.global-search{height:39px;width:min(360px,37vw);padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;background:#13161d}.search-glyph{font-size:19px;color:#7e8795;line-height:1}.global-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#e9ebf0;font-size:11px}.global-search input::placeholder{color:#687180}.global-search kbd{white-space:nowrap;font-size:9px;color:#7b8390;border:1px solid var(--border-hi);padding:3px 5px;border-radius:5px}.profile-chip{height:39px;padding:0 9px 0 5px;display:flex;align-items:center;gap:8px;background:transparent;border:1px solid var(--border);border-radius:10px;color:#d8dbe2;font-size:10px;cursor:pointer}.chevron{color:#737b89;font-size:14px}.mobile-menu{display:none}.view-root{width:100%;max-width:1640px;margin:0 auto;padding:32px 36px 80px;flex:1}.app-footer{min-height:42px;margin:0 36px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;color:#626a78;font-size:9px;letter-spacing:.15px}.app-footer b{color:var(--accent);padding:0 4px}.app-footer>span:last-child{display:flex;align-items:center;gap:7px}.footer-dot{width:6px;height:6px}.loading-state{min-height:65vh;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:12px}.loader{width:18px;height:18px;border:2px solid #333944;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Shared page elements */
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:var(--accent-2);font-size:9px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase}.eyebrow:before{content:"";width:17px;height:1px;background:var(--accent)}h1,h2,h3,p{margin-top:0}.page-title{margin:0;font:700 clamp(25px,3vw,34px)/1.1 system-ui,sans-serif;letter-spacing:-1.3px}.page-subtitle{margin:9px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 14px}.section-title{margin:0;font:600 16px system-ui;letter-spacing:-.25px}.section-sub{margin:5px 0 0;color:var(--muted);font-size:10px}.text-link{border:0;background:none;color:#ff727b;font-size:10px;font-weight:700;text-decoration:none;cursor:pointer}.text-link:hover{color:#ffa0a6}.panel{background:linear-gradient(145deg,rgba(23,26,34,.96),rgba(17,19,25,.97));border:1px solid var(--border);border-radius:var(--radius)}.muted{color:var(--muted)}.tiny-label{font-size:9px;color:#818998;font-weight:700;letter-spacing:1.25px;text-transform:uppercase}.btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid var(--border-hi);border-radius:10px;background:rgba(255,255,255,.045);color:#edf0f5;font-size:11px;font-weight:700;text-decoration:none;cursor:pointer;transition:.18s}.btn:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.2);transform:translateY(-1px)}.btn-primary{border-color:transparent;background:linear-gradient(135deg,var(--accent-2),#d51f32);color:#fff;box-shadow:0 7px 22px rgba(239,51,64,.18)}.btn-primary:hover{background:linear-gradient(135deg,#ff6d75,#df273a);box-shadow:0 9px 26px rgba(239,51,64,.25)}.btn-quiet{background:transparent;border-color:var(--border);color:#9da5b3}.btn-sm{min-height:31px;padding:0 10px;border-radius:8px;font-size:10px}.icon-btn{width:32px;height:32px;border:1px solid var(--border);background:rgba(255,255,255,.04);border-radius:9px;color:#abb2bf;cursor:pointer}.icon-btn:hover{background:var(--accent-soft);color:#fff;border-color:rgba(239,51,64,.25)}.input,.select,.textarea{width:100%;background:#0f1117;border:1px solid var(--border-hi);border-radius:10px;padding:11px 12px;color:#e9ebf1;outline:0;font-size:11px}.input:focus,.select:focus,.textarea:focus{border-color:rgba(239,51,64,.65);box-shadow:0 0 0 3px var(--accent-soft)}.textarea{min-height:112px;resize:vertical}.empty-state{padding:42px 22px;text-align:center;border:1px dashed rgba(255,255,255,.13);border-radius:15px;background:rgba(255,255,255,.018)}.empty-icon{width:48px;height:48px;margin:0 auto 13px;display:grid;place-items:center;border-radius:15px;background:var(--accent-soft);color:#ff7b83;font-size:21px}.empty-state h3{margin:0 0 7px;font:600 15px system-ui}.empty-state p{max-width:440px;margin:0 auto 15px;color:var(--muted);font-size:11px;line-height:1.6}
/* Home */
.home-hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;padding:31px 34px;border:1px solid rgba(239,51,64,.2);border-radius:23px;background:radial-gradient(ellipse at 78% 35%,rgba(239,51,64,.25),transparent 33%),linear-gradient(110deg,#19151c 0%,#17141a 45%,#11141c 100%)}.home-hero:before{content:"";position:absolute;z-index:-1;right:8%;top:-120px;width:360px;height:360px;border:1px solid rgba(255,255,255,.07);border-radius:50%;box-shadow:0 0 0 33px rgba(255,255,255,.018),0 0 0 68px rgba(255,255,255,.014),0 0 0 105px rgba(255,255,255,.01)}.hero-content{max-width:620px;position:relative;z-index:1}.hero-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:16px;padding:6px 9px;border:1px solid rgba(255,255,255,.1);border-radius:7px;background:rgba(255,255,255,.045);color:#ff8b92;font-size:8px;font-weight:700;letter-spacing:1.2px}.hero-kicker span{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 10px var(--accent)}.home-hero h1{margin:0;font:700 clamp(30px,4.3vw,47px)/1.02 system-ui;letter-spacing:-2px}.home-hero h1 em{font-style:normal;color:#ff626d}.home-hero p{max-width:500px;margin:13px 0 20px;color:#a8a6b2;font-size:12px;line-height:1.7}.hero-search{max-width:510px;display:flex;gap:8px;padding:5px;background:#0b0d13;border:1px solid rgba(255,255,255,.13);border-radius:12px}.hero-search input{flex:1;min-width:0;padding:0 10px;background:transparent;border:0;outline:0;color:#fff;font-size:11px}.hero-search input::placeholder{color:#69717f}.hero-orbit{position:absolute;right:11%;top:54px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle at 50% 50%,rgba(239,51,64,.23),rgba(239,51,64,.015) 62%,transparent 68%);display:grid;place-items:center}.hero-orbit-inner{width:85px;height:85px;border-radius:27px;background:linear-gradient(145deg,#f04450,#a9172c);box-shadow:0 18px 50px rgba(239,51,64,.35);display:grid;place-items:center;font:700 23px system-ui;transform:rotate(-8deg)}.hero-orbit-inner:after{content:"";position:absolute;inset:-13px;border:1px solid rgba(255,255,255,.13);border-radius:31px}.quick-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}.stat-card{padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(145deg,#14171e,#101218);display:flex;align-items:center;gap:12px}.stat-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:var(--accent-soft);color:#ff737d;font-size:18px}.stat-card:nth-child(2) .stat-icon{background:rgba(120,170,255,.12);color:#8bb5ff}.stat-card:nth-child(3) .stat-icon{background:rgba(57,214,160,.11);color:#65ddb1}.stat-card:nth-child(4) .stat-icon{background:rgba(255,198,91,.12);color:#ffd17d}.stat-value{font:700 17px system-ui}.stat-label{margin-top:2px;color:var(--muted);font-size:9px}.home-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.85fr);gap:15px;margin-top:27px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature-card{position:relative;min-height:146px;padding:15px;overflow:hidden;text-decoration:none;color:inherit;border:1px solid var(--border);border-radius:15px;background:linear-gradient(145deg,#191c25,#11131a);transition:.2s}.feature-card:hover{transform:translateY(-3px);border-color:rgba(239,51,64,.35)}.feature-card:after{content:"";position:absolute;right:-26px;bottom:-55px;width:135px;height:135px;border-radius:50%;background:var(--orb,rgba(239,51,64,.12));filter:blur(2px)}.feature-card .feature-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(255,255,255,.07);font-size:18px}.feature-card h3{position:relative;z-index:1;margin:18px 0 4px;font:600 13px system-ui}.feature-card p{position:relative;z-index:1;margin:0;color:var(--muted);font-size:9px}.feature-card .feature-arrow{position:absolute;right:13px;top:14px;color:#78808e;font-size:14px}.side-panel{padding:17px}.side-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.side-panel-head h3{margin:0;font:600 13px system-ui}.activity-list{display:grid;gap:13px}.activity-item{display:flex;align-items:center;gap:10px}.activity-icon{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.06);color:#c2c7d0}.activity-copy{min-width:0;display:grid;gap:3px}.activity-copy strong{font-size:10px}.activity-copy small{color:var(--muted);font-size:9px}.activity-open{margin-left:auto;color:#79818f}.home-shortcuts{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.shortcut-card{min-width:0;padding:11px 8px;border:1px solid var(--border);border-radius:13px;background:#13161d;text-align:center;text-decoration:none;color:#dfe2e8;cursor:pointer;transition:.18s}.shortcut-card:hover{background:#1a1e28;border-color:var(--border-hi);transform:translateY(-2px)}.shortcut-logo{width:35px;height:35px;margin:0 auto 8px;display:grid;place-items:center;border-radius:11px;background:#20242e;color:#fff;font:700 12px system-ui}.shortcut-logo img{max-width:25px;max-height:25px;object-fit:contain}.shortcut-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600}
/* Cards + library */
.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.library-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:15px;background:#14171e;transition:.2s}.library-card:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.16);box-shadow:0 12px 32px rgba(0,0,0,.18)}.library-art{position:relative;height:130px;overflow:hidden;background:linear-gradient(135deg,#282d3a,#151820)}.library-art img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.library-card:hover .library-art img{transform:scale(1.05)}.library-art:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.38))}.library-tag{position:absolute;z-index:1;left:10px;top:10px;padding:4px 7px;border-radius:5px;background:rgba(8,9,13,.7);border:1px solid rgba(255,255,255,.11);backdrop-filter:blur(8px);color:#dce0e7;font-size:8px;font-weight:700;letter-spacing:.5px}.library-card-body{padding:11px 12px}.library-card-title{display:flex;align-items:center;gap:7px}.library-card-title strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.library-card-body p{min-height:27px;margin:6px 0 10px;color:var(--muted);font-size:9px;line-height:1.5}.card-actions{display:flex;gap:6px}.card-actions .btn{flex:1;min-height:29px;font-size:9px}.fav-toggle{width:30px;min-width:30px;padding:0}.fav-toggle.is-fav{color:#ff727c;border-color:rgba(239,51,64,.35);background:var(--accent-soft)}.filter-row{display:flex;align-items:center;gap:9px;margin:18px 0}.filter-row .input{max-width:300px}.filter-chips{display:flex;flex-wrap:wrap;gap:6px}.chip{padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:#14171e;color:#9ea6b4;font-size:9px;font-weight:600;cursor:pointer}.chip.active,.chip:hover{background:var(--accent-soft);border-color:rgba(239,51,64,.3);color:#ff9097}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:15px}.web-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--border);border-radius:13px;background:#13161d;text-decoration:none;color:inherit;transition:.18s}.web-card:hover{border-color:rgba(239,51,64,.35);background:#191c25}.web-card-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:#242833;font:700 13px system-ui;color:#fff}.web-card-icon img{width:23px;height:23px;object-fit:contain}.web-card-copy{min-width:0;flex:1}.web-card-copy strong{display:block;font-size:11px}.web-card-copy small{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.web-card-arrow{color:#767f8d}.web-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.category-block{margin-top:22px}.category-block h3{margin:0 0 10px;font:600 12px system-ui;color:#e2e5eb}.browser-search{display:flex;gap:8px;padding:6px;border:1px solid var(--border-hi);border-radius:12px;background:#13161d}.browser-search input{flex:1;min-width:0;padding:0 10px;background:transparent;border:0;outline:0;color:#fff;font-size:11px}.browser-search select{width:120px}.bookmark-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:16px}
/* Music */
.music-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:15px}.music-sidebar{padding:17px}.music-sidebar h3{margin:0 0 12px;font:600 12px system-ui}.music-nav{display:grid;gap:5px}.music-nav button{display:flex;align-items:center;gap:9px;padding:9px;border:0;border-radius:9px;background:transparent;color:#9ea6b3;text-align:left;font-size:10px;cursor:pointer}.music-nav button.active,.music-nav button:hover{background:var(--accent-soft);color:#fff}.music-nav button span:first-child{font-size:15px;width:18px}.playlist-list{display:grid;gap:4px;margin-top:8px}.playlist-button{padding:8px 9px;border:0;border-radius:8px;background:transparent;text-align:left;color:#939baa;font-size:10px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playlist-button:hover{background:rgba(255,255,255,.05);color:#fff}.music-main{min-width:0;padding:20px}.music-topline{display:flex;align-items:center;justify-content:space-between;gap:14px}.music-topline h2{margin:0;font:600 18px system-ui}.music-topline p{margin:5px 0 0;color:var(--muted);font-size:10px}.music-actions{display:flex;gap:7px;flex-wrap:wrap}.music-provider-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:17px 0}.provider-card{padding:12px;border:1px solid var(--border);border-radius:12px;background:#12151c;color:#dce0e8;text-align:left;cursor:pointer}.provider-card:hover{border-color:rgba(239,51,64,.32);background:#191c25}.provider-card strong{display:block;margin-top:7px;font-size:10px}.provider-card small{display:block;margin-top:3px;color:var(--muted);font-size:8px;line-height:1.4}.provider-logo{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.08);font:700 12px system-ui}.provider-card:nth-child(1) .provider-logo{background:rgba(255,0,0,.14);color:#ff6666}.provider-card:nth-child(2) .provider-logo{background:rgba(30,215,96,.14);color:#41df81}.stream-stage{margin-top:14px;padding:15px;border:1px solid var(--border);border-radius:14px;background:#0e1016}.stream-stage iframe{display:block;width:100%;border:0;border-radius:10px;background:#090a0d}.track-list{display:grid;gap:6px;margin-top:15px}.track-row{display:flex;align-items:center;gap:10px;padding:9px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid transparent}.track-row:hover,.track-row.active{background:rgba(255,255,255,.055);border-color:var(--border)}.track-row-art{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(135deg,#39202b,#1c202a);color:#ff949c;font-size:15px;flex:0 0 auto}.track-row-main{flex:1;min-width:0}.track-row-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.track-row-main small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.track-row-actions{display:flex;align-items:center;gap:5px}.track-row .track-play{width:29px;height:29px;border:1px solid var(--border);border-radius:50%;background:rgba(255,255,255,.06);font-size:10px;cursor:pointer}.audio-progress{width:100%;height:4px;margin-top:10px;border-radius:10px;background:#2b303b;overflow:hidden}.audio-progress span{display:block;width:0;height:100%;background:var(--accent);border-radius:10px}.music-notice{padding:10px 12px;border-radius:9px;background:rgba(120,170,255,.08);border:1px solid rgba(120,170,255,.13);color:#aebfe0;font-size:9px;line-height:1.55}.mini-player{position:fixed;z-index:30;left:calc(var(--sidebar) + 20px);right:20px;bottom:12px;height:65px;padding:8px 13px;display:flex;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(19,22,30,.96);backdrop-filter:blur(18px);box-shadow:0 20px 55px rgba(0,0,0,.4)}.mini-player[hidden]{display:none}.mini-track-art{width:43px;height:43px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#8f2233,#251a26);color:#fff;font-size:19px}.mini-track-meta{min-width:120px;max-width:230px;display:grid;gap:3px}.mini-track-meta strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-track-meta small{font-size:9px;color:var(--muted)}.player-control{width:31px;height:31px;border:0;background:transparent;color:#b6bdc9;font-size:12px;cursor:pointer}.player-control:hover{color:#fff}.main-play{width:34px;height:34px;border-radius:50%;background:#f4f5f8;color:#15171d}.main-play:hover{background:#fff;color:#15171d}.mini-progress{flex:1;height:4px;margin:0 10px;border-radius:5px;background:#363b47;overflow:hidden}.mini-progress span{display:block;width:0;height:100%;background:var(--accent)}
/* Guess the tab */
.guess-hero{padding:24px;border:1px solid rgba(239,51,64,.2);border-radius:18px;background:radial-gradient(ellipse at 90% 30%,rgba(239,51,64,.17),transparent 37%),#16141a}.guess-hero h2{margin:0;font:700 25px system-ui;letter-spacing:-.8px}.guess-hero p{max-width:650px;margin:8px 0 0;color:#aaabb5;font-size:11px;line-height:1.65}.quiz-shell{max-width:900px;margin:20px auto 0}.quiz-progress{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:9px}.quiz-progress-line{flex:1;height:5px;border-radius:10px;background:#292e38;overflow:hidden}.quiz-progress-line span{display:block;height:100%;background:var(--accent);transition:width .2s}.quiz-card{margin-top:14px;padding:22px;border:1px solid var(--border);border-radius:17px;background:#13161e}.quiz-question{margin:0;font:600 17px system-ui}.quiz-hint{margin:7px 0 17px;color:var(--muted);font-size:10px}.tab-option{display:flex;align-items:center;gap:11px;width:100%;padding:12px;margin-top:8px;border:1px solid var(--border);border-radius:11px;background:#0f1117;color:#e7eaf0;text-align:left;cursor:pointer;transition:.16s}.tab-option:hover:not(:disabled){border-color:rgba(239,51,64,.42);background:#191b24}.tab-favicon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#252a34;font:700 10px system-ui}.tab-option-text{flex:1;min-width:0}.tab-option-text strong{display:block;font-size:10px}.tab-option-text small{display:block;margin-top:4px;overflow-wrap:anywhere;color:var(--muted);font-size:9px}.tab-option .option-mark{color:#717987}.tab-option.correct{border-color:rgba(57,214,160,.45);background:rgba(57,214,160,.07)}.tab-option.incorrect{border-color:rgba(239,51,64,.42);background:rgba(239,51,64,.07)}.quiz-feedback{min-height:26px;margin-top:14px;color:#aeb5c1;font-size:10px;line-height:1.5}.quiz-actions{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.quiz-score{margin-top:16px;padding:22px;text-align:center;border:1px solid var(--border);border-radius:16px;background:#13161e}.quiz-score strong{display:block;font:700 38px system-ui;color:#ff7b84}.quiz-score p{margin:7px 0 14px;color:var(--muted);font-size:11px}
/* Study, notes, settings, media */
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tool-card{padding:17px}.tool-card h3{margin:0 0 7px;font:600 13px system-ui}.tool-card p{margin:0 0 13px;color:var(--muted);font-size:10px;line-height:1.55}.calc-display{padding:14px;margin-bottom:9px;border-radius:10px;background:#090b10;text-align:right;font:600 23px system-ui;min-height:53px;overflow:hidden}.calc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.calc-grid button{height:37px;border:1px solid var(--border);border-radius:8px;background:#1a1e27;color:#e5e8ee;cursor:pointer}.calc-grid button:hover{background:#292e3a}.calc-grid button.operator{color:#ff858d;background:rgba(239,51,64,.1)}.notes-editor{display:grid;gap:10px}.note-card{padding:13px;border:1px solid var(--border);border-radius:12px;background:#13161d}.note-card strong{font-size:10px}.note-card p{margin:6px 0 0;color:var(--muted);font-size:9px;line-height:1.55;white-space:pre-wrap}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.settings-card{padding:18px}.settings-card h3{margin:0 0 6px;font:600 13px system-ui}.settings-card>p{margin:0 0 16px;color:var(--muted);font-size:10px;line-height:1.55}.swatches{display:flex;gap:9px;flex-wrap:wrap}.swatch{width:28px;height:28px;border:2px solid transparent;border-radius:9px;cursor:pointer}.swatch.active{outline:2px solid #fff;outline-offset:2px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-top:1px solid var(--border);font-size:10px}.toggle{width:37px;height:21px;border:0;border-radius:20px;background:#383e49;padding:3px;cursor:pointer}.toggle:after{content:"";display:block;width:15px;height:15px;border-radius:50%;background:white;transition:.2s}.toggle[aria-pressed="true"]{background:var(--accent)}.toggle[aria-pressed="true"]:after{transform:translateX(16px)}.app-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.app-tile{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid var(--border);border-radius:13px;background:#14171e;text-decoration:none;color:inherit}.app-tile:hover{background:#1b1e27;border-color:var(--border-hi)}.app-tile-link{display:flex;align-items:center;gap:11px;flex:1;min-width:0;text-decoration:none;color:inherit}.app-tile .app-icon{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#252a35;font:700 11px system-ui}.app-tile img{max-width:25px;max-height:25px;object-fit:contain}.app-tile strong{display:block;font-size:10px}.app-tile small{display:block;margin-top:4px;color:var(--muted);font-size:8px}.media-feature{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;padding:18px;border:1px solid var(--border);border-radius:16px;background:#151821}.media-feature h3{margin:0 0 7px;font:600 16px system-ui}.media-feature p{color:var(--muted);font-size:10px;line-height:1.6}.media-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.media-tile{padding:13px;border:1px solid var(--border);border-radius:12px;background:#14171e;text-decoration:none;color:inherit}.media-tile strong{display:block;margin-top:8px;font-size:10px}.media-tile small{display:block;margin-top:4px;color:var(--muted);font-size:8px;line-height:1.5}
/* Dialogs, toast, responsive */
.dialog-layer{position:fixed;z-index:60;inset:0;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.7);backdrop-filter:blur(10px)}.dialog-layer[hidden]{display:none}.dialog{width:min(520px,100%);max-height:min(85vh,760px);overflow:auto;padding:20px;border:1px solid var(--border-hi);border-radius:18px;background:#151820;box-shadow:var(--shadow)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-head h2{margin:0;font:600 16px system-ui}.dialog-body{display:grid;gap:12px}.field-label{display:grid;gap:6px;color:#adb4c0;font-size:10px;font-weight:600}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.toast-stack{position:fixed;z-index:80;right:20px;top:88px;display:grid;gap:8px}.toast{max-width:330px;padding:11px 14px;border:1px solid var(--border-hi);border-radius:10px;background:#1c202a;color:#eef0f4;box-shadow:var(--shadow);font-size:10px;animation:toastIn .2s ease}.toast.error{border-color:rgba(239,51,64,.35)}.toast.success{border-color:rgba(57,214,160,.3)}@keyframes toastIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}.external-frame{width:100%;height:420px;border:0;border-radius:13px;background:#0b0c10}.warning-note{padding:10px 12px;border:1px solid rgba(255,198,91,.17);border-radius:9px;background:rgba(255,198,91,.06);color:#c9b991;font-size:9px;line-height:1.55}.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
@media(max-width:1200px){.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-stats{grid-template-columns:repeat(2,1fr)}.home-grid{grid-template-columns:1fr}.web-grid{grid-template-columns:repeat(2,1fr)}.app-card-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){:root{--sidebar:225px}.sidebar{width:var(--sidebar)}.topbar{padding:0 22px}.view-root{padding:25px 22px 70px}.app-footer{margin:0 22px}.music-layout{grid-template-columns:1fr}.music-sidebar{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.music-sidebar h3{margin:0}.music-nav{display:flex;flex-wrap:wrap}.playlist-list{display:none}.bookmark-grid{grid-template-columns:repeat(3,1fr)}.two-col{grid-template-columns:1fr}.mini-player{left:calc(var(--sidebar) + 12px);right:12px}}
@media(max-width:680px){:root{--sidebar:0px;--topbar:62px}.sidebar{width:260px;transform:translateX(-105%);transition:transform .24s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.main-column{margin-left:0}.topbar{padding:0 14px}.mobile-menu{display:inline-grid}.breadcrumbs span:first-child,.crumb-slash{display:none}.global-search{width:min(48vw,250px);height:36px}.global-search kbd,.profile-chip>span:not(.profile-avatar){display:none}.profile-chip{padding-right:5px}.topbar-actions{gap:6px}.view-root{padding:22px 14px 90px}.app-footer{margin:0 14px;padding:12px 0;gap:8px;align-items:flex-start;flex-direction:column}.home-hero{padding:24px 20px;min-height:240px}.hero-orbit{right:-10px;top:95px;transform:scale(.72);opacity:.55}.home-hero h1{font-size:33px}.home-hero p{font-size:11px;max-width:390px}.quick-stats{gap:8px}.stat-card{padding:11px;gap:9px}.stat-icon{width:31px;height:31px}.feature-grid{grid-template-columns:repeat(2,1fr)}.home-shortcuts{grid-template-columns:repeat(3,1fr)}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.library-art{height:105px}.library-card-body{padding:9px}.web-grid{grid-template-columns:1fr}.bookmark-grid{grid-template-columns:repeat(2,1fr)}.app-card-grid{grid-template-columns:repeat(2,1fr)}.tool-grid,.settings-grid,.media-feature{grid-template-columns:1fr}.media-tiles{grid-template-columns:repeat(2,1fr)}.music-main{padding:14px}.music-provider-row{grid-template-columns:1fr}.music-topline{align-items:flex-start;flex-direction:column}.mini-player{left:8px;right:8px;bottom:8px;height:60px;gap:6px;padding:7px}.mini-track-meta{min-width:80px;max-width:120px}.mini-progress{margin:0 3px}.mini-player .icon-button{width:30px;height:30px}.quiz-card{padding:15px}.page-head{align-items:flex-start;flex-direction:column}.page-title{font-size:28px}.filter-row{align-items:stretch;flex-direction:column}.filter-row .input{max-width:none}.toast-stack{left:12px;right:12px;top:72px}.toast{max-width:none}}
@media(max-width:390px){.card-grid{grid-template-columns:1fr 1fr}.library-art{height:90px}.feature-grid{grid-template-columns:1fr 1fr}.home-hero h1{font-size:29px}.profile-chip{display:none}.global-search{width:58vw}.stat-card{gap:7px}.stat-label{font-size:8px}}
/* Built-in mini-game surfaces */
.game-dialog.wide{min-width:min(440px,calc(100vw - 44px))}.memory-head,.game2048-head,.sprint-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-width:380px;margin:5px auto}.memory-card{aspect-ratio:1;border:1px solid var(--border-hi);border-radius:12px;background:linear-gradient(145deg,#292e3a,#171a22);color:#fff;font-size:24px;cursor:pointer;transition:transform .15s,background .15s}.memory-card:hover{transform:translateY(-2px)}.memory-card.revealed{background:rgba(239,51,64,.16);border-color:rgba(239,51,64,.42)}.memory-card.matched{background:rgba(57,214,160,.12);border-color:rgba(57,214,160,.4);color:#6de0b7}.game2048-head strong{color:#fff;font:700 18px system-ui}.board2048{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;width:min(100%,360px);aspect-ratio:1;padding:8px;margin:10px auto;border-radius:13px;background:#282d38}.tile2048{display:grid;place-items:center;border-radius:8px;background:#3a404c;color:#fff;font:700 clamp(14px,4vw,24px) system-ui}.tile2048.v0{background:#1d222c}.tile2048.v2{background:#d9d2c6;color:#38332c}.tile2048.v4{background:#e4c9a1;color:#393027}.tile2048.v8{background:#ef9d64;color:#fff}.tile2048.v16{background:#f17a53;color:#fff}.tile2048.v32{background:#ed5c45;color:#fff}.tile2048.v64{background:#d94337;color:#fff}.tile2048.v128,.tile2048.v256,.tile2048.v512{background:#e6c95f;color:#332b1a}.tile2048.v1024,.tile2048.v2048{background:#e9bb37;color:#28200e}.game2048-controls{display:grid;justify-items:center;gap:5px}.game2048-controls>div{display:flex;gap:5px}.sprint-top{justify-content:space-around;padding:9px 0}.sprint-top div{text-align:center}.sprint-top small{display:block;font-size:8px;letter-spacing:1px}.sprint-top strong{display:block;margin-top:4px;font:700 24px system-ui;color:#ff7b84}.sprint-field{position:relative;height:250px;margin:10px 0;border:1px solid var(--border);border-radius:13px;background:radial-gradient(circle at center,rgba(255,255,255,.045),transparent 70%),#0d0f15;overflow:hidden}.sprint-start{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid rgba(239,51,64,.35);border-radius:9px;background:var(--accent-soft);color:#ff8790;padding:11px 17px;font-size:11px;font-weight:700;cursor:pointer}.sprint-target{position:absolute;width:36px;height:36px;border:4px solid #ffb2b7;border-radius:50%;background:var(--accent);box-shadow:0 0 0 8px rgba(239,51,64,.12),0 0 24px rgba(239,51,64,.5);cursor:pointer;transform:translate(-50%,-50%)}.sprint-result{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:8px}.sprint-result strong{font:700 31px system-ui;color:#ff7b84}.sprint-result small{color:var(--muted);font-size:10px}.scramble-score{text-align:right;color:var(--muted);font-size:10px}.scramble-score strong{color:#ff8189;font:700 16px system-ui}.scramble-letters{margin:10px 0;text-align:center;font:700 30px system-ui;letter-spacing:8px;color:#fff}.stream-provider-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;color:#a7afbc;font-size:8px;letter-spacing:1.2px;font-weight:700}.stream-provider-head a{color:#ff858d;text-decoration:none;font-size:9px;letter-spacing:0}.stream-stage iframe{min-height:220px;max-height:390px}.quiz-card{display:block}.quiz-card .quiz-progress{margin-bottom:10px}.quiz-card .quiz-score{max-width:440px;margin:0 auto}.quiz-card input{margin-top:5px}

/* Persistent official streaming player */
.provider-player-drawer{position:fixed;z-index:29;right:20px;bottom:88px;width:min(390px,calc(100vw - 28px));padding:12px;border:1px solid var(--border-hi);border-radius:15px;background:rgba(18,21,29,.98);box-shadow:var(--shadow);backdrop-filter:blur(18px)}.provider-player-drawer[hidden]{display:none}.provider-player-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.provider-player-head>div{display:grid;gap:3px;min-width:0}.provider-player-head strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-player-head small{color:var(--muted);font-size:8px}.provider-player-drawer iframe{display:block;width:100%;max-height:230px;border:0;border-radius:9px;background:#090a0d}.mini-progress[hidden]{display:none}

/* AF Game Hub World additions */
.ai-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.8fr);gap:14px;align-items:start}.ai-panel,.ai-config{padding:16px;min-width:0}.ai-chat-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}.ai-chat-head>div{display:grid;gap:4px}.ai-chat-head strong{font-size:10px;letter-spacing:1px}.ai-chat-head small{font-size:9px;color:var(--muted)}.ai-messages{height:min(52vh,520px);min-height:260px;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:14px 3px}.ai-welcome{margin:auto;max-width:390px;text-align:center;color:var(--muted);font-size:10px;line-height:1.7}.ai-welcome h3{margin:10px 0 5px;color:#fff;font:600 16px system-ui}.ai-message{max-width:min(88%,650px);padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:#171b24;white-space:pre-wrap;overflow-wrap:anywhere}.ai-message.user{align-self:flex-end;background:var(--accent-soft);border-color:rgba(239,51,64,.22)}.ai-message strong{display:block;margin-bottom:5px;font-size:9px;color:#ff8b92}.ai-message p{font-size:11px;line-height:1.65;color:#e8ebf2;margin:0}.ai-prompt-form{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:end}.ai-prompt-form textarea{min-height:55px;max-height:160px;resize:vertical}.ai-settings-form{display:grid;gap:12px}.ai-button-row{display:flex;flex-wrap:wrap;gap:8px}.ai-status-note{margin-top:12px;color:var(--muted);font-size:9px;line-height:1.55;overflow-wrap:anywhere}.proxy-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;margin-bottom:14px;background:linear-gradient(120deg,rgba(124,101,237,.12),rgba(239,51,64,.06)),#151821}.proxy-intro h2{margin:7px 0;font:600 18px system-ui}.proxy-intro p{max-width:820px;color:var(--muted);font-size:10px;line-height:1.7}.proxy-intro-badge{display:grid;place-items:center;flex:0 0 104px;width:104px;height:104px;border-radius:50%;border:1px solid var(--border-hi);background:#191d27}.proxy-intro-badge strong{font:700 28px system-ui;color:#fff}.proxy-intro-badge small{font-size:7px;letter-spacing:1px;color:var(--muted)}.proxy-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.proxy-profile{padding:14px;min-width:0}.proxy-profile-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.proxy-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent-soft);font-size:18px;color:#ff8890}.proxy-state{font-size:7px;font-weight:800;letter-spacing:.6px;padding:5px 7px;border-radius:20px}.proxy-state.unconfigured{background:rgba(255,255,255,.06);color:var(--muted)}.proxy-state.configured{background:rgba(57,214,160,.1);color:#65d7ad}.proxy-profile h3{font:600 13px system-ui;margin:12px 0 5px}.proxy-profile p{min-height:32px;color:var(--muted);font-size:9px;line-height:1.55}.proxy-endpoint{margin:10px 0;padding:8px;border-radius:8px;background:#10131a;color:#8f97a5;font:9px ui-monospace,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proxy-actions{display:flex;gap:7px;flex-wrap:wrap}.proxy-actions .btn{flex:1}.proxy-profile .btn{min-width:88px}
@media(max-width:1050px){.proxy-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-layout{grid-template-columns:1fr}}
@media(max-width:600px){.proxy-profile-grid{grid-template-columns:1fr}.proxy-intro{align-items:flex-start}.proxy-intro-badge{width:76px;height:76px;flex-basis:76px}.proxy-intro-badge strong{font-size:22px}.ai-prompt-form{grid-template-columns:1fr}.ai-prompt-form button{justify-self:end}}
