@charset "utf-8";
/* 테마 상단·하단은 회원 화면에서 숨김 (기존 동작 유지) */
.header,
.footer {
  display: none;
}

/* =========================================================================
   기존 회원 화면 (약관 · 쪽지 · 스크랩 · 포인트 · 폼메일 · 자기소개)
   - 이번 리디자인 대상이 아닌 기본 스킨 화면용. 기존 규칙 그대로 유지
   ========================================================================= */
/* 회원가입 약관 */
.register {
  width: 500px;
}

.register:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

.register .btn_confirm .btn_submit,
.register .btn_confirm .btn_close {
  float: left;
  height: 50px !important;
  width: 49.5%;
  font-weight: bold;
  font-size: 1.083em
}

.register .btn_confirm {
  text-align: left
}

.register .btn_confirm .btn_submit {
  margin-left: 1%
}

#fregister p {
  position: relative;
  text-align: center;
  color: #fff;
  height: 50px;
  line-height: 50px;
  font-size: 1.1em;
  background: #f2838f;
  margin: 0 0 10px;
  font-weight: bold
}

#fregister p:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 50px;
  background: #da4453
}

#fregister p i {
  font-size: 1.2em;
  vertical-align: middle
}

#fregister section {
  margin: 10px auto 15px;
  border: 1px solid #dde7e9;
  position: relative;
}

#fregister_chkall {
  position: relative;
  text-align: center;
  background: #f5f7fa;
  line-height: 50px;
  border: 1px solid #e5e9f0;
  margin-bottom: 15px
}

#fregister h2 {
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid #dde7e9;
  font-size: 1.2em
}

#fregister textarea {
  display: block;
  padding: 20px;
  width: 100%;
  height: 150px;
  background: #fff;
  border: 0;
  line-height: 1.6em
}

#fregister_private {
  position: relative
}

#fregister_private div {
  padding: 20px;
  background: #fff
}

#fregister_private table {
  width: 100%;
  border-collapse: collapse
}

#fregister_private table caption {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden
}

#fregister_private table th {
  background: #f7f7f9;
  width: 33.33%;
  color: #000;
  padding: 10px;
  border: 1px solid #d8dbdf
}

#fregister_private table td {
  border: 1px solid #e7e9ec;
  padding: 10px;
  border-top: 0
}

.fregister_agree {
  position: absolute;
  top: 0;
  right: 0
}

.fregister_agree input[type="checkbox"]+label {
  color: #676e70
}

.fregister_agree input[type="checkbox"]+label:hover {
  color: #2172f8
}

.fregister_agree input[type="checkbox"]+label span {
  position: absolute;
  top: 20px;
  right: 15px;
  width: 17px;
  height: 17px;
  display: block;
  background: #fff;
  border: 1px solid #d0d4df;
}

.fregister_agree input[type="checkbox"]:checked+label {
  color: #000
}

.fregister_agree input[type="checkbox"]:checked+label span {
  background: url('./img/chk.png') no-repeat 50% 50% var(--main-color);
  border-color: var(--main-color);
}

.fregister_agree.chk_all input[type="checkbox"]+label span {
  top: 18px
}

.chk_li {
  padding-left: 20px
}

#sns_register .login-sns,
#sns_register h2 {
  border: 0 !important
}

/* 툴팁 (기본) */
.tooltip_icon {
  display: inline-block;
  vertical-align: baseline;
  color: #b3b5b8;
  border: 0;
  font-size: 1.4em;
  background: transparent;
  cursor: pointer
}

.tooltip_icon:hover {
  color: #448bf5
}

.tooltip {
  position: relative;
  width: auto;
  color: #fff;
  background: #000;
  padding: 10px;
  font-size: small;
  line-height: 18px;
  display: none;
  position: absolute;
  z-index: 9;
  font-weight: normal;
  margin-left: 15px;
  margin-top: 10px
}

.tooltip:before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 0px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 0;
  border-right: 10px solid #000
}


/* 쪽지 */
.memo_list {
  border-top: 1px solid #ececec
}

