.member-photo{object-fit:cover;border-radius:50%;border:2px solid var(--gen,#8ba8ff);box-shadow:0 0 20px #8f7be633;flex-shrink:0}.photo-small{width:42px;height:42px}.profile .photo-large{width:132px;height:132px;margin:0 auto 16px;display:grid;place-items:center;font-size:44px}.linkbtn:has(.member-photo){display:flex;align-items:center;gap:12px}.child .member-photo{float:left;margin:0 12px 8px 0}.galaxy-star .star-core.has-photo{width:max(var(--core,10px),26px);height:max(var(--core,10px),26px);border:1px solid var(--gen);border-radius:50%}.star-core.has-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.galaxy-star:has(.has-photo) .star-name{top:calc(50% + max(var(--core,10px),26px)/2 + 9px)}
.photo-dialog{width:min(460px,calc(100% - 24px));max-height:94dvh;overflow:auto;background:linear-gradient(145deg,#1a294b,#0d162b);color:#eef3ff;border:1px solid #6275ad;border-radius:24px;padding:22px;box-shadow:0 30px 120px #000a}.photo-dialog::backdrop{background:#020615d9;backdrop-filter:blur(6px)}.photo-dialog h2{margin:0 0 8px;font-size:23px}.photo-dialog .hint{margin:8px 0 16px}.photo-source{display:flex;align-items:center;gap:15px;width:100%;padding:17px;text-align:left;background:#233357;border:1px solid #56689f;border-radius:16px;color:inherit;margin:12px 0;min-height:76px}.photo-source strong{display:block;font-size:17px}.photo-source small{display:block;color:#a9bbdf;margin-top:4px}.photo-source span:first-child{font-size:27px}.photo-actions{display:flex;gap:10px;margin-top:18px;justify-content:flex-end}.photo-actions .btn{min-height:44px}.crop-stage{position:relative;width:100%;aspect-ratio:1;overflow:hidden;background:#030817;border-radius:16px;touch-action:none;cursor:grab}.crop-stage canvas{width:100%;height:100%;display:block}.crop-guide{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 100px #0308179c;outline:2px solid #bbbcff;outline-offset:-2px;pointer-events:none}.photo-zoom{display:block;width:100%;margin:14px 0;accent-color:#b5a6ff;min-height:32px}.photo-error{color:#ffc2c2;min-height:24px;font-size:13px}.photo-dialog button:focus-visible,.photo-dialog input:focus-visible{outline:2px solid #d8c4ff;outline-offset:3px}.photo-dialog button:disabled{opacity:.5}.photo-confirm-preview{display:block;width:90px;height:90px;border-radius:50%;object-fit:cover;margin:16px auto}.photo-dialog [hidden]{display:none!important}@media(max-width:450px){.photo-dialog{padding:18px}.profile .row .btn{flex:1 1 40%;min-height:44px}.profile .photo-large{width:120px;height:120px}}

.photo-info{font-size:13px;color:#c5e2ff;overflow-wrap:anywhere;line-height:1.5}.photo-dialog #photoQuality{color:#f3d497}
.photo-dialog .photo-actions{position:sticky;bottom:0;z-index:1;background:#111c34;border-top:1px solid #56689f;padding:10px 0 2px}
