@charset "utf-8";

/* ── 공통 ── */
/* 영어 모드에서 닉네임 뒤 "님" 숨김 */
html[data-hm-lang="en"] .ol_hm_nick_suffix { display: none !important; }
.ol {
  position: relative;
  margin-bottom: 12px;
}

.hm_hd_theme_toggle {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  top: 0;
  left: -91px;
  height: 24px;
  padding: 3px 8px 3px 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(4, 13, 67, 0.58);
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  visibility: hidden;
}

.hm_hd_theme_toggle[data-hm-theme-current] {
  visibility: visible;
}

.hm_hd_theme_toggle[data-hm-theme-current] .hm_hd_theme_toggle__track::after {
  transition: transform 0.16s ease, background 0.16s ease;
}

html.hm-pc-theme-boot .hm_hd_theme_toggle[data-hm-theme-current] .hm_hd_theme_toggle__track::after {
  transition: none !important;
}

.hm_hd_theme_toggle__track {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.hm_hd_theme_toggle__track::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
}

.hm_hd_theme_toggle[data-hm-theme-current="dark"] {
  color: #fff;
}

.hm_hd_theme_toggle[data-hm-theme-current="dark"] .hm_hd_theme_toggle__track {
  background: rgba(247, 206, 70, 0.28);
}

.hm_hd_theme_toggle[data-hm-theme-current="dark"] .hm_hd_theme_toggle__track::after {
  transform: translateX(14px);
  background: #f7ce46;
}

/* =================================================================
   로그인 전  #ol_before.ol_hm  — HelloMy 참고(400px 좌우 분할) 레이아웃
   ================================================================= */
#ol_before.ol_hm {
  --ol-hm-bg: var(--color-background-primary, #fff);
  --ol-hm-bg-sub: var(--color-background-secondary, #f7f8fa);
  --ol-hm-border: var(--color-border-tertiary, #e2e5eb);
  /* 대비 강화(흐릿해 보이던 텍스트) — 변수 없을 때 fallback */
  --ol-hm-text: var(--color-text-primary, #111);
  --ol-hm-text-2: var(--color-text-secondary, #3a3f46);
  --ol-hm-text-3: var(--color-text-tertiary, #6a7078);
  --ol-hm-radius-lg: var(--border-radius-lg, 10px);
  --ol-hm-radius-md: var(--border-radius-md, 6px);
  --ol-hm-login: #1a3a6b;
  --ol-hm-login-hover: #15325d;

  width: 400px;
  max-width: 100%;
  min-height: 164px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  font-family: -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--ol-hm-bg);
  border: 1px solid #e1e1e1;
  border-radius: var(--ol-hm-radius-lg);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

#ol_before.ol_hm .ol_hm_fieldset {
  margin: 0;
  padding: 12px 14px;
  border: 0;
  min-width: 0;
}

#ol_before.ol_hm .ol_hm_inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

#ol_before.ol_hm .ol_hm_left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#ol_before.ol_hm .ol_hm_divider {
  width: 0.5px;
  flex-shrink: 0;
  margin: 0 14px;
  background: #e1e1e1;
  align-self: stretch;
}

#ol_before.ol_hm .ol_hm_right {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  width: 100px;
  min-width: 92px;
}

#ol_before.ol_hm .ol_hm_side_slots {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  width: 100%;
  min-height: 0;
}

#ol_before.ol_hm .ol_hm_side_slot {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin: 0;
  padding: 4px 6px;
  box-sizing: border-box;
  border-radius: var(--ol-hm-radius-md, 6px);
  border: 1px solid #334155;
  background: rgba(15, 23, 42, 0.45);
  color: #b8c5d6;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  word-break: keep-all;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

#ol_before.ol_hm .ol_hm_side_slot:hover,
#ol_before.ol_hm .ol_hm_side_slot:focus-visible {
  border-color: #4b5d73;
  background: rgba(30, 41, 59, 0.72);
  color: #e2e8f0;
  outline: none;
}

#ol_before.ol_hm .ol_hm_sns_label {
  font-size: 11px;
  color: var(--ol-hm-text-2);
  margin-bottom: 1px;
  white-space: nowrap;
}

#ol_before.ol_hm .ol_wr {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 입력 필드 */
#ol_before.ol_hm .ol_hm_input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: auto;
  padding: 7px 9px;
  border: 1px solid var(--ol-hm-border);
  border-radius: var(--ol-hm-radius-md);
  font-size: 13px;
  line-height: 1.35;
  color: var(--ol-hm-text);
  font-weight: 500;
  background: var(--ol-hm-bg-sub);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

#ol_before.ol_hm .ol_hm_input::placeholder {
  color: var(--ol-hm-text-3);
}

#ol_before.ol_hm .ol_hm_input:hover {
  border-color: #cdd1d8;
}

#ol_before.ol_hm .ol_hm_input:focus {
  outline: none;
  border-color: rgba(26, 58, 107, 0.45);
  box-shadow: 0 0 0 2px rgba(26, 58, 107, 0.08);
}