.memo_list li {
  border-bottom: 1px solid #ececec;
  background: #fff;
  padding: 10px 15px;
  list-style: none;
  position: relative
}

.memo_list li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

.memo_list li.read {
  background: #f6f6f6
}

.memo_list li.empty_li {
  text-align: center;
  padding: 20px 0;
  color: #666
}

.memo_list .memo_li {
  float: left
}

.memo_list .profile_big_img {
  position: relative;
  margin-right: 15px
}

.memo_list .profile_big_img img {
  width: 52px;
  height: 52px
}

.memo_list .memo_li.memo_name {
  padding-top: 5px;
  float: none
}

.memo_list .memo_preview a {
  display: block;
  margin-right: 30px;
  padding-top: 10px;
  font-weight: normal !important;
  font-size: 1.2em
}

.memo_list .memo_preview a:hover {
  text-decoration: underline
}

.memo_list .memo_name a,
.memo_list .memo_name .sv_wrap {
  font-weight: bold
}

.memo_list .no_read {
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-block;
  background: #3a8afd;
  border: 1px solid #e1edff;
  text-indent: -9999px;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 10px 3px #9ec3f9
}

.memo_list .no_read {
  animation: blinker 1s linear infinite
}

@keyframes blinker {
  50% {
    opacity: 0
  }
}

#memo_list h1#win_title {
  padding: 10px 10px 10px 20px
}

#memo_list .memo_datetime {
  font-size: 0.92em;
  color: #888d92
}

#memo_list .memo_del {
  position: absolute;
  right: 15px;
  top: 15px;
  padding: 10px;
  color: #c7c9cb;
  font-size: 1.4em
}

#memo_list .memo_cnt {
  margin-top: 5px;
  font-weight: normal;
  display: inline-block;
  font-size: 1.2em
}

#memo_list .pg_wrap {
  margin-top: 10px;
  width: 100%;
  float: inherit;
  text-align: center
}

#memo_view_contents {
  margin-bottom: 20px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec
}

#memo_view_contents h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden
}

#memo_view_ul {
  margin: 0;
  list-style: none;
  background: #f6f6f6
}

#memo_view_ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

.memo_view_li {
  position: relative;
  /*padding:10px;float:left;width:50%*/
}

.memo_view_li .profile_img img {
  display: none
}

.memo_from {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 15px 20px
}

.memo_from li {
  float: left
}

.memo_from li.memo_profile img {
  width: 40px;
  height: 40px;
}

.memo_from li:first-child {
  margin-right: 10px
}

.memo_from li.memo_view_nick {
  width: 80%
}

.memo_from li.memo_view_nick a {
  font-weight: bold !important
}

.memo_from li.memo_view_date {
  display: block;
  color: #555;
  line-height: 24px
}

.memo_from li.memo_op_btn {
  position: absolute
}

.memo_from li.list_btn {
  right: 53px;
}

.memo_from li.del_btn {
  right: 15px;
}

.memo_from::after {
  content: '';
  display: block;
  clear: both;
  visibility: hidden;
}

.memo_btn {
  width: 100%
}

.memo_btn a {
  display: inline-block;
  width: 50%;
  font-size: 1em;
  color: #888d92;
  padding: 20px
}

.memo_btn a.btn_right {
  float: right;
  text-align: right
}

.memo_btn a i {
  font-size: 1.2em;
  color: #acabab;
  vertical-align: bottom
}

#memo_view p {
  padding: 10px;
  min-height: 150px;
  height: auto !important;
  height: 150px;
  background: #fff;
  line-height: 1.8em
}

#memo_view textarea {
  height: 100px
}

#memo_write .form_01 {
  padding: 20px;
  border-top: 1px solid #ececec
}

.reply_btn {
  display: inline-block;
  width: 150px;
  height: 45px;
  line-height: 50px;
  padding: 0 10px;
  font-weight: bold;
  background: #3a8afd;
  color: #fff;
  vertical-align: bottom;
  margin-right: 5px
}

