*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



body {
    font-family: 'Pretendard', sans-serif;
    background: linear-gradient(135deg, #6d28d9 0%, #db2777 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── 네비게이션 ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background-color: #6B21A8;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}
.navbar-logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 1rem;
    text-decoration: none;
}
.navbar-item {
    color: #fff;
    padding: 1rem 1.25rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
}
.navbar-item:hover, .navbar-dropdown:hover .navbar-item  { background-color: rgba(255,255,255,0.15); }
.navbar-dropdown.active .navbar-item { color: #fdf2f8; border-bottom: 2px solid #db2777; }

/* ── 드롭다운 (Desktop) ── */
@media (min-width: 1025px) {
    .navbar-dropdown { position: relative; }
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: rgba(255, 255, 255, 0.98);
        min-width: 210px;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        padding: 8px 0;
        z-index: 1100;
    }
    .navbar-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
.dropdown-item {
    padding: 12px 20px;
    color: #1f2937;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.dropdown-item:hover {
    background: #f3f4f6;
    color: #6d28d9;
    border-left-color: #6d28d9;
    padding-left: 24px;
}
.dropdown-item.active {
    background: #ede9fe;
    color: #6d28d9;
    font-weight: 800;
    border-left-color: #6d28d9;
}
.arrow { font-size: 10px; transition: transform 0.3s; opacity: 0.7; }
.navbar-dropdown:hover .arrow { transform: rotate(180deg); }
.navbar-toggle {
    display: none;
    cursor: pointer;
    padding: 1.5rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}
/*
 * Mobile tap behavior
 * -------------------
 * iOS Safari/모바일 브라우저에서 버튼을 빠르게 연속 탭할 때
 * 더블탭 확대가 함께 발생하지 않도록 합니다.
 * manipulation은 스크롤/핀치 줌은 유지하고 더블탭 확대 지연만 제거합니다.
 */
button,
a,
[role="button"],
summary,
input[type="button"],
input[type="submit"],
input[type="reset"],
[onclick] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.navbar-toggle:focus-visible {
    outline: 2px solid rgba(255,255,255,0.95);
    outline-offset: -6px;
    border-radius: 10px;
}
.toggle-bar {
    display: block;
    width: 24px; height: 2px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}
.toggle-bar.active:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.toggle-bar.active:nth-child(2) { opacity: 0; }
.toggle-bar.active:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.navbar-menu {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}
.mobile-menu-tabs { display: none; }
.mobile-menu-scroll {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
}
.navbar-backdrop { display: none; }
@media (max-width: 1024px) {
    .navbar-container {
        position: relative;
        z-index: 1004;
        background: #6B21A8;
    }

    .navbar-toggle {
        display: block;
        position: relative;
        z-index: 1005;
    }

    .navbar-menu {
        position: fixed;
        z-index: 1003;
        top: var(--mobile-nav-bottom, 64px);
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 0;
        max-height: none;
        overflow: hidden;
        background-color: #6B21A8;
        transition: height 0.2s ease;
    }

    .navbar-menu.active {
        height: var(--mobile-menu-available-height, calc(100dvh - 64px));
    }

    body.mobile-menu-open {
        overflow: hidden;
        overscroll-behavior: none;
        /* 메뉴 개폐 때 스크롤바 유무로 콘텐츠 폭이 바뀌지 않게 고정 */
        width: 100%;
    }

    .navbar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1001;
        background: rgba(15, 23, 42, 0.46);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .navbar-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        flex: 0 0 auto;
        gap: 6px;
        padding: 8px;
        background: #581c87;
        border-bottom: 1px solid rgba(255,255,255,0.16);
    }

    .mobile-menu-tab {
        min-width: 0;
        min-height: 44px;
        padding: 8px 5px;
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 10px;
        background: rgba(255,255,255,0.08);
        color: #fff;
        font: inherit;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.2;
        cursor: pointer;
        touch-action: manipulation;
    }

    .mobile-menu-tab.active {
        background: #fff;
        color: #6B21A8;
        border-color: #fff;
    }

    .mobile-menu-scroll {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.42) rgba(255,255,255,0.08);
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .mobile-menu-scroll::-webkit-scrollbar { width: 5px; }
    .mobile-menu-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); }
    .mobile-menu-scroll::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.42);
        border-radius: 999px;
    }

    .navbar-dropdown {
        display: none;
        width: 100%;
    }

    .navbar-dropdown.mobile-open {
        display: block;
    }

    .navbar-dropdown .dropdown-toggle {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
        width: 100%;
        padding: 4px 0;
        border-radius: 0;
        background: rgba(0,0,0,0.15);
        box-shadow: none;
        transition: none;
    }

    .dropdown-item {
        display: block;
        color: rgba(255,255,255,0.92);
        padding: 0.95rem 1.35rem;
        min-height: 48px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        white-space: normal;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .dropdown-item:hover,
    .dropdown-item.active {
        background: rgba(255,255,255,0.22);
        color: #fff;
        padding-left: 1.55rem;
    }
}

