/* R32: restrained charcoal / lavender system for the complete portal. */
html[data-theme=dark]{--bg:#111219;--bg2:#171922;--panel:#191c26;--panel2:#1d202b;--line:#2c3040;--text:#f2f2f7;--muted:#a1a5b6;--muted2:#787e94;--cyan:#c0afff;--blue:#acb4fc;--purple:#c0afff;--green:#a6dbbe;--shadow:0 12px 40px #0002}
html[data-theme=light]{--bg:#f6f6fa;--bg2:#ededf4;--panel:#fff;--panel2:#fff;--line:#dddde9;--text:#252639;--muted:#686b81;--muted2:#808399;--cyan:#6e55b5;--blue:#6e55b5;--purple:#6e55b5;--green:#39805f;--shadow:0 12px 40px #25203908}
html body{background:var(--bg)!important;color:var(--text)}.ambient{display:none!important}
html body .topbar{top:0!important;margin:0!important;width:100%!important;max-width:none!important;padding:10px 24px!important;min-height:64px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:var(--bg)!important;box-shadow:none!important;backdrop-filter:none!important}
.topbar .brand-type{font-size:15px!important}.topbar .brand{gap:10px!important}.topbar .brand-icon{width:34px!important;height:34px!important}
.topbar .desktop-nav{border:0!important;background:none!important;box-shadow:none!important}.topbar .desktop-nav button{font-weight:550!important;font-size:12px!important;padding:10px 12px!important}
.topbar [data-route].active{background:color-mix(in srgb,var(--purple) 12%,transparent)!important;color:var(--purple)!important;border-color:transparent!important}
.topbar .profile-pill,.topbar .coin-pill,.topbar .search-mini,.topbar .search-box{background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:none!important}
html body .btn-primary,html body .btn.primary{background:var(--purple)!important;color:var(--bg)!important;border:1px solid transparent!important;box-shadow:none!important;font-weight:700!important}
html body .glass-panel,html body .glass-heavy{background:var(--panel)!important;border-color:var(--line)!important;box-shadow:none!important;backdrop-filter:none!important}
#page-home .hero-wrap{padding:56px 0 40px!important;min-height:0!important;gap:60px!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;align-items:center!important}
#page-home .hero-copy{padding:0!important}#page-home .eyebrow{border:0!important;padding:0!important;background:none!important;color:var(--purple)!important;font-size:11px!important;letter-spacing:.12em!important;box-shadow:none!important}
#page-home .hero-copy h1{font-size:clamp(36px,4.6vw,62px)!important;line-height:1.08!important;letter-spacing:-.055em!important;max-width:700px!important;margin:18px 0!important;color:var(--text)!important;filter:none!important;text-shadow:none!important}
#page-home .hero-copy h1 em{font-style:normal;color:var(--purple)}#page-home .hero-copy h1 span{background:none!important;-webkit-text-fill-color:unset!important}
#page-home .hero-copy p{font-size:15px!important;line-height:1.8!important;max-width:480px!important;color:var(--muted)!important}
#page-home .hero-cta{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:24px!important}#page-home .hero-cta button{min-height:44px!important;padding:12px 20px!important;border-radius:10px!important;box-shadow:none!important;flex:0 1 auto!important;width:auto!important;font-size:12px!important}
#page-home .hero-stats{margin-top:28px!important;padding-top:20px!important;border-top:1px solid var(--line)!important;gap:30px!important;display:flex!important}#page-home .hero-stats>div{padding:0!important;border:0!important;box-shadow:none!important;background:none!important;min-width:0!important;border-radius:0!important}#page-home .hero-stats b{font-size:19px!important}
#page-home .hero-stage{min-height:0!important;padding:0!important;transform:none!important;perspective:none!important;background:none!important}
html body #page-home.active .hero-wrap{border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;overflow:visible!important}#page-home .hero-wrap:before,#page-home .hero-wrap:after,#page-home .hero-copy:before,#page-home .hero-copy:after{display:none!important}
#page-home .reveal{opacity:1!important;transform:none!important;filter:none!important}.route-page-kicker{display:none!important}
.r32-workflow{padding:26px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.r32-workflow-header{display:flex;align-items:center;gap:10px;margin-bottom:20px}.r32-workflow-header svg{width:24px;height:24px;color:var(--purple)}.r32-workflow-header b{font-size:13px}.r32-step{display:flex;gap:14px;align-items:flex-start;padding:18px 0;border-top:1px solid var(--line)}.r32-step>span{font-size:11px;color:var(--purple);font-variant-numeric:tabular-nums;padding-top:2px}.r32-step strong{font-size:14px}.r32-step p{color:var(--muted);font-size:12px;line-height:1.6;margin:5px 0 0}.r32-workflow-link{border:0;border-top:1px solid var(--line);background:none;color:var(--purple);padding:18px 0 0;width:100%;display:flex;justify-content:space-between;cursor:pointer;font-size:12px;text-align:left}
#page-home .section-block{margin-block:28px!important;padding-block:0!important;min-height:0!important}#page-home .section-heading h2{font-size:22px!important;letter-spacing:-.025em!important}#page-home :is(.mod-grid,.panel,.thread-list,.creator-mini-list):has(>.empty-mini){min-height:0!important;height:auto!important}#page-home .split-section .panel{min-height:120px!important}#page-home .empty-mini{padding:24px 16px!important}#page-home .trust-strip{display:none!important}
.site-footer{background:var(--bg)!important;margin-top:40px!important}.site-footer .footer-grid{padding-block:28px!important}.page{min-width:0}button,a,input,select{touch-action:manipulation}
@media(max-width:760px){html body .topbar{padding:8px 14px!important;min-height:58px!important}#page-home .hero-wrap{display:block!important;padding:30px 0 24px!important;width:calc(100% - 36px)!important}#page-home .hero-copy h1{font-size:39px!important;max-width:360px!important;margin:18px 0!important}#page-home .hero-copy p{font-size:13px!important;line-height:1.75!important}#page-home .hero-cta{display:flex!important;flex-direction:row!important}#page-home .hero-cta button{font-size:11px!important;padding:11px 15px!important}#page-home .hero-stage{margin-top:28px!important}.r32-workflow{padding:18px}.r32-step{padding:13px 0}.r32-workflow-header{margin-bottom:14px}#page-home .hero-stats{margin-top:24px!important;gap:28px!important}#page-home .split-section{gap:12px!important;margin-top:24px!important}
html:not(.local-studio-route) body nav.mobile-nav.glass{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;left:0!important;right:0!important;bottom:0!important;max-width:100%!important;border-radius:0!important;padding:8px 8px max(8px,env(safe-area-inset-bottom))!important;border:0!important;border-top:1px solid var(--line)!important;background:var(--bg)!important;box-shadow:none!important}
html body nav.mobile-nav.glass>button{height:44px!important;min-width:0!important;border-radius:9px!important;gap:5px!important;font-size:9px!important;background:none!important;color:var(--muted)!important}html body nav.mobile-nav.glass>button span{font-size:17px!important}html body nav.mobile-nav.glass>button.active{background:color-mix(in srgb,var(--purple) 12%,transparent)!important;color:var(--purple)!important}html body nav.mobile-nav.glass>button:is([data-route=missions],[data-route=rewards],[data-route=upload],[data-route=admin]),html body nav.mobile-nav.glass>.mobile-create{display:none!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
html.local-studio-route body #r32-mobile-nav{display:none!important}

@media(max-width:760px){html body #r32-mobile-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:stretch!important;justify-items:stretch!important;grid-auto-flow:row!important;grid-template-rows:44px!important;height:auto!important;gap:4px!important;padding:8px 8px max(8px,env(safe-area-inset-bottom))!important;background:var(--bg)!important}html body #r32-mobile-nav>button{width:100%!important;max-width:none!important;min-width:0!important;height:44px!important;min-height:44px!important;flex:none!important;justify-self:stretch!important;align-items:center!important;justify-content:center!important;padding:5px 2px!important;overflow:visible!important;line-height:1.2!important;gap:5px!important}html body #r32-mobile-nav>button[data-route=dashboard]{display:flex!important}html body #r32-mobile-nav>button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}html body #r32-mobile-nav>button small{font-size:9px!important;color:inherit!important;font-weight:550!important}}

html body #page-home,html body #page-home .hero-copy{background:none!important}#page-home:before,#page-home:after{display:none!important}