#memo_write .reply_btn {
  font-size: 1em
}

/* 스크랩 */
#scrap li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

#scrap li {
  position: relative;
  padding: 20px;
  border-bottom: 1px solid #ececec
}

#scrap .scrap_tit {
  font-weight: bold;
  display: block;
  font-size: 1.083em;
  margin-bottom: 10px;
  line-height: 1.3em
}

#scrap .scrap_cate {
  float: left;
  display: block;
  color: #ac92ec;
  background: #eeeaf8;
  padding: 3px;
  font-size: 0.92em;
  margin-right: 10px
}

#scrap .scrap_datetime {
  color: #777;
  line-height: 18px
}

#scrap .scrap_del {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 18px;
  color: #c7c9cb
}

#scrap .scrap_del:hover {
  /* color: #3a8afd */
}

#scrap_do .new_win_con {
  padding: 0 20px
}

#scrap_do textarea {
  width: 100%;
  height: 100px
}

#scrap_do .scrap_tit {
  margin-bottom: 10px;
  background: #f3f3f3;
  padding: 10px 15px;
  font-size: 1.2em;
  font-weight: bold
}

#scrap_do label {
  display: block;
  margin: 0 0 5px;
  font-size: 1em
}

#scrap_do .win_btn:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

#scrap .win_btn,
#scrap_do .win_btn {
  margin: 20px 0;
  text-align: center
}

#scrap_do .win_btn .btn_submit {
  float: inherit
}

#scrap_do .win_desc {
  margin: 0 20px
}

/*포인트*/
#point {
  text-align: center
}

#point h1 {
  text-align: left
}

#point .point_all {
  margin: 20px 20px 15px;
  background: #edf3fc;
  border: 1px solid #d6e2f4;
  color: #485172;
  font-size: 1.083em
}

#point .point_all:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

#point .point_all li {
  float: left;
  width: 50%;
  padding: 20px;
  text-align: left
}

#point .point_all li span {
  float: right;
  color: #485172;
  font-weight: bold
}

#point .point_all li:last-child {
  border-left: 1px solid #d6e2f4
}

#point .point_all .full_li {
  width: 100%;
  border-bottom: 1px solid #d6e2f4;
  text-align: left
}

#point .point_all .full_li span {
  color: #000;
  font-weight: bold;
  font-size: 1.2em
}

#point .point_status {
  background: #737373;
  border: 0;
  color: #fff;
  font-weight: bold;
  font-size: 1.083em;
  text-align: left
}

#point .point_status:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

#point .point_status span {
  margin-left: 10px;
  float: right
}

.point_list {}

.point_list li:first-child {
  border-top: 1px solid #ececec
}

.point_list li {
  border-bottom: 1px solid #ececec;
  background: #fff;
  padding: 15px;
  list-style: none;
  position: relative
}

.point_list li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

.point_list .point_use {
  background: #f6f6f6
}

.point_list .point_use .point_num {
  font-size: 1.25em;
  color: #ff4f76;
  font-weight: bold;
  float: right
}

.point_list .point_num {
  font-size: 1.25em;
  color: #3a8afd;
  font-weight: bold;
  position: absolute;
  right: 15px;
  top: 25px
}

.point_list .point_top {
  line-height: 15px;
  margin: 0 0 5px
}

.point_list .point_top:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: ""
}

.point_list .point_tit {
  font-weight: bold;
  float: left;
  font-size: 1.083em;
  display: block
}

.point_list .point_date1 {
  float: left;
  color: #888d92
}

.point_list .point_date {
  float: left;
  color: #888d92
}

.point_list .txt_expired {
  color: red;
  margin-left: 5px
}

#point .pg_wrap {
  width: 100%;
  float: inherit;
  text-align: center
}

#point .btn_close {
  margin: 20px auto
}

/* 폼메일 */
#formmail textarea {
  height: 100px
}

#formmail .formmail_flie {
  position: relative
}

#formmail .formmail_flie .file_wr {
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  vertical-align: middle;
  padding: 5px;
  height: 40px;
  margin: 0
}

