.profile-card,.profile-identity,.profile-photo-row,.profile-photo-buttons,.profile-actions,.profile-user-input{display:flex;align-items:center}
.profile-card{margin:15px 0 12px;padding:11px 13px;background:var(--surface);border:1px solid var(--line);border-radius:10px;justify-content:space-between;gap:9px;flex-wrap:wrap}
.profile-identity{gap:10px;min-width:0}.profile-identity strong{font-size:14px;overflow-wrap:anywhere}
.profile-card button,.profile-photo-buttons button,.profile-actions button{min-height:40px}.profile-portrait{display:inline-grid;place-items:center;flex:none;background:#25303e;border:1px solid #465162;border-radius:50%;width:40px;height:40px;overflow:hidden;color:var(--gold)}
.profile-portrait img{display:block;width:100%;height:100%;object-fit:cover}.profile-portrait img[hidden],.profile-portrait [hidden],#profile-form [hidden],.profile-card[hidden]{display:none}.profile-person{position:relative;width:17px;height:20px}.profile-person:before,.profile-person:after{content:"";position:absolute;inset-inline-start:50%;transform:translateX(-50%);border:1.5px solid currentColor}
.profile-person:before{top:0;border-radius:50%;width:7px;height:7px}.profile-person:after{bottom:0;width:16px;height:8px;border-radius:9px 9px 3px 3px}html[dir=rtl] .profile-person:before,html[dir=rtl] .profile-person:after{transform:translateX(50%)}
.profile-feedback:empty{display:none}#profile-dialog{width:min(440px,calc(100% - 28px));max-height:90dvh;padding:23px}#profile-dialog form{margin:0}#profile-dialog #profile-close{line-height:1;width:38px;height:38px}.profile-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.profile-dialog-head h2{margin:0;font-size:1.45rem}
#profile-dialog p{font-size:14px;color:var(--muted);line-height:1.45;margin:12px 0 18px}#profile-dialog small{display:block;color:var(--muted);font-size:12px;margin-block-start:5px}.profile-photo-row{gap:14px;margin:18px 0 22px}.profile-large{width:60px;height:60px}.profile-large .profile-person{scale:1.4}.profile-photo-buttons{gap:8px;flex-wrap:wrap}#profile-dialog label{display:block;font-size:14px;font-weight:600;margin-block-end:6px}
.profile-user-input{border:1px solid #536073;background:var(--bg);border-radius:7px;gap:9px;padding:0 12px}.profile-user-input:focus-within{border-color:var(--gold)}.profile-user-input span{color:var(--muted)}#profile-dialog .profile-user-input input{flex:1;min-width:0;width:100%;height:45px;padding:0;color:var(--ink);background:transparent;border:0;outline:0}
#profile-dialog #profile-fee{padding-inline-start:10px;border-inline-start:2px solid var(--gold)}#profile-dialog #profile-status:empty{display:none}#profile-status[data-error=true]{color:#f4b6a5}.profile-actions{gap:14px;flex-wrap:wrap;justify-content:space-between;margin-top:22px}.profile-actions #profile-save{margin-inline-start:auto}
@media(max-width:420px){#profile-dialog{padding:17px}.profile-card{padding:10px;gap:7px}.profile-photo-row{gap:10px}.profile-large{width:50px;height:50px}}