/* 로그인 버튼 */
#ol_before.ol_hm #ol_submit,
#ol_before.ol_hm .ol_hm_submit {
  width: 100%;
  min-width: 80px;
  margin: 0;
  padding: 8px 12px;
  border: none;
  border-radius: var(--ol-hm-radius-md);
  background: var(--ol-hm-login);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
  white-space: nowrap;
  transition: background 0.15s ease, opacity 0.15s ease;
}

#ol_before.ol_hm #ol_submit:hover,
#ol_before.ol_hm .ol_hm_submit:hover,
#ol_before.ol_hm #ol_submit:focus-visible,
#ol_before.ol_hm .ol_hm_submit:focus-visible {
  background: var(--ol-hm-login-hover);
}

#ol_before.ol_hm #ol_submit:active,
#ol_before.ol_hm .ol_hm_submit:active {
  opacity: 0.92;
}

/* 자동로그인 + 텍스트 링크 행 */
#ol_before.ol_hm .ol_hm_auto_row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

#ol_before.ol_hm .ol_hm_auto_row:after {
  display: none;
}

#ol_before.ol_hm .ol_hm_auto_chk {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--ol-hm-login);
}

#ol_before.ol_hm .ol_hm_auto_label {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ol-hm-text-2);
  cursor: pointer;
  white-space: nowrap;
}

#ol_before.ol_hm #ol_auto {
  float: none;
  margin: 0;
  line-height: 1.2;
  flex: 0 0 auto;
  min-width: 0;
}

#ol_before.ol_hm .ol_hm_links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}

#ol_before.ol_hm .ol_hm_link {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: var(--ol-hm-text-2);
  text-decoration: none;
  font-weight: 500;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

#ol_before.ol_hm .ol_hm_link:hover {
  color: var(--ol-hm-text);
  text-decoration: underline;
}

#ol_before.ol_hm .ol_hm_link--join {
  color: var(--ol-hm-login);
  font-weight: 500;
}

#ol_before.ol_hm .ol_hm_link--join:hover {
  color: var(--ol-hm-login-hover);
}

/* ID/PW 찾기 모달 — PC 헤더 로그인 전용 */
.hm_password_lost_modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: transparent;
}

.hm_password_lost_modal.open {
  display: flex;
}

body.hm_password_lost_modal_open {
  overflow: hidden;
}

.hm_password_lost_modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.hm_password_lost_modal__panel {
  position: relative;
  z-index: 1;
  width: 360px;
  max-width: calc(100vw - 48px);
  padding: 28px 26px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.25);
  box-sizing: border-box;
  text-align: center;
}

.hm_password_lost_modal__title {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.hm_password_lost_modal__sub {
  margin: 10px 0 16px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  word-break: keep-all;
}

.hm_password_lost_modal__input {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid #d0d3db;
  border-radius: 10px;
  background: #f8fafc;
  color: #111827;
  font-size: 15px;
  box-sizing: border-box;
}

.hm_password_lost_modal__input:focus {
  border-color: rgba(26, 58, 107, 0.45);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.08);
}

.hm_password_lost_modal__captcha {
  display: flex;
  justify-content: center;
  min-height: 78px;
  margin: 2px 0 0;
}

.hm_password_lost_modal__captcha #captcha {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.hm_password_lost_modal__captcha #captcha legend,
.hm_password_lost_modal__captcha #captcha_info {
  display: none;
}

.hm_password_lost_modal__message {
  min-height: 0;
  margin: 8px 0 0;
  color: #1a3a6b;
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
}

.hm_password_lost_modal__message[hidden] {
  display: none;
}

.hm_password_lost_modal__message.is-error {
  color: #dc2626;
}

.hm_password_lost_modal__actions {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
}

.hm_password_lost_modal__btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 12px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  appearance: none;
}

.hm_password_lost_modal__btn--cancel {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.hm_password_lost_modal__btn--ok {
  border: 1px solid #1a3a6b;
  background: #1a3a6b;
  color: #fff;
}

.hm_password_lost_modal__btn--single {
  display: block;
  width: 100%;
  margin-top: 18px;
}

.hm_password_lost_modal__btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.hm_password_lost_modal__done_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1a3a6b;
  font-size: 20px;
  font-weight: 900;
}

.hm_password_lost_modal__done_text {
  margin-bottom: 0;
  white-space: pre-line;
}

/* 소셜 로그인 영역(오른쪽 열) */
#ol_before.ol_hm .ol_hm_right .login-sns {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#ol_before.ol_hm .ol_hm_right #sns_login {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#ol_before.ol_hm .ol_hm_right #sns_login h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-wrap {
  margin: 0;
  padding: 0;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  min-height: 0;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  max-width: 100px;
  min-height: 32px;
  height: auto;
  line-height: 1;
  margin: 0 auto;
  padding: 6px 8px 6px 40px !important;
  text-align: left;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--ol-hm-radius-md) !important;
  border: 0.5px solid var(--ol-hm-border) !important;
  border-bottom-width: 0.5px !important;
  overflow: hidden;
  color: var(--ol-hm-text) !important;
  background-color: var(--ol-hm-bg) !important;
  background-repeat: no-repeat !important;
  background-position: 6px center !important;
  background-size: 17px 17px !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon:hover,
