@charset "utf-8";
/* 포털 검색 페이지 플러그인 - 네이버/구글 스타일 */

#pts_wrap, #pts_admin_wrap, #pts_wm_wrap {
    font-family: -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    color: #333;
    background: #f5f6f7;
    min-height: 100%;
}

#pts_wrap a, #pts_admin_wrap a, #pts_wm_wrap a { text-decoration: none; color: #333; }
#pts_wrap ul, #pts_wrap li { list-style: none; margin: 0; padding: 0; }

/* ── 검색 헤더 ── */
#pts_header {
    background: #fff;
    border-bottom: 1px solid #e4e8eb;
}
.pts_header_inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.pts_logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--portal-primary) !important;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.pts_logo img { height: 32px; display: block; }

.pts_search_form {
    flex: 1;
    display: flex;
    border: 2px solid var(--portal-primary);
    border-radius: 24px;
    overflow: hidden;
    max-width: 600px;
}
.pts_search_form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 10px 18px;
    font-size: 15px;
    font-family: inherit;
}
.pts_search_form button {
    flex-shrink: 0;
    border: none;
    background: var(--portal-primary);
    color: #fff;
    padding: 0 22px;
    cursor: pointer;
    font-size: 15px;
}
.pts_search_form button:hover { background: var(--portal-primary-hover); }

/* 음성 검색 버튼 (검색창 안, 검색 버튼 왼쪽) */
.pts_search_form .pts_voice_btn {
    background: transparent !important;
    color: #999 !important;
    padding: 0 12px !important;
    border-left: 1px solid #e4e8eb !important;
}
.pts_search_form .pts_voice_btn:hover { color: var(--portal-primary) !important; }
.pts_search_form .pts_voice_btn.listening {
    color: #fff !important;
    background: #ff4747 !important;
    animation: pts_voice_pulse 1.2s ease-in-out infinite;
}
@keyframes pts_voice_pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* 입력도구(화면 키보드) 버튼 (검색창 안, 음성 검색 버튼 왼쪽) */
.pts_search_form .pts_keyboard_btn {
    background: transparent !important;
    color: #999 !important;
    padding: 0 12px !important;
    border-left: 1px solid #e4e8eb !important;
}
.pts_search_form .pts_keyboard_btn:hover { color: var(--portal-primary) !important; }

