/* 在线考试答题页 - 复刻 WELL 机考界面（居中固定宽度版） */
* { margin: 0; padding: 0; box-sizing: border-box; }

body.exam-page {
  font-family: "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #e7e6e6;
  color: #333;
  min-height: 100vh;
  padding: 0 5vw;
}

.exam-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  height: 100vh;
  background: #d9d9d9;
  overflow: hidden;
  position: relative;
}

/* ---------- 顶部黑色栏 ---------- */
.exam-top-bar {
  background: #000000;
  color: #fff;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  flex-shrink: 0;
}

.exam-top-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 120px;
}

.exam-top-left .q-label {
  font-size: 15px;
  font-weight: 400;
}

.exam-top-left .q-label span { font-weight: 400; }

.exam-top-left .section-label {
  font-size: 12px;
  color: #ccc;
  margin-top: 2px;
}

.exam-top-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 420px;
  margin: 0 20px;
}

.exam-timer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}

.exam-timer-row .clock-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.exam-timer-row .clock-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 2px;
  background: #fff;
  transform: translate(-1px, -2px) rotate(45deg);
  transform-origin: left center;
}

.exam-timer-row .clock-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 2px;
  background: #fff;
  transform: translate(-1px, -2px) rotate(-30deg);
  transform-origin: left center;
}

.exam-progress-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.exam-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #ddd;
}

.exam-progress-bar {
  width: 100%;
  height: 10px;
  background: #666;
  border-radius: 5px;
  overflow: hidden;
}

.exam-progress-bar .exam-progress-fill {
  height: 100%;
  background: #70ad47;
  width: 0%;
  transition: width 0.3s ease;
}

.exam-top-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 120px;
  justify-content: flex-end;
}

