/* =============================================
   Portal Member Skin — style.css
   ============================================= */

:root {
    --pms-primary:    #0D4990;
    --pms-primary-dk: #0B407F;
    --pms-text:       #1a1a1a;
    --pms-sub:        #666;
    --pms-border:     #e0e0e0;
    --pms-bg:         #f4f5f7;
    --pms-white:      #fff;
    --pms-radius:     12px;
    --pms-danger:     #e53935;
}

/* ── 레이아웃 래퍼 ── */
.pms_wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    padding: 40px 16px 60px;
}
.pms_wrap_wide { align-items: flex-start; }

/* ── 카드 ── */
.pms_card {
    background: var(--pms-white);
    border-radius: var(--pms-radius);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    padding: 40px 36px;
    width: 100%;
    max-width: 460px;
}
.pms_card_wide { max-width: 680px; }

/* ── 로고 ── */
.pms_logo {
    text-align: center;
    margin-bottom: 24px;
}
.pms_logo a { text-decoration: none; }
.pms_logo_text {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    color: var(--pms-primary);
    letter-spacing: -0.5px;
}

/* ── 페이지 제목 ── */
.pms_title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pms-text);
    margin: 0 0 28px;
    text-align: center;
    letter-spacing: -0.3px;
}

/* ── 섹션 ── */
.pms_section {
    border-top: 1px solid var(--pms-border);
    padding-top: 24px;
    margin-top: 24px;
}
.pms_section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.pms_section_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pms-text);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pms-primary);
    display: inline-block;
}

/* ── 필드 그룹 ── */
.pms_fields { display: flex; flex-direction: column; gap: 16px; }
.pms_grid2  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── 개별 필드 ── */
.pms_field { display: flex; flex-direction: column; gap: 6px; }
.pms_label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pms-text);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.pms_req { color: var(--pms-primary); font-size: 14px; line-height: 1; }
.pms_tip {
    font-size: 11px;
    color: var(--pms-sub);
    font-weight: 400;
}

/* ── 인풋 ── */
.pms_input,
.pms_textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--pms-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--pms-text);
    background: var(--pms-white);
    box-sizing: border-box;
    transition: border-color .2s;
    outline: none;
    font-family: inherit;
}
.pms_input:focus,
.pms_textarea:focus { border-color: var(--pms-primary); box-shadow: 0 0 0 3px rgba(13,73,144,.12); }
.pms_input[readonly] { background: #f9f9f9; color: var(--pms-sub); }
.pms_textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

/* ── 메시지 ── */
.pms_msg {
    font-size: 12px;
    margin-top: 2px;
    min-height: 16px;
}

/* ── 로그인 전용 ── */
.pms_login_opts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 20px;
}
.pms_chk_label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--pms-sub);
    cursor: pointer;
}
.pms_link_sm {
    font-size: 13px;
    color: var(--pms-sub);
    text-decoration: underline;
}
.pms_link_sm:hover { color: var(--pms-primary); }

/* ── 구분선 ── */
.pms_divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}
.pms_divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--pms-border);
}
.pms_divider span {
    position: relative;
    background: var(--pms-white);
    padding: 0 12px;
    font-size: 12px;
    color: #aaa;
}

