/* One public browser frame; member pages retain a separate content column. */
.hub-account-rank-column,.hub-account-feature-column{display:contents}
@media(min-width:1024px) and (display-mode:browser){
html:not(.hub-standalone) body .hub-web-header>.hub-site-container,html:not(.hub-standalone) body .hub-web-footer>.hub-site-container,html:not(.hub-standalone) .hub-home-desktop .hub-site-container{width:100%;max-width:1288px;padding-left:24px;padding-right:24px;box-sizing:border-box;margin-left:auto;margin-right:auto}
html:not(.hub-standalone) body:not(.hub-member-workspace) .hub-content-viewport>:is(.hub-screen,.hub-document,main:not(.hub-home-desktop):not(.hub-auth-layout)){box-sizing:border-box;width:calc(100% - 48px);max-width:1240px!important;margin:104px auto 40px!important;padding:0!important}
html:not(.hub-standalone) .hub-member-workspace .hub-content-viewport>main:not(.hub-home-desktop){width:100%;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box}
html:not(.hub-standalone) .hub-member-workspace .hub-document{max-width:none!important;padding:0!important}
html:not(.hub-standalone) .hub-member-workspace .hub-account-rank-column{display:block;grid-column:1;grid-row:2;min-width:0}
html:not(.hub-standalone) .hub-member-workspace .hub-account-feature-column{display:flex;flex-direction:column;gap:16px;grid-column:2;grid-row:2;min-width:0}
html:not(.hub-standalone) .hub-member-workspace .hub-account-feature-column>:is(.hub-account-bounty,.ui-checkin-card){width:100%;margin:0;box-sizing:border-box}
html:not(.hub-standalone) .hub-member-workspace .hub-account-rank-column .hub-member-caption{margin:14px 0 0}
html:not(.hub-standalone) body.hub-member-pane-active{height:auto;min-height:100dvh;overflow:visible!important}
html:has(body.hub-member-pane-active){height:auto;overflow:visible!important}
html:not(.hub-standalone) body.hub-member-pane-active #hub-content-viewport{position:relative;top:auto;bottom:auto;left:auto;transform:none;width:calc(100% - 48px);max-width:1240px;height:calc(100dvh - 128px);min-height:0;flex:none;margin:104px auto 24px;padding:0;display:grid;grid-template-columns:228px minmax(0,1fr);gap:24px;overflow:visible}
html:not(.hub-standalone) .hub-member-pane-active .hub-member-sidebar{position:static;grid-column:1;grid-row:1;width:100%;height:100%;min-height:0}
html:not(.hub-standalone) .hub-member-pane-active .hub-member-menu{position:static;max-height:none;height:100%;overflow:auto;box-sizing:border-box}
.hub-member-pane{grid-column:2;grid-row:1;min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #f0e1ed;border-radius:20px;background:#fff9fd;overflow:hidden}
.hub-member-titlebar{flex:none;padding:20px 22px;border-bottom:1px solid #f2e5ef;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}
.hub-member-titlebar h1{font-size:25px;font-weight:800;line-height:1.35;margin:0;color:#23324a;min-width:0;overflow-wrap:anywhere}
.hub-member-titlebar .hub-overview-actions{flex-wrap:wrap;justify-content:flex-end}
.hub-member-scroll{flex:1;min-height:0;overflow:auto;overflow-x:hidden;padding:22px;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scrollbar-gutter:stable;scrollbar-width:thin}
html:not(.hub-standalone) .hub-member-scroll>:is(main,.hub-screen,#app-content,.hub-document){width:100%;max-width:none!important;min-width:0;box-sizing:border-box;margin:0!important;padding:0!important}
html:not(.hub-standalone) .hub-member-pane-active .hub-pane-managed-heading{display:none!important}
html:not(.hub-standalone) .hub-member-scroll .hub-desktop-overview{display:block}
html:not(.hub-standalone) .hub-member-pane-active #app-content :is(.hub-search,.hub-panel){min-width:0}
html:not(.hub-standalone) .hub-member-scroll .hub-doc-section,html:not(.hub-standalone) .hub-member-scroll [id]{scroll-margin-top:18px}
}
@media(min-width:1024px) and (max-width:1199px) and (display-mode:browser){html:not(.hub-standalone) body.hub-member-pane-active #hub-content-viewport{grid-template-columns:200px minmax(0,1fr);gap:20px}.hub-member-titlebar{padding:18px}.hub-member-titlebar h1{font-size:22px}.hub-member-scroll{padding:18px}.hub-member-titlebar .hub-overview-actions{max-width:300px}.hub-member-titlebar .hub-overview-actions>a{font-size:11px;padding:8px 12px}}
/* App: remove nested page gutters while retaining the one shared viewport inset. */
@media(max-width:1023px),(display-mode:standalone){
.hub-content-viewport>main.hub-document{width:100%;max-width:none!important;margin:0!important;padding:0 0 24px!important;box-sizing:border-box}
body[data-hub-screen="dashboard.php"] .hub-content-viewport>#app-content{width:100%;max-width:none;margin:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
body[data-hub-screen="dashboard.php"] #left-column{width:100%;margin:0;min-width:0}
body[data-hub-screen="dashboard.php"] #app-content>.grid{margin:0;gap:0}
.hub-referral-home{width:100%;margin-left:0!important;margin-right:0!important}
.hub-content-viewport>.hub-document .hub-doc-header{margin-top:0}
.hub-document .hub-doc-footer>div{min-width:0}
}
.hub-standalone .hub-content-viewport>main.hub-document{width:100%;max-width:none!important;margin:0!important;padding:0 0 24px!important;box-sizing:border-box}
.hub-standalone body[data-hub-screen="dashboard.php"] .hub-content-viewport>#app-content{padding-left:0!important;padding-right:0!important;width:100%;max-width:none;box-sizing:border-box}
@media(prefers-reduced-motion:reduce){.hub-member-scroll{scroll-behavior:auto}}

@media(min-width:1024px){#how-it-works{scroll-margin-top:104px}}

/* Login remains usable when device persistence cannot be written. */
.hub-login-notice{position:relative;z-index:1;flex:none;width:calc(100% - 32px);max-width:960px;margin:16px auto;padding:12px 16px;border:1px solid #ead2ef;border-radius:14px;background:#fff8fd;color:#694879;font:500 13px/1.7 "Plus Jakarta Sans",sans-serif;box-sizing:border-box}.hub-login-notice a{color:#bb008b;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.hub-member-workspace .hub-login-notice{grid-column:1/-1}
