.lnx-avatar,.top-profile .lnx-avatar,.topbar .lnx-avatar{display:inline-block;vertical-align:middle;width:auto;max-width:9rem;height:32px;line-height:30px;padding:0 .65rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:center;background:#28332f;color:#deeddf;border:1px solid #48584f;border-radius:99px;font:600 .84rem/30px system-ui}
.lnx-avatar.has-photo,.top-profile .lnx-avatar.has-photo,.topbar .lnx-avatar.has-photo{padding:0;width:32px;height:32px;line-height:0}
.lnx-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.lnx-photo-profile{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:1rem}
.lnx-photo-profile[hidden],.lnx-photo-dialog [hidden]{display:none!important}
.lnx-photo-profile .lnx-avatar{height:auto;min-height:48px;line-height:46px;max-width:100%;font-size:1rem}
.lnx-photo-profile .lnx-avatar.has-photo{width:72px;height:72px}
.lnx-photo-controls,.lnx-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.lnx-photo-button,.lnx-photo-file{font:600 .84rem/1.25 system-ui;min-height:40px;border:1px solid #53645a;border-radius:8px;padding:8px 12px;background:#222b25;color:#e5eee3;cursor:pointer;text-decoration:none}
.lnx-photo-button:disabled{opacity:.55}
.lnx-photo-dialog{width:min(26rem,calc(100vw - 2rem));max-height:88vh;max-height:88dvh;overflow:auto;padding:22px;border-radius:14px;border:1px solid #536056;background:#181d19;color:#f1f3ef;font:1rem/1.4 system-ui;box-sizing:border-box;margin:auto}
.lnx-photo-dialog::backdrop{background:#080b09bb}
.lnx-photo-dialog h2{margin:0 0 15px;font:600 1.3rem/1.25 system-ui}
.lnx-photo-dialog p{color:#c3cdc3;font-size:.87rem}
.lnx-photo-file{display:inline-flex;position:relative;align-items:center}
.lnx-photo-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.lnx-photo-file:focus-within{outline:2px solid #b4d2ab}
.lnx-photo-crop{display:block;width:min(100%,256px);height:auto;aspect-ratio:1;margin:18px auto 8px;touch-action:none;cursor:grab;border-radius:50%;background:#24282b;outline:1px solid #738272}
.lnx-photo-crop:focus-visible{outline:3px solid #c1e3bc}
.lnx-photo-crop:active{cursor:grabbing}
.lnx-photo-zoom{display:grid;gap:6px}.lnx-photo-zoom input{width:100%;accent-color:#b5d6ac}
.lnx-photo-actions{justify-content:flex-end;margin-top:16px}
.lnx-photo-actions button:last-child{background:#c8e1bf;color:#182317}
.lnx-photo-status{flex-basis:100%;margin:0}.lnx-photo-status:empty{display:none}
@media(max-width:760px){.top-profile .lnx-avatar,.topbar .lnx-avatar,.site-account .lnx-avatar{max-width:5rem}}
