@font-face{font-family:Inter;src:url('../webfonts/inter-400.woff2') format('woff2');font-weight:400}@font-face{font-family:Inter;src:url('../webfonts/inter-600.woff2') format('woff2');font-weight:600}@font-face{font-family:Inter;src:url('../webfonts/inter-800.woff2') format('woff2');font-weight:800}
:root{--purple:#a62f46;--purple2:#c13f58;--pink:#d96a6f;--ink:#24243a;--muted:#7e8194;--line:#e9eaf2;--bg:#f7f8fc;--card:#fff;--green:#24b36b;--shadow:0 12px 35px rgba(39,37,75,.07);--radius:14px}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,Arial,sans-serif}body{min-width:320px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1260px,calc(100% - 32px));margin:auto}.site{min-height:100vh}.header{height:62px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header__inner{height:100%;display:flex;align-items:center;gap:24px}.brand{font-size:18px;font-weight:800;display:flex;align-items:center;gap:8px;white-space:nowrap}.brand__heart{color:var(--pink);font-size:32px;line-height:1;font-weight:400}.nav{display:flex;height:100%;align-items:center;gap:26px}.nav__link{height:100%;display:flex;align-items:center;position:relative;color:#56596d;font-weight:600}.nav__link.is-active{color:var(--purple)}.nav__link.is-active:after{content:'';height:2px;background:var(--purple);position:absolute;left:0;right:0;bottom:0}.nav__link b{font-size:10px;background:var(--pink);color:#fff;border-radius:99px;padding:1px 5px;margin-left:5px}.nav-more{height:100%;position:relative;display:flex;align-items:center}.nav-more__chevron{font-size:13px;margin-left:3px;transition:transform .18s ease}.nav-more:hover .nav-more__chevron,.nav-more.is-open .nav-more__chevron{transform:rotate(180deg)}.nav-more__menu{position:absolute;top:calc(100% + 8px);right:0;min-width:170px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px rgba(39,37,75,.12);opacity:0;visibility:hidden;transform:translateY(-5px);transition:.18s ease;z-index:40}.nav-more__menu:before{content:'';position:absolute;top:-9px;left:0;right:0;height:10px}.nav-more:hover .nav-more__menu,.nav-more.is-open .nav-more__menu{opacity:1;visibility:visible;transform:translateY(0)}.nav-more__menu a{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:8px;font-size:12px;font-weight:700;color:#55586b;white-space:nowrap}.nav-more__menu a:hover{background:#f8eeee;color:var(--purple)}.nav-more__menu a span{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f8eeee;color:var(--purple);font-size:12px}.header__actions{margin-left:auto;display:flex;align-items:center;gap:16px}.search-link{font-size:24px}.login-link{font-weight:600}.btn{border:0;border-radius:9px;padding:11px 18px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:7px}.btn--primary{color:#fff;background:linear-gradient(135deg,var(--purple),var(--purple2));box-shadow:0 7px 18px rgba(166,47,70,.20)}.btn--outline{background:#fff;border:1px solid #dcdcea;color:var(--purple)}.btn--small{padding:8px 17px}.btn--wide{width:100%}.user-mini{display:flex;align-items:center;gap:8px;font-weight:600}.user-mini img{width:34px;height:34px;border-radius:50%;object-fit:cover}.mobile-only{display:none}.hero{height:300px;position:relative;color:#fff;overflow:hidden;background:#25233b}.hero__bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,19,35,.92),rgba(31,24,54,.62),rgba(20,22,38,.6)),url('../images/hero.webp') center/cover}.hero__inner{height:100%;display:flex;align-items:center;position:relative;gap:50px}.hero__copy{width:48%}.hero__eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;opacity:.8;font-weight:700;margin-bottom:8px}.hero h1{font-size:38px;line-height:1.08;margin:0 0 12px;font-weight:800}.hero h1 span{color:#df7276}.hero p{max-width:510px;opacity:.88;margin:0}.hero__search{flex:1}.search-form{background:#fff;border-radius:11px;padding:5px;display:flex;align-items:center;box-shadow:0 14px 40px rgba(0,0,0,.2)}.search-form>span{color:#85889b;font-size:22px;padding:0 10px}.search-form input{border:0;outline:0;flex:1;min-width:0;padding:13px 5px}.search-form .btn{min-width:94px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.chips a{background:rgba(255,255,255,.9);color:#494c5d;border-radius:99px;padding:7px 14px;font-size:12px;font-weight:600}.home-layout{display:grid;grid-template-columns:195px minmax(0,1fr) 205px;gap:18px;padding-top:14px}.sidebar,.rightbar{min-width:0}.side-card,.people-card,.page-card,.profile-card,.auth-card,.form-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.side-card{padding:9px;margin-bottom:12px}.side-link{display:flex;align-items:center;gap:9px;padding:10px;border-radius:8px;color:#5d6074}.side-link span{width:18px;text-align:center;color:var(--purple)}.side-link em{font-style:normal;font-size:11px;color:#a0a3b2;margin-left:auto}.side-link.is-active{background:#f8eeee;color:var(--purple);font-weight:700}.side-title{font-weight:800;margin:4px 5px 12px}.interest-list{display:flex;flex-wrap:wrap;gap:7px}.interest-list a,.tags span{font-size:11px;color:#66697b;background:#f2f3f8;border-radius:99px;padding:5px 9px}.more-link{display:inline-block;color:var(--purple);font-size:12px;font-weight:700;margin-top:12px}.section-head,.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:4px 0 12px}.section-head h2,.page-head h1{margin:0;font-size:19px}.sorter{font-size:12px;color:#74778a;background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px 11px}.publication-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.publication-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;min-width:0;transition:.2s;box-shadow:0 4px 20px rgba(39,37,75,.035)}.publication-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.publication-card__top{display:flex;align-items:center;gap:11px}.avatar{display:inline-flex;flex:none;overflow:hidden;border-radius:50%;background:#eee}.avatar img{width:100%;height:100%;object-fit:cover}.avatar--sm{width:40px;height:40px}.avatar--lg{width:58px;height:58px}.avatar--xl{width:112px;height:112px;border:5px solid #fff;box-shadow:0 7px 25px rgba(0,0,0,.12)}.publication-card__person{min-width:0;flex:1}.publication-card__person h3{font-size:14px;margin:0 0 1px}.online-dot,.online-badge{font-size:10px;color:var(--green);font-weight:700}.muted{font-size:11px;color:#85889a}.fav-btn{border:0;background:#f5f5fa;width:32px;height:32px;border-radius:50%;font-size:18px;color:#76798d}.fav-btn.is-active{color:var(--pink)}.publication-card__text{display:block;margin:12px 0 10px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tags{display:flex;flex-wrap:wrap;gap:6px}.publication-card__bottom{display:flex;gap:12px;color:#9093a3;font-size:10px;margin-top:12px}.publication-card__bottom time{margin-left:auto}.post-promo{display:flex;flex-direction:column;gap:3px;background:linear-gradient(135deg,#f7eaea,#fdf8f8);border:1px solid #ead2d6;border-radius:12px;padding:13px;color:var(--purple);margin-bottom:12px}.post-promo strong{font-size:13px}.post-promo span{font-size:11px}.people-card{padding:12px}.person-row{display:flex;align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid #f0f0f4}.person-row:last-of-type{border-bottom:0}.person-row span:nth-child(2){display:flex;flex-direction:column;min-width:0}.person-row b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-row small{font-size:9px;color:#888b9c}.person-row i{margin-left:auto;color:var(--green);font-size:8px;font-style:normal}.promo-photo{margin-top:12px;min-height:135px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,rgba(23,21,47,.85),rgba(23,21,47,.2)),url('../images/promo.webp') center/cover;color:#fff;padding:13px;display:flex;align-items:flex-end}.promo-photo div{display:flex;flex-direction:column;gap:5px}.promo-photo b{font-size:13px;line-height:1.25}.promo-photo span{font-size:10px;opacity:.8}.promo-photo a{margin-top:4px;background:var(--purple);color:#fff;border-radius:7px;padding:7px 10px;font-size:10px;text-align:center}.center-action{text-align:center;padding:18px}.footer{margin-top:35px;background:#fff;border-top:1px solid var(--line);padding:28px 0}.footer__inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:end}.footer p{color:#8a8d9e;font-size:12px}.footer__links{display:flex;gap:16px;justify-content:center;color:#74778a;font-size:12px}.footer__copy{text-align:right;color:#999cac;font-size:11px}.page-shell{padding-top:22px;min-height:600px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--purple);font-weight:800}.filter-box{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}.filter-box__head{display:flex;justify-content:space-between;padding:12px 14px}.filter-box__head button{border:0;background:none;color:var(--purple)}.filter-box__body{display:flex;gap:10px;padding:0 14px 14px;flex-wrap:wrap}.filter-box label{font-size:11px;color:#777b8d;display:flex;flex-direction:column;gap:5px}.filter-box input,.filter-box select,.field input,.field textarea,.field select,.search-page-form input{border:1px solid #dedfea;border-radius:8px;padding:10px 11px;outline:0;background:#fff;min-width:130px}.range-fields{display:flex;gap:6px}.profile-cover{height:190px;background:linear-gradient(90deg,#e8d0d5,#f6dfe1)}.profile-cover__blur{height:100%;backdrop-filter:blur(20px);background:linear-gradient(90deg,rgba(166,47,70,.35),rgba(217,106,111,.18))}.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;margin-top:-55px;position:relative}.profile-main{min-width:0}.profile-head{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;align-items:center;gap:16px;box-shadow:var(--shadow)}.profile-title{flex:1}.profile-title h1{margin:4px 0;font-size:25px}.profile-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.profile-card{padding:18px;margin-top:12px}.profile-card h2{font-size:16px;margin:0 0 12px}.details{display:grid;grid-template-columns:1fr 1fr;margin:0}.details dt,.details dd{padding:8px 0;border-bottom:1px solid #f0f0f4;margin:0;font-size:12px}.details dt{color:#8b8e9e}.details dd{text-align:right;font-weight:600}.profile-side-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.related-item{display:flex;gap:9px;padding:8px 0;border-bottom:1px solid #f0f0f4}.related-item img{width:42px;height:42px;border-radius:50%;object-fit:cover}.related-item div{display:flex;flex-direction:column;font-size:11px}.related-item span{color:#888b9b;font-size:10px}.page-card{padding:20px}.userinfo-head{display:flex;align-items:center;gap:16px}.userinfo-head h1{margin:0}.userinfo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.userinfo-grid div{background:#f7f7fb;border-radius:9px;padding:12px;display:flex;flex-direction:column}.userinfo-grid span{font-size:10px;color:#898c9d}.auth-card{width:min(470px,100%);margin:50px auto;padding:28px}.auth-card--wide{width:min(760px,100%)}.auth-card h1{margin:4px 0 6px;font-size:27px}.auth-card>p{color:#858899}.auth-card form{margin-top:18px}.field{display:flex;flex-direction:column;gap:6px;color:#6e7182;font-size:11px;margin-bottom:12px}.field input,.field textarea,.field select{font-size:13px;color:var(--ink)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.field--full{grid-column:1/-1}.check{display:flex;align-items:center;gap:8px;color:#737687;font-size:11px;margin:10px 0 15px}.center-link{display:block;text-align:center;color:var(--purple);font-size:11px;margin-top:10px}.auth-foot{text-align:center;border-top:1px solid var(--line);margin-top:20px;padding-top:15px;font-size:11px;color:#7f8293}.auth-foot a{color:var(--purple);font-weight:700}.captcha-row{display:flex;gap:10px;align-items:center}.form-submit{display:flex;justify-content:flex-end}.pm-layout{display:grid;grid-template-columns:300px 1fr;padding:0;overflow:hidden;min-height:600px}.pm-sidebar{border-right:1px solid var(--line);padding:15px}.pm-main{padding:15px}.search-page-form{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;margin-bottom:15px}.comment{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #eee}.comment__body{flex:1}.comment__meta{display:flex;gap:10px;font-size:11px}.comment__meta span{color:#999}.comment__actions{font-size:10px;color:var(--purple);margin-top:7px}.offline{text-align:center;padding:100px 20px}.site-message{width:min(1260px,calc(100% - 32px));margin:12px auto;background:#fff;border:1px solid var(--line);padding:12px;border-radius:9px}.mobile-only{background:none;border:0}
@media(max-width:1050px){.home-layout{grid-template-columns:180px minmax(0,1fr)}.rightbar{display:none}.hero__copy{width:45%}.profile-layout{grid-template-columns:1fr}.profile-side{display:none}}
@media(max-width:780px){.header{height:58px}.header__inner{gap:10px}.mobile-only{display:block}.nav{display:none;position:absolute;top:58px;left:10px;right:10px;height:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:10px;flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav__link{height:auto;padding:10px}.nav__link.is-active:after{display:none}.header__actions .login-link,.header__actions .btn--small{display:none}.user-mini span{display:none}.hero{height:auto}.hero__inner{padding:34px 0;flex-direction:column;align-items:stretch;gap:22px}.hero__copy{width:auto}.hero h1{font-size:31px}.home-layout{grid-template-columns:1fr;padding-top:10px}.sidebar{display:none}.publication-grid{grid-template-columns:1fr}.footer__inner{grid-template-columns:1fr}.footer__links{justify-content:flex-start;flex-wrap:wrap}.footer__copy{text-align:left}.profile-head{align-items:flex-start;flex-wrap:wrap}.profile-avatar{margin-top:-65px}.profile-actions{width:100%;justify-content:flex-start}.form-grid{grid-template-columns:1fr}.field--full{grid-column:auto}.userinfo-grid{grid-template-columns:1fr}.pm-layout{grid-template-columns:1fr}.pm-sidebar{border-right:0;border-bottom:1px solid var(--line)}.search-form .btn{min-width:75px;padding-left:10px;padding-right:10px}.chips{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.chips a{white-space:nowrap}}

.userinfo-head__info{min-width:0;display:flex;flex-direction:column;justify-content:center}.online-badge--offline{color:#8a8d9e}.userinfo-head h1{font-size:26px;line-height:1.15;margin:2px 0 0}.userinfo-head p{margin:2px 0 0;color:var(--muted);font-size:12px}.empty-profile{color:var(--muted);font-size:12px;padding:4px 0}.user-mini img{background:#eee}


/* Profile edit action */
.profile-actions{margin-top:10px}
.profile-actions .btn{display:inline-flex;align-items:center;justify-content:center}


/* Search page */
.search-page{max-width:900px;margin-left:auto;margin-right:auto}
.search-page__lead{margin:5px 0 0;color:var(--muted);font-size:12px}
.search-page-form{padding:22px;box-shadow:var(--shadow)}
.search-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.search-form-grid .field--wide{grid-column:1/-1}
.search-form-grid .field{margin-bottom:14px}
.search-form-grid .field input,.search-form-grid .field select{width:100%;min-width:0;height:42px}
.search-age{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.search-age .field{min-width:0}
.search-page-form__actions{display:flex;justify-content:flex-end;padding-top:2px}
.search-page-form__actions .btn{min-width:150px}
@media(max-width:780px){.search-page{width:calc(100% - 20px)}.search-form-grid{grid-template-columns:1fr}.search-form-grid .field--wide{grid-column:auto}.search-age{grid-template-columns:1fr 1fr}.search-page-form__actions{justify-content:stretch}.search-page-form__actions .btn{width:100%}}

/* Full profile layout fix */
.profile-avatar{width:390px;height:520px;flex:0 0 390px;overflow:hidden;border-radius:12px;background:#eee;box-shadow:0 8px 25px rgba(0,0,0,.12)}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.profile-title{min-width:0}
.profile-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}
.profile-actions .btn{white-space:nowrap}
@media(max-width:1050px){.profile-avatar{width:320px;height:430px;flex-basis:320px}}
@media(max-width:780px){.profile-avatar{width:100%;height:auto;aspect-ratio:4/5;flex-basis:auto;margin-top:-65px}.profile-head{align-items:flex-start}.profile-title{padding-top:4px}.profile-actions{margin-left:0}}

/* Final profile image size */
.profile-avatar{width:280px;height:373px;flex:0 0 280px;overflow:hidden;border-radius:12px;background:#eee;box-shadow:0 8px 25px rgba(0,0,0,.12)}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:1050px){.profile-avatar{width:250px;height:333px;flex-basis:250px}}
@media(max-width:780px){.profile-avatar{width:100%;height:auto;aspect-ratio:3/4;flex-basis:auto;margin-top:-65px}}



/* Final comments layout */
.comments-card{padding-bottom:20px}
.comments-list{width:100%;max-width:820px;margin:0 auto}
.comments-list .comment{width:100%;display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid #f0f0f4}
.comments-list .comment:last-child{border-bottom:0}
.comment__avatar{width:42px;height:42px;flex:0 0 42px}
.comments-list .comment__body{min-width:0;flex:1}
.comment__meta{display:flex;align-items:center;gap:9px;line-height:1.3}
.comment__meta b{font-size:12px}
.comment__meta span{font-size:10px;color:#999cac}
.comment__text{margin-top:5px;font-size:13px;line-height:1.5;word-break:break-word}
.comment__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px;font-size:10px;color:var(--purple)}
.comment-form{width:min(820px,calc(100% - 32px));margin:18px auto 0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);overflow:hidden}
.comment-form h3{margin:0 0 12px;font-size:16px}
.comment-editor{width:100%;max-width:100%;overflow:hidden}
.comment-editor > *{max-width:100%!important;box-sizing:border-box}
.comment-editor .wysibb{width:100%!important;max-width:100%!important;box-sizing:border-box}
.comment-editor .wysibb-toolbar{max-width:100%!important;box-sizing:border-box}
.comment-editor .wysibb-body{max-width:100%!important;box-sizing:border-box}
.comment-editor iframe,.comment-editor textarea{display:block;width:100%!important;max-width:100%!important;box-sizing:border-box}
.comment-editor .wysibb-text-editor{width:100%!important;max-width:100%!important;box-sizing:border-box}
.comment-form__actions{display:flex;justify-content:flex-end;margin-top:12px}
.comment-form .btn{margin-top:0}
.comment-error-message{width:min(820px,calc(100% - 32px))}
@media(max-width:780px){
  .comments-list{width:100%}
  .comment-form{width:calc(100% - 20px);padding:14px}
  .comment-error-message{width:calc(100% - 20px)}
  .comment-form__actions{justify-content:stretch}
  .comment-form__actions .btn{width:100%}
}


/* Comments layout v2: DLE renders addcomments.tpl after fullstory, so keep the form inside the same content column. */
.showfull-shell{width:min(1260px,calc(100% - 32px));margin:0 auto;min-width:0}
.showfull-shell > .comment-form-wrap{width:min(820px,100%);margin:18px auto 0}
.showfull-shell > .comment-form-wrap .comment-form{width:100%;max-width:none;margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);overflow:hidden}
.comment-form-wrap h3{margin:0 0 12px;font-size:16px}
.comment-editor{width:100%;max-width:100%;min-width:0;overflow:hidden}
.comment-editor,.comment-editor *{box-sizing:border-box}
.comment-editor table,.comment-editor .wysibb{width:100%!important;max-width:100%!important;min-width:0!important}
.comment-editor iframe,.comment-editor textarea,.comment-editor .wysibb-text-editor,.comment-editor [contenteditable="true"]{display:block;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.comment-editor .wysibb-toolbar{width:100%!important;max-width:100%!important;overflow:hidden}
.showfull-shell > .comment-error-message{width:min(820px,100%);margin:10px auto 0}
@media(max-width:780px){.showfull-shell{width:calc(100% - 20px)}.showfull-shell > .comment-form-wrap{width:100%}.showfull-shell > .comment-form-wrap .comment-form{padding:14px}.showfull-shell > .comment-error-message{width:100%}}

/* Comment form: align with the main profile column, not with the full browser width. */
.showfull-shell > .comment-form-wrap{width:calc(100% - 296px);margin-left:0;margin-right:0}
.showfull-shell > .comment-form-wrap .comment-form{width:100%;max-width:none}
.comment-error-message{display:none;align-items:center;gap:9px;padding:11px 14px;border:1px solid #ffd0d8;border-radius:12px;background:#fff4f6;color:#b4233f;font-size:13px;font-weight:600;line-height:1.4;box-shadow:0 8px 22px rgba(180,35,63,.08)}
.comment-error-message.is-visible{display:flex}
.comment-error-message::before{content:'!';display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#ff5c78;color:#fff;font-weight:800;font-size:13px}
.dle-comment-error-hidden{display:none!important}
@media(max-width:1050px){.showfull-shell > .comment-form-wrap{width:100%}}
@media(max-width:780px){.showfull-shell > .comment-form-wrap{width:100%}}


/* Comments v3: form is a standalone DLE block, so align it independently with the profile column. */
.comment-form-wrap{width:min(800px,calc(100% - 32px));margin:18px auto 0;min-width:0}
.comment-form-wrap .comment-form{width:100%;max-width:100%;margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);overflow:hidden}
.comment-form-wrap .comment-editor{width:100%;max-width:100%;min-width:0;overflow:hidden}
.comment-form-wrap .comment-editor,.comment-form-wrap .comment-editor *{box-sizing:border-box}
.comment-form-wrap .comment-editor table,.comment-form-wrap .comment-editor .wysibb{width:100%!important;max-width:100%!important;min-width:0!important}
.comment-form-wrap .comment-editor iframe,.comment-form-wrap .comment-editor textarea,.comment-form-wrap .comment-editor .wysibb-text-editor,.comment-form-wrap .comment-editor [contenteditable="true"]{display:block;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.comment-form-wrap .comment-editor .wysibb-toolbar{width:100%!important;max-width:100%!important;overflow:hidden}
.comment-form-wrap .comment-form__actions{display:flex;justify-content:flex-end;margin-top:12px}
.comment-form-wrap .comment-form__actions .btn{margin:0}
#system-info{width:100%;min-width:0}
#system-info .site-message{width:min(800px,calc(100% - 32px));margin:10px auto}
.comment-error-message{width:min(800px,calc(100% - 32px));margin:10px auto 0;display:none;align-items:center;gap:9px;padding:11px 14px;border:1px solid #ffd0d8;border-radius:12px;background:#fff4f6;color:#b4233f;font-size:13px;font-weight:600;line-height:1.4;box-shadow:0 8px 22px rgba(180,35,63,.08)}
.comment-error-message.is-visible{display:flex}
.comment-error-message::before{content:'!';display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#ff5c78;color:#fff;font-weight:800;font-size:13px}
.comment-info-hidden{display:none!important}
@media(max-width:780px){
  .comment-form-wrap{width:calc(100% - 20px)}
  .comment-form-wrap .comment-form{padding:14px}
  .comment-form-wrap .comment-form__actions{justify-content:stretch}
  .comment-form-wrap .comment-form__actions .btn{width:100%}
  .comment-error-message{width:calc(100% - 20px)}
}

/* Comments v4: DLE puts addcomments outside fullstory. Move its form into .profile-main with JS,
   then these rules make it exactly the same width as the profile content column. */
.profile-main > form.comment-form-dle,
.profile-main > .comment-form-dle{width:100%;max-width:none;margin:18px 0 0;padding:0;border:0;background:transparent;box-shadow:none}
.profile-main > form.comment-form-dle .comment-form-wrap,
.profile-main > .comment-form-dle .comment-form-wrap{width:100%;max-width:none;margin:0}
.profile-main > form.comment-form-dle .comment-form-wrap .comment-form,
.profile-main > .comment-form-dle .comment-form-wrap .comment-form{width:100%;max-width:none;margin:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);overflow:hidden}
.profile-main > form.comment-form-dle .comment-editor,
.profile-main > .comment-form-dle .comment-editor{width:100%;max-width:none;min-width:0;overflow:hidden}
.profile-main > form.comment-form-dle .comment-editor > *,
.profile-main > .comment-form-dle .comment-editor > *{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.profile-main > form.comment-form-dle .comment-editor table,
.profile-main > form.comment-form-dle .comment-editor .wysibb,
.profile-main > .comment-form-dle .comment-editor table,
.profile-main > .comment-form-dle .comment-editor .wysibb{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.profile-main > form.comment-form-dle .comment-editor iframe,
.profile-main > form.comment-form-dle .comment-editor textarea,
.profile-main > form.comment-form-dle .comment-editor [contenteditable="true"],
.profile-main > .comment-form-dle .comment-editor iframe,
.profile-main > .comment-form-dle .comment-editor textarea,
.profile-main > .comment-form-dle .comment-editor [contenteditable="true"]{display:block;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.profile-main > form.comment-form-dle .comment-form__actions,
.profile-main > .comment-form-dle .comment-form__actions{display:flex;justify-content:flex-end;margin-top:12px}
.profile-main > form.comment-form-dle .comment-error-message,
.profile-main > .comment-form-dle .comment-error-message{width:100%;max-width:none;margin:10px 0 0}
@media(max-width:1050px){
  .profile-main > form.comment-form-dle,
  .profile-main > .comment-form-dle{width:100%}
}
@media(max-width:780px){
  .profile-main > form.comment-form-dle .comment-form-wrap,
  .profile-main > .comment-form-dle .comment-form-wrap{width:100%}
  .profile-main > form.comment-form-dle .comment-form-wrap .comment-form,
  .profile-main > .comment-form-dle .comment-form-wrap .comment-form{padding:14px}
  .profile-main > form.comment-form-dle .comment-form__actions,
  .profile-main > .comment-form-dle .comment-form__actions{justify-content:stretch}
  .profile-main > form.comment-form-dle .comment-form__actions .btn,
  .profile-main > .comment-form-dle .comment-form__actions .btn{width:100%}
}


/* Final profile image: maximum 200px wide */
.profile-avatar{width:200px!important;height:267px!important;flex:0 0 200px!important;max-width:200px!important;overflow:hidden;border-radius:12px}
.profile-avatar img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center}
@media(max-width:780px){.profile-avatar{width:100%!important;max-width:200px!important;height:auto!important;aspect-ratio:3/4;flex:0 0 auto!important;margin-top:-65px}}

/* Search results layout fix */
.search-results-shell{padding-top:22px;min-height:600px}.search-results-shell .search-page{max-width:900px;margin:0 auto}.search-results-shell .search-page-form{max-width:900px;margin:0 auto 22px}.search-result-card{width:min(900px,100%);margin:0 auto 12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:var(--shadow);min-width:0}.search-result-card__top{display:flex;align-items:center;gap:12px}.search-result-card__person{min-width:0;flex:1}.search-result-card__person h3{margin:0 0 2px;font-size:15px}.search-result-card__text{margin:12px 0;color:#55586b;line-height:1.5;font-size:13px;overflow-wrap:anywhere}.search-result-card__bottom{display:flex;gap:14px;align-items:center;border-top:1px solid #f0f0f4;padding-top:10px;color:var(--muted);font-size:10px}.search-result-card__bottom a{color:var(--purple);font-weight:700}.search-result-card__bottom span{margin-left:auto}@media(max-width:780px){.search-result-card{width:100%;padding:13px}.search-results-shell{width:calc(100% - 20px)}.search-result-card__bottom{align-items:flex-start;flex-direction:column;gap:5px}.search-result-card__bottom span{margin-left:0}}

/* Addnews / публикация */
.addnews-page{max-width:980px;margin-left:auto;margin-right:auto}
.addnews-card{padding:22px}
.addnews-card .field input,.addnews-card .field textarea,.addnews-card .field select{width:100%;min-width:0}
.addnews-card .field select{min-height:42px}
.addnews-card .field input[type=file]{padding:8px}
.addnews-card .field--full{grid-column:1/-1}
.addnews-description{min-width:0}
.addnews-description .bb-editor-wrap,.addnews-description .bb-editor-wrap>*{max-width:100%;box-sizing:border-box}
.addnews-description textarea{display:block;min-height:180px;resize:vertical}
.addnews-description .wysibb,.addnews-description .wysibb-text-editor,.addnews-description iframe{width:100%!important;max-width:100%!important;box-sizing:border-box}
.addnews-description .wysibb{min-width:0!important}
.addnews-submit{margin-top:6px}
.addnews-submit .btn{min-width:160px}
@media(max-width:780px){.addnews-page{width:calc(100% - 20px)}.addnews-card{padding:15px}.addnews-submit{justify-content:stretch}.addnews-submit .btn{width:100%}}

/* Addnews: имя и основной текст профиля */
.addnews-description textarea#full_story{display:block;width:100%;min-height:240px;resize:vertical;box-sizing:border-box;line-height:1.55;padding:13px 14px}
.addnews-description__hint{margin-top:7px;color:var(--muted);font-size:11px;line-height:1.4}
.addnews-card .field input#title{font-size:15px;font-weight:600}

/* Profile fields cleanup: one interests field, no work/education */
.addnews-card .field-hint{margin-top:6px;color:var(--muted);font-size:11px;line-height:1.4}
.interests-list{display:flex;flex-wrap:wrap;gap:7px}
.interests-list .interest-tag{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f9eeee;color:var(--purple);font-size:11px;font-weight:600}


/* Addnews: более заметные подписи полей и аккуратная загрузка фото */
.addnews-card .field-label{display:block;font-size:12px;font-weight:800;color:#34364a;line-height:1.3;margin-bottom:1px}
.addnews-card .field input,.addnews-card .field textarea,.addnews-card .field select{font-weight:400}
.addnews-card .field-hint,.addnews-description__hint,.photo-upload__hint{font-weight:400}
.photo-upload{border:1.5px dashed #dfc7cc;background:linear-gradient(180deg,#fdf9f9,#faf0f1);border-radius:12px;padding:13px 14px;transition:border-color .2s,background .2s,box-shadow .2s}
.photo-upload:hover{border-color:#c68a95;background:#fcf5f5;box-shadow:0 5px 18px rgba(166,47,70,.07)}
.photo-upload__title{font-size:13px;font-weight:800;color:#3a3655;margin-bottom:2px}
.photo-upload__hint{font-size:10px;color:var(--muted);margin-bottom:10px;line-height:1.4}
.photo-upload input[type=file]{display:block;width:100%;min-width:0;height:auto;padding:7px 8px;border:1px solid #e2d5d7;border-radius:8px;background:#fff;color:#77798b;font-size:11px;cursor:pointer;box-sizing:border-box}
.photo-upload input[type=file]::file-selector-button{border:0;border-radius:7px;padding:8px 12px;margin-right:9px;background:#f4e5e7;color:var(--purple);font:700 11px Inter,Arial,sans-serif;cursor:pointer}
.photo-upload input[type=file]::file-selector-button:hover{background:#ead6da}
@media(max-width:780px){.photo-upload{padding:12px}.photo-upload input[type=file]::file-selector-button{padding:8px 10px}}

/* Цель знакомства: вместо громоздкого стандартного списка DLE — аккуратные карточки. */
.addnews-purpose{grid-column:1/-1}
.purpose-choice{position:relative;min-width:0}
.purpose-choice__native{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.purpose-choice__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:2px}
.purpose-choice__item{position:relative;display:flex;align-items:center;gap:10px;min-width:0;min-height:62px;padding:10px 34px 10px 11px;border:1px solid #e4e2ee;border-radius:11px;background:#fff;color:#414358;text-align:left;box-shadow:0 2px 8px rgba(39,37,75,.025);transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;cursor:pointer}
.purpose-choice__item:hover{border-color:#d9aeb6;background:#fdf9f9;transform:translateY(-1px);box-shadow:0 6px 16px rgba(166,47,70,.08)}
.purpose-choice__item.is-selected{border-color:#b85a6a;background:linear-gradient(135deg,#f9eded,#fdf8f8);box-shadow:0 6px 18px rgba(166,47,70,.10)}
.purpose-choice__icon{width:30px;height:30px;flex:0 0 30px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f6e8e9;color:var(--purple);font-size:16px;font-weight:800}
.purpose-choice__item.is-selected .purpose-choice__icon{background:var(--purple);color:#fff}
.purpose-choice__text{font-size:11px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
.purpose-choice__check{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eceaf2;color:transparent;font-size:11px;font-weight:900}
.purpose-choice__item.is-selected .purpose-choice__check{background:var(--purple);color:#fff}
@media(max-width:900px){.purpose-choice__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.purpose-choice__grid{grid-template-columns:1fr}.purpose-choice__item{min-height:56px}}

.load-more-btn{min-width:210px}.load-more-btn:disabled{opacity:.65;cursor:wait}.load-more-btn.is-empty{opacity:.7;cursor:default}

.district-field[hidden]{display:none!important}
.district-field select{width:100%}

/* Mobile: always show a clear "Подать объявление" action inside the opened menu. */
.nav__link--addnews{font-weight:800;color:var(--purple);}
@media(max-width:780px){
  .nav__link--addnews{margin:4px 0 8px;padding:12px 14px;border-radius:10px;background:#f7e9ea;color:var(--purple);text-align:center;}
}


/* Native DLE site search */
.search-page--native .search-native-card{background:#fff;border:1px solid #e7e8f0;border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(20,20,50,.05)}
.search-page--native .search-native-card form{margin:0}
.search-page--native .search-native-card table{width:100%;border-collapse:separate;border-spacing:0 10px}
.search-page--native .search-page__lead{color:#8b8fa3}
.search-native-message{margin-top:14px;padding:14px 16px;border-radius:12px;background:#faf0f1;color:#8d3044}


.profile-search-form{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:18px;box-shadow:var(--shadow)}
.profile-search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.profile-search-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}.profile-search-field--wide{grid-column:span 2}.profile-search-field input,.profile-search-field select{width:100%;box-sizing:border-box;border:1px solid #e3e4ec;border-radius:10px;padding:11px 12px;background:#fff;color:#333645}.profile-search-actions{display:flex;gap:9px;margin-top:14px}.profile-search-results{margin-top:6px}.search-profile-count{margin:0 0 12px;color:var(--muted);font-size:13px}.profile-search-results-grid{display:grid;gap:12px}.profile-search-card{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;box-shadow:var(--shadow)}.profile-search-card__avatar{width:76px;height:76px;flex:0 0 76px;border-radius:50%;overflow:hidden;background:#f1f2f6}.profile-search-card__avatar img{width:100%;height:100%;object-fit:cover}.profile-search-card__body{min-width:0}.profile-search-card h3{margin:0 0 5px;font-size:18px}.profile-search-card h3 a{color:#333645;text-decoration:none}.profile-search-card__meta{font-size:12px;color:var(--muted);margin-bottom:8px}.profile-search-card__text{font-size:13px;line-height:1.5;color:#55596b;margin-bottom:9px}.profile-search-card__open{font-size:12px;color:var(--purple);font-weight:700;text-decoration:none}.search-profile-empty{background:#fff;border:1px dashed #d9dae4;border-radius:16px;padding:28px;text-align:center}.search-profile-empty h2{margin:0 0 7px;font-size:20px}.search-profile-empty p{margin:0;color:var(--muted);font-size:13px}.profile-search-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:22px 0}.profile-search-pagination__link{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 11px;border:1px solid #e5e7ef;border-radius:10px;background:#fff;color:var(--purple);text-decoration:none;font-weight:600}.profile-search-pagination__link.is-active{background:var(--purple);color:#fff;border-color:var(--purple)}
@media(max-width:900px){.profile-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-search-field--wide{grid-column:span 2}}
@media(max-width:600px){.profile-search-grid{grid-template-columns:1fr}.profile-search-field--wide{grid-column:auto}.profile-search-card{padding:11px}.profile-search-card__avatar{width:62px;height:62px;flex-basis:62px}.profile-search-actions{flex-direction:column}}

/* Районы в левом сайдбаре */
.district-list{display:flex;flex-direction:column;gap:2px;max-height:420px;overflow:auto;padding-right:2px}
.district-list a{display:block;padding:6px 7px;border-radius:7px;color:#66697b;font-size:11px;line-height:1.25;transition:.16s ease}
.district-list a:hover{background:#f8eeee;color:var(--purple)}
.district-card .more-link{margin-top:9px}
@media(max-width:780px){.district-list{max-height:none}}


/* DLE edit-profile link */
.profile-actions a[href^="javascript:ShowOrHide"] {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    color: var(--purple);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.profile-actions a[href^="javascript:ShowOrHide"]:hover {
    text-decoration: underline;
}


/* Компактные данные анкеты рядом с фото */
.profile-purpose{display:flex;align-items:center;gap:9px;margin-top:11px;flex-wrap:wrap}
.profile-purpose__label{color:#85889a;font-size:11px;font-weight:500}
.profile-purpose__value{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.profile-purpose__value a{display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;background:#f8eeee;color:var(--purple);border:1px solid #ead6da;font-size:11px;font-weight:700;line-height:1.2;text-decoration:none;transition:.18s ease}
.profile-purpose__value a:hover{background:var(--purple);color:#fff;border-color:var(--purple);transform:translateY(-1px)}
.profile-facts{display:flex;align-items:center;gap:8px;margin-top:9px;color:#777b90;font-size:12px;flex-wrap:wrap}
.profile-facts b{color:#303247;font-weight:700}
.profile-facts__dot{color:#c5c7d2;font-size:13px}
@media(max-width:780px){.profile-purpose{align-items:flex-start;flex-direction:column;gap:5px;margin-top:9px}.profile-facts{margin-top:8px}}


/* V10: compact profile header */
.profile-purpose {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 6px 10px 6px 8px;
    border: 1px solid #ebe7fb;
    border-radius: 10px;
    background: #faf9ff;
    max-width: 100%;
}

.profile-purpose__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f4e3e5;
    color: var(--purple);
    font-size: 15px;
    line-height: 1;
}

.profile-purpose__label {
    color: #85889a;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.profile-purpose__value a {
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.3;
}

.profile-purpose__value a:hover {
    text-decoration: underline;
}

.profile-facts {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #777b90;
    font-size: 11px;
}

.profile-fact {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 7px;
    background: #f5f5f9;
    color: #666a7c;
}

.profile-fact b {
    color: #303247;
    font-weight: 700;
    margin-right: 2px;
}

.profile-facts__dot {
    color: #c8c9d4;
}

@media (max-width: 780px) {
    .profile-purpose {
        display: flex;
        width: fit-content;
        max-width: 100%;
    }

    .profile-purpose__label {
        font-size: 9px;
    }
}

/* Personal messages / dialogs */
.pm-page{padding:8px 0 42px}.pm-page__head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:16px}.pm-page__head h1{margin:3px 0 5px;font-size:30px}.pm-page__head p{margin:0;color:var(--muted);font-size:13px}.pm-page__actions{display:flex;gap:7px;flex-wrap:wrap}.pm-tab{display:inline-flex;align-items:center;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#676a7d;text-decoration:none;font-size:12px;font-weight:700}.pm-tab--primary{background:var(--purple);border-color:var(--purple);color:#fff}.pm-storage{background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 13px;margin-bottom:14px;display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:10px}.pm-storage__label{font-size:11px;font-weight:700;color:#65687a}.pm-storage__bar{height:7px;background:#eeeef5;border-radius:99px;overflow:hidden}.pm-storage__bar>*{display:block;height:100%;border-radius:99px;background:var(--purple)}.pm-storage__text{font-size:11px;color:#9295a5}.pm-list-card,.pm-compose-card,.pm-dialog-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.pm-list-card__head{padding:15px 17px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.pm-list-card__head h2{margin:0;font-size:17px}.pm-list-card__head span{color:var(--muted);font-size:11px}.pm-list-card__body{padding:4px 12px;overflow:auto}.pm-list-card__body .pm{width:100%;border-collapse:collapse}.pm-list-card__body .pm th{padding:10px 8px;text-align:left;color:#9699a9;font-size:10px;font-weight:600}.pm-list-card__body .pm td{padding:11px 8px;border-top:1px solid #f0f0f4;font-size:12px}.pm-list-card__body .pm tbody tr:hover{background:#faf9ff}.pm-list-card__body a{color:#343646;text-decoration:none}.pm-list-card__body a:hover{color:var(--purple)}.pm-compose{padding:17px}.pm-compose__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pm-compose label{display:block}.pm-compose label>span,.pm-question>span{display:block;margin-bottom:6px;font-size:11px;font-weight:700;color:#777a8d}.pm-compose input,.pm-question input{width:100%;box-sizing:border-box;border:1px solid #e1e2ea;border-radius:10px;padding:11px;background:#fff;color:#353747}.pm-compose__message{margin-top:13px}.pm-compose__actions{display:flex;gap:8px;margin-top:13px}.pm-question{margin-top:12px}.pm-captcha{display:flex;align-items:center;gap:10px;margin-top:12px}.pm-captcha input{max-width:180px}.pm-recaptcha{margin-top:12px}.pm-dialog-card__head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px;border-bottom:1px solid var(--line)}.pm-dialog-card__head h2{margin:3px 0 0;font-size:19px}.pm-dialog-user{text-align:right}.pm-dialog-user a{display:inline-flex;align-items:center;gap:8px;color:#363848;text-decoration:none;font-weight:700;font-size:12px}.pm-dialog-user img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#f1f2f6}.pm-online,.pm-offline{display:block;margin-top:3px;font-size:10px}.pm-online{color:#35a16a}.pm-offline{color:#a0a2ae}.pm-messages{padding:17px;background:#fafafd;max-height:560px;overflow:auto}.pm-message{display:flex;gap:10px;max-width:78%;margin-bottom:12px}.pm-message--mine{margin-left:auto;flex-direction:row-reverse}.pm-message__avatar img{width:34px;height:34px;border-radius:50%;object-fit:cover}.pm-message__content{background:#fff;border:1px solid #e7e7ef;border-radius:13px;padding:9px 11px;min-width:0}.pm-message--mine .pm-message__content{background:#f5e7e8;border-color:#e8d5d8}.pm-message__meta{display:flex;gap:9px;align-items:center;margin-bottom:4px}.pm-message__meta b{font-size:11px;color:#3d3f50}.pm-message__meta span{font-size:9px;color:#a0a2ae}.pm-message__text{font-size:12px;line-height:1.55;color:#4a4c5c;word-break:break-word}.pm-message__tools{display:flex;gap:10px;margin-top:6px;font-size:9px;color:#9295a4}.pm-message__tools a{color:inherit;text-decoration:none}.pm-message__tools a:hover{color:var(--purple)}.pm-reply{padding:15px 17px;border-top:1px solid var(--line)}.pm-reply h3{margin:0 0 10px;font-size:14px}.pm-reply .btn{margin-top:9px}@media(max-width:700px){.pm-page__head,.pm-dialog-card__head{align-items:flex-start;flex-direction:column}.pm-page__actions{width:100%}.pm-storage{grid-template-columns:1fr}.pm-compose__row{grid-template-columns:1fr}.pm-message{max-width:92%}.pm-dialog-user{text-align:left}}

/* V12: messenger-style PM */
.pm-messenger{display:grid;grid-template-columns:330px minmax(0,1fr);height:calc(100vh - 115px);min-height:650px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.pm-conversations{min-width:0;border-right:1px solid var(--line);background:#fff;display:flex;flex-direction:column}
.pm-conversations__top{padding:18px 17px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.pm-conversations__title h1{font-size:22px;margin:2px 0 0}.pm-new{width:34px;height:34px;border-radius:10px;background:var(--purple);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 6px 15px rgba(166,47,70,.20)}
.pm-conversations__tabs{display:flex;gap:5px;padding:0 12px 11px;border-bottom:1px solid var(--line)}
.pm-conv-tab{padding:7px 9px;border-radius:8px;color:#777a8d;font-size:11px;font-weight:700}.pm-conv-tab.is-active{background:#f4e6e7;color:var(--purple)}
.pm-conversations__search{margin:11px 12px;border:1px solid #e4e4ed;background:#f8f8fb;border-radius:9px;display:flex;align-items:center;padding:0 9px;color:#979aaa}.pm-conversations__search span{font-size:18px}.pm-conversations__search input{border:0;background:transparent;outline:0;padding:9px 7px;width:100%;font-size:11px;color:var(--ink)}
.pm-conversations__body{flex:1;min-height:0;overflow:auto;padding:0 6px}.pm-native-list{display:block}.pm-native-list .pm{width:100%;border:0;border-collapse:collapse}.pm-native-list .pm th{display:none}.pm-native-list .pm td{padding:0;border:0}.pm-native-list .pm form{margin:0}.pm-native-list .pm tbody tr{display:block}
.pm-conversation-cards{display:flex;flex-direction:column}.pm-conversation{display:flex;align-items:center;gap:10px;padding:11px 9px;border-radius:10px;color:inherit;text-decoration:none;transition:.15s}.pm-conversation:hover{background:#faf0f1}.pm-conversation__info{min-width:0;flex:1;display:flex;flex-direction:column}.pm-conversation__info b{font-size:12px;color:#303247;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-conversation__info span{font-size:10px;color:#9699a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.pm-conversation time{font-size:9px;color:#a2a4b1;white-space:nowrap}.pm-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;flex:none;background:#eeeafc;display:flex;align-items:center;justify-content:center;color:var(--purple);font-weight:800}.pm-avatar img{width:100%;height:100%;object-fit:cover}.pm-avatar--letter{background:linear-gradient(135deg,#f4e3e5,#ffeaf1);font-size:14px}
.pm-conversations__storage{padding:10px 12px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}.pm-conversations__storage>div{height:5px;background:#eeeef5;border-radius:99px;overflow:hidden}.pm-conversations__storage>div>*{display:block;height:100%;border-radius:99px;background:var(--purple)}.pm-conversations__storage span{font-size:9px;color:#989baa}
.pm-stage{min-width:0;position:relative;background:#fafafd;display:flex;overflow:hidden}.pm-chat{width:100%;height:100%;display:flex;flex-direction:column;min-width:0;background:#fff}.pm-chat__head{padding:15px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff}.pm-chat__identity{display:flex;align-items:center;gap:11px;min-width:0}.pm-chat__identity>div:last-child{min-width:0}.pm-chat__identity h2{font-size:17px;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-chat__identity p{margin:1px 0 0;color:#9799a8;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-chat__profile{color:var(--purple);font-size:10px;font-weight:700}.pm-status{margin-left:5px}.pm-status--online{color:#2caf6d}.pm-empty-state{margin:auto;max-width:430px;text-align:center;padding:30px}.pm-empty-state__icon{width:62px;height:62px;border-radius:20px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;background:#f4e6e7;color:var(--purple);font-size:28px}.pm-empty-state h2{margin:0 0 7px;font-size:20px}.pm-empty-state p{margin:0 0 18px;color:#9295a5;font-size:12px;line-height:1.6}
.pm-messages{flex:1;min-height:0;overflow:auto;padding:20px;background:#fafafd;display:flex;flex-direction:column;justify-content:flex-end}.pm-message{display:flex;gap:8px;max-width:76%;margin-bottom:12px}.pm-message--mine{margin-left:auto;flex-direction:row-reverse}.pm-message__avatar img{width:30px;height:30px;border-radius:50%;object-fit:cover;background:#eee}.pm-message__content{background:#fff;border:1px solid #e8e8ef;border-radius:14px;padding:8px 10px;min-width:0;box-shadow:0 2px 8px rgba(39,37,75,.03)}.pm-message--mine .pm-message__content{background:#f4e3e5;border-color:#e7d0d4}.pm-message__meta{display:flex;gap:8px;align-items:center;margin-bottom:3px}.pm-message__meta b{font-size:10px;color:#3e4051}.pm-message__meta span{font-size:8px;color:#9da0ae}.pm-message__text{font-size:11px;line-height:1.55;color:#4b4d5d;word-break:break-word}.pm-message__tools{display:flex;gap:9px;margin-top:5px;font-size:8px;color:#999cab}.pm-message__tools a{color:inherit}.pm-reply{padding:10px 13px;border-top:1px solid var(--line);background:#fff;position:relative}.pm-reply .dle-editor,.pm-reply .wysibb{margin-right:70px}.pm-send{position:absolute;right:13px;bottom:12px;width:58px;height:38px;border:0;border-radius:10px;background:var(--purple);color:#fff;font-weight:700;box-shadow:0 6px 14px rgba(166,47,70,.20)}.pm-send span{font-size:13px}.pm-chat--compose .pm-compose{overflow:auto;padding:20px}.pm-chat--compose .pm-compose__row{grid-template-columns:1fr 1fr}
.pm-compose{padding:17px}.pm-compose__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pm-compose label{display:block}.pm-compose label>span,.pm-question>span{display:block;margin-bottom:6px;font-size:11px;font-weight:700;color:#777a8d}.pm-compose input,.pm-question input{width:100%;box-sizing:border-box;border:1px solid #e1e2ea;border-radius:10px;padding:11px;background:#fff;color:#353747}.pm-compose__message{margin-top:13px}.pm-compose__actions{display:flex;gap:8px;margin-top:13px}.pm-question{margin-top:12px}.pm-captcha{display:flex;align-items:center;gap:10px;margin-top:12px}.pm-captcha input{max-width:180px}.pm-recaptcha{margin-top:12px}
@media(max-width:900px){.pm-messenger{grid-template-columns:285px minmax(0,1fr)}}
@media(max-width:700px){.pm-messenger{height:calc(100vh - 85px);min-height:560px;grid-template-columns:1fr}.pm-conversations{display:none}.pm-stage{min-height:560px}.pm-chat__profile{display:none}.pm-message{max-width:90%}.pm-chat--compose .pm-compose__row{grid-template-columns:1fr}.pm-reply .dle-editor,.pm-reply .wysibb{margin-right:0}.pm-send{position:static;width:auto;height:auto;margin-top:8px;padding:9px 16px}.pm-chat__head{padding:13px}.pm-messages{padding:12px}}

/* V14: reliable login overlay for DLE */
.login-overlay{display:none;position:fixed;inset:0;z-index:9999;align-items:center;justify-content:center;padding:24px;}
.login-overlay.is-open{display:flex;}
.login-overlay__backdrop{position:absolute;inset:0;background:rgba(26,25,44,.42);backdrop-filter:blur(4px);}
.login-overlay__panel{position:relative;z-index:1;width:min(470px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 80px rgba(28,24,65,.22);}
.login-overlay__content{padding:0;}
.login-overlay__content .auth-card{width:100%;margin:0;border:0;box-shadow:none;border-radius:18px;padding:30px;}
.login-overlay__close{position:absolute;right:14px;top:12px;z-index:2;width:34px;height:34px;border:0;border-radius:50%;background:#f4f3f9;color:#5d6074;font-size:24px;line-height:1;cursor:pointer;}
.login-overlay__close:hover{background:#ebe9f4;color:var(--purple);}
body.login-open{overflow:hidden;}
@media(max-width:560px){.login-overlay{padding:10px;align-items:flex-end}.login-overlay__panel{max-height:calc(100vh - 20px);border-radius:18px 18px 0 0}.login-overlay__content .auth-card{padding:24px 20px 22px}.login-overlay__close{top:10px;right:10px}}

/* V17: messenger fixes */
.pm-chat__identity .pm-avatar{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;min-height:42px!important;max-height:42px!important;display:flex!important;overflow:hidden!important;flex:none!important;border-radius:50%!important}
.pm-chat__identity .pm-avatar img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important}
.pm-chat__profile{display:inline-flex;align-items:center;color:var(--purple);font-size:10px;font-weight:700;white-space:nowrap}
.pm-chat__profile a{color:var(--purple);text-decoration:none}
.pm-conversation__info small{display:block;font-size:9px;color:#a0a2b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.pm-conversation{min-height:64px}

/* V18 PM cleanup */
.pm-chat__identity h2{font-size:17px;margin:2px 0 0}
.pm-chat__identity p{margin:1px 0 0;color:#9799a8;font-size:10px}
.pm-conversation__info b{font-size:11px;color:#303247;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-conversation__info small{display:block;font-size:9px;color:#9699a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}


/* V19: PM header and send button polish */
.pm-chat__identity h2{font-size:16px;margin:3px 0 0;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-chat__user{color:var(--purple);font-weight:800}
.pm-chat__user a{color:var(--purple);text-decoration:none}
.pm-chat__profile{display:none!important}
.pm-reply{display:flex;flex-direction:column;gap:0;padding:10px 13px 13px}
.pm-reply .dle-editor,.pm-reply .wysibb{margin-right:0!important;width:100%!important;box-sizing:border-box}
.pm-reply .pm-send{position:static!important;order:2;width:100%!important;height:42px!important;min-height:42px;padding:0 18px;margin:10px 0 0!important;border:0;border-radius:10px;background:var(--purple);color:#fff;font-size:12px;font-weight:800;line-height:42px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;box-shadow:0 5px 14px rgba(166,47,70,.18)}
.pm-reply .pm-send:hover{filter:brightness(.97);transform:translateY(-1px)}
.pm-reply .pm-send span{font-size:14px;line-height:1}
.pm-conversation__info b{font-size:11px;color:#303247;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* V20: real PM status + clean interlocutor name */
.pm-user-dialog-source{display:none!important}
.pm-chat__status{margin-top:2px;min-height:14px;font-size:10px;line-height:14px;color:#8f92a2}
.pm-status--online{color:#24b36b}
.pm-status--offline{color:#9b9eac}
.pm-chat__user{color:var(--purple);font-weight:800}
.pm-conversation__info b{font-size:11px;color:#303247;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* V21 PM status: rendered from the server, not raw [online]/[offline] tags */
.pm-user-dialog-source{display:none!important;width:0!important;height:0!important;overflow:hidden!important}
.pm-chat__status{margin-top:3px;min-height:14px;font-size:10px;line-height:14px;color:#9b9eac}
.pm-status{display:inline-flex;align-items:center;gap:4px}
.pm-status--online{color:#24b36b}
.pm-status--offline{color:#9b9eac}

/* V22 real PM status: based on DLE {lastdate=U}, no literal [online]/[offline] tags */
.pm-chat__status{display:block!important;margin-top:3px!important;min-height:14px!important;font-size:10px!important;line-height:14px!important}
.pm-status{display:inline-flex!important;align-items:center!important;gap:5px!important;font-weight:600!important}
.pm-status i{width:6px!important;height:6px!important;border-radius:50%!important;display:inline-block!important;background:#a0a3ad!important}
.pm-status--online{color:#24b36b!important}
.pm-status--online i{background:#24b36b!important}
.pm-status--offline{color:#9b9eac!important}
.pm-status--offline i{background:#b6b8c1!important}

/* V24: polished DLE profile popup */
.pm-message__meta b a{color:#3e4051;text-decoration:none;cursor:pointer;}
.pm-message__meta b a:hover{color:var(--purple);text-decoration:underline;}


/* V24: beautiful profile popup card */
.profile-popup-card{position:relative;width:min(360px,calc(100vw - 28px));overflow:hidden;padding:18px;background:rgba(255,255,255,.98);border:1px solid #e7e5f2;border-radius:20px;box-shadow:0 22px 65px rgba(42,34,88,.22);color:var(--ink);font-family:Inter,Arial,sans-serif}
.profile-popup-card__glow{position:absolute;right:-55px;top:-65px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(166,47,70,.18),rgba(104,66,232,0) 70%);pointer-events:none}
.profile-popup-card__head{position:relative;display:flex;align-items:center;gap:13px;min-width:0}
.profile-popup-card__avatar{width:68px;height:68px;min-width:68px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#f4e3e5,#ffe8f0);border:3px solid #fff;box-shadow:0 8px 22px rgba(75,54,145,.14)}
.profile-popup-card__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.profile-popup-card__identity{min-width:0}
.profile-popup-card__eyebrow{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--purple);margin-bottom:5px}
.profile-popup-card__name{font-size:18px;line-height:1.2;font-weight:800;color:#25263a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-popup-card__status{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:10px;font-weight:700;color:#9b9eac}
.profile-popup-card__status i{display:block;width:7px;height:7px;border-radius:50%;background:#b8bac5}
.profile-popup-card__status--online{color:#24b36b}
.profile-popup-card__status--online i{background:#24b36b;box-shadow:0 0 0 3px rgba(36,179,107,.12)}
.profile-popup-card__fullname{position:relative;margin-top:14px;font-size:12px;color:#55586a;font-weight:700}
.profile-popup-card__meta{position:relative;display:flex;align-items:center;gap:6px;margin-top:7px;color:#858899;font-size:11px}
.profile-popup-card__meta span:first-child{color:var(--purple);font-size:14px}
.profile-popup-card__info{position:relative;margin-top:12px;padding:10px 11px;border-radius:11px;background:#f7f6fc;color:#777a8b;font-size:10px;line-height:1.55;max-height:62px;overflow:hidden}
.profile-popup-card__actions{position:relative;display:flex;gap:8px;margin-top:14px}
.profile-popup-card__actions a{min-width:0;flex:1;text-align:center;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border-radius:10px;font-size:10px;font-weight:800;text-decoration:none;box-sizing:border-box;transition:.15s}
.profile-popup-card__btn--primary{background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff!important;box-shadow:0 7px 18px rgba(166,47,70,.18)}
.profile-popup-card__actions a:not(.profile-popup-card__btn--primary){background:#f4f2fa;color:var(--purple)!important;border:1px solid #e5e1f1}
.profile-popup-card__actions a:hover{transform:translateY(-1px);filter:brightness(.98)}
.profile-popup-card__btn--primary span{font-size:13px;line-height:1}
/* DLE popup shell: remove the old plain-looking title/header around our card. */
#dleprofilepopup{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
#dleprofilepopup .ui-dialog-content{padding:0!important;overflow:visible!important;background:transparent!important;border:0!important}
#dleprofilepopup .ui-dialog-titlebar{display:none!important}
#dleprofilepopup .profile-popup{padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:520px){.profile-popup-card{width:calc(100vw - 24px);padding:15px;border-radius:17px}.profile-popup-card__avatar{width:58px;height:58px;min-width:58px}.profile-popup-card__name{font-size:16px}.profile-popup-card__actions a{min-height:40px}}

/* V29: publications in user profile */
.user-posts-card{margin-top:12px}
.user-posts-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.user-posts-head>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.user-posts-head h2{margin:0!important}
.user-posts-head span{font-size:10px;color:#999cac;white-space:nowrap}
.user-posts-head>a{color:var(--purple);font-size:11px;font-weight:700;white-space:nowrap}
.user-posts-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.user-post-card{display:flex;gap:11px;min-width:0;padding:11px;border:1px solid #eeeef4;border-radius:11px;background:#fbfbfd;transition:.2s}
.user-post-card:hover{border-color:#ddd7fb;background:#fff;transform:translateY(-1px);box-shadow:0 7px 20px rgba(39,37,75,.05)}
.user-post-card__avatar{width:58px;height:58px;min-width:58px;display:block;overflow:hidden;border-radius:12px;background:#eee}
.user-post-card__avatar img{width:100%;height:100%;object-fit:cover;display:block}
.user-post-card__body{min-width:0;flex:1}
.user-post-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.user-post-card h3{margin:0;font-size:12px;line-height:1.3}
.user-post-card h3 a{color:var(--ink)}
.user-post-card__meta{font-size:9px;color:#85889a;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-post-card time{font-size:9px;color:#a0a2b0;white-space:nowrap}
.user-post-card__text{display:block;margin-top:6px;color:#55586b;font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.user-post-card__tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.user-post-card__tags span{font-size:8px;color:#6f658f;background:#f0edff;border-radius:99px;padding:3px 6px;white-space:nowrap}
@media(max-width:780px){.user-posts-list{grid-template-columns:1fr}.user-posts-head{align-items:flex-start}.user-posts-head>div{flex-wrap:wrap;gap:3px 8px}.user-post-card{padding:10px}.user-post-card__avatar{width:52px;height:52px;min-width:52px}}

/* V30: native DLE like/dislike rating for profiles */
.profile-rating-card{padding:16px 18px 18px}
.profile-rating-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.profile-rating-head h2{margin:0!important;font-size:16px}
.profile-rating-head p{margin:3px 0 0;color:#9699a9;font-size:10px}
.profile-rating-actions{display:flex;align-items:stretch;gap:8px}
.profile-rating-actions a{display:block;text-decoration:none!important;color:inherit!important;flex:1;min-width:0}
.profile-rate{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 13px;border:1px solid #eceaf3;border-radius:12px;background:#fafafd;box-sizing:border-box;transition:.18s;cursor:pointer}
.profile-rate:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(48,42,90,.08)}
.profile-rate b{font-size:14px;color:#292b3d}
.profile-rate small{font-size:10px;color:#858899;font-weight:700;margin-left:auto}
.profile-rate--like:hover{border-color:#ccefdc;background:#f5fff8}
.profile-rate--dislike:hover{border-color:#f0d3d8;background:#fff8f9}
.profile-rating-total{min-width:76px;padding:0 10px;border-radius:12px;background:#f4f2fb;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box}
.profile-rating-total strong{font-size:14px;color:var(--purple);line-height:1.1}
.profile-rating-total small{font-size:9px;color:#8c8fa0;margin-top:3px}
.publication-rating{color:#77798a;font-weight:700}
.user-post-card__rating{margin-top:7px;font-size:9px;color:#77798a;font-weight:700}
.user-post-card__rating span{color:#c0c1ca;padding:0 2px}
@media(max-width:520px){.profile-rating-actions{flex-wrap:wrap}.profile-rating-actions a{flex:1 1 calc(50% - 4px)}.profile-rating-total{flex:1 1 100%;min-height:38px;flex-direction:row;gap:5px}.profile-rate{padding:0 10px}.profile-rate small{display:none}}

/* V31: category sidebar replaces generic publication filters */
.category-card .side-title{margin-bottom:8px}
.category-list{display:flex;flex-direction:column;gap:2px}
.category-link{display:flex;align-items:center;gap:9px;min-height:38px;padding:8px 9px;border-radius:9px;color:#5d6074;font-size:12px;transition:.18s ease}
.category-link:hover{background:#faf0f1;color:var(--purple)}
.category-link.is-active{background:#f8eeee;color:var(--purple);font-weight:700}
.category-link__icon{width:18px;text-align:center;color:var(--purple);font-size:15px;line-height:1}
.category-link__name{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-link em{font-style:normal;font-size:10px;color:#a0a3b2;margin-left:auto}
.category-sublist{display:flex;flex-direction:column;gap:1px;padding-left:12px}
.category-sublist .category-link{min-height:34px;font-size:11px}
.category-sublist .category-link__icon{font-size:12px;color:#9a86ee}
@media(max-width:780px){.category-card{display:none}}

/* V32: hero category chips are generated from DLE categories */
.hero .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.hero .category-chips-list{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.hero .category-chip{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.92);color:#494c5d;border-radius:99px;padding:7px 13px;font-size:12px;font-weight:600;transition:.18s ease;white-space:nowrap}
.hero .category-chip span{color:var(--purple);font-size:13px}
.hero .category-chip:hover{background:#fff;color:var(--purple);transform:translateY(-1px)}
.hero .category-chip.is-active{background:#fff;color:var(--purple);box-shadow:0 4px 14px rgba(0,0,0,.12)}
.hero .category-chip--all{font-weight:800}
@media(max-width:780px){.hero .category-chips-list{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.hero .category-chip{flex:none}}

/* V42 — polished profile search */
.search-page--native{max-width:1080px!important;padding-bottom:30px}
.search-page--native .page-head{margin-bottom:16px}
.search-page--native .page-head h1{font-size:26px;letter-spacing:-.02em}
.search-page--native .profile-search-form{padding:18px 20px;border-radius:18px;margin-bottom:20px;box-shadow:0 12px 34px rgba(39,37,75,.06)}
.search-page--native .profile-search-field span{font-size:10px;font-weight:700;color:#8a8da0;text-transform:uppercase;letter-spacing:.04em}
.search-page--native .profile-search-field input,.search-page--native .profile-search-field select{height:42px;border-radius:11px;border-color:#e2e3eb;background:#fbfbfd;transition:.18s}
.search-page--native .profile-search-field input:focus,.search-page--native .profile-search-field select:focus{border-color:#a991f4;background:#fff;box-shadow:0 0 0 3px rgba(166,47,70,.08)}
.search-page--native .profile-search-actions{align-items:center;margin-top:16px}
.search-page--native .profile-search-actions .btn{height:42px;padding:0 20px}
.search-page--native .search-profile-count{font-size:12px;margin:0 2px 12px;color:#8b8ea0}
.search-page--native .search-profile-count b{color:var(--ink);font-size:14px}
.search-page--native .profile-search-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.search-page--native .profile-search-card{position:relative;display:flex;gap:14px;min-width:0;min-height:154px;padding:16px;border:1px solid #e7e8f0;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(39,37,75,.045);overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.search-page--native .profile-search-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--purple),var(--pink));opacity:.9}
.search-page--native .profile-search-card:hover{transform:translateY(-2px);border-color:#ddd8f7;box-shadow:0 12px 30px rgba(39,37,75,.09)}
.search-page--native .profile-search-card__avatar{width:78px;height:78px;flex:0 0 78px;margin-top:1px;border-radius:50%;background:#f2f0ff;box-shadow:0 0 0 5px #faf9ff;overflow:hidden}
.search-page--native .profile-search-card__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.search-page--native .profile-search-card__body{min-width:0;flex:1;display:flex;flex-direction:column}
.search-page--native .profile-search-card h3{margin:0 0 5px;font-size:16px;line-height:1.2;letter-spacing:-.01em}
.search-page--native .profile-search-card h3 a{color:var(--ink)}
.search-page--native .profile-search-card h3 a:hover{color:var(--purple)}
.search-page--native .profile-search-card__meta{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 9px;font-size:10px;color:#72768a;line-height:1.4}
.search-page--native .profile-search-card__meta{font-size:0}
.search-page--native .profile-search-card__meta:empty{display:none}
.search-page--native .profile-search-card__meta{color:#73778b}
.search-page--native .profile-search-card__text{margin:0 0 10px;color:#666a7c;font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-page--native .profile-search-card__open{display:inline-flex;align-items:center;gap:4px;margin-top:auto;color:var(--purple);font-size:11px;font-weight:800}
.search-page--native .profile-search-card__open:hover{text-decoration:underline}
.search-page--native .search-profile-empty{padding:38px 24px;border-radius:16px}
.search-page--native .profile-search-pagination{margin:20px 0 5px}
@media(max-width:900px){.search-page--native{max-width:760px!important}.search-page--native .profile-search-results-grid{grid-template-columns:1fr}}
@media(max-width:600px){.search-page--native .profile-search-form{padding:14px}.search-page--native .profile-search-card{min-height:0;padding:13px}.search-page--native .profile-search-card__avatar{width:64px;height:64px;flex-basis:64px}.search-page--native .profile-search-card h3{font-size:15px}.search-page--native .profile-search-actions{flex-direction:row}.search-page--native .profile-search-actions .btn{flex:1}}
.search-page--native .search-meta-pill{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#f5f4fb;color:#72768a;font-size:9px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.search-page--native .search-profile-count>span{color:var(--purple);font-weight:700}

/* V43: unified modern filter for category pages */
.filter-box--dating{overflow:hidden;border-radius:14px;box-shadow:var(--shadow);margin:0 0 18px}
.filter-box--dating .filter-box__head{padding:14px 16px 11px;align-items:center;background:#fff;border-bottom:1px solid #f0f0f5}
.filter-box--dating .filter-box__head>div{display:flex;flex-direction:column;gap:2px}
.filter-box--dating .filter-box__head strong{font-size:14px;color:var(--ink)}
.filter-box--dating .filter-box__head span{font-size:10px;color:#9a9dad}
.filter-box--dating .filter-box__head button{font-size:11px;font-weight:700;color:var(--purple);padding:5px 7px;border-radius:7px}
.filter-box--dating .filter-box__head button:hover{background:#f5f2ff}
.filter-box--dating .filter-box__head button b{font-size:12px;margin-left:3px}
.filter-box--dating .filter-box__body{display:grid;grid-template-columns:1.05fr .9fr 1fr 1.25fr 1.05fr auto;gap:10px;align-items:end;padding:14px 16px 16px;background:#fff;flex-wrap:nowrap}
.filter-box--dating .filter-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;font-size:10px;color:#85889a}
.filter-box--dating .filter-field>span{font-size:10px;color:#888b9d}
.filter-box--dating .filter-field input,.filter-box--dating .filter-field select{width:100%;height:40px;min-width:0;padding:0 11px;border:1px solid #e0e1ea;border-radius:9px;background:#fff;color:var(--ink);font-size:12px;outline:0;transition:.16s}
.filter-box--dating .filter-field input:focus,.filter-box--dating .filter-field select:focus{border-color:#b7a5f7;box-shadow:0 0 0 3px rgba(166,47,70,.08)}
.filter-box--dating .range-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
.filter-box--dating .range-fields input{min-width:0}
.filter-box--dating .filter-submit{height:40px;min-width:118px;padding:0 16px;border-radius:9px;white-space:nowrap;font-size:12px}
.filter-box--dating.is-collapsed .filter-box__body{display:none}
@media(max-width:1080px){.filter-box--dating .filter-box__body{grid-template-columns:repeat(3,minmax(0,1fr));}.filter-box--dating .filter-submit{width:100%}}
@media(max-width:780px){.filter-box--dating .filter-box__body{grid-template-columns:1fr 1fr;gap:9px;padding:12px}.filter-box--dating .filter-field--district{grid-column:1/-1}.filter-box--dating .filter-submit{grid-column:1/-1}.filter-box--dating .filter-box__head{padding:13px 12px}.filter-box--dating .filter-box__head span{display:none}}
@media(max-width:480px){.filter-box--dating .filter-box__body{grid-template-columns:1fr}.filter-box--dating .filter-field--district,.filter-box--dating .filter-submit{grid-column:auto}}

/* V44 category sorting: compact, aligned and clean */
.page-head{align-items:flex-start;position:relative;margin-bottom:14px}
.page-head>div:first-child{min-width:0}
.sorter{display:flex;align-items:center;gap:8px;max-width:min(100%,520px);min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:7px 9px;box-shadow:0 4px 16px rgba(39,37,75,.035);color:#777b8d;white-space:nowrap}
.sorter__label{font-size:10px;font-weight:700;color:#9699a9;padding:0 2px}
.sorter__links{min-width:0}
.sorter__links ul{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;list-style:none!important;margin:0!important;padding:0!important}
.sorter__links li{list-style:none!important;margin:0!important;padding:0!important}
.sorter__links li:before{display:none!important;content:none!important}
.sorter__links a{display:inline-flex!important;align-items:center!important;padding:6px 9px!important;border-radius:8px!important;color:#777b8d!important;font-size:10px!important;line-height:1.2!important;text-decoration:none!important;transition:.18s!important}
.sorter__links a:hover{background:#f8eeee!important;color:var(--purple)!important}
.sorter__links li.active a,.sorter__links li.active a:hover,.sorter__links a.active{background:#f5e7e8!important;color:var(--purple)!important;font-weight:700!important}
.sorter__links strong,.sorter__links b{color:var(--purple)!important}
@media(max-width:760px){.page-head{gap:10px;flex-direction:column}.sorter{width:100%;max-width:none;overflow:auto}.sorter__links ul{flex-wrap:nowrap!important}.sorter__links{overflow:auto}.sorter__links a{padding:7px 10px!important}}

/* V46: mobile guest authentication */
.mobile-auth{display:none}
.mobile-auth__login,.mobile-auth__register{display:flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border-radius:10px;font-weight:800}
.mobile-auth__login{color:var(--purple);background:#f5f2ff}
.mobile-auth__register{color:#fff;background:linear-gradient(135deg,var(--purple),var(--purple2));box-shadow:0 6px 16px rgba(166,47,70,.18)}
@media(max-width:780px){
  .nav .mobile-auth{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;padding-top:10px;border-top:1px solid var(--line)}
  .nav .mobile-auth a{height:auto;padding:11px 10px!important}
}

/* V47 — mobile profile header: full-width, clean and adaptive */
@media (max-width: 780px){
  .profile-cover{
    height:140px;
  }
  .profile-layout{
    display:block;
    width:100%;
    margin-top:-34px;
    padding:0 10px;
  }
  .profile-main{width:100%;}
  .profile-head{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:12px;
    border-radius:18px;
  }
  .profile-avatar,
  .profile-avatar img{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-width:0!important;
    flex:0 0 auto!important;
  }
  .profile-avatar{
    aspect-ratio:4/5!important;
    margin:-48px 0 0!important;
    border-radius:16px!important;
    box-shadow:0 10px 28px rgba(39,37,75,.14)!important;
  }
  .profile-title{
    width:100%;
    min-width:0;
    padding:0!important;
  }
  .profile-title h1{
    font-size:27px;
    line-height:1.08;
    margin:5px 0 7px;
    word-break:break-word;
  }
  .profile-title .muted{
    font-size:12px;
    line-height:1.45;
  }
  .profile-purpose{
    width:100%;
    padding:11px 12px;
    margin-top:12px!important;
    border:1px solid #e7e1ff;
    border-radius:14px;
    background:linear-gradient(135deg,#fcf5f5,#f5f0ff);
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:5px!important;
  }
  .profile-purpose__icon{font-size:20px;line-height:1;}
  .profile-purpose__label{font-size:10px!important;}
  .profile-purpose__value{width:100%;}
  .profile-purpose__value a{
    max-width:100%;
    font-size:13px!important;
    padding:8px 11px!important;
    line-height:1.25!important;
    white-space:normal;
  }
  .profile-facts{
    margin-top:10px!important;
    gap:7px!important;
  }
  .profile-fact{
    background:#f5f5fa;
    border-radius:10px;
    padding:7px 10px;
  }
  .profile-actions{
    width:100%;
    display:grid!important;
    grid-template-columns:1fr;
    gap:8px!important;
    margin:0!important;
  }
  .profile-actions .btn{
    width:100%;
    min-height:48px;
    font-size:14px;
  }
  .profile-side{display:none;}
  .profile-card{border-radius:16px;padding:15px;margin-top:10px;}
}
@media (max-width:420px){
  .profile-layout{padding:0 8px;}
  .profile-head{padding:10px;border-radius:16px;}
  .profile-avatar{margin-top:-42px!important;border-radius:14px!important;}
  .profile-title h1{font-size:25px;}
}

/* V51: dropdown under "Ещё" — desktop hover, mobile tap */
@media(max-width:780px){
  .nav-more{height:auto;display:block}
  .nav-more>.nav__more{height:auto;padding:10px;border-radius:8px;justify-content:space-between}
  .nav-more__menu{position:static;min-width:0;margin:0 0 4px;padding:4px 0 4px 8px;border:0;border-radius:8px;box-shadow:none;background:#faf9ff;display:none;opacity:1;visibility:visible;transform:none}
  .nav-more.is-open .nav-more__menu{display:block}
  .nav-more__menu:before{display:none}
  .nav-more__menu a{padding:10px 11px}
}


/* Profile contact privacy */
.profile-contact-card{position:relative}
.profile-contact-card__head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.profile-contact-card__head h2{margin:0 0 5px}
.profile-contact-card__head p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.profile-contact-card__lock{width:42px;height:42px;border-radius:50%;background:#f8eeee;display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 42px}
.profile-contact-card__result{margin-top:14px;padding:14px;border-radius:12px;background:#f7f7fb;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-contact-card__value{font-weight:700;font-size:14px;margin-right:auto;overflow-wrap:anywhere}
.profile-contact-card__result .btn{white-space:nowrap}
@media(max-width:600px){
  .profile-contact-card__head{align-items:flex-start}
  .profile-contact-card__result{flex-direction:column;align-items:stretch}
  .profile-contact-card__value{margin:0 0 5px}
  .profile-contact-card__result .btn{width:100%}
}

/* Home SEO text */
.home-seo{
  margin-top:28px;
  margin-bottom:42px;
}
.home-seo__inner{
  max-width:980px;
  padding:28px 30px;
  border:1px solid rgba(0,0,0,.07);
  border-radius:18px;
  background:#fff;
}
.home-seo h2{margin:0 0 14px;font-size:25px;line-height:1.25}
.home-seo h3{margin:24px 0 10px;font-size:19px;line-height:1.3}
.home-seo p{margin:0 0 13px;line-height:1.7;font-size:15px}
.home-seo__queries{font-size:13px!important;opacity:.72;margin-top:18px!important}
@media (max-width:780px){
  .home-seo{margin-top:20px;margin-bottom:28px}
  .home-seo__inner{padding:22px 18px;border-radius:14px}
  .home-seo h2{font-size:21px}
  .home-seo h3{font-size:17px}
  .home-seo p{font-size:14px;line-height:1.6}
}


/* Feedback page */
.feedback-page{max-width:760px;margin:0 auto;padding:6px 0 40px}
.feedback-page h1{margin:0 0 12px;font-size:36px;line-height:1.12}
.feedback-page__intro{margin:0 0 22px;color:var(--muted);font-size:15px;line-height:1.65}
.feedback-card{background:#fff;border:1px solid var(--line,#e5e7ef);border-radius:18px;padding:24px;box-shadow:0 8px 28px rgba(35,27,80,.05)}
.feedback-field{margin-bottom:17px}
.feedback-field>label{display:block;margin:0 0 7px;font-size:13px;font-weight:700;color:#25233a}
.feedback-field input[type="text"],.feedback-field input[type="email"],.feedback-field input[type="file"],.feedback-field textarea{box-sizing:border-box;width:100%;border:1px solid #dfe1ea;border-radius:11px;background:#fff;padding:12px 13px;font:inherit;color:#25233a;outline:none}
.feedback-field textarea{resize:vertical;min-height:150px;line-height:1.5}
.feedback-field input:focus,.feedback-field textarea:focus{border-color:#7548ee;box-shadow:0 0 0 3px rgba(117,72,238,.10)}
.feedback-field input[type="file"]{padding:9px}
.feedback-field select{width:100%;box-sizing:border-box;border:1px solid #dfe1ea;border-radius:11px;background:#fff;padding:12px 13px;font:inherit;color:#25233a}
.feedback-hint{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.45}
.feedback-question{margin-bottom:8px;padding:10px 12px;border-radius:10px;background:#faf0f1;font-weight:700}
.feedback-captcha{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.feedback-captcha input{max-width:220px}
.feedback-recaptcha{margin:0 0 17px}
.feedback-card__bottom{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-top:22px;padding-top:18px;border-top:1px solid #ececf2}
.feedback-note{margin:0;color:var(--muted);font-size:12px;line-height:1.5;max-width:520px}
.feedback-submit{flex:0 0 auto;white-space:nowrap}
@media (max-width:700px){.feedback-page h1{font-size:30px}.feedback-card{padding:18px}.feedback-card__bottom{align-items:stretch;flex-direction:column}.feedback-submit{width:100%}.feedback-captcha{align-items:stretch;flex-direction:column}.feedback-captcha input{max-width:none}}

/* =========================================================
   PROFILE REDESIGN — soft premium UI
   ========================================================= */
.profile-cover{height:235px;position:relative;overflow:hidden;background:#dcd9f7 url('../images/profile-cover.svg') center/cover no-repeat;border:0}
.profile-cover__blur{display:none}
.profile-cover__glow{position:absolute;border-radius:50%;filter:blur(5px);pointer-events:none}
.profile-cover__glow--one{width:360px;height:360px;left:-80px;top:-170px;background:rgba(117,91,238,.22)}
.profile-cover__glow--two{width:420px;height:420px;right:-120px;top:-220px;background:rgba(255,93,159,.18)}
.profile-cover__message{position:absolute;right:max(34px,calc((100% - 1260px)/2 + 20px));top:22px;color:rgba(255,255,255,.94);font-family:cursive;font-size:24px;line-height:1.05;text-align:center;transform:rotate(-4deg);text-shadow:0 2px 10px rgba(70,52,120,.12)}
.profile-layout{margin-top:-64px;gap:16px;z-index:2}
.profile-head{position:relative;border-radius:18px;padding:18px 18px 18px 16px;min-height:190px;gap:18px;box-shadow:0 16px 45px rgba(53,46,100,.09);border-color:#eceaf6}
.profile-avatar-wrap{position:relative;flex:0 0 208px;width:208px}
.profile-avatar{width:208px!important;height:208px!important;aspect-ratio:1/1!important;flex:0 0 208px!important;max-width:none!important;border-radius:17px;box-shadow:0 10px 28px rgba(73,59,135,.13);background:#f1f0fa}
.profile-avatar img{object-fit:cover!important}
.profile-avatar-status{position:absolute;left:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#fff;color:#24a966;font-size:10px;font-weight:800;box-shadow:0 5px 15px rgba(39,37,75,.14);border:2px solid #fff}
.profile-avatar-status span{width:7px;height:7px;border-radius:50%;background:#24b36b;box-shadow:0 0 0 3px rgba(36,179,107,.12)}
.profile-title h1{font-size:28px;letter-spacing:-.02em;margin:4px 0 5px}
.online-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px}
.online-badge span{width:7px;height:7px;border-radius:50%;background:#24b36b}
.profile-location{display:flex;align-items:center;gap:6px;color:#85889a;font-size:11px}
.profile-location svg,.profile-fact svg,.profile-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.profile-purpose{display:flex;align-items:center;gap:8px;margin-top:11px;padding:7px 10px 7px 7px;border:1px solid #ebe7fb;border-radius:11px;background:linear-gradient(135deg,#faf9ff,#f7f4ff);max-width:390px}
.profile-purpose__icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#f4e3e5;color:var(--purple)}
.profile-purpose__icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-purpose__label{font-size:10px;color:#9294a5;font-weight:600;white-space:nowrap}
.profile-purpose__value a{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f4e3e5;color:var(--purple);border:1px solid #e2d9ff;font-size:10px;font-weight:800}
.profile-facts{gap:7px;margin-top:9px}
.profile-fact{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:4px 9px;border-radius:9px;background:#f5f4fa;color:#626579;font-size:10px;border:1px solid #eeeef5}
.profile-fact b{color:#34364a}
.profile-actions{gap:8px}
.profile-actions .btn{min-height:43px;border-radius:11px;font-size:11px;padding:10px 15px}
.profile-actions .btn--primary{box-shadow:0 9px 22px rgba(166,47,70,.18)}
.profile-actions .btn--outline{border-color:#dddbea}
.profile-actions svg{width:14px;height:14px}
.boost-open-btn{width:100%;min-height:48px;margin:14px 0 0;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#6942e9,#8950f2);box-shadow:0 9px 24px rgba(104,66,232,.19);display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:12px;transition:.18s ease}
.boost-open-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(104,66,232,.25)}
.boost-open-star{color:#ffd85b;font-size:18px;line-height:1}
.profile-section-card,.profile-contact-card,.profile-rating-card,.comments-card{border-radius:17px;padding:17px 18px;margin-top:12px}
.profile-section-title{display:flex;align-items:center;gap:10px;position:relative}
.profile-section-title h2{margin:0;font-size:15px;line-height:1.2}
.profile-section-title p{margin:3px 0 0;color:#9799aa;font-size:10px;line-height:1.35}
.profile-section-icon{width:32px;height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#f0edff;color:var(--purple)}
.profile-section-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-section-icon--contact{background:#eeeaff;color:#7350ee}
.profile-section-icon--rating{background:#f8eeee;color:#7958ed}
.profile-section-icon--comments{background:#fff0f5;color:#f05b86}
.profile-section-lock{margin-left:auto;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f4f1ff;font-size:15px}
.profile-section-card .full-text{margin-top:13px;color:#56596a;font-size:12px;line-height:1.65}
.profile-contact-card__button{margin-top:14px;min-height:40px;border-radius:10px;font-size:11px;padding:9px 14px}
.profile-contact-card__result{margin-top:10px}
.profile-rating-actions{gap:10px;margin-top:14px}
.profile-rate{border-radius:11px;border-color:#e9e7f2;background:#fff;min-height:43px}
.profile-rating-total{border-radius:11px;background:#f4f1ff;min-width:70px}
.profile-side-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow);position:sticky;top:78px}
.profile-side-head{display:flex;align-items:center;gap:9px}
.profile-side-head h3{margin:0;font-size:15px}
.profile-side-icon{width:28px;height:28px;border-radius:9px;background:#f0edff;color:var(--purple);display:flex;align-items:center;justify-content:center;font-size:17px}
.profile-side .related-item{padding:10px 0;border-bottom:1px solid #f0f0f4}
.profile-side .related-item img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#f0eff8}
.profile-side .related-item b{font-size:10px}
.profile-side .related-item span{font-size:9px;color:#8b8da0}
.profile-side .more-link{font-size:10px;margin-top:12px}
@media(max-width:1050px){.profile-avatar-wrap{flex-basis:180px;width:180px}.profile-avatar{width:180px!important;height:180px!important;flex-basis:180px!important}.profile-title h1{font-size:24px}.profile-cover__message{right:28px}}
@media(max-width:780px){
 .profile-cover{height:170px}
 .profile-cover__message{right:18px;top:13px;font-size:18px}
 .profile-layout{display:block;width:calc(100% - 20px);margin-top:-48px}
 .profile-side{display:block!important;margin-top:12px;width:100%;}
 .profile-head{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;padding:14px;gap:13px;border-radius:16px;min-height:0}
 .profile-avatar-wrap{grid-column:1;width:92px;flex-basis:92px;margin-top:-2px}
 .profile-avatar{width:92px!important;height:92px!important;flex-basis:92px!important;border-radius:14px}
 .profile-avatar-status{display:none}
 .profile-title{grid-column:2;padding:0!important;min-width:0}
 .profile-title h1{font-size:19px;margin:2px 0 3px;line-height:1.2}
 .online-badge{font-size:9px}
 .profile-location{font-size:9px}
 .profile-purpose{grid-column:1/-1;width:100%;max-width:none;margin-top:0;padding:7px}
 .profile-purpose__label{font-size:9px}
 .profile-purpose__value a{font-size:9px;padding:5px 8px}
 .profile-facts{grid-column:1/-1;margin-top:0}
 .profile-fact{font-size:9px;min-height:25px;padding:3px 7px}
 .profile-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%;margin:0}
 .profile-actions .btn{width:100%;min-height:40px;padding:8px 7px;font-size:10px}
 .boost-open-btn{margin-top:10px;min-height:45px;border-radius:11px}
 .profile-section-card,.profile-contact-card,.profile-rating-card,.comments-card{padding:14px;border-radius:15px;margin-top:10px}
 .profile-section-title h2{font-size:14px}
 .profile-section-title p{font-size:9px}
 .profile-section-icon{width:30px;height:30px;flex-basis:30px;border-radius:10px}
 .profile-section-icon svg{width:16px;height:16px}
 .profile-section-lock{width:30px;height:30px;font-size:13px}
 .profile-section-card .full-text{font-size:11px;margin-top:10px}
}


/* BOOST MODAL v53 */
body.boost-modal-open{overflow:hidden}
.boost-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.boost-modal.active{opacity:1;visibility:visible;pointer-events:auto}
.boost-overlay{position:absolute;inset:0;background:rgba(25,22,45,.58);backdrop-filter:blur(7px)}
.boost-window{position:relative;z-index:2;width:min(470px,100%);max-height:min(92vh,760px);overflow-y:auto;background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:24px;padding:28px;box-shadow:0 28px 80px rgba(24,19,54,.25);transform:translateY(12px) scale(.98);transition:transform .22s ease}
.boost-modal.active .boost-window{transform:translateY(0) scale(1)}
.boost-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f4f2fa;color:#676477;font-size:26px;line-height:1;cursor:pointer}
.boost-close:hover{background:#ece9f7;color:#342f4b}
.boost-icon{width:56px;height:56px;margin:0 auto 13px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:linear-gradient(135deg,#f5edff,#ffeaf1);color:#f3bd24;font-size:27px;box-shadow:0 8px 22px rgba(166,47,70,.10)}
.boost-title{text-align:center;margin:0;color:#25243a;font-size:24px;line-height:1.2;font-weight:800}
.boost-subtitle{text-align:center;margin:9px auto 20px;max-width:390px;color:#85879a;font-size:12px;line-height:1.55}
.boost-plans{display:grid;gap:9px}
.boost-plan{position:relative;display:flex;align-items:center;gap:11px;min-height:62px;padding:10px 13px;border:1px solid #e7e5ef;border-radius:13px;background:#fff;cursor:pointer;transition:.16s ease}
.boost-plan:hover{border-color:#bcaef8;background:#fcfbff;transform:translateY(-1px)}
.boost-plan input{position:absolute;opacity:0;pointer-events:none}
.boost-radio{width:19px;height:19px;flex:0 0 19px;border:2px solid #d5d2df;border-radius:50%;position:relative}
.boost-plan input:checked + .boost-radio{border-color:#7148ed}
.boost-plan input:checked + .boost-radio:after{content:'';position:absolute;inset:4px;border-radius:50%;background:#7148ed}
.boost-plan-info{display:flex;flex-direction:column;min-width:0;flex:1}
.boost-plan-name{font-size:13px;font-weight:800;color:#29273b}
.boost-plan-desc{font-size:10px;color:#9694a5;margin-top:2px}
.boost-price{font-size:15px;font-weight:800;color:#a62f46;white-space:nowrap}
.boost-plan-popular{border-color:#bcaaf8;background:#fbf9ff}
.boost-badge{position:absolute;right:10px;top:-9px;padding:3px 7px;border-radius:99px;background:#7148ed;color:#fff;font-size:8px;font-weight:800;letter-spacing:.04em}
.boost-benefits{display:grid;gap:7px;margin:17px 0}
.boost-benefit{display:flex;align-items:center;gap:9px;color:#676679;font-size:10px;line-height:1.35}
.boost-benefit>span{width:24px;height:24px;flex:0 0 24px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f3efff;color:#7148ed;font-size:12px}
.boost-pay-btn{width:100%;min-height:50px;border:0;border-radius:13px;background:linear-gradient(135deg,#6942e9,#8950f2);color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:800;box-shadow:0 10px 25px rgba(104,66,232,.23);cursor:pointer;transition:.18s ease}
.boost-pay-btn:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(104,66,232,.3)}
.boost-pay-arrow{font-size:17px}
.boost-secure{text-align:center;margin-top:9px;color:#a1a0ad;font-size:9px}
.boost-support{text-align:center;margin-top:13px;padding-top:12px;border-top:1px solid #f0eef5;color:#9694a5;font-size:10px;line-height:1.45}
.boost-support a{color:#a62f46;font-weight:800}
@media(max-width:600px){
 .boost-modal{padding:10px}
 .boost-window{width:100%;max-height:calc(100vh - 20px);padding:22px 16px 18px;border-radius:20px}
 .boost-close{right:10px;top:9px;width:34px;height:34px;font-size:23px}
 .boost-icon{width:48px;height:48px;margin-bottom:10px;border-radius:15px;font-size:23px}
 .boost-title{font-size:20px}
 .boost-subtitle{font-size:11px;margin:7px auto 15px}
 .boost-plan{min-height:58px;padding:9px 11px}
 .boost-plan-name{font-size:12px}
 .boost-plan-desc{font-size:9px}
 .boost-price{font-size:14px}
 .boost-benefits{margin:14px 0}
 .boost-benefit{font-size:9px}
 .boost-pay-btn{min-height:47px}
}

/* =========================================
   КОММЕНТАРИИ — ГОСТЬ / ИМЯ / CAPTCHA
   ========================================= */
.comment-form__intro{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.comment-form__intro-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 42px;border-radius:13px;background:linear-gradient(135deg,rgba(108,76,240,.10),rgba(245,83,145,.10));font-size:20px}
.comment-form__intro h3{margin:0;font-size:18px;line-height:1.25}
.comment-form__intro p{margin:4px 0 0;color:#9997aa;font-size:12px;line-height:1.4}
.comment-form__field{margin-bottom:15px}
.comment-form__field>label{display:block;margin:0 0 7px;font-size:12px;font-weight:700;color:#3b3950}
.comment-form__field input[type=text],.comment-form__field input[type=email]{box-sizing:border-box;width:100%;height:44px;padding:0 13px;border:1px solid #e4e2ed;border-radius:11px;background:#fff;color:#28263b;font-size:13px;outline:none;transition:border-color .2s,box-shadow .2s}
.comment-form__field input:focus,.comment-form__captcha-input input:focus{border-color:#7650ee;box-shadow:0 0 0 3px rgba(118,80,238,.09)}
.comment-form__message{margin-bottom:15px}
.comment-form__captcha{padding:13px;border:1px solid #ebe9f2;border-radius:13px;background:#faf9fd;margin-bottom:15px}
.comment-form__captcha-title{display:flex;align-items:center;gap:7px;margin-bottom:9px;font-size:11px;font-weight:700;color:#4c4960}
.comment-form__captcha-row{display:flex;align-items:center;gap:10px}
.comment-form__captcha-image{flex:0 0 auto;line-height:0}
.comment-form__captcha-image img{display:block;max-width:120px;height:auto;border-radius:7px}
.comment-form__captcha-input{flex:1;min-width:0}
.comment-form__captcha-input input{box-sizing:border-box;width:100%;height:42px;padding:0 11px;border:1px solid #e2e0e9;border-radius:10px;background:#fff;color:#28263b;font-size:12px;outline:none}
.comment-form__footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:4px}
.comment-form__hint{color:#9997aa;font-size:11px;line-height:1.45;max-width:50%}
.comment-form__actions{display:flex;justify-content:flex-end;margin:0!important;flex:0 0 auto}
.comment-form__submit{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 20px;border:0;border-radius:11px;font-weight:700}

@media(max-width:600px){
 .comment-form__intro{align-items:flex-start;margin-bottom:16px;gap:10px}
 .comment-form__intro-icon{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:18px}
 .comment-form__intro h3{font-size:17px}
 .comment-form__intro p{font-size:11px}
 .comment-form__field{margin-bottom:13px}
 .comment-form__field>label{font-size:11px;margin-bottom:6px}
 .comment-form__field input[type=text],.comment-form__field input[type=email]{height:42px;font-size:13px}
 .comment-form__captcha{padding:11px;margin-bottom:13px}
 .comment-form__captcha-row{gap:8px}
 .comment-form__captcha-image img{max-width:105px}
 .comment-form__captcha-input input{height:40px;font-size:11px}
 .comment-form__footer{display:block;margin-top:2px}
 .comment-form__hint{max-width:none;margin:0 0 10px;text-align:left;font-size:10px}
 .comment-form__actions{width:100%;display:block!important}
 .comment-form__submit{width:100%;min-height:44px;font-size:13px}
}


/* =========================================================
   GUEST ADD PROFILE — v53
   Scoped only to ?do=guest_add_profile
   ========================================================= */
.guest-add-profile-page{
  width:min(900px,calc(100% - 32px));
  margin:0 auto;
  padding:28px 0 64px;
}
.guest-add-profile-page > *{min-width:0}

/* The guest plugin may output .box / .form-wrap or a plain form.
   Normalize all of them so the form cannot collapse to ~460px. */
.guest-add-profile-page .box,
.guest-add-profile-page .form-wrap,
.guest-add-profile-page form{
  width:min(760px,100%) !important;
  max-width:760px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box;
}

/* Main form card */
.guest-add-profile-page .box,
.guest-add-profile-page .form-wrap{
  padding:28px !important;
  background:#fff;
  border:1px solid #e8e8f0;
  border-radius:18px;
  box-shadow:0 14px 40px rgba(39,37,75,.07);
}
.guest-add-profile-page form{
  padding:28px !important;
  background:#fff;
  border:1px solid #e8e8f0;
  border-radius:18px;
  box-shadow:0 14px 40px rgba(39,37,75,.07);
}

/* Remove old DLE table/form spacing that creates a narrow, broken layout. */
.guest-add-profile-page form table{
  width:100% !important;
  max-width:none !important;
  border-collapse:separate !important;
  border-spacing:0 12px !important;
}
.guest-add-profile-page form tr,
.guest-add-profile-page form tbody{width:100% !important}
.guest-add-profile-page form td{
  padding:0 !important;
  border:0 !important;
  vertical-align:top;
}

/* Labels */
.guest-add-profile-page form label,
.guest-add-profile-page .field-label,
.guest-add-profile-page form td:first-child{
  color:#73768a;
  font-size:11px;
  line-height:1.35;
}
.guest-add-profile-page form label{
  display:block;
  margin:0 0 6px;
  font-weight:600;
}

/* All native controls */
.guest-add-profile-page form input:not([type="submit"]):not([type="button"]):not([type="hidden"]),
.guest-add-profile-page form select,
.guest-add-profile-page form textarea{
  display:block;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:44px;
  box-sizing:border-box !important;
  padding:10px 12px;
  border:1px solid #dedfea;
  border-radius:10px;
  background:#fff;
  color:#24243a;
  outline:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.guest-add-profile-page form textarea{min-height:110px;resize:vertical}
.guest-add-profile-page form input:focus,
.guest-add-profile-page form select:focus,
.guest-add-profile-page form textarea:focus{
  border-color:#9d8bea;
  box-shadow:0 0 0 3px rgba(104,66,232,.09);
}

/* File upload */
.guest-add-profile-page form input[type="file"]{
  min-height:44px;
  padding:7px !important;
  background:#fafaff;
  cursor:pointer;
}
.guest-add-profile-page form input[type="file"]::file-selector-button{
  border:0;
  border-radius:8px;
  padding:8px 13px;
  margin-right:9px;
  background:#eeeaff;
  color:#a62f46;
  font:700 11px Inter,Arial,sans-serif;
  cursor:pointer;
}

/* Two-column rows when the plugin uses adjacent cells */
.guest-add-profile-page form .form-grid,
.guest-add-profile-page .form-grid{
  width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 12px;
}
.guest-add-profile-page form .field{min-width:0;margin-bottom:0}
.guest-add-profile-page form .field input,
.guest-add-profile-page form .field select,
.guest-add-profile-page form .field textarea{width:100% !important}

/* Hints / helper text */
.guest-add-profile-page form small,
.guest-add-profile-page form .hint,
.guest-add-profile-page form .field-hint{
  display:block;
  margin-top:6px;
  color:#9a9cad;
  font-size:10px;
  line-height:1.45;
}

/* Submit / primary action */
.guest-add-profile-page form input[type="submit"],
.guest-add-profile-page form button[type="submit"],
.guest-add-profile-page form .btn[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 24px;
  border:0;
  border-radius:11px;
  background:linear-gradient(135deg,#a62f46,#c13f58);
  color:#fff;
  font-size:13px;
  font-weight:800;
  box-shadow:0 9px 22px rgba(104,66,232,.20);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease;
}
.guest-add-profile-page form input[type="submit"]:hover,
.guest-add-profile-page form button[type="submit"]:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(104,66,232,.26);
}

/* If plugin has its own title inside the card */
.guest-add-profile-page form h1,
.guest-add-profile-page form h2,
.guest-add-profile-page .box h1,
.guest-add-profile-page .box h2,
.guest-add-profile-page .form-wrap h1,
.guest-add-profile-page .form-wrap h2{
  margin-top:0;
  color:#24243a;
}

@media(max-width:700px){
  .guest-add-profile-page{
    width:calc(100% - 20px);
    padding:18px 0 42px;
  }
  .guest-add-profile-page form,
  .guest-add-profile-page .box,
  .guest-add-profile-page .form-wrap{
    padding:18px !important;
    border-radius:15px;
  }
  .guest-add-profile-page form .form-grid,
  .guest-add-profile-page .form-grid{grid-template-columns:1fr}
}


/* v55: payment link + footer cleanup */
.footer__legal{
  display:block;
  max-width:1260px;
  margin:18px auto 0;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.footer__legal p{
  max-width:760px;
  margin:0;
  color:#8a8d9e;
  font-size:11px;
  line-height:1.65;
}
@media(max-width:780px){
  .footer__legal{margin-top:16px;padding-top:16px}
  .footer__legal p{max-width:none;font-size:10px;line-height:1.55}
}


/* =========================================================
   GUEST / FEEDBACK FINAL ALIGNMENT — v56
   ========================================================= */

/* Guest form: make the bottom notice a real full-width block.
   The plugin can render this text as an unclassed paragraph after
   the submit button, which otherwise lets the button overlap it. */
.guest-add-profile-page form > p:last-child,
.guest-add-profile-page form > .form-note:last-child,
.guest-add-profile-page form > .hint:last-child,
.guest-add-profile-page form > small:last-child{
  clear:both !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:18px 0 0 !important;
  padding:14px 0 0 !important;
  border-top:1px solid #eeeef4 !important;
  color:#7f8293 !important;
  font-size:12px !important;
  line-height:1.55 !important;
  text-align:left !important;
  float:none !important;
}

/* If the plugin uses a floating submit control, prevent the note from
   occupying the same line. */
.guest-add-profile-page form input[type="submit"],
.guest-add-profile-page form button[type="submit"]{
  float:none !important;
}
.guest-add-profile-page form .submit,
.guest-add-profile-page form .form-submit,
.guest-add-profile-page form .form-actions{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  width:100% !important;
  margin-top:18px !important;
}
.guest-add-profile-page form .submit + p,
.guest-add-profile-page form .form-submit + p,
.guest-add-profile-page form .form-actions + p{
  clear:both !important;
}

/* Feedback is a standalone page, not a category card/grid. */
.feedback-shell{
  padding-top:28px !important;
  padding-bottom:48px !important;
  min-height:600px;
}
.feedback-shell .feedback-page{
  width:100% !important;
  max-width:760px !important;
  margin:0 auto !important;
  padding:0 !important;
}
.feedback-shell .feedback-card{
  width:100% !important;
  max-width:none !important;
}

@media(max-width:700px){
  .guest-add-profile-page form .submit,
  .guest-add-profile-page form .form-submit,
  .guest-add-profile-page form .form-actions{
    justify-content:stretch !important;
  }
  .guest-add-profile-page form .submit input[type="submit"],
  .guest-add-profile-page form .form-submit input[type="submit"],
  .guest-add-profile-page form .form-actions input[type="submit"],
  .guest-add-profile-page form .submit button[type="submit"],
  .guest-add-profile-page form .form-submit button[type="submit"],
  .guest-add-profile-page form .form-actions button[type="submit"]{
    width:100% !important;
  }
}


/* =========================================================
   FEEDBACK FILTER REMOVAL — v57
   The feedback page must never show the category/search filter.
   This selector also works if DLE places the filter outside the
   feedback wrapper because the page contains .feedback-page.
   ========================================================= */
body:has(.feedback-page) .filter-box,
body:has(.feedback-page) .main-filter,
body:has(.feedback-page) .page-head{
  display:none !important;
}

body:has(.feedback-page) .feedback-shell{
  padding-top:34px !important;
}

/* v58 — compact and balanced related profiles sidebar */
.profile-layout{align-items:start}
.profile-side{min-width:0;align-self:start}
.profile-side-card{padding:14px 14px 12px;border-radius:16px;box-shadow:0 10px 28px rgba(39,37,75,.055);position:sticky;top:78px}
.profile-side-head{display:flex;align-items:center;gap:9px;padding:1px 1px 11px;border-bottom:1px solid #f0f0f4}
.profile-side-head h3{margin:0;font-size:13px;line-height:1.2;font-weight:800}
.profile-side-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f6e8e9;color:var(--purple);font-size:17px;line-height:1}
.profile-side .related-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;padding:9px 1px;border-bottom:1px solid #f0f0f4;transition:background .18s ease}
.profile-side .related-item:last-of-type{border-bottom:0}
.profile-side .related-item:hover{background:#faf9ff;border-radius:9px}
.profile-side .related-item img{width:34px;height:34px;border-radius:50%;object-fit:cover;display:block;background:#eeeaff}
.profile-side .related-item>div{min-width:0;display:flex;flex-direction:column;gap:1px}
.profile-side .related-item b{display:block;font-size:10.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-side .related-item span{display:block;color:#9295a5;font-size:9px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-side .more-link{display:flex;align-items:center;justify-content:center;margin:9px 0 0;padding-top:9px;border-top:1px solid #f0f0f4;font-size:10.5px}

@media(max-width:1050px){
  .profile-side-card{position:static}
}
@media(max-width:780px){
  /* Related profiles are part of the mobile page, directly below the main profile content. */
  .profile-side{display:block!important;position:static!important;width:100%;margin-top:12px}
  .profile-side-card{position:static!important;padding:12px;border-radius:15px}
  .profile-side-head{padding-bottom:10px}
  .profile-side .related-item{grid-template-columns:36px minmax(0,1fr);padding:8px 1px}
  .profile-side .related-item img{width:36px;height:36px}
  .profile-side .related-item b{font-size:10.5px}
  .profile-side .related-item span{font-size:9px}
  .profile-side .more-link{margin-top:8px;padding-top:8px}
}


/* v60 — improve readability of the "О себе" text */
.profile-section-card .full-text,
.profile-section-card .full-text p,
.profile-section-card .full-text div,
.profile-section-card .full-text span {
  color:#45485a !important;
  font-size:15px !important;
  line-height:1.75 !important;
  font-weight:400 !important;
}
.profile-section-card .full-text {
  margin-top:15px !important;
  letter-spacing:0 !important;
}
.profile-section-card .full-text p {
  margin:0 0 10px !important;
}
.profile-section-card .full-text p:last-child {
  margin-bottom:0 !important;
}
@media(max-width:700px){
  .profile-section-card .full-text,
  .profile-section-card .full-text p,
  .profile-section-card .full-text div,
  .profile-section-card .full-text span {
    font-size:15px !important;
    line-height:1.7 !important;
  }
}











/* ========================================
   KRASNODAR.GAY SMARTLINK
======================================== */

.ke-smartlink {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 24px;
    margin: 18px 0;
    border-radius: 16px;
    overflow: hidden;

    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 35%),
        linear-gradient(135deg, #5428d9 0%, #7439ed 55%, #a33df0 100%);

    color: #fff;
    box-shadow: 0 8px 25px rgba(91, 48, 210, .20);
}

.ke-smartlink::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.ke-smartlink-icon {
    position: relative;
    z-index: 2;

    flex: 0 0 48px;
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.18);

    font-size: 25px;
}

.ke-smartlink-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

.ke-smartlink-title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 5px;
}

.ke-smartlink-text {
    font-size: 13px;
    line-height: 1.45;
    opacity: .88;
}

.ke-smartlink-btn {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 42px;
    padding: 0 20px;

    border-radius: 11px;

    background: #fff;
    color: #6631df !important;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;

    transition: .2s ease;
}

.ke-smartlink-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,.18);
}

/* MOBILE */

@media (max-width: 700px) {

    .ke-smartlink {
        gap: 13px;
        padding: 16px;
        border-radius: 14px;
    }

    .ke-smartlink-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 20px;
    }

    .ke-smartlink-title {
        font-size: 15px;
    }

    .ke-smartlink-text {
        font-size: 12px;
    }

    .ke-smartlink-btn {
        padding: 0 13px;
        min-height: 38px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .ke-smartlink {
        display: block;
        padding: 17px;
    }

    .ke-smartlink-icon {
        margin-bottom: 10px;
    }

    .ke-smartlink-content {
        margin-bottom: 13px;
    }

    .ke-smartlink-btn {
        width: 100%;
    }
}







.ke-smartlink-mobile {
    display: none;

    position: fixed;
    z-index: 99999;

    left: 12px;
    right: 12px;
    bottom: 12px;

    align-items: center;

    padding: 11px 12px;

    border-radius: 15px;

    background: linear-gradient(135deg, #5428d9, #9139e9);

    color: #fff;

    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.ke-smartlink-mobile-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 10px;

    border-radius: 10px;

    background: rgba(255,255,255,.15);

    font-size: 18px;
}

.ke-smartlink-mobile-content {
    flex: 1;
    min-width: 0;
}

.ke-smartlink-mobile-content strong,
.ke-smartlink-mobile-content span {
    display: block;
}

.ke-smartlink-mobile-content strong {
    font-size: 13px;
}

.ke-smartlink-mobile-content span {
    margin-top: 2px;
    font-size: 10px;
    opacity: .8;
}

.ke-smartlink-mobile > a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 0 12px;

    border-radius: 9px;

    background: #fff;
    color: #6530df !important;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none !important;
}

.ke-smartlink-mobile-close {
    position: absolute;

    right: -4px;
    top: -9px;

    width: 22px;
    height: 22px;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #555;

    cursor: pointer;

    font-size: 16px;
    line-height: 20px;
}

@media (min-width: 701px) {
    .ke-smartlink-mobile {
        display: none !important;
    }
}

/* Comment author profile popup fallback */
.site-profile-popup-open{overflow:hidden}


/* Native DLE profile popup: keep the engine dialog centered and compact. */
body > .ui-dialog:has(#dleprofilepopup){
  position:fixed!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  width:min(450px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  height:auto!important;
  max-height:calc(100vh - 24px)!important;
  margin:0!important;
  z-index:100001!important;
}
body > .ui-dialog:has(#dleprofilepopup) .ui-dialog-content{
  width:auto!important;
  height:auto!important;
  max-height:calc(100vh - 80px)!important;
  overflow:auto!important;
  box-sizing:border-box!important;
}
body > .ui-widget-overlay{
  z-index:100000!important;
  background:rgba(25,22,42,.42)!important;
  opacity:1!important;
}
@media(max-width:520px){
  body > .ui-dialog:has(#dleprofilepopup){
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
  }
}


/* V5: clean DLE profile dialog shell.
   DLE creates .ui-dialog around #dleprofilepopup; the titlebar and buttonpane
   are siblings of the content, so styling only #dleprofilepopup was insufficient. */
.site-profile-dialog{
  width:auto!important;
  max-width:none!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:visible!important;
}
.site-profile-dialog .ui-dialog-titlebar,
.site-profile-dialog .ui-dialog-buttonpane{
  display:none!important;
}
.site-profile-dialog .ui-dialog-content,
.site-profile-dialog #dleprofilepopup{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.site-profile-dialog .profile-popup-card{
  margin:0!important;
}
.profile-popup-card{
  box-sizing:border-box;
}
.profile-popup-card__close{
  position:absolute;
  top:10px;
  right:10px;
  z-index:5;
  width:28px;
  height:28px;
  padding:0;
  border:1px solid #eceaf4;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:#77798a;
  font-size:17px;
  line-height:25px;
  text-align:center;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(40,35,80,.08);
}
.profile-popup-card__close:hover{
  color:var(--purple);
  border-color:#ddd6fb;
  background:#fff;
}
@media(max-width:520px){
  .site-profile-dialog{
    max-width:calc(100vw - 20px)!important;
  }
  .site-profile-dialog .profile-popup-card{
    width:calc(100vw - 20px)!important;
    max-width:380px!important;
  }
}



/* Fast search dropdown — native DLE #searchsuggestions */
#searchsuggestions{
  position:absolute;
  z-index:99999!important;
  width:520px;
  max-width:calc(100vw - 20px);
  margin-top:8px!important;
  padding:6px;
  box-sizing:border-box;
  background:#fff!important;
  border:1px solid #e5e2f2!important;
  border-radius:14px!important;
  box-shadow:0 18px 45px rgba(31,27,65,.18)!important;
  overflow:hidden;
  color:var(--ink)!important;
  font-size:12px!important;
}
#searchsuggestions a,
#searchsuggestions a.fast-search-item{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  box-sizing:border-box!important;
  padding:11px 12px!important;
  margin:0!important;
  background:#fff!important;
  color:var(--ink)!important;
  text-decoration:none!important;
  border:0!important;
  border-bottom:1px solid #f0eef6!important;
  border-radius:9px!important;
  overflow:hidden!important;
}
#searchsuggestions a:last-of-type{border-bottom:0!important}
#searchsuggestions a:hover{background:#f7f4ff!important}
#searchsuggestions .fast-search-item__title,
#searchsuggestions .searchheading{
  display:block!important;
  padding:0!important;
  margin:0!important;
  background:none!important;
  color:var(--ink)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
#searchsuggestions .fast-search-item__text{
  display:block!important;
  margin:3px 0 0!important;
  padding:0!important;
  color:var(--muted)!important;
  background:none!important;
  font-size:11px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#searchsuggestions .break,
#searchsuggestions span.seperator{
  display:block!important;
  padding:8px 10px 3px!important;
  margin:0!important;
  background:#fff!important;
  color:#8b8ea0!important;
  font-size:11px!important;
  line-height:1.3!important;
}
#searchsuggestions .break a,
#searchsuggestions span.seperator a{
  display:inline!important;
  padding:0!important;
  margin:0!important;
  background:none!important;
  border:0!important;
  border-radius:0!important;
  color:var(--purple)!important;
  font-size:11px!important;
  font-weight:700!important;
  text-decoration:none!important;
}
#searchsuggestions .notfound{
  display:block!important;
  padding:11px 12px!important;
  background:#fff!important;
  color:var(--muted)!important;
}
@media(max-width:600px){
  #searchsuggestions{max-width:calc(100vw - 20px);padding:5px;border-radius:12px}
  #searchsuggestions a,#searchsuggestions a.fast-search-item{padding:10px!important}
}

/* V10 — unified guest / registered author avatars */
.publication-author-state,
.profile-author-state,
.comment-author-state{display:none!important}
.person-row-wrap{display:block;position:relative}
.related-item__avatar{display:inline-flex;flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden;background:#eee}
.related-item__avatar img{width:100%;height:100%;object-fit:cover}
.publication-avatar img,
.user-post-card__avatar img,
.person-row .avatar img,
.comment-avatar-img,
.profile-avatar img,
.profile-popup-card__avatar img,
.userinfo-head .avatar img,
.pm-message__avatar img,
.pm-chat__identity .pm-avatar img{object-fit:cover}

/* V10 — fast search is anchored directly under the hero search form */
.search-form{position:relative;z-index:100001}
#searchsuggestions{
  position:fixed!important;
  left:auto;
  top:auto;
  z-index:1000000!important;
  margin:0!important;
  padding:6px!important;
  width:auto;
  max-width:none!important;
  background:#fff!important;
  border:1px solid #e5e2f2!important;
  border-radius:14px!important;
  box-shadow:0 18px 45px rgba(31,27,65,.18)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
#searchsuggestions a,
#searchsuggestions a.fast-search-item{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  padding:11px 12px!important;
  margin:0!important;
  box-sizing:border-box!important;
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #f0eef6!important;
  border-radius:9px!important;
  color:var(--ink)!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
#searchsuggestions a:hover,
#searchsuggestions a.fast-search-item:hover{background:#f7f4ff!important}
#searchsuggestions .fast-search-item__title,
#searchsuggestions .searchheading{
  display:block!important;
  margin:0!important;
  padding:0!important;
  background:none!important;
  color:var(--ink)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
#searchsuggestions .fast-search-item__text{
  display:block!important;
  margin:3px 0 0!important;
  padding:0!important;
  background:none!important;
  color:var(--muted)!important;
  font-size:11px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#searchsuggestions .break,
#searchsuggestions span.seperator{
  display:block!important;
  padding:8px 10px 3px!important;
  margin:0!important;
  background:#fff!important;
  color:#8b8ea0!important;
  font-size:11px!important;
}
#searchsuggestions .notfound{padding:11px 12px!important;color:var(--muted)!important;background:#fff!important}
@media(max-width:600px){
  #searchsuggestions{border-radius:12px!important;padding:5px!important}
  #searchsuggestions a,#searchsuggestions a.fast-search-item{padding:10px!important}
}


/* v11 — reliable guest/registered author detection */
.publication-author-probe,
.profile-author-probe{
  display:none!important;
}

/* The fallback images are already circular illustrations.
   Keep the image itself circular and never stretch its transparent corners. */
.publication-avatar img,
.related-item__avatar img,
.user-post-card__avatar img,
.person-row .avatar img,
.comment-avatar-img,
.profile-avatar img,
.profile-popup-card__avatar img,
.userinfo-head .avatar img{
  object-fit:cover;
  object-position:center;
  display:block;
}

.publication-avatar,
.related-item__avatar,
.user-post-card__avatar,
.person-row .avatar,
.comment__avatar{
  overflow:hidden;
}

@media(max-width:600px){
  .publication-avatar img,
  .related-item__avatar img,
  .user-post-card__avatar img,
  .person-row .avatar img,
  .comment-avatar-img{
    object-fit:cover;
  }
}

.publication-author-login-probe{display:none!important}