.exam-finish-btn {
  background: #b0b0b0;
  color: #222;
  border: none;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.exam-finish-btn:hover { background: #fff3cd; }

.exam-candidate {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}

/* ---------- 绿色标题栏 ---------- */
.exam-sub-header {
  background: #70ad47;
  color: #fff;
  padding: 7px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  min-height: 34px;
  flex-shrink: 0;
}

/* ---------- 主体区域 ---------- */
.exam-main-area {
  display: flex;
  height: calc(100vh - 58px - 34px - 52px);
  flex: none;
  overflow: hidden;
}

/* ---------- 左侧题号导航 ---------- */
.exam-sidebar {
  width: 86px;
  background: #262626;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
  overflow: hidden;
  flex-shrink: 0;
}

.exam-nav-arrow {
  color: #999;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
  user-select: none;
}

.exam-nav-arrow:hover { color: #fff; }

.exam-question-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #666 #333;
}

.exam-question-nav::-webkit-scrollbar {
  width: 6px;
}

.exam-question-nav::-webkit-scrollbar-track {
  background: #333;
}

.exam-question-nav::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 3px;
}

.exam-question-nav::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.exam-q-btn {
  width: 56px;
  height: 30px;
  background: #d9d9d9;
  border: 1px solid #bfbfbf;
  color: #333;
  font-weight: 400;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  position: relative;
}

.exam-q-btn:hover { background: #fff3cd; }

.exam-q-btn.active {
  background: #70ad47;
  border-color: #5a8f3a;
  color: #fff;
}

.exam-q-btn.active::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 7px 7px 0;
  border-style: solid;
  border-color: transparent #70ad47 transparent transparent;
}

.exam-q-btn.answered { background: #808080; color: #fff; }

.exam-q-btn.flagged::before {
  content: '\1F6A9';
  position: absolute;
  top: -5px;
  right: -3px;
  font-size: 9px;
}

/* ---------- 题目内容区 ---------- */
.exam-content {
  flex: 1;
  padding: 20px 28px;
  overflow-y: auto;
  background: #d9d9d9;
}

.exam-question-card {
  background: #d9d9d9;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  max-width: 100%;
}

.exam-question-title {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}

.exam-q-badge {
  background: #70ad47;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  width: 34px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exam-q-texts {
  flex: 1;
}

.exam-q-en {
  font-weight: 400;
  margin-bottom: 6px;
}

.exam-q-cn {
  color: #555;
  font-weight: 400;
}

/* 富文本题目渲染样式 */
.exam-q-texts p { margin: 0 0 8px; }
.exam-q-texts p:last-child { margin-bottom: 0; }
.exam-q-texts img { max-width: 100%; height: auto; border-radius: 4px; margin: 4px 0; }
.exam-q-texts ul, .exam-q-texts ol { padding-left: 22px; margin: 6px 0; }
.exam-q-texts li { margin: 2px 0; }
.exam-q-texts table { border-collapse: collapse; margin: 8px 0; max-width: 100%; }
.exam-q-texts td, .exam-q-texts th { border: 1px solid #ddd; padding: 4px 8px; }
.exam-q-texts a { color: #1B5E20; text-decoration: underline; }
.exam-q-texts blockquote { border-left: 3px solid #8CB83C; margin: 8px 0; padding: 4px 12px; color: #555; background: #f7faf2; }
.exam-q-texts code { background: #f0f0f0; padding: 1px 4px; border-radius: 3px; font-size: 92%; }
.exam-q-texts pre { background: #f5f5f5; padding: 8px 10px; border-radius: 4px; overflow-x: auto; }

.exam-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}

.exam-option-card {
  display: flex;
  background: #d9d9d9;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  align-items: flex-start;
  gap: 12px;
}

.exam-option-card:hover {
  border-color: #70ad47;
  background: #c8c8c8;
}

.exam-option-card.selected {
  border-color: #70ad47;
  background: #fff3cd;
  box-shadow: 0 0 0 1px #70ad47 inset;
}

.exam-option-label {
  font-weight: 400;
  font-size: 15px;
  color: #333;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.exam-option-texts {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.exam-option-en { font-weight: 400; margin-bottom: 4px; font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", "SimHei", sans-serif !important; }
.exam-option-cn {
  color: #555;
  font-weight: 400;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", "SimHei", sans-serif !important;
  white-space: pre-wrap;
}

/* ---------- 底部操作栏 ---------- */
.exam-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  max-width: 900px;
  margin: 0 auto;
  background: #000000;
  color: #fff;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
}

.exam-bottom-left { display: flex; gap: 14px; }

.exam-icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.exam-icon-btn:hover { opacity: 1; }

.exam-bottom-right { display: flex; gap: 10px; }

.exam-action-btn {
  border: none;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.exam-action-btn.back {
  background: #70ad47;
  color: #fff;
}

.exam-action-btn.next {
  background: #5a8f3a;
  color: #fff;
}

.exam-action-btn:hover { filter: brightness(1.1); }

.exam-action-btn:disabled {
  background: #777;
  cursor: not-allowed;
  filter: none;
}

/* ---------- 弹窗 ---------- */
.exam-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.exam-modal-overlay.show { display: flex; }

.exam-modal-box {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.exam-modal-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
}

.exam-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.exam-modal-btn {
  border: none;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
}

.exam-modal-btn.cancel { background: #e0e0e0; color: #333; }
.exam-modal-btn.confirm { background: #70ad47; color: #fff; }

/* ---------- 入口/结果/加载/错误页 ---------- */
.exam-page-card,
.exam-entry-card {
  max-width: 600px;
  margin: 60px auto;
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ---------- 考试入口卡片（美化和信息丰富） ---------- */
.exam-entry-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8f5e9;
  margin-bottom: 18px;
}

.exam-entry-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2D5A3D 0%, #4CAF50 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(45, 90, 61, 0.25);
}

.exam-entry-title {
  font-size: 22px;
  font-weight: 600;
  color: #1B3A2A;
  line-height: 1.3;
}

.exam-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ee-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: #f5f5f5;
  color: #555;
  border: 1px solid #eee;
}

.ee-tag-green { background: #e8f5e9; color: #2E7D32; border-color: #c8e6c9; }
.ee-tag-blue { background: #e3f2fd; color: #1565C0; border-color: #bbdefb; }
.ee-tag-orange { background: #fff3e0; color: #ef6c00; border-color: #ffe0b2; }

.exam-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.exam-entry-item {
  background: #f8faf8;
  border: 1px solid #e8f5e9;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ee-label {
  font-size: 13px;
  color: #78909c;
}

.ee-value {
  font-size: 18px;
  font-weight: 600;
  color: #2D5A3D;
}

.exam-entry-notice {
  background: #f8faf8;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 22px;
  border-left: 4px solid #4CAF50;
}

.ee-notice-title {
  font-size: 15px;
  font-weight: 600;
  color: #1B3A2A;
  margin-bottom: 10px;
}

.exam-entry-notice ul {
  margin: 0;
  padding-left: 18px;
  color: #555;
  font-size: 14px;
  line-height: 1.9;
}

.exam-entry-notice li strong { color: #2D5A3D; }

.exam-entry-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 22px;
  padding: 12px 16px;
  background: #fafafa;
  border-radius: 8px;
}

.exam-entry-btn {
  width: 100%;
  background: linear-gradient(135deg, #2D5A3D 0%, #4CAF50 100%);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 90, 61, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.exam-entry-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 90, 61, 0.35);
}

.exam-page-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  color: #333;
}

.exam-page-info {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
}

.exam-page-info strong { color: #333; }

.exam-primary-btn {
  background: #70ad47;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 400;
  border-radius: 4px;
  cursor: pointer;
}

.exam-primary-btn:hover { background: #5a8f3a; }

.exam-score-board {
  text-align: center;
  margin: 20px 0;
}

.exam-big-score {
  font-size: 48px;
  font-weight: 400;
  color: #5a8f3a;
}

.exam-pass-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 14px;
  margin-top: 8px;
}

.exam-pass-badge.pass { background: #dcedc8; color: #33691e; }
.exam-pass-badge.fail { background: #ffebee; color: #b71c1c; }

.exam-error-message {
  max-width: 500px;
  margin: 80px auto;
  text-align: center;
  padding: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.exam-error-message h2 { color: #c62828; margin-bottom: 12px; }

.exam-loading {
  text-align: center;
  padding: 60px;
  color: #777;
}

/* ---------- 响应式：平板/手机全面适配 ---------- */

/* 平板：768-1024px */
@media (max-width: 1024px) and (min-width: 769px) {
  .exam-wrapper { max-width: 100%; }
  .exam-main-area { height: calc(100vh - 58px - 34px - 52px); }
}

/* 小/中屏：手机 + 小平板 */
@media (max-width: 768px) {
  .exam-wrapper {
    max-width: 100%;
    height: 100dvh;
  }

  /* ===== 顶部栏简化 ===== */
  .exam-top-bar {
    padding: 4px 10px;
    min-height: 48px;
    flex-wrap: nowrap;
  }
  .exam-top-left { min-width: auto; }
  .exam-top-left .q-label { font-size: 13px; }
  .exam-top-left .section-label { display: none; }
  .exam-top-center { max-width: none; margin: 0 8px; }
  .exam-timer-row { font-size: 11px; gap: 4px; }
  .exam-timer-row .clock-icon { width: 12px; height: 12px; }
  .exam-progress-header { font-size: 10px; }
  .exam-progress-bar { height: 7px; }
  .exam-top-right { display: none; }

  /* ===== 侧边栏改为底部滑动抽屉 ===== */
/* 桌面端默认显示设置/帮助/聊天按钮 */
.exam-icon-desktop-only { display: flex; }

/* 移动端：隐藏桌面专属按钮 */
@media (max-width: 768px) {
  .exam-icon-desktop-only { display: none !important; }

  /* 移动端显示 FINISH 按钮 */
  .exam-top-right {
    display: flex !important;
    min-width: auto;
  }
  .exam-finish-btn {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
  }
  .exam-candidate { display: none; } /* 顶部姓名隐藏避免挤压 */
}

@media (min-width: 769px) {
  .exam-icon-mobile-show { display: flex; }
}

@media (max-width: 768px) {
  .exam-sidebar { display: none; }

  /* 移动端题号网格遮罩 */
  .exam-sidebar.exam-sidebar-show {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    width: 100%;
    background: rgba(0,0,0,0.85);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .exam-sidebar.exam-sidebar-show .exam-nav-arrow { display: none; }
  .exam-sidebar.exam-sidebar-show .exam-question-nav {
    flex: none;
    max-height: 70vh;
    width: auto;
    max-width: 320px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
  }
  .exam-sidebar.exam-sidebar-show .exam-q-btn {
    width: 46px;
    height: 40px;
    font-size: 14px;
  }
  .exam-sidebar.exam-sidebar-show .exam-q-btn.active::after { display: none; }
  .exam-sidebar.exam-sidebar-show::after {
    content: '点击题号跳转，点击空白关闭';
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 12px;
  }

  /* ===== 主体区域适配 ===== */
  .exam-main-area {
    height: calc(100dvh - 48px - 34px - 48px);
    flex-direction: column;
  }
  .exam-content {
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }

  /* ===== 题目卡片 ===== */
  .exam-question-card {
    padding: 14px 16px;
    margin-bottom: 14px;
  }
  .exam-question-title {
    font-size: 14px;
    gap: 8px;
  }
  .exam-q-badge {
    width: 28px;
    height: 26px;
    font-size: 12px;
  }

  /* ===== 选项卡片（加高触控区） ===== */
  .exam-options-list { gap: 10px; }
  .exam-option-card {
    padding: 14px 12px;
    min-height: 48px;
    gap: 10px;
  }
  .exam-option-label {
    font-size: 15px;
    min-width: 22px;
  }
  .exam-option-texts { font-size: 14px; }

  /* ===== 底部操作栏 ===== */
  .exam-bottom-bar {
    min-height: 48px;
    padding: 6px 10px;
  }
  .exam-bottom-left { gap: 8px; }
  .exam-icon-btn {
    font-size: 18px;
    padding: 8px;
    min-width: 44px;
    min-height: 38px;
  }
  .exam-bottom-right { gap: 8px; }
  .exam-action-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 38px;
  }

  /* ===== 入口卡片 ===== */
  .exam-entry-card {
    max-width: 100%;
    margin: 20px 12px;
    padding: 20px;
    border-radius: 10px;
  }
  .exam-entry-header { gap: 10px; }
  .exam-entry-icon {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
  .exam-entry-title { font-size: 18px; }

  .exam-entry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .exam-entry-item { padding: 10px 12px; }
  .ee-value { font-size: 16px; }
  .exam-entry-notice { padding: 14px; }

  /* ===== 结果页 ===== */
  .exam-page-card {
    max-width: 100%;
    margin: 20px 12px;
    padding: 24px;
  }
  .exam-big-score { font-size: 38px; }

  /* ===== 弹窗 ===== */
  .exam-modal-box {
    max-width: 90%;
    width: 100%;
    margin: 0 16px;
    padding: 20px;
  }

  /* ===== 加载/错误 ===== */
  .exam-loading { padding: 40px 20px; }
  .exam-error-message { margin: 40px 16px; padding: 24px; }
}

/* 小屏手机 (<420px) */
@media (max-width: 420px) {
  .exam-top-bar {
    padding: 3px 6px;
    min-height: 42px;
  }
  .exam-top-left .q-label { font-size: 12px; }
  .exam-timer-row { font-size: 10px; }

  .exam-main-area {
    height: calc(100dvh - 42px - 30px - 44px);
  }
  .exam-content { padding: 8px; }
  .exam-question-card { padding: 10px 12px; }
  .exam-question-title { font-size: 13px; }
  .exam-option-card {
    padding: 12px 10px;
    min-height: 44px;
  }
  .exam-option-texts { font-size: 13px; }

  .exam-sub-header {
    padding: 5px 10px;
    min-height: 30px;
    font-size: 12px;
  }

  .exam-bottom-bar {
    min-height: 44px;
    padding: 4px 8px;
  }
  .exam-action-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-height: 34px;
  }
  .exam-icon-btn {
    font-size: 16px;
    padding: 6px;
    min-width: 38px;
    min-height: 34px;
  }

  .exam-entry-card { padding: 16px; margin: 12px 8px; }
  .exam-entry-title { font-size: 16px; }
  .exam-entry-grid { grid-template-columns: 1fr; }
}

/* 横屏提醒 */
@media (max-height: 500px) and (orientation: landscape) {
  .exam-top-bar { min-height: 40px; padding: 3px 8px; }
  .exam-timer-row { font-size: 11px; }
  .exam-progress-bar { height: 6px; }
  .exam-progress-header { font-size: 10px; }
  .exam-bottom-bar { min-height: 40px; padding: 4px 10px; }
  .exam-main-area { height: calc(100dvh - 40px - 30px - 40px); }
  .exam-sidebar { width: 60px; }
  .exam-q-btn { width: 44px; height: 24px; font-size: 11px; }
  .exam-content { padding: 8px 12px; }
}

/* 安全区适配（刘海屏） */
@supports (padding: max(0px)) {
  .exam-wrapper { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
  .exam-bottom-bar {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}
