/* VSocial client workspace: presentation only, scoped away from login and provider pages. */
#app.shell{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#eeeaf6;background:radial-gradient(ellipse at 90% 5%,#693a9720,transparent 38%),radial-gradient(ellipse at 0 65%,#1743660c,transparent 45%),#080b13}
#app.shell>main{background:transparent}
#app .topbar{background:linear-gradient(100deg,#10101ef5,#0a0e19f5);border-bottom:1px solid #b774ec30;box-shadow:0 6px 30px #0004;backdrop-filter:blur(18px)}
#app .topbar .top-search{background:#0a0c16;border:1px solid #b485dd2b;box-shadow:inset 0 1px 8px #0002}
#app .topbar .top-search:focus-within{border-color:#bd7dea;box-shadow:0 0 0 3px #b165e315}
#app .topbar nav a{border:1px solid transparent;color:#a99cb8;transition:background .18s,border-color .18s,box-shadow .18s}
#app .topbar nav a:hover{background:#a45ee50e;border-color:#b77cdd22;color:#f7e8ff}
#app .topbar nav a.active{background:linear-gradient(115deg,#a043df1f,#eb79540a);border-color:#ad6fdf30;color:#d9b2fc!important;box-shadow:inset 0 0 20px #973ad309}
#app .topbar nav a.active:after{background:linear-gradient(90deg,#a448f5,#df6fc7,#ff9d68)!important;box-shadow:0 0 13px #b96bff50}
#app .topbar .me img{border-color:#b476ed;box-shadow:0 0 13px #b967f62b}
#app .top-round{border:1px solid #a87ed72b;background:linear-gradient(145deg,#201a2e,#111825);box-shadow:0 4px 13px #0003}
#app #socialView .hero{border:1px solid #ad74e13b;border-radius:17px;box-shadow:0 20px 55px #0004,0 0 28px #9949d00a;overflow:hidden;background-color:#0d1020}
#app #socialView .hero-shade{background:linear-gradient(100deg,#070c17d6,#0b0b1b60 55%,#180d2725),linear-gradient(0deg,#090d18f2,transparent 70%)}
#app #socialView .avatar{border-color:#bd77fa!important;box-shadow:0 0 0 5px #0a0e19,0 0 28px #ab58f63b}
#app #socialView .identity h1{font-weight:650;letter-spacing:-.9px;text-shadow:0 3px 18px #0008}
#app #socialView .identity>b{color:#d7a9fb!important;letter-spacing:.2px}
#app #socialView .identity p{color:#d0c4dc;line-height:1.75}
#app #socialView .identity-meta{color:#a398b4;font-size:12px}
#app #socialView .stats{gap:14px}
#app #socialView .stats>div{min-width:88px;padding:12px 20px;background:linear-gradient(135deg,#bb67f312,#0c101bd9);border:1px solid #bd81eb2b;border-radius:11px;box-shadow:0 5px 18px #0002;backdrop-filter:blur(10px)}
#app #socialView .stats strong{color:#f0dfff;font-size:25px;font-weight:600;letter-spacing:-.7px}
#app #socialView .stats span{color:#b9a9cb;font-size:10px;margin-top:4px}
#app #socialView .profile-actions #editHero{background:linear-gradient(105deg,#8534d4,#b246c9 65%,#d98151)!important;border:1px solid #d193f03b!important;border-radius:9px!important;box-shadow:0 6px 24px #953cbd25;font-size:12px;font-weight:650;letter-spacing:.2px}
#app #socialView .tabs{padding:7px;gap:5px;border:1px solid #a177cd26;border-radius:12px;background:linear-gradient(110deg,#161222,#10131d);box-shadow:0 8px 25px #0002}
#app #socialView .tabs button{border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#a99ab9;font-size:12px;font-weight:550;padding:12px 17px;transition:background .18s,color .18s,border-color .18s}
#app #socialView .tabs button:hover{color:#e4c7fa;background:#b25ee910!important}
#app #socialView .tabs button.active{color:#f2dbff!important;border-color:#be72f344!important;background:linear-gradient(100deg,#9944e42b,#d653b31a 65%,#f0893c0c)!important;box-shadow:0 0 17px #a643df10}
#app #socialView .block,#app #socialView .rail-card,#app #socialView .vs-list-card,#app #socialView .vs-review,#app #socialView .vs-feed-item,#app .settings-card,#app .settings-item,#app .person-row,#app .feed-card{border:1px solid #ad81cf25;border-radius:13px;background:linear-gradient(135deg,#141321,#0e131e);box-shadow:0 10px 30px #0002}
#app #socialView .block>header,#app #socialView .rail-card>header{border-bottom-color:#b57ae218}
#app #socialView .block h2,#app #socialView .rail-card h2,#app .settings-card h2{font-weight:600;letter-spacing:-.35px}
#app #socialView .block>header>span,#app #socialView .rail-card>header>span{color:#b49bc9;font-size:10px;letter-spacing:.4px}
#app #socialView .vs-tab-head h2{font-weight:600;letter-spacing:-.7px}
#app #socialView .vs-empty,#app #socialView .empty-inline,#app .settings-empty{color:#978ba8;font-size:12px;line-height:1.8}
#app #socialView .mini-person img{border:1px solid #ac76d735;box-shadow:0 5px 15px #0003}
#app #socialView .vs-poster{border-color:#aa76d32b;border-radius:11px;overflow:hidden;transition:transform .18s,box-shadow .18s}
#app #socialView .vs-poster:hover{transform:translateY(-3px);box-shadow:0 0 0 1px #b775e86b,0 10px 24px #0004}
#app .vs-friend-card{border-color:#ad81cf25;background:linear-gradient(135deg,#161324,#101620);box-shadow:0 5px 20px #0002;border-radius:12px}
#app .vs-friend-card:hover{border-color:#c181ef70;background:linear-gradient(135deg,#221830,#111a28)}
#app .vs-friend-card img,#app .person-row>img{border:1px solid #b578ea44}
#app .settings-head h1,#app .community-view h1,#app .feed-head h1{font-weight:600;letter-spacing:-1px}
#app .settings-head>div>small{color:#c38ce9;font-size:10px;letter-spacing:2px}
#app .settings-nav{background:linear-gradient(150deg,#161222,#0d1320);border:1px solid #ad81cf25;border-radius:12px;padding:8px}
#app .settings-nav button{border:1px solid transparent;border-radius:8px;color:#a89ab9;background:transparent;font-size:11px}
#app .settings-nav button:hover{background:#b474e90b;border-color:#b474e923;color:#e1c2f6}
#app .settings-nav button.active{color:#e7c7ff!important;background:linear-gradient(100deg,#a047e52b,#d05dc21a)!important;border-color:#c47df447;box-shadow:inset 3px 0 #c17af8}
#app .settings-stats article{border:1px solid #af79df35;border-radius:12px;background:linear-gradient(130deg,#21152e,#101624);box-shadow:0 7px 24px #0002}
#app .settings-stats strong{color:#e3bcff;font-weight:600;letter-spacing:-1px}
#app .settings-card input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),#app .settings-card select,#app .settings-card textarea,#app .community-view input{background:#090c16;border:1px solid #ad81cf2d;border-radius:8px;color:#ece3f6;font-size:13px;min-height:45px;padding:12px 13px}
#app .settings-card input:focus,#app .settings-card select:focus,#app .settings-card textarea:focus{outline:0;border-color:#bd7aee;box-shadow:0 0 0 3px #ab55df1c}
#app button:focus-visible,#app a:focus-visible{outline:2px solid #ce91fb!important;outline-offset:4px}
#app .social-copyright{margin-top:35px;padding:22px 12px 0;border-top:1px solid #b477dd16;color:#82748f;font-size:9px;line-height:1.8;text-align:center}
@media(max-width:1250px) and (min-width:901px){#app #socialView .stats>div{padding:10px 15px;min-width:80px}}
@media(max-width:900px){#app #socialView .stats{gap:9px}#app #socialView .stats>div{min-width:0;padding:12px 7px}#app #socialView .identity h1{letter-spacing:-.6px}}
@media(max-width:720px){#app .topbar nav{background:linear-gradient(100deg,#11101ef9,#0b101af9);border-top-color:#b979e438;box-shadow:0 -5px 25px #0004}#app .topbar nav a.active:after{box-shadow:0 0 12px #ac62e94d}#app #socialView .hero{border-radius:0 0 15px 15px}#app #socialView .tabs{padding:5px;gap:4px}#app #socialView .tabs button{font-size:11px;padding:11px 13px}#app #socialView .stats strong{font-size:23px}#app #socialView .stats span{font-size:9px}#app #socialView .block,#app #socialView .rail-card{border-radius:12px}#app .social-copyright{font-size:8px;margin-bottom:12px}#app .settings-card input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),#app .settings-card select,#app .settings-card textarea,#app .community-view input{font-size:16px}}
@media(prefers-reduced-motion:reduce){#app.shell *{transition:none!important}}

#app #profileFriends>.empty-inline,#app #mutualFriends>.empty-inline{grid-column:1/-1;width:100%;max-width:none;padding:17px;line-height:1.8}
#app #socialView .rail-card #profileFriendsAll,#app #socialView .rail-card [data-open-badges]{color:#c99bec}
body[data-vsocial-view=app] #profileDialog,body[data-vsocial-view=app] #playlistDialog{border-color:#b77cdd45;background:linear-gradient(145deg,#181323,#0d1420);box-shadow:0 25px 90px #0009,0 0 35px #a05bd115;border-radius:15px}
body[data-vsocial-view=app] #profileDialog::backdrop,body[data-vsocial-view=app] #playlistDialog::backdrop{background:#030610d9;backdrop-filter:blur(6px)}
body[data-vsocial-view=app] #profileDialog input,body[data-vsocial-view=app] #profileDialog select,body[data-vsocial-view=app] #profileDialog textarea{background:#090d17;border:1px solid #ac7ad53b;border-radius:8px;color:#f0e7fa}
body[data-vsocial-view=app] #profileDialog input:focus,body[data-vsocial-view=app] #profileDialog select:focus,body[data-vsocial-view=app] #profileDialog textarea:focus{outline:0;border-color:#c17cf4;box-shadow:0 0 0 3px #a952df1b}
body[data-vsocial-view=app] #profileDialog .save{background:linear-gradient(100deg,#8337d0,#b448c5 65%,#d47a4e);border:1px solid #c48de237;border-radius:9px}

/* Match the stronger purple, pink and orange accents of the Android experience. */
#app .topbar nav a.active{color:#fff!important;background:linear-gradient(105deg,#9229f3 0%,#d937b9 57%,#ff8734 100%)!important;border-color:#e18cff70!important;box-shadow:0 6px 22px #ae2cdb40,inset 0 1px #ffffff26}
#app .topbar nav a.active b img{filter:brightness(1.35) saturate(1.25)}
#app .topbar nav a.active:after{background:linear-gradient(90deg,#bc65ff,#ff71c4,#ffb065)!important;box-shadow:0 0 16px #e460b06b}
#app #socialView .tabs button.active{background:linear-gradient(105deg,#9229f3 0%,#d937b9 57%,#ff8734 100%)!important;border-color:#ed9afd70!important;color:#fff!important;box-shadow:0 4px 17px #b12bcc45,inset 0 1px #ffffff20;font-weight:650}
#app #socialView .tabs button:hover:not(.active){background:#c944ed20!important;border-color:#cc6bf54d!important;color:#edc6ff}
#app #socialView .profile-actions #editHero,#app .settings-purchase-cta,#app .settings-buy-license{background:linear-gradient(105deg,#9628f5 0%,#e33aa9 53%,#ff8a30 100%)!important;border-color:#ee9bff66!important;color:#fff!important;box-shadow:0 7px 25px #cb3fa447,0 0 18px #a43df51c;font-weight:700}
#app #socialView .profile-actions #editHero:hover{filter:brightness(1.15);box-shadow:0 9px 28px #d449b35c}
#app #socialView .avatar{border-color:#c954ff!important;box-shadow:0 0 0 4px #0a0d18,0 0 0 6px #e84ba13d,0 0 32px #bb45ff5c}
#app #socialView .identity>b{color:#ef92ff!important}
#app #socialView .stats>div{background:linear-gradient(125deg,#5c22704a,#3e1b4933 60%,#6a361b22);border-color:#d06bea55;box-shadow:0 5px 19px #7f2aab20,inset 0 1px #d48ff610}
#app #socialView .stats strong{color:#ffc28a;text-shadow:0 0 18px #f47b6440}
#app #socialView .stats span{color:#d3b9e7}
#app #socialView .hero{border-color:#c969ec59;box-shadow:0 20px 55px #0004,0 0 30px #a647cd12}
#app #socialView .block,#app #socialView .rail-card,#app .settings-card{border-color:#bd60e13d;background:linear-gradient(135deg,#1b1429,#111522 72%);box-shadow:0 10px 30px #0002,inset 0 1px #d49af50a}
#app #socialView .rail-card>header button,#app #socialView .rail-card #profileFriendsAll,#app #socialView .block>header button,#app #socialView [data-open-completed],#app #socialView [data-open-favorites]{color:#ff9b4e!important;font-weight:750}
#app #socialView .tabs{border-color:#b25adb3b;background:linear-gradient(100deg,#21152e,#131421)}
#app .settings-nav button.active{background:linear-gradient(105deg,#9029eb,#d935ab 60%,#ee7c35)!important;color:#fff!important;border-color:#dd8cf366;box-shadow:0 5px 19px #9a35b32e}
#app .settings-stats article{background:linear-gradient(125deg,#48205e5c,#311a443b 70%,#572d1a22);border-color:#c967e650}
#app .settings-stats strong{color:#ffbd83}
#app .feed-actions button.active{color:#ff9461!important}
body[data-vsocial-view=app] #profileDialog .save{background:linear-gradient(105deg,#9628f5,#e33aa9 53%,#ff8a30);border-color:#ec9aff55;box-shadow:0 5px 20px #c342aa33}
@media(max-width:680px){#app #socialView .vs-watch-columns{grid-template-columns:minmax(0,1fr)!important;gap:24px}#app #socialView .vs-watch-columns>section{min-width:0;max-width:100%}#app #socialView .vs-watch-subhead{flex-wrap:wrap;gap:10px}#app #socialView .vs-empty{max-width:100%;overflow-wrap:anywhere}}
#app .topbar nav a.active img{filter:brightness(0) invert(1)!important}
#app .settings-card>button:not(.danger):not(.plain),#app .settings-card form>button:not(.danger):not(.plain){background:linear-gradient(105deg,#9628f5,#e33aa9 53%,#ff8a30);border:1px solid #ed9bff4d;box-shadow:0 5px 20px #b532b12e;color:#fff}

/* Keep the banner counters compact, including a single row on phones. */
#app #socialView .hero .stats{gap:8px}
#app #socialView .hero .stats>div{min-width:64px;padding:7px 11px;border-radius:8px;box-shadow:0 3px 10px #7f2aab12}
#app #socialView .hero .stats strong{font-size:18px;line-height:1.15;letter-spacing:-.3px}
#app #socialView .hero .stats span{margin-top:3px;font-size:9px;line-height:1.3}
@media(max-width:900px){#app #socialView .hero .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}#app #socialView .hero .stats>div{min-width:0;padding:7px 5px}#app #socialView .hero .stats strong{font-size:18px}#app #socialView .hero .stats span{font-size:9px}}
@media(max-width:360px){#app #socialView .hero .stats{gap:5px}#app #socialView .hero .stats>div{padding:7px 3px}#app #socialView .hero .stats strong{font-size:17px}#app #socialView .hero .stats span{font-size:8px}}

@media(min-width:901px){#app #socialView .hero{min-height:330px}}

/* Near-black ocean-blue surfaces; colorful buttons, artwork and neon accents stay intact. */
#app.shell{background:#080e18}
#app .topbar{background:#0b1120f7}
#app .topbar .top-search{background:#0b1321}
#app .topbar .me:hover{background:#1d263b}
#app #socialView .tabs{background:#141b2b}
#app #socialView .block,#app #socialView .rail-card,#app #socialView .vs-list-card,#app #socialView .vs-review,#app #socialView .vs-feed-item,#app .settings-card,#app .settings-item,#app .person-row,#app .feed-card,#app .vs-friend-card{background:#141b2b}
#app .vs-friend-card:hover{background:#1d263b}
#app #socialView .hero .stats>div{background:#141b2bef}
#app .settings-nav{background:#141b2b}
#app .settings-stats article{background:#141b2b}
#app .settings-card input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),#app .settings-card select,#app .settings-card textarea,#app .community-view input{background:#0b1321}
#app .top-round{background:#192238}
#app #socialView .vs-watch-columns>section{background:#141b2b}
#app #socialView .vs-empty,#app #socialView .empty-inline,#app .settings-empty{background-color:#101725}
body[data-vsocial-view=app] #profileDialog,body[data-vsocial-view=app] #playlistDialog{background:#141b2b}
body[data-vsocial-view=app] #profileDialog input,body[data-vsocial-view=app] #profileDialog select,body[data-vsocial-view=app] #profileDialog textarea{background:#0b1321}
@media(max-width:720px){#app .topbar nav{background:#0b1120f9}}

/* Completed titles fill the available width, then wrap in reading order. */
#app #socialView .vs-watch-columns>section:last-child .vs-completed-grid,body[data-vsocial-view=app] #vsCompletedPanel .vs-completed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,132px),1fr))!important;grid-template-rows:none;grid-auto-flow:row;grid-auto-columns:auto;align-items:start;align-content:start;justify-content:stretch;gap:14px 12px;overflow:visible;width:100%;min-width:0}
#app #socialView .vs-watch-columns>section:last-child .vs-completed-card,body[data-vsocial-view=app] #vsCompletedPanel .vs-completed-card{width:100%;max-width:none;min-width:0;align-self:start}
#app #socialView .vs-watch-columns>section:last-child .vs-completed-card>img,body[data-vsocial-view=app] #vsCompletedPanel .vs-completed-card>img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}
@media(max-width:680px){#app #socialView .vs-watch-columns>section:last-child .vs-completed-grid,body[data-vsocial-view=app] #vsCompletedPanel .vs-completed-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,112px),1fr))!important}}

/* Reuse the existing client logout handler from the sidebar. */
#app .topbar .sidebar-logout{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:37px;padding:9px 10px;border:1px solid #b976dd36;border-radius:8px;background:#171f31;color:#d1c3dc;font:600 10px/1.3 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;box-shadow:none}
#app .topbar .sidebar-logout svg{flex-shrink:0;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#app .topbar .sidebar-logout:hover{border-color:#d082f573;color:#fff;background:#222b40}
@media(max-width:1050px) and (min-width:701px){#app .topbar .sidebar-logout{min-height:40px;padding:10px}#app .topbar .sidebar-logout span{display:none}}
@media(max-width:700px){#app .topbar .sidebar-logout{width:38px;min-height:38px;padding:9px}#app .topbar .sidebar-logout span{display:none}}