#formmail .lb_icon {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 38px;
  line-height: 38px;
  width: 40px;
  background: #fff;
  text-align: center;
  color: #b2b2b2
}

#formmail .frm_file {
  padding-left: 50px
}

#formmail .frm_info {
  color: #3497d9;
  font-size: 0.92em
}

.chk_box {
  position: relative
}

.chk_box input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  outline: 0;
  z-index: -1;
  overflow: hidden
}

.chk_box input[type="radio"]+label {
  position: relative;
  padding-left: 23px;
  display: inline-block;
  color: #676e70
}

.chk_box input[type="radio"]+label span {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  display: block;
  background: #f7f8f9;
  border: 1px solid #cdd6df;
}

.chk_box input[type="radio"]:checked+label {
  color: var(--main-color);
}

.chk_box input[type="radio"]:checked+label span {
  border-color: var(--main-color);
}

.chk_box input[type="radio"]:checked+label span:before {
  width: 7px;
  height: 7px;
  background: var(--main-color);
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
}

.chk_box input[type="checkbox"]+label {
  position: relative;
  color: #676e70;
  font-size: 12px;
}

.chk_box input[type="checkbox"]+label:hover {
  /* color: #2172f8 */
}

.chk_box input[type="checkbox"]+label span {
  float: left;
  width: 15px;
  height: 15px;
  display: block;
  background: #fff;
  border: 1px solid #d0d4df;
}

.chk_box input[type="checkbox"]:checked+label {
  color: #000
}

.chk_box input[type="checkbox"]:checked+label span {
  background: url(./img/chk.png) no-repeat 50% 50% var(--main-color);
  border-color: var(--main-color);
}

.selec_chk {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  outline: 0;
  z-index: -1;
  overflow: hidden
}


/* 자기소개 */
#profile h1 a {}

#profile table {
  margin-bottom: 0
}

#profile table th {
  text-align: left;
  padding: 10px;
  width: 100px
}

#profile section {
  color: #6794d3;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  margin: 10px 0
}

#profile h2 {
  margin: 0 0 5px
}

#profile .profile_name {
  text-align: center;
  font-weight: bold
}

#profile .my_profile_img {
  display: block;
  margin: 20px 0 5px
}

#profile .my_profile_img img {
}

#profile .profile_img img {
}

#profile .profile_name .sv_wrap {
  font-weight: bold;
  text-align: left
}

/* =========================================================================
   회원 스킨 리디자인 : 로그인 · 회원가입 · 가입완료 · 정보찾기 · 비밀번호 확인
   - 대상 : .r-background 로 감싼 커스텀 화면 (login / register_form / register_result /
            password_lost / member_confirm / password)
   - 모든 규칙을 .r-background 안으로 한정 → 쪽지·스크랩·포인트 등 다른 회원 화면에 영향 없음
   - 단위는 px 만 사용 (사이트의 rem 설정과 무관하게 같은 크기)
   - 포인트 색은 테마의 --main-color 를 그대로 사용 (없으면 진회색)
   ========================================================================= */
