body:is([data-page=forum],[data-page=applications]){background:#080d17;isolation:isolate}body:is([data-page=forum],[data-page=applications])::before{content:"";position:fixed;inset:-20px;z-index:-2;pointer-events:none;background:linear-gradient(180deg,#070d18a3,#070b14df 80%),url("forum-cosmic-planets.jpeg") center/cover no-repeat;filter:blur(6px)}body.forum-no-background::before{display:none}.forum-shell .f-panel,.forum-shell .profile-header,.forum-shell .reply-card{background:#11141cec}.forum-shell .forum-top{position:relative;z-index:35}.profile-dropdown{position:relative}.profile-menu{position:absolute;right:0;top:100%;min-width:195px;display:grid;gap:4px;padding:10px;background:#151b28;border:1px solid #3b4557;border-radius:10px;box-shadow:0 18px 45px #0008;opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .18s,visibility .18s,transform .18s}.profile-dropdown.is-open .profile-menu{opacity:1;visibility:visible;transform:none}.profile-menu .f-button{justify-content:flex-start;width:100%}.skin-avatar{padding:0!important;overflow:hidden;background:#252d40!important}.skin-avatar canvas{width:100%;height:100%;display:block;image-rendering:pixelated;object-fit:cover}.profile-menu-toggle .avatar{width:26px;height:26px}.avatar-current{display:flex;align-items:center;gap:18px;margin-bottom:22px;font-size:13px;color:var(--muted)}.avatar-choices{border:0;padding:0;margin:0;min-width:0}.avatar-choices legend{font-size:13px;margin-bottom:12px}.avatar-character-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 20px;max-height:280px;overflow:auto}.forum-dialog .character-avatar-choice{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:12px;margin:0;cursor:pointer}.character-avatar-choice span:last-child{min-width:0;overflow-wrap:anywhere}.forum-dialog .character-avatar-choice input{width:auto;accent-color:var(--accent)}.character-avatar-choice:has(input:checked){background:#b1c6ff12;border-color:#8094bb}.character-avatar-choice .avatar{width:36px;height:36px;flex:none}.forum-dialog .f-checkbox input[type=radio]{width:auto;accent-color:var(--accent)}.forum-dialog details>summary{cursor:pointer;font-size:14px;padding:10px 0}.forum-dialog details>.f-fields{padding:12px 0 17px}.forum-dialog input[type=range]{padding:0;accent-color:var(--accent)}.profile-avatar{align-self:flex-start}.profile-avatar-edit{border:0;padding:0;background:none;position:relative;border-radius:12px;overflow:hidden}.profile-avatar-edit>span:last-child{position:absolute;bottom:0;left:0;right:0;padding:4px;background:#080b14c9;font-size:10px;opacity:0;transition:opacity .2s}.profile-avatar-edit:hover>span:last-child,.profile-avatar-edit:focus-visible>span:last-child{opacity:1}.profile-identity{flex:1;min-width:0}.inline-profile-form{margin-top:20px;max-width:620px}.inline-profile-form>div{display:flex;gap:8px}.inline-profile-form [role=status]{display:block;min-height:20px;margin-top:5px;color:var(--accent)}.inline-profile-form input{flex:1}.inline-profile-form .f-button{flex:none}.inline-profile-form textarea{min-height:140px}.inline-profile-form.profile-bio{margin-top:0}.profile-comments{border:1px solid var(--line);border-radius:0 0 10px 10px;margin-top:-15px;background:#10141bea;overflow:hidden}.profile-comments>summary{cursor:pointer;padding:14px 22px;font-size:12px;color:var(--muted)}.profile-comments>summary span{margin-left:7px;color:var(--accent)}.profile-comments-body{padding:0 22px 18px}.profile-comment{padding:17px 0;border-top:1px solid #ffffff10}.profile-comment .reply-body{margin-top:12px}.comment-form{padding-top:15px;border-top:1px solid var(--line)}.comment-form textarea{min-height:90px}.comment-form>button{margin-top:8px}.forum-shell .reply-body,.forum-shell .article-blocks{font-size:var(--forum-text-size,17px)}.forum-compact .topic-row,.forum-compact .section-card{padding-block:13px}.forum-compact .side-item{padding-block:10px}.forum-compact .topic-row p{display:none}body.forum-no-background{background-image:none}body.forum-no-background .article-background{display:none!important}.forum-reduced-motion *, .forum-reduced-motion *:before,.forum-reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.forum-reduced-motion .article-blocks [data-nebula-image] img{transform:none!important}
@media(max-width:767px){body:is([data-page=forum],[data-page=applications]){background-attachment:scroll}.avatar-character-grid{grid-template-columns:1fr}.profile-header{align-items:flex-start}.inline-profile-form>div{flex-wrap:wrap}.inline-profile-form input{flex-basis:100%}.profile-menu{min-width:180px}.profile-comments-body{padding-inline:16px}.profile-avatar-edit>span:last-child{opacity:1}}

/* Member pages share one quiet surface, with editing controls revealed on demand. */
.member-profile{--member-line:#9bbdd51b;--member-panel:#0e1724ed;--member-muted:#8f9eaf}
.member-profile [hidden],.member-dialog [hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.member-profile .profile-header{display:block;padding:0;overflow:hidden;border:1px solid var(--member-line);border-radius:20px;background:var(--member-panel);box-shadow:0 20px 60px #0003;margin-bottom:32px}
.profile-cover{height:145px;background:linear-gradient(0deg,#0e1724 0%,#0d16233d 75%),url('forum-cosmic-planets.jpeg') center 42%/cover;position:relative}
.profile-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#12223455,#0c142255)}
.profile-header-body{position:relative;display:flex;gap:26px;align-items:center;padding:0 32px 30px;margin-top:-32px}
.member-profile .profile-avatar{flex:none;align-self:flex-start;border:6px solid #0e1724;border-radius:24px;box-shadow:0 8px 30px #0004}
.member-profile .profile-avatar .avatar{width:112px;height:112px;border-radius:17px;border:0}
.member-profile .profile-avatar-edit{display:block;border-radius:17px}
.member-profile .profile-avatar-edit>span:last-child{font-size:11px;padding:7px;background:#080e18ca;backdrop-filter:blur(5px);opacity:1;color:#e4edf6}
.member-profile .profile-identity{padding-top:40px}
.profile-name-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.member-profile .profile-name-row h2{font-size:32px;letter-spacing:-.035em;font-weight:600}
.member-profile .roles-line{margin:0;gap:6px}
.member-profile .role-badge{border-color:currentColor;background:#a4c8ed08;border-radius:5px;font-size:10px;padding:3px 7px}
.profile-field-display{display:flex;align-items:flex-start;gap:10px;min-width:0}
.member-profile .profile-status-text{margin:0;white-space:pre-wrap;font-size:15px;line-height:1.8;color:#b3c0d0;overflow-wrap:anywhere}
.profile-edit-button{flex:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid transparent;border-radius:7px;background:transparent;color:#8699ae;transition:color .2s,background .2s,border-color .2s}
.profile-edit-button:hover,.profile-edit-button:focus-visible{color:#cce5f6;border-color:#a4c8ed30;background:#a4c8ed12}
.member-profile .profile-joined{margin-top:13px;margin-bottom:0;color:var(--member-muted);font-size:11px}
.profile-counts{display:flex;align-self:flex-end;gap:24px;padding:12px 0 8px 24px;border-left:1px solid var(--member-line)}
.profile-counts>a,.profile-counts>div{display:grid;gap:4px;text-align:center;min-width:45px}
.profile-counts strong{font-size:23px;font-weight:500;color:#e3eef8;line-height:1.3}
.profile-counts span{font-size:10px;color:var(--member-muted)}
.member-profile .forum-columns{grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.member-profile .forum-side{display:grid;grid-template-columns:1fr;gap:18px}
.member-profile .f-panel{background:var(--member-panel);border:1px solid var(--member-line);border-radius:16px;overflow:hidden}
.member-profile .f-panel-heading{padding:20px 22px;border-color:var(--member-line)}
.member-profile .f-panel-heading h2{font-size:15px;font-weight:500}
.member-profile .f-title-row{justify-content:flex-start;gap:10px;margin-bottom:18px}
.member-profile .f-title-row h2{font-size:20px;letter-spacing:-.025em;font-weight:500}
.profile-count-badge{padding:2px 8px;border-radius:6px;background:#a4c8ed10;color:#a3b9cf;font-size:11px}
.profile-about>.profile-editable{padding:20px 22px}
.profile-bio-text{margin:0;font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#b7c3d2}
.member-profile .inline-profile-form{margin:6px 0 0;max-width:100%}
.member-profile .inline-profile-form label{color:var(--member-muted);font-size:11px}
.member-profile .inline-profile-form input,.member-profile .inline-profile-form textarea{background:#080f1c;border-color:#9bbdd529}
.inline-profile-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.member-profile .inline-profile-form [role=status]:empty{display:none}
.member-profile .side-item{border-color:var(--member-line);padding:16px 22px}
.member-profile .side-item>a{font-size:14px;line-height:1.6}
.member-profile .side-item small{margin-top:7px;font-size:10px}
.profile-sidebar-footer{padding:15px 22px;border-top:1px solid var(--member-line)}
.profile-sidebar-footer a{color:#a6c5df}
.member-profile .profile-composer{display:flex;align-items:flex-start;gap:14px;padding:20px;background:var(--member-panel);border:1px solid var(--member-line);border-radius:16px;margin:0 0 20px}
.profile-composer>.avatar{width:38px;height:38px;border-radius:11px;flex:none}
.profile-composer>div{flex:1;min-width:0}
.member-profile .profile-composer textarea{min-height:85px;background:#080f1c80;border-color:transparent;border-radius:10px;font-size:15px;transition:background .2s,border-color .2s}
.member-profile .profile-composer textarea:focus{background:#080f1c;border-color:#9bbdd54a}
.profile-composer-actions{display:flex;justify-content:flex-end;margin-top:12px}
.profile-composer-actions .f-button{padding:9px 18px}
.profile-post{background:var(--member-panel);border:1px solid var(--member-line);border-radius:16px;overflow:hidden}
.member-profile .profile-post .reply-card{border:0;border-radius:0;background:transparent;margin:0;padding:23px}
.member-profile .profile-comments{border:0;border-top:1px solid var(--member-line);border-radius:0;margin:0;background:#080f1b55}
.member-profile .profile-comments>summary{padding:14px 23px}
.member-profile .f-empty{background:#0c1421b3;border-color:var(--member-line);border-radius:16px;padding:45px 24px}
.member-profile .f-empty strong{font-size:18px}
/* Dialogs: segmented navigation, clear rows and a persistent action footer. */
.forum-dialog.member-dialog{width:min(800px,calc(100% - 32px));padding:0;border-radius:22px;border:1px solid #8cafcc33;background:#0d1522;box-shadow:0 35px 110px #0009;color:#e1eaf5;scrollbar-width:thin;scrollbar-color:#34475b transparent}
.member-dialog .dialog-heading{position:sticky;top:0;z-index:3;margin:0;padding:25px 28px 20px;background:#0d1522f5;backdrop-filter:blur(16px);border-bottom:1px solid #a8c5e017}
.member-dialog .dialog-heading h2{font-size:24px;letter-spacing:-.035em;font-weight:500}
.member-dialog .dialog-heading button{border:1px solid #a8c5e019;background:#9cb9d408;border-radius:10px;color:#99acbf;transition:background .2s,color .2s}
.member-dialog .dialog-heading button:hover{background:#9cb9d41a;color:#e1eaf5}
.member-dialog #forum-modal-form>.f-fields{gap:0}
.member-dialog .f-form-actions{position:sticky;bottom:0;z-index:2;padding:18px 28px;margin:0;border-top:1px solid #a8c5e017;background:#0c1420f5;backdrop-filter:blur(16px)}
.member-dialog .f-form-actions .f-button{min-width:100px;border-radius:9px;padding:11px 18px}
.member-dialog #forum-modal-form>.dialog-error:not(:empty){padding:0 28px 15px;margin:0}
.member-dialog .member-tabs{display:flex;gap:5px;margin:24px 28px 0;padding:5px;border:1px solid #a8c5e012;background:#080e18;border-radius:12px}
.member-tabs button{flex:1;border:0;border-radius:8px;padding:12px 10px;background:transparent;color:#8fa3b9;font-size:12px;line-height:1.5;transition:color .2s,background .2s,box-shadow .2s}
.member-tabs button[aria-selected=true]{color:#e1effa;background:#203045;box-shadow:0 2px 7px #0003}
.member-tabs button:hover{color:#e1effa}
.preference-page{padding:24px 28px 28px;min-height:380px;animation:f-appear .22s ease}
.preference-section+.preference-section{margin-top:26px}
.preference-section h3,.avatar-source-content h3{font-size:12px;font-weight:500;letter-spacing:.03em;color:#8097ae;margin:0 0 10px}
.member-dialog .preference-row{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0;padding:16px 0;border-bottom:1px solid #a8c5e010;font-size:14px;font-weight:400;line-height:1.6;cursor:pointer}
.member-dialog input.member-switch{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:40px;height:23px;margin:0;padding:0;border-radius:30px;border:1px solid #3e5066;background:#202d3d;cursor:pointer;transition:background .2s,border-color .2s}
.member-switch:before{content:"";position:absolute;width:15px;height:15px;top:3px;left:3px;border-radius:50%;background:#8ea1b9;box-shadow:0 2px 3px #0003;transition:transform .2s,background .2s}
.member-dialog input.member-switch:checked{background:#aacce3;border-color:#aacce3}
.member-switch:checked:before{background:#14253a;transform:translateX(17px)}
.member-dialog .preference-slider{display:block;margin:0;padding:20px 0 6px;font-size:14px;font-weight:400}
.preference-slider>span{display:flex;justify-content:space-between;gap:15px;margin-bottom:19px}
.preference-slider output{color:#b9d8f0;min-width:52px;text-align:right;font-variant-numeric:tabular-nums}
.member-dialog .preference-slider input{display:block;width:100%;height:5px;padding:0;border:0;accent-color:#b2d2e8;cursor:pointer;background:#2b3d50}
.member-dialog .preference-select{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;margin:0;border-bottom:1px solid #a8c5e010;font-size:14px;font-weight:400}
.preference-select>span{max-width:55%;line-height:1.6}
.member-dialog .preference-select select{width:180px;flex:none;padding:9px 12px;font-size:12px;border-color:#a8c5e024;background:#111e2d;border-radius:9px}
.avatar-studio{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:350px}
.avatar-preview-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:30px 22px;background:radial-gradient(ellipse at 50% 32%,#314f6e42,transparent 70%),#0a111c;border-right:1px solid #a8c5e017;min-width:0}
.avatar-preview-orbit{padding:10px;border:1px solid #aacdeb29;border-radius:30px;background:#8cc8f807;box-shadow:0 18px 45px #0004;margin-bottom:4px}
.member-dialog .avatar-preview-orbit .avatar{display:block;width:120px;height:120px;border:0;border-radius:21px;object-fit:cover}
.avatar-preview-panel>strong{font-size:18px;font-weight:500;overflow-wrap:anywhere;text-align:center;max-width:100%}
.avatar-preview-caption{color:#7189a1;font-size:11px;margin-top:-8px}
.avatar-source-panel{padding:24px;min-width:0}
.avatar-source-tabs{display:flex;gap:4px;margin:0 0 25px;padding:4px;background:#080e18;border:1px solid #a8c5e012;border-radius:10px;min-width:0}
.member-dialog .avatar-source-tabs label{position:relative;flex:1;margin:0;min-width:0;cursor:pointer;font-size:11px;font-weight:400;text-align:center}
.avatar-source-tabs input{position:absolute;opacity:0;width:1px!important;height:1px;padding:0!important}
.avatar-source-tabs span{display:block;padding:11px 6px;border-radius:7px;transition:background .2s,color .2s;color:#8fa3b9}
.avatar-source-tabs input:checked+span{background:#203045;color:#e1effa;box-shadow:0 2px 7px #0003}
.avatar-source-tabs input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.avatar-source-content{animation:f-appear .22s ease}
.avatar-source-content h3{color:#c2d3e4;font-size:15px;letter-spacing:0;margin-bottom:10px}
.avatar-active-character{display:flex;align-items:center;gap:14px;margin-top:24px;padding:18px 14px;background:#a8c5e008;border:1px solid #a8c5e01c;border-radius:12px}
.avatar-active-character .avatar{width:52px;height:52px;border-radius:11px;flex:none}
.avatar-active-character>div{min-width:0}
.avatar-active-character strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.avatar-active-character small{display:block;margin-top:5px;font-size:10px;color:#819bb4}
.member-dialog .avatar-character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 0;max-height:270px;overflow:auto;padding:2px}
.member-dialog .character-avatar-choice{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:16px 10px;background:#0a121f;border-color:#a8c5e01c;border-radius:12px;transition:background .2s,border-color .2s,transform .2s}
.character-avatar-choice:hover{border-color:#aacdeb66;transform:translateY(-2px)}
.member-dialog .character-avatar-choice input{position:absolute;top:8px;right:8px;margin:0;accent-color:#b2d2e8}
.member-dialog .character-avatar-choice:has(input:checked){background:#20364b80;border-color:#a1c7e4}
.member-dialog .character-avatar-choice .avatar{width:56px;height:56px;border-radius:12px}
.character-avatar-choice small{display:block;margin-top:3px;font-size:10px}
.avatar-source-content .f-upload{border:1px dashed #7ea8cf4a;border-radius:12px;padding:20px 16px;background:#a8c5e006;display:grid;gap:15px}
.avatar-source-content .f-upload .upload-preview{display:none}
.avatar-source-content .f-upload input[type=file]{font-size:11px;color:#9cb0c4;line-height:2;max-width:100%}
.avatar-source-content input::file-selector-button{display:block;border:1px solid #97badc33;border-radius:8px;background:#223247;color:#dfedfa;padding:10px 15px;margin:0 0 10px;font-family:inherit;cursor:pointer}
.avatar-source-content .f-upload .clear-upload{justify-self:start}
.avatar-reset-row{padding:0 24px 20px 244px}
.avatar-reset-row .f-button{font-size:11px;border-color:transparent;padding:7px 0;color:#849bb0}
@media(max-width:1000px){.member-profile .forum-columns{grid-template-columns:minmax(0,1fr) 260px}.profile-header-body{gap:20px;padding-inline:24px}.profile-counts{gap:15px;padding-left:18px}.member-profile .profile-name-row h2{font-size:28px}}
@media(max-width:767px){.member-profile .forum-columns{grid-template-columns:1fr}.member-profile .forum-side{grid-template-columns:1fr}.member-profile .profile-cover{height:120px}.profile-header-body{flex-wrap:wrap;gap:16px;padding:0 20px 22px;margin-top:-28px}.member-profile .profile-avatar .avatar{width:86px;height:86px}.member-profile .profile-avatar{border-radius:21px;border-width:5px}.member-profile .profile-identity{padding-top:34px;flex-basis:calc(100% - 132px)}.profile-name-row{gap:9px}.member-profile .profile-name-row h2{font-size:25px}.member-profile .profile-status-text{font-size:13px}.member-profile .profile-joined{font-size:10px}.profile-counts{width:100%;justify-content:flex-start;gap:30px;border-left:0;border-top:1px solid var(--member-line);padding:17px 0 0;margin-top:4px}.profile-counts>a,.profile-counts>div{display:flex;align-items:baseline;gap:8px;min-width:0}.profile-counts strong{font-size:19px}.member-profile .profile-composer{padding:15px;gap:10px}.profile-composer>.avatar{width:30px;height:30px}.member-profile .profile-post .reply-card{padding:18px}.member-profile .profile-header{margin-bottom:22px}.forum-dialog.member-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:17px}.member-dialog .dialog-heading{padding:19px 20px}.member-dialog .dialog-heading h2{font-size:21px}.member-dialog .member-tabs{margin:18px 16px 0;gap:2px;padding:4px}.member-tabs button{font-size:11px;padding:10px 6px}.preference-page{padding:20px;min-height:330px}.member-dialog .preference-row{font-size:13px;gap:16px}.member-dialog .preference-select{align-items:flex-start;flex-direction:column;gap:10px;font-size:13px}.preference-select>span{max-width:100%}.member-dialog .preference-select select{width:100%}.member-dialog .f-form-actions{padding:16px 20px}.avatar-studio{grid-template-columns:1fr}.avatar-preview-panel{padding:22px 20px;gap:10px;border-right:0;border-bottom:1px solid #a8c5e017}.avatar-preview-orbit{padding:7px;border-radius:25px}.member-dialog .avatar-preview-orbit .avatar{width:88px;height:88px;border-radius:17px}.avatar-preview-panel>strong{font-size:16px}.avatar-source-panel{padding:20px}.avatar-source-tabs{margin-bottom:20px}.avatar-reset-row{padding:0 20px 20px}.member-dialog .avatar-character-grid{max-height:240px}.member-profile .inline-profile-form input{flex-basis:auto}.member-profile .profile-composer textarea{min-height:80px}}
@media(prefers-reduced-motion:reduce){.member-dialog *{animation:none!important;transition:none!important}}

/* Return the space above the content to the forum. */
html:has(body:is([data-page=forum],[data-page=applications])){scroll-padding-top:80px}
body:is([data-page=forum],[data-page=applications]) .forum-shell{padding-top:12px}
body:is([data-page=forum],[data-page=applications]) .forum-top{padding:7px 0 14px;min-height:62px}
body:is([data-page=forum],[data-page=applications]) .forum-heading{margin:23px 0 24px;gap:24px}
body:is([data-page=forum],[data-page=applications]) .forum-heading h1{font-size:clamp(28px,3vw,40px)}
body:is([data-page=forum],[data-page=applications]) .forum-heading .eyebrow{margin-bottom:9px;font-size:9px}
body:is([data-page=forum],[data-page=applications]) .rte-tools-dock{top:64px;max-height:calc(100dvh - 120px)}
@media(min-width:768px){body:is([data-page=forum],[data-page=applications]) .music-control{top:76px}}
@media(max-width:767px){body:is([data-page=forum],[data-page=applications]) .forum-shell{padding-top:8px}body:is([data-page=forum],[data-page=applications]) .forum-top{padding:5px 0 11px;min-height:54px}body:is([data-page=forum],[data-page=applications]) .forum-heading{margin:20px 0}body:is([data-page=forum],[data-page=applications]) .forum-heading h1{font-size:30px}body:is([data-page=forum],[data-page=applications]) #forum-search{margin-top:14px}}
