/* Milo v0.4.14 — profiles */
.profileOpenLink{cursor:pointer}.profileOpenLink:hover{text-decoration:underline}.headerInfo #headerName{cursor:pointer}.profileModal{position:fixed;inset:0;z-index:90;background:rgba(28,27,25,.3);display:flex;align-items:center;justify-content:center;padding:20px}.profileModal.hidden{display:none}.profileCard{width:min(470px,100%);max-height:min(760px,88dvh);display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:26px;box-shadow:0 24px 70px rgba(0,0,0,.2);overflow:hidden}.profileTop{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 10px}.profileTop>strong{font-size:21px}.profileBody{overflow:auto;padding:8px 20px 22px}.profileLoading{padding:48px 12px;text-align:center;color:var(--muted);font-size:13px}.profileLoadError{color:#d85d58}.profileHero{display:flex;flex-direction:column;align-items:center;padding:6px 0 20px}.profileAvatar{width:96px;height:96px;flex:0 0 96px;border:0;border-radius:30px;background:#ece9e3;display:grid;place-items:center;overflow:hidden;font-size:28px;font-weight:700;color:var(--text)}.profileAvatar img{width:100%;height:100%;object-fit:cover}.profileAvatarEditable{cursor:pointer}.profilePhotoAction{margin-top:10px;border:0;background:transparent;color:#6d5dfb;font-weight:600;cursor:pointer}.profileField{display:block;margin-top:14px}.profileField>span,.profileAbout>span{display:block;margin-bottom:7px;font-size:12px;font-weight:600;color:var(--muted)}.profileField input,.profileField textarea,.profileUsernameWrap{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:14px;background:#faf9f6;color:var(--text);font:inherit;outline:0}.profileField input,.profileUsernameWrap{height:44px}.profileField input{padding:0 12px}.profileField textarea{padding:11px 12px;resize:vertical;min-height:112px;max-height:220px}.profileField input:focus,.profileField textarea:focus,.profileUsernameWrap:focus-within{border-color:#8d82fb;box-shadow:0 0 0 3px rgba(109,93,251,.1)}.profileUsernameWrap{display:flex;align-items:center;padding:0 12px;gap:5px}.profileUsernameWrap b{color:var(--muted);font-weight:600}.profileUsernameWrap input{height:auto;border:0;padding:0;background:transparent;box-shadow:none!important}.profileField small{display:block;text-align:right;margin-top:5px;color:var(--muted);font-size:10px}.profileError{min-height:20px;padding:8px 2px 0;color:#d85d58;font-size:12px}.profileSave{width:100%;margin-top:10px}.profileViewerHero h2{margin:13px 0 3px;font-size:23px;text-align:center}.profileUsernameView{font-size:13px;color:var(--muted)}.profileAbout{margin-top:4px;padding:15px 16px;border-radius:16px;background:#f5f3ef}.profileAbout p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:14px;color:var(--text)}
@media(max-width:900px) and (min-width:761px){.profileCard{width:min(440px,calc(100vw - 40px))}}
@media(max-width:760px){.profileModal{align-items:flex-end;padding:0}.profileCard{width:100%;max-height:90dvh;border-radius:26px 26px 0 0;border-left:0;border-right:0;border-bottom:0}.profileTop{padding:18px 16px 8px}.profileBody{padding:8px 16px calc(20px + env(safe-area-inset-bottom))}.profileAvatar{width:92px;height:92px;flex-basis:92px;border-radius:28px}.profileField input,.profileUsernameWrap{height:46px}.profileField textarea{min-height:120px}.profileSave{min-height:48px}}
@media(max-width:420px){.profileTop{padding-left:14px;padding-right:14px}.profileBody{padding-left:14px;padding-right:14px}.profileViewerHero h2{font-size:21px}}
