﻿/* C语言二模拟考试试卷样式 - 全屏布局 */
/* ========== 主题变量系统 ========== */
:root {
   /* 默认主题 - 传统试卷风格 */
    --c2-exam-bg: #FFFEF5;
    --c2-exam-bg-solid: #FFFEF5;
    --c2-exam-container-bg: #FFFEF5;
    --c2-exam-border: #333;
    --c2-exam-text: #000;
    --c2-exam-text-secondary: #333;
    --c2-exam-text-muted: #666;
    --c2-exam-header-bg: #FFFEF5;
    --c2-exam-header-border: #333;
    --c2-exam-section-border: #ccc;
    --c2-exam-column-border: #999;
    --c2-exam-input-bg: transparent;
    --c2-exam-input-border: #333;
    --c2-exam-input-border-focus: #333;
    --c2-exam-input-correct: #4CAF50;
    --c2-exam-input-correct-text: #4CAF50;
    --c2-exam-input-incorrect: #f44336;
    --c2-exam-input-incorrect-text: #f44336;
    --c2-exam-btn-bg: #fff;
    --c2-exam-btn-border: #333;
    --c2-exam-btn-text: #333;
    --c2-exam-btn-hover-bg: #f5f5f5;
    --c2-exam-btn-primary-bg: #333;
    --c2-exam-btn-primary-text: #fff;
    --c2-exam-btn-primary-hover-bg: #555;
    --c2-exam-close-btn-bg: #fff;
    --c2-exam-close-btn-border: #333;
    --c2-exam-close-btn-hover-bg: #f0f0f0;
    --c2-exam-scrollbar-track: #FFFEF5;
    --c2-exam-scrollbar-thumb: #e8e7dc;
    --c2-exam-scrollbar-thumb-hover: #d4d3c8;
    --c2-exam-scrollbar-thumb-active: #aaa9a0;
    --c2-exam-shadow: none;
    --c2-exam-container-shadow: none;
    --c2-exam-btn-shadow: none;
    --c2-exam-border-radius: 0;
    --c2-exam-container-border-radius: 0;
    --c2-exam-input-border-width: 1px;
    --c2-exam-bubble-opacity: 0;

   /* 文本选中式布局变量 */
    --c2-exam-selection-bg: rgba(100, 100, 100, 0.25);
    --c2-exam-selection-text: #000;
}
/* ========== C语言二考试界面文本选中式布局 - 默认主题（传统试卷风格） ========== */
.c2-exam-overlay ::selection {
    background: var(--c2-exam-selection-bg);
    color: var(--c2-exam-selection-text);
    text-shadow:
        1px 0 1px rgba(100, 100, 100, 0.15),
        -1px 0 1px rgba(100, 100, 100, 0.15),
        0 1px 1px rgba(100, 100, 100, 0.15),
        0 -1px 1px rgba(100, 100, 100, 0.15);
}
.c2-exam-overlay ::-moz-selection {
    background: var(--c2-exam-selection-bg);
    color: var(--c2-exam-selection-text);
    text-shadow:
        1px 0 1px rgba(100, 100, 100, 0.15),
        -1px 0 1px rgba(100, 100, 100, 0.15),
        0 1px 1px rgba(100, 100, 100, 0.15),
        0 -1px 1px rgba(100, 100, 100, 0.15);
}
/* 新拟态很富- 棣栭〉风格（圾钩闈(二)题寮忥） */
.c2-exam-theme-neumorphism {
    --c2-exam-bg: #e3edf7;
    --c2-exam-bg-solid: #e3edf7;
    --c2-exam-container-bg: #e3edf7;
    --c2-exam-border: transparent;
    --c2-exam-text: #4a6fa5;
    --c2-exam-text-secondary: #5d8ab8;
    --c2-exam-text-muted: #7aa8d6;
    --c2-exam-header-bg: #e3edf7;
    --c2-exam-header-border: rgba(93, 138, 184, 0.3);
    --c2-exam-section-border: rgba(93, 138, 184, 0.3);
    --c2-exam-column-border: rgba(93, 138, 184, 0.2);
    --c2-exam-input-bg: transparent;
    --c2-exam-input-border: rgba(93, 138, 184, 0.5);
    --c2-exam-input-border-focus: rgba(93, 138, 184, 0.6);
    --c2-exam-input-correct: rgba(40, 167, 69, 0.6);
    --c2-exam-input-correct-text: #155724;
    --c2-exam-input-incorrect: rgba(220, 53, 69, 0.6);
    --c2-exam-input-incorrect-text: #721c24;
    --c2-exam-btn-bg: #5d8ab8;
    --c2-exam-btn-border: transparent;
    --c2-exam-btn-text: #fff;
    --c2-exam-btn-hover-bg: #4a6fa5;
    --c2-exam-btn-primary-bg: #5d8ab8;
    --c2-exam-btn-primary-text: #fff;
    --c2-exam-btn-primary-hover-bg: #4a6fa5;
    --c2-exam-close-btn-bg: rgba(93, 138, 184, 0.2);
    --c2-exam-close-btn-border: transparent;
    --c2-exam-close-btn-hover-bg: rgba(93, 138, 184, 0.3);
    --c2-exam-scrollbar-track: #e3edf7;
    --c2-exam-scrollbar-thumb: #d0e2f0;
    --c2-exam-scrollbar-thumb-hover: #eaf4fc;
    --c2-exam-scrollbar-thumb-active: #c5dcea;
    --c2-exam-shadow: none;
    --c2-exam-container-shadow: none;
    --c2-exam-btn-shadow: none;
    --c2-exam-border-radius: 0;
    --c2-exam-container-border-radius: 0;
    --c2-exam-input-border-width: 2px;
    --c2-exam-bubble-opacity: 1;

   /* 新拟态很富题变样腑式布局 - 钃濊壊*/
    --c2-exam-selection-bg: rgba(93, 138, 184, 0.35);
    --c2-exam-selection-text: #4a6fa5;
}
/* ========== 娴姩姘旀场瑁呴 ========== */
.c2-exam-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: var(--c2-exam-bubble-opacity, 0);
    transition: opacity 0.5s ease;
}
.c2-exam-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(173, 216, 230, 0.3));
    animation: c2ExamBubbleFloat 20s ease-in-out infinite;
}
.c2-exam-bubble.bubble-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}
.c2-exam-bubble.bubble-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 15%;
    animation-delay: -5s;
}
.c2-exam-bubble.bubble-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 10%;
    animation-delay: -10s;
}
.c2-exam-bubble.bubble-4 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 20%;
    animation-delay: -15s;
}
.c2-exam-bubble.bubble-5 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 50%;
    animation-delay: -7s;
}
@keyframes c2ExamBubbleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}
/* 考试覆盖- 自定义滚鍔潯 */
.c2-exam-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c2-exam-bg);
    z-index: 10003;
    display: none;
    overflow: auto;
   /* 禁用移动端长按弹出菜单和桌面端选中工具?*/
    -webkit-touch-callout: none;
   /* Firefox 滚动条样- 浣跨敤 !important 覆盖全眬式布局 */
    scrollbar-width: auto !important;
    scrollbar-color: var(--c2-exam-scrollbar-thumb) var(--c2-exam-scrollbar-track) !important;
}
/* 考试入场动画 - 准备状态?*/
.c2-exam-overlay.c2-exam-preparing .c2-exam-container {
    opacity: 0;
}
/* 考试入场动画 - 进入状态?*/
.c2-exam-overlay.c2-exam-entering .c2-exam-container {
    animation: c2ExamFadeIn 0.8s ease-out 0.2s both;
}
@keyframes c2ExamFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 考试界面滚动条样- WebKit浏览*/
.c2-exam-overlay::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}
.c2-exam-overlay::-webkit-scrollbar-track {
    background: var(--c2-exam-scrollbar-track) !important;
    border-radius: 0 !important;
}
.c2-exam-overlay::-webkit-scrollbar-thumb {
    background: var(--c2-exam-scrollbar-thumb) !important;
    border-radius: 0 !important;
    border: none !important;
}
.c2-exam-overlay::-webkit-scrollbar-thumb:hover {
    background: var(--c2-exam-scrollbar-thumb-hover) !important;
}
.c2-exam-overlay::-webkit-scrollbar-thumb:active {
    background: var(--c2-exam-scrollbar-thumb-active) !important;
}
.c2-exam-overlay::-webkit-scrollbar-corner {
    background: var(--c2-exam-scrollbar-track) !important;
}
.c2-exam-overlay.active {
    display: block;
}
/* 考试容器 - 全屏 */
.c2-exam-container {
    width: calc(100% - 40px);
    min-height: calc(100vh - 40px);
    margin: 20px;
    background: var(--c2-exam-container-bg);
    border: 2px solid var(--c2-exam-border);
    border-radius: var(--c2-exam-container-border-radius);
    box-shadow: var(--c2-exam-container-shadow);
    position: relative;
    z-index: 1;
}
/* 考试澶撮答 */
.c2-exam-header {
    background: var(--c2-exam-header-bg);
    border-bottom: 2px solid var(--c2-exam-header-border);
    padding: 15px 30px;
    text-align: center;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}
