:root{
  color-scheme:dark;
  --bg:#101722;--bg-2:#141e2b;--panel:#192534;--panel-alt:#1b2939;--stroke:#2b3a4a;
  --text:#e8edf2;--dim:#9daebb;--muted:#778b9c;--gold:#e9b970;--gold-bright:#f6ce90;
  --blue:#6eabb0;--red:#d67d70;--green:#9abc9b;
  --shadow:0 16px 45px rgba(2,8,14,.22);--radius:16px;
  font-family:Inter,"Segoe UI",Arial,Helvetica,sans-serif;font-size:15px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{min-height:100vh;margin:0;background:var(--bg);color:var(--text);line-height:1.5;overflow-x:hidden}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
button:disabled{cursor:default;opacity:.55}
.hidden{display:none!important}
.ambient{position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(45px);opacity:.4}
.ambient-a{top:-260px;left:15%;width:690px;height:470px;background:radial-gradient(ellipse,rgba(76,109,135,.19),transparent 72%)}
.ambient-b{top:320px;right:-350px;width:700px;height:650px;background:radial-gradient(ellipse,rgba(65,117,118,.11),transparent 70%)}
.topbar{position:sticky;top:0;z-index:20;background:rgba(16,23,34,.91);border-bottom:1px solid rgba(186,204,214,.11);backdrop-filter:blur(20px)}
.topbar-inner{display:flex;max-width:1550px;padding:0 30px;height:78px;align-items:center;gap:32px;margin:0 auto}
.brand{display:flex;align-items:center;gap:12px;min-width:260px}
.brand-icon{display:grid;place-content:center;background:linear-gradient(135deg,#423427,#162632);border:1px solid #a78556;width:42px;height:42px;transform:rotate(-10deg);border-radius:11px;font-size:17px;font-weight:900;letter-spacing:-5px;color:var(--gold-bright);text-shadow:0 2px 12px rgba(242,186,110,.3)}
.brand-icon span{color:#f1e5d2}
.brand-name{display:block;font-size:15px;letter-spacing:.12em;white-space:nowrap;font-weight:700;line-height:1.25}
.brand-name b{color:var(--gold)}
.brand-name small{display:block;font-size:8px;font-weight:600;letter-spacing:.19em;color:#7f99a8;margin-top:5px}
.top-nav{height:100%;display:flex;align-items:center;gap:26px;margin-left:6px}
.top-nav>a,.top-nav>button{height:100%;display:grid;place-items:center;border:0;background:none;color:var(--dim);font-size:13px;font-weight:600;padding:0 2px;white-space:nowrap;position:relative}
.top-nav>a:hover,.top-nav>button:hover{color:#fff}
.top-nav .current{color:var(--gold-bright)}
.top-nav .current:after{content:"";height:2px;position:absolute;left:0;right:0;bottom:0;background:var(--gold)}
.header-actions{margin-left:auto;display:flex;gap:15px;align-items:center}
.icon-btn{border:0;background:none;color:#aebbc6;display:flex;gap:8px;align-items:center;font-size:13px}
.svg-icon{font-size:25px;line-height:1;transform:rotate(-35deg)}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;padding:11px 16px;border:1px solid transparent;font-size:13px;font-weight:700;transition:background .16s ease,transform .16s ease,border-color .16s ease;text-align:center}
.btn:hover:not(:disabled){transform:translateY(-1px)}
.btn-accent{background:linear-gradient(115deg,#f0c47f,#dba65c);border-color:#f0c47f;color:#222c31;box-shadow:0 4px 17px rgba(204,148,75,.14)}
.btn-accent:hover{background:linear-gradient(115deg,#fbd99c,#f0bc72)}
.btn-small{padding:9px 13px}
.btn-outline{border-color:#415464;background:#1c2b3b;color:#dbe5eb}
.btn-outline:hover{border-color:#70818e;background:#273849}
.btn-quiet{background:#233343;border-color:#334655;color:#ccdae2}
.btn-full{width:100%}
.account-pill{display:flex;gap:9px;align-items:center;border:1px solid #354452;background:#1b2a39;border-radius:35px;color:#dbe5ea;padding:6px 12px 6px 7px;font-size:12px;white-space:nowrap}
.avatar{background:linear-gradient(135deg,#537782,#263d4c);border:2px solid #779198;display:inline-grid;place-items:center;color:#fff;font-weight:800;width:65px;height:65px;border-radius:50%;font-family:Georgia,serif;flex-shrink:0}
.avatar.tiny{width:27px;height:27px;font-size:12px;border-width:1px}
.avatar.small{width:39px;height:39px;font-size:14px;border-width:1px}
.page-grid{display:grid;grid-template-columns:240px minmax(0,740px) 278px;gap:35px;max-width:1480px;padding:38px 28px 90px;margin:auto;align-items:start}
.left-rail{position:sticky;top:105px}
.panel{background:linear-gradient(155deg,rgba(31,46,62,.92),rgba(23,35,48,.94));border:1px solid rgba(142,166,182,.13);border-radius:var(--radius);box-shadow:var(--shadow)}
.profile-card{padding:24px 18px 19px;text-align:center}
.profile-top{display:inline-block;position:relative}
.online-marker{position:absolute;right:0;bottom:8px;background:#78bd9b;border:3px solid #1c2939;height:14px;width:14px;border-radius:50%}
.profile-card h2{font-size:16px;margin:10px 0 2px;letter-spacing:.01em}
.muted{color:var(--dim)}
.profile-card p{font-size:12px;margin:0 0 20px}
.profile-card .btn{font-size:11px;padding:10px 8px}
.nav-section{margin-top:29px}
.section-eyebrow{font-size:10px;letter-spacing:.17em;color:#a1b2bd;font-weight:800}
.nav-section>.section-eyebrow{padding:0 13px;margin-bottom:10px}
.rail-link{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:12px;color:#aebcc9;text-align:left;padding:11px 11px;border-radius:10px;font-size:12.5px;white-space:nowrap}
.rail-link:hover:not(.disabled){background:#213141;color:#fff}
.rail-link.active{color:var(--gold-bright);background:rgba(206,157,93,.09)}
.rail-link span{width:22px;text-align:center;color:#829cab;font-size:17px}
.rail-link.active span{color:var(--gold)}
.rail-link small{color:#758b9a;font-size:9px;margin-left:auto}
.rail-link.disabled{opacity:.52;cursor:default}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.icon-add{border:1px solid #3e5262;background:#203242;color:#b6c6cf;font-size:19px;line-height:1;width:28px;height:28px;border-radius:8px}
.feed-links{margin-top:11px}
.feed-link{font-size:12px;display:flex;align-items:center;color:#a9bcc6;gap:8px;width:100%;border:none;background:none;padding:9px 10px;border-radius:9px;text-align:left}
.feed-link:hover,.feed-link.active{color:var(--gold);background:rgba(208,161,105,.07)}
.hint{font-size:12px;color:var(--muted)}
.rail-footer{font-size:10px;color:#6c8292;line-height:1.8;border-top:1px solid #273747;margin-top:31px;padding:19px 8px}
.main-content{min-width:0}
.welcome{position:relative;padding:19px 2px 30px;border-bottom:1px solid #2b3947;margin-bottom:24px}
.welcome-kicker{font-size:10px;letter-spacing:.2em;color:var(--gold);font-weight:800;display:flex;align-items:center;gap:9px}
.live-dot{width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 13px #d7a763}
.welcome h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3.2vw,43px);line-height:1.15;letter-spacing:-.035em;font-weight:500;margin:16px 0 12px}
.welcome h1 em{color:var(--gold);font-style:normal}
.welcome p{color:#9eafbc;font-size:13px;max-width:530px;line-height:1.7;margin-bottom:17px}
.welcome-links{display:flex;flex-wrap:wrap;gap:23px}
.text-cta{font-size:12px;font-weight:700;color:#dbc1a0;display:inline-flex;gap:6px;align-items:center;border:0;background:none;padding:0}
.text-cta span{font-size:15px}
.text-cta:hover{color:#fff}
.auth-notice{display:flex;gap:15px;align-items:center;justify-content:space-between;background:#24374a;border:1px solid #42627b;border-radius:12px;padding:17px;margin-bottom:20px}
.auth-notice p{font-size:12px;color:#bdd0db;margin:5px 0 0}
.composer-quick{padding:14px 17px;display:flex;align-items:center;gap:12px}
.composer-placeholder{background:#223245;border:1px solid #364b5d;color:#91a6b4;border-radius:25px;flex:1;padding:12px 17px;text-align:left;font-size:12px}
.composer-placeholder:hover{border-color:#758b9a;color:#cbd7df}
.quick-create{background:none;border:0;font-size:23px;color:var(--gold);width:37px}
.feed-section{margin-top:28px}
.feed-header{display:flex;align-items:end;justify-content:space-between;gap:12px}
.feed-header h2{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:3px 0 0;letter-spacing:-.02em}
.filter-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}
.filter-pill{color:#97abb9;background:#1a2836;border:1px solid #304354;padding:8px 12px;border-radius:25px;font-size:11px;font-weight:700}
.filter-pill:hover{color:#fff;border-color:#60798b}
.filter-pill.selected{background:rgba(234,186,114,.13);border-color:#b58b59;color:var(--gold-bright)}
.feed-meta{font-size:11px;color:#7c91a1;margin:14px 0 19px}
.feed-stack{display:grid;gap:14px}
.post-card{padding:21px 22px 12px}
.post-top{display:flex;align-items:center;gap:11px}
.post-author{flex:1;min-width:0}
.post-author strong{font-size:13px;display:block;color:#e5edf1}
.post-author span{font-size:10px;color:#8498a7}
.post-menu{display:flex;gap:8px}
.inline-tag{font-size:10px;border:1px solid #52677a;color:#afc4ce;border-radius:6px;padding:3px 7px;background:#263849;white-space:nowrap}
.inline-tag.promoted{border-color:#b49565;color:#e8bf7b}
.post-type{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#e5b575;margin:19px 0 2px;font-weight:700}
.post-title{font-family:Georgia,serif;font-size:20px;font-weight:500;margin:4px 0 8px;color:#f1f2ee}
.post-body{font-size:13px;color:#c9d5dc;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:12px 0 20px}
.post-pending{font-size:11px;color:#e4bd80;border:1px solid #816546;background:#463a2c;padding:7px 10px;border-radius:7px;display:inline-block;margin:7px 0}
.post-footer{border-top:1px solid #314252;display:flex;gap:5px;align-items:center;padding-top:10px}
.post-action{display:inline-flex;gap:7px;align-items:center;color:#95aabb;font-size:11px;border:0;background:transparent;border-radius:8px;padding:9px 12px}
.post-action:hover{background:#263a4a;color:#fff}
.post-action.liked{color:var(--gold-bright)}
.post-action .glyph{font-size:17px}
.post-spacer{flex:1}
.empty-state{background:#1a2938;border:1px dashed #3a5263;border-radius:15px;padding:30px 18px;text-align:center;color:#91a8b5;font-size:13px}
.empty-state strong{display:block;font-size:16px;color:#d5e1e7;margin-bottom:8px}
.empty-state p{max-width:390px;margin:7px auto 15px}
.spinner{width:23px;height:23px;border:2px solid #426278;border-top-color:var(--gold);border-radius:50%;display:inline-block;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
#load-more{margin-top:20px}
.right-rail{position:sticky;top:105px;display:grid;gap:19px}
.right-card{padding:20px 20px}
.right-heading{display:flex;justify-content:space-between;align-items:center}
.right-heading>span:last-child{color:var(--gold);font-size:26px}
.right-card h3{font-family:Georgia,serif;font-weight:500;font-size:20px;line-height:1.25;margin:11px 0 10px}
.right-card h3 em{font-style:normal;color:var(--gold)}
.right-card p{font-size:11.5px;color:#a0b1bf;line-height:1.65}
.discover-card{background:linear-gradient(135deg,#2a3b44,#1a2936 75%);border-color:#42525b}
.discover-card .btn{font-size:11px;margin-top:13px}
.right-card .section-head h3{font-size:16px;margin:0 0 7px}
.link-btn{background:transparent;border:0;color:var(--gold);font-size:11px}
.group-shortlist{display:grid;gap:10px;margin-top:14px}
.group-mini{border-bottom:1px solid #2d3e4b;padding-bottom:10px;text-align:left;background:none;color:#d3dce3;font-size:12px;border-left:0;border-right:0;border-top:0}
.group-mini:last-child{border-bottom:0;padding-bottom:0}
.group-mini b{display:block;font-size:12px;margin-bottom:3px}
.group-mini small{color:#7e98a6;font-size:10px}
.note-icon{color:var(--gold);font-size:25px}
.small-note h3{font-size:16px;margin:8px 0}
.toast{position:fixed;z-index:99;bottom:23px;left:50%;transform:translate(-50%,20px);padding:12px 19px;background:#2b4148;color:#fff;border:1px solid #607c78;border-radius:11px;opacity:0;pointer-events:none;font-size:12px;box-shadow:0 12px 26px #0008;transition:opacity .25s,transform .25s;max-width:calc(100vw - 30px);text-align:center}
.toast.visible{opacity:1;transform:translate(-50%,0)}
.toast.error{background:#4f3334;border-color:#875756}
.modal{color:var(--text);background:#192737;border:1px solid #465e6d;border-radius:19px;box-shadow:0 30px 70px #000b;width:min(600px,calc(100vw - 25px));max-height:min(90vh,900px);padding:0;overflow:auto}
.modal::backdrop{background:rgba(2,9,15,.78);backdrop-filter:blur(5px)}
.modal-form{padding:26px 27px 28px;display:grid;gap:11px}
.modal-heading{display:flex;align-items:start;justify-content:space-between;margin-bottom:10px;gap:15px}
.modal-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:500;margin:2px 0 0}
.close-modal{background:#263a4b;border:1px solid #415867;color:#dbe8ed;border-radius:50%;width:31px;height:31px;font-size:23px;line-height:1}
.modal label{font-size:12px;color:#bccbd4;font-weight:700}
.modal input:not([type=checkbox]),.modal textarea,.modal select{border:1px solid #455b6a;background:#101d2b;color:#eaf1f5;border-radius:9px;padding:12px;font-size:13px;width:100%;min-width:0}
.modal textarea{resize:vertical;min-height:70px}
.modal input::placeholder,.modal textarea::placeholder{color:#738a99}
.modal select{color:#e3eaef}
.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.two-fields>div{display:grid;gap:8px}
.field-note{font-size:11px;color:#96b5c0;margin:0;line-height:1.6}
.modal-actions{border-top:1px solid #314757;display:flex;gap:9px;justify-content:flex-end;padding-top:17px;margin-top:12px}
.label-extra{font-size:11px;font-weight:400;color:#7c94a2}
.check-line{display:flex;align-items:center;gap:12px;padding:11px 0}
.check-line input{accent-color:#d4a461;width:18px;height:18px;flex-shrink:0}
.dialog-list{display:grid;gap:9px}
.list-item{display:flex;align-items:center;gap:12px;padding:12px;background:#213445;border:1px solid #324858;border-radius:12px}
.list-item .list-copy{flex:1;min-width:0}
.list-item b{display:block;font-size:13px;color:#e4edf2}
.list-item p{font-size:11px;color:#93a9b6;line-height:1.5;margin:3px 0 0}
.list-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.list-actions .btn{font-size:10px;padding:7px 9px}
.comment{padding:11px 0;border-bottom:1px solid #354959;font-size:12px}
.comment strong{color:#e6c18a}
.comment time{color:#78909f;display:block;font-size:10px}
.comment p{color:#c9d6dd;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.comments-list{max-height:350px;overflow:auto;display:grid;gap:2px}
#comment-form{display:grid;gap:11px;margin-top:14px}
.form-details{border:1px dashed #476074;border-radius:12px;padding:14px;margin-top:12px}
.form-details summary{font-weight:700;font-size:12px;color:var(--gold);cursor:pointer}
.form-details form{display:grid;gap:13px;margin-top:15px}
.form-details label{display:grid;gap:6px}
.modal h3{font-size:14px;margin:14px 0 6px}
.modal hr{height:1px;border:0;background:#405262;width:100%;margin:16px 0 5px}
.inline-form{display:flex;gap:10px}
.inline-form input{flex:1}
.tag-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:5px}
.tag{border:1px solid #59707b;background:#253b48;color:#d0dbe1;font-size:12px;border-radius:8px;padding:5px 8px;display:inline-flex;align-items:center;gap:7px}
.tag button{border:0;background:none;color:#e0a19a;font-size:16px}
.mobile-nav{display:none}
@media(max-width:1230px){
  .page-grid{grid-template-columns:215px minmax(0,1fr);max-width:1050px;gap:24px}
  .right-rail{display:none}
  .brand{min-width:220px}
  .top-nav{gap:17px}
}
@media(max-width:800px){
  .topbar-inner{height:66px;padding:0 18px}
  .brand{min-width:0}
  .brand-name{font-size:12px}
  .brand-name small{font-size:7px;letter-spacing:.12em}
  .top-nav,.search-action span:last-child,.account-pill>span:last-child{display:none}
  .header-actions{gap:9px}
  .account-pill{padding:5px}
  .page-grid{display:block;padding:22px 15px 120px}
  .left-rail{display:none}
  .main-content{width:100%;max-width:720px;margin:auto}
  .welcome{padding-top:3px}
  .welcome h1{font-size:33px}
  .welcome-links{gap:18px}
  .mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:15;display:flex;align-items:center;justify-content:space-around;padding:6px 4px max(7px,env(safe-area-inset-bottom));background:#162331;border-top:1px solid #37495a;box-shadow:0 -6px 20px #050a10a8}
  .mobile-nav a,.mobile-nav button{background:none;border:0;color:#c0d0da;display:grid;gap:1px;justify-items:center;padding:4px 7px;font-size:20px;min-width:42px}
  .mobile-nav small{font-size:9px}
  .modal{max-height:90dvh}
  .modal-form{padding:20px 18px 22px}
  .toast{bottom:78px}
}
@media(max-width:480px){
  .topbar-inner{gap:12px;padding:0 12px}
  .brand-icon{width:35px;height:35px;font-size:15px}
  .brand-name small{display:none}
  .brand-name{font-size:11px}
  .header-actions{gap:4px}
  #new-post-top{font-size:11px;padding:8px}
  .welcome h1{font-size:29px}
  .welcome p{font-size:12px}
  .feed-header h2{font-size:23px}
  .filter-row{gap:6px}
  .filter-pill{font-size:10px;padding:8px 10px}
  .post-card{padding:16px 15px 10px}
  .post-action{font-size:10px;padding:8px}
  .composer-quick{padding:12px}
  .composer-placeholder{font-size:11px;padding:11px}
  .two-fields{grid-template-columns:1fr}
  .auth-notice{display:grid}
  .list-item{align-items:start;flex-wrap:wrap}
  .list-actions{width:100%;justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:0.001ms!important;transition-duration:0.001ms!important}}
.manager-form{display:grid;gap:8px;border:1px solid #3a5264;border-radius:11px;padding:13px;background:#1f3140}
.manager-form label{display:block}
/* Community Alpha 1.1: structured notices and a separate discovery board. */
.board-section{display:grid;gap:15px;scroll-margin-top:90px;margin-top:6px}
.board-intro{margin:-3px 0 2px;color:#9db3c0;font-size:12px;line-height:1.65;max-width:650px}
.board-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:14px;border:1px solid #364c5f;background:#1a2a3a;border-radius:13px}
.board-filters label{display:grid;gap:6px;color:#acbfce;font-size:11px;font-weight:700}
.board-filters select{background:#0d1a28;color:#e4edf2;border:1px solid #466175;border-radius:8px;padding:11px 12px;font:inherit;font-size:12px;width:100%;min-width:0}
.notice-fields{background:#1e3140;border:1px solid #4b6070;border-radius:12px;padding:15px;display:grid;gap:12px}
.notice-info{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}
.notice-chip{display:inline-flex;align-items:center;border-radius:7px;border:1px solid #405c67;color:#d3e3e8;background:#233e48;padding:7px 9px;font-size:11px;line-height:1.4}
.notice-chip:first-child{color:#f2cf91;border-color:#8b6b43;background:#423929}
.board-section .feed-header{margin-bottom:0}
@media(max-width:480px){.board-filters{grid-template-columns:1fr}.board-section .feed-header{align-items:start;gap:11px}.board-section .feed-header h2{font-size:22px}}
/* Community Alpha 1.2 - messaging, notifications and group discussions. */
.notif-number{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:15px;background:#d6a75f;color:#14212e;font-size:10px;font-weight:900;margin-left:5px}
.message-modal{width:min(850px,calc(100vw - 24px))}
.conversation-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:15px;min-height:360px}
.message-peers{border-right:1px solid #324456;padding:0 11px 0 0;overflow:auto;max-height:55vh}
.chat-person{background:#233548;color:#d8e4ed;border:1px solid transparent;border-radius:9px;display:block;text-align:left;width:100%;padding:12px 9px;font-size:12px;margin:5px 0;overflow-wrap:anywhere}
.chat-person:hover,.chat-person.active{color:#f9d69a;border-color:#a98155;background:#2a3a49}
.message-main{display:flex;flex-direction:column;min-width:0}
.chat-subtitle{font-size:12px;color:#a5b7c4;padding:5px 0 11px;border-bottom:1px solid #304355}
.message-thread{display:flex;flex-direction:column;gap:10px;overflow:auto;flex:1;max-height:50vh;min-height:220px;padding:14px 8px}
.chat-bubble{max-width:88%;padding:10px 13px;background:#243a4d;border:1px solid #39556b;border-radius:13px;align-self:flex-start;overflow-wrap:anywhere}
.chat-bubble.mine{background:#3c342b;border-color:#775b3f;align-self:flex-end}
.chat-bubble.pending{border-style:dashed}
.chat-sender{font-size:11px;color:#e9bc77}
.chat-text{white-space:pre-wrap;color:#e7edf2;font-size:13px;line-height:1.55;margin:4px 0 5px}
.chat-time{color:#96aab8;font-size:10px}
.chat-composer{display:flex;gap:8px;align-items:end;border-top:1px solid #304355;padding-top:12px}
.chat-composer textarea{min-height:52px;max-height:130px;flex:1}
.chat-moderation{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
@media(max-width:680px){.conversation-grid{grid-template-columns:1fr}.message-peers{border-right:none;border-bottom:1px solid #324456;padding:0 0 6px;max-height:110px}.message-thread{min-height:180px;max-height:45vh}.chat-bubble{max-width:96%}.header-actions #messages-open{display:none}}

#notifications-open{white-space:nowrap}
.notif-symbol{color:#ecc17d;margin-right:5px}
@media(max-width:800px){.header-actions #messages-open,.header-actions #notifications-open .notif-label{display:none}.header-actions #notifications-open{padding:8px}.notif-symbol{margin-right:0}}
/* Community 1.3: RPG profiles, directory, launch onboarding and compact dashboard. */
.launch-steps{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 21px;margin-bottom:16px;border:1px solid #a07c50;border-radius:14px;background:linear-gradient(110deg,#302e2a,#202d37);box-shadow:0 12px 32px rgba(0,0,0,.12)}
.launch-steps h2{font:500 20px Georgia,serif;margin:5px 0;color:#f4d6aa}
.launch-steps p{font-size:12px;color:#c2c7c9;margin:4px 0 0;max-width:460px}
.launch-steps .btn{flex-shrink:0}
.dashboard-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:18px}
.dashboard-strip button{display:grid;gap:2px;text-align:left;padding:14px 16px;background:linear-gradient(140deg,#1e3040,#1b2939);border:1px solid #344858;border-radius:12px;color:#b4c6d0;box-shadow:var(--shadow)}
.dashboard-strip button:hover{border-color:#c19c68;background:#28394a}
.dashboard-strip strong{font-size:23px;color:#eec38b;font-weight:650;line-height:1.1}
.dashboard-strip span{font-size:11px;font-weight:600}
.directory-section{margin-top:28px}
.directory-section .feed-header h2{line-height:1.2}
.directory-filters{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:9px;margin-top:20px}
.directory-filters label{display:grid;gap:6px;font-size:10px;font-weight:700;color:#aabecb}
.directory-filters input,.directory-filters select{background:#1b2b3b;border:1px solid #3c5161;border-radius:9px;padding:10px;color:#e0e9f0;min-width:0;width:100%;font-size:12px}
.directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.directory-card{padding:18px;display:flex;flex-direction:column;gap:11px;min-width:0}
.directory-card-head{display:flex;align-items:center;gap:11px}
.directory-card-head h3{font-size:15px;margin:0;overflow-wrap:anywhere}
.directory-card p{margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.directory-role{color:#e0b878}
.directory-bio{color:#adc0cb;min-height:35px}
.directory-card .btn{margin-top:auto;align-self:flex-start}
#directory-more{margin-top:18px}
.person-summary{display:flex;align-items:center;gap:18px;padding:15px;background:#213445;border:1px solid #3a5061;border-radius:12px}
.person-summary-copy strong{font-size:17px}
.person-summary-copy p{font-size:12px;color:#b7c8d2;margin:5px 0 0}
.person-bio{white-space:pre-wrap;line-height:1.8;color:#d9e2e9}
.person-details{display:grid;gap:14px}
#person-actions{padding-top:15px;border-top:1px solid #304353}
.launch-admin-box{border:1px solid #6f624b;background:#282f35;padding:15px;border-radius:12px}
.launch-admin-box h3{margin:0 0 6px}
.starter-row{padding:9px 12px;border:1px solid #354855;border-radius:8px;font-size:12px;color:#cfdae1;background:#1c2d3b}
#starter-groups-preview{margin:12px 0}
@media(max-width:1220px){.directory-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.directory-filters label:first-child{grid-column:span 2}}
@media(max-width:820px){.directory-grid{grid-template-columns:1fr}.launch-steps{align-items:flex-start;flex-direction:column}.dashboard-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.directory-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-filters label:first-child{grid-column:span 2}.directory-section .feed-header{align-items:flex-start;flex-wrap:wrap}}

/* Community 2.0: consistent portal, persistent composer and extensible avatars. */
.hub20-welcome{padding:21px 4px 22px;margin-bottom:20px}
.welcome-grid{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:20px;align-items:center}
.hub20-welcome h1{margin:10px 0 8px;font-size:clamp(27px,3vw,40px)}
.hub20-welcome p{margin:0;max-width:610px}
.welcome-crest{display:grid;gap:10px;justify-items:center;opacity:.86}
.crest-mark{width:87px;height:87px;border:1px solid #a98450;border-radius:25px;transform:rotate(-10deg);display:grid;place-items:center;color:#f5cf99;background:radial-gradient(circle at 40% 30%,#33444c,#131d29 72%);font:700 33px Georgia,serif;box-shadow:inset 0 0 0 7px #162630,0 8px 28px #0005}
.welcome-crest span{color:#a6b9c5;letter-spacing:.12em;font-size:9px;font-weight:700}
.module-deck{padding:8px 0 16px}
.module-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}
.module-head h2{font-family:Georgia,serif;font-weight:500;margin:3px 0 0;font-size:23px}
.deck-hint{font-size:11px;color:#7f98a8}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.module-tile{border:1px solid #34475a;border-radius:13px;background:linear-gradient(115deg,#1b2a3a,#172431);padding:12px 12px;min-height:74px;display:flex;gap:11px;text-align:left;align-items:center;color:#e6eced;width:100%;transition:border-color .15s,transform .15s}
.module-tile:not(.future):hover{border-color:#ae854b;transform:translateY(-2px);background:#23374a}
.module-glyph{width:36px;height:36px;background:#253c4a;border:1px solid #3a5b63;border-radius:11px;display:grid;place-items:center;color:#ebbd7b;font-size:21px;flex-shrink:0}
.module-tile>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}
.module-tile b{font-size:12px}
.module-tile small{color:#88a2b1;font-size:10px;line-height:1.35}
.tile-arrow{color:#ddb575;font-size:16px}
.module-tile.future{opacity:.54;border-style:dashed;cursor:default}
.tile-lock{font-size:9px;color:#b2c1cd;border:1px solid #596a7a;border-radius:6px;padding:3px 5px}
.composer-feed-inline{display:flex;align-items:center;gap:9px;padding:12px;background:#1d2d40;border:1px solid #344b60;border-radius:12px;margin:16px 0 6px}
.composer-inline-button{min-width:0;flex:1;background:#122231;border:1px solid #3a5369;color:#a7bac7;padding:10px 14px;border-radius:28px;text-align:left;font-size:12px}
.composer-inline-button:hover{border-color:#b89769;color:#fff}
.composer-feed-inline .btn{white-space:nowrap}
.right-tool-link{display:flex;width:100%;justify-content:space-between;padding:11px 0;color:#d6e0e5;font-size:12px;border-bottom:1px solid #344756;background:none;border-left:0;border-right:0;border-top:0;text-align:left}
.right-tool-link:last-child{border-bottom:0}
.right-tool-link:hover{color:#eec68b}
.hub20-backtotop{position:fixed;right:20px;bottom:24px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid #496172;background:#1d2f3b;color:#e8bf7b;z-index:18;box-shadow:0 5px 25px #0007}
.avatar{position:relative;overflow:visible}
.avatar-img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;pointer-events:none}
.avatar.frame-adventurer{border:3px solid #d7ae70;box-shadow:0 0 0 3px #293948,0 0 0 5px #6f5635;}
.avatar.frame-veteran{border:3px solid #f1d493;box-shadow:0 0 0 3px #232f40,0 0 0 6px #c5a85a,0 0 19px #bda26b7a;}
.profile-picture-tools{padding:16px;background:#1e3041;border:1px solid #375267;border-radius:13px;display:grid;gap:12px}
.profile-avatar-showcase{display:flex;gap:19px;align-items:center}
.profile-avatar-showcase strong{font-size:14px}
.avatar.profile-preview-avatar{width:80px;height:80px;font-size:24px}
.profile-image-actions{display:flex;gap:8px;flex-wrap:wrap}
.profile-image-actions .btn{flex:1;white-space:normal}
.avatar-modal{width:min(540px,calc(100vw - 20px))}
.avatar-workbench{width:min(320px,100%);aspect-ratio:1;margin:5px auto 10px;border-radius:22px;border:2px solid #bc925d;overflow:hidden;background:#152535}
#avatar-canvas{display:block;max-width:100%;width:100%;height:auto}
.avatar-modal input[type=range]{width:100%;accent-color:#e5b673}
.avatar-modal output{font-size:11px;color:#e5b673}
.admin-home-row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#172938;border:1px solid #365064;border-radius:12px;padding:12px}
.comment .avatar.tiny{float:left;margin-right:9px;margin-top:3px}
@media(max-width:1150px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-grid{grid-template-columns:1fr 100px}.welcome-crest .crest-mark{width:70px;height:70px}}
@media(max-width:690px){.module-grid{grid-template-columns:1fr 1fr;gap:8px}.module-tile{padding:9px;gap:7px;min-height:72px}.module-tile b{font-size:11px}.module-glyph{width:28px;height:30px;font-size:16px}.tile-lock{display:none}.welcome-crest{display:none}.welcome-grid{grid-template-columns:1fr}.module-tile small{font-size:9px}.composer-feed-inline{padding:8px}.composer-feed-inline .btn{font-size:10px;padding:8px 10px}.profile-image-actions{flex-direction:column}.profile-avatar-showcase{align-items:flex-start}}
@media(max-width:420px){.module-tile{min-height:78px}.module-tile small{font-size:9px}.module-tile b{font-size:10px}.composer-feed-inline .avatar{display:none}.module-grid{gap:6px}}
/* Community 3.0: typed posts and discreet keyword sponsorship. */
.typed-fields{display:grid;gap:11px;margin:14px 0;padding:17px;background:#1a2b39;border:1px solid #405468;border-radius:12px}
.typed-fields.hidden{display:none!important}.typed-fields label{display:grid;gap:7px}
.mf-resource-card{padding:15px;border:1px solid #425b6a;background:#1c3242;border-radius:10px;margin:13px 0;display:grid;gap:8px;color:#e5edf4}
.mf-resource-card strong{color:#e5b764;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.mf-resource-card small{color:#b7c8d4}.mf-resource-card a{color:#f2c57e;text-decoration:underline;text-underline-offset:3px}
.mf-resource-card p{margin:0;white-space:pre-wrap}.mf-sponsored{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;border-radius:6px;background:rgba(229,183,100,.09);border:1px solid #94764b;color:#ffe2a8;padding:0 5px;text-decoration:none;font-size:.95em}
.mf-sponsored-brand{font-weight:850;border-right:1px solid #92774b;padding-right:4px;font-size:.77em;letter-spacing:.04em}.mf-sponsored:hover{background:rgba(229,183,100,.2)}

/* Admin profile integration and independently granted custom profile frames */
.avatar.frame-custom{border-color:#8ea4b7}
.custom-frame-decoration{position:absolute;inset:-16%;width:132%;height:132%;z-index:3;object-fit:contain;pointer-events:none;max-width:none!important;max-height:none!important}
#profile-admin{border:1px solid #83673e;background:#263545;padding:13px 14px;border-radius:12px;margin:8px 0 3px;display:grid;gap:8px}
#profile-admin strong{color:#f2cc8a;font-size:13px}
#profile-admin .btn{width:max-content;max-width:100%}

/* Community 4: explicit, accessible destructive actions and profile validation */
.btn-danger{color:#e6a49a;border-color:#995951;margin-top:12px;width:100%;}
.btn-danger:hover{color:#fff;border-color:#c07768;background:#482b30;}
#post-options-form select,#group-options-form select{width:100%;margin:8px 0 12px;}
#post-options-group-note{color:#e7b77e;}
.nickname-taken{color:#efaa9a!important;}
#delete-confirm-form strong{color:var(--gold-bright);font-size:19px;padding:0 5px;}
#delete-answer{width:100%;max-width:220px;margin:8px 0 12px;}