/* ── 레이아웃 ── */
.page-wrapper {
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: 100vh;
}
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── 카드 ── */
.card {
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 24px;
    margin-bottom: 24px;
}

/* ── 타이틀 ── */
.page-title {
    text-align: center;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 900;
    margin: 28px 0 24px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    letter-spacing: -0.5px;
}
.page-title span { font-size: 1.6rem; }

/* ── 배너 이미지 ── */
.banner-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* ── 섹션 타이틀 ── */
.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #4c1d95;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── 문의 ── */
.contact-box {
    text-align: center;
    padding: 16px;
    color: #374151;
    font-size: 14px;
}
.contact-box a { color: #7c3aed; font-weight: 600; text-decoration: underline; }

/* ── 데이터 신뢰도 표시 ── */
.data-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin: 12px 0 20px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    line-height: 1.55;
}
.data-status strong { color: #0f172a; }
.data-status a { color: #2563eb; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.data-status.official { background: #ecfdf5; border-color: #a7f3d0; color: #166534; }
.data-status.official strong { color: #14532d; }
.data-status.community { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.data-status.community strong { color: #7c2d12; }
.data-status.unverified { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.data-status-icon { flex: 0 0 auto; font-size: 16px; line-height: 1.4; }
.data-status-text { min-width: 0; }
.data-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(148,163,184,0.28);
    color: #475569;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .data-status { padding: 11px 12px; font-size: 12px; }
}

/* 추가 공통 유틸리티 */
.hidden { display: none !important; }

/* DPS 교차검증 근거 카드 */
.verification-evidence-card{margin-top:20px}.verification-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.verification-heading span{font-size:12px;color:#64748b}.verification-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.verification-grid>div{padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.verification-grid b,.verification-grid span{display:block}.verification-grid b{font-size:12px;margin-bottom:7px;color:#334155}.verification-grid span{font-size:13px;line-height:1.55;color:#475569;overflow-wrap:anywhere}.verification-verdict{margin-top:12px;padding:13px 15px;border-radius:14px;font-size:13px;line-height:1.55}.verification-verdict.pending{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.verification-verdict.verified{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.verification-details{margin-top:12px;border-top:1px solid #e2e8f0;padding-top:10px}.verification-details summary{cursor:pointer;font-weight:800;font-size:13px}.verification-details ul{margin:10px 0 0 20px;padding:0;color:#475569;font-size:13px;line-height:1.65}.verification-source-list{display:grid;gap:8px;margin-top:10px}.verification-source-list a{display:block;padding:11px 12px;border:1px solid #e2e8f0;border-radius:12px;text-decoration:none;color:#334155;background:#fff}.verification-source-list a span{display:block;margin-top:4px;color:#64748b;font-size:12px;line-height:1.5}.verification-footnote{margin:12px 0 0;color:#64748b;font-size:12px}@media(max-width:760px){.verification-grid{grid-template-columns:1fr}.verification-heading{align-items:flex-start;flex-direction:column}}

/* 모든 페이지의 언어 선택기: 모바일에서도 메뉴와 함께 항상 노출 */
.site-language-control {
    display:flex; align-items:center; gap:8px; margin-left:auto; padding:0 8px;
    position:relative; z-index:1006; flex:0 0 auto;
}
.site-language-label { color:#f3e8ff; font-size:12px; font-weight:700; white-space:nowrap; }
.site-language-select {
    appearance:auto; -webkit-appearance:menulist; min-height:36px; max-width:155px;
    padding:5px 7px; border:1px solid #c4b5fd; border-radius:8px;
    color:#33215a; background:#fff; font-family:inherit; font-size:13px;
    cursor:pointer;
}
.site-language-select:focus-visible { outline:3px solid #fbbf24; outline-offset:2px; }
.site-language-status { position:absolute; top:100%; right:8px; color:#fff; font-size:11px; background:#8426c0; border-radius:5px; }
.site-language-status:empty { display:none; }
#site-google-translate { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
body > .skiptranslate, .goog-te-banner-frame { display:none !important; }
body { top:0 !important; }
@media(max-width:1024px) {
    .site-language-control { margin-left:auto; padding:0 3px; }
    .site-language-label { display:none; }
    .site-language-select { max-width:137px; }
}
@media(max-width:540px) {
    .navbar-container { padding:0 6px; }
    .navbar-logo { font-size:1.05rem; padding:10px 4px; }
    .site-language-select { max-width:110px; min-height:34px; padding:3px; font-size:12px; }
    .navbar-toggle { padding:12px 14px; }
}