#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon:focus-visible {
  text-decoration: none;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon .txt:hover {
  background: none !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon .txt {
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  text-align: left !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon .txt i {
  display: none;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-naver .txt,
#ol_before.ol_hm .ol_hm_right #sns_login .sns-kakao .txt,
#ol_before.ol_hm .ol_hm_right #sns_login .sns-google .txt {
  position: relative;
  top: 1px;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-icon .ico {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  flex-shrink: 0;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-google .ico {
  left: 10px;
  width: 26px !important;
  height: 26px !important;
  top: 50%;
  transform: translateY(-50%);
  background-size: 17px 17px !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-naver .ico {
  background: url('../../social/img/sns_naver_s.svg?ver=2') no-repeat center center !important;
  background-size: 28px 28px !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-kakao .ico {
  background: url('../../social/img/sns_kakao_s.svg?ver=1') no-repeat center center !important;
  background-size: 28px 28px !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-kakao {
  background-image: none !important;
  background-color: #fee500 !important;
  border-color: #fee500 !important;
  color: #3a1d1d !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-naver {
  background-image: none !important;
  background-color: #03c75a !important;
  border-color: #03c75a !important;
  color: #fff !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-google {
  background-color: #fff !important;
  border-color: #e4e8ef !important;
  color: #3c4043 !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-apple {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-apple .ico {
  background: url('../../social/img/sns_apple_s.svg?ver=3') no-repeat center center !important;
  background-size: 18px 18px !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-facebook {
  background-color: #3b579d !important;
  border-color: #3b579d !important;
  color: #fff !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-twitter {
  background-color: #1ea1f2 !important;
  border-color: #1ea1f2 !important;
  color: #fff !important;
}

#ol_before.ol_hm .ol_hm_right #sns_login .sns-payco {
  background-color: #df0b00 !important;
  border-color: #df0b00 !important;
  color: #fff !important;
}

/* 체크박스 */
#ol_before.ol_hm .selec_chk {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  outline: 0;
  z-index: -1;
  overflow: hidden;
}

#ol_before.ol_hm .chk_box {
  position: relative;
}

#ol_before.ol_hm .chk_box input[type="checkbox"] + label {
  padding-left: 20px;
  color: var(--ol-hm-text-2);
  font-size: 12px;
  font-weight: 500;
}

#ol_before.ol_hm .chk_box input[type="checkbox"] + label:hover {
  color: var(--ol-hm-text);
}

#ol_before.ol_hm .chk_box input[type="checkbox"] + label span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  display: block;
  margin: 0;
  background: var(--ol-hm-bg);
  border: 0.5px solid var(--ol-hm-border);
  border-radius: 3px;
  box-sizing: border-box;
}

#ol_before.ol_hm .chk_box input[type="checkbox"]:checked + label {
  color: var(--ol-hm-text);
}

#ol_before.ol_hm .chk_box input[type="checkbox"]:checked + label span {
  background: var(--ol-hm-login);
  border-color: var(--ol-hm-login);
}

#ol_before.ol_hm .chk_box input[type="checkbox"]:checked + label span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 3px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

@media (max-width: 420px) {
  #ol_before.ol_hm.ol_hm--has_right .ol_hm_inner {
    flex-direction: column;
    align-items: stretch;
  }

  #ol_before.ol_hm.ol_hm--has_right .ol_hm_divider {
    width: 100%;
    height: 0.5px;
    margin: 10px 0;
  }

  #ol_before.ol_hm .ol_hm_right {
    width: 100%;
    max-width: none;
    align-items: stretch;
  }

  #ol_before.ol_hm .ol_hm_right .login-sns,
  #ol_before.ol_hm .ol_hm_right #sns_login,
  #ol_before.ol_hm .ol_hm_right #sns_login .sns-wrap {
    flex: none;
  }

  #ol_before.ol_hm .ol_hm_right #sns_login .sns-icon {
    flex: none;
    max-width: none;
    min-height: 40px;
  }

  #ol_before.ol_hm .ol_hm_side_slots {
    flex: none;
    flex-direction: row;
    gap: 6px;
  }

  #ol_before.ol_hm .ol_hm_side_slot {
    flex: 1 1 0;
    min-height: 40px;
  }
}


/* =================================================================
   로그인 후  #ol_after.ol_hm  — 네이버 플랫 톤
   ================================================================= */
#ol_after.ol_hm {
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(15, 23, 42, 0.10);
  overflow: visible;
  box-sizing: border-box;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* 우상단 기어 버튼 공통 (정보수정 / 관리자) */
#ol_after.ol_hm .ol_hm_corner_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s;
}

/* 헤더: [아바타] [닉+인사+톱니] */
#ol_after.ol_hm .ol_hm_after_hd {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 13px 0;
  min-width: 0;
}

#ol_after.ol_hm .ol_hm_after_hd h2 {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* 아바타 */
#ol_after.ol_hm .ol_hm_avatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