/* 입력도구 화면 키보드 패널 (테마/플러그인 공용 클래스, js/search-tools.js 가 생성) */
.pts_kbd_panel {
    display: none;
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #dadddf;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 10px;
    width: 420px;
    max-width: calc(100vw - 16px);
}
.pts_kbd_panel.open { display: block; }
.pts_kbd_row { display: flex; gap: 4px; margin-bottom: 4px; justify-content: center; }
.pts_kbd_row:last-child { margin-bottom: 0; }
.pts_kbd_key {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
    border: 1px solid #e4e8eb;
    border-radius: 4px;
    background: #f8f9fa;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    text-align: center;
}
.pts_kbd_key:hover { background: #eef0f2; }
.pts_kbd_key.active { background: var(--portal-primary); border-color: var(--portal-primary); color: #fff; }
.pts_kbd_row_bottom .pts_kbd_key { font-size: 12.5px; }
.pts_kbd_wide { flex: 1.2 !important; }
.pts_kbd_space { flex: 3 !important; }
.pts_kbd_close { color: #999; }

.pts_admin_btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    color: #666 !important;
    font-size: 16px;
    transition: background .15s;
}
.pts_admin_btn:hover { background: #e4e8eb; }

/* ── 탭 ── */
.pts_tabs { border-top: 1px solid #f1f3f5; }
.pts_tabs_inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 6px;
}
.pts_tab {
    padding: 12px 18px;
    font-size: 15px;
    font-weight: bold;
    color: #666 !important;
    border-bottom: 2px solid transparent;
}
.pts_tab:hover { color: var(--portal-primary) !important; }
.pts_tab.active {
    color: var(--portal-primary) !important;
    border-bottom-color: var(--portal-primary);
}

.pts_tab_more {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    margin-left: auto;
    font-size: 18px;
    letter-spacing: 1px;
}
.pts_tab_more:hover { color: var(--portal-primary) !important; }

/* ── 검색옵션 패널 (탭바의 ··· 클릭 시 토글) ── */
.pts_option_panel {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 20px;
    border-top: 1px solid #f1f3f5;
    background: #fafbfc;
}
.pts_option_panel.open { display: block; }
.pts_option_group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pts_option_group:last-child { margin-bottom: 0; }
.pts_option_label { font-size: 12.5px; font-weight: bold; color: #888; width: 34px; flex-shrink: 0; }
.pts_option_item {
    padding: 5px 12px;
    border: 1px solid #dadddf;
    border-radius: 14px;
    font-size: 12.5px;
    color: #666 !important;
    background: #fff;
}
.pts_option_item:hover { border-color: var(--portal-primary); color: var(--portal-primary) !important; }
.pts_option_item.active { background: var(--portal-primary); border-color: var(--portal-primary); color: #fff !important; }

/* ── 결과 컨테이너 ── */
#pts_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* ── 푸터 ── */
#pts_footer {
    background: #fafbfc;
    border-top: 1px solid #e4e8eb;
    padding: 24px 20px;
}
.pts_footer_inner { max-width: 1400px; margin: 0 auto; }
.pts_footer_links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 10px; }
.pts_footer_links a { font-size: 12.5px; color: #888 !important; }
.pts_footer_links a:hover { color: var(--portal-primary) !important; }
.pts_footer_copyright { font-size: 12px; color: #999; font-family: tahoma, sans-serif; }
#pts_admin_wrap .pts_admin_footer {
    background: none;
    border-top: 1px solid #e4e8eb;
    padding: 20px 0 0;
    margin-top: 8px;
}

.pts_no_result {
    text-align: center;
    color: #999;
    padding: 100px 20px;
}
.pts_no_result i { font-size: 40px; color: #ccc; margin-bottom: 14px; display: block; }
.pts_no_result_title { color: #333; font-size: 15px; font-weight: bold; margin-bottom: 10px; }
.pts_no_result_tip { font-size: 13px; color: #999; margin: 4px 0; }

/* ── 검색 결과 없음 + 사이드(실종아동정보) 레이아웃 ── */
.pts_empty_layout { display: flex; gap: 24px; align-items: flex-start; }
.pts_empty_layout.has_side .pts_empty_main { flex: 1; min-width: 0; }
.pts_empty_layout.has_side .pts_empty_main .pts_no_result { padding: 60px 20px; }
.pts_empty_side { width: 320px; flex-shrink: 0; }
.pts_empty_layout:not(.has_side) .pts_empty_main { width: 100%; }

.pts_missing_box {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    padding: 18px;
}
.pts_missing_head {
    font-size: 15px;
    font-weight: bold;
    color: #222;
    padding-bottom: 10px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--portal-primary);
}
.pts_missing_head i { color: var(--portal-primary); margin-right: 6px; }
.pts_missing_desc { font-size: 12.5px; color: #999; margin: 8px 0 14px; }

.pts_missing_list { display: flex; flex-direction: column; gap: 12px; }
.pts_missing_card { border-bottom: 1px dashed #f1f3f5; padding-bottom: 12px; }
.pts_missing_card:last-child { border-bottom: none; padding-bottom: 0; }
.pts_missing_link { display: flex; gap: 10px; align-items: flex-start; }
.pts_missing_photo {
    flex-shrink: 0;
    width: 56px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 22px;
}
.pts_missing_photo img { width: 100%; height: 100%; object-fit: cover; }
.pts_missing_body { min-width: 0; }
.pts_missing_name { display: block; font-size: 13.5px; font-weight: bold; color: #222; }
.pts_missing_name em { font-style: normal; font-weight: normal; color: #888; font-size: 12px; }
.pts_missing_meta { display: block; font-size: 12px; color: #888; margin-top: 3px; }
.pts_missing_clothing {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pts_missing_features {
    display: block;
    font-size: 11.5px;
    color: #aaa;
    margin-top: 3px;
}
.pts_missing_more {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 12.5px;
    color: #666 !important;
}
.pts_missing_more:hover { color: var(--portal-primary) !important; }

/* 카드가 1건뿐일 때는 사진을 더 크게 보여준다 */
.pts_missing_card:only-child .pts_missing_photo { width: 88px; height: 112px; font-size: 32px; }
.pts_missing_card:only-child .pts_missing_name { font-size: 15px; }

/* 기준 시각 + 노출안내 */
.pts_missing_asof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #f1f3f5;
    font-size: 11.5px;
    color: #999;
}
.pts_missing_notice_btn {
    border: 1px solid #dadddf;
    background: #fff;
    color: #666;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
}
.pts_missing_notice_btn:hover { border-color: var(--portal-primary); color: var(--portal-primary); }

/* 실종아동정보 바로 아래 제휴 광고 박스 */
.pts_ad_box {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 16px;
}
.pts_ad_list { display: flex; flex-direction: column; gap: 10px; }
.pts_ad_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #eef0f2;
    border-radius: 6px;
    text-align: left;
    color: #555 !important;
    background: #fafbfc;
}
.pts_ad_link:hover { border-color: var(--portal-primary); background: #fff; }
.pts_ad_image {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}
.pts_ad_text { display: flex; flex-direction: column; min-width: 0; }
.pts_ad_title { font-size: 13px; font-weight: bold; color: #333; }
.pts_ad_link:hover .pts_ad_title { color: var(--portal-primary); }
.pts_ad_desc { font-size: 11.5px; color: #999; margin-top: 2px; }

/* 노출안내 모달 */
.pts_modal_overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pts_modal_overlay.open { display: flex; }
.pts_modal_box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 420px;
    width: 100%;
    padding: 26px 24px 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.pts_modal_box h3 { margin: 0 0 14px; font-size: 16px; color: #222; }
.pts_modal_box p { font-size: 13.5px; color: #555; line-height: 1.6; margin: 0 0 10px; }
.pts_modal_box p:last-child { margin-bottom: 0; }
.pts_modal_close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.pts_modal_close:hover { color: #333; }

/* ── 통합검색 ── */
.pts_unified_list { display: flex; flex-direction: column; gap: 22px; }
.pts_board_group {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    padding: 18px 20px;
}
.pts_board_group_head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 2px solid #333;
}
.pts_board_group_head h2 { font-size: 16px; margin: 0; }
.pts_board_group_head h2 a:hover { color: var(--portal-primary); }
.pts_board_group_count { font-size: 12px; color: #999; }
.pts_board_group_more { margin-left: auto; font-size: 13px; color: #666 !important; }
.pts_board_group_more:hover { color: var(--portal-primary) !important; }

.pts_result_row {
    padding: 12px 0;
    border-bottom: 1px dashed #f1f3f5;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.pts_result_row:last-child { border-bottom: none; }

.pts_row_thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f3f5;
}
.pts_row_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pts_row_body { min-width: 0; flex: 1; }
.pts_row_subject { font-size: 15pt; color: #222; display: inline-block; }
.pts_row_subject:hover { color: var(--portal-primary); text-decoration: underline; }
.pts_row_excerpt {
    font-size: 13pt;
    color: #777;
    margin: 5px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pts_row_meta { font-size: 12px; color: #999; display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 통합검색 "더보기" 상세(게시판 단일 전체 결과 + 페이징) ── */
.pts_board_detail {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    padding: 18px 20px;
}
.pts_board_detail_head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 2px solid #333;
}
.pts_board_detail_head .pts_back_link {
    flex-basis: 100%;
    order: -1;
    font-size: 13px;
    color: #666 !important;
    margin-bottom: 6px;
}
.pts_board_detail_head .pts_back_link:hover { color: var(--portal-primary) !important; }
.pts_board_detail_head h2 { font-size: 16px; margin: 0; }
.pts_board_detail_head h2 a:hover { color: var(--portal-primary); }

.pts_board_detail .pg_wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pts_board_detail .pg_wrap .pg { display: inline-flex; gap: 4px; }
.pts_board_detail .pg_page {
    display: inline-block;
    min-width: 30px;
    padding: 6px 8px;
    text-align: center;
    border: 1px solid #e4e8eb;
    border-radius: 4px;
    font-size: 13px;
    color: #666 !important;
}
.pts_board_detail .pg_page:hover { border-color: var(--portal-primary); color: var(--portal-primary) !important; }
.pts_board_detail .pg_current {
    display: inline-block;
    min-width: 30px;
    padding: 6px 8px;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    background: var(--portal-primary);
    color: #fff;
    font-weight: bold;
}

/* ── 이미지 검색 ── */
.pts_image_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.pts_image_grid li {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    overflow: hidden;
}
.pts_image_link { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1f3f5; }
.pts_image_link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pts_image_subject {
    display: block;
    padding: 8px 10px;
    font-size: 12.5px;
    color: #555 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pts_image_subject:hover { color: var(--portal-primary) !important; }

/* ── 사이트 검색 ── */
.pts_site_list { display: flex; flex-direction: column; gap: 12px; }
.pts_site_item {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
}
.pts_site_link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}
.pts_site_icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 20px;
    color: #999;
}
.pts_site_icon img { width: 100%; height: 100%; object-fit: cover; }
.pts_site_body { min-width: 0; }
.pts_site_title { display: block; font-size: 15.5px; font-weight: bold; color: #222; }
.pts_site_link:hover .pts_site_title { color: var(--portal-primary); }
.pts_site_url { display: block; font-size: 12.5px; color: var(--portal-primary); margin-top: 2px; }
.pts_site_desc {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 통합검색 안에 임베드된 사이트 카드 (테두리 없이 목록만) */
.pts_site_list_embed .pts_site_item { border: none; }
.pts_site_list_embed .pts_site_link { padding: 10px 0; border-bottom: 1px dashed #f1f3f5; }
.pts_site_list_embed li:last-child .pts_site_link { border-bottom: none; }
.pts_site_list_embed .pts_site_icon { width: 38px; height: 38px; font-size: 16px; }

/* ── 뉴스 검색 ── */
.pts_news_list { display: flex; flex-direction: column; gap: 12px; }
.pts_news_item {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
}
.pts_news_link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
}
.pts_news_thumb {
    flex-shrink: 0;
    width: 88px;
    height: 66px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f3f5;
}
.pts_news_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pts_news_body { min-width: 0; }
.pts_news_source { display: block; font-size: 12px; color: var(--portal-primary); font-weight: bold; }
.pts_news_title {
    display: block;
    font-size: 15pt;
    color: #222;
    margin-top: 3px;
}
.pts_news_link:hover .pts_news_title { color: var(--portal-primary); text-decoration: underline; }
.pts_news_excerpt {
    display: block;
    font-size: 13pt;
    color: #888;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 통합검색 안에 임베드된 뉴스 카드 (테두리 없이 목록만) */
.pts_news_list_embed .pts_news_item { border: none; }
.pts_news_list_embed .pts_news_link { padding: 10px 0; border-bottom: 1px dashed #f1f3f5; }
.pts_news_list_embed li:last-child .pts_news_link { border-bottom: none; }
.pts_news_list_embed .pts_news_thumb { width: 64px; height: 48px; }

/* ── 웹문서 검색 (구글 스타일: 제목/URL/스니펫) ── */
.pts_webdoc_list { display: flex; flex-direction: column; gap: 22px; }
.pts_webdoc_item { max-width: 720px; }
.pts_webdoc_link { display: block; }
.pts_webdoc_title {
    display: block;
    font-size: 15pt;
    color: #1a56db;
}
.pts_webdoc_link:hover .pts_webdoc_title { text-decoration: underline; }
.pts_webdoc_url { display: block; font-size: 12.5px; color: var(--portal-primary); margin-top: 2px; }
.pts_webdoc_excerpt {
    font-size: 13pt;
    color: #666;
    margin: 5px 0 4px;
    line-height: 1.5;
}
.pts_webdoc_source { font-size: 11.5px; color: #999; }

/* ── 모바일 ── */
@media (max-width: 600px) {
    .pts_header_inner { flex-wrap: wrap; padding: 16px 16px 10px; }
    .pts_logo { font-size: 20px; }
    .pts_search_form { order: 3; max-width: none; width: 100%; }
    .pts_search_form input { padding: 10px 14px; }
    .pts_search_form button { padding: 0 14px; }
    .pts_search_form .pts_voice_btn,
    .pts_search_form .pts_keyboard_btn { padding: 0 10px !important; }

    /* 탭 메뉴: 좁은 화면에서 탭이 찌그러지지 않도록 줄바꿈 대신 가로 스크롤 처리 */
    .pts_tabs_inner {
        padding: 0 16px;
        gap: 2px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .pts_tabs_inner::-webkit-scrollbar { display: none; }
    .pts_tab, .pts_tab_more { flex-shrink: 0; white-space: nowrap; }
    .pts_tab { padding: 12px 12px; font-size: 14px; }
    .pts_tab_more { padding: 12px 10px; }
    /* 스크롤로 더 볼 탭이 있음을 오른쪽 끝 그라데이션으로 살짝 안내 (탭 줄에만 걸치도록 fixed 오버레이) */
    .pts_tabs { position: relative; }
    .pts_tabs::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 45px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
        pointer-events: none;
    }

    .pts_option_panel { padding: 12px 16px; }

    #pts_container { padding: 16px 16px 60px; }
    .pts_image_grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .pts_row_thumb, .pts_news_thumb { width: 56px; height: 56px; }
    .pts_row_excerpt, .pts_news_excerpt { -webkit-line-clamp: 2; white-space: normal; }
    .pts_empty_layout { flex-direction: column; }
    .pts_empty_side { width: 100%; }
}

/* ══════════════════ 관리자 페이지 / 웹마스터 도구 ══════════════════ */
#pts_admin_wrap, #pts_wm_wrap { max-width: 760px; margin: 0 auto; padding: 30px 20px 80px; }

.pts_admin_header { margin-bottom: 24px; }
.pts_admin_home { display: inline-block; margin-bottom: 8px; font-size: 13px; color: #666 !important; }
.pts_admin_home:hover { color: var(--portal-primary) !important; }
.pts_admin_header h1 { font-size: 22px; margin: 0; }

.pts_admin_section {
    background: #fff;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    padding: 22px 24px;
    margin-bottom: 24px;
}
.pts_admin_section h2 { font-size: 16px; margin: 0 0 16px; }
.pts_admin_hint { font-size: 12.5px; color: #888; margin: -10px 0 16px; }

.pts_form_row { margin-bottom: 14px; }
.pts_form_row label { display: block; font-size: 13px; font-weight: bold; color: #555; margin-bottom: 6px; }
.pts_required { color: #ff4747; }
.pts_form_row input[type="text"],
.pts_form_row input[type="number"],
.pts_form_row select {
    width: 100%;
    max-width: 420px;
    padding: 9px 12px;
    border: 1px solid #dadddf;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}
.pts_form_row input:focus, .pts_form_row select:focus { outline: none; border-color: var(--portal-primary); }

.pts_form_actions { display: flex; gap: 8px; margin-top: 18px; }
.pts_btn {
    padding: 9px 18px;
    border: 1px solid #dadddf;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}
.pts_btn:hover { background: #f8f9fa; }
.pts_btn_primary { background: var(--portal-primary); border-color: var(--portal-primary); color: #fff; }
.pts_btn_primary:hover { background: var(--portal-primary-hover); }
.pts_btn_small { padding: 5px 10px; font-size: 12.5px; }
.pts_btn_danger { color: #dc3545; border-color: #f1c0c6; }
.pts_btn_danger:hover { background: #fdf2f3; }

.pts_site_table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pts_site_table th, .pts_site_table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f3f5;
    text-align: left;
    vertical-align: middle;
}
.pts_site_table th { color: #888; font-weight: bold; font-size: 12.5px; border-bottom: 2px solid #333; }
.pts_site_table td a { color: var(--portal-primary); }
.pts_empty_row { text-align: center; color: #999; padding: 30px 0 !important; }

@media (max-width: 600px) {
    .pts_site_table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ── 웹마스터 도구 (등록/소유확인) ── */
.pts_radio_inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: normal !important;
    font-size: 14px !important;
    color: #333 !important;
    margin-right: 20px;
    margin-bottom: 0 !important;
}
.pts_radio_inline input { margin: 0; }

.pts_code_block {
    background: #2b2f36;
    color: #d8e0ea;
    padding: 14px 16px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.pts_wm_notice {
    background: #fff8e1;
    border: 1px solid #ffe4a3;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13.5px;
}
.pts_wm_notice p { margin: 0 0 6px; }
.pts_wm_notice p:last-child { margin-bottom: 0; }
.pts_wm_notice code { background: #fff; padding: 2px 6px; border-radius: 4px; }

.pts_wm_method { margin-bottom: 18px; }
.pts_wm_method code { background: #f1f3f5; padding: 2px 6px; border-radius: 4px; }

.pts_wm_result { font-size: 13.5px; margin-top: 12px; }
.pts_wm_result.ok { color: #03824f; }
.pts_wm_result.err { color: #dc3545; }