.r-background {
  --mb-accent: var(--main-color, #111827);
  --mb-text: #111827;
  --mb-text-2: #4b5563;
  --mb-text-3: #9ca3af;
  --mb-line: #e5e7eb;
  --mb-field: #f4f5f7;
  --mb-field-h: #eceef1;
  --mb-ring: rgba(17, 24, 39, .08);
  --mb-radius: 12px;
  --mb-card-radius: 24px;
  --mb-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 24px 48px -20px rgba(16, 24, 40, .14);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0;
  padding: 56px 20px;
  background: #f4f5f7;
  background-image: radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
  color: var(--mb-text);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
@supports (color: color-mix(in srgb, red 10%, white)) {
  .r-background { --mb-ring: color-mix(in srgb, var(--mb-accent) 16%, transparent); }
}
.r-background *, .r-background *::before, .r-background *::after { box-sizing: border-box; }

/* ---------- 카드 (공통) ---------- */
.r-background .mbskin,
.r-background .register,
.r-background #find_info.new_win {
  position: relative;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.r-background .mbskin:after,
.r-background .register:after { display: none; }
.r-background .mbskin { max-width: 420px; }
.r-background .register { max-width: 480px; }
.r-background #find_info.new_win { max-width: 420px; padding: 44px 40px 40px !important; }

.r-background .mbskin_box,
.r-background .register_form_inner,
.r-background #reg_result,
.r-background #find_info.new_win,
.r-background #mb_confirm,
.r-background #pw_confirm {
  margin: 0;
  padding: 44px 40px 40px;
  border: 1px solid #eceef1;
  border-radius: var(--mb-card-radius);
  background: #fff;
  box-shadow: var(--mb-shadow);
}

/* ---------- 제목 · 설명 (공통) ---------- */
.r-background #find_info #win_title,
.r-background #mb_confirm h1,
.r-background #pw_confirm h1 {
  position: static;
  height: auto;
  margin: 0 0 10px;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--mb-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: left;
}

/* ---------- 입력칸 (공통) ---------- */
.r-background .frm_input,
.r-background .loginInput,
.r-background .registerInput,
.r-background textarea {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent !important;
  border-radius: var(--mb-radius);
  background-color: var(--mb-field) !important;
  color: var(--mb-text);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  box-shadow: none !important;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.r-background textarea,
.r-background textarea.registerInput { height: 120px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.r-background .frm_input:hover,
.r-background textarea:hover { background-color: var(--mb-field-h) !important; }
.r-background .frm_input:focus,
.r-background textarea:focus {
  border-color: var(--mb-accent) !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px var(--mb-ring) !important;
}
.r-background .frm_input::placeholder,
.r-background textarea::placeholder { color: var(--mb-text-3); opacity: 1; }
.r-background .frm_input[readonly] { background-color: #eceef1 !important; color: var(--mb-text-2); cursor: default; }
.r-background .frm_input[readonly]:focus { border-color: transparent !important; box-shadow: none !important; }
/* 테마의 필수 표시(빨간 삼각형) 제거 */
.r-background .required { background-image: none !important; }

/* ---------- 주 버튼 (공통) ---------- */
.r-background .l-submitBtn,
.r-background .r-submitBtn,
.r-background .btn_submit,
.r-background .reg_btn_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px !important;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--mb-radius);
  background: var(--mb-accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s, transform .1s, box-shadow .15s;
}
.r-background .l-submitBtn:hover,
.r-background .r-submitBtn:hover,
.r-background .btn_submit:hover,
.r-background .reg_btn_submit:hover { filter: brightness(1.12); background: var(--mb-accent); color: #fff; }
.r-background .l-submitBtn:active,
.r-background .r-submitBtn:active,
.r-background .btn_submit:active,
.r-background .reg_btn_submit:active { transform: translateY(1px); }
.r-background .l-submitBtn:focus-visible,
.r-background .r-submitBtn:focus-visible,
.r-background .btn_submit:focus-visible,
.r-background .reg_btn_submit:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--mb-ring); }
.r-background .btn_submit:disabled,
.r-background .r-submitBtn:disabled { opacity: .55; cursor: default; filter: none; }
.r-background .l-submitBtn p,
.r-background .r-submitBtn p { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: 1; }

/* ---------- 보조 버튼 (공통) ---------- */
.r-background .btn_frmline {
  flex: none;
  width: auto;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--mb-line);
  border-radius: var(--mb-radius);
  background: #fff;
  color: var(--mb-text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.r-background .btn_frmline:hover { background: var(--mb-field); border-color: #d1d5db; }

/* ---------- 체크박스 (chk_box) ---------- */
.r-background .chk_box input[type="checkbox"] + label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--mb-text-2);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.r-background .chk_box input[type="checkbox"] + label:hover { color: var(--mb-text); }
.r-background .chk_box input[type="checkbox"] + label span {
  position: relative;
  float: none;
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  transition: background-color .15s, border-color .15s;
}
.r-background .chk_box input[type="checkbox"]:checked + label { color: var(--mb-text); }
.r-background .chk_box input[type="checkbox"]:checked + label span {
  border-color: var(--mb-accent);
  background: var(--mb-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat 50% 50% / 13px 13px;
}
.r-background .chk_box input[type="checkbox"]:focus-visible + label span { box-shadow: 0 0 0 4px var(--mb-ring); }

/* ---------- 툴팁 ---------- */
.r-background .tooltip_icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mb-text-3);
  font-size: 16px;
  vertical-align: middle;
  cursor: pointer;
}
.r-background .tooltip_icon:hover { color: var(--mb-text); }
.r-background .tooltip {
  position: absolute;
  z-index: 20;
  width: max-content;
  max-width: min(340px, calc(100vw - 48px));
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .35);
}
.r-background .tooltip:before { display: none; }