/* 主题切换按钮 - 默认新瑰舰 */
.c2-exam-theme-toggle-btn {
    position: absolute;
    top: 12px;
    right: 52px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--c2-exam-btn-border);
    background: var(--c2-exam-close-btn-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border-radius: 0;
    z-index: 10;
    color: var(--c2-exam-text-secondary);
}
.c2-exam-theme-toggle-btn:hover {
    background: var(--c2-exam-close-btn-hover-bg);
    border-color: var(--c2-exam-text-secondary);
}
.c2-exam-theme-toggle-btn:active {
    transform: scale(0.95);
}
.c2-exam-theme-toggle-btn .theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.c2-exam-theme-toggle-btn .sun-icon,
.c2-exam-theme-toggle-btn .moon-icon {
    transition: opacity 0.2s ease;
}
/* 新拟态很富题下下的勪富题樺垏鎹(二)宁閽题- 鍦嗚新瑰舰 */
.c2-exam-theme-neumorphism .c2-exam-theme-toggle-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(93, 138, 184, 0.15);
    color: #5d8ab8;
    border-radius: 8px;
}
.c2-exam-theme-neumorphism .c2-exam-theme-toggle-btn:hover {
    background: rgba(93, 138, 184, 0.25);
}
/* 关闭按钮 - 默认新瑰舰 */
.c2-exam-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--c2-exam-close-btn-border);
    background: var(--c2-exam-close-btn-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 0;
    color: var(--c2-exam-text-secondary);
}
.c2-exam-close-btn:hover {
    background: var(--c2-exam-close-btn-hover-bg);
    border-color: var(--c2-exam-text-secondary);
}
.c2-exam-close-btn:active {
    transform: scale(0.95);
}
/* 新拟态很富题下下的分叧闂宁閽题- 鍦嗚新瑰舰 */
.c2-exam-theme-neumorphism .c2-exam-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(93, 138, 184, 0.15);
    color: #5d8ab8;
    border-radius: 8px;
}
.c2-exam-theme-neumorphism .c2-exam-close-btn:hover {
    background: rgba(93, 138, 184, 0.25);
}
.c2-exam-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--c2-exam-text);
    margin-bottom: 8px;
    letter-spacing: 4px;
}
.c2-exam-info {
    font-size: 14px;
    color: var(--c2-exam-text-secondary);
}
.c2-exam-info span {
    margin: 0 15px;
}
/* 考试时间式布局 */
.c2-exam-timer {
    display: inline-flex;
    align-items: baseline;
}
.c2-exam-timer-label {
    color: var(--c2-exam-text-muted);
}
.c2-exam-timer-value {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 18px;
    font-weight: bold;
    color: var(--c2-exam-text-secondary);
    margin-left: 4px;
}
/* 试卷样主讳綋 - 左右两栏 */
.c2-exam-paper {
    display: flex;
    min-height: calc(100vh - 200px);
    position: relative;
}
/* 澶嶅彜鍊掕鏃舵椂*/
.c2-exam-clock {
    position: absolute;
    top: 50%;
    right: 310px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}
.c2-exam-clock-face {
    width: 80px;
    height: 80px;
    border: 3px solid var(--c2-exam-border);
    border-radius: 50%;
    background: var(--c2-exam-container-bg);
    position: relative;
    box-shadow:
        inset 0 0 15px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.1);
}
/* 时钟刻度 */
.c2-exam-clock-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.c2-exam-clock-marks::before,
.c2-exam-clock-marks::after {
    content: '';
    position: absolute;
    background: var(--c2-exam-border);
}
/* 12鐐瑰埢*/
.c2-exam-clock-marks::before {
    width: 2px;
    height: 8px;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}
/* 6鐐瑰埢*/
.c2-exam-clock-marks::after {
    width: 2px;
    height: 8px;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}
