/* MYKINO.CC — Profile Popup V2. Only DLE profile/admin dialogs and their content. */
.mk-profile-popup, .mk-profile-popup * {box-sizing:border-box}
.mk-profile-popup {font-family:var(--mk-georgian-font,"BPG WEB 001",system-ui,sans-serif);color:#f3f5f9;min-width:0;max-width:100%;padding:0;background:transparent;border:0}
.mk-profile-popup .mk-popup-identity {display:flex;align-items:center;gap:15px;padding:4px 0 20px}
.mk-profile-popup .mk-popup-avatar {display:block;width:66px;height:66px;flex:none;border-radius:50%;overflow:hidden;background:#25262d;border:2px solid #ff783e88;box-shadow:0 0 0 4px #ff783e0b}
.mk-profile-popup .mk-popup-avatar img {display:block;width:100%;height:100%;object-fit:cover}
.mk-profile-popup .mk-popup-person {min-width:0;flex:1;overflow-wrap:anywhere}
.mk-profile-popup .mk-popup-identity strong {display:block;font-size:19px;font-weight:850;line-height:1.5;color:#fff}
.mk-profile-popup .mk-popup-identity small {display:block;font-size:12px;line-height:1.6;color:#ffab84}
.mk-profile-popup .mk-popup-status {display:flex;align-items:center;gap:6px;margin-top:4px;font-size:11px;line-height:1.5;color:#a4a8b2}
.mk-profile-popup .mk-popup-status::before {content:"";display:block;width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.mk-profile-popup .mk-popup-status.is-online {color:#55d5a0}
.mk-profile-popup .mk-popup-details {margin:0;display:grid;padding:4px 13px;background:#101218;border:1px solid #ffffff16;border-radius:12px}
.mk-profile-popup .mk-popup-details>div {display:grid;grid-template-columns:minmax(85px,.85fr) minmax(0,1.5fr);align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ffffff12}
.mk-profile-popup .mk-popup-details>div:last-child {border-bottom:0}
.mk-profile-popup .mk-popup-details dt {font-size:11px;color:#a3a8b4;line-height:1.55}
.mk-profile-popup .mk-popup-details dd {margin:0;text-align:right;font-size:12px;line-height:1.55;color:#f2f3f7;overflow-wrap:anywhere}
.mk-profile-popup .mk-popup-details a {color:#ffb18b}
.mk-profile-popup .mk-popup-actions {margin:12px 0 0;font-size:11px;color:#ffad85}
.mk-profile-popup .mk-popup-actions a {display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #ff783e35;background:#ff783e0c;border-radius:6px;color:#ffad85;text-decoration:none}
.mk-profile-popup a:hover {color:#fff}
/* Native jQuery UI widget, including versions without legacy engine.css. */
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) {
  box-sizing:border-box;position:fixed!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;
  display:flex;flex-direction:column;width:min(520px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;min-width:0!important;
  max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;
  border:1px solid #ff783e45!important;border-radius:17px!important;background:#15171e!important;color:#f7f7f8!important;
  font-family:var(--mk-georgian-font,"BPG WEB 001",system-ui,sans-serif);font-size:13px;line-height:1.6;
  box-shadow:0 28px 100px #000b,0 0 0 1px #ffffff06;z-index:1201;
}
body.mk-dle .ui-dialog.dle-popup-userprofileadmin {width:min(760px,calc(100vw - 28px))!important}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar {
  position:relative!important;display:flex!important;align-items:center;flex:0 0 auto;gap:10px;min-height:61px;padding:13px 59px 13px 19px!important;
  border:0!important;border-bottom:1px solid #ffffff16!important;border-radius:0!important;background:linear-gradient(100deg,#251d1d,#191b22 60%)!important;color:#fff!important;box-shadow:inset 3px 0 #ff783e;cursor:default
}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar::before {content:"";width:34px;height:34px;flex:none;border:1px solid #ff783e40;border-radius:9px;background:#ff783e12 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff783e' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E") center/19px no-repeat}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-title {float:none!important;display:block;width:auto!important;min-width:0;margin:0!important;color:#fff!important;font-size:14px;font-weight:850;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar-close {position:absolute!important;top:50%!important;right:13px!important;left:auto!important;transform:translateY(-50%)!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center;border:1px solid #ffffff20!important;border-radius:9px!important;background:#262831!important;color:transparent!important;font-size:0!important;line-height:0!important;cursor:pointer}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar-close::after {content:'×';color:#e4e5e9;font:25px/1 system-ui,sans-serif}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar-close span {display:none!important}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar-close:hover {background:#ff783e20!important;border-color:#ff783e80!important}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-content {flex:1 1 auto;min-height:0!important;height:auto!important;max-width:100%;overflow:auto!important;overscroll-behavior:contain;padding:20px!important;border:0!important;background:transparent!important;color:#f0f1f4!important;scrollbar-width:thin;scrollbar-color:#ff783e60 transparent}
body.mk-dle .ui-dialog.dle-popup-userprofileadmin iframe {display:block;width:100%;max-width:100%;border:0;min-height:240px}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-buttonpane {flex:0 0 auto;margin:0!important;padding:15px 19px!important;border:0!important;border-top:1px solid #ffffff14!important;background:#191b22!important}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-buttonset {display:flex!important;float:none!important;flex-wrap:wrap;gap:9px;width:100%;margin:0;justify-content:flex-end}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-buttonpane button {display:inline-flex!important;align-items:center;justify-content:center;gap:7px;flex:1 1 150px;min-width:0;min-height:43px;padding:10px 12px!important;margin:0!important;border:1px solid #ffffff20!important;border-radius:9px!important;background:#24262f!important;color:#f3f3f7!important;line-height:1.5;font-family:inherit;font-size:12px;font-weight:750;white-space:normal;overflow-wrap:anywhere;cursor:pointer;box-shadow:none!important;transition:background .18s,border-color .18s,color .18s}
body.mk-dle .ui-dialog.dle-popup-userprofile .ui-dialog-buttonpane button:first-child {background:#ff783e!important;border-color:#ff783e!important;color:#21110b!important}
body.mk-dle .ui-dialog.dle-popup-userprofile .ui-dialog-buttonpane button:nth-child(3) {flex-basis:100%;background:#ff783e0d!important;border-color:#ff783e40!important;color:#ffad85!important}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-buttonpane button:hover {border-color:#ff783e!important;background:#ff783e20!important;color:#ffb18b!important}
body.mk-dle .ui-dialog.dle-popup-userprofile .ui-dialog-buttonpane button:first-child:hover {background:#ff9868!important;color:#21110b!important}
body.mk-dle .ui-dialog.dle-popup-userprofileadmin .ui-dialog-buttonpane .ui-button-delete {background:#b83340!important;color:#fff!important;border-color:#e05a65!important}
body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) :is(a,button):focus-visible {outline:2px solid #ffad85!important;outline-offset:2px}
body.mk-dle .ui-widget-overlay.mk-profile-overlay {position:fixed!important;inset:0!important;width:100%!important;height:100%!important;background:#040509c9!important;opacity:1!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
/* PM styles already exist in mykino-messages.css; class is applied by V2 JS. */
body.mk-dle .ui-dialog.mk-profile-pm-dialog {z-index:1201}
@media(max-width:550px){
 body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-content{padding:15px!important}
 body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-titlebar{padding-left:13px!important}
 body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-buttonpane{padding:12px!important}
 body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) .ui-dialog-buttonpane button{flex-basis:125px;font-size:11px}
 .mk-profile-popup .mk-popup-avatar{width:54px;height:54px}.mk-profile-popup .mk-popup-identity strong{font-size:16px}.mk-profile-popup .mk-popup-details{padding:3px 10px}
 .mk-profile-popup .mk-popup-details>div{gap:8px;padding:10px 0}.mk-profile-popup .mk-popup-details dd{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body.mk-dle .ui-dialog:is(.mk-profile-dialog,.dle-popup-userprofile,.dle-popup-userprofileadmin) button{transition:none!important}}