#ol_after.ol_hm .ol_hm_avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #c0c0c0;
  object-fit: cover;
  display: block;
}

#ol_after.ol_hm .ol_hm_avatar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #888;
  font-size: 16px;
  text-decoration: none;
}

/* 닉네임 래퍼 */
#ol_after.ol_hm .ol_hm_nick {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 4px;
  overflow: hidden;
}

/* 닉네임 강조 */
#ol_after.ol_hm .ol_hm_nick_name {
  font-size: 17px;
  font-weight: 700;
  color: #191919;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}

/* 인사말 */
#ol_after.ol_hm .ol_hm_nick_greet {
  font-size: 13px;
  font-weight: 400;
  color: #7a8494;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 관리자 톱니 */
#ol_after.ol_hm .ol_hm_admin_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  background: none;
  border: none;
  text-decoration: none;
  line-height: 1;
}

#ol_after.ol_hm .ol_hm_admin_btn .fa {
  font-size: 15px;
  color: #e53e3e;
}

#ol_after.ol_hm .ol_hm_admin_btn:hover .fa { color: #c53030; }

/* 통계 칩 3등분 */
#ol_after.ol_hm .ol_hm_stats {
  display: flex;
  margin: 0;
  padding: 0 13px;
  list-style: none;
  gap: 4px;
}

#ol_after.ol_hm .ol_hm_stats_item {
  flex: 1 1 0;
  min-width: 0;
}

#ol_after.ol_hm .ol_hm_stat_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 4px 5px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  background: #f5f5f5;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.12s ease, border-color 0.12s ease;
}

#ol_after.ol_hm .ol_hm_stat_link:hover {
  background: #eaebf5;
  border-color: rgba(1, 0, 102, 0.28);
}

#ol_after.ol_hm .ol_hm_stat_label {
  font-size: 10px;
  font-weight: 500;
  color: #7a8494;
  line-height: 1.2;
}

#ol_after.ol_hm .ol_hm_stat_val {
  font-size: 14px;
  font-weight: 600;
  color: #010066;
  line-height: 1.2;
}

#ol_after.ol_hm .ol_hm_stat_link:hover .ol_hm_stat_label { color: #444; }

/* 푸터 — 정보수정 | 로그아웃 */
#ol_after.ol_hm .ol_hm_after_ft {
  display: flex;
  gap: 4px;
  padding: 8px 13px 10px;
  margin-top: 0;
  border-top: 1px solid #d8d8d8;
}

#ol_after.ol_hm .ol_hm_ft_btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 4px;
  border-radius: 4px;
  border: 1px solid #c8c8c8;
  background: #f5f5f5;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

#ol_after.ol_hm .ol_hm_ft_btn--info {
  color: #444;
}

#ol_after.ol_hm .ol_hm_ft_btn--info:hover {
  background: #eaebf5;
  border-color: rgba(1, 0, 102, 0.28);
  color: #010066;
}

#ol_after.ol_hm .ol_hm_ft_btn--logout {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.04);
}

#ol_after.ol_hm .ol_hm_ft_btn--logout:hover {
  background: rgba(192, 57, 43, 0.1);
  border-color: rgba(192, 57, 43, 0.5);
  color: #96281b;
}

#ol_after.ol_hm .ol_hm_ft_btn--push {
  position: relative;
  color: #1565c0;
  border-color: rgba(21, 101, 192, 0.4);
  background: rgba(21, 101, 192, 0.1);
}

#ol_after.ol_hm .ol_hm_ft_btn--push:hover {
  background: rgba(21, 101, 192, 0.18);
  border-color: rgba(21, 101, 192, 0.6);
  color: #0d47a1;
}

#ol_after.ol_hm .ol_hm_push_dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2ecc71;
}

@media (max-width: 280px) {
  #ol_after.ol_hm .ol_hm_after_ft { flex-direction: column; }
}

/* btn_admin 공통 */
.ol a.btn_admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ol a.btn_admin:focus,
.ol a.btn_admin:hover { text-decoration: none; }

/* 정보수정 기어 버튼 (일반 회원, 우상단 코너) */
#ol_after.ol_hm .ol_hm_info_btn {
  color: #999;
  background: rgba(0, 0, 0, 0.04);
}

#ol_after.ol_hm .ol_hm_info_btn:hover {
  color: #010066;
  background: rgba(1, 0, 102, 0.09);
}

#ol_after.ol_hm .ol_hm_info_btn::after {
  content: '정보수정';
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background: rgba(30, 30, 40, 0.88);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.15s, transform 0.15s;
}

#ol_after.ol_hm .ol_hm_info_btn:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* 관리자 기어 버튼 (우상단 코너) */
#ol_after.ol_hm .ol_hm_corner_btn.ol_hm_admin_btn {
  background: rgba(229, 62, 62, 0.06);
}

#ol_after.ol_hm .ol_hm_corner_btn.ol_hm_admin_btn:hover {
  background: rgba(229, 62, 62, 0.14);
}