/* ---------- 자동등록방지 (캡챠) ---------- */
.r-background #captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}
.r-background #captcha legend,
.r-background #captcha legend label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.r-background #captcha #captcha_img { flex: none; height: 52px; width: auto; margin: 0; border: 1px solid var(--mb-line); border-radius: 10px; background: #fff; }
.r-background #captcha #captcha_key {
  flex: 1 1 80px;
  min-width: 0;
  max-width: 150px;
  width: auto;
  height: 52px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--mb-radius);
  background: var(--mb-field);
  color: var(--mb-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.r-background #captcha #captcha_key:focus { outline: 0; border-color: var(--mb-accent); background: #fff; box-shadow: 0 0 0 4px var(--mb-ring); }
.r-background #captcha #captcha_mp3,
.r-background #captcha #captcha_reload { flex: none; width: 40px; height: 40px; margin: 0; border-radius: 10px; background-color: var(--mb-field); }
.r-background #captcha #captcha_mp3:hover,
.r-background #captcha #captcha_reload:hover { background-color: var(--mb-field-h); }
.r-background #captcha #captcha_info { flex-basis: 100%; margin: 0; color: var(--mb-text-3); font-size: 12.5px; letter-spacing: -0.01em; }

/* =========================================================================
   로그인
   ========================================================================= */
.r-background #mb_login h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.r-background #mb_login .mbskin_box { padding: 48px 40px 40px; }
.r-background #mb_login .mb_log_cate {
  display: flex;
  justify-content: center;
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}
.r-background #mb_login .mb_log_cate:after { display: none; }
.r-background #mb_login .mb_log_cate a { display: inline-flex; float: none; width: auto; padding: 0; background: none; }
.r-background #mb_login .mb_log_cate img { display: block; width: 132px !important; max-width: 100%; height: auto; margin: 0 !important; }
.r-background #mb_login #login_fs { margin: 0; padding: 0; border: 0; }
.r-background #mb_login #login_fs legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.r-background #mb_login #login_fs .loginInput { margin: 0 0 10px; }
.r-background #mb_login #login_fs .l-submitBtn { margin: 8px 0 0; }
.r-background #mb_login .l-find-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 0;
}
.r-background #mb_login .l-chkbox { display: flex; align-items: center; }
.r-background #mb_login .l-find { margin-left: auto; }
.r-background #mb_login .l-findBtn {
  padding: 0;
  border: 0;
  color: var(--mb-text-2);
  font-size: 14px;
  text-decoration: none;
}
.r-background #mb_login .l-findBtn:hover { color: var(--mb-text); text-decoration: underline; text-underline-offset: 3px; }
.r-background #mb_login .l-register-wrapper p { margin: 24px 0 0; color: var(--mb-text-2); font-size: 14px; text-align: center; }
.r-background #mb_login .l-register-wrapper a { color: var(--mb-text); font-weight: 600; }

/* 소셜 로그인 */
.r-background #mb_login #sns_login { margin: 28px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--mb-line); }
.r-background #mb_login #sns_login h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.r-background #mb_login #sns_login .sns-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.r-background #mb_login #sns_login .sns-wrap:after { display: none; }
.r-background #mb_login #sns_login .sns-icon { float: none !important; width: calc(50% - 4px) !important; margin: 0 !important; border-radius: 10px; overflow: hidden; }