/* ── 회원가입 CTA ── */
.pms_register_cta {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--pms-sub);
}
.pms_btn_register {
    padding: 8px 20px;
    border: 1.5px solid var(--pms-primary);
    border-radius: 8px;
    color: var(--pms-primary);
    font-size: 13px;
    font-weight: 600;
    transition: background .15s, color .15s;
}
.pms_btn_register:hover { background: var(--pms-primary); color: #fff; }

/* ── 공통 버튼 ── */
.pms_btn_submit {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--pms-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s;
    letter-spacing: -0.3px;
    margin-top: 8px;
}
.pms_btn_submit:hover   { background: var(--pms-primary-dk); }
.pms_btn_submit:disabled { background: #ccc; cursor: not-allowed; }

/* ── 인증 버튼 ── */
.pms_cert_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.pms_btn_cert {
    padding: 8px 16px;
    border: 1.5px solid var(--pms-border);
    border-radius: 8px;
    background: var(--pms-white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--pms-text);
    transition: border-color .15s;
}
.pms_btn_cert:hover { border-color: var(--pms-primary); color: var(--pms-primary); }
.pms_cert_desc { font-size: 11px; color: var(--pms-sub); font-weight: 400; }
.pms_cert_done {
    font-size: 13px;
    color: var(--pms-primary);
    font-weight: 600;
    padding: 8px 12px;
    background: #E7EEF7;
    border-radius: 8px;
    display: inline-block;
}
.pms_req_badge {
    font-size: 11px;
    background: var(--pms-primary);
    color: #fff;
    padding: 2px 7px;
    border-radius: 4px;
}

/* ── 주소 ── */
.pms_addr_row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}
.pms_addr_row .pms_input { flex: 1; }
.pms_btn_addr {
    flex-shrink: 0;
    padding: 0 14px;
    background: #f1f1f1;
    border: 1.5px solid var(--pms-border);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    color: var(--pms-text);
    white-space: nowrap;
}
.pms_btn_addr:hover { background: var(--pms-primary); color: #fff; border-color: var(--pms-primary); }

/* ── 캡차 ── */
.pms_captcha { margin-top: 16px; }

/* ── 액션 버튼 영역 ── */
.pms_actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pms_btn_cancel {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1.5px solid var(--pms-border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pms-sub);
    transition: border-color .15s, color .15s;
}
.pms_btn_cancel:hover { border-color: #999; color: var(--pms-text); }

/* ── 소셜 로그인 (코어 스킨 오버라이드) ── */
#mb_login .social_login,
.pms_wrap .social_login { margin-top: 16px; }

/* ── 약관 동의 페이지 ── */
.pms_agree_notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff7f7;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 20px;
}
.pms_agree_section {
    border: 1px solid var(--pms-border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 16px;
}
.pms_agree_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.pms_agree_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pms-text);
    margin: 0;
}
.pms_agree_chk {
    font-size: 13px;
    font-weight: 600;
    color: var(--pms-primary);
    flex-shrink: 0;
}

/* ── 약관 동의 체크박스 ── */
.pms_chk_label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--pms-primary);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
}
.pms_agree_textarea {
    height: 130px;
    background: var(--pms-bg);
    font-size: 12px;
    line-height: 1.6;
    color: var(--pms-sub);
}
.pms_agree_table_wrap {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    overflow: hidden;
}
.pms_agree_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}
.pms_agree_table caption {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
.pms_agree_table th {
    background: #f4f6f9 !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #d0d5dd !important;
    border-right: 1px solid #d0d5dd !important;
    border-left: 0 !important;
    border-top: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #555 !important;
    text-align: center !important;
    white-space: nowrap;
}
.pms_agree_table th:last-child {
    border-right: 0 !important;
}
.pms_agree_table td {
    padding: 10px 14px !important;
    border-bottom: 1px solid #eaecf0 !important;
    border-right: 1px solid #eaecf0 !important;
    border-left: 0 !important;
    border-top: 0 !important;
    font-size: 12px !important;
    color: #333 !important;
    line-height: 1.6 !important;
    vertical-align: top !important;
    background: #fff !important;
}
.pms_agree_table td:last-child {
    border-right: 0 !important;
}
.pms_agree_table tbody tr:last-child td {
    border-bottom: 0 !important;
}
.pms_agree_chkall {
    display: flex;
    align-items: center;
    background: #E7EEF7;
    border: 1.5px solid var(--pms-primary);
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 16px;
}
.pms_agree_chkall .pms_chk_label {
    font-size: 14px;
    font-weight: 700;
    color: var(--pms-primary);
    gap: 10px;
}

/* ── 반응형 ── */
@media (max-width: 520px) {
    .pms_card        { padding: 28px 18px; }
    .pms_card_wide   { padding: 28px 18px; }
    .pms_grid2       { grid-template-columns: 1fr; }
    .pms_login_opts  { flex-direction: column; align-items: flex-start; gap: 8px; }
    .pms_register_cta { flex-direction: column; gap: 8px; }
}

/* =======================================================
   회원정보 찾기 / 비밀번호 재설정  (pfl_*)
   ======================================================= */

/* ── 탭 ── */
.pfl_tabs {
    display: flex;
    border: 1.5px solid var(--pms-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}
.pfl_tab {
    flex: 1;
    padding: 11px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--pms-sub);
    background: var(--pms-bg);
    border: none;
    cursor: pointer;
    transition: background .15s, color .15s;
    letter-spacing: -0.2px;
}
.pfl_tab + .pfl_tab { border-left: 1.5px solid var(--pms-border); }
.pfl_tab_on {
    background: var(--pms-white);
    color: var(--pms-primary);
}
.pfl_tab:hover:not(.pfl_tab_on) { background: #eaeaea; }

/* ── 안내 문구 ── */
.pfl_desc {
    font-size: 13px;
    color: var(--pms-sub);
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--pms-primary);
}

/* ── 아이디 뱃지 (비밀번호 재설정 페이지) ── */
.pfl_id_badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #E7EEF7;
    border: 1.5px solid #C3D9ED;
    border-radius: 10px;
    padding: 13px 16px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--pms-text);
}
.pfl_id_badge i {
    font-size: 20px;
    color: var(--pms-primary);
    flex-shrink: 0;
}