/* 로그인 후: 네이버형 프로필 카드 리뉴얼 */
#ol_after.ol_hm {
  min-height: 164px;
  background: #fff;
  border: 1px solid #e2e5eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22), 0 2px 8px rgba(15, 23, 42, 0.10);
}

#ol_after.ol_hm .ol_hm_after_hd {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 16px;
  min-width: 0;
}

#ol_after.ol_hm .ol_hm_avatar_wrap {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 65px;
  height: 65px;
}

#ol_after.ol_hm .ol_hm_avatar {
  display: block;
  width: 65px;
  height: 65px;
}

#ol_after.ol_hm .ol_hm_avatar img,
#ol_after.ol_hm .ol_hm_avatar a {
  width: 65px;
  height: 65px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
  color: #8b95a1;
  text-decoration: none;
}

#ol_after.ol_hm .ol_hm_avatar_btn {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 28px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #6b7280;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
  text-decoration: none;
}

#ol_after.ol_hm .ol_hm_avatar_btn:hover {
  color: #010066;
  background: #f8fafc;
}

#ol_after.ol_hm .ol_hm_admin_btn .fa {
  font-size: 14px;
  color: #e53e3e;
}

#ol_after.ol_hm .ol_hm_member_type .ol_hm_member_type_admin_btn {
  margin-left: 6px;
}

#ol_after.ol_hm .ol_hm_member_type_admin_btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  margin-top: -1px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #e53e3e;
  line-height: 1;
  text-decoration: none;
}

#ol_after.ol_hm .ol_hm_member_type_admin_btn .fa.fa-fw {
  width: auto;
}

#ol_after.ol_hm .ol_hm_member_type_admin_btn:hover {
  color: #c53030;
  background: transparent;
}

#ol_after.ol_hm .ol_hm_profile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: translateY(2px);
}

#ol_after.ol_hm .ol_hm_nick {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

#ol_after.ol_hm .ol_hm_nick_name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #24272b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

#ol_after.ol_hm .ol_hm_nick_suffix {
  flex: 0 0 auto;
  color: #24272b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

#ol_after.ol_hm .ol_hm_member_type {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  max-width: 100%;
  color: #5f6b7a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

#ol_after.ol_hm .ol_hm_member_type_sep {
  color: #cbd5e1;
  font-weight: 400;
  padding: 0 3px;
}

#ol_after.ol_hm .ol_hm_member_type_val {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
}

#ol_after.ol_hm .ol_hm_member_type_val[data-member-type] {
  font-weight: 600;
  color: #010066;
}

#ol_after.ol_hm .ol_hm_member_type_val[data-member-region] {
  color: #64748b;
}

#ol_after.ol_hm .ol_hm_profile_actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
  min-width: 0;
}

#ol_after.ol_hm .ol_hm_profile_action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

#ol_after.ol_hm .ol_hm_profile_action:hover {
  color: #111827;
  background: transparent;
  text-decoration: none;
}

#ol_after.ol_hm .ol_hm_profile_action_sep {
  color: #d1d5db;
  font-size: 11px;
  line-height: 1;
}

#ol_after.ol_hm .ol_hm_logout {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 94px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(2px);
}

#ol_after.ol_hm .ol_hm_logout img {
  width: 16px;
  height: 16px;
  opacity: 0.58;
  display: block;
}

#ol_after.ol_hm .ol_hm_logout:hover {
  border-color: #c8c8c8;
  background: #fafafa;
  color: #333;
}

#ol_after.ol_hm .ol_hm_quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #eef0f3;
  background: #f8fafc;
}

#ol_after.ol_hm .ol_hm_quick_link {
  position: relative;
  min-width: 0;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-right: 1px solid #e5e7eb;
  background: transparent;
  color: #24272b;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

#ol_after.ol_hm .ol_hm_quick_link:last-child {
  border-right: 0;
}

#ol_after.ol_hm .ol_hm_quick_link:hover {
  background: #f1f5f9;
}

#ol_after.ol_hm .ol_hm_quick_chat.has-invite {
  color: #cc0001;
  animation: hmDirectInviteCellPulse 1.9s ease-in-out infinite;
}

#ol_after.ol_hm .ol_hm_quick_chat.has-invite .ol_hm_quick_label,
#ol_after.ol_hm .ol_hm_quick_chat.has-invite .ol_hm_quick_val {
  color: #cc0001;
}

#ol_after.ol_hm .ol_hm_quick_label,
#ol_after.ol_hm .ol_hm_quick_val {
  line-height: 1.2;
}

#ol_after.ol_hm .ol_hm_quick_val {
  color: #010066;
  font-size: 17px;
  font-weight: 600;
}

#ol_after.ol_hm .ol_hm_quick_val.is-loading {
  display: none;
}

#ol_after.ol_hm .ol_hm_quick_val.has-count {
  color: #cc0001;
}

#ol_after.ol_hm .ol_hm_memo_link {
  position: relative;
  overflow: visible;
}

#ol_after.ol_hm .ol_hm_memo_count_wrap {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

