.lf-auth-modal {
  position: fixed;
  inset: 0;
  width: min(836px, calc(100% - 36px));
  max-width: none;
  height: min(var(--lf-auth-content-height, 700px), calc(100dvh - 32px));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 28px;
  overflow: hidden;
  background: #eaf5ee;
  box-shadow: 0 28px 90px #153c3740;
}
.lf-auth-modal:not([open]) { display: none; }
.lf-auth-modal::backdrop { background: #1c3e3a41; backdrop-filter: blur(9px); }
html:has(.lf-auth-modal[open]) { overflow: hidden; }
.lf-auth-modal iframe {
  display: block;
  width: 100%;
  height: 100%;
  background: #f1f7f4;
  border: 0;
  color-scheme: light;
}
.lf-auth-modal:not([data-loading="false"]) iframe { visibility: hidden; }
.lf-auth-modal[data-loading="false"] iframe { animation: lf-auth-reveal .16s ease-out both; }
@keyframes lf-auth-reveal { from { opacity: .45; } to { opacity: 1; } }
.lf-auth-modal__pending[hidden], .lf-auth-modal__waiting a[hidden] { display: none; }
.lf-auth-modal__pending {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 98px minmax(0, 1fr);
  background: #f1f7f4;
  color: #274b44;
  font: 14px/1.5 "DM Sans", "Noto Sans SC", sans-serif;
}
.lf-auth-modal__pending header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 26px;
  background: radial-gradient(ellipse at 78% 0%, #c9ebdf, transparent 76%), linear-gradient(110deg, #eaf7ef, #e4efef);
}
.lf-auth-modal__brand img { display: block; width: 120px; height: auto; }
.lf-auth-modal__pending button {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ffffffb3;
  color: #40645c;
  cursor: pointer;
}
.lf-auth-modal__pending button::before, .lf-auth-modal__pending button::after {
  grid-area: 1 / 1;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  rotate: 45deg;
  content: "";
}
.lf-auth-modal__pending button::after { rotate: -45deg; }
.lf-auth-modal__waiting { display: grid; place-content: center; justify-items: center; gap: 12px; }
.lf-auth-modal__waiting p { margin: 0; }
.lf-auth-modal__waiting a { color: #14634e; text-decoration: underline; }
.lf-auth-modal__waiting i,
.member-auth-modal .login-page__submit.el-button.is-loading::after {
  box-sizing: border-box;
  width: 1.1em;
  height: 1.1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: lf-auth-spin .7s linear infinite;
}
@keyframes lf-auth-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .lf-auth-modal__waiting i,
  .member-auth-modal .login-page__submit.el-button.is-loading::after { animation: none; }
}

body.login-auth-page.member-auth-modal {
  --auth-paper: #fff;
  --auth-shell: #f1f7f4;
  --auth-navy: #102a45;
  --auth-border: #d6e3dc;
  --auth-mint: #e6efea;
  --auth-gutter: 24px;
  --auth-card-top: 26px;
  --auth-description-gap: 9px;
  --auth-methods-gap: 18px;
  min-width: 0;
}
body.member-auth-modal .login-template {
  display: grid;
  min-height: 100svh;
  align-items: center;
}
html.lf-auth-embedded body.member-auth-modal .login-template { min-height: 0; }
body.member-auth-modal .login-scene { filter: blur(8px); }
body.member-auth-modal .login-scene::after { position: absolute; inset: 0; background: #1c3e3a24; content: ""; }
body.member-auth-modal .login-scene__image { display: none; }
.member-auth-modal .login-page {
  width: min(836px, calc(100% - 36px));
  min-height: 0;
  margin: 20px auto;
  border: 1px solid #fff;
  border-radius: 28px;
  background: var(--auth-shell);
  box-shadow: 0 24px 75px #21493e35;
}
html.lf-auth-embedded body.member-auth-modal .login-scene { display: none; }
html.lf-auth-embedded .member-auth-modal .login-page {
  margin: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}
.member-auth-modal .login-page__header,
.member-auth-modal .login-page__main,
.member-auth-modal .login-page__footer { width: 100%; }
.member-auth-modal .login-page__header {
  isolation: isolate;
  align-items: flex-start;
  flex-wrap: nowrap;
  min-height: 98px;
  padding: 20px var(--auth-gutter);
  border: 0;
  border-radius: 27px 27px 0 0;
  background: linear-gradient(160deg, #e6f4ec, #f0f7f3 78%);
}
.member-auth-modal .login-page__brand { flex-direction: column; align-items: flex-start; gap: 10px; }
.member-auth-modal .login-page__brand img { width: 120px; height: auto; }
.member-auth-modal .login-page__brand > span {
  display: block;
  padding: 0;
  border: 0;
  color: #274b44;
  font-size: 14px;
  letter-spacing: normal;
}
.member-auth-modal .login-page__toolbar { flex: 0 1 auto; align-items: flex-start; gap: 12px; }
.member-auth-modal .member-auth-close {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ffffffb3;
  color: #40645c;
}
.member-auth-modal .member-auth-close:hover { background: #fff; color: #102a45; }
.member-auth-close::before, .member-auth-close::after {
  grid-area: 1 / 1;
  width: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  rotate: 45deg;
  content: "";
}
.member-auth-close::after { rotate: -45deg; }

.member-auth-modal .login-page__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  padding: 18px var(--auth-gutter) 18px;
}
.member-auth-modal .member-auth-form-shell {
  min-width: 0;
  align-self: start;
}
.member-auth-modal .member-auth-tabs {
  --auth-tab-height: 46px;
  --auth-tab-turn: 22px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 22px 22px 0 0;
  background: var(--auth-mint);
}
.member-auth-modal .member-auth-tabs::before,
.member-auth-modal .member-auth-tabs::after {
  position: absolute;
  z-index: -1;
  bottom: -1px;
  height: calc(var(--auth-tab-height) + 1px);
  background: var(--auth-paper);
  pointer-events: none;
  content: "";
}
.member-auth-modal .member-auth-tabs::before {
  inset-inline-start: 0;
  width: calc(50% - var(--auth-tab-turn) + 1px);
  border-start-start-radius: 22px;
}
.member-auth-modal .member-auth-tabs::after {
  inset-inline-start: calc(50% - var(--auth-tab-turn));
  width: 52px;
  clip-path: path("M 0 0 C 18 0 27 10 28 24 C 29 38 39 46 52 46 V 47 H 0 Z");
}
.member-auth-modal .member-auth-tabs:has(> a:last-child[aria-current])::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
  border-start-start-radius: 0;
  border-start-end-radius: 22px;
}
.member-auth-modal .member-auth-tabs:has(> a:last-child[aria-current])::after {
  inset-inline-start: auto;
  inset-inline-end: calc(50% - var(--auth-tab-turn));
  transform: scaleX(-1);
}
.member-auth-modal .member-auth-tabs a {
  display: grid;
  min-height: var(--auth-tab-height);
  min-width: 0;
  place-items: center;
  padding: 7px 10px;
  color: #3c5a51;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
}
.member-auth-modal .member-auth-tabs a[aria-current] {
  color: var(--auth-navy);
  font-weight: 700;
}
.member-auth-modal .member-auth-tabs a:focus-visible {
  border-radius: 18px 18px 0 0;
  outline-offset: -4px;
}
body.member-auth-modal[data-login-video-src] .login-page .login-page__card {
  width: 100%;
  padding: var(--auth-card-top) 22px 22px;
  border-radius: 22px;
  background: var(--auth-paper);
  box-shadow: 0 9px 27px #23493912;
  color: var(--auth-navy);
}
body.member-auth-modal[data-login-video-src] .login-page .member-auth-tabs + .login-page__card {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  box-shadow: none;
}
.member-auth-modal .login-page__card::before { content: none; }
body.member-auth-modal .login-page.is-loading .login-page__card { min-height: 390px; }
.member-auth-modal .login-page__loading { inset: 24px; }
.member-auth-modal .login-page__skeleton > div { margin-bottom: 19px; }
.member-auth-modal .login-page__heading { padding-top: 0; }
.member-auth-modal .login-page__title { font-size: 24px; color: var(--auth-navy); }
.member-auth-modal .login-page__description { margin-top: var(--auth-description-gap); line-height: 1.65; }
body.member-auth-modal[data-login-video-src] .login-page .login-page__methods {
  gap: 22px;
  margin: var(--auth-methods-gap) 0 var(--auth-methods-gap);
  border-bottom: 1px solid #dfe9e4;
}
.member-auth-modal .login-page__methods button {
  min-height: 38px;
  padding: 0;
  border-bottom-width: 2px;
  font-size: 13px;
  transition: color .16s ease;
}
.member-auth-modal .login-page__methods button[aria-selected="true"] {
  font-weight: 650;
}
.member-auth-modal .login-page__methods > .glass-tab-indicator::before { display: none; }
.member-auth-modal .login-page__methods > .glass-tab-indicator::after {
  inset: auto 0 -1px;
  width: auto;
  height: 2px;
  background: #168261;
  transform: none;
}
.member-auth-modal .login-page__form { margin-top: 13px; }
.member-auth-modal .member-auth-passwords {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.member-auth-modal #regist-form { container-type: inline-size; }
@container (min-width: 296px) {
  .member-auth-modal .member-auth-passwords {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    align-items: start;
  }
}
.member-auth-modal .member-auth-passwords > * { min-width: 0; }
.member-auth-modal .login-page__methods + .login-page__form { margin-top: 0; }
body.member-auth-modal[data-login-video-src] .login-page .login-page__field { margin-bottom: 11px; }
.member-auth-modal .login-page__label-row { margin-bottom: 5px; }
.member-auth-modal .login-page__label-row label { font-size: 13px; font-weight: 600; }
.member-auth-modal .login-page__form .el-input__inner {
  height: 42px;
  border-radius: 10px;
  background: #f8fbf9;
}
.member-auth-modal .login-page__phone,
.member-auth-modal .login-page__code { height: 42px; border-radius: 10px; background: #f8fbf9; }
.member-auth-modal .login-page__phone .el-input__inner,
.member-auth-modal .login-page__code .el-input__inner { height: 40px; background: transparent; }
.member-auth-modal .login-page__form .el-input__icon { line-height: 42px; }
body.member-auth-modal[data-login-video-src] .login-page .login-page__agreement.el-checkbox { margin-top: 10px; }
body.member-auth-modal[data-login-video-src] .login-page .login-page__submit.el-button {
  min-height: 44px;
  height: auto;
  margin-top: 13px;
  border-color: var(--auth-navy);
  border-radius: 11px;
  background: var(--auth-navy);
  color: #f5fffa;
}
body.member-auth-modal[data-login-video-src] .login-page .login-page__submit.el-button:hover { background: #1b3e5b; }
.member-auth-modal .login-page__submit.el-button.is-loading {
  position: relative;
  cursor: wait;
}
.member-auth-modal .login-page__submit.el-button.is-loading::before { content: none; }
.member-auth-modal .login-page__submit.el-button.is-loading .el-icon-loading { display: none; }
.member-auth-modal .login-page__submit.el-button.is-loading::after {
  position: absolute;
  top: calc(50% - .55em);
  right: 16px;
  color: #acffdd;
  content: "";
}
.member-auth-modal .login-page__error:empty { min-height: 0; margin: 0; }
.member-auth-modal .login-page__register { margin: 12px 0 0; padding-top: 0; }
.member-auth-modal .login-page__footer {
  padding: 7px var(--auth-gutter);
  min-height: 0;
}
.member-auth-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dcebe2;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 36% 29%, #fcfffc 8%, transparent 66%),
    linear-gradient(154deg, #eff7f0 14%, #d8eae0 100%);
}
.member-auth-art::before {
  position: absolute;
  z-index: -1;
  inset: 5%;
  background: radial-gradient(ellipse at center, #bddecb70, transparent 68%);
  content: "";
  pointer-events: none;
}
.member-auth-art .member-auth-art__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
@media (min-width: 691px) {
  .member-auth-modal .login-page__header {
    min-height: 72px;
    align-items: center;
    padding-block: 16px;
  }
  .member-auth-modal .login-page__brand img { display: none; }
}
@media (max-width: 690px) {
  .lf-auth-modal, .member-auth-modal .login-page { width: min(510px, calc(100% - 22px)); border-radius: 22px; }
  .lf-auth-modal { height: min(var(--lf-auth-content-height, 674px), calc(100dvh - 20px)); }
  .lf-auth-modal__pending { grid-template-rows: 82px minmax(0, 1fr); }
  .lf-auth-modal__pending header { padding: 15px 14px; }
  .lf-auth-modal__brand img { width: 100px; }
  body.login-auth-page.member-auth-modal {
    --auth-gutter: 13px;
    --auth-card-top: 20px;
    --auth-description-gap: 7px;
    --auth-methods-gap: 15px;
  }
  .member-auth-modal .login-page__main { grid-template-columns: minmax(0, 1fr); padding-block: 13px 15px; }
  .member-auth-modal .login-page__header { min-height: 82px; padding: 15px var(--auth-gutter); }
  .member-auth-modal .login-page__brand img { width: 100px; }
  .member-auth-modal .login-page__brand > span { font-size: 12px; }
  .member-auth-art { display: none; }
  body.member-auth-modal[data-login-video-src] .login-page .login-page__card { padding: var(--auth-card-top) 15px 16px; }
  .member-auth-modal .login-page__description { line-height: 1.55; }
  body.member-auth-modal[data-login-video-src] .login-page .login-page__field { margin-bottom: 9px; }
  .member-auth-modal .login-page__register { margin-top: 8px; }
  .member-auth-modal .login-page__footer { padding-block: 5px; }
  .member-auth-modal .login-page__agreement.el-checkbox .el-checkbox__label { line-height: 1.55; }
}
@media (max-width: 690px) and (max-height: 690px) {
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__header { min-height: 74px; padding-block: 12px; }
  .lf-auth-modal__pending { grid-template-rows: 74px minmax(0, 1fr); }
  .lf-auth-modal__pending header { padding-block: 12px; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__main { padding-block: 10px 12px; }
}
@media (max-height: 630px) {
  html.lf-auth-embedded .member-auth-modal .login-page__header {
    position: sticky;
    top: 0;
    z-index: 3;
  }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__header { min-height: 62px; padding-block: 9px; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__brand { gap: 5px; }
  .lf-auth-modal__pending { grid-template-rows: 62px minmax(0, 1fr); }
  .lf-auth-modal__pending header { padding-block: 9px; }
  html:not(.lf-auth-embedded) body.member-auth-modal[data-login-video-src] .login-page .login-page__main { padding-block: 9px; }
  html:not(.lf-auth-embedded) body.member-auth-modal[data-login-video-src] .login-page .login-page__card { padding-block: 11px 12px; }
  html:not(.lf-auth-embedded) body.member-auth-modal[data-login-video-src] .login-page .login-page__field { margin-bottom: 6px; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__footer { padding-block: 5px; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__title { font-size: 22px; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__description { margin-top: 4px; line-height: 1.5; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__form { margin-top: 10px; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__agreement.el-checkbox .el-checkbox__label { line-height: 1.55; }
  html:not(.lf-auth-embedded) .member-auth-modal .login-page__register { margin-top: 6px; }
  html:not(.lf-auth-embedded) body.member-auth-modal[data-login-video-src] .login-page .login-page__submit.el-button { margin-top: 10px; }
  html:not(.lf-auth-embedded) body.member-auth-modal[data-login-video-src] .login-page .login-page__agreement.el-checkbox { margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .lf-auth-modal[data-loading="false"] iframe { animation: none; }
  .member-auth-modal .login-page__methods button { transition: none; }
}