/* =======================================================
   쪽지 메신저 (ms_*)
   ======================================================= */

/* ── 공통 변수 ── */
:root {
    --ms-primary:    #0D4990;
    --ms-primary-dk: #0B407F;
    --ms-header-bg:  #fff;
    --ms-header-h:   56px;
    --ms-bg:         #f0f2f5;
    --ms-bubble-me:  #0D4990;
    --ms-bubble-th:  #fff;
    --ms-text:       #1a1a1a;
    --ms-sub:        #888;
    --ms-border:     #e5e8ec;
    --ms-danger:     #e53935;
    --ms-radius-bubble: 18px;
}

/* ── 래퍼 ── */
.ms_wrap {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--ms-text);
}

/* ── 헤더 ── */
.ms_header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: var(--ms-header-h);
    padding: 0 16px;
    background: var(--ms-header-bg);
    border-bottom: 1px solid var(--ms-border);
    gap: 8px;
}
.ms_header_title {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    color: var(--ms-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ms_header_count {
    font-size: 12px;
    color: var(--ms-sub);
    background: #f0f2f5;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
}
.ms_header_view { gap: 10px; }
.ms_header_av   { flex-shrink: 0; }
.ms_header_av img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.ms_back, .ms_header_del {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    color: var(--ms-text);
    font-size: 15px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .15s;
}
.ms_back:hover, .ms_header_del:hover { background: #f0f2f5; }
.ms_header_del { color: #bbb; font-size: 17px; }
.ms_header_del:hover { color: var(--ms-danger); background: #fff0f0; }
.ms_header_close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: none;
    font-size: 20px;
    color: var(--ms-sub);
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    transition: background .15s;
}
.ms_header_close:hover { background: #f0f2f5; color: var(--ms-text); }

/* ── 탭 ── */
.ms_tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ms-border);
    padding: 0 16px;
    background: #fff;
    gap: 0;
}
.ms_tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 13px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ms-sub);
    text-decoration: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1px;
    transition: color .15s;
}
.ms_tab:hover    { color: var(--ms-text); }
.ms_tab_on       { color: var(--ms-primary); border-color: var(--ms-primary); }
.ms_tab_compose  {
    margin-left: auto;
    padding: 7px 14px;
    background: var(--ms-primary);
    color: #fff !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background .15s;
    align-self: center;
}
.ms_tab_compose:hover { background: var(--ms-primary-dk); }

/* ── 목록 ── */
.ms_list { list-style: none; padding: 0; margin: 0; flex: 1; }
.ms_item {
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid var(--ms-border);
    gap: 12px;
    transition: background .1s;
    position: relative; /* 오버레이 앵커 기준점 */
}
.ms_item:hover { background: #f9fafb; }
.ms_unread     { background: #E7EEF7; }
.ms_unread:hover { background: #E7EEF7; }
/* 카드 전체를 덮는 투명 링크 오버레이 */
.ms_item_link {
    position: absolute;
    inset: 0;
    text-decoration: none;
}
/* 사이드뷰·삭제버튼·아바타를 오버레이 위에 노출 */
.ms_item_name,
.ms_avatar,
.ms_del { position: relative; z-index: 1; }
.ms_avatar { flex-shrink: 0; }
.ms_avatar img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.ms_item_body { flex: 1; min-width: 0; }
.ms_item_top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.ms_item_name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ms-text);
}
.ms_badge {
    background: var(--ms-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    line-height: 1.4;
}
.ms_item_time {
    font-size: 11px;
    color: var(--ms-sub);
    margin-left: auto;
    white-space: nowrap;
}
.ms_item_preview {
    font-size: 13px;
    color: var(--ms-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ms_del {
    flex-shrink: 0;
    font-size: 16px;
    color: #d0d0d0;
    text-decoration: none;
    padding: 8px 4px;
    transition: color .15s;
}
.ms_del:hover { color: var(--ms-danger); }
.ms_empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ms-sub);
    font-size: 14px;
    line-height: 2;
    list-style: none;
}
.ms_empty i { font-size: 36px; display: block; margin-bottom: 8px; opacity: .35; }

/* ── 말풍선 영역 ── */
.ms_date_label {
    text-align: center;
    font-size: 11px;
    color: var(--ms-sub);
    padding: 14px 20px 6px;
    background: var(--ms-bg);
}
.ms_bubble_area {
    flex: 1;
    background: var(--ms-bg);
    padding: 16px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ms_row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.ms_row_right { flex-direction: row-reverse; }

.ms_bav { flex-shrink: 0; align-self: flex-end; }
.ms_bav img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.ms_bubble_wrap {
    display: flex;
    flex-direction: column;
    max-width: 72%;
}
.ms_row_right .ms_bubble_wrap { align-items: flex-end; }
.ms_row_left  .ms_bubble_wrap { align-items: flex-start; }
.ms_bubble_name {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    padding-left: 4px;
}
.ms_bubble {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* 받은 말풍선 - 왼쪽, 흰색 */
.ms_bubble_recv {
    background: var(--ms-bubble-th);
    color: var(--ms-text);
    border-radius: var(--ms-radius-bubble) var(--ms-radius-bubble) var(--ms-radius-bubble) 4px;
}
.ms_bubble_recv::before {
    content: '';
    position: absolute;
    bottom: 0; left: -8px;
    width: 0; height: 0;
    border: 8px solid transparent;
    border-right-color: var(--ms-bubble-th);
    border-left: 0;
    border-bottom: 0;
    filter: drop-shadow(-1px 1px 1px rgba(0,0,0,.08));
}

/* 보낸 말풍선 - 오른쪽, 초록색 */
.ms_bubble_send {
    background: var(--ms-bubble-me);
    color: #fff;
    border-radius: var(--ms-radius-bubble) var(--ms-radius-bubble) 4px var(--ms-radius-bubble);
}
.ms_bubble_send::after {
    content: '';
    position: absolute;
    bottom: 0; right: -8px;
    width: 0; height: 0;
    border: 8px solid transparent;
    border-left-color: var(--ms-bubble-me);
    border-right: 0;
    border-bottom: 0;
}

/* ── 보기 하단 네비게이션 ── */
.ms_view_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--ms-border);
    background: #fff;
    flex-wrap: wrap;
}
.ms_nav_btn {
    padding: 8px 16px;
    border: 1.5px solid var(--ms-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ms-sub);
    text-decoration: none;
    transition: border-color .15s, color .15s;
}
.ms_nav_btn:hover { border-color: #aaa; color: var(--ms-text); }
/* ── 빠른 답장 입력창 ── */
.ms_quick_reply {
    border-top: 1px solid var(--ms-border);
    background: #fff;
    padding: 12px 14px;
}
.ms_reply_captcha { margin-bottom: 8px; }
.ms_reply_row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.ms_reply_textarea {
    flex: 1;
    resize: none;
    border: 1.5px solid var(--ms-border);
    border-radius: 18px;
    padding: 9px 14px;
    font-size: 14px;
    line-height: 1.5;
    font-family: inherit;
    color: var(--ms-text);
    background: var(--ms-bg);
    outline: none;
    overflow: hidden;
    min-height: 38px;
    max-height: 120px;
    transition: border-color .15s;
}
.ms_reply_textarea:focus { border-color: var(--ms-primary); background: #fff; }
.ms_reply_btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--ms-primary);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.ms_reply_btn:hover:not(:disabled) { background: var(--ms-primary-dk); }
.ms_reply_btn:disabled { background: #ccc; cursor: not-allowed; }
.ms_reply_msg {
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
}
.ms_reply_msg_ok  { color: var(--ms-primary); }
.ms_reply_msg_err { color: var(--ms-danger); }

/* ── 쪽지 쓰기 폼 ── */
.ms_form {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 0;
    gap: 0;
}
.ms_form_row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.ms_form_label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ms_form_input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--ms-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--ms-text);
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
}
.ms_form_input:focus { border-color: var(--ms-primary); box-shadow: 0 0 0 3px rgba(13,73,144,.1); }
.ms_form_tip {
    font-size: 11px;
    color: var(--ms-sub);
    margin-top: -4px;
}
.ms_form_row_content { flex: 1; }
.ms_form_textarea {
    flex: 1;
    width: 100%;
    min-height: 160px;
    padding: 12px 14px;
    border: 1.5px solid var(--ms-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--ms-text);
    background: #fff;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    line-height: 1.6;
    font-family: inherit;
    transition: border-color .2s;
}
.ms_form_textarea:focus { border-color: var(--ms-primary); box-shadow: 0 0 0 3px rgba(13,73,144,.1); }
.ms_form_captcha { padding-bottom: 6px; }
.ms_send_btn {
    padding: 12px 28px;
    background: var(--ms-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .15s;
}
.ms_send_btn:hover { background: var(--ms-primary-dk); }

/* ── 공통 푸터/닫기 ── */
.ms_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--ms-border);
    background: #fff;
    flex-wrap: wrap;
}
.ms_form_btns { justify-content: flex-end; margin-top: auto; }
.ms_keep_info {
    font-size: 12px;
    color: var(--ms-sub);
    margin: 0;
    flex: 1;
    text-align: left;
}
.ms_close_btn {
    padding: 9px 24px;
    border: 1.5px solid var(--ms-border);
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ms-sub);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.ms_close_btn:hover { border-color: #999; color: var(--ms-text); }

/* =======================================================
   포인트 (pw_*)
   ======================================================= */

.pw_wrap {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--ms-text);
}

/* ── 헤더 ── */
.pw_header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid var(--ms-border);
}
.pw_title {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ms-text);
}
.pw_close_x {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: none;
    font-size: 20px;
    color: var(--ms-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .15s;
}
.pw_close_x:hover { background: #f0f2f5; color: var(--ms-text); }

/* ── 보유 포인트 카드 ── */
.pw_summary {
    margin: 20px 20px 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #0D4990 0%, #0B407F 100%);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(13,73,144,.25);
}
.pw_summary_inner {}
.pw_summary_label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.8);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.pw_summary_value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}
.pw_summary_value em {
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    margin-left: 3px;
}
.pw_summary_icon {
    font-size: 40px;
    color: rgba(255,255,255,.3);
}

