/* TikJuke navigation parity — scoped, additive presentation. */
.tj-shared-topbar{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 clamp(12px,2.5vw,38px);background:#0b0b1a;border-bottom:1px solid #6a247b88;box-shadow:0 5px 28px #0008;color:#f6edff;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
.tj-shared-topbar a{color:#c0b0cf;text-decoration:none}
.tj-shared-brand{display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap;font-size:24px;font-weight:850;letter-spacing:-1px}
.tj-shared-brandmark{display:grid;place-items:center;width:37px;height:37px;background:linear-gradient(140deg,#ca38c5,#743bb9);border:1px solid #e278da88;border-radius:12px;color:#fff;box-shadow:0 0 17px #bd42cf55;font-size:23px}
.tj-shared-brandname{color:#f5e9ff}.tj-shared-brandname span{color:#deb8ff}
.tj-shared-links{display:flex;align-items:stretch;justify-content:center;gap:0;min-height:62px}
.tj-shared-links .tj-shared-link{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 clamp(9px,1.3vw,17px);border-bottom:3px solid transparent;font-size:14px;font-weight:750;white-space:nowrap;box-shadow:none;transition:background .16s,color .16s}
.tj-shared-links .tj-shared-link:hover{background:#2b173e;color:#fff}
.tj-shared-links .tj-shared-link.is-current{border-bottom-color:#ff4be1;background:linear-gradient(0deg,#a629a743,transparent);color:#fff;text-shadow:0 0 14px #ec5bd477}
/* Account for the new topbar in the viewer's full-height mobile layout. */
.tj-viewer .tj-room{min-height:calc(100dvh - 74px)}
@media(max-width:800px){.tj-viewer .tj-room{height:calc(100dvh - 54px);min-height:0}}
/* The community room bar already has the correct desktop style. */
.tj-landing-nav{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap}
.tj-landing-nav a{display:inline-flex;align-items:center;border:1px solid #694278;border-radius:10px;padding:9px 12px;background:#231532;color:#e5d5f3;font-size:13px;font-weight:750;white-space:nowrap;text-decoration:none}
.tj-landing-nav a.selected{border-color:#c449cb;background:#57225c;color:#fff}
@media(max-width:850px){
 .community-appbar .appnav{display:flex!important;align-items:stretch!important;justify-content:center!important;gap:0!important;margin-left:auto!important;min-width:0!important;flex:1!important}
 body .community-appbar .appnav a:not(.selected):not(.appnav-mobile){display:flex!important}
 body .community-appbar .appnav a{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;border-bottom:3px solid transparent!important;min-width:0!important;font-size:12px!important;font-weight:750!important;white-space:nowrap!important;padding:0 clamp(5px,1.9vw,11px)!important}
 .community-appbar .appnav a.selected{border-bottom-color:#ff4be1!important}
 body .community-appbar .appnav a.selected span,body .community-appbar .appnav a:not(.selected) span{display:inline!important}
 .community-appbar .appbrand{flex:none!important;min-width:0!important;font-size:17px!important}
 .community-appbar .appbrand-icon{flex:none!important}
 .community-appbar .appbar-end{display:none!important}
 .tj-shared-topbar{min-height:54px;gap:6px;padding:0 9px}
 .tj-shared-links{min-height:54px;margin-left:auto;min-width:0;flex:1}
 .tj-shared-links .tj-shared-link{font-size:12px;gap:4px;padding:0 clamp(5px,2vw,10px)}
 .tj-shared-brand{font-size:18px;gap:6px}
 .tj-shared-brandmark{width:34px;height:34px;font-size:20px}
 .tj-landing-nav a{font-size:12px;padding:8px}
}
@media(max-width:600px){
 .community-appbar .appbrand>span:last-child{display:none!important}
 .tj-shared-brandname{display:none}
 .community-appbar .appnav a{font-size:clamp(10px,2.9vw,12px)!important;padding:0 clamp(4px,1.2vw,8px)!important}
 .tj-shared-links .tj-shared-link{font-size:clamp(10px,2.9vw,12px);padding:0 clamp(4px,1.4vw,9px)}
}
@media(max-width:370px){
 .community-appbar .appnav a{gap:2px!important;font-size:10px!important;padding:0 4px!important}
 .tj-shared-links .tj-shared-link{gap:2px;font-size:10px;padding:0 4px}
 .tj-landing-nav{gap:4px}.tj-landing-nav a{font-size:11px;padding:7px}
}
