/* NovaCMS 0.44.6 — compact profile editor matching the approved reference */
.profile-editor,.profile-editor *{box-sizing:border-box}
.profile-editor{width:min(980px,calc(100% - 28px))!important;max-width:980px;margin:0 auto;padding:24px 0 108px;color:var(--text)}
.profile-editor-head{display:flex;align-items:flex-start;gap:13px;margin:0 0 16px}
.profile-editor-head>div{min-width:0}
.profile-editor-head h1{margin:1px 0 4px;font-size:28px;line-height:1.12;letter-spacing:-.035em}
.profile-editor-head p,.profile-card-title p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.profile-editor-back{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text)!important;font-size:23px;box-shadow:0 7px 18px #3020600b}
.profile-editor-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 14px}
.profile-editor-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:62px;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 7px 20px #30206009}
.profile-editor-tabs i{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:10px;background:var(--soft);color:var(--accent);font-style:normal;font-size:17px}
.profile-editor-tabs button.active{border-color:transparent;background:linear-gradient(135deg,#914649,#914649);color:#fff;box-shadow:0 11px 24px #7b3ff029}
.profile-editor-tabs button.active i{background:#ffffff26;color:#fff}
.profile-editor-panels,.profile-editor-panel{display:grid;gap:13px}
.profile-editor.has-tabs .profile-editor-panel{display:none}.profile-editor.has-tabs .profile-editor-panel.active{display:grid}
.profile-edit-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:0 9px 30px #2820500a}
.profile-card-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:13px}
.profile-card-title>i{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:color-mix(in srgb,var(--accent) 11%,var(--soft));color:var(--accent);font-style:normal;font-size:18px}
.profile-card-title>div{min-width:0;flex:1}
.profile-card-title h2{margin:1px 0 2px;font-size:18px;line-height:1.22}
.profile-card-title p{font-size:10.5px}
.profile-media-reset{align-self:center;border:0;border-radius:10px;padding:8px 10px;background:#fff0f3;color:#ef4665;font-size:10px;font-weight:800;cursor:pointer}
.profile-cover-preview,.profile-cover-wide,.profile-cover-choice{background:radial-gradient(circle at 75% 20%,#b586ff66,transparent 30%),linear-gradient(135deg,#75383b,#914649);background-size:cover;background-position:center}
.profile-cover-preview{position:relative;height:210px;margin-bottom:51px;border-radius:15px}
.profile-cover-change{position:absolute;z-index:2;right:11px;top:11px;display:flex;align-items:center;gap:5px;padding:9px 11px;border-radius:11px;background:#fff;color:#75383b;font-size:10px;font-weight:800;cursor:pointer;box-shadow:0 7px 20px #100a2b23}
.profile-editor .profile-avatar-preview{position:absolute;left:16px;bottom:-44px;display:grid!important;place-items:center!important;width:94px!important;height:94px!important;min-width:94px!important;min-height:94px!important;max-width:94px!important;max-height:94px!important;aspect-ratio:1/1!important;border-radius:50%!important;background:linear-gradient(135deg,#914649,#914649);color:#fff;font-size:35px;font-weight:900}
.profile-editor .profile-avatar-preview>img,.profile-editor .avatar-frame-picker .nova-avatar-frame>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;clip-path:circle(50%)}
.profile-avatar-preview>label{position:absolute;z-index:3;right:-3px;bottom:-3px;display:grid;place-items:center;width:31px;height:31px;border:3px solid var(--surface);border-radius:10px;background:var(--soft);color:var(--accent);cursor:pointer;font-size:14px}
.profile-media-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.profile-media-actions>label,.profile-upload-button,.profile-appearance-actions>a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 10px;border:0;border-radius:11px;background:color-mix(in srgb,var(--accent) 10%,var(--soft));color:var(--accent)!important;font-size:10.5px;font-weight:800;cursor:pointer;text-align:center}
.profile-media-actions select{position:absolute;width:1px;height:1px;opacity:0}
.profile-media-secondary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.profile-media-secondary>label:first-child{display:flex;align-items:center;gap:7px;flex:1;min-width:190px;font-size:10px;color:var(--muted)}
.profile-media-secondary select{min-width:0;height:38px}
.profile-check{display:flex!important;align-items:center!important;gap:5px!important;color:var(--muted);font-size:10px}.profile-check input{width:auto}
.profile-help{display:block;margin-top:9px;color:var(--muted);font-size:9.5px;line-height:1.45}
.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.profile-fields label{display:grid;gap:5px;font-size:10.5px;font-weight:800}
.profile-fields .wide{grid-column:1/-1}
.profile-fields em{color:var(--muted);font-size:8px;font-style:normal;font-weight:500}
.profile-fields label>small{text-align:right;color:var(--muted);font-size:9px}
.profile-fields input,.profile-fields select,.profile-fields textarea,.profile-contact-list input,.profile-contact-list select,.profile-delete-card textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--solid);color:var(--text);font:inherit;padding:9px 11px}
.profile-fields input,.profile-fields select{height:40px}
.profile-fields textarea{resize:vertical;min-height:84px}.profile-fields input[readonly]{background:var(--soft);color:var(--muted)}
.profile-subtitle{margin:2px 0 9px;font-size:12px}
.avatar-frame-picker{display:flex;gap:12px;overflow-x:auto;padding:6px 5px 11px;scrollbar-width:thin}
.avatar-frame-picker label{display:grid;justify-items:center;gap:6px;min-width:64px;cursor:pointer}
.avatar-frame-picker input{position:absolute;opacity:0}
.profile-editor .avatar-frame-picker .nova-avatar-frame{position:relative;display:grid!important;place-items:center!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;aspect-ratio:1/1!important;border-radius:50%!important;background:linear-gradient(135deg,#914649,#914649);color:#fff;font-size:19px}
.avatar-frame-picker small{font-size:8px;color:var(--muted);white-space:nowrap}
.avatar-frame-picker input:checked+.nova-avatar-frame{outline:2px solid var(--accent);outline-offset:3px}.avatar-frame-picker input:checked~small{color:var(--accent);font-weight:800}
.nova-avatar-frame{position:relative;border-radius:50%;isolation:isolate}
.nova-avatar-frame.frame-violet{box-shadow:0 0 0 4px #914649,0 0 17px #8a4eff88}.nova-avatar-frame.frame-blue{box-shadow:0 0 0 4px #18a9ff,0 0 17px #18a9ff88}.nova-avatar-frame.frame-gold{box-shadow:0 0 0 4px #f2b63d,0 0 0 6px #ffe29a,0 0 19px #f0a82888}.nova-avatar-frame.frame-neon{box-shadow:0 0 0 3px #131225,0 0 0 6px #00e5ff,0 0 20px #914649}.nova-avatar-frame.frame-flower{box-shadow:0 0 0 4px #ff7bb6,0 0 0 7px #ffd4e7,0 0 18px #ff67aa77}
.studio-avatar.nova-avatar-frame{overflow:visible}.studio-avatar.nova-avatar-frame img,.studio-avatar.nova-avatar-frame>span{border-radius:50%;overflow:hidden}
.studio-profile-links{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.studio-profile-links a{padding:5px 8px;border-radius:9px;background:var(--soft);color:var(--accent)!important;font-size:10px;font-weight:800}
.profile-cover-title{margin-top:15px}
.profile-cover-choices{display:flex;gap:8px;overflow-x:auto;padding:4px 3px 7px;scrollbar-width:thin}
.profile-cover-choices>label{position:relative;display:block;flex:0 0 92px;height:62px;cursor:pointer}
.profile-cover-choices input{position:absolute;opacity:0}
.profile-cover-choice{display:block;width:100%;height:100%;border:2px solid transparent;border-radius:10px}
.profile-cover-choices input:checked+.profile-cover-choice{border-color:var(--accent)}
.profile-cover-choices label>b{position:absolute;right:4px;top:4px;display:none;width:17px;height:17px;place-items:center;border-radius:50%;background:var(--accent);color:#fff;font-size:10px}
.profile-cover-choices input:checked~b{display:grid}
.profile-cover-upload{display:grid!important;place-items:center;border:1px dashed color-mix(in srgb,var(--accent) 38%,var(--line));border-radius:10px;color:var(--accent);font-size:24px}
.profile-contact-list{display:grid;gap:11px}
.profile-contact-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:6px 9px;align-items:center;font-size:10px;font-weight:800}
.contact-label{grid-column:1/-1;display:flex;align-items:center;gap:7px;color:var(--text)}
.contact-label i,.contact-input>i{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:var(--soft);color:var(--accent);font-style:normal;font-size:12px}
.contact-input{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--solid);overflow:hidden}
.contact-input>i{margin-left:5px}
.profile-contact-list .contact-input>input{height:38px;border:0;background:transparent;padding-left:6px;outline:0}
.profile-contact-list select{height:40px;padding:7px 9px}
.profile-privacy-list{display:grid}
.profile-privacy-list>label{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.profile-privacy-list>label:last-child{border-bottom:0}
.profile-privacy-list span{display:flex;align-items:center;gap:8px}.profile-privacy-list span b{font-size:10.5px}
.profile-privacy-list span i{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:var(--soft);color:var(--accent);font-style:normal}
.profile-privacy-list select{width:100%;height:39px;border:1px solid var(--line);border-radius:10px;background:var(--solid);color:var(--text);padding:7px 9px;font-size:10px}
.profile-switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-switch-row span{display:grid;gap:2px}.profile-switch-row b{font-size:11px}.profile-switch-row small{color:var(--muted);font-size:9px}.profile-switch-row input{position:absolute;opacity:0}.profile-switch-row>i{position:relative;width:43px;height:24px;flex:0 0 43px;border-radius:99px;background:var(--line);cursor:pointer}.profile-switch-row>i:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #0003;transition:.2s}.profile-switch-row input:checked+i{background:var(--accent)}.profile-switch-row input:checked+i:after{transform:translateX(19px)}
.profile-savebar{position:static;display:grid;grid-template-columns:150px minmax(220px,1fr);gap:8px;margin-top:13px;padding:10px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 12px 35px #27204b12}
.profile-savebar a,.profile-savebar button{display:flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:11px;font-size:11px;font-weight:800}.profile-savebar a{background:var(--soft);color:var(--muted)!important}.profile-savebar button{background:linear-gradient(135deg,#914649,#914649);color:#fff;cursor:pointer}
.profile-delete-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:17px;border:1px solid color-mix(in srgb,#ef4665 25%,var(--line));border-radius:18px;background:color-mix(in srgb,#ef4665 5%,var(--surface))}.profile-delete-card h2{margin:4px 0;font-size:19px}.profile-delete-card p{margin:0;color:var(--muted);max-width:600px;font-size:10.5px;line-height:1.5}.profile-delete-card summary,.profile-delete-card button{border:0;border-radius:10px;padding:10px 13px;background:#ef4665;color:#fff;font-size:10px;font-weight:800;cursor:pointer;list-style:none}.profile-delete-card details[open]{width:min(100%,380px)}.profile-delete-card details form{display:grid;gap:8px;margin-top:8px}.profile-delete-card label{display:grid;gap:5px;font-size:10px}
@media(min-width:760px){.profile-editor-panel[data-profile-panel="main"]{grid-template-columns:.95fr 1.05fr;align-items:start}.profile-editor-panel[data-profile-panel="main"] .profile-media-card{position:sticky;top:16px}}
@media(max-width:720px){
.profile-editor{width:min(100%,430px)!important;max-width:430px!important;padding:15px 12px 100px}
.profile-editor-head{gap:10px;margin-bottom:13px}.profile-editor-back{width:42px;height:42px;flex-basis:42px;border-radius:13px}
.profile-editor-head h1{font-size:21px;white-space:nowrap}.profile-editor-head p{max-width:310px;font-size:10.5px}
.profile-editor-tabs{gap:6px;margin-bottom:12px}.profile-editor-tabs button{flex-direction:column;gap:4px;min-height:61px;padding:6px 3px;border-radius:14px;font-size:9.5px;line-height:1.15}.profile-editor-tabs i{width:27px;height:27px;flex-basis:27px;border-radius:9px;font-size:14px}
.profile-edit-card{padding:13px;border-radius:17px}.profile-card-title{gap:9px;margin-bottom:11px}.profile-card-title>i{width:34px;height:34px;flex-basis:34px}.profile-card-title h2{font-size:17px}.profile-card-title p{font-size:9.5px}.profile-media-reset{padding:7px 8px;font-size:9px}
.profile-cover-preview{height:158px;margin-bottom:45px;border-radius:13px}.profile-cover-change{right:9px;top:9px;padding:8px 9px;font-size:9.5px}
.profile-editor .profile-avatar-preview{left:13px;bottom:-39px;width:84px!important;height:84px!important;min-width:84px!important;min-height:84px!important;max-width:84px!important;max-height:84px!important}
.profile-avatar-preview>label{width:28px;height:28px}.profile-media-actions{gap:7px}.profile-media-actions>label{min-height:40px;font-size:9.5px}.profile-media-secondary{display:none}.profile-help{font-size:9px}
.profile-fields{grid-template-columns:1fr 1fr;gap:9px}.profile-fields label{font-size:10px}.profile-fields .wide{grid-column:1/-1}.profile-fields input,.profile-fields select{height:38px}.profile-fields textarea{min-height:72px}
.avatar-frame-picker{gap:11px}.avatar-frame-picker label{min-width:61px}.profile-editor .avatar-frame-picker .nova-avatar-frame{width:51px!important;height:51px!important;min-width:51px!important;min-height:51px!important;max-width:51px!important;max-height:51px!important}
.profile-cover-choices>label{flex-basis:83px;height:57px}
.profile-contact-row{grid-template-columns:minmax(0,1fr) 104px;gap:6px 7px}.profile-contact-list select{font-size:9px;padding:6px}.contact-label{font-size:10px}
.profile-privacy-list>label{grid-template-columns:minmax(0,1fr) 112px;gap:7px;padding:9px 0}.profile-privacy-list span b{font-size:9.5px}.profile-privacy-list span i{width:28px;height:28px;flex-basis:28px}.profile-privacy-list select{font-size:9px;padding:5px}
.profile-savebar{grid-template-columns:1fr 1.65fr;margin-top:11px;padding:8px;border-radius:16px}.profile-savebar a,.profile-savebar button{min-height:42px;font-size:10px}
.profile-delete-card{align-items:stretch;flex-direction:column;margin-top:16px;padding:14px}.profile-delete-card details,.profile-delete-card details[open]{width:100%}.profile-delete-card summary,.profile-delete-card button{width:100%;text-align:center}
}
@media(max-width:360px){.profile-editor-head h1{font-size:19px}.profile-editor-tabs button{font-size:8.5px}.profile-fields{grid-template-columns:1fr}.profile-fields .wide{grid-column:auto}.profile-card-title h2{font-size:16px}.profile-contact-row{grid-template-columns:minmax(0,1fr) 96px}}

/* NovaCMS 0.44.7 — stable frames, compact contacts and full-width editor */
body.nova-app:has([data-profile-editor]) .app-header{width:100%!important;max-width:none!important}
body.nova-app:has([data-profile-editor]) .app-content{width:100%!important;max-width:none!important;overflow-x:hidden!important}
.profile-frame-choice{position:relative!important;padding:5px 4px 4px!important;border:1px solid transparent!important;border-radius:13px!important;transition:.15s ease}
.profile-frame-choice:hover,.profile-frame-choice.selected{background:color-mix(in srgb,var(--accent) 8%,var(--surface))!important;border-color:color-mix(in srgb,var(--accent) 24%,var(--line))!important}
.profile-frame-choice>input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;opacity:0!important;cursor:pointer!important;z-index:4!important}
.profile-frame-choice .frame-check{position:absolute;z-index:3;right:1px;top:1px;display:none;width:17px;height:17px;border:2px solid var(--surface);border-radius:50%;background:var(--accent);color:#fff;font-size:9px;line-height:13px;text-align:center}
.profile-frame-choice.selected .frame-check{display:block}.profile-frame-choice.selected small{color:var(--accent)!important;font-weight:900!important}
.profile-editor .avatar-frame-picker input:checked+.nova-avatar-frame{outline:0!important}
.studio-avatar.nova-avatar-frame.frame-violet{box-shadow:0 0 0 5px #914649,0 0 22px #8a4eff88!important}.studio-avatar.nova-avatar-frame.frame-blue{box-shadow:0 0 0 5px #18a9ff,0 0 22px #18a9ff88!important}.studio-avatar.nova-avatar-frame.frame-gold{box-shadow:0 0 0 5px #f2b63d,0 0 0 8px #ffe29a,0 0 23px #f0a82888!important}.studio-avatar.nova-avatar-frame.frame-neon{box-shadow:0 0 0 4px #161326,0 0 0 7px #00e5ff,0 0 24px #914649!important}.studio-avatar.nova-avatar-frame.frame-flower{box-shadow:0 0 0 5px #ff7bb6,0 0 0 8px #ffd4e7,0 0 22px #ff67aa77!important}
.profile-cover-choices>label.selected .profile-cover-choice{border-color:var(--accent)!important}.profile-cover-choices>label.selected>b{display:grid!important}
body.nova-social-shell .profile-editor .profile-contact-list{gap:8px!important}
body.nova-social-shell .profile-editor .profile-contact-row{display:grid!important;grid-template-columns:38px minmax(0,1fr) 108px!important;gap:9px!important;align-items:center!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;color:var(--text)!important}
.profile-contact-row .contact-brand{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:11px!important;background:var(--soft)!important;color:var(--accent)!important;font-style:normal!important;font-size:13px!important;font-weight:900!important}
.profile-contact-row .contact-brand-telegram{background:#e8f7ff!important;color:#209bd7!important}.profile-contact-row .contact-brand-vk{background:#f4e5df!important;color:#914649!important}.profile-contact-row .contact-brand-instagram{background:#fff0f7!important;color:#e33b89!important}.profile-contact-row .contact-brand-youtube{background:#fff0f1!important;color:#ed2637!important}
.profile-contact-row .contact-body{display:grid!important;gap:3px!important;min-width:0!important}.profile-contact-row .contact-body>b{color:var(--text)!important;font-size:10px!important;line-height:1.1!important}
body.nova-social-shell .profile-editor .profile-contact-row input{width:100%!important;height:34px!important;min-height:34px!important;padding:0 9px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--solid)!important;color:var(--text)!important;font-size:10px!important;box-shadow:none!important}
body.nova-social-shell .profile-editor .profile-contact-row select{width:108px!important;height:36px!important;min-height:36px!important;padding:0 24px 0 9px!important;border:1px solid var(--line)!important;border-radius:9px!important;background-color:var(--solid)!important;color:var(--text)!important;font-size:9px!important;box-shadow:none!important}
@media(pointer:coarse){.profile-editor{width:calc(100% - 24px)!important;max-width:none!important;margin-inline:auto!important}}
@media(max-width:480px){body.nova-social-shell .profile-editor .profile-contact-row{grid-template-columns:34px minmax(0,1fr) 94px!important;gap:7px!important;padding:7px!important}.profile-contact-row .contact-brand{width:34px!important;height:34px!important}.profile-contact-row .contact-body>b{font-size:9px!important}body.nova-social-shell .profile-editor .profile-contact-row select{width:94px!important;padding-left:7px!important;font-size:8px!important}.avatar-frame-picker{padding-inline:2px!important}.profile-frame-choice{min-width:58px!important}}

/* NovaCMS 0.44.8 — show the cover selected in profile settings */
body.nova-app .studio-profile .studio-cover.has-user-cover{
background-color:#0e1027!important;
background-image:linear-gradient(90deg,rgba(10,10,35,.48),rgba(10,10,35,.06) 68%),var(--studio-user-cover)!important;
background-repeat:no-repeat!important;
background-position:center!important;
background-size:cover!important;
}
body.nova-app .studio-profile .studio-cover.has-user-cover:after{display:none!important}
