/* Roovet Watch: every page inside one shared chrome (2026-11-22).
   watch.css was written for standalone pages with their own headers; the shared chrome (watch-next.css)
   supplies the header, sidebar and mobile bar, so page bodies only need the sidebar offset here. */

/* Shell pages (Explore, Community, Live directory, Profile, Studio home, Upload). */
body.wx-legacy-page{background:#0c0f17;color:#e9ecf5}
body.wx-legacy-page main.mh-main.watch-content{display:block;width:auto;min-width:0;margin-left:var(--mh-sidebar);margin-right:0;padding:calc(var(--mh-header) + 20px) 32px 82px;max-width:none;grid-column:auto;min-height:100vh}

/* Standalone tool pages (Studio tools, playlists, notifications, clips, safety, admin). */
body.wx-chrome-adopted{min-height:100vh}
body.wx-chrome-adopted main#watch-main{width:auto;min-width:0;max-width:none;margin:0 0 0 var(--mh-sidebar);padding:20px 32px 82px;box-sizing:border-box}
body.wx-chrome-adopted main#watch-main > *{max-width:1480px}
.wx-subnav{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;margin:0 0 0 var(--mh-sidebar);padding:calc(var(--mh-header) + 16px) 32px 4px}
.wx-subnav::-webkit-scrollbar{display:none}
.wx-subnav a{flex:0 0 auto;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#d9dcea;font:600 13px/1.2 inherit;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.wx-subnav a:hover{background:rgba(255,255,255,.12);color:#fff}
.wx-subnav a.is-active,.wx-subnav a[aria-current="page"]{background:#fff;color:#0c0f17;border-color:#fff}
.wx-subnav:empty{padding-bottom:0}

@media (max-width:1100px){
 body.wx-legacy-page main.mh-main.watch-content,body.wx-chrome-adopted main#watch-main{padding-inline:24px}
 .wx-subnav{padding-inline:24px}
}
@media (max-width:860px){
 body.wx-legacy-page main.mh-main.watch-content{margin-left:0;padding:calc(var(--mh-header) + 12px) 16px 96px}
 body.wx-chrome-adopted main#watch-main{margin-left:0;padding:14px 16px 96px}
 .wx-subnav{margin-left:0;padding:calc(var(--mh-header) + 12px) 16px 2px}
}
