/* 云课堂 · 点播版 —— 全局样式（参照酷瓜云课堂 layui 风格的简洁后台/前台视觉） */
:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-soft: #ecfdf5;
  --danger: #dc2626;
  --warn: #d97706;
  --text: #1f2937;
  --text-sub: #6b7280;
  --line: #e5e7eb;
  --bg: #f5f7fa;
  --card: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 600; }
p { margin: 0 0 8px; }

/* ---------------------------------------------------------------- 顶栏 */
.cc-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.nav { display: flex; gap: 6px; flex: 1; }
.nav-link {
  padding: 6px 12px; border-radius: 6px; color: var(--text-sub); transition: all .15s;
}
.nav-link:hover { background: var(--bg); color: var(--text); }
.nav-link.active { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 13px; position: relative; }
.nav-nick { color: var(--text-sub); }

/* 右上角用户菜单：昵称 → 下拉（个人信息 / 学习考试信息 / 证书 / 退出） */
.nav-user .nav-nick {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 5px 10px 5px 6px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; font: inherit; color: var(--text); transition: all .15s;
}
.nav-user .nav-nick:hover { background: var(--bg); border-color: var(--line); }
.nav-user.open .nav-nick { background: var(--primary-soft); border-color: #bbf7d0; color: var(--primary-dark); }
.nav-user .nav-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.nav-user .nav-nick-text { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user .nav-caret { font-size: 10px; color: var(--text-sub); transition: transform .15s; }
.nav-user.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 168px; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
  /* 显隐用 .open 类，不用 hidden 属性（hidden 会被这里的 display 规则盖掉） */
  display: none;
}
.nav-user.open .nav-dropdown { display: block; }
.nav-dropdown-item {
  display: block; padding: 9px 12px; border-radius: 7px; color: var(--text);
  font-size: 13px; white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--bg); color: var(--text); }
.nav-dropdown-item.danger { color: #dc2626; }
.nav-dropdown-item.danger:hover { background: #fef2f2; }
.nav-dropdown-divider { height: 1px; background: var(--line); margin: 5px 4px; }

/* ---------------------------------------------------------------- 视频播放策略（防拖拽 + 签到） */
.player-wrap { position: relative; }
.player-wrap video { width: 100%; display: block; background: #000; border-radius: 10px; }

/* 完全禁止拖拽时把原生进度条藏掉：拖不动也就不存在"拖了又弹回去"的怪异手感
   （Chromium / 微信内置浏览器支持；其它内核由 JS 的 seeking 兜底拦回） */
body.seek-none video::-webkit-media-controls-timeline { display: none; }
body.seek-none video::-webkit-media-controls-seek-back-button { display: none; }
body.seek-none video::-webkit-media-controls-seek-forward-button { display: none; }

/*
 * 签到遮罩
 *
 * 注意：这里**不能用 hidden 属性**控制显隐 —— `.checkin-mask { display: flex }` 会盖掉
 * 浏览器给 [hidden] 的默认 display:none（优先级问题），结果遮罩从页面打开就一直在，
 * 点「签到」看着"没反应"。所以统一用 .open 类控制。
 */
.checkin-mask {
  position: absolute; inset: 0; z-index: 30;
  display: none; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .78); border-radius: 10px; padding: 16px;
}
.checkin-mask.open { display: flex; }

/* 学员水印：不挡操作（pointer-events:none），位置会周期性微移，防止被裁掉 */
.player-watermark {
  position: absolute; z-index: 20; pointer-events: none;
  font-size: 12px; line-height: 1.4; white-space: nowrap;
  color: rgba(255, 255, 255, .55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  padding: 2px 8px; border-radius: 6px;
  background: rgba(15, 23, 42, .12);
  transition: top .8s ease, left .8s ease;
}
/* 禁止下载时给原生控件也留个提示（点右键会被拦，提示去哪找） */
body.no-download video { cursor: default; }
.checkin-box {
  background: #fff; border-radius: 14px; padding: 22px 24px; text-align: center;
  max-width: 320px; width: 100%; box-shadow: 0 16px 40px rgba(15, 23, 42, .3);
}
.checkin-icon { font-size: 34px; line-height: 1; }
.checkin-title { font-size: 17px; font-weight: 700; margin: 10px 0 6px; }
.checkin-box .muted { font-size: 13px; margin-bottom: 14px; }
.checkin-box .btn { width: 100%; margin-bottom: 10px; }

/* ---------------------------------------------------------------- 布局 */
.container { max-width: 1180px; margin: 0 auto; padding: 24px 20px 60px; }
.page-title { font-size: 20px; margin-bottom: 4px; }
.page-sub { color: var(--text-sub); margin-bottom: 20px; }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }

/* ---------------------------------------------------------------- 课程卡片 */
.course-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,24,40,.10); }
.course-cover {
  height: 148px; background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex; align-items: center; justify-content: center; color: #047857;
  font-size: 26px; font-weight: 700; position: relative;
}
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-badge {
  position: absolute; top: 10px; left: 10px; background: rgba(22,163,74,.92); color: #fff;
  border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 500;
}
.cover-badge.gray { background: rgba(107,114,128,.9); }
.course-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.course-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.course-summary {
  color: var(--text-sub); font-size: 13px; margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-sub); }
