.app-profile-edit{--es:#fff;--esoft:#faf9fd;--et:#1d1b24;--em:#777383;--el:#e9e5f0;--eh:#f5f2fb;--ep:#7548ef;--eps:rgba(117,72,239,.11);width:calc(100% - 30px);max-width:1200px;margin:34px auto 80px;color:var(--et);direction:rtl;font-family:Fonts,Tahoma,sans-serif;font-size:14px}
html[data-theme="dark"] .app-profile-edit{--es:#15121f;--esoft:#1a1627;--et:#f5f2fc;--em:#a39caf;--el:#342c47;--eh:#211b31;--ep:#9d7bff;--eps:rgba(157,123,255,.13)}
.app-profile-edit,.app-profile-edit *,.app-profile-edit *:before,.app-profile-edit *:after{box-sizing:border-box}.app-profile-edit input,.app-profile-edit textarea,.app-profile-edit select,.app-profile-edit button{font-family:Fonts,Tahoma,sans-serif}.app-profile-edit--icon{width:19px;height:19px;fill:currentColor;flex:0 0 auto}
.app-profile-edit--heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.app-profile-edit--heading h1{margin:10px 0 5px;font-size:31px}.app-profile-edit--heading p{margin:0;color:var(--em);font-size:14px}.app-profile-edit--heading>div>a,.app-profile-edit--preview{display:inline-flex;align-items:center;gap:7px;color:var(--ep);font-size:13px;text-decoration:none}.app-profile-edit--preview{min-height:43px;padding:9px 14px;border:1px solid var(--el);border-radius:11px;color:var(--et);background:var(--es)}
.app-profile-edit--nav{position:sticky;top:10px;z-index:5;display:flex;gap:8px;margin-bottom:18px;padding:8px;overflow-x:auto;border:1px solid var(--el);border-radius:15px;background:color-mix(in srgb,var(--es) 92%,transparent);box-shadow:0 8px 25px rgba(20,12,35,.08);backdrop-filter:blur(12px)}.app-profile-edit--nav a{display:inline-flex;min-width:max-content;padding:9px 13px;align-items:center;gap:7px;border-radius:10px;color:var(--em);text-decoration:none}.app-profile-edit--nav a:hover{color:var(--ep);background:var(--eps)}
.app-profile-edit--form{display:grid;gap:18px}.app-profile-edit--section{scroll-margin-top:90px;padding:25px;border:1px solid var(--el);border-radius:18px;background:var(--es);box-shadow:0 8px 25px rgba(20,12,35,.05)}.app-profile-edit--section>header{display:flex;align-items:center;gap:13px;margin-bottom:22px}.app-profile-edit--section>header>span{display:grid;width:43px;height:43px;place-items:center;border-radius:12px;color:var(--ep);background:var(--eps)}.app-profile-edit--section>header h2{margin:0 0 3px;font-size:21px}.app-profile-edit--section>header p{margin:0;color:var(--em);font-size:13px}.app-profile-edit--section>header>b{margin-right:auto;padding:6px 10px;border-radius:99px;color:var(--ep);background:var(--eps);font-size:12px}
.app-profile-edit--grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.app-profile-edit--grid label,.app-profile-edit--wide{display:flex;position:relative;flex-direction:column;gap:8px;margin-bottom:17px;font-size:13px;font-weight:700}.app-profile-edit input,.app-profile-edit textarea,.app-profile-edit select{width:100%;min-height:52px;padding:11px 14px;border:1px solid var(--el);border-radius:11px;outline:0;color:var(--et);background:var(--esoft);font-size:14px;transition:.2s}.app-profile-edit textarea{min-height:105px;resize:vertical;line-height:1.8}.app-profile-edit input:focus,.app-profile-edit textarea:focus,.app-profile-edit select:focus{border-color:var(--ep);box-shadow:0 0 0 3px var(--eps)}.app-profile-edit input[readonly]{color:var(--em);cursor:not-allowed}.app-profile-edit label>small{min-height:17px;color:var(--em);font-size:11px;font-weight:400}.app-profile-edit--wide>small{position:absolute;left:12px;bottom:9px}.app-profile-edit--handle{display:flex;overflow:hidden;border:1px solid var(--el);border-radius:11px;background:var(--esoft);direction:ltr}.app-profile-edit--handle:focus-within{border-color:var(--ep);box-shadow:0 0 0 3px var(--eps)}.app-profile-edit--handle bdi{display:grid;width:46px;place-items:center;border-right:1px solid var(--el);color:var(--ep);font-weight:700}.app-profile-edit--handle input{border:0;border-radius:0;box-shadow:none!important;background:transparent}.app-profile-edit--handle.is-invalid{border-color:#e45a69}.app-profile-edit--handle.is-valid{border-color:#33a873}
.app-profile-edit--avatar-area{display:grid;grid-template-columns:140px 1fr;gap:24px;align-items:center}.app-profile-edit--avatar-current{position:relative}.app-profile-edit--avatar-current img{display:block;width:140px;height:140px;padding:4px;border:1px solid var(--el);border-radius:50%;object-fit:cover;background:var(--esoft)}.app-profile-edit--avatar-current i{position:absolute;right:50%;bottom:-5px;min-width:max-content;padding:4px 9px;border-radius:99px;color:#fff;background:var(--ep);font-size:9px;font-style:normal;transform:translateX(50%)}.app-profile-edit--avatar-area h3{margin:0 0 6px}.app-profile-edit--avatar-area p{margin:0 0 14px;color:var(--em);font-size:12px}.app-profile-edit--upload{display:inline-flex;padding:10px 14px;align-items:center;gap:7px;border-radius:10px;color:#fff;background:linear-gradient(110deg,#5424e6,#8b58fa);cursor:pointer}.app-profile-edit--upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.app-profile-edit--avatar-area small{display:block;margin-top:9px;color:var(--em)}.app-profile-edit--avatar-gallery{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px;padding-top:20px;border-top:1px solid var(--el)}.app-profile-edit--avatar-gallery button{position:relative;width:78px;height:78px;padding:3px;overflow:hidden;border:1px solid var(--el);border-radius:50%;background:var(--esoft)}.app-profile-edit--avatar-gallery button.is-current{border:2px solid var(--ep)}.app-profile-edit--avatar-gallery img{width:100%;height:100%;border-radius:50%;object-fit:cover}.app-profile-edit--avatar-gallery span{position:absolute;right:8px;bottom:1px;padding:2px 7px;border-radius:99px;color:#fff;background:var(--ep);font-size:8px}
.app-profile-edit--genres{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.app-profile-edit--genres label{position:relative}.app-profile-edit--genres input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.app-profile-edit--genres span{display:flex;min-height:46px;padding:8px;align-items:center;justify-content:center;border:1px solid var(--el);border-radius:10px;color:var(--em);background:var(--esoft);font-family:Fonts,Tahoma,sans-serif;font-size:13px;font-style:normal;font-weight:400;line-height:1.5;text-align:center;cursor:pointer;transition:border-color .18s,color .18s,background-color .18s}.app-profile-edit--genres input:focus-visible+span{box-shadow:0 0 0 3px var(--eps)}.app-profile-edit--genres input:checked+span{border-color:var(--ep);color:var(--ep);background:var(--eps);font-family:Fonts,Tahoma,sans-serif;font-size:13px;font-style:normal;font-weight:400}.app-profile-edit--error{min-height:20px;margin:12px 0 0;color:#e45a69;font-size:12px}
.app-profile-edit--privacy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:14px}.app-profile-edit--privacy>label{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:14px;align-items:center;padding:13px;border:1px solid var(--el);border-radius:12px;background:var(--esoft)}.app-profile-edit--privacy>label>span{display:flex;min-width:0;flex-direction:column;gap:3px}.app-profile-edit--privacy strong{font-size:14px}.app-profile-edit--privacy small{overflow:hidden;color:var(--em);font-size:11px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.app-profile-edit--privacy select{min-height:43px;background:var(--es)}
.app-profile-edit--actions{position:sticky;bottom:10px;z-index:4;display:flex;padding:13px 16px;align-items:center;justify-content:flex-end;gap:10px;border:1px solid var(--el);border-radius:15px;background:color-mix(in srgb,var(--es) 94%,transparent);box-shadow:0 8px 30px rgba(20,12,35,.12);backdrop-filter:blur(12px)}.app-profile-edit--actions p{margin:0 auto 0 0;color:var(--em);font-size:11px}.app-profile-edit--actions a,.app-profile-edit--actions button{display:inline-flex;min-height:44px;padding:9px 20px;align-items:center;justify-content:center;border:1px solid var(--el);border-radius:10px;color:var(--et);background:var(--es);font-weight:700;text-decoration:none}.app-profile-edit--actions button{border-color:transparent;color:#fff;background:linear-gradient(110deg,#5424e6,#8b58fa);cursor:pointer}.app-profile-edit--actions p.is-error{color:#e45a69}.app-profile-edit--actions p.is-success{color:#33a873}
.app-profile-edit--password{margin-top:18px;scroll-margin-top:90px}.app-profile-edit--password-form{display:grid;gap:4px}.app-profile-edit--password-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:2px}.app-profile-edit--password-actions p{margin:0 auto 0 0;color:var(--em);font-size:12px}.app-profile-edit--password-actions button{min-height:44px;padding:9px 18px;border:0;border-radius:10px;color:#fff;background:linear-gradient(110deg,#5424e6,#8b58fa);font:700 14px Fonts,Tahoma,sans-serif;cursor:pointer}.app-profile-edit--password-actions button:disabled{opacity:.65;cursor:wait}.app-profile-edit--password-actions p.is-error{color:#e45a69}.app-profile-edit--password-actions p.is-success{color:#33a873}
@media(max-width:850px){.app-profile-edit--genres{grid-template-columns:repeat(3,minmax(0,1fr))}.app-profile-edit--privacy{grid-template-columns:1fr}}
@media(max-width:620px){.app-profile-edit{padding:0 12px}.app-profile-edit--heading{align-items:flex-start;flex-direction:column}.app-profile-edit--heading h1{font-size:25px}.app-profile-edit--preview{width:100%;justify-content:center}.app-profile-edit--section{padding:18px 14px}.app-profile-edit--grid{grid-template-columns:1fr;gap:0}.app-profile-edit--avatar-area{grid-template-columns:1fr;text-align:center}.app-profile-edit--avatar-current{width:140px;margin:auto}.app-profile-edit--upload{justify-content:center}.app-profile-edit--genres{grid-template-columns:repeat(2,minmax(0,1fr))}.app-profile-edit--privacy>label{grid-template-columns:1fr}.app-profile-edit--actions{flex-wrap:wrap}.app-profile-edit--actions p{width:100%;margin:0;text-align:center}.app-profile-edit--actions a,.app-profile-edit--actions button{flex:1}.app-profile-edit--password-actions{flex-wrap:wrap}.app-profile-edit--password-actions p{width:100%;text-align:center}.app-profile-edit--password-actions button{width:100%}}
.app-profile-edit select{padding-left:46px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23a79fb8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 18px center;background-size:12px 8px;appearance:none;-webkit-appearance:none;-moz-appearance:none}.app-profile-edit--privacy select{background-color:var(--es)}
@media(max-width:850px){.app-profile-edit--heading{align-items:flex-start}.app-profile-edit--nav{top:6px}}
@media(max-width:620px){.app-profile-edit{width:calc(100% - 24px);margin-top:20px;padding:0}.app-profile-edit--heading p{line-height:1.9}.app-profile-edit--nav{gap:4px;padding:6px}.app-profile-edit--nav a{padding:8px 10px}.app-profile-edit--section{border-radius:15px}.app-profile-edit--section>header{align-items:flex-start}.app-profile-edit--section>header>b{white-space:nowrap}.app-profile-edit--privacy select{width:100%}.app-profile-edit--actions{bottom:6px;padding:10px}}
@media(max-width:390px){.app-profile-edit--section>header{flex-wrap:wrap}.app-profile-edit--section>header>b{margin-right:56px}.app-profile-edit--genres{grid-template-columns:1fr}.app-profile-edit--privacy>label{padding:11px}.app-profile-edit--actions a,.app-profile-edit--actions button{width:100%;flex-basis:100%}}
@media(max-width:620px){.app-profile-edit--avatar-area{text-align:right}.app-profile-edit--avatar-current{margin:0}}
.app-profile-edit--avatar-area{gap:24px;margin-top:18px}.app-profile-edit--avatar-area+.app-profile-edit--avatar-area{padding-top:24px;border-top:1px solid var(--nex1-border,#e4deef)}.app-profile-edit--remove{margin:10px 8px 0 0;padding:8px 11px;border:1px solid #d8a1aa;border-radius:9px;color:#b33e50;background:transparent;font:inherit;cursor:pointer}.app-profile-edit--crop{margin-top:12px;padding:10px 12px;border:1px solid var(--nex1-border,#e4deef);border-radius:10px;background:var(--nex1-surface-soft,rgba(128,95,255,.05))}.app-profile-edit--crop label{display:grid;gap:7px;color:var(--nex1-muted,#746d81);font-size:13px}.app-profile-edit--crop input{width:100%;accent-color:#7545ef}
.app-profile-edit--avatar-area>div:last-child{min-width:0}.app-profile-edit--avatar-area .app-profile-edit--upload,.app-profile-edit--avatar-area .app-profile-edit--remove{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;vertical-align:middle}.app-profile-edit--avatar-area .app-profile-edit--upload+.app-profile-edit--remove{margin-top:0}
.app-profile-cropper{width:min(760px,calc(100% - 30px));max-width:none;padding:0;border:0;border-radius:20px;color:#f7f3ff;background:#191425;box-shadow:0 30px 90px rgba(0,0,0,.48);font-family:Fonts,Tahoma,sans-serif;direction:rtl}.app-profile-cropper::backdrop{background:rgba(10,7,16,.72);backdrop-filter:blur(6px)}.app-profile-cropper--panel{padding:24px}.app-profile-cropper header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.app-profile-cropper h2{margin:0 0 5px;font-size:21px}.app-profile-cropper header p{margin:0;color:#b9afca;font-size:13px}.app-profile-cropper header button{display:grid;width:34px;height:34px;place-items:center;border:1px solid #403554;border-radius:10px;color:#f7f3ff;background:#251d35;font:24px/1 Arial;cursor:pointer}.app-profile-cropper--viewport{position:relative;margin:auto;overflow:hidden;border:1px solid #8871bb;background:repeating-conic-gradient(#21192f 0 25%,#18121f 0 50%) 50%/22px 22px;touch-action:none;cursor:grab}.app-profile-cropper--viewport:active{cursor:grabbing}.app-profile-cropper--viewport.is-avatar{width:min(360px,100%);aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.28)}.app-profile-cropper--viewport.is-cover{width:100%;aspect-ratio:10/3;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.app-profile-cropper--viewport img{position:absolute;top:0;right:auto;left:0;max-width:none;user-select:none;pointer-events:none;transform-origin:0 0}.app-profile-cropper--tools{display:flex;align-items:center;justify-content:center;gap:13px;margin:20px 0}.app-profile-cropper--tools button{display:grid;width:39px;height:39px;place-items:center;border:1px solid #4c3c68;border-radius:11px;color:#fff;background:#292039;font:25px/1 Arial;cursor:pointer}.app-profile-cropper--tools span{min-width:240px;color:#b9afca;font-size:12px;text-align:center}.app-profile-cropper footer{display:flex;justify-content:flex-end;gap:10px}.app-profile-cropper footer button{min-height:44px;padding:10px 17px;border:1px solid #4c3c68;border-radius:11px;color:#f7f3ff;background:#251d35;font:700 14px Fonts,Tahoma,sans-serif;cursor:pointer}.app-profile-cropper footer .app-profile-cropper--apply{border-color:transparent;background:linear-gradient(110deg,#5b28e8,#955cfa)}
@media(max-width:620px){.app-profile-cropper{width:calc(100% - 20px);border-radius:16px}.app-profile-cropper--panel{padding:17px}.app-profile-cropper--viewport.is-avatar{width:min(290px,100%)}.app-profile-cropper--tools span{min-width:0;flex:1}.app-profile-cropper footer button{flex:1}}
.app-profile-cropper{position:fixed;inset:0;height:max-content;max-height:calc(100dvh - 30px);margin:auto;overflow:auto}
.app-profile-edit select:invalid{border-color:#e45a69;box-shadow:0 0 0 3px rgba(228,90,105,.12)}.app-profile-edit label>small.is-error{color:#e45a69;font-weight:700}