/* =========================================================================
   회원가입 · 정보수정
   ========================================================================= */
.r-background #register_form { margin: 0; background: transparent; }
.r-background #register_form h2 { padding: 0; border: 0; }
.r-background .register_form_inner { padding: 44px 40px 36px; }
/* 제목 (PHP 수정 없이 가입/수정 구분) */
.r-background .register_form_inner::before {
  content: "회원가입";
  display: block;
  margin: 0 0 6px;
  color: var(--mb-text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.r-background .register_form_inner::after {
  content: "서비스 이용을 위해 정보를 입력해 주세요.";
  display: block;
  order: 0;
  margin: 0 0 28px;
  color: var(--mb-text-2);
  font-size: 14px;
}
.r-background #fregisterform:has(input[name="w"][value="u"]) .register_form_inner::before { content: "회원정보 수정"; }
.r-background #fregisterform:has(input[name="w"][value="u"]) .register_form_inner::after { content: "변경할 정보를 입력한 뒤 저장해 주세요."; }
.r-background .register_form_inner { display: flex; flex-direction: column; }
.r-background .register_form_inner ul { order: 1; }

.r-background .register_form_inner ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.r-background .register_form_inner ul:after { display: none; }
.r-background .register_form_inner li {
  position: relative;
  float: none;
  width: auto;
  margin: 0;
  color: var(--mb-text-2);
  font-size: 14px;
}
.r-background .register_form_inner li:not(:has(*)) { display: none; }
.r-background .register_form_inner li br { display: none; }
.r-background .register_form_inner label { display: block; margin: 0 0 8px; color: var(--mb-text-2); font-size: 14px; font-weight: 600; line-height: 1.4; }
.r-background .register_form_inner label.sound_only { display: inline-block; margin: 0; }
.r-background .r-notice {
  margin: 8px 2px 0;
  color: var(--mb-text-3);
  font-size: 12.5px !important;
  line-height: 1.5;
}

/* 주소 */
.r-background .r-address-form { display: flex; align-items: center; gap: 8px; width: 100%; }
.r-background .r-address-form .addressInput { flex: 1 1 auto; width: auto; min-width: 0; }
.r-background .register_form_inner .frm_address { margin: 8px 0 0; }

/* 본인확인 */
.r-background .register_form_inner li > .btn_frmline { margin: 8px 6px 0 0; }
.r-background #fregisterform #msg_certify {
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--mb-radius);
  background: #ecfdf3;
  color: #166534;
  font-size: 14px;
  text-align: left;
}

/* 자동등록방지 */
.r-background .register_form_inner li.is_captcha_use { margin-top: 8px; color: var(--mb-text-2); font-size: 14px; font-weight: 600; }

/* 버튼 영역 */
.r-background .rBtn-wrapper { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 16px 0 0; }
.r-background .rBtn-wrapper .r-submitBtn { margin: 0; }
.r-background .r-already { margin: 0; color: var(--mb-text-3); font-size: 14px; text-align: center; }
.r-background .r-already a { color: var(--mb-text-2); text-decoration: none; }
.r-background .r-already a:hover { color: var(--mb-text); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================================
   가입 완료
   ========================================================================= */
.r-background #reg_result { text-align: center; }
.r-background #reg_result::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--mb-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat 50% 50% / 30px 30px;
  box-shadow: 0 10px 24px -10px var(--mb-accent);
}
.r-background #reg_result .reg_result_p {
  margin: 0 0 14px;
  color: var(--mb-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.r-background #reg_result .reg_result_p strong { color: var(--mb-accent); }
.r-background #reg_result p { margin: 0 0 12px; color: var(--mb-text-2); font-size: 14px; line-height: 1.7; word-break: keep-all; }
.r-background #reg_result .result_txt { text-align: center; }
.r-background #reg_result #result_email {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 18px 0;
  padding: 16px 20px;
  border: 0;
  border-radius: var(--mb-radius);
  background: var(--mb-field);
  line-height: 1.5;
  text-align: left;
}
.r-background #reg_result #result_email br { display: none; }
.r-background #reg_result #result_email span { width: auto; color: var(--mb-text-3); font-size: 13px; }
.r-background #reg_result #result_email strong { color: var(--mb-text); font-size: 14px; font-weight: 700; word-break: break-all; }
.r-background .btn_confirm_reg { margin: 28px 0 0; text-align: center; }
.r-background .reg_btn_submit { width: 100%; }

