/* MYKINO.CC • Orange Noir account system, shared components. All code limited to MK account pages. */
:root {
  --mk-auth-accent: #ff783e;
  --mk-auth-bg: #0b0c10;
  --mk-auth-surface: #14161c;
  --mk-auth-card: #171a23;
  --mk-auth-line: #ffffff17;
  --mk-auth-text: #f6f6f8;
  --mk-auth-muted: #94a0b5;
}

.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page,.mk-profile-popup,.mk-info-message),
.mk-dle .mk-account {
  font-family: var(--mk-georgian-font, "BPG WEB 001", system-ui, sans-serif);
  color: var(--mk-auth-text);
}

.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page,.mk-profile-popup) *,
.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page,.mk-profile-popup) *:before,
.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page,.mk-profile-popup) *:after {
  box-sizing: border-box;
}

.mk-dle .mk-news-grid:has(:is(.mk-auth-page,.mk-profile-page,.mk-pm-page,.mk-info-message)) {
  display: block!important;
  min-width: 0;
  max-width: 100%;
  padding: 0!important;
}

.mk-dle .mk-page-content:has(.mk-auth-page) {
  padding-top: 0!important;
  width: 100%;
  max-width: none;
  margin: auto;
}

.mk-dle .mk-page-content:has(.mk-profile-page,.mk-pm-page) {
  width: min(100% - 48px,1400px);
  padding-top: 22px;
}

.mk-dle .mk-page-content:has(.mk-auth-page,.mk-profile-page,.mk-pm-page)>.mk-page-heading {
  display: none;
}

.mk-dle .mk-page-content:has(.mk-auth-page,.mk-profile-page,.mk-pm-page)>.mk-dle-info:empty {
  display: none;
}

.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page) :is(h1,h2,h3,p) {
  margin-top: 0;
}

.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page) a {
  color: inherit;
  text-decoration: none;
}

.mk-dle :is(.mk-auth-page,.mk-profile-page,.mk-pm-page) a:hover {
}

.mk-dle .mk-panel {
  border: 1px solid #ffffff13;
  background: #141720;
  border-radius: 13px;
  padding: 20px 22px;
  color: #eeeef2;
  min-width: 0;
}

.mk-dle .mk-panel h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 5px 0 15px;
  font-weight: 850;
}

.mk-dle .mk-card-eyebrow {
  font-size: 10px;
  letter-spacing: 1.15px;
  color: #8f9bb0;
  font-weight: 700;
}

.mk-dle .mk-muted {
  color: var(--mk-auth-muted);
  font-size: 12px;
  line-height: 1.8;
}

.mk-dle .mk-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}

.mk-dle .mk-field>label {
  display: block;
  color: #b3b8c6;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
}

.mk-dle .mk-field :is(input:not([type=checkbox]),textarea,select),
.mk-dle .mk-pm-page :is(input,textarea,select),
.mk-dle .mk-profile-page :is(input:not([type=checkbox]),textarea,select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  background: #1b202a!important;
  color: #f0f2f7!important;
  border: 1px solid #303846!important;
  border-radius: 9px!important;
  padding: 10px 13px!important;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: none!important;
  outline: none;
  transition: border-color .15s,box-shadow .15s;
}

.mk-dle .mk-field input::placeholder,
.mk-dle .mk-pm-page input::placeholder {
  color: #747e90;
}

.mk-dle .mk-field :is(input,textarea,select):focus,
.mk-dle .mk-pm-page :is(input,textarea,select):focus {
  border-color: #ff783e!important;
  box-shadow: 0 0 0 3px #ff783e1c!important;
}

.mk-dle .mk-field input[type=file] {
  min-height: 48px;
  padding: 10px!important;
}

.mk-dle .mk-field input[type=checkbox] {
  accent-color: #ff783e;
  width: auto;
  height: auto;
}

.mk-dle .mk-field textarea {
  resize: vertical;
  min-height: 110px;
}

.mk-dle .mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 8px;
  background: #1b1f28;
  color: #e7e8ee;
  border: 1px solid #ffffff24;
  font-size: 12px;
  font-weight: 750;
  padding: 10px 15px;
  cursor: pointer;
  transition: background .17s,border-color .17s,color .17s;
}

.mk-dle .mk-btn:hover {
  border-color: #ff783e8d;
  background: #ff783e15;
  color: #ffad87;
}

.mk-dle .mk-btn-primary {
  background: #ff783e;
  border-color: #ff783e;
  color: #21120c;
}

.mk-dle .mk-btn-primary:hover {
  background: #ff986c;
  color: #15110e;
  border-color: #ff986c;
}

.mk-dle .mk-password-wrap {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
}

.mk-dle .mk-password-wrap>input {
  padding-right: 45px!important;
}

.mk-dle .mk-password-wrap>button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #989fae;
  cursor: pointer;
  min-width: 35px;
  height: 34px;
  border-radius: 7px;
  font-size: 17px;
}

.mk-dle .mk-password-wrap>button:hover {
  color: #ff783e;
  background: #ffffff0d;
}

.mk-dle .mk-captcha {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  margin: 18px 0;
}

.mk-dle .mk-captcha :is(img,iframe,div) {
  max-width: 100%;
}

.mk-dle .mk-captcha :is(input,textarea) {
  max-width: 360px!important;
}

.mk-dle .mk-auth-social {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.mk-dle .mk-auth-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  background: #1d2330;
  border: 1px solid #ffffff1b;
  border-radius: 7px;
  font-size: 11px;
  color: #cbd0dc;
}

.mk-dle .mk-auth-social a:hover {
  border-color: #ff783e;
  color: #ff783e;
}

.mk-dle .mk-extra-fields {
  min-width: 0;
  overflow-x: auto;
  margin: 16px 0;
}

.mk-dle .mk-extra-fields .xfields {
  max-width: 100%;
  width: 100%;
  color: #fff;
}

.mk-dle .mk-extra-fields .xfields :is(td,th) {
  padding: 10px;
  word-break: break-word;
}

.mk-dle .mk-extra-fields input,
.mk-dle .mk-extra-fields textarea {
  max-width: 100%;
}

@media(max-width:650px) {
  .mk-dle .mk-page-content:has(.mk-profile-page,.mk-pm-page) {
    width: calc(100% - 28px);
    padding-top: 12px;
  }
  .mk-dle .mk-panel {
    padding: 15px;
  }
  .mk-dle .mk-btn {
    font-size: 11px;
  }
}

/* Non-cinematic account pages start below the sticky header, unlike the home Hero. */
body.mk-dle:has(:is(.mk-auth-page,.mk-profile-page,.mk-pm-page))>.site-header {
  margin-bottom: 0!important;
}
