:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --border: #dce4f0;
  --text: #1d2b45;
  --muted: #6b7a94;
  --primary: #2d5bd7;
  --primary-dark: #1f439f;
  --green: #177a55;
  --green-bg: #e4f5ec;
  --amber: #9a6300;
  --amber-bg: #fff3d9;
  --red: #b3261e;
  --red-bg: #fdeaea;
  --shadow: 0 8px 26px rgba(29, 43, 69, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
.hidden { display: none !important; }
.view { display: none; }
.view.active { display: block; }

.login-card { max-width: 520px; margin: 6vh auto 8vh; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 32px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.brand h1 { font-size: 21px; margin: 0; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.brand-mark { width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; flex-shrink: 0; }
.brand-mark.small { width: 34px; height: 34px; border-radius: 9px; font-size: 17px; }
.brand.compact { gap: 10px; }
.brand.compact strong { display: block; font-size: 15px; }
.who { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }

h2 { font-size: 18px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 0 0 8px; }
.hint { color: var(--muted); font-size: 12px; margin: 8px 0 12px; }
.period-line { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; padding: 7px 12px; border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: 13px; border-left: 3px solid var(--primary); }
.period-line b { color: var(--primary); font-size: 14px; letter-spacing: 0.2px; }
.export-box { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 4px 0 6px; padding: 12px 14px; border-radius: 10px; background: var(--surface-soft); }
.export-box a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; white-space: nowrap; }
.export-box a.btn.primary { color: #fff; }
.export-meta { color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
input, textarea, select { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--text); background: #fff; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45, 91, 215, 0.12); }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; }
.btn { border: 1px solid transparent; border-radius: 8px; padding: 9px 15px; font: inherit; font-size: 14px; cursor: pointer; transition: 0.15s; white-space: nowrap; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { background: #fff; color: var(--primary); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--primary); }
.btn.block { width: 100%; margin-top: 6px; }
.btn.sm { padding: 6px 11px; font-size: 12px; }
.btn.danger { background: var(--red); color: #fff; }
.btn.danger:hover { background: #8e1d17; }
.btn.danger-link { background: #fff; color: var(--red); border-color: #f0c9c6; }
.btn.danger-link:hover { border-color: var(--red); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.hint.center { text-align: center; margin: 10px 0 4px; }
.hint.center.sub { margin: 2px 0 4px; opacity: 0.85; }
.phone-panel { margin-top: 6px; }
.field-error { color: var(--red); font-size: 12px; margin: -8px 0 12px; }
.msg { border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.msg.error { background: var(--red-bg); color: var(--red); }
.msg.warn { background: var(--amber-bg); color: var(--amber); }
.msg.ok { background: var(--green-bg); color: var(--green); }
.rule-box { margin-top: 22px; background: var(--surface-soft); border-radius: 10px; padding: 14px 16px; }
.rule-box ul { margin: 0; padding-left: 18px; font-size: 12px; color: var(--muted); }
.rule-box li { margin: 4px 0; }
.divider { border-top: 1px solid var(--border); margin: 22px 0 18px; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.tabs.small { margin-bottom: 18px; }
.tab { border: 0; background: transparent; color: var(--muted); padding: 10px 16px; font: inherit; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tabs.small .tab { padding: 7px 12px; font-size: 13px; }
.inline-tabs { border: 0; margin: 0; gap: 2px; }

/* 审核队列头部：标签与「一键通过全部」并排，窄屏自动换行 */
#admin-sec-review .panel-head > .row-actions { justify-content: flex-end; }
#approveAllBtn { flex: 0 0 auto; white-space: nowrap; }

.topbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.badge { background: var(--surface-soft); color: var(--primary); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; }
.container { max-width: 1120px; margin: 0 auto; padding: 22px 20px 60px; }
.panel { display: none; }
.panel.active { display: block; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.two.solo { grid-template-columns: 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; }
.grid.tight { gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; min-width: 0; }
.card.soft { background: var(--surface-soft); }
.stat-card { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.stat-card strong { font-size: 30px; color: var(--text); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.state-line { border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; background: var(--surface-soft); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.stat { background: #fff; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.stat span { font-size: 12px; color: var(--muted); }
.stat strong { font-size: 26px; }
.rank-strip { display: flex; gap: 12px; }
.rank-strip > div { flex: 1; background: #fff; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; }
.rank-strip span { font-size: 12px; color: var(--muted); }
.rank-strip strong { font-size: 22px; color: var(--primary); }
.my-rank-box { background: #fff; border-radius: 12px; padding: 30px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.my-rank-box strong { font-size: 54px; color: var(--primary); line-height: 1; }
.my-rank-box span { font-size: 13px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.table-wrap table.data-table { min-width: 760px; }
#admin-sec-review .table-wrap table.data-table { min-width: 940px; }
.table-wrap table.data-table.short { min-width: 620px; }
.table-wrap table.data-table.students-table { min-width: 1040px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
td.empty { text-align: center; color: var(--muted); padding: 28px 0; }
.badge-status { display: inline-block; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-status.pending { background: var(--amber-bg); color: var(--amber); }
.badge-status.approved { background: var(--green-bg); color: var(--green); }
.badge-status.rejected { background: var(--red-bg); color: var(--red); }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.edit-history { background: var(--surface-soft); border-radius: 8px; padding: 10px 12px; font-size: 12px; color: var(--muted); line-height: 1.7; margin: 2px 0 12px; }
.edit-history b { color: var(--text); }
.review-input { width: 104px; padding: 6px 8px; font-size: 12px; flex-shrink: 0; }
.resubmit-card { margin-top: 18px; }
.date-chip { background: var(--surface-soft); border-radius: 6px; padding: 2px 10px; font-size: 13px; font-weight: 600; color: var(--primary); }
.note-cell { max-width: 220px; word-break: break-word; }


/* 管理后台：学员档案 / 管理员名单 */
.checkline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); margin: 4px 0 14px; }
.checkline input { width: 16px; height: 16px; flex: 0 0 auto; }
.invite-form { margin-bottom: 12px; }
.invite-form input[type=number] { max-width: 110px; flex: 0 0 auto; }
.plain-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; }
.plain-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); color: var(--muted); }
.plain-list li b { color: var(--text); font-weight: 600; }
.code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; font-size: 12px; letter-spacing: 0.5px; }
.badge.super { background: var(--amber-bg); color: var(--amber); }
.badge.muted { background: var(--surface-soft); color: var(--muted); }
.tag-self { color: var(--muted); font-size: 12px; margin-left: 6px; }
.cell-hidden { display: inline-block; color: var(--muted); background: var(--surface-soft); border: 1px dashed var(--border); border-radius: 6px; padding: 1px 8px; font-size: 12px; letter-spacing: 0.5px; }
.student-name-cell { white-space: nowrap; }
#adminTabs { margin-bottom: 16px; }
#pendingPhoneWrap { margin-top: 18px; }
#pendingPhoneWrap h3 { margin: 0 0 4px; }

@media (max-width: 820px) {
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
  .grid.three .card { padding: 12px 10px; }
  .grid.three .stat-card strong { font-size: 22px; }
  .login-card { margin: 2.5vh 12px 6vh; padding: 20px; border-radius: 12px; }
  .container { padding: 14px 12px calc(48px + env(safe-area-inset-bottom)); }
  .topbar-inner { padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .top-actions { gap: 8px; }
  .brand h1 { font-size: 18px; }
  .card { padding: 16px; border-radius: 12px; }
  input, textarea { font-size: 16px; } /* 避免 iOS 聚焦时页面放大 */
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 16px; }
  .tab { white-space: nowrap; padding: 10px 13px; }
  table { font-size: 12px; }
  th, td { padding: 8px 6px; }
  .stat-grid { gap: 8px; margin: 12px 0; }
  .stat { padding: 11px; }
  .stat strong { font-size: 20px; }
  .rank-strip strong { font-size: 19px; }
  .my-rank-box { padding: 22px; }
  .my-rank-box strong { font-size: 44px; }
  .rule-box { padding: 12px 14px; }
  .inline .btn { padding: 9px 10px; }
  .review-input { width: 92px; }
  .note-cell { max-width: 150px; }
  .panel-head { gap: 8px; }
}

/* 删除确认弹层 */
.modal-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15, 23, 42, 0.45); display: flex; align-items: center; justify-content: center; padding: 18px; z-index: 60; }
.modal-box { background: var(--surface); border-radius: 14px; box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28); padding: 22px; width: 100%; max-width: 430px; max-height: 86vh; overflow-y: auto; }
.modal-box h3 { margin: 0 0 8px; font-size: 17px; }
.modal-text { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: var(--text); }
.modal-box .row-actions { margin-top: 4px; }
@media (max-width: 560px) {
  #admin-sec-review .panel-head > .row-actions { width: 100%; justify-content: space-between; }
  #admin-sec-review .panel-head .row-actions .tabs { margin-bottom: 0; }
}

@media (max-width: 820px) {
  .modal-box { padding: 18px; }
  .modal-box .row-actions { flex-direction: column-reverse; align-items: stretch; }
  .modal-box .row-actions .btn { width: 100%; }
}

/* ============================================================
   手机端适配（≤640px）
   1 顶部栏吸顶并压缩
   2 主导航改为底部标签栏
   3 多列表格改为紧凑单行列表（一条一条，不用大卡片）
   4 弹层改为底部抽屉
   ============================================================ */
@media (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: clip; }

  /* ---------- 顶部栏 ---------- */
  .topbar { position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(29, 43, 69, 0.07); }
  .topbar-inner { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }
  .brand.compact { gap: 8px; min-width: 0; flex: 1 1 auto; }
  .brand-mark.small { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
  .brand.compact strong { font-size: 14px; }
  .brand.compact strong, .brand.compact .who {
    display: block; max-width: 42vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .brand.compact .who { font-size: 11px; }
  .top-actions { gap: 6px; flex-shrink: 0; }
  .top-actions .badge { padding: 3px 8px; font-size: 11px; }
  .top-actions .btn.sm { padding: 6px 9px; font-size: 12px; min-height: 32px; }
  #roleBadge { display: none; }
  #profileBtn, #logoutBtn { font-size: 0; padding: 7px 11px; }
  #profileBtn::after { content: "资料"; font-size: 12px; }
  #logoutBtn::after { content: "退出"; font-size: 12px; }

  /* ---------- 主容器与标题 ---------- */
  .container { padding: 12px 12px calc(86px + env(safe-area-inset-bottom)); }
  .card { padding: 14px; border-radius: 12px; }
  .panel-head { gap: 8px; margin-bottom: 8px; }
  h2 { font-size: 16px; }
  h3 { font-size: 13.5px; }
  .hint { font-size: 11.5px; line-height: 1.65; }
  .period-line { font-size: 12px; padding: 6px 10px; }
  .period-line b { font-size: 12.5px; }

  /* ---------- 底部标签栏 ---------- */
  .container > .tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    margin: 0; padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border); border-bottom: 0;
    display: flex; gap: 4px; flex-wrap: nowrap; overflow: visible;
    box-shadow: 0 -6px 20px rgba(29, 43, 69, 0.07);
  }
  .container > .tabs .tab {
    flex: 1 1 0; min-width: 0; border: 0; border-radius: 10px;
    padding: 10px 2px; font-size: 12.5px; white-space: nowrap; color: var(--muted); min-height: 44px;
  }
  .container > .tabs .tab.active { background: var(--surface-soft); color: var(--primary); font-weight: 600; }

  /* 管理后台二级标签：等分不横滚 */
  #adminTabs {
    display: flex; flex-wrap: nowrap; overflow: visible;
    gap: 4px; margin-bottom: 12px; border-bottom: 1px solid var(--border);
  }
  #adminTabs .tab { flex: 1 1 0; min-width: 0; padding: 9px 2px; font-size: 12.5px; white-space: nowrap; }

  /* ---------- 表单与按钮 ---------- */
  select { font-size: 16px; }
  .btn { min-height: 42px; }
  .btn:active, .container > .tabs .tab:active { opacity: 0.82; }
  .btn.sm { min-height: 34px; }
  .btn.block { padding: 12px 15px; font-size: 15px; }
  .inline { gap: 6px; align-items: center; }
  .inline .btn { flex: 0 0 auto; min-height: 42px; min-width: 64px; justify-content: center; }
  #panel-entry .grid.two.tight, #resubmitCard .grid.two.tight { grid-template-columns: 1fr 1fr; gap: 10px; }
  .checkline { font-size: 12.5px; }
  #studentSearch { min-width: 0; }
  .panel-head > .inline { flex: 1 1 100%; }
  .invite-form { flex-wrap: wrap; }
  .invite-form input[type=number] { max-width: 92px; }

  /* ---------- 表格：紧凑单行列表（一条一条，不再是大卡片） ---------- */
  .table-wrap { overflow: visible; border-radius: 10px; }
  table.m-cards { display: block; width: 100%; min-width: 0 !important; font-size: 13px; }
  table.m-cards thead { display: none; }
  table.m-cards tbody { display: block; }
  table.m-cards tr {
    display: flex; flex-wrap: wrap; align-items: baseline;
    gap: 0 10px; padding: 6px 8px;
    background: none; border: 0; border-bottom: 1px solid var(--border);
    border-radius: 0; margin: 0;
  }
  table.m-cards tr:last-child { border-bottom: 0; }
  table.m-cards tr:nth-child(even) { background: rgba(29, 43, 69, 0.022); }
  table.m-cards td {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px;
    border: 0; padding: 0; margin: 0; text-align: left; word-break: break-word;
    font-size: 12px; line-height: 1.65;
  }
  table.m-cards td::before {
    content: attr(data-label);
    flex: 0 0 auto; color: var(--muted); font-size: 10px; line-height: 1.65;
  }
  table.m-cards td:not([data-label])::before,
  table.m-cards td[data-label=""]::before { display: none; }
  table.m-cards td:first-child { font-weight: 600; font-size: 13px; }
  table.m-cards td.empty {
    display: block; width: 100%; text-align: center; color: var(--muted); padding: 16px 0;
  }
  table.m-cards td.empty::before { display: none; }
  table.m-cards .note-cell { max-width: none; }
  table.m-cards .review-input { flex: 1 1 100%; width: 100%; margin-top: 4px; }
  table.m-cards td.cell-actions {
    flex: 1 1 100%; justify-content: flex-end; gap: 6px; margin-top: 4px;
  }
  table.m-cards td.cell-actions::before { display: none; }
  table.m-cards td.cell-actions .row-actions {
    width: 100%; justify-content: flex-end; gap: 5px; flex-wrap: wrap;
  }
  table.m-cards td.cell-actions .btn {
    min-height: 30px; font-size: 11.5px; padding: 4px 8px; flex: 0 0 auto;
  }

  /* ---------- 弹层改底部抽屉 ---------- */
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal-box {
    max-width: none; width: 100%; max-height: 90vh;
    border-radius: 18px 18px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.24);
  }
  .modal-box::before {
    content: ""; display: block; width: 40px; height: 4px; border-radius: 999px;
    background: var(--border); margin: -6px auto 12px;
  }
  .modal-box h3 { font-size: 16px; }
  .modal-text { font-size: 13.5px; }

  /* ---------- 登录 / 资料页 ---------- */
  .login-card {
    max-width: none; margin: 0; min-height: 100dvh;
    border: 0; border-radius: 0; box-shadow: none;
    padding: 22px 16px calc(32px + env(safe-area-inset-bottom));
  }
  .brand { gap: 12px; margin-bottom: 18px; }
  .brand-mark { width: 42px; height: 42px; font-size: 18px; border-radius: 11px; }
  .brand h1 { font-size: 18px; line-height: 1.35; }
  .brand p { font-size: 12px; }
  .login-card h2 { font-size: 18px; }
  .rule-box { margin-top: 18px; }

  /* ---------- 数据展示微调 ---------- */
  .grid.three { gap: 6px; }
  .grid.three .card { padding: 11px 9px; }
  .grid.three .stat-card { font-size: 11.5px; }
  .grid.three .stat-card strong { font-size: 21px; }
  .stat-grid { gap: 8px; margin: 12px 0; }
  .stat { padding: 11px 12px; }
  .stat span { font-size: 11.5px; }
  .stat strong { font-size: 21px; }
  .rank-strip { gap: 8px; }
  .rank-strip strong { font-size: 19px; }
  .my-rank-box { padding: 20px; }
  .my-rank-box strong { font-size: 46px; }
  .code-chip { word-break: break-all; }
  .plain-list li { font-size: 12.5px; }
}


/* ---------- 头像 ---------- */
.avatar-mark { border: 0; padding: 0; cursor: pointer; overflow: hidden; background: var(--primary); }
.avatar-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-mark > span { line-height: 1; }

.avatar-row { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; }
.avatar-big {
  position: relative; width: 72px; height: 72px; flex: 0 0 auto;
  border-radius: 50%; border: 2px solid var(--border); padding: 0;
  background: var(--surface-soft); color: var(--muted);
  display: grid; place-items: center; font-size: 24px; font-weight: 700;
  cursor: pointer; overflow: hidden;
}
.avatar-big img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar-big.busy { opacity: 0.6; pointer-events: none; }
.avatar-cam {
  position: absolute; right: 0; bottom: 0; width: 24px; height: 24px;
  border-radius: 50%; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  border: 2px solid var(--surface); line-height: 1;
}
.avatar-side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.avatar-side b { font-size: 13px; color: var(--text); }
.link-btn { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--primary); font-size: 12px; cursor: pointer; }

.mini-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
  background: var(--surface-soft); color: var(--muted);
  font-size: 11px; font-weight: 600; flex: 0 0 auto;
  vertical-align: -6px; margin-right: 6px; border: 1px solid var(--border);
}
.mini-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
td.name-cell { white-space: nowrap; }
.name-text { vertical-align: middle; }

@media (max-width: 640px) {
  .avatar-row { gap: 12px; margin: 4px 0 14px; }
  .avatar-big { width: 62px; height: 62px; font-size: 21px; }
  .avatar-side { font-size: 11.5px; }
  .mini-avatar { width: 20px; height: 20px; font-size: 10px; margin-right: 5px; }
}

/* ---------- 考试年份 / 科类 ---------- */
.field-tip { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
