/* Cyber Resistance adapter: scoped to the installed layer. */
@font-face{font-family:AmpliphyCR;src:url('/assets/fonts/CRResistance-Regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:AmpliphySpace;src:url('/assets/fonts/SpaceGrotesk-Regular.woff2') format('woff2');font-display:swap}
.cyber-studio-community{--lime:#a9f4c2;--ink:#f0e9f7;--muted:#b3a5c0;--border:#302039;--font-razar-display:AmpliphyCR;--font-cyber-studio-display:AmpliphyCR;--font-geist-sans:AmpliphySpace;--font-geist-mono:monospace;background:#100a13;color:#f0e9f7;font-family:AmpliphySpace,sans-serif}
.cyber-studio-community .native-community{background:#100a13}
.cyber-studio-community .page-heading h1,.cyber-studio-community .ported-identity h1,.cyber-studio-community .social-hub-banner h2{font-family:AmpliphyCR,sans-serif;color:#f5edff}
.cyber-studio-community .ported-panel,.cyber-studio-community .ported-post,.cyber-studio-community .profile-sidebar-card,.cyber-studio-community .ampliphy-space-card{background:#130c19;border-color:#302039;box-shadow:0 6px 22px #0003}
.cyber-studio-community .ported-identity,.cyber-studio-community .brand-library-dialog,.cyber-studio-community .brand-library-dialog>header,.cyber-studio-community .brand-library-dialog>footer{background:#130c19;border-color:#302039}
.cyber-studio-community .btn,.cyber-studio-community .btn.black,.cyber-studio-community .btn.lime{background:linear-gradient(145deg,#d0c6db,#897492);border-color:#bca5cc;color:#160e1d;border-radius:3px;min-height:40px}
.cyber-studio-community .btn:hover{background:#a9f4c2;color:#130c18}
.cyber-studio-community .social-hub-banner{background:linear-gradient(90deg,#140c20ee,#1a0c2499),url('/assets/hero.webp') center/cover no-repeat;color:#f5edff}
.cyber-studio-community .social-hub-banner h2{color:#f5edff}
.cyber-studio-community .account-panel{background:#130c19;border-color:#6a487c}.cyber-studio-community .account-panel h1{font-family:AmpliphyCR,sans-serif;color:#f5edff}.cyber-studio-community .account-panel input{background:#100b15;color:#f7efff;border-color:#382541}.cyber-studio-community .account-panel p,.cyber-studio-community .account-switch{color:#d3c5df}
.cyber-studio-community .cyber-studio-community-foot{background:#100a13;color:#b4a4c2}
body.ampliphy-installed{padding-left:76px}body.ampliphy-community-open #cyber-host-page{display:none}
.ampliphy-rail{background:linear-gradient(95deg,#211327f5,#110c19fa);border-right-color:#5f3b73;color:#e5d7ef;box-shadow:5px 0 25px #0004;font-family:AmpliphySpace,sans-serif}
.ampliphy-rail button{color:#beabc9}.ampliphy-rail button:hover,.ampliphy-rail button[aria-current=page]{color:#b6ffce;background:#76508d38;border-left-color:#b6ffce}.ampliphy-rail button:hover>svg{filter:drop-shadow(0 0 7px #c28aff88)}
.ampliphy-rail-brand img{width:38px;height:38px;filter:none}.ampliphy-rail-brand{padding-left:18px}
.ampliphy-main{background:#100a13}.ampliphy-main>.site-header{position:sticky;top:0;z-index:65;display:flex;align-items:center;gap:16px;background:#160f1dec;color:#f5edff;height:auto;min-height:92px;padding:14px 22px;flex-wrap:wrap}
.ampliphy-main>.site-header .brand img{width:125px;height:auto}.ampliphy-main>.site-header nav{flex:1;gap:14px;font:12px AmpliphySpace,sans-serif}.ampliphy-main>.site-header .header-end{display:flex;gap:12px;align-items:center}.ampliphy-main>.site-header .menu-toggle{display:none}
.ampliphy-utilities button{background:#35223f;border-color:#785c88;color:#ece0f4}.ampliphy-utilities button:hover{color:#a9f4c2;border-color:#a9f4c2}.ampliphy-utilities b{background:#a9f4c2;color:#160e1d}
.cyber-studio-community .fc-window,.cyber-studio-community .fc-contacts{border-color:#674977}.cyber-studio-community .fc-window-header{background:#2f1e3c;color:#f5edff}
@media(max-width:1100px){.ampliphy-main>.site-header nav{display:none}.ampliphy-main>.site-header .header-end{margin-left:auto}.ampliphy-main>.site-header .ampliphy-search-host{order:3;flex:1 0 100%;max-width:none}}
/* Utility hosts are inline controls, never full-height community panels. */
.site-header .ampliphy-search-host{min-height:0;height:auto;font-family:AmpliphySpace,sans-serif}
.site-header .ampliphy-search-host:empty{display:none}
.ampliphy-rail .ampliphy-menu{color:#e8d8f4;border-bottom-color:#302039}
.ampliphy-rail .ampliphy-menu:hover{color:#b6ffce}

/* Use the visible header's measured height for a continuous horizontal rule. */
.ampliphy-rail .ampliphy-menu{box-sizing:border-box;height:92px;min-height:0;border-bottom:1px solid #302039}
.ampliphy-main>.site-header{border-bottom:1px solid #302039;box-sizing:border-box}
/* Cyber Resistance dialogs and fields share the studio's eggplant palette. */
.cyber-studio-community .spaces-modal,.cyber-studio-community .cover-editor,.cyber-studio-community .cover-library-window{background:#130c19;color:#f0e9f7;border:1px solid #60496d;box-shadow:0 24px 90px #09050db3;border-radius:4px;color-scheme:dark}
.cyber-studio-community .spaces-editor{background:transparent;color:#f0e9f7;box-shadow:none}
.cyber-studio-community .spaces-editor label:not(.btn),.cyber-studio-community .cover-editor label:not(.btn){color:#e6daee;background:transparent}
.cyber-studio-community .spaces-editor input:not([type=checkbox]),.cyber-studio-community .spaces-editor textarea,.cyber-studio-community .spaces-editor select,.cyber-studio-community .cover-editor select{background:#100b15;color:#f4edf9;-webkit-text-fill-color:#f4edf9;border:1px solid #382541;border-radius:3px;box-shadow:none;color-scheme:dark}
.cyber-studio-community .spaces-editor input::placeholder,.cyber-studio-community .spaces-editor textarea::placeholder{color:#bcaac9;-webkit-text-fill-color:#bcaac9;opacity:1}
.cyber-studio-community .spaces-editor :is(input,textarea,select):focus-visible{outline:2px solid #b9a1cf;outline-offset:2px;border-color:#b9a1cf}
.cyber-studio-community .spaces-modal-heading h2,.cyber-studio-community .cover-editor h2{color:#f5edff;font-family:AmpliphyCR,sans-serif}
.cyber-studio-community .spaces-modal-heading .icon-button{color:#f0e9f7}
.cyber-studio-community .spaces-modal-backdrop,.cyber-studio-community .cover-editor-backdrop,.cyber-studio-community .cover-library-backdrop{background:#0b0612b8}
.cyber-studio-community .spaces-editor .destination-note,.cyber-studio-community .spaces-editor small{color:#cdbcd9;background:transparent}
.cyber-studio-community .spaces-editor .btn{-webkit-text-fill-color:currentColor}
/* Keep cover edges square and the edit action readable over any photograph. */
.cyber-studio-community .ported-cover,.cyber-studio-community .ported-cover>img{border-radius:0;border:0}
.cyber-studio-community .ported-cover{isolation:isolate;background:#09070d}
.cyber-studio-community .ported-cover>.btn{background:#211629f5;color:#f5edff;-webkit-text-fill-color:#f5edff;border:1px solid #bba5ca;box-shadow:0 3px 15px #0006;border-radius:3px}
.cyber-studio-community .ported-cover>.btn:hover{background:#392442;color:#fff;-webkit-text-fill-color:#fff;border-color:#e5d2f3}
/* Search stays within the same dark chrome as the native studio header. */
.site-header .ampliphy-search-host .platform-search{background:#211629;border:1px solid #725482;box-shadow:none;color:#f0e9f7}
.site-header .ampliphy-search-host .platform-search>form{background:transparent;border:0;box-shadow:none;margin:0;border-radius:3px}
.site-header .ampliphy-search-host .platform-search form input{background:transparent;color:#f0e9f7;-webkit-text-fill-color:#f0e9f7}
.site-header .ampliphy-search-host .platform-search form input::placeholder{color:#c2accf;-webkit-text-fill-color:#c2accf}
.site-header .ampliphy-search-host .platform-search button{color:#e1d1eb}
.site-header .ampliphy-search-host .platform-search kbd{color:#c2accf;border-color:#725482}
.site-header .ampliphy-search-host .platform-search.is-open{background:#291c32;border-color:#bd9ad4;box-shadow:0 0 0 2px #bd9ad422}
.site-header .ampliphy-search-host .platform-search-dropdown{background:#130c19;color:#f0e9f7;border-color:#725482;box-shadow:0 18px 55px #0009}
.site-header .ampliphy-search-host :is(.platform-search-dropdown-heading b,.search-suggestion,.search-recent-open,.search-suggestion b,.search-recent-open b,.search-all-results,.search-quick-links a){color:#f0e9f7}
.site-header .ampliphy-search-host :is(.search-suggestion small,.search-dropdown-empty){color:#c2accf}
.site-header .ampliphy-search-host :is(.search-suggestion:hover,.search-suggestion.active,.search-recent-row:hover,.search-quick-links a:hover){background:#64477844}

/* Shared two-tone dark purple social surfaces. */
.cyber-studio-community .native-community .story-tray{background:#100b15;border-color:#302039}
.cyber-studio-community :is(.ported-tabs,.ported-social-page){background:#100a15;border-color:#302039}
.cyber-studio-community .native-community :is(.compact-social-composer textarea,.thread-input-row>textarea,.compact-composer-toolbar>select,.compact-composer-toolbar>.publisher-tool){background:#0c0810;border-color:#382541;color:#f5effa}
.cyber-studio-community .btn,.cyber-studio-community .btn.black,.cyber-studio-community .btn.lime{background:#382044;border-color:#60466f;color:#f5effa;-webkit-text-fill-color:currentColor}
.cyber-studio-community .btn:hover{background:#49305e;border-color:#80618f;color:#fff}