#ol_after.ol_hm .ol_hm_memo_badge {
  position: absolute;
  top: 8px;
  left: 23px;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  box-shadow: 0 0 0 2px #f8fafc;
  box-sizing: border-box;
  pointer-events: none;
}

#ol_after.ol_hm .ol_hm_memo_badge.is-visible {
  display: inline-flex;
}

#ol_after.ol_hm .ol_hm_quick_chat .hm_direct_inbox_badge {
  display: none !important;
}

@keyframes hmDirectInviteCellPulse {
  0% {
    background: transparent;
    box-shadow: inset 0 0 0 0 rgba(204,0,1,0);
  }
  50% {
    background: rgba(204,0,1,0.035);
    box-shadow: inset 0 0 0 999px rgba(204,0,1,0.025), 0 0 0 4px rgba(204,0,1,0.055);
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 0 rgba(204,0,1,0);
  }
}

#ol_after.ol_hm .ol_hm_direct_bridge {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

#ol_after.ol_hm .hm_direct_panel {
  margin: 0;
  padding: 0;
  border: 0;
}

/* 회원이미지 선택 모달 */
.hm-member-img-picker[hidden],
.hm-img-crop[hidden],
.hm-member-img-done[hidden] {
  display: none !important;
}

.hm-member-img-picker {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: block;
  padding: 18px;
  background: rgba(15,23,42,.48);
  box-sizing: border-box;
  overflow: auto;
}

.hm-member-img-done {
  position: fixed;
  inset: 0;
  z-index: 2147483002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15,23,42,.48);
  box-sizing: border-box;
}

.hm-member-img-done__box {
  width: min(320px, 100%);
  padding: 24px 20px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,23,42,.24);
  box-sizing: border-box;
  text-align: center;
}

.hm-member-img-done__box strong {
  display: block;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.hm-member-img-done__box p {
  margin: 8px 0 18px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.hm-member-img-done__ok {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #010066;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.hm-member-img-picker__box {
  position: absolute;
  top: 120px;
  left: 18px;
  width: 520px;
  max-width: calc(100vw - 36px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,23,42,.24);
  overflow: hidden;
  box-sizing: border-box;
}

.hm-member-img-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  font-size: 15px;
}

.hm-member-img-picker__title {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 8px;
}

.hm-member-img-picker__title span {
  color: #6b7280;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.hm-member-img-picker__close,
.hm-img-crop__x {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hm-member-img-picker__body {
  padding: 14px 16px 12px;
}

.hm-member-img-picker__grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.hm-member-img-picker__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}

.hm-member-img-picker__item:hover {
  border-color: #010066;
  background: #f8fafc;
}

.hm-member-img-picker__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hm-member-img-picker__direct {
  flex-direction: column;
  gap: 3px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.hm-member-img-picker__direct_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #010066;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.hm-member-img-picker__status {
  min-height: 0;
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.hm-member-img-picker__status:empty {
  display: none;
}

/* 직접등록 크롭 모달 */
.hm-img-crop {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15,23,42,.48);
  box-sizing: border-box;
  touch-action: none;
}

.hm-img-crop__box {
  width: min(360px, 100%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,23,42,.24);
  overflow: hidden;
  touch-action: manipulation;
}

.hm-img-crop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  font-size: 15px;
}

.hm-img-crop__stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 18px auto 12px;
  overflow: hidden;
  background: #0f172a;
  touch-action: none;
  cursor: move;
  user-select: none;
}

.hm-img-crop__loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}

.hm-img-crop__loading[hidden] {
  display: none !important;
}

.hm-img-crop__img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none !important;
  height: auto !important;
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.hm-img-crop__mask {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 80px rgba(15,23,42,.56);
  pointer-events: none;
}

.hm-img-crop__frame {
  position: absolute;
  left: 80px;
  top: 80px;
  width: 120px;
  height: 120px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
  box-sizing: border-box;
  pointer-events: none;
}

