/* Lifted navy theme: richer base, two alternating section tones, one contained off-white faucet panel */
/* Shared: undo the off-white zone */
html.th-alt body main :is(#ecosystem,#like-a-message,#questions){--text:#f7f9ff;--muted:#b4c2dc;--dim:#91a0bb;--line:rgba(162,184,221,.2);--blue:#77a4ff;color:#f7f9ff!important;border-color:rgba(162,184,221,.2)!important}
html.th-alt body main :is(#ecosystem,#like-a-message,#questions) :is(h2,h3,summary){color:#f7f9ff!important}
html.th-alt body main :is(#ecosystem,#like-a-message,#questions) :is(p,li,.faq-intro,.faq-list details p){color:#b4c2dc!important}
html.th-alt body main :is(#ecosystem,#like-a-message,#questions) a:not(.button),html.th-alt body main :is(#ecosystem,#like-a-message,#questions) :is(.quiet-link,.text-link,.faq-more a),html.th-alt body main :is(#ecosystem,#like-a-message,#questions) p a:not(.button){color:#77a4ff!important}
html.th-alt body main :is(#ecosystem,#like-a-message,#questions) a:not(.button):hover{color:#fff!important}
html.th-alt body main :is(#ecosystem,#like-a-message,#questions) :is(.try-nano-journey,.journey-grid article,.faucet,.faq-list details,.faq-list){border-color:rgba(162,184,221,.2)!important}
html.th-alt body main #questions .faq-list summary span{color:#77a4ff!important}
html.th-alt body main #like-a-message .thread-card{box-shadow:none!important;border:1px solid rgba(162,184,221,.2)!important}

/* B: lifted navy, two alternating tones, one contained off-white panel */
html.th-navy{--bg:#0e1730;--surface:#132042;--surface2:#17264c}
html.th-navy body{background:#0e1730!important}
html.th-navy .header::before{background:rgba(14,23,48,.94)!important}
html.th-navy body main > section,html.th-navy body main .home-hero{background:#0e1730!important;box-shadow:0 0 0 100vmax #0e1730!important;clip-path:inset(0 -100vmax)!important}
html.th-navy body main :is(#use,#developers,#ecosystem){background:#101a37!important;box-shadow:0 0 0 100vmax #101a37!important;clip-path:inset(0 -100vmax)!important;border-color:transparent!important}
html.th-navy body main :is(#why,#run-a-node,#lattice,#like-a-message,#questions){background:#0e1730!important;box-shadow:0 0 0 100vmax #0e1730!important;border-color:transparent!important}
html.th-navy body main section.closing{background:#2262e9!important;box-shadow:0 0 0 100vmax #2262e9!important}
html.th-navy body main .agent-invitation{background:#0e1730!important;box-shadow:0 0 0 100vmax #101a37!important;clip-path:inset(-49px -100vmax -49px -100vmax)!important}
html.th-navy footer,html.th-navy .site-footer{background:#0a1124!important;box-shadow:0 0 0 100vmax #0a1124!important;clip-path:inset(0 -100vmax)}
html.th-navy body main #like-a-message .thread-card{background:#101a37!important}
html.th-navy body main .lab-card,html.th-navy body main .code-card{background-color:#0e1730}
/* Faucet panel, toned down: an elevated navy panel, with only the Nanswap card kept light */
html.th-navy body main #ecosystem .faucet{--text:#fff;--muted:#b9c4dc;--line:rgba(162,184,221,.2);background:#16224a!important;border:1px solid rgba(162,184,221,.18)!important;border-radius:20px;padding:48px!important;margin-top:56px!important}
html.th-navy.th-alt body main section#ecosystem div.faucet :is(h2,h3){color:#fff!important}
html.th-navy.th-alt body main section#ecosystem div.faucet :is(p,li,.faucet-hint,.faucet-label){color:#b9c4dc!important}
html.th-navy.th-alt body main section#ecosystem div.faucet a:not(.button){color:#8fb3ff!important}
html.th-navy body main #ecosystem .faucet a:not(.button):hover{color:#fff!important}
html.th-navy body main #ecosystem .faucet-card{--text:#20204C;--muted:#4f4e6e;background:#F4FAFF!important;border-color:transparent!important}
html.th-navy.th-alt body main section#ecosystem div.faucet .faucet-card :is(h2,h3,strong){color:#20204C!important}
html.th-navy.th-alt body main section#ecosystem div.faucet .faucet-card :is(p,li,span,.faucet-hint,.faucet-label){color:#4f4e6e!important}
@media (max-width:700px){html.th-navy body main #ecosystem .faucet{padding:28px 20px!important;border-radius:16px}}
html.th-navy body main #questions{border-top:1px solid rgba(162,184,221,.14)!important}
.hero-option.wallet-art p.art-disclaimer.mini-note,.lab-card.thread-card p.art-disclaimer.mini-note{font-size:10px!important}
.ecosystem-section .pursekeeper-copy .disclaimer{font-size:10px!important}
.button-row .button:not(:only-child){flex:1 1 220px!important;justify-content:center!important;white-space:nowrap!important;min-width:230px!important}
.run-node .button-row .button{min-width:280px!important}
@media (max-width:800px){.hero .button-row .button{flex:none!important;width:100%!important;height:auto!important;white-space:normal!important;min-width:0!important}}
@media (max-width:760px){.home-hero .button-row .button{flex:none!important;width:100%!important;height:auto!important;white-space:normal!important;min-width:0!important}}
@media (max-width:520px){.closing .button-row .button,.closing-actions .button-row .button{flex:none!important;width:100%!important;height:auto!important;white-space:normal!important;min-width:0!important}}
.closing-actions .button-row{max-width:540px!important;margin-left:auto!important;margin-right:auto!important}