/* =========================================================================
   회원정보 찾기
   ========================================================================= */
.r-background #find_info .new_win_con { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.r-background #find_info .new_win_con:after { display: none; }
.r-background #find_info #win_title { margin: 0 0 10px; }
.r-background #find_info #info_fs { margin: 0; padding: 0; border: 0; }
.r-background #find_info #info_fs p { margin: 0 0 24px; color: var(--mb-text-2); font-size: 14px; line-height: 1.7; word-break: keep-all; }
.r-background #find_info #mb_email { margin: 0; }
.r-background #find_info .win_btn { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; text-align: center; }
.r-background #find_info .win_btn a { display: block; text-decoration: none; }
/* 돌아가기 (인라인 스타일 덮어쓰기) */
.r-background #find_info .win_btn a .btn_submit {
  border: 1px solid var(--mb-line) !important;
  background: #fff !important;
  color: var(--mb-text-2) !important;
}
.r-background #find_info .win_btn a .btn_submit:hover { filter: none; background: var(--mb-field) !important; color: var(--mb-text) !important; }

/* =========================================================================
   비밀번호 확인 (회원정보 수정 · 탈퇴 / 비밀글)
   ========================================================================= */
.r-background #mb_confirm,
.r-background #pw_confirm { max-width: 420px; text-align: left; }
.r-background #mb_confirm p,
.r-background #pw_confirm p {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  color: var(--mb-text-2);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
}
.r-background #mb_confirm p strong,
.r-background #pw_confirm p strong {
  display: block;
  margin: 0 0 4px;
  color: var(--mb-text);
  font-size: 15px;
  font-weight: 700;
}
.r-background #mb_confirm fieldset,
.r-background #pw_confirm fieldset { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; text-align: left; }
.r-background #mb_confirm .confirm_id { color: var(--mb-text-3); font-size: 13px; letter-spacing: 0; }
.r-background #mb_confirm #mb_confirm_id {
  display: block;
  margin: -6px 0 6px;
  padding: 14px 16px;
  border-radius: var(--mb-radius);
  background: var(--mb-field);
  color: var(--mb-text);
  font-size: 15px;
  font-weight: 700;
}
.r-background #mb_confirm .btn_submit,
.r-background #pw_confirm .btn_submit { margin: 4px 0 0; }

/* =========================================================================
   모바일 : 카드 테두리 없이 화면 가득
   ========================================================================= */
@media (max-width: 560px) {
  .r-background { justify-content: flex-start; padding: 40px 0; background: #fff; }
  .r-background .mbskin_box,
  .r-background .register_form_inner,
  .r-background #reg_result,
  .r-background #find_info.new_win,
  .r-background #mb_confirm,
  .r-background #pw_confirm {
    padding: 8px 20px 24px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .r-background #mb_login .mbskin_box { padding-top: 24px; }
  .r-background #find_info.new_win { padding: 8px 20px 24px !important; }
  .r-background #find_info #win_title,
  .r-background #mb_confirm h1,
  .r-background #pw_confirm h1,
  .r-background .register_form_inner::before { font-size: 22px; }
  .r-background #captcha { gap: 6px; }
  .r-background #captcha #captcha_img { height: 46px; }
  .r-background #captcha #captcha_key { flex-basis: 64px; height: 46px; font-size: 16px; }
  .r-background #captcha #captcha_mp3,
  .r-background #captcha #captcha_reload { width: 38px; height: 38px; }
}