/* 时钟指针 */
.c2-exam-clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    background: var(--c2-exam-border);
    border-radius: 1.5px;
    transition: transform 1s linear;
}
/* 分针 */
.c2-exam-clock-hand.minute-hand {
    width: 2px;
    height: 28px;
    margin-left: -1px;
}
/* 时针 */
.c2-exam-clock-hand.hour-hand {
    width: 3px;
    height: 20px;
    margin-left: -1.5px;
    background: var(--c2-exam-text-secondary);
}
/* 时钟主績*/
.c2-exam-clock-center {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--c2-exam-border);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
/* 数字显示区域 */
.c2-exam-clock-display {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.c2-exam-clock-time {
    display: block;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 11px;
    font-weight: bold;
    color: var(--c2-exam-text-secondary);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
/* 新拟态很富题樻椂*/
.c2-exam-theme-neumorphism .c2-exam-clock-face {
    background: linear-gradient(145deg, #ecf4fc, #dbe7f5);
    border-color: rgba(93, 138, 184, 0.4);
    box-shadow:
        6px 6px 12px rgba(74, 111, 165, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.8);
}
.c2-exam-theme-neumorphism .c2-exam-clock-hand.minute-hand {
    background: #5d8ab8;
}
.c2-exam-theme-neumorphism .c2-exam-clock-hand.hour-hand {
    background: #7aa8d6;
}
.c2-exam-theme-neumorphism .c2-exam-clock-center {
    background: #5d8ab8;
}
.c2-exam-theme-neumorphism .c2-exam-clock-marks::before,
.c2-exam-theme-neumorphism .c2-exam-clock-marks::after {
    background: rgba(93, 138, 184, 0.6);
}
.c2-exam-theme-neumorphism .c2-exam-clock-time {
    color: #5d8ab8;
}
/* 左右两栏 */
.c2-exam-column {
    flex: 1;
    padding: 25px 30px;
    box-sizing: border-box;
}
.c2-exam-column.left {
    border-right: 1px solid var(--c2-exam-column-border);
}
.c2-exam-column.right {
    border-left: 1px solid var(--c2-exam-column-border);
    margin-left: -1px;
}
/* 题型区块 */
.c2-exam-section {
    margin-bottom: 35px;
}
.c2-exam-section:last-child {
    margin-bottom: 20px;
}
.c2-exam-section-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--c2-exam-text);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--c2-exam-section-border);
}
/* 题目内容 */
.c2-exam-content {
    font-size: 15px;
    line-height: 1.9;
    color: #000;
}
.c2-exam-content p {
    margin: 10px 0;
    text-indent: 2em;
}
.c2-exam-content .no-indent {
    text-indent: 0;
}
/* 代码显示区域 - 鏃犺竟妗嗚处*/
.c2-exam-code-block {
    background: transparent;
    border: none;
    padding: 10px 0;
    margin: 10px 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.8;
    overflow-x: auto;
    white-space: pre;
    color: #000;
}
/* 新拟态很富题下下的勪唬鐮几樉绀哄尯*/
.c2-exam-theme-neumorphism .c2-exam-code-block {
    color: #4a6fa5;
}
/* 新拟态很富题下下的单鐩唴*/
.c2-exam-theme-neumorphism .c2-exam-content {
    color: #4a6fa5;
}
/* 新拟态很富题下下的单鐩枃*/
.c2-exam-theme-neumorphism .c2-exam-question-text {
    color: var(--c2-exam-text);
}
/* 新拟态很富题下下的勮緭全新囧瓧颜色 */
.c2-exam-theme-neumorphism .c2-exam-blank {
    color: #4a6fa5;
}
.c2-exam-theme-neumorphism .c2-exam-result-input {
    color: #4a6fa5;
}
.c2-exam-theme-neumorphism .c2-exam-program-textarea {
    color: #4a6fa5;
}
.c2-exam-theme-neumorphism .c2-exam-shortanswer-textarea {
    color: #4a6fa5;
}
/* 新拟态很富题下下的别错误答案颜色 */
.c2-exam-theme-neumorphism .c2-exam-blank.correct,
.c2-exam-theme-neumorphism .c2-exam-result-input.correct {
    border-bottom-color: var(--c2-exam-input-correct);
    color: var(--c2-exam-input-correct-text);
}
.c2-exam-theme-neumorphism .c2-exam-blank.incorrect,
.c2-exam-theme-neumorphism .c2-exam-result-input.incorrect {
    border-bottom-color: var(--c2-exam-input-incorrect);
    color: var(--c2-exam-input-incorrect-text);
}
/* 新拟态很富题下下的别纭答案显*/
.c2-exam-theme-neumorphism .c2-exam-correct-answer {
    color: #4CAF50;
}
/* 代码填空输入*/
.c2-exam-blank {
    display: inline-block;
    min-width: 100px;
    max-width: 400px;
    width: 100px;
    height: 24px;
    border: none;
    border-bottom: var(--c2-exam-input-border-width) solid var(--c2-exam-input-border);
    border-radius: 0;
    background: var(--c2-exam-input-bg);
    font-size: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000;
    text-align: left;
    padding: 0 6px;
    margin: 0 4px;
    outline: none;
    box-sizing: border-box;
    line-height: 20px;
    vertical-align: middle;
    transition: none;
}
.c2-exam-blank:focus {
    border-bottom-color: var(--c2-exam-input-border-focus);
}
.c2-exam-blank.correct {
    border-bottom-color: var(--c2-exam-input-correct);
    color: var(--c2-exam-input-correct-text);
}
.c2-exam-blank.incorrect {
    border-bottom-color: var(--c2-exam-input-incorrect);
    color: var(--c2-exam-input-incorrect-text);
}
/* 部分正确状态?- 保持默认颜色（垃笉娣诲姞浠讳綍式布局*/
/* 程序结果输入*/
.c2-exam-result-input {
    min-width: 300px;
    max-width: 600px;
    width: 300px;
    min-height: 24px;
    height: auto;
    border: none;
    border-bottom: 1px solid var(--c2-exam-input-border);
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000;
    text-align: left;
    padding: 5px 0;
    outline: none;
    box-sizing: border-box;
    line-height: 24px;
    transition: none;
    margin-top: 10px;
}
.c2-exam-result-input:focus {
    border-bottom-color: var(--c2-exam-input-border-focus);
}
.c2-exam-result-input.correct {
    border-bottom-color: var(--c2-exam-input-correct);
    color: var(--c2-exam-input-correct-text);
}
.c2-exam-result-input.incorrect {
    border-bottom-color: var(--c2-exam-input-incorrect);
    color: var(--c2-exam-input-incorrect-text);
}
/* 程序设计题输全尯- 绾枃鏈鏃犺竟*/
.c2-exam-program-textarea {
    width: 100%;
    min-height: 200px;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    line-height: 1.8;
    color: #000;
    resize: none;
    outline: none;
    box-sizing: border-box;
    overflow: hidden;
}
.c2-exam-program-textarea:focus {
    outline: none;
}
/* 算法应用题输全尯*/
.c2-exam-result-textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    line-height: 1.8;
    color: #000;
    resize: none;
    outline: none;
    box-sizing: border-box;
    overflow: hidden;
}
.c2-exam-result-textarea:focus {
    outline: none;
}
/* 简答答题输入区域 */
.c2-exam-shortanswer-textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    line-height: 1.8;
    color: #000;
    resize: none;
    outline: none;
    box-sizing: border-box;
    overflow: hidden;
}
/* 简答答题横线输入*/
.c2-exam-shortanswer-input {
    border: none;
    border-bottom: 1px solid #333;
    background: transparent;
    padding: 0 5px;
    font-size: 15px;
    font-family: inherit;
    color: #000;
    outline: none;
    min-width: 80px;
    max-width: 300px;
    vertical-align: baseline;
    margin: 0 2px;
}
.c2-exam-shortanswer-input.correct {
    border-bottom-color: #4CAF50;
    color: #4CAF50;
}
.c2-exam-shortanswer-input.incorrect {
    border-bottom-color: #f44336;
    color: #f44336;
}
/* 题号 */
.c2-exam-number {
    font-weight: bold;
    margin-right: 5px;
}
/* 题目文本 */
.c2-exam-question-text {
    color: var(--c2-exam-text);
    margin-bottom: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
}
/* 题目项目容器 */
.c2-exam-question-item {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--c2-exam-section-border);
}
.c2-exam-question-item:last-child {
    border-bottom: none;
}
/* 填空题樺尯鍩熷幓鎺切间隔线 */
.c2-exam-section.fill-section .c2-exam-question-item {
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
/* 示例输出 - 鏃犺竟妗嗚处*/
.c2-exam-sample-output {
    background: transparent;
    border: none;
    padding: 10px 0;
    margin: 10px 0;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    color: var(--c2-exam-text-secondary);
}
/* 改错题样*/
.c2-exam-error-item {
    margin: 15px 0;
    padding: 8px 0;
}
.c2-exam-error-label {
    font-weight: bold;
    color: #f44336;
    margin-right: 10px;
}
/* 考试底部 */
.c2-exam-footer {
    border-top: 2px solid var(--c2-exam-header-border);
    padding: 25px 30px;
    text-align: center;
    background: var(--c2-exam-header-bg);
    border-radius: 0 0 var(--c2-exam-container-border-radius) var(--c2-exam-container-border-radius);
}
.c2-exam-btn {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid var(--c2-exam-btn-border);
    background: var(--c2-exam-btn-bg);
    color: var(--c2-exam-btn-text);
    margin: 0 10px;
    transition: all 0.2s ease;
    border-radius: 0;
}
.c2-exam-btn:hover {
    background: var(--c2-exam-btn-hover-bg);
}
.c2-exam-btn:active {
    opacity: 0.9;
}
.c2-exam-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.c2-exam-btn.primary {
    background: var(--c2-exam-btn-primary-bg);
    color: var(--c2-exam-btn-primary-text);
    border-color: transparent;
}
.c2-exam-btn.primary:hover {
    background: var(--c2-exam-btn-primary-hover-bg);
}
/* 新拟态很富题下下的别宁閽题- 鍦嗚新瑰舰 */
.c2-exam-theme-neumorphism .c2-exam-btn {
    border: none;
    border-radius: 8px;
    padding: 12px 36px;
}
/* 结果显示 */
.c2-exam-result {
    display: none;
    padding: 30px;
    background: var(--c2-exam-container-bg);
    border-top: 2px solid var(--c2-exam-header-border);
}
.c2-exam-result.active {
    display: block;
}
.c2-exam-score {
    text-align: center;
    margin-bottom: 25px;
}
.c2-exam-score-total {
    font-size: 48px;
    font-weight: bold;
    color: var(--c2-exam-text);
}
.c2-exam-score-label {
    font-size: 18px;
    color: var(--c2-exam-text-muted);
    margin-top: 5px;
}
.c2-exam-score-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}
.c2-exam-score-item {
    padding: 10px 20px;
    text-align: center;
}
.c2-exam-score-item-title {
    font-size: 13px;
    color: var(--c2-exam-text-muted);
    margin-bottom: 5px;
}
.c2-exam-score-item-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--c2-exam-text-secondary);
}
/* 正确答案显示 - 鍐咨仈显示鍦緭全鏃咨竟 */
.c2-exam-correct-answer {
    color: #4CAF50;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    display: block;
    margin-top: 8px;
    margin-left: 0;
}
/* 参考答案显绀哄尯- 简答答题鍜岀紪绋厌 */
.c2-exam-reference-answer {
    margin-top: 15px;
    padding: 12px 15px;
    border: 1px dashed #4CAF50;
    border-radius: 8px;
    background: transparent;
}
.c2-exam-reference-answer strong {
    color: #4CAF50;
    font-size: 14px;
}
.c2-exam-reference-answer pre {
    margin: 10px 0 0 0;
    padding: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.8;
    color: #4CAF50;
    background: transparent;
    border: none;
}
/* 新拟态很富题下下的分弬鑰答妗坚题*/
.c2-exam-theme-neumorphism .c2-exam-reference-answer {
    border-color: #4CAF50;
}
.c2-exam-theme-neumorphism .c2-exam-reference-answer strong {
    color: #4CAF50;
}
.c2-exam-theme-neumorphism .c2-exam-reference-answer pre {
    color: #4CAF50;
}
/* 主观题标*/
.c2-exam-subjective-label {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    background: #e3f2fd;
    color: #1976D2;
    margin-left: 8px;
}
/* 响应寮忚*/
@media (max-width: 1024px) {
    .c2-exam-container {
        width: calc(100% - 20px);
        margin: 10px;
    }

    .c2-exam-column {
        padding: 20px 25px;
    }
}
@media (max-width: 900px) {
    .c2-exam-paper {
        flex-direction: column;
    }

    .c2-exam-column.left,
    .c2-exam-column.right {
        border: none;
        border-bottom: 1px solid var(--c2-exam-column-border);
    }

    .c2-exam-column.right {
        margin-left: 0;
    }

    .c2-exam-clock {
        display: none;
    }
}
@media (max-width: 600px) {
    .c2-exam-overlay.active {
        padding: 0;
    }

    .c2-exam-container {
        width: calc(100% - 10px);
        margin: 5px;
        min-height: calc(100vh - 10px);
    }

    .c2-exam-header {
        padding: 12px 15px;
    }

    .c2-exam-title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .c2-exam-info {
        font-size: 12px;
    }

    .c2-exam-close-btn {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .c2-exam-column {
        padding: 15px;
    }

    .c2-exam-btn {
        padding: 10px 25px;
        font-size: 14px;
        margin: 5px;
    }

    .c2-exam-footer {
        padding: 20px 15px;
    }
}
/* ========== 设置按钮式布局 ========== */
.c2-exam-settings-btn {
    position: absolute;
    top: 12px;
    right: 92px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--c2-exam-btn-border);
    background: var(--c2-exam-close-btn-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border-radius: 0;
    z-index: 10;
    color: var(--c2-exam-text-secondary);
}
/* 新拟态很富题下下的勮缃宁閽题*/
.c2-exam-theme-neumorphism .c2-exam-settings-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(93, 138, 184, 0.15);
    color: #5d8ab8;
    border-radius: 8px;
}
.c2-exam-theme-neumorphism .c2-exam-settings-btn:hover {
    background: rgba(93, 138, 184, 0.25);
}
.c2-exam-settings-btn:hover {
    background: var(--c2-exam-close-btn-hover-bg);
    border-color: var(--c2-exam-text-secondary);
}
.c2-exam-settings-btn:active {
    transform: scale(0.95);
}
/* ========== 提交鍚庡厑璁搁样腑新囧瓧 ========== */
.c2-exam-overlay.c2-exam-selectable *,
.c2-exam-overlay.c2-exam-selectable .c2-exam-content,
.c2-exam-overlay.c2-exam-selectable .c2-exam-content *,
.c2-exam-overlay.c2-exam-selectable .c2-exam-section,
.c2-exam-overlay.c2-exam-selectable .c2-exam-section *,
.c2-exam-overlay.c2-exam-selectable .c2-exam-code-block,
.c2-exam-overlay.c2-exam-selectable .c2-exam-question-text {
    -webkit-user-select: text !important;
    user-select: text !important;
}
/* 页眉区域保持不可选中（坐伩全嶈E鍙戞祻瑙圾櫒工具式忥） */
.c2-exam-overlay.c2-exam-selectable .c2-exam-header,
.c2-exam-overlay.c2-exam-selectable .c2-exam-header *,
.c2-exam-overlay.c2-exam-selectable .c2-exam-footer,
.c2-exam-overlay.c2-exam-selectable .c2-exam-footer * {
    -webkit-user-select: none !important;
    user-select: none !important;
}
/* 输入妗喝拰按钮保持不可选中 */
.c2-exam-overlay input,
.c2-exam-overlay textarea,
.c2-exam-overlay button {
    -webkit-user-select: none !important;
    user-select: none !important;
}
/* ========== 设置态框式布局 ========== */
.c2-exam-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
}
.c2-exam-settings-modal.active {
    display: flex;
}
.c2-exam-settings-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.c2-exam-settings-modal-content {
    position: relative;
    width: 420px;
    max-width: 90vw;
    background: var(--c2-exam-container-bg);
    border: 2px solid var(--c2-exam-border);
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: c2ExamSettingsModalFadeIn 0.3s ease-out;
}
/* 新拟态很富题模态几式布局 */
.c2-exam-theme-neumorphism .c2-exam-settings-modal-content {
    background: linear-gradient(145deg, #e8f0f8, #d4e6f9);
    border: 1px solid rgba(93, 138, 184, 0.3);
    border-radius: 16px;
    box-shadow: 8px 8px 24px rgba(74, 111, 165, 0.2), -8px -8px 24px rgba(255, 255, 255, 0.7);
}
@keyframes c2ExamSettingsModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.c2-exam-settings-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--c2-exam-section-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.c2-exam-settings-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--c2-exam-text);
}
.c2-exam-settings-modal-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--c2-exam-btn-border);
    background: var(--c2-exam-btn-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--c2-exam-text-secondary);
    border-radius: 0;
    transition: all 0.2s ease;
}
.c2-exam-settings-modal-close:hover {
    background: var(--c2-exam-btn-hover-bg);
}
/* 新拟态很富题樺叧闂宁*/
.c2-exam-theme-neumorphism .c2-exam-settings-modal-close {
    border: none;
    background: rgba(93, 138, 184, 0.15);
    border-radius: 8px;
    color: #5d8ab8;
}
.c2-exam-theme-neumorphism .c2-exam-settings-modal-close:hover {
    background: rgba(93, 138, 184, 0.25);
}
.c2-exam-settings-modal-body {
    padding: 24px;
}
.c2-exam-settings-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--c2-exam-text);
    margin-bottom: 8px;
}
.c2-exam-settings-section-desc {
    font-size: 13px;
    color: var(--c2-exam-text-muted);
    margin-bottom: 16px;
}
/* 寮全虫题*/
.c2-exam-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.c2-exam-toggle-info {
    flex: 1;
}
.c2-exam-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--c2-exam-text);
}
.c2-exam-toggle-desc {
    font-size: 12px;
    color: var(--c2-exam-text-muted);
    margin-top: 4px;
}
.c2-exam-toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
}
.c2-exam-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.c2-exam-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border: 1px solid #bbb;
    transition: all 0.3s ease;
    border-radius: 0;
}
.c2-exam-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}
.c2-exam-toggle-switch input:checked + .c2-exam-toggle-slider {
    background: var(--c2-exam-btn-primary-bg);
    border-color: var(--c2-exam-btn-primary-bg);
}
.c2-exam-toggle-switch input:checked + .c2-exam-toggle-slider::before {
    transform: translateX(22px);
    border-color: var(--c2-exam-btn-primary-bg);
}
/* 新拟态很富题樺紑全虫题*/
.c2-exam-theme-neumorphism .c2-exam-toggle-slider {
    background: rgba(93, 138, 184, 0.2) !important;
    border: none !important;
    border-radius: 13px !important;
}
.c2-exam-theme-neumorphism .c2-exam-toggle-slider::before {
    background: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 2px 2px 4px rgba(74, 111, 165, 0.15), -2px -2px 4px rgba(255, 255, 255, 0.35) !important;
}
.c2-exam-theme-neumorphism .c2-exam-toggle-switch input:checked + .c2-exam-toggle-slider {
    background: linear-gradient(135deg, #7aa8d6, #5d8ab8) !important;
}
.c2-exam-theme-neumorphism .c2-exam-toggle-switch input:checked + .c2-exam-toggle-slider::before {
    transform: translateX(22px) !important;
    box-shadow: 2px 2px 4px rgba(74, 111, 165, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.4) !important;
}
.c2-exam-settings-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--c2-exam-section-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.c2-exam-settings-btn-action {
    padding: 10px 24px;
    font-size: 14px;
    border: 2px solid var(--c2-exam-btn-border);
    background: var(--c2-exam-btn-bg);
    color: var(--c2-exam-btn-text);
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease;
}
.c2-exam-settings-btn-action:hover {
    background: var(--c2-exam-btn-hover-bg);
}
.c2-exam-settings-btn-action.primary {
    background: var(--c2-exam-btn-primary-bg);
    color: var(--c2-exam-btn-primary-text);
    border-color: transparent;
}
.c2-exam-settings-btn-action.primary:hover {
    background: var(--c2-exam-btn-primary-hover-bg);
}
/* 新拟态很富题樻宁*/
.c2-exam-theme-neumorphism .c2-exam-settings-btn-action {
    border: none;
    border-radius: 8px;
}
/* ========== AI切鐩稿叧式布局 ========== */
/* AI语分分显示 - 填空闃咨结果闃咨填空题变答切喝緱切喜爣*/
.c2-exam-ai-score {
    display: inline-block;
    padding: 2px 8px;
    border: 1px dashed #666;
    border-radius: 6px;
    font-size: 12px;
    background: transparent;
    color: #666;
    margin-left: 8px;
    font-weight: 500;
}
/* AI语分分显示区域 - 简答答题鍜岀紪绋厌 */
.c2-exam-ai-score-display {
    margin-top: 12px;
    margin-bottom: 10px;
    padding: 6px 12px;
    border: 1px dashed #666;
    border-radius: 6px;
    background: transparent;
    display: inline-block;
}
.c2-exam-ai-score-display strong {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}
/* 新拟态很富题下下的动I语分分式布局 */
.c2-exam-theme-neumorphism .c2-exam-ai-score {
    border-color: #7aa8d6;
    color: #7aa8d6;
}
.c2-exam-theme-neumorphism .c2-exam-ai-score-display {
    border-color: #7aa8d6;
}
.c2-exam-theme-neumorphism .c2-exam-ai-score-display strong {
    color: #7aa8d6;
}
/* ========== 题目切喜暟式园式布局 ========== */
/* 鍩虹切喜暟式园式布局 */
.c2-exam-score-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    transition: all 0.2s ease;
}
/* 渐"分式布局 - 缁胯壊 */
.c2-exam-score-tag.full {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}
/* 闆跺分式布局 - 绾(四)壊 */
.c2-exam-score-tag.zero {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid #f44336;
    color: #f44336;
}
/* 部分得分式布局 - 鐏拌壊 */
.c2-exam-score-tag.partial {
    background: transparent;
    border: 1px dashed #666;
    color: #666;
}
/* 新拟态很富题下下的分分鏁版爣绛炬题*/
.c2-exam-theme-neumorphism .c2-exam-score-tag.full {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    color: #4CAF50;
}
.c2-exam-theme-neumorphism .c2-exam-score-tag.zero {
    background: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
    color: #f44336;
}
.c2-exam-theme-neumorphism .c2-exam-score-tag.partial {
    background: transparent;
    border-color: #7aa8d6;
    color: #7aa8d6;
}
/* ========== 鐢诲浘区域式布局 ========== */
/* 闇瑕佺敾鍥剧殑题目式园 */
.c2-exam-drawing-label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    background: #fff3e0;
    color: #e65100;
    margin-left: 10px;
    font-weight: 500;
    border: 1px solid #ffb74d;
}
/* 新拟态很富题下下的动敾鍥炬爣*/
.c2-exam-theme-neumorphism .c2-exam-drawing-label {
    background: rgba(230, 81, 0, 0.1);
    color: #e65100;
    border-color: rgba(230, 81, 0, 0.3);
}
/* 鐢诲浘区域容器 - 玻璃态效*/
.c2-exam-drawing-area {
    margin-top: 15px;
    border: 1px solid rgba(180, 150, 100, 0.35);
    border-radius: 12px;
    background: rgba(255, 250, 240, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px;
    box-shadow: 0 4px 16px rgba(120, 90, 60, 0.08);
}
/* 新拟态很富题下下的动敾鍥惧尯*/
.c2-exam-theme-neumorphism .c2-exam-drawing-area {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(93, 138, 184, 0.3);
}
/* 鐢诲浘区域式回 */
.c2-exam-drawing-title {
    font-size: 13px;
    color: var(--c2-exam-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* 鐢诲浘工具- 玻璃态效*/
.c2-exam-drawing-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(255, 252, 245, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    border: 1px solid rgba(180, 150, 100, 0.3);
}
/* 新拟态很富题下下的分伐全锋爮 */
.c2-exam-theme-neumorphism .c2-exam-drawing-toolbar {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(93, 138, 184, 0.2);
}
/* 工具式忓分*/
.c2-exam-toolbar-group {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 8px;
    border-right: 1px solid rgba(180, 150, 100, 0.3);
}
.c2-exam-toolbar-group:last-child {
    border-right: none;
    padding-right: 0;
}
/* 工具按钮鍩虹式布局 - 玻璃态效*/
.c2-exam-tool-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(180, 150, 100, 0.35);
    background: rgba(255, 252, 245, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b5344;
    transition: all 0.15s ease;
}
.c2-exam-tool-btn:hover {
    background: rgba(255, 250, 235, 0.9);
    border-color: rgba(160, 130, 90, 0.5);
}
.c2-exam-tool-btn.active {
    background: rgba(180, 150, 100, 0.35);
    border-color: rgba(160, 130, 90, 0.6);
    color: #5a4030;
}
.c2-exam-tool-btn:active {
    transform: scale(0.95);
}
/* 新拟态很富题下下的分伐全锋宁*/
.c2-exam-theme-neumorphism .c2-exam-tool-btn {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(93, 138, 184, 0.2);
    color: #5d8ab8;
}
.c2-exam-theme-neumorphism .c2-exam-tool-btn:hover {
    background: rgba(93, 138, 184, 0.1);
    border-color: rgba(93, 138, 184, 0.4);
}
.c2-exam-theme-neumorphism .c2-exam-tool-btn.active {
    background: rgba(93, 138, 184, 0.2);
    border-color: #5d8ab8;
    color: #4a6fa5;
}
/* 颜色选复喊- 玻璃态效*/
.c2-exam-color-picker {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(180, 150, 100, 0.35);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 252, 245, 0.75);
}
.c2-exam-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}
.c2-exam-color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 2px;
}
/* 新拟态很富题下下的单鑹查复喊*/
.c2-exam-theme-neumorphism .c2-exam-color-picker {
    border-color: rgba(93, 138, 184, 0.3);
}
/* 绾挎潯绮楃粏渐戝潡 - 玻璃态效*/
.c2-exam-stroke-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(180, 150, 100, 0.35);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.c2-exam-stroke-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #1976d2;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.c2-exam-stroke-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #1976d2;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* 新拟态很富题下下的别粦*/
.c2-exam-theme-neumorphism .c2-exam-stroke-slider {
    background: rgba(93, 138, 184, 0.2);
}
.c2-exam-theme-neumorphism .c2-exam-stroke-slider::-webkit-slider-thumb {
    background: #5d8ab8;
}
/* 绮楃粏显示 - 玻璃态效*/
.c2-exam-stroke-value {
    font-size: 11px;
    color: #6b5344;
    min-width: 20px;
    text-align: center;
    background: rgba(255, 252, 245, 0.7);
    padding: 2px 4px;
    border-radius: 4px;
}
/* 画布容器 - 玻璃态效*/
.c2-exam-canvas-container {

    position: relative;

    background: rgba(255, 252, 248, 0.98);

    border: 1px solid rgba(180, 150, 100, 0.35);

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 2px 12px rgba(120, 90, 60, 0.08);

        box-sizing: border-box;

        display: block;

            width: 100%;

        }

       /* 画布响应式 - 尺寸由JS控制，不使用!important覆盖 */
        .c2-exam-canvas-container .c2-exam-drawing-canvas {
            display: block;
        }

       /* 新拟态很富题下下的动敾布冨*/