.hm-img-crop__zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #4b5563;
  font-size: 13px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.hm-img-crop__zoom_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.hm-img-crop__zoom span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.hm-img-crop__help {
  margin: 10px 18px 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.hm-img-crop__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.hm-img-crop__actions button {
  height: 46px;
  border: 0;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.hm-img-crop__actions button + button {
  border-left: 1px solid #e5e7eb;
  color: #010066;
}

/* 헤더 아웃로그인 — 라이트/다크 테마 무관 다크 고정 (PC) */
body:not(.hm-mobile) #ol_before.ol_hm {
  color-scheme: dark;
  color: #b8c5d6;
}

body:not(.hm-mobile) #ol_before.ol_hm,
body:not(.hm-mobile) #ol_after.ol_hm {
  background: #151f31;
  border-color: #334155;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.22);
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input {
  background: #0f172a;
  border: 1px solid #334155;
  color: #dce4ef;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_stat_link,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_ft_btn,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_avatar_btn {
  background: #0f172a;
  border-color: #293241;
  color: #dce4ef;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input::placeholder {
  color: #7c8797;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input:hover {
  border: 1px solid #3d4f66;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input:focus {
  border: 1px solid rgba(124, 147, 240, 0.55);
  box-shadow: 0 0 0 2px rgba(124, 147, 240, 0.16);
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input:-webkit-autofill,
body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input:-webkit-autofill:hover,
body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0f172a inset;
  -webkit-text-fill-color: #dce4ef;
  caret-color: #dce4ef;
  transition: background-color 99999s ease-out;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_auto_chk {
  accent-color: #4f6fd6;
  border: 1px solid #475569;
  border-radius: 3px;
  background-color: #0f172a;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_divider {
  background: #293241;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_right--reserve {
  background: transparent;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_side_slot {
  border-color: #334155;
  background: rgba(15, 23, 42, 0.55);
  color: #b8c5d6;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_side_slot:hover,
body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_side_slot:focus-visible {
  border-color: #4b5d73;
  background: rgba(30, 41, 59, 0.78);
  color: #e2e8f0;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_auto_label {
  color: #b8c5d6;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_after_ft {
  border-top-color: #293241;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_sns_label,
body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_link,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_member_type,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_profile_action,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_stat_label,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_info_btn {
  color: #b8c5d6;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_link--join {
  color: #9ec5f0;
  font-weight: 600;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_link--join:hover {
  color: #c5dcfa;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_nick_name,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_nick_suffix {
  color: #e5e7eb;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_member_type_val[data-member-type] {
  color: #9ec5f0;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_member_type_val[data-member-region] {
  color: #b8c5d6;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_member_type_sep,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_profile_action_sep {
  color: #566176;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_avatar img,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_avatar a {
  background: #0f172a;
  border-color: #293241;
  color: #94a3b8;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_stat_val,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_val {
  color: #c7d2fe;
}

body:not(.hm-mobile) #ol_before.ol_hm .ol_hm_link:hover,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_profile_action:hover,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_info_btn:hover {
  color: #e5e7eb;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_after_hd {
  background: #151f31;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_logout,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick {
  background: #101827;
  border-color: #334155;
  color: #cbd5e1;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_logout img {
  opacity: 0.82;
  filter: brightness(0) saturate(100%) invert(88%) sepia(10%) saturate(326%) hue-rotate(176deg) brightness(91%) contrast(88%);
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_logout:hover img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_link {
  border-right-color: #334155;
  color: #cbd5e1;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_chat.has-invite {
  animation-name: hmDirectInviteCellPulseDark;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_chat.has-invite,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_chat.has-invite .ol_hm_quick_label,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_chat.has-invite .ol_hm_quick_val,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_val.has-count {
  color: #cc0001;
}

body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_stat_link:hover,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_ft_btn--info:hover,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_avatar_btn:hover,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_logout:hover,
body:not(.hm-mobile) #ol_after.ol_hm .ol_hm_quick_link:hover {
  background: #1f2937;
  border-color: #3b4454;
  color: #e5e7eb;
}

/* ===== 회원이미지 변경/직접등록(크롭)/완료 모달 다크 — PC 토글 ===== */
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__box,
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-done__box,
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__box {
  background: #111827;
  border: 1px solid #334155;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__head,
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__head {
  border-bottom-color: #293241;
  color: #e5e7eb;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__title span {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__close,
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__x {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__item {
  background: #1f2937;
  border-color: #334155;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__item:hover {
  background: #243042;
  border-color: #6366f1;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__direct {
  color: #cbd5e1;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__direct_icon {
  background: #0f172a;
  color: #c7d2fe;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-picker__status {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-done__box strong {
  color: #f8fafc;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-done__box p {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-member-img-done__ok {
  background: #3b4cc0;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__zoom {
  color: #cbd5e1;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__zoom span {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__zoom_btn {
  background: #1f2937;
  border-color: #334155;
  color: #e5e7eb;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__help {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__actions {
  border-top-color: #293241;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__actions button {
  background: #111827;
  color: #cbd5e1;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm-img-crop__actions button + button {
  border-left-color: #293241;
  color: #c7d2fe;
}

/* ===== 회원이미지 모달 다크 — OS(prefers-color-scheme) ===== */
@media (prefers-color-scheme: dark) {
  body:not(.hm-mobile) .hm-member-img-picker__box,
  body:not(.hm-mobile) .hm-member-img-done__box,
  body:not(.hm-mobile) .hm-img-crop__box {
    background: #111827;
    border: 1px solid #334155;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  }
  body:not(.hm-mobile) .hm-member-img-picker__head,
  body:not(.hm-mobile) .hm-img-crop__head {
    border-bottom-color: #293241;
    color: #e5e7eb;
  }
  body:not(.hm-mobile) .hm-member-img-picker__title span {
    color: #94a3b8;
  }
  body:not(.hm-mobile) .hm-member-img-picker__close,
  body:not(.hm-mobile) .hm-img-crop__x {
    color: #94a3b8;
  }
  body:not(.hm-mobile) .hm-member-img-picker__item {
    background: #1f2937;
    border-color: #334155;
  }
  body:not(.hm-mobile) .hm-member-img-picker__item:hover {
    background: #243042;
    border-color: #6366f1;
  }
  body:not(.hm-mobile) .hm-member-img-picker__direct {
    color: #cbd5e1;
  }
  body:not(.hm-mobile) .hm-member-img-picker__direct_icon {
    background: #0f172a;
    color: #c7d2fe;
  }
  body:not(.hm-mobile) .hm-member-img-picker__status {
    color: #94a3b8;
  }
  body:not(.hm-mobile) .hm-member-img-done__box strong {
    color: #f8fafc;
  }
  body:not(.hm-mobile) .hm-member-img-done__box p {
    color: #94a3b8;
  }
  body:not(.hm-mobile) .hm-member-img-done__ok {
    background: #3b4cc0;
  }
  body:not(.hm-mobile) .hm-img-crop__zoom {
    color: #cbd5e1;
  }
  body:not(.hm-mobile) .hm-img-crop__zoom span {
    color: #94a3b8;
  }
  body:not(.hm-mobile) .hm-img-crop__zoom_btn {
    background: #1f2937;
    border-color: #334155;
    color: #e5e7eb;
  }
  body:not(.hm-mobile) .hm-img-crop__help {
    color: #94a3b8;
  }
  body:not(.hm-mobile) .hm-img-crop__actions {
    border-top-color: #293241;
  }
  body:not(.hm-mobile) .hm-img-crop__actions button {
    background: #111827;
    color: #cbd5e1;
  }
  body:not(.hm-mobile) .hm-img-crop__actions button + button {
    border-left-color: #293241;
    color: #c7d2fe;
  }
}

@media (prefers-color-scheme: dark) {
  body:not(.hm-mobile) .hm_hd_theme_toggle {
    background: rgba(4, 13, 67, 0.58);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.18);
  }

  body:not(.hm-mobile) .hm_hd_theme_toggle__track {
    background: rgba(255, 255, 255, 0.18);
  }

  body:not(.hm-mobile) .hm_hd_theme_toggle[data-hm-theme-current="dark"] {
    color: #fff;
  }

  body:not(.hm-mobile) .hm_hd_theme_toggle[data-hm-theme-current="dark"] .hm_hd_theme_toggle__track {
    background: rgba(247, 206, 70, 0.28);
  }

}

@keyframes hmDirectInviteCellPulseDark {
  0% {
    background: transparent;
    box-shadow: inset 0 0 0 0 rgba(255, 77, 79, 0), 0 0 0 0 rgba(255, 77, 79, 0);
  }
  50% {
    background: rgba(255, 77, 79, 0.10);
    box-shadow: inset 0 0 0 999px rgba(255, 77, 79, 0.035), 0 0 0 4px rgba(255, 77, 79, 0.16);
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 0 rgba(255, 77, 79, 0), 0 0 0 0 rgba(255, 77, 79, 0);
  }
}

/* ============================================================
 * 다크 모드 — ID/PW 찾기 모달 (PC 토글/OS)
 * ============================================================ */
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__backdrop {
  background: rgba(0, 0, 0, 0.6);
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__panel {
  background: #111827;
  border: 1px solid #334155;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__title {
  color: #f8fafc;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__sub {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__input {
  border-color: #374151;
  background: #1f2937;
  color: #e5e7eb;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__input::placeholder {
  color: #94a3b8;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__input:focus {
  border-color: rgba(124, 147, 240, 0.55);
  box-shadow: 0 0 0 3px rgba(124, 147, 240, 0.16);
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__message {
  color: #93c5fd;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__message.is-error {
  color: #fca5a5;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__btn--cancel {
  border-color: #374151;
  background: #1f2937;
  color: #cbd5e1;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__btn--ok {
  border-color: #3b4cc0;
  background: #3b4cc0;
  color: #fff;
}
html[data-hm-theme="dark"] body:not(.hm-mobile) .hm_password_lost_modal__done_icon {
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
}

/* 안내 모달(1·2·3) — 로그인 아래·우측 정렬, 뷰포트 고정(스크롤 무관) */
body:not(.hm-mobile) #ol_side_guide_modal.hm_side_guide_modal.hm_scrap_modal {
  position: fixed;
  inset: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 204px max(20px, calc((100vw - var(--hm-shell-width, 1230px)) / 2)) 24px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

body:not(.hm-mobile) #ol_side_guide_modal.hm_side_guide_modal.hm_scrap_modal .hm_scrap_modal__panel {
  width: min(440px, calc(100vw - 40px));
  max-width: 440px;
  max-height: min(560px, calc(100dvh - 228px));
}

#ol_side_guide_modal .modal-desc {
  margin: 0;
  padding: 12px 8px 20px;
  line-height: 1.65;
  text-align: left;
  font-size: 15px;
  color: #333;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#ol_side_guide_modal .modal-desc strong {
  font-weight: 600;
  color: var(--ol-hm-login, #1a3a6b);
}

html[data-hm-theme="dark"] #ol_side_guide_modal .modal-desc {
  color: #e1e1e1;
}

html[data-hm-theme="dark"] #ol_side_guide_modal .modal-desc strong {
  color: #8eb4e8;
}
