    body {
        background: #ffffff; /* 전체 흰색 */
        font-family: 'Segoe UI', 'Arial', sans-serif;
        color: #333;
        line-height: 1.8;
    }

    .contest-info {
        max-width: 900px;
        margin: 40px auto;
        padding: 0; /* 내부 패딩 제거 */
        background: none; /* 회색 배경 제거 */
        border: none; /* 테두리 제거 */
        box-shadow: none; /* 그림자 제거 */
    }

    .contest-info h2 {
        font-size: 22px;
        margin: 30px 0 15px;
        padding-bottom: 6px;
        border-bottom: 2px solid #ddd; /* 구분선만 남김 */
        color: #222;
    }

    .contest-info p {
        margin: 10px 0 25px 0;
        color: #444;
    }

    .contest-info ul {
        list-style: none;
        padding-left: 0;
        margin: 15px 0;
    }

    .contest-info li {
        margin-bottom: 12px;
        padding: 10px 0;
        border-bottom: 1px dashed #ccc; /* 줄만 구분 */
        color: #333;
    }

    .contest-info li:last-child {
        border-bottom: none;
    }

    .contest-info strong {
        color: #000;
    }

    .divider {
        margin: 40px 0;
        border: none;
        height: 1px;
        background: #ddd;
    }

/* ========================================
   퀴즈 페이지 스타일 (통합 버전)
======================================== */

/* --- 1. 퀴즈 전용 상단 바 --- */
.quiz-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 999;
}
.quiz-title span {
    font-weight: 600;
    font-size: 1.1rem;
}
.quiz-status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    color: #333;
}
.timer {
    font-weight: bold;
    color: #d9534f;
}
.user-info {
    font-weight: 500;
}
.submit-all-button {
    background-color: #0d6efd;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit-all-button:hover {
    background-color: #0b5ed7;
}

/* --- 2. 초기 팝업(모달) 및 블러 효과 --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center; align-items: center; z-index: 1000;
}
.modal-box {
    background: #ffffff;
    color: #333;
    padding: 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 420px;
    overflow: hidden;
}
.modal-box h3 {
    font-size: 1.25rem;
    padding: 2rem 1.5rem 0.5rem 1.5rem;
}
.modal-box .modal-subtext {
    font-size: 0.9rem;
    color: #666;
    padding: 0 1.5rem 1.5rem 1.5rem;
}
#exam-password-input {
    width: calc(100% - 3rem);
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.modal-button-container {
    display: flex;
    width: 100%;
    border-top: 1px solid #eee;
}
.modal-button {
    flex: 1;
    background: transparent;
    color: #666;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
}
.modal-button:hover {
    background-color: #f8f9fa;
}
.modal-button.confirm {
    color: #0d6efd;
    font-weight: 600;
    border-left: 1px solid #eee;
}
.blur-background > *:not(.modal-overlay) {
    filter: blur(5px);
    transition: filter 0.3s ease-out;
}

/* --- 3. 퀴즈 콘텐츠 전체 레이아웃 --- */
.quiz-content-container {
    background: #ffffff; border-radius: 12px; padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 80px 36px 40px 36px;
    border: 1px solid #dee2e6;
}
:root {
    --text-button-color: #0d6efd; --text-button-hover-color: #0b5ed7;
    --input-bg-color: #ffffff; --input-border-color: #ced4da;
    --divider-color: #dee2e6;
}
input[type="file"] { display: none; }

/* --- 4. 상단 메인 탭 (문제 1, 2...) --- */
.top-nav-tabs {
    display: flex; justify-content: center; gap: 20px; padding-bottom: 20px;
    margin-bottom: 20px; border-bottom: 2px solid #dee2e6; list-style: none; padding-top: 0;
}
.top-nav-tabs .nav-link {
    padding: 10px 15px; color: #0d6efd; font-weight: 600; text-decoration: none;
    border-bottom: 4px solid transparent; transition: all .3s; border-radius: 0;
}
.top-nav-tabs .nav-link.active, .top-nav-tabs .nav-link:hover {
    background-color: transparent !important; border-bottom-color: #0d6efd !important;
    color: #0b5ed7 !important;
}

/* --- 5. 퀴즈 내부 공통 스타일 --- */
.quiz-button {
    background-color: #f8f9fa; border: 1px solid #ced4da; box-shadow: none;
    padding: 8px 15px; color: #333; font-weight: 600;
    font-size: 0.9rem; cursor: pointer; border-radius: 6px;
    transition: color 0.2s, background-color 0.2s; min-width: 100px;
}
.quiz-button:hover {
    color: #fff; background-color: var(--text-button-hover-color);
    border-color: var(--text-button-hover-color);
}
.quiz-button.primary {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}
.quiz-button.primary:hover {
    background-color: #0b5ed7;
}
.password-gate {
    text-align: center; padding: 50px; border: 1px solid #dee2e6;
    border-radius: 8px; margin-top: 30px; background-color: #f8f9fa;
}
#password-input-2, #password-input-3, #password-input-4 {
    width: 300px; padding: 12px; margin: 20px auto; display: block;
    background-color: #fff; border: 1px solid #ced4da; color: #333; border-radius: 6px;
}
.quiz-actual-content { display: none; }
.explanation-box {
    padding: 20px; border-radius: 8px; margin-bottom: 25px; background-color: #f8f9fa;
}
.result-box {
    margin-top: 15px; padding: 15px; background-color: #f8f9fa; border-radius: 6px;
    word-break: break-all; min-height: 50px; display: flex; justify-content: center;
    border: 1px solid #dee2e6; color: #333;
}
.code {
    background-color: #e9ecef; padding: 1rem; border-radius: 6px;
    margin-top: 1rem; font-family: 'Courier New', Courier, monospace;
    color: #333; border: 1px solid #dee2e6;
}