/* ── 내역 목록 ── */
.pw_list {
    list-style: none;
    padding: 16px 20px 0;
    margin: 16px 0 0;
    flex: 1;
}
.pw_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #f2f3f5;
}
.pw_item:last-child { border-bottom: none; }
.pw_dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}
.pw_dot.pw_plus  { background: var(--ms-primary); box-shadow: 0 0 0 3px rgba(13,73,144,.2); }
.pw_dot.pw_minus { background: var(--ms-danger);  box-shadow: 0 0 0 3px rgba(229,57,53,.15); }
.pw_info { flex: 1; min-width: 0; }
.pw_content { font-size: 13px; color: var(--ms-text); font-weight: 500; }
.pw_date {
    font-size: 11px;
    color: #aaa;
    margin-top: 3px;
    display: block;
}
.pw_expire { font-style: italic; color: #c0392b; }
.pw_point {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}
.pw_plus  { color: var(--ms-primary); }
.pw_minus { color: var(--ms-danger); }
.pw_empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ms-sub);
    font-size: 14px;
    line-height: 2.2;
    list-style: none;
}
.pw_empty i { font-size: 36px; display: block; opacity: .3; }

/* ── 푸터 ── */
.pw_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--ms-border);
    flex-wrap: wrap;
    margin-top: 8px;
}
.pw_close_btn {
    padding: 9px 28px;
    border: 1.5px solid var(--ms-border);
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ms-sub);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.pw_close_btn:hover { border-color: #999; color: var(--ms-text); }

/* =======================================================
   스크랩 (sc_*)
   ======================================================= */

.sc_wrap {
    max-width: 540px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: var(--ms-text);
}

/* ── 헤더 ── */
.sc_header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid var(--ms-border);
}
.sc_title {
    flex: 1;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ms-text);
}
.sc_close_x {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: none;
    font-size: 20px;
    color: var(--ms-sub);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .15s;
}
.sc_close_x:hover { background: #f0f2f5; }

/* ── 목록 ── */
.sc_list {
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
    flex: 1;
}
.sc_item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f2f3f5;
    transition: background .1s;
}
.sc_item:hover { background: #f9fafb; }
.sc_item_inner {
    flex: 1;
    padding: 14px 20px;
    min-width: 0;
}
.sc_subject {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ms-text);
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sc_subject:hover { color: var(--ms-primary); }
.sc_meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sc_board {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ms-primary);
    text-decoration: none;
    background: #E7EEF7;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.sc_board:hover { background: #E7EEF7; }
.sc_date {
    font-size: 11px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 3px;
}
.sc_del {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    color: #d0d0d0;
    font-size: 16px;
    text-decoration: none;
    border-left: 1px solid #f2f3f5;
    flex-shrink: 0;
    transition: color .15s, background .15s;
}
.sc_del:hover { color: var(--ms-danger); background: #fff5f5; }
.sc_empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ms-sub);
    font-size: 14px;
    line-height: 2.2;
    list-style: none;
}
.sc_empty i { font-size: 36px; display: block; opacity: .3; }

