:root {
  --bg: #f4f6fa;
  --panel: #ffffff;
  --line: #e6eaf0;
  --text: #1f2733;
  --muted: #7a8699;
  --brand: #2f6bff;
  --brand-soft: #eaf0ff;
  --green: #16a06a;
  --red: #e0453b;
  --orange: #e28a1c;
  --shadow: 0 2px 12px rgba(31, 39, 51, .06);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.hidden { display: none !important; }
a { cursor: pointer; }

/* 登录 */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef3ff 0%, #f7f9fc 55%, #eaf6f2 100%); padding: 24px; }
.login-card { width: 420px; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 20px 60px rgba(47, 107, 255, .10); }
.login-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }
.login-brand h1 { font-size: 20px; margin: 0 0 2px; }
.login-brand p { margin: 0; color: var(--muted); font-size: 12px; }
.logo { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #2f6bff, #5d8dff); color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.logo.small { width: 32px; height: 32px; font-size: 16px; border-radius: 9px; }
label { display: block; font-size: 13px; color: #4b5666; margin: 14px 0 6px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font: inherit; color: var(--text); background: #fff; outline: none; transition: border .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,107,255,.10); }
textarea { min-height: 78px; resize: vertical; }
input[type=checkbox] { width: auto; margin-right: 6px; accent-color: var(--brand); }
.form-error { color: var(--red); font-size: 12px; min-height: 20px; padding-top: 6px; }
.login-tip { margin-top: 18px; font-size: 11px; color: var(--muted); line-height: 1.8; border-top: 1px dashed var(--line); padding-top: 14px; }

/* 布局 */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 218px; flex: none; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side-brand { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 20px 18px; border-bottom: 1px solid var(--line); }
.sidebar nav { padding: 12px 10px; flex: 1; overflow: auto; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; color: #5a6678; margin-bottom: 3px; font-size: 13.5px; }
.sidebar nav a i { font-style: normal; width: 18px; text-align: center; opacity: .8; }
.sidebar nav a:hover { background: #f4f7ff; color: var(--brand); }
.sidebar nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side-foot { padding: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.side-foot #whoami { margin-bottom: 10px; word-break: break-all; }
.main { flex: 1; min-width: 0; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 26px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 5; }
.topbar h2 { margin: 0; font-size: 18px; }
.topbar p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.clock { color: var(--muted); font-size: 12px; }
.content { padding: 22px 26px 50px; }

/* 组件 */
.btn { border: 1px solid var(--line); background: #fff; color: #445064; padding: 8px 14px; border-radius: 8px; font: inherit; font-size: 13px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn.primary:hover { background: #245ae0; color: #fff; }
.btn.danger { color: var(--red); border-color: #f3cfcc; }
.btn.danger:hover { background: #fff2f1; border-color: var(--red); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 4px 9px; font-size: 12px; border-radius: 6px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.card h3 { margin: 0 0 14px; font-size: 15px; }
.card h3 small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.toolbar input, .toolbar select { width: auto; min-width: 130px; }
.toolbar input[type=search] { min-width: 190px; }
.grid { display: grid; gap: 14px; }
.grid.kpi { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.kpi .box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .label { color: var(--muted); font-size: 12px; }
.kpi .num { font-size: 26px; font-weight: 700; margin-top: 5px; letter-spacing: -.5px; }
.kpi .num.blue { color: var(--brand); } .kpi .num.green { color: var(--green); } .kpi .num.orange { color: var(--orange); } .kpi .num.red { color: var(--red); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 12px; background: #fafbfd; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fafcff; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; background: #eef2f8; color: #5c6b80; margin: 1px 3px 1px 0; }
.tag.blue { background: var(--brand-soft); color: var(--brand); }
.tag.green { background: #e7f7f0; color: var(--green); }
.tag.red { background: #fdecea; color: var(--red); }
.tag.orange { background: #fff2e3; color: var(--orange); }
/* 学员明细：课程进度双行表头、细进度条、详情弹窗 */
.stats-table-wrap { overflow-x: auto; }
.stats-table { min-width: 1060px; }
.stats-table thead tr:first-child th { border-bottom: 1px solid var(--line); }
.stats-table th.group-head { text-align: center; background: #f2f6ff; color: var(--brand); font-weight: 600; }
.progress-cell { min-width: 96px; }
.progress-num { white-space: nowrap; }
.mini-track { height: 5px; background: #eef2f8; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.mini-fill { height: 100%; background: linear-gradient(90deg, #2f6bff, #6f9bff); border-radius: 4px; }
.progress-detail { min-width: 520px; }
.progress-detail .sum-row { background: #fafbfd; }
/* 查看详情：分题型题号（绿=答对 / 红=答错 / 灰=未答 / 橙=待批阅）与模拟测试成绩 */
.detail-meta { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.detail-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 12px; margin-bottom: 14px; }
.detail-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.qnum {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 28px; padding: 0 6px; border-radius: 6px;
  font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-style: normal;
  font-weight: 600; line-height: 1; cursor: default; border: 1px solid transparent;
}
.qnum.correct { background: #e7f7f0; color: #16724f; border-color: #bfe8d4; }
.qnum.wrong { background: #fdecea; color: #a5342d; border-color: #f4cfcb; }
.qnum.unanswered { background: #f1f4f8; color: #8b95a5; border-color: #e3e8ef; }
.qnum.pending { background: #fff2e3; color: #a56a10; border-color: #f6dcb6; }
.qnum-groups { max-height: 46vh; overflow-y: auto; padding-right: 6px; }
.qnum-group { margin-bottom: 16px; }
.qnum-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.qnum-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-title { margin: 18px 0 10px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.detail-title small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 8px; }
.exam-score-table { min-width: 620px; }
.exam-score-table th, .exam-score-table td { padding: 8px 10px; }
.exam-score { color: var(--brand); font-size: 15px; }
.empty { text-align: center; color: var(--muted); padding: 34px 0; font-size: 13px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.row-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.bar-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 12px; }
.bar-row .bar-label { width: 150px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4b5666; }
.bar-track { flex: 1; background: #f0f3f8; border-radius: 6px; height: 12px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, #2f6bff, #6f9bff); border-radius: 6px; }
.bar-row .bar-value { width: 74px; text-align: right; color: var(--muted); flex: none; }
.tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 8px 14px; color: var(--muted); font-size: 13px; border-bottom: 2px solid transparent; }
.tabs a.active { color: var(--brand); border-color: var(--brand); font-weight: 600; }
.checkline { display: flex; flex-wrap: wrap; gap: 12px; padding: 6px 0; }
.checkline label { margin: 0; display: flex; align-items: center; font-size: 13px; cursor: pointer; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 12px; font-size: 12px; color: var(--muted); }
.notice { background: #fff9ec; border: 1px solid #f6e2b8; color: #8a6713; padding: 10px 13px; border-radius: 9px; font-size: 12px; margin-bottom: 14px; line-height: 1.7; }
.notice.blue { background: #eff5ff; border-color: #cfe0ff; color: #2c539c; }
.notice.danger { background: #fff2f0; border-color: #f2c6c1; color: #a5342d; }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(20, 28, 42, .45); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 14px; width: 560px; max-width: 100%; max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.modal.wide { width: 760px; }
.modal-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-head h3 { margin: 0; font-size: 16px; }
.icon-btn { border: none; background: transparent; font-size: 17px; color: var(--muted); cursor: pointer; }
.modal-body { padding: 18px 20px; overflow: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.toast { position: fixed; right: 24px; bottom: 24px; background: #202938; color: #fff; padding: 11px 18px; border-radius: 9px; z-index: 100; box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: 13px; }
.result-ok { background: #eefaf4; border: 1px solid #c7ecd9; color: #16724f; padding: 11px 13px; border-radius: 8px; margin-top: 12px; font-size: 12px; }
.result-err { background: #fff3f2; border: 1px solid #f4cfcb; color: #a5342d; padding: 11px 13px; border-radius: 8px; margin-top: 12px; font-size: 12px; max-height: 180px; overflow: auto; }

/* 管理员管理与模块权限 */
.side-foot .btn + .btn { margin-top: 6px; }
.content.readonly .btn.primary,
.content.readonly .btn.danger { opacity: .45; pointer-events: none; }
.perm-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 4px; }
.perm-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 7px 9px; border-bottom: 1px solid var(--line); }
.perm-table td { padding: 7px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.perm-table tr:last-child td { border-bottom: none; }
.perm-table select { width: 140px; padding: 6px 8px; font-size: 12px; }

/* 试题管理：整页不出现纵向滚动条，只有试题列表区域自己滚动 */
/* body.q-layout 由 app.js 在切换到「试题管理」时加上，离开视图/退出登录时移除 */
body.q-layout { height: 100vh; overflow: hidden; }
body.q-layout .app { height: 100vh; min-height: 0; }
body.q-layout .main { height: 100vh; min-height: 0; display: flex; flex-direction: column; }
body.q-layout .topbar { flex: none; position: static; }
body.q-layout .content {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  overflow: hidden; padding-bottom: 18px;
}
body.q-layout .content > .notice { flex: none; }            /* 只读模式提示 */
.q-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.q-view > .tabs { flex: none; }
.q-view > .card.q-card {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  margin-bottom: 0; padding: 16px 18px 12px;
}
.q-view .toolbar { flex: none; }
.q-table-wrap {
  flex: 1; min-height: 0; overflow: auto;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
  scrollbar-width: thin; scrollbar-color: #c7d1e0 #f7f9fc;
}
.q-table-wrap table { border-collapse: separate; border-spacing: 0; }
.q-table-wrap thead th {
  position: sticky; top: 0; z-index: 2; background: #fafbfd;
  box-shadow: inset 0 -1px 0 var(--line);
}
.q-table-wrap tbody tr:last-child td { border-bottom: none; }
.q-view .pager { flex: none; margin-top: 10px; }
.q-table-wrap::-webkit-scrollbar { width: 10px; height: 10px; }
.q-table-wrap::-webkit-scrollbar-track { background: #f7f9fc; }
.q-table-wrap::-webkit-scrollbar-thumb { background: #c7d1e0; border: 2px solid #f7f9fc; border-radius: 8px; }
.q-table-wrap::-webkit-scrollbar-thumb:hover { background: #a8b8cf; }

@media (max-width: 900px) {
  .sidebar { width: 64px; }
  .side-brand span:not(.logo), .sidebar nav a { font-size: 0; }
  .sidebar nav a i { font-size: 16px; }
  .side-foot { font-size: 0; }
  .content { padding: 16px; }
  body.q-layout .content { padding-bottom: 12px; }
  .q-view > .card.q-card { padding: 12px 12px 10px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================= 数据概览（重做版） ============================= */
.ov-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 26px 30px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff;
  background:
    radial-gradient(900px 260px at 88% -30%, rgba(126, 242, 192, .32), transparent 62%),
    radial-gradient(700px 300px at 4% 120%, rgba(88, 204, 255, .28), transparent 60%),
    linear-gradient(135deg, #16224a 0%, #26418f 48%, #4b2ea8 100%);
  box-shadow: 0 18px 42px rgba(28, 44, 110, .26);
}
.ov-hero:after {
  content: ""; position: absolute; right: -70px; bottom: -130px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 160, 255, .35), transparent 66%);
}
.ov-hero-copy { position: relative; z-index: 1; min-width: 0; }
.ov-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .3px;
  padding: 4px 11px; border-radius: 20px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .26);
}
.ov-chip:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7ef2c0; box-shadow: 0 0 0 4px rgba(126, 242, 192, .22); }
.ov-hero h1 { margin: 12px 0 6px; font-size: 27px; letter-spacing: .5px; }
.ov-hero p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 13px; }
.ov-hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ov-btn {
  border: 1px solid rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .14); color: #fff;
  border-radius: 9px; padding: 7px 15px; font: inherit; font-size: 12.5px; cursor: pointer; transition: .18s;
}
.ov-btn:hover { background: #fff; color: #26418f; border-color: #fff; }
.ov-stamp { font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.ov-hero-ring {
  --p: 0; position: relative; z-index: 1; flex: none; width: 134px; height: 134px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: conic-gradient(#7ef2c0 calc(var(--p) * 1%), rgba(255, 255, 255, .16) 0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.ov-ring-inner { width: 106px; height: 106px; border-radius: 50%; background: #1b2a5c; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ov-ring-inner b { font-size: 27px; letter-spacing: -.5px; }
.ov-ring-inner span { font-size: 11px; color: rgba(255, 255, 255, .68); }

.ov-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 14px; margin-bottom: 18px; }
.ov-tile {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px 14px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.ov-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 51, 110, .12); }
.ov-tile:before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #2f6bff, #7aa2ff); }
.ov-tile.t-violet:before { background: linear-gradient(90deg, #7a4bff, #b18cff); }
.ov-tile.t-teal:before { background: linear-gradient(90deg, #0f9f8f, #4fd6c0); }
.ov-tile.t-amber:before { background: linear-gradient(90deg, #e28a1c, #ffc46b); }
.ov-tile.t-rose:before { background: linear-gradient(90deg, #e0453b, #ff8a7a); }
.ov-tile.t-slate:before { background: linear-gradient(90deg, #5a6678, #9aa7b8); }
.ov-tile-top { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.ov-tile-ico {
  width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #2f6bff, #6f9bff);
}
.t-violet .ov-tile-ico { background: linear-gradient(135deg, #7a4bff, #b18cff); }
.t-teal .ov-tile-ico { background: linear-gradient(135deg, #0f9f8f, #4fd6c0); }
.t-amber .ov-tile-ico { background: linear-gradient(135deg, #e28a1c, #ffc46b); }
.t-rose .ov-tile-ico { background: linear-gradient(135deg, #e0453b, #ff8a7a); }
.t-slate .ov-tile-ico { background: linear-gradient(135deg, #5a6678, #9aa7b8); }
.ov-tile-num { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin: 7px 0 2px; color: #1b2536; line-height: 1.1; }
.ov-tile-sub { font-size: 11.5px; color: var(--muted); }

.ov-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 18px; }
.ov-panel.tight { padding: 18px 20px; }
.ov-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ov-panel-head h3 { margin: 0; font-size: 16px; }
.ov-panel-head small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 3px; }

.ov-seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: #f2f5fb; flex: none; }
.ov-seg button { border: 0; background: transparent; color: #5a6678; font: inherit; font-size: 12.5px; padding: 6px 14px; border-radius: 9px; cursor: pointer; transition: .15s; }
.ov-seg button:hover { color: var(--brand); }
.ov-seg button.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 2px 8px rgba(47, 107, 255, .18); }

.ov-range-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.ov-meta-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: #f6f8fd; border: 1px solid #e8eefb; font-size: 12px; color: #5a6678; }
.ov-meta-chip i { font-style: normal; color: var(--muted); }
.ov-meta-chip b { color: #1b2536; }
.ov-meta-note { font-size: 11px; color: var(--muted); }

.ov-ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ov-rank { border: 1px solid #eef1f7; border-radius: 14px; padding: 14px 14px 8px; background: linear-gradient(180deg, #fbfcff, #fff); }
.ov-rank-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ov-rank-ico { width: 30px; height: 30px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.ov-rank-ico.blue { background: linear-gradient(135deg, #2f6bff, #7aa2ff); }
.ov-rank-ico.green { background: linear-gradient(135deg, #0f9f6a, #5fd7a8); }
.ov-rank-ico.amber { background: linear-gradient(135deg, #e28a1c, #ffc46b); }
.ov-rank-head b { display: block; font-size: 13.5px; }
.ov-rank-head small { color: var(--muted); font-size: 11px; }
.ov-rank-list { max-height: 336px; overflow: auto; padding-right: 4px; }
.ov-rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px dashed #eef1f7; }
.ov-rank-row:last-child { border-bottom: 0; }
.ov-rank-no { width: 24px; height: 24px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 700; color: #6b7788; background: #f1f4fa; }
.ov-rank-no.r1 { background: linear-gradient(135deg, #ffd76e, #f0a819); color: #5a3a00; box-shadow: 0 4px 10px rgba(240, 168, 25, .35); }
.ov-rank-no.r2 { background: linear-gradient(135deg, #e3ebf7, #b9c6d8); color: #445064; }
.ov-rank-no.r3 { background: linear-gradient(135deg, #ffcfa8, #e59a63); color: #5c3113; }
.ov-rank-info { flex: 1; min-width: 0; }
.ov-rank-name { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; color: #1f2733; }
.ov-rank-sub { font-weight: 400; font-size: 11px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.ov-rank-bar { height: 6px; margin: 6px 0 3px; background: #f0f3f9; border-radius: 4px; overflow: hidden; }
.ov-rank-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #2f6bff, #7aa2ff); transition: width .35s; }
.ov-rank-sub2 { font-size: 11px; color: var(--muted); }
.ov-rank-val { flex: none; font-size: 18px; font-weight: 800; color: #1b2536; letter-spacing: -.5px; }
.ov-rank-val span { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.ov-rank-empty { padding: 30px 8px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.9; }

.ov-fresh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; }
.ov-fresh { border: 1px solid #eef1f7; border-radius: 14px; padding: 14px; background: linear-gradient(180deg, #fbfcff, #fff); }
.ov-fresh-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.ov-fresh-ico { width: 22px; height: 22px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: #eaf0ff; color: #2f6bff; }
.tone-violet .ov-fresh-ico { background: #f1ecff; color: #7a4bff; }
.tone-teal .ov-fresh-ico { background: #e6faf5; color: #0f9f8f; }
.tone-amber .ov-fresh-ico { background: #fff3e2; color: #e28a1c; }
.ov-fresh-nums { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 10px 0 8px; }
.ov-fresh-today b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -1px; color: #1b2536; line-height: 1; }
.ov-fresh-today span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.ov-fresh-side { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--muted); text-align: right; }
.ov-fresh-side b { color: #1f2733; }
.ov-fresh-list { border-top: 1px dashed #eef1f7; padding-top: 8px; }
.ov-fresh-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 12px; border-bottom: 1px dashed #f2f5fa; }
.ov-fresh-item:last-child { border-bottom: 0; }
.ov-fi-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #39434f; }
.ov-fi-tag { margin-left: 6px; font-size: 10.5px; color: #6b7788; background: #f2f5fa; border-radius: 6px; padding: 1px 6px; }
.ov-fi-type { margin-right: 5px; font-size: 10.5px; color: var(--brand); background: #eef4ff; border-radius: 6px; padding: 1px 6px; }
.ov-fi-time { flex: none; font-size: 11px; color: var(--muted); }
.ov-fresh-empty { padding: 14px 0; text-align: center; color: var(--muted); font-size: 11.5px; }

@media (max-width: 760px) {
  .ov-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .ov-hero-ring { align-self: center; }
  .ov-panel-head { flex-direction: column; }
  .ov-tile-num { font-size: 26px; }
}