.c2-exam-theme-neumorphism .c2-exam-canvas-container {
    background: #fff;
    border-color: rgba(93, 138, 184, 0.2);
    box-shadow: inset 2px 2px 6px rgba(74, 111, 165, 0.1), inset -2px -2px 6px rgba(255, 255, 255, 0.8);
}
/* 画布 */
.c2-exam-drawing-canvas {
    display: block;
    cursor: crosshair;
    touch-action: none;
}
/* 画布提示 */
.c2-exam-canvas-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #bbb;
    font-size: 14px;
    pointer-events: none;
    user-select: none;
}
/* 工具栏标*/
.c2-exam-toolbar-label {
    font-size: 11px;
    color: #888;
    margin-right: 4px;
}

/* 字号/粗细工具组切换 - 未展开模式下 */
/* 默认：隐藏字号组，显示粗细组 */
.c2-exam-toolbar-group.font-size-group {
    display: none;
}
.c2-exam-toolbar-group.stroke-group {
    display: flex;
}

/* 文本工具激活时：显示字号组，隐藏粗细组 */
.c2-exam-drawing-toolbar.text-mode .font-size-group {
    display: flex;
}
.c2-exam-drawing-toolbar.text-mode .stroke-group {
    display: none;
}

@media (max-width: 600px) {
    .c2-exam-drawing-toolbar {
        padding: 6px;
        gap: 6px;
    }

    .c2-exam-toolbar-group {
        padding-right: 6px;
        gap: 3px;
    }

    .c2-exam-tool-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

        .c2-exam-stroke-slider {

            width: 60px;

        }

    }

   /* ========== 全屏画布态框式布局 ========== */

   /* 态框遮罩*/

    .c2-exam-expanded-overlay {

        position: fixed;

        top: 0;

        left: 0;

        width: 100%;

        height: 100%;

        background: rgba(0, 0, 0, 0.6);

        z-index: 10030;

        display: none;

        align-items: center;

        justify-content: center;

        animation: c2ExamExpandedFadeIn 0.2s ease-out;

    }

    .c2-exam-expanded-overlay.active {

        display: flex;

    }

    @keyframes c2ExamExpandedFadeIn {

        from {

            opacity: 0;

        }

        to {

            opacity: 1;

        }

    }

   /* 态框容器 - 玻璃态效*/

    .c2-exam-expanded-container {

        width: 95vw;

        height: 90vh;

        background: rgba(255, 250, 240, 0.88);

        backdrop-filter: blur(20px);

        -webkit-backdrop-filter: blur(20px);

        border-radius: 24px;

        border: 1px solid rgba(180, 150, 100, 0.35);

        display: flex;

        flex-direction: column;

        box-shadow: 0 8px 32px rgba(120, 90, 60, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);

        animation: c2ExamExpandedScaleIn 0.3s ease-out;

    }

    @keyframes c2ExamExpandedScaleIn {

        from {

            transform: scale(0.9);

            opacity: 0;

        }

        to {

            transform: scale(1);

            opacity: 1;

        }

    }

   /* 态框澶撮答 - 玻璃态效*/

    .c2-exam-expanded-header {

        display: flex;

        align-items: center;

        justify-content: space-between;

        padding: 15px 20px;

        border-bottom: 1px solid rgba(180, 150, 100, 0.25);

        background: rgba(255, 250, 235, 0.55);

        border-radius: 24px 24px 0 0;

    }

    .c2-exam-expanded-title {

        font-size: 16px;

        font-weight: 600;

        color: #333;

        display: flex;

        align-items: center;

        gap: 8px;

    }

    .c2-exam-expanded-close {

        width: 36px;

        height: 36px;

        border: 1px solid rgba(180, 150, 100, 0.4);

        background: rgba(255, 252, 245, 0.7);

        backdrop-filter: blur(8px);

        -webkit-backdrop-filter: blur(8px);

        border-radius: 12px;

        cursor: pointer;

        display: flex;

        align-items: center;

        justify-content: center;

        font-size: 20px;

        color: #6b5344;

        transition: all 0.2s ease;

    }

    .c2-exam-expanded-close:hover {

        background: rgba(244, 67, 54, 0.85);

        border-color: rgba(244, 67, 54, 0.9);

        color: #fff;

        transform: scale(1.05);

    }

   /* 态框工具- 玻璃态效*/

    .c2-exam-expanded-toolbar {

        display: flex;

        flex-wrap: wrap;

        gap: 10px;

        padding: 12px 20px;

        background: rgba(255, 252, 245, 0.5);

        border-bottom: 1px solid rgba(180, 150, 100, 0.25);

        justify-content: center;

    }

   /* 灞卷紑模"局工具按钮 - 玻璃态效*/

    .c2-exam-expanded-toolbar .c2-exam-tool-btn {

        background: rgba(255, 252, 245, 0.7);

        border: 1px solid rgba(180, 150, 100, 0.4);

        color: #6b5344;

        border-radius: 8px;

        backdrop-filter: blur(8px);

        -webkit-backdrop-filter: blur(8px);

    }

    .c2-exam-expanded-toolbar .c2-exam-tool-btn:hover {

        background: rgba(255, 250, 235, 0.85);

        border-color: rgba(160, 130, 90, 0.5);

    }

    .c2-exam-expanded-toolbar .c2-exam-tool-btn.active {

        background: rgba(180, 150, 100, 0.45);

        border-color: rgba(160, 130, 90, 0.7);

        color: #5a4030;

    }

    .c2-exam-expanded-toolbar .c2-exam-tool-btn:active {

        transform: scale(0.95);

    }

   /* 灞卷紑模"局颜色选复喊鍣拰渐戝潡 - 玻璃态效*/

    .c2-exam-expanded-toolbar .c2-exam-color-picker {

        background: rgba(255, 252, 245, 0.85);

        border: 1px solid rgba(180, 150, 100, 0.4);

        border-radius: 8px;

    }

    .c2-exam-expanded-toolbar .c2-exam-stroke-slider {

        background: rgba(180, 150, 100, 0.35);

        border-radius: 4px;

    }

    .c2-exam-expanded-toolbar .c2-exam-stroke-value {

        color: #6b5344;

        background: rgba(255, 252, 245, 0.7);

        border-radius: 4px;

        padding: 2px 6px;

    }

   /* 态框画布区域 - 玻璃态效*/

    .c2-exam-expanded-canvas-wrapper {

        flex: 1;

        padding: 20px;

        overflow: auto;

        display: flex;

        align-items: center;

        justify-content: center;

        background: rgba(240, 235, 225, 0.4);

    }

        .c2-exam-expanded-canvas-wrapper .c2-exam-canvas-container {

            transform-origin: top left;

            background: rgba(255, 252, 248, 0.98);

            border: 1px solid rgba(180, 150, 100, 0.35);

            border-radius: 12px;

            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

            overflow: hidden;

            box-sizing: border-box;

            padding: 0;

        }

                        .c2-exam-expanded-canvas-wrapper .c2-exam-canvas-container .c2-exam-drawing-canvas {

                            display: block;

                        }

   /* ========== 新拟态很富题下下的分睍寮鐘舵几题========== */

    .c2-exam-theme-neumorphism .c2-exam-expanded-container {

        background: rgba(255, 255, 255, 0.85);

        border-color: rgba(93, 138, 184, 0.3);

        box-shadow: 0 8px 32px rgba(74, 111, 165, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-header {

        background: rgba(255, 255, 255, 0.5);

        border-bottom-color: rgba(93, 138, 184, 0.2);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-title {

        color: #4a6fa5;

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-close {

        background: rgba(255, 255, 255, 0.7);

        border-color: rgba(93, 138, 184, 0.25);

        color: #5d8ab8;

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-close:hover {

        background: rgba(244, 67, 54, 0.85);

        border-color: rgba(244, 67, 54, 0.9);

        color: #fff;

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar {

        background: rgba(255, 255, 255, 0.5);

        border-bottom-color: rgba(93, 138, 184, 0.15);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-tool-btn {

        background: rgba(255, 255, 255, 0.7);

        border-color: rgba(93, 138, 184, 0.25);

        color: #5d8ab8;

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-tool-btn:hover {

        background: rgba(93, 138, 184, 0.1);

        border-color: rgba(93, 138, 184, 0.4);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-tool-btn.active {

        background: rgba(93, 138, 184, 0.25);

        border-color: rgba(93, 138, 184, 0.5);

        color: #4a6fa5;

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-color-picker {

        background: rgba(255, 255, 255, 0.8);

        border-color: rgba(93, 138, 184, 0.3);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-stroke-slider {

        background: rgba(93, 138, 184, 0.2);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-stroke-value {

        color: #5d8ab8;

        background: rgba(255, 255, 255, 0.7);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-canvas-wrapper {

        background: rgba(230, 240, 250, 0.4);

    }

    .c2-exam-theme-neumorphism .c2-exam-expanded-canvas-wrapper .c2-exam-canvas-container {

        background: rgba(255, 255, 255, 0.98);

        border-color: rgba(93, 138, 184, 0.25);

        overflow: hidden;

    }

       /* 响应- 灏忓屏*/

        @media (max-width: 768px) {

            .c2-exam-expanded-container {

                width: 100vw;

                height: 100vh;

                border-radius: 0;

            }

            .c2-exam-expanded-header {

                border-radius: 0;

                padding: 10px 15px;

            }

            .c2-exam-expanded-toolbar {

                padding: 10px;

                gap: 6px;

            }

            .c2-exam-expanded-canvas-wrapper {

                padding: 10px;

            }

        }

   /* ========== 试卷样选复喊寮圭獥式布局 ========== */

   /* 试卷样选复喊寮圭獥 - 默认主题 */

    .c2-exam-paper-selection-modal {

        position: fixed;

        top: 0;

        left: 0;

        width: 100%;

        height: 100%;

        z-index: 10030;

        display: none;

        align-items: center;

        justify-content: center;

    }

    .c2-exam-paper-selection-modal.active {

        display: flex;

    }

    .c2-exam-paper-selection-overlay {

        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .c2-exam-paper-selection-content {
        position: relative;
        width: 600px;
        max-width: 90vw;
        max-height: 85vh;
        background: var(--c2-exam-container-bg);
        border: 2px solid var(--c2-exam-border);
        border-radius: 0;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: c2ExamPaperSelectionFadeIn 0.3s ease-out;
        display: flex;
        flex-direction: column;
    }

    @keyframes c2ExamPaperSelectionFadeIn {

        from {
            opacity: 0;
            transform: scale(0.9);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .c2-exam-paper-selection-header {
        padding: 20px 24px;
        border-bottom: 1px solid var(--c2-exam-section-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
    }

    .c2-exam-paper-selection-header h3 {
        margin: 0;
        font-size: 18px;
        color: var(--c2-exam-text);
    }

    .c2-exam-paper-selection-close {
        width: 32px;
        height: 32px;
        border: 1px solid var(--c2-exam-btn-border);
        background: var(--c2-exam-btn-bg);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--c2-exam-text-secondary);
        border-radius: 0;
        transition: all 0.2s ease;
    }

    .c2-exam-paper-selection-close:hover {
        background: var(--c2-exam-btn-hover-bg);
    }

    .c2-exam-paper-selection-body {
        padding: 24px;
        overflow-y: auto;
        flex: 1;
    }

   /* 试卷样鍗＄垂缃戞牸 */

    .c2-exam-paper-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }

   /* 试卷样鍗＄垂 */

    .c2-exam-paper-card {
        aspect-ratio: 1;
        border: 2px solid var(--c2-exam-section-border);
        background: var(--c2-exam-container-bg);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        border-radius: 0;
        padding: 12px;
    }

    .c2-exam-paper-card:hover {
        border-color: var(--c2-exam-btn-primary-bg);
        background: var(--c2-exam-btn-hover-bg);
        transform: translateY(-2px);
    }

    .c2-exam-paper-card.selected {
        border-color: var(--c2-exam-btn-primary-bg);
        background: var(--c2-exam-btn-primary-bg);
    }

    .c2-exam-paper-card.selected .c2-exam-paper-card-number,

    .c2-exam-paper-card.selected .c2-exam-paper-card-label {
        color: var(--c2-exam-btn-primary-text);
    }

    .c2-exam-paper-card-number {
        font-size: 32px;
        font-weight: bold;
        color: var(--c2-exam-text);
        line-height: 1;
        margin-bottom: 4px;
    }

    .c2-exam-paper-card-label {
        font-size: 12px;
        color: var(--c2-exam-text-muted);
    }

    .c2-exam-paper-selection-footer {
        padding: 16px 24px;
        border-top: 1px solid var(--c2-exam-section-border);
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        flex-shrink: 0;
    }

    .c2-exam-paper-selection-btn {
        padding: 10px 24px;
        font-size: 14px;
        border: 2px solid var(--c2-exam-btn-border);
        background: var(--c2-exam-btn-bg);
        color: var(--c2-exam-btn-text);
        cursor: pointer;
        border-radius: 0;
        transition: all 0.2s ease;
    }

    .c2-exam-paper-selection-btn:hover {
        background: var(--c2-exam-btn-hover-bg);
    }

    .c2-exam-paper-selection-btn.primary {
        background: var(--c2-exam-btn-primary-bg);
        color: var(--c2-exam-btn-primary-text);
        border-color: transparent;
    }

    .c2-exam-paper-selection-btn.primary:hover {
        background: var(--c2-exam-btn-primary-hover-bg);
    }

   /* 新拟态很富- 试卷样选复喊寮圭獥 */

        .c2-exam-theme-neumorphism .c2-exam-paper-selection-content {
            background: linear-gradient(145deg, #e8f0f8, #d4e6f9);
            border: 1px solid rgba(93, 138, 184, 0.3);
            border-radius: 16px;
            box-shadow: 8px 8px 24px rgba(74, 111, 165, 0.2), -8px -8px 24px rgba(255, 255, 255, 0.7);
        }

        .c2-exam-theme-neumorphism .c2-exam-paper-selection-close {
            border: none;
            background: rgba(93, 138, 184, 0.15);
            border-radius: 8px;
            color: #5d8ab8;
        }

        .c2-exam-theme-neumorphism .c2-exam-paper-selection-close:hover {
            background: rgba(93, 138, 184, 0.25);
        }

        .c2-exam-theme-neumorphism .c2-exam-paper-card {
            border: none;
            background: linear-gradient(145deg, #ecf4fc, #dbe7f5);
            border-radius: 12px;
            box-shadow: 4px 4px 8px rgba(74, 111, 165, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.6);
        }

        .c2-exam-theme-neumorphism .c2-exam-paper-card:hover {
            box-shadow: 6px 6px 12px rgba(74, 111, 165, 0.15), -6px -6px 12px rgba(255, 255, 255, 0.7);
            transform: translateY(-3px);
        }

        .c2-exam-theme-neumorphism .c2-exam-paper-card.selected {
                    background: linear-gradient(135deg, #7aa8d6, #5d8ab8);
                    box-shadow: inset 2px 2px 6px rgba(74, 111, 165, 0.3), inset -2px -2px 6px rgba(255, 255, 255, 0.4);
        }

        .c2-exam-theme-neumorphism .c2-exam-paper-selection-btn {
            border: none;
            border-radius: 8px;
        }

@media (max-width: 600px) {
    .c2-exam-paper-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .c2-exam-paper-card-number {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .c2-exam-paper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

   /* 响应- 灏忓屏*/
    @media (max-width: 600px) {
        .c2-exam-paper-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }

        .c2-exam-paper-card-number {
            font-size: 24px;
        }
    }

    @media (max-width: 400px) {
        .c2-exam-paper-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

/* ========== 文本工具样式 ========== */

/* 字号选择器 */
.c2-exam-font-size-select {
    padding: 4px 8px;
    border: 1px solid rgba(180, 150, 100, 0.35);
    border-radius: 6px;
    background: rgba(255, 252, 245, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12px;
    color: #6b5344;
    cursor: pointer;
    outline: none;
    min-width: 65px;
}

.c2-exam-font-size-select:hover {
    border-color: rgba(160, 130, 90, 0.5);
}

.c2-exam-font-size-select:focus {
    border-color: rgba(160, 130, 90, 0.7);
}

/* 新拟态主题下的字号选择器 */
.c2-exam-theme-neumorphism .c2-exam-font-size-select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(93, 138, 184, 0.2);
    color: #5d8ab8;
}

.c2-exam-theme-neumorphism .c2-exam-font-size-select:hover {
    border-color: rgba(93, 138, 184, 0.4);
}


/* 浮动文本输入框 - 无边框样式 */
.c2-exam-text-input {
    position: absolute;
    background: transparent;
    border: none;
    padding: 2px 4px;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #000;
    outline: none;
    min-width: 50px;
    height: auto;
    resize: none;
    overflow: visible;
    white-space: pre-wrap;
    word-wrap: break-word;
    z-index: 10;
    box-sizing: border-box;
    caret-color: #000;
}

/* 文本输入框的提示光标 */
.c2-exam-drawing-canvas.cursor-text {
    cursor: text;
}

/* 展开模式下的字号选择器 */
.c2-exam-expanded-toolbar .c2-exam-font-size-select {
    background: rgba(255, 252, 245, 0.85);
    border: 1px solid rgba(180, 150, 100, 0.4);
    border-radius: 8px;
}

.c2-exam-theme-neumorphism .c2-exam-expanded-toolbar .c2-exam-font-size-select {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(93, 138, 184, 0.3);
    color: #5d8ab8;
}