/* ── 푸터 ── */
.sc_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--ms-border);
    flex-wrap: wrap;
}
.sc_close_btn {
    padding: 9px 28px;
    border: 1.5px solid var(--ms-border);
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ms-sub);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.sc_close_btn:hover { border-color: #999; color: var(--ms-text); }
.pms_scrap_del:hover { color: var(--pms-danger); }

/* =======================================================
   팝업 공통 (메일보내기 / 자기소개)  popup_*
   ======================================================= */
.popup_page {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}
.popup_win {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.popup_header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 54px;
    border-bottom: 2px solid #0D4990;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}
.popup_header_title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popup_header_icon {
    font-size: 16px;
    color: #0D4990;
    flex-shrink: 0;
}
.popup_close_x {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border: none;
    background: none;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    border-radius: 50%;
    transition: background .15s, color .15s;
    flex-shrink: 0;
    line-height: 1;
}
.popup_close_x:hover { background: #f5f5f5; color: #555; }
.popup_body {
    flex: 1;
    padding: 20px 20px 0;
    overflow-y: auto;
}
.popup_footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.popup_btn_primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: #0D4990;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}
.popup_btn_primary:hover { background: #0B407F; }
.popup_btn_primary:disabled { background: #ccc; cursor: not-allowed; }
.popup_btn_cancel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #fff;
    color: #666;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s;
    font-family: inherit;
}
.popup_btn_cancel:hover { border-color: #aaa; color: #333; }

/* =======================================================
   메일보내기  fm_*
   ======================================================= */
.fm_fields { display: flex; flex-direction: column; gap: 14px; }
.fm_field  { display: flex; flex-direction: column; gap: 5px; }
.fm_label  {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.fm_input,
.fm_textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
    font-family: inherit;
}
.fm_input:focus,
.fm_textarea:focus { border-color: #0D4990; box-shadow: 0 0 0 3px rgba(13,73,144,.1); }
.fm_textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.fm_type_row {
    display: flex;
    gap: 16px;
    align-items: center;
}
.fm_type_label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}
.fm_type_label input[type="radio"] { accent-color: #0D4990; width: 15px; height: 15px; }
.fm_file_row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fafafa;
}
.fm_file_icon {
    font-size: 15px;
    color: #aaa;
    flex-shrink: 0;
}
.fm_file_input {
    flex: 1;
    font-size: 13px;
    color: #555;
    border: none;
    background: transparent;
    outline: none;
    cursor: pointer;
}
.fm_attach_info {
    font-size: 11px;
    color: #888;
    line-height: 1.5;
    margin-top: 2px;
}
.fm_captcha { margin-top: 4px; }
.fm_divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 6px 0;
}

/* =======================================================
   자기소개  pp_*
   ======================================================= */
.pp_hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 16px;
    gap: 10px;
}
.pp_avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #C3D9ED;
    display: block;
}
.pp_avatar_wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: #E7EEF7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #0D4990;
    flex-shrink: 0;
    overflow: hidden;
}
.pp_avatar_wrap img {
    width: 72px !important; height: 72px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.pp_nick {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.3;
}
.pp_nick .sv_member { color: #1a1a1a !important; text-decoration: none !important; font-weight: 800 !important; }
.pp_nick .sv_member:hover { color: #0B407F !important; }
.pp_stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #f0f0f0;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 20px;
}
.pp_stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 14px 10px;
    background: #fff;
    text-align: center;
}
.pp_stat_label {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.pp_stat_value {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    word-break: break-word;
}
.pp_stat_value.pp_em { color: #0D4990; }
.pp_homepage {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 20px 0;
    padding: 10px 14px;
    background: #f4f5f7;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pp_homepage:hover { background: #E7EEF7; color: #0B407F; }
.pp_intro_section {
    margin: 16px 20px 0;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #efefef;
}
.pp_intro_label {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.pp_intro_text {
    font-size: 13px;
    color: #444;
    line-height: 1.7;
    word-break: break-word;
    margin: 0;
}
.pp_spacer { height: 20px; }

/* ── 새 회원 글쓰기 안내 (extend/spam_guard.extend.php 와 숫자 맞출 것) ── */
.pms_level_notice {
    border: 1px solid var(--pms-border);
    background: var(--pms-bg);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--pms-sub);
    line-height: 1.7;
    margin-bottom: 20px;
}
.pms_level_title { display: flex; align-items: center; gap: 8px; color: var(--pms-text); font-size: 13.5px; margin-bottom: 6px; }
.pms_level_notice ul { margin: 0; padding-left: 18px; list-style: disc; }
.pms_level_notice b { color: var(--pms-text); }

/* SNS(구글) 로그인·가입 버튼 — 기본 skin/social 은 가입 화면에서 30px 아이콘만 보여 PC 에서 누르기 어려웠다.
   가입·로그인 둘 다 입력칸 높이(48px)의 가로 꽉 찬 버튼 + 글자로(2026-10-15, genau 에서 이식). 마크업은 skin/social 기본 그대로. */
.pms_card #sns_register, .pms_card #sns_login { float: none; display: block; margin: 0 0 20px; padding: 0; border: 0; background: none; text-align: left; }
.pms_card #sns_login { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--pms-border); }
.pms_card #sns_register h2, .pms_card #sns_login h3 { float: none; display: block; width: auto; height: auto; padding: 0; margin: 0 0 8px; font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--pms-text); text-align: left; border: 0; }
.pms_card #sns_register .sns-wrap, .pms_card #sns_login .sns-wrap { float: none; display: flex; flex-direction: column; gap: 8px; width: auto; height: auto; line-height: normal; margin: 0; padding: 0; text-align: left; }
.pms_card #sns_register .sns-icon, .pms_card #sns_login .sns-icon { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; margin: 0; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 700; line-height: 1; text-align: center; }
.pms_card #sns_register .sns-icon .txt, .pms_card #sns_login .sns-icon .txt { position: static; display: inline; padding: 0; border: 0; font-size: inherit; line-height: inherit; overflow: visible; background: none; }
.pms_card #sns_register .sns-google, .pms_card #sns_login .sns-google { background: var(--pms-white); color: var(--pms-text); border: 1.5px solid var(--pms-border); letter-spacing: 0; }
.pms_card #sns_register .sns-google:hover, .pms_card #sns_login .sns-google:hover { border-color: var(--pms-primary); }
.pms_card #sns_register .sns-google .ico, .pms_card #sns_login .sns-google .ico { position: static; flex-shrink: 0; width: 22px; height: 22px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") no-repeat center / 22px 22px !important; }

/* ── 회원가입·정보수정 화면 다듬기 (2026-10-15) — 구역 제목에 포인트 막대, 입력칸 안 빨간 별(코어 .required 배경) 제거 ── */
#fregisterform .pms_title { font-size: 22px; margin-bottom: 28px; }
#fregisterform .pms_section_title { display: flex; align-items: center; gap: 8px; padding-bottom: 0; border-bottom: 0; font-size: 15px; font-weight: 800; }
#fregisterform .pms_section_title::before { content: ""; flex-shrink: 0; width: 4px; height: 16px; border-radius: 2px; background: var(--pms-primary); }
#fregisterform .required, #fregisterform textarea.required { background-image: none !important; }
#fregisterform input[readonly] { background: var(--pms-bg); color: var(--pms-sub); cursor: default; }
#fregisterform .pms_actions { margin-top: 28px; }
@media (max-width: 640px) { #fregisterform .pms_card_wide { padding: 28px 20px; } }
/* 회원 탈퇴 — 저장 버튼에서 멀리, 카드 밖 별도 구역. .pms_wrap 이 가로 flex 라 폭을 줄인 탈퇴 구역이 카드 옆에 붙었다 → 넓은 화면(가입·정보수정)은 세로로 쌓는다 */
.pms_wrap_wide { flex-direction: column; align-items: center; }
.pms_wrap_wide > form, .pms_wrap_wide > .pms_card { width: 100%; max-width: 680px; }
.rf_leave { width: 100%; max-width: 440px; margin: 56px auto 0; padding: 20px 0 4px; border-top: 1px dashed var(--pms-border); text-align: center; }
.rf_leave_q { margin: 0 0 6px; font-size: 12.5px; color: var(--pms-sub); }
.rf_leave_link { font-size: 12.5px; color: var(--pms-sub); text-decoration: underline; text-underline-offset: 2px; }
.rf_leave_link:hover { color: #d93025; }
/* 자동등록방지 — 입력칸과 같은 높이·둥근 모서리 (아이콘 배경 그림은 그대로) */
#fregisterform #captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#fregisterform #captcha #captcha_img { height: 44px; border: 1.5px solid var(--pms-border); border-radius: 8px; }
#fregisterform #captcha #captcha_key { width: 110px; height: 44px; margin: 0; border: 1.5px solid var(--pms-border); border-radius: 8px; font-size: 18px; }
#fregisterform #captcha #captcha_key:focus { outline: none; border-color: var(--pms-primary); }
#fregisterform #captcha #captcha_mp3, #fregisterform #captcha #captcha_reload { width: 44px; height: 44px; border: 1.5px solid var(--pms-border); border-radius: 8px; background-color: var(--pms-white); }
#fregisterform #captcha #captcha_info { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--pms-sub); }
#fregisterform #captcha #captcha_audio { flex-basis: 100%; max-width: 100%; }

/* 정보수정 > 구글 계정 연결(그누보드 skin/social/social_u_register_form.skin.php) — 기본은 아이콘만 보여 연결 여부를 알기 어려웠다.
   연결 안 됨(.sns-icon-not): "구글 계정 연결하기" 버튼 / 연결됨: "구글 계정 연결됨 · 누르면 해제" (2026-10-15) */
.sl_link { margin: 0; padding: 0; list-style: none; }
.sl_link > li { list-style: none; margin: 0; padding: 0; }
.sl_link .frm_label { display: none; }
.sl_link .reg-form, .sl_link .sns-wrap { margin: 0 !important; padding: 0; text-align: left; }
.sl_link .sns-wrap { display: flex; flex-direction: column; gap: 8px; }
.sl_link .sns-icon { position: relative; display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100% !important; height: 48px !important; margin: 0 !important; padding: 0 16px; box-sizing: border-box; border: 1.5px solid var(--pms-primary) !important; border-radius: 8px; background: var(--pms-bg) !important; color: var(--pms-text) !important; font-size: 14.5px; font-weight: 700; line-height: 1; text-decoration: none !important; overflow: visible !important; }
.sl_link .sns-icon .txt { display: none !important; }
.sl_link .sns-icon::after { content: "연결됨 · 누르면 해제"; }
.sl_link .sns-google::after { content: "구글 계정 연결됨 · 누르면 해제"; }
.sl_link .sns-icon.sns-icon-not { border-color: var(--pms-border) !important; background: var(--pms-white) !important; }
.sl_link .sns-icon.sns-icon-not::after { content: "계정 연결하기"; }
.sl_link .sns-google.sns-icon-not::after { content: "구글 계정 연결하기"; }
.sl_link .sns-icon.sns-icon-not:hover { border-color: var(--pms-primary) !important; }
.sl_link .sns-icon .ico { position: static !important; flex-shrink: 0; width: 20px !important; height: 20px !important; margin: 0 !important; border-radius: 0; background-color: transparent !important; }
.sl_link .sns-google .ico { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") no-repeat center / 20px 20px !important; }

/* 정보수정에 "구글 계정 연결"(그누보드 소셜 기능)을 넣으면 skin/social/style.css 가 같이 불려 오는데, 그 안의
   #fregisterform p·section·h2·textarea 규칙(원래 구글 가입 화면용)이 이 폼까지 바꿔 분홍 상자·테두리 상자가 생겼다 — 되돌림(2026-10-15) */
#fregisterform .pms_card section { position: static; margin: 24px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--pms-border); border-radius: 0; background: none; }
#fregisterform .pms_card section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
#fregisterform .pms_card h2 { padding: 0; border-bottom: 0; line-height: 1.4; text-align: left; }
#fregisterform .pms_card p { position: static; height: auto; padding: 0; background: none; border-radius: 0; color: var(--pms-sub); line-height: 1.6; text-align: left; font-weight: 400; }
#fregisterform .pms_card p::before { content: none; display: none; }
#fregisterform .pms_card textarea { display: block; width: 100%; height: auto; min-height: 100px; padding: 10px 14px; box-sizing: border-box; border: 1.5px solid var(--pms-border); border-radius: 8px; background: var(--pms-white); color: var(--pms-text); line-height: 1.6; }

/* 구글 연결 버튼을 감싼 칸들도 전체 폭(아호이에서 버튼이 글자 폭으로 줄어들었다) */
.sl_link > li, .sl_link .reg-form { display: block !important; width: 100% !important; float: none !important; }
.sl_link .sns-wrap { width: 100% !important; float: none !important; }