/* --- 6. 퀴즈별 개별 스타일 --- */
/* QUIZ 1 */
.inner-tabs-bar {
    display: flex; justify-content: center; gap: 60px; margin-bottom: 0;
    font-weight: 600; font-size: 18px; color: #555; padding: 10px 0 0 0;
    border-bottom: 1px solid #dee2e6;
}
.inner-tab-link {
    padding: 10px 15px; color: #555; text-decoration: none;
    border-bottom: 3px solid transparent; cursor: pointer;
}
.inner-tab-link.active { color: #0d6efd; border-bottom-color: #0d6efd; }
.split-content {
    display: flex; justify-content: space-around; padding-top: 20px; position: relative;
}
.split-content::after {
    content: ''; position: absolute; top: 20px; bottom: 20px; left: 50%;
    transform: translateX(-50%); width: 1px; background-color: var(--divider-color); opacity: 0.6;
}
.split-panel { width: 45%; padding: 20px; }

/* QUIZ 2 */
.meta-container-v2 { color: #333; padding: 2rem 1rem; }
.meta-v2-section { border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; }
.meta-v2-explanation { text-align: center; background-color: #f8f9fa; border: 1px solid #dee2e6; }
.meta-v2-upload { display: flex; justify-content: space-between; align-items: center; }
.meta-v2-filename { font-family: 'Courier New', Courier, monospace; color: #6c757d; }
.meta-v2-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.meta-v2-results-panel { background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 1.5rem; min-height: 200px; }
.meta-v2-results-panel h4 { margin-top: 0; color: #212529; font-size: 1.25rem; margin-bottom: 1rem; }
#meta-v2-results-list { list-style: none; padding: 0; margin: 0; font-family: 'Courier New', Courier, monospace; font-size: 0.95rem; line-height: 1.8; }
#meta-v2-results-list .key { color: #0d6efd; display: inline-block; width: 100px; }
.meta-v2-gps-panel { display: flex; align-items: center; justify-content: center; text-align: center; background-color: rgba(255, 193, 7, 0.1); border: 1px solid #ffc107; color: #856404; }
.meta-v2-footer { text-align: right; font-size: 0.9rem; color: #6c757d; padding: 0 1rem; }

/* QUIZ 3 */
.ext-mismatch-container { padding: 2rem 1rem; color: #333; }
.ext-mismatch-upload { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem !important; }
.ext-mismatch-result-panel { background-color: #e9ecef; border: 1px solid #dee2e6; border-radius: 8px; padding: 1.5rem; font-family: 'Courier New', Courier, monospace; min-height: 100px; color: #333; word-break: break-all; }
.ext-mismatch-footer { text-align: right; font-size: 0.9rem; color: #6c757d; padding: 0 1rem; }

/* QUIZ 4 */
.zip-cracker-container { padding: 2rem 1rem; color: #333; }
.zip-file-input-wrapper { display: flex; align-items: center; border: 1px solid var(--input-border-color); border-radius: 6px; padding: 5px; background-color: var(--input-bg-color); }
.zip-file-name { margin-left: 15px; font-family: 'Courier New', Courier, monospace; color: #6c757d; }
.zip-result-panel { background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 1.5rem; min-height: 80px; text-align: center; margin-top: 2rem; }

/* --- 7. 반응형 디자인 (모바일 화면 대응) --- */
@media (max-width: 768px) {
    .quiz-header { padding: 0 1rem; }
    .quiz-title span { font-size: 0.9rem; }
    .quiz-status { gap: 1rem; }
    .timer, .user-info { font-size: 0.8rem; }
    .submit-all-button { padding: 6px 12px; font-size: 0.8rem;}

    .quiz-content-container {
        margin: 80px 12px 40px 12px;
        padding: 20px;
    }
    .top-nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
    }
    .top-nav-tabs::-webkit-scrollbar { height: 4px; }
    .top-nav-tabs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
    .split-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .split-content::after { display: none; }
    .split-panel { width: 100%; }
    .meta-v2-results-grid { grid-template-columns: 1fr; }
    h1, h2, h3 { font-size: 1.2rem; }
    .quiz-button, .modal-button { padding: 10px 15px; font-size: 0.9rem; }
    #password-input-2, #password-input-3, #password-input-4 { width: 90%; }
}    