.avatar-unit{display:inline-flex;flex-direction:column;align-items:center;gap:6px;flex-shrink:0;vertical-align:middle;max-width:110px}.avatar-frame{position:relative;display:inline-flex}.player-title{display:inline-block;border:1px solid #a38a58;background:#443a26;color:#f6d79e;border-radius:5px;padding:4px 7px;font-size:10px;line-height:1.3;font-weight:600;text-align:center;overflow-wrap:anywhere;max-width:110px}.title-blue{background:#233b57;border-color:#547fae;color:#b9d9ff}.title-green{background:#213e34;border-color:#538973;color:#b9e3cb}.title-purple{background:#392e50;border-color:#8e72b3;color:#ddc8f4}.title-rose{background:#452d3b;border-color:#a76c8e;color:#f4c4db}.presence-indicator{position:absolute;right:0;bottom:0;width:11px;height:11px;border:2px solid #142238;border-radius:50%;background:#6b778b;box-shadow:0 0 0 1px #7f8da03b}.presence-indicator.is-online,.online-dot{background:#79d7a2}.presence-indicator.is-unknown{background:#b1956b}.presence-status{font-size:11px;color:#a9b6c9}.presence-status.is-online{color:#93ddb0}.presence-status.is-unknown{color:#dfbd85}.site-presence{display:block;color:#a9d3b7;font-size:11px;margin:0 0 16px;padding:10px;border:1px solid #355044;border-radius:7px}.presence-panel{padding:18px 20px;border:1px solid #365145;border-radius:11px;background:#152a25;margin-bottom:20px}.presence-panel h2{font-size:15px;margin:0 0 9px}.presence-panel>p{font-size:11px;color:#aac4b4;line-height:1.6;margin:12px 0 0}.online-list{display:flex;gap:8px;flex-wrap:wrap}.online-list p{font-size:12px;color:#bac9c1;margin:4px 0}.online-person{display:inline-flex;align-items:center;gap:7px;color:#d3e6da;background:#223c31;border:1px solid #476455;border-radius:20px;padding:8px 12px;font-size:12px;max-width:100%;overflow-wrap:anywhere}.online-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}.member-card>.avatar-unit{min-height:80px}.avatar-photo-upload{border:1px solid #415674;border-radius:9px;padding:15px;display:grid;gap:12px}.avatar-photo-upload label{font-size:13px;display:grid;gap:10px}.avatar-photo-upload input[type=file]{width:100%;max-width:100%;font-size:12px;padding:10px}.avatar-photo-upload input::file-selector-button{padding:8px;border:1px solid #6a7e98;border-radius:5px;background:#253850;color:#e2e9f3;margin-right:9px;cursor:pointer}.avatar-photo-preview{display:flex;gap:16px;align-items:center}.avatar-photo-preview img{width:100px;height:100px;object-fit:cover;border-radius:50%;border:2px solid #d2b17a}.avatar-photo-preview p{font-size:12px;line-height:1.6;color:var(--muted)}.avatar-picker{flex-wrap:wrap}.avatar-picker label:has(input:disabled){opacity:.45}.avatar-unit-mini-avatar .player-title{font-size:8px;max-width:75px;padding:2px 4px}.avatar-unit-sidebar-portrait .player-title{font-size:9px;max-width:90px}.avatar-unit-thread-avatar{width:76px}.avatar-unit-post-avatar{max-width:88px}.avatar-unit-post-avatar .player-title{max-width:88px;font-size:9px}.title-manager{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:24px}.title-manager h2{font-size:19px;margin:20px 0 16px}.title-manager h3{font-size:16px;margin:0}.title-catalog{display:grid;gap:12px}.title-editor{background:#142238;border:1px solid #354a65;border-radius:10px;padding:17px;margin-bottom:12px}.title-editor .player-title{align-self:flex-start}.title-editor-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.title-editor-actions .text-link{background:none;border:0;color:#dbacb9;padding:10px}.title-search{display:grid;gap:9px;font-size:12px;color:var(--muted);margin-bottom:15px}.title-search input,.title-member select{width:100%;min-width:0;background:#0e1b2f;border:1px solid #3f536f;border-radius:7px;padding:11px;color:var(--text)}#title-assignments{display:grid;gap:12px}.title-member{padding:17px;border:1px solid #3c4e67;background:#142238;border-radius:10px;display:grid;gap:13px;min-width:0}.title-member-identity{display:flex;align-items:center;gap:16px}.title-member-identity>div{min-width:0}.title-member-identity strong{font-size:14px;overflow-wrap:anywhere}.title-member-identity small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.title-member>label{display:grid;gap:8px;font-size:12px;color:var(--muted)}.title-member>.button{justify-self:start;min-height:40px}.account-button .avatar-unit{flex-shrink:0}.member-profile>.presence-status{display:block;margin:12px 0}.thread-row:has(.avatar-unit){align-items:center}
@media(max-width:680px){.account-button .account-name{display:none}.account-button{min-width:40px}.title-manager{grid-template-columns:1fr}.avatar-unit-thread-avatar{width:54px}.avatar-unit-thread-avatar .player-title{font-size:8px;padding:3px;max-width:54px}.avatar-unit-mini-avatar .player-title{max-width:62px;font-size:7px}.avatar-unit-post-avatar .player-title{max-width:70px}.avatar-unit-post-avatar{max-width:70px}.avatar-photo-upload{padding:12px}.avatar-photo-preview{gap:12px}.avatar-photo-preview img{width:80px;height:80px}.title-member-identity{gap:12px}.presence-panel{padding:15px}.presence-panel h2{font-size:14px}.online-person{font-size:11px;min-height:36px}.admin-tabs{flex-wrap:wrap}.title-manager h2{font-size:17px}}

/* Forum author cards: one identity column, separated from the message. */
.sidebar-portrait,.thread-avatar,.post-avatar,.member-avatar,.profile-avatar,.mini-avatar{border-radius:12px;border-color:#9b835c;box-shadow:0 0 0 3px #0c1828,0 0 0 4px #34455c}
.mini-avatar,.sidebar-portrait{border-radius:7px;box-shadow:none}
.owner-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:7px}
.owner>span:last-child{min-width:0;flex:1}.owner strong,.owner small{overflow-wrap:anywhere}
.sidebar-title{display:block;max-width:100%;margin-top:8px}.sidebar-title .player-title{max-width:100%;font-size:10px;padding:4px 7px;line-height:1.4}
.account-button .avatar-unit{max-width:23px}
.topic-panel,.reply-panel{padding:0;overflow:hidden}
.topic-heading{padding:24px 28px;border-bottom:1px solid var(--line)}.topic-heading .topic-title{margin:14px 0 0}
.forum-post{display:grid;grid-template-columns:208px minmax(0,1fr);min-width:0;align-items:start;background:linear-gradient(to right,#111e30 208px,transparent 208px)}
.post-author.post-byline{display:flex;flex-direction:column;align-items:center;gap:14px;margin:0;padding:24px 18px;background:linear-gradient(180deg,#15253a,#111e30);border-right:0;min-width:0;height:auto;align-self:start;justify-content:flex-start;flex-wrap:nowrap}
.author-profile.profile-link{display:flex;flex-direction:column;align-items:center;width:100%;gap:12px;text-align:center}
.author-profile .author-name{font-size:16px;line-height:1.4;font-weight:600;width:100%;overflow-wrap:anywhere}
.author-profile .player-title{font-size:11px;max-width:100%;padding:6px 10px}
.post-author .avatar-unit-post-avatar{width:144px;max-width:144px}.post-author .post-avatar{width:144px;height:144px;max-width:144px;font-size:48px;border-radius:13px}
.post-author .presence-indicator{width:14px;height:14px;right:3px;bottom:3px}
.author-role{max-width:100%;text-align:center;overflow-wrap:anywhere;padding:6px 12px;font-size:11px;border-color:#6c604d;background:#2a2d35}
.author-game-nick{font-size:11px;color:var(--muted);text-align:center;margin:0;max-width:100%;overflow-wrap:anywhere}
.player-facts{display:grid;gap:10px;margin:0;width:100%;min-width:0;font-size:11px;line-height:1.5;text-align:left}
.player-facts>div{display:flex;justify-content:space-between;align-items:start;gap:9px;min-width:0}.player-facts dt{color:var(--muted);flex-shrink:0}.player-facts dd{color:#dbe4ef;margin:0;text-align:right;overflow-wrap:anywhere}
.author-about{width:100%;font-size:11px;color:var(--muted);line-height:1.6;border-top:1px solid var(--line);padding-top:10px}.author-about summary{cursor:pointer;color:var(--gold)}.author-about p{margin:8px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.post-content{min-width:0;padding:25px 28px;align-self:stretch;border-left:1px solid #354860;display:flex;flex-direction:column}.post-content-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:22px}.post-content-meta>span{color:var(--blue)}
.post-content .attachments{max-width:100%}.member-profile .profile-avatar{width:144px;height:144px;font-size:48px}.member-profile .avatar-unit-profile-avatar{max-width:144px}
.member-profile .player-title{max-width:100%;font-size:12px;padding:6px 12px}.member-profile .player-facts{max-width:330px;padding:15px;border:1px solid var(--line);border-radius:9px;background:#101e30;font-size:12px}
.avatar-photo-preview img{border-radius:13px;box-shadow:0 0 0 3px #0c1828,0 0 0 4px #34455c}.avatar-choice{border-radius:10px!important}
.profile-visibility{border:1px solid var(--line);border-radius:9px;padding:15px;display:grid;gap:12px;margin:0}.profile-visibility legend{color:var(--gold);font-size:12px;padding:0 7px}.profile-visibility>label{display:flex;gap:9px;align-items:center;font-size:12px;line-height:1.5}
.avatar-crop-controls{display:grid;gap:13px;min-width:0}.avatar-crop-controls canvas{display:block;width:min(240px,100%);height:auto;aspect-ratio:1;border:2px solid var(--gold);border-radius:13px;touch-action:none;cursor:grab;margin:3px auto 12px;background:#15243b;box-shadow:0 0 0 4px #0c1828}.avatar-crop-controls canvas:active{cursor:grabbing}.avatar-crop-controls canvas:focus-visible{outline:2px solid #b9d9ff;outline-offset:5px}
.avatar-crop-controls label{display:grid;gap:7px;font-size:12px;line-height:1.5}.avatar-crop-controls input[type=range]{accent-color:var(--gold);padding:0!important;min-height:30px;border:0!important;cursor:pointer}.avatar-crop-controls output{color:var(--gold)}.avatar-crop-controls>.button{justify-self:start;font-size:12px;min-height:40px}
.avatar-crop-controls[hidden],.avatar-photo-preview[hidden],.avatar-photo-preview img[hidden]{display:none!important}
.portal-dialog h2{overflow-wrap:anywhere}
@media(max-width:760px){
 .forum-post{grid-template-columns:1fr;background:none}.post-author.post-byline{border-right:0;border-bottom:1px solid #354860;padding:18px;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:10px 17px}
 .author-profile.profile-link{display:contents}.author-profile .author-name{grid-column:2;grid-row:1;font-size:15px;text-align:left}
 .author-profile .player-title{grid-column:2;grid-row:3;justify-self:start;max-width:100%;font-size:10px;padding:5px 8px}
 .post-author .avatar-unit-post-avatar{grid-column:1;grid-row:1/6;width:88px;max-width:88px;align-self:start;margin-top:3px}.post-author .post-avatar{width:88px;height:88px;font-size:32px;border-radius:11px}
 .post-author .author-role{grid-column:2;justify-self:start;font-size:10px;padding:5px 8px}.post-author>.presence-status{grid-column:2;font-size:10px}.author-game-nick,.post-author .player-facts,.author-about{grid-column:1/-1}.author-game-nick{text-align:left}
 .post-author .player-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid var(--line);padding-top:12px}.post-author .player-facts>div{display:block}.post-author .player-facts dt{font-size:10px;white-space:normal}.post-author .player-facts dd{text-align:left;font-size:11px;margin-top:4px}
 .post-content{padding:20px 18px;border-left:0}.topic-heading{padding:20px 18px}.post-content-meta{margin-bottom:17px}.member-profile .profile-avatar{width:144px;height:144px}
}