.price { color: var(--danger); font-size: 17px; font-weight: 700; }
.price.free { color: var(--primary); }
.price-market { color: #9ca3af; text-decoration: line-through; font-size: 12px; margin-left: 6px; }

/* ---------------------------------------------------------------- 表单与按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px; border: 1px solid var(--line); background: #fff;
  color: var(--text); cursor: pointer; font-size: 14px; transition: all .15s;
}
.btn:hover { border-color: #d1d5db; background: #fafafa; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-danger { background: #fff; border-color: #fecaca; color: var(--danger); }
.btn-danger:hover { background: #fef2f2; }
.btn-block { width: 100%; }
.btn-sm { padding: 4px 10px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.input, .select, .textarea {
  width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); }
.textarea { min-height: 90px; resize: vertical; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-sub); }
.form-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-sub); }

/* ---------------------------------------------------------------- 标签页/表格 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab {
  padding: 8px 14px; cursor: pointer; color: var(--text-sub); border-bottom: 2px solid transparent;
  font-size: 14px;
}
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { color: var(--text-sub); font-weight: 500; background: #fafbfc; }
.table tr:hover td { background: #fafbfc; }

.tag {
  display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 12px;
  background: var(--bg); color: var(--text-sub); border: 1px solid var(--line);
}
.tag-green { background: var(--primary-soft); color: var(--primary-dark); border-color: #bbf7d0; }
.tag-red { background: #fef2f2; color: var(--danger); border-color: #fecaca; }
.tag-amber { background: #fffbeb; color: var(--warn); border-color: #fde68a; }
.tag-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

/* ---------------------------------------------------------------- 媒体资源列表 */
.media-table td { vertical-align: middle; }
.media-title { display: flex; align-items: center; gap: 10px; }
.media-icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; background: var(--primary-soft); color: var(--primary-dark);
}
.media-icon.remote { background: #eff6ff; color: #1d4ed8; }
.media-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.media-name { font-weight: 600; color: var(--text); }
.media-sub {
  color: var(--text-sub); font-size: 12px; line-height: 1.4;
  max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.media-ops { display: flex; gap: 6px; flex-wrap: wrap; }
.media-table tbody tr:hover .media-sub { color: var(--text); }
.media-table code, .drawer code {
  background: #f3f4f6; border-radius: 4px; padding: 1px 5px; font-size: 12px;
}

/* ---------------------------------------------------------------- 章节树 */
.chapter { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.chapter-head {
  padding: 10px 14px; background: #fafbfc; font-weight: 600; font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.lesson {
  padding: 9px 14px; border-top: 1px solid var(--line); display: flex;
  justify-content: space-between; align-items: center; gap: 10px; cursor: pointer;
}
.lesson:hover { background: var(--primary-soft); }
.lesson.locked { color: #9ca3af; cursor: not-allowed; }
.lesson.locked:hover { background: #fafbfc; }
.lesson-title { display: flex; align-items: center; gap: 8px; }
.lesson-icon { font-size: 12px; }
.lesson-duration { color: var(--text-sub); font-size: 12px; white-space: nowrap; }

/* ---------------------------------------------------------------- 播放页 */
.player-wrap { background: #000; border-radius: var(--radius); overflow: hidden; }
.player-wrap video { width: 100%; max-height: 62vh; display: block; background: #000; }
.player-side { max-height: 70vh; overflow: auto; }
.progress-bar { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: var(--primary); transition: width .3s; }

/* ---------------------------------------------------------------- 提示与空态 */
.empty { text-align: center; color: var(--text-sub); padding: 44px 0; }
.alert { padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 14px; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.cc-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; }
.cc-toast-item {
  background: #1f2937; color: #fff; padding: 9px 18px; border-radius: 6px; margin-bottom: 8px;
  font-size: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: opacity .3s;
}
.cc-toast-item.error { background: var(--danger); }
.cc-toast-item.success { background: var(--primary); }
.cc-toast-item.hide { opacity: 0; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.pager button {
  min-width: 34px; height: 34px; border: 1px solid var(--line); background: #fff;
  border-radius: 6px; cursor: pointer;
}
.pager button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.muted { color: var(--text-sub); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; }
.flex { display: flex; } .flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.center { text-align: center; }

.auth-box { max-width: 420px; margin: 60px auto; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat-value { font-size: 22px; font-weight: 700; color: var(--primary-dark); }
.stat-label { color: var(--text-sub); font-size: 13px; }

/* ---------------------------------------------------------------- 移动端 / H5 */
/* 两级断点：900px（平板竖屏 / 大屏手机）与 640px（手机） */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; padding: 0 12px; }
  .brand-text { display: none; }
  /* 列数多的表格：让卡片横向滚动，避免把整页撑宽 */
  .card { overflow-x: auto; }
  .table th, .table td { white-space: nowrap; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 16px 12px 48px; }
  .header-inner { height: auto; min-height: 56px; padding: 8px 12px; flex-wrap: wrap; }
  .nav { overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 2px; }
  .nav-link { padding: 8px 10px; white-space: nowrap; }
  /* 手机上只隐藏昵称文字，保留头像按钮 —— 否则整个用户菜单（含退出）就点不到了 */
  .nav-user { gap: 6px; }
  .nav-user .nav-nick { padding: 3px 7px 3px 3px; }
  .nav-user .nav-nick-text { display: none; }
  .nav-dropdown { min-width: 150px; }
  .card { padding: 14px; }
  .card-title { flex-wrap: wrap; gap: 8px; }
  .page-title { font-size: 18px; }

  /* 触控目标：手机上按钮要按得准（桌面端保持紧凑） */
  .btn { padding: 11px 16px; }
  .btn-sm, .table .btn { padding: 8px 12px; font-size: 13px; }

  /* 表单控件占满一行：抵消页面里写死的 width: 200px/260px 这类桌面宽度 */
  .input, .select, .textarea { width: 100% !important; }
  .form-inline > .input, .form-inline > .select { flex: 1 1 140px; }

  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .stat { padding: 12px; }
  .stat-value { font-size: 19px; }

  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { white-space: nowrap; }
  .auth-box { margin: 24px auto; }
  .media-sub { max-width: 62vw; }
  .player-wrap video { max-height: 52vh; }
}

/* ------------------------------------------------------------ 练习页（学员端） */
.practice-title { margin: 14px 0; font-size: 16px; font-weight: 600; line-height: 1.7; }

/* 选项做成大按钮：手机上好点，桌面端也清晰 */
.practice-option {
  display: flex; align-items: flex-start; gap: 10px;
  width: 100%; margin-bottom: 10px; padding: 13px 15px;
  text-align: left; font-size: 14px; line-height: 1.6;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color .12s, background .12s, box-shadow .12s;
}
.practice-option:hover { border-color: #86efac; }
.practice-option.active {
  border-color: var(--primary); background: var(--primary-soft);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, .12);
}
.practice-option .option-key { flex: 0 0 22px; font-weight: 700; color: var(--primary); }

.practice-analysis {
  margin-top: 10px; padding: 12px 14px; border-radius: 8px;
  background: #f8fafc; font-size: 13px; line-height: 1.7; color: var(--text-sub);
}

.practice-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.practice-nav-item {
  width: 38px; height: 38px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text-sub);
  font-size: 13px; font-weight: 600;
}
.practice-nav-item.right { background: #dcfce7; border-color: #86efac; color: #15803d; }
.practice-nav-item.wrong { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.practice-nav-item.current { outline: 2px solid var(--primary); outline-offset: 1px; }

.practice-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--text-sub); align-items: center; }
.practice-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.dot-todo { background: var(--card); border: 1px solid var(--line); }
.dot-right { background: #86efac; }
.dot-wrong { background: #fca5a5; }

/* ------------------------------------------------------------ 专题练习统计（后台） */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.stats-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.stats-card .label { font-size: 12px; color: var(--text-sub); }
.stats-card .value { margin-top: 6px; font-size: 24px; font-weight: 700; }
.stats-card .value small { font-size: 13px; font-weight: 500; color: var(--text-sub); }

/* 环形图用 conic-gradient 画，不引第三方图表库 */
.donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.donut { width: 168px; height: 168px; border-radius: 50%; position: relative; flex: 0 0 auto; }
.donut::after { content: ''; position: absolute; inset: 27px; background: var(--card); border-radius: 50%; }
.donut-center {
  position: absolute; inset: 0; z-index: 1; display: flex;
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.donut-center b { font-size: 22px; }
.donut-center span { font-size: 12px; color: var(--text-sub); }
.donut-legend { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.donut-legend i, .chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* 题型对比柱图：纯 flex + 百分比高度 */
.bar-chart {
  display: flex; align-items: flex-end; gap: 26px; height: 200px;
  padding: 0 8px; border-bottom: 1px solid var(--line);
}
.bar-group { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1 1 0; }
.bar-pair { display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.bar { width: 22px; min-height: 2px; border-radius: 4px 4px 0 0; }
.bar-blue { background: #3b82f6; }
.bar-amber { background: #f59e0b; }
.bar-label { margin-top: 8px; font-size: 12px; color: var(--text-sub); }
.chart-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--text-sub); }
.tag-blue { background: #dbeafe; color: #1d4ed8; }

@media (max-width: 640px) {
  .donut-wrap { gap: 16px; }
  .donut { width: 140px; height: 140px; }
  .donut::after { inset: 23px; }
  .bar-chart { gap: 14px; height: 170px; }
  .bar { width: 16px; }
  .practice-nav-item { width: 34px; height: 34px; }
  .exam-timer { font-size: 22px; }
}

/* ------------------------------------------------------------ 在线考试（学员端） */
.exam-timer {
  font-size: 26px; font-weight: 700; line-height: 1.2;
  font-variant-numeric: tabular-nums; color: var(--primary-dark);
}
/* 最后一分钟闪一下，提醒学员该交卷了 */
.exam-timer.urgent { color: var(--danger); animation: exam-blink 1s steps(2, start) infinite; }
@keyframes exam-blink { to { opacity: .35; } }

/* 考试期间锁定长按选择与复制：手机端防止把题目复制出去搜答案 */
body.exam-locked {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 不可用的按钮（例如未到开考时间）保持可见但点不动 */
.btn[disabled], .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* 需要注意的操作（例如提前结束考试） */
.btn-warn {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}
.btn-warn:hover { background: #fde68a; }
