/* ===== 全局样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #ffffff;
  --text: #222;
  --muted: #888;
  --primary: #ff8fab;
  --primary-dark: #ff6b95;
  --accent: #a8e6cf;
  --border: #eee;
  --card-bg: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 14px;
  --rest: #fff5f8;
  --work: #ffffff;
  --study-side: #f0f4ff;
  --study-side-active: #c7d6ff;
}
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; border: none; }
input, select { font-family: inherit; }
.hidden { display: none; }

/* ===== 顶部导航 ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.brand { font-size: 1.3rem; font-weight: 700; }
.main-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-btn {
  padding: 8px 18px; border-radius: 20px;
  background: #f5f5f5; color: #555; font-size: 0.95rem;
  transition: all 0.25s;
}
.nav-btn.active { background: var(--primary); color: #fff; }

/* ===== 视图切换 ===== */
.view { display: none; padding: 20px; max-width: 1200px; margin: 0 auto; }
.view.active { display: block; }

/* ===== 休息区 ===== */
#view-rest { background: var(--rest); min-height: calc(100vh - 60px); border-radius: 0; }
.sub-nav { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.sub-btn {
  padding: 10px 20px; border-radius: 20px;
  background: #fff; color: #555; font-size: 1rem;
  box-shadow: var(--shadow); transition: all 0.25s;
}
.sub-btn.active { background: var(--primary); color: #fff; transform: scale(1.05); }
.sub-view { display: none; }
.sub-view.active { display: block; }

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 1.2rem; margin-bottom: 12px; }
.card h3 { font-size: 1.05rem; margin: 14px 0 10px; }
.hint { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }

/* 奖励 */
.reward-text {
  font-size: 1.1rem; padding: 16px; background: #fff9f5;
  border-radius: 10px; margin-bottom: 14px; border-left: 4px solid var(--primary);
}
.reward-btns { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
.cute-btn {
  padding: 12px; border-radius: 14px; background: #fff;
  box-shadow: var(--shadow); font-size: 0.95rem;
  transition: all 0.2s;
}
.cute-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,143,171,0.3); }
.reward-log { margin-top: 16px; }
.reward-log ul { list-style: none; }
.reward-log li { padding: 6px 0; border-bottom: 1px dashed #eee; font-size: 0.9rem; }

/* 输入行 */
.input-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.input-row input, .input-row select {
  flex: 1; min-width: 120px; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 10px; font-size: 0.95rem;
}
.primary-btn {
  padding: 10px 22px; background: var(--primary); color: #fff;
  border-radius: 10px; font-size: 0.95rem; transition: background 0.2s;
}
.primary-btn:hover { background: var(--primary-dark); }
.danger-btn {
  padding: 10px 22px; background: #999; color: #fff;
  border-radius: 10px; font-size: 0.95rem;
}

/* 菜谱 */
.recipe-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 14px; margin-top: 14px;
}
.recipe-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f0f0f0;
}
.recipe-card img {
  width: 100%; height: 160px; object-fit: cover; background: #f5f5f5;
}
.recipe-card .r-body { padding: 12px; }
.recipe-card h4 { font-size: 1rem; margin-bottom: 6px; }
.recipe-card p { font-size: 0.85rem; color: var(--muted); }
.recipe-card .cal { display: inline-block; margin-top: 6px; font-size: 0.8rem; color: #e67e22; }

/* 外卖 */
.takeout-list { margin-top: 14px; }
.takeout-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px; background: #fafafa; border-radius: 10px; margin-bottom: 8px;
}
.takeout-item .name { font-weight: 600; }
.takeout-item .platforms { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.platform-tag {
  font-size: 0.75rem; padding: 2px 8px; border-radius: 8px; background: #fff;
  border: 1px solid var(--border);
}
.platform-tag.cheap { background: #ffe9e9; color: #e74c3c; font-weight: 600; }

/* 统计 */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap: 12px; margin: 12px 0;
}
.stat-item {
  background: #fafafa; padding: 14px; border-radius: 10px; text-align: center;
}
.stat-label { font-size: 0.8rem; color: var(--muted); }
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--primary-dark); }
.stat-unit { font-size: 0.75rem; color: var(--muted); }
.stat-item input {
  width: 80px; padding: 4px; font-size: 1.2rem; text-align: center;
  border: 1px solid var(--border); border-radius: 8px;
}
.encourage {
  margin-top: 14px; padding: 12px; background: #f0fff4;
  border-radius: 10px; color: #2ecc71; font-weight: 600; text-align: center;
}

/* 记账列表 */
.expense-list { list-style: none; }
.expense-list li {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px solid #f0f0f0; font-size: 0.9rem;
}

/* ===== 工作区 ===== */
#view-work { background: var(--work); }
.work-header { text-align: center; margin-bottom: 20px; }
.work-header h1 { font-size: 1.8rem; }
.work-encourage { color: var(--muted); margin-top: 4px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 16px; }
.work-card { background: #fff; border: 1px solid var(--border); }
.timer-display {
  font-size: 3rem; font-weight: 700; text-align: center;
  font-family: "Courier New", monospace; margin: 16px 0;
}
.timer-btns { display: flex; gap: 10px; justify-content: center; }
.analysis-box { padding: 12px; background: #fafafa; border-radius: 10px; }
.analysis-box p { margin: 6px 0; }
.todo-list { list-style: none; margin-top: 10px; }
.todo-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.todo-list li.done span { text-decoration: line-through; color: var(--muted); }
.todo-list input[type="checkbox"] { width: 18px; height: 18px; }
.todo-list .del { margin-left: auto; color: #ccc; cursor: pointer; }

/* ===== 专升本工作台 ===== */
#view-study { padding: 0; max-width: 100%; }
.study-layout { display: flex; min-height: calc(100vh - 60px); }
.study-sidebar {
  width: 25%; min-width: 200px; background: var(--study-side);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  border-right: 1px solid var(--border);
}
.countdown-box {
  background: #fff; border-radius: 12px; padding: 16px; text-align: center;
  box-shadow: var(--shadow);
}
.countdown-label { font-size: 0.85rem; color: var(--muted); }
.countdown-num { font-size: 2.4rem; font-weight: 800; color: var(--primary-dark); }
.countdown-unit { font-size: 0.9rem; color: var(--muted); }
.subject-nav { display: flex; flex-direction: column; gap: 6px; }
.subject-btn {
  padding: 12px 14px; text-align: left; border-radius: 10px;
  background: transparent; color: #333; font-size: 0.95rem; transition: all 0.2s;
}
.subject-btn.active { background: var(--study-side-active); font-weight: 700; }
.subject-btn:hover:not(.active) { background: #e0e7ff; }

.exam-reminders { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.exam-reminders h3 { font-size: 0.95rem; margin-bottom: 8px; }
.exam-reminders ul { list-style: none; }
.exam-reminders li { font-size: 0.8rem; padding: 6px 0; border-bottom: 1px dashed #eee; }
.exam-reminders li.urgent { color: #e74c3c; font-weight: 600; }

.study-content { flex: 1; padding: 20px; overflow-y: auto; }
.subject-panel { display: none; }
.subject-panel.active { display: block; }
.panel-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.panel-header h2 { font-size: 1.3rem; }
.weak-point { font-size: 0.85rem; color: #e67e22; background: #fff8ed; padding: 4px 10px; border-radius: 8px; }
.question-types { margin-bottom: 16px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list .tag { padding: 5px 12px; background: #eef2ff; border-radius: 16px; font-size: 0.85rem; }
.knowledge-list { display: flex; flex-direction: column; gap: 8px; }
.knowledge-item { padding: 10px; background: #fafafa; border-radius: 8px; font-size: 0.9rem; }
.essay-box, .composition-box { margin: 14px 0; padding: 14px; background: #fafafa; border-radius: 10px; }
.word-list-box { margin-bottom: 14px; }
.word-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 8px; }
.word-item { padding: 8px 12px; background: #f0f7ff; border-radius: 8px; font-size: 0.9rem; }
.word-item .w-en { font-weight: 600; }
.word-item .w-cn { color: var(--muted); font-size: 0.8rem; }

/* 每日题目 */
.daily-quiz { margin-top: 16px; }
.quiz-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; margin-bottom: 12px;
}
.quiz-card .q-title { font-weight: 600; margin-bottom: 10px; }
.quiz-card .opts { display: flex; flex-direction: column; gap: 6px; }
.quiz-card .opts label {
  display: flex; gap: 8px; padding: 8px; border-radius: 6px; cursor: pointer;
}
.quiz-card .opts label:hover { background: #f5f5f5; }
.quiz-card textarea, .quiz-card input[type="text"] {
  width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px;
  margin-top: 6px;
}
.submit-quiz { margin-top: 14px; }

/* 番茄 */
.pomodoro-box { text-align: center; padding: 30px; }
.pomo-timer { font-size: 4rem; font-weight: 700; font-family: "Courier New", monospace; margin: 20px 0; }
.pomo-btns { display: flex; gap: 12px; justify-content: center; }

/* 院校 */
.school-list { display: flex; flex-direction: column; gap: 10px; }
.school-item {
  padding: 14px; background: #fafafa; border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.school-item .s-name { font-weight: 600; }
.school-item .s-gap { color: #e67e22; font-weight: 600; }
.school-item .s-gap.reached { color: #2ecc71; }

/* 弹窗 */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal.hidden { display: none; }
.modal-content {
  background: #fff; border-radius: 14px; padding: 24px; max-width: 500px;
  width: 90%; max-height: 80vh; overflow-y: auto;
}
.modal-content h3 { margin-bottom: 12px; }
.modal-content .q-result { margin-bottom: 12px; padding: 10px; border-radius: 8px; }
.modal-content .q-result.correct { background: #f0fff4; }
.modal-content .q-result.wrong { background: #fff5f5; }
.modal-content .explain { font-size: 0.9rem; color: #555; margin-top: 6px; }

.muted { color: var(--muted); font-size: 0.85rem; }

/* ===== 云同步 ===== */
.cloud-open {
  padding: 8px 14px; border-radius: 20px;
  background: #eef4ff; color: #4a6fa5; font-size: 0.88rem;
}
.cloud-open:hover { background: #e3edff; }
.cloud-panel { max-width: 560px; }
.cloud-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cloud-status { margin: 8px 0 12px; font-size: 0.85rem; padding: 9px 11px; border-radius: 8px; background: #fafafa; }
.cloud-status.ok { background: #f0fff5; color: #2e7d5b; }
.cloud-status.err { background: #fff5f5; color: #c0392b; }
.cloud-status.warn { background: #fffaf0; color: #b3591f; }
.cloud-field { display: block; font-size: 0.85rem; color: #555; margin-bottom: 10px; }
.cloud-field input {
  width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.9rem;
}
.cloud-auto-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #555; margin: 6px 0 12px; }
.cloud-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud-meta { margin-top: 10px; font-size: 0.78rem; }
.backup-box { margin-top: 14px; border-top: 1px dashed #eee; padding-top: 10px; }
.backup-box h4 { margin: 0 0 6px; font-size: 0.9rem; }
.backup-box p { margin: 0 0 8px; font-size: 0.78rem; line-height: 1.6; }
.cloud-help { margin-top: 14px; border-top: 1px dashed #eee; padding-top: 10px; font-size: 0.85rem; }
.cloud-help summary { cursor: pointer; color: #4a6fa5; }
.cloud-help ol { margin: 8px 0 0 18px; line-height: 1.8; color: #555; font-size: 0.84rem; }
.cloud-sql {
  background: #f6f8fa; padding: 10px; border-radius: 8px; margin-top: 10px;
  font-size: 0.76rem; line-height: 1.6; white-space: pre-wrap; overflow-x: auto;
}

/* ===== 删除按钮 / 通用 ===== */
.del-btn {
  background: none; color: #ccc; font-size: 0.9rem;
  padding: 2px 6px; border-radius: 6px; line-height: 1;
}
.del-btn:hover { color: #e74c3c; background: #fff0f0; }
.li-right { display: flex; align-items: center; gap: 8px; }
.danger-text { color: #e74c3c; }

/* ===== 休闲记录 ===== */
.leisure-list { list-style: none; margin-top: 10px; }
.leisure-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #f4f4f4; font-size: 0.9rem;
}
.leisure-list small { display: inline-block; margin-left: 6px; font-size: 0.75rem; }

/* ===== 购物 ===== */
.shop-upload-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
.shop-preview { margin-bottom: 8px; }
.shop-thumb { max-height: 120px; border-radius: 10px; border: 1px solid #eee; }
.shop-result { margin-top: 14px; }
.compare-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  background: #fff8f5; border-radius: 12px; padding: 14px; gap: 12px;
}
.best-price { text-align: right; color: #e0456b; font-weight: 800; font-size: 1.6rem; white-space: nowrap; }
.best-price span { display: block; font-size: 0.7rem; color: #999; font-weight: 400; }
.platform-price-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.platform-price {
  display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.86rem; background: #fff;
}
.platform-price.lowest { border-color: #ffc2cf; background: #fff8fa; }
.pp-name em { font-style: normal; font-size: 0.7rem; background: #ffe3ea; color: #e0456b; padding: 1px 6px; border-radius: 8px; margin-left: 4px; }
.pp-note { color: #888; font-size: 0.8rem; }
.pp-price { color: #e0456b; font-weight: 700; }
.buy-advice { background: #f7fbff; border-radius: 10px; padding: 12px; font-size: 0.86rem; line-height: 1.8; }
.buy-advice p { margin: 4px 0; }
.buy-advice a { color: #e0456b; }

/* 劝退 */
.persuade-result { margin-top: 14px; }
.persuade-card { border: 1px solid #f0e7ff; background: #fbf8ff; border-radius: 12px; padding: 16px; }
.persuade-card.saved-card { background: #f3fff7; border-color: #d6f0df; }
.persuade-top { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.persuade-top span { color: #e0456b; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pc-col { background: #fff; border-radius: 10px; padding: 12px; font-size: 0.84rem; }
.pc-col h4 { font-size: 0.88rem; margin-bottom: 6px; }
.pc-col ul { margin-left: 16px; line-height: 1.8; color: #555; }
.pc-col.pros h4 { color: #2e9e6b; }
.pc-col.cons h4 { color: #e08a3c; }
.self-questions { margin-top: 12px; background: #fff; border-radius: 10px; padding: 12px; font-size: 0.84rem; }
.self-questions h4 { font-size: 0.88rem; margin-bottom: 6px; }
.self-questions ol { margin-left: 18px; line-height: 1.8; color: #555; }
.persuade-note { margin-top: 12px; font-size: 0.85rem; color: #7a63d8; background: #fff; border-radius: 8px; padding: 10px; line-height: 1.7; }
.persuade-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* 省钱 */
.nobuy-list { list-style: none; margin-top: 8px; }
.nobuy-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #f4f4f4; font-size: 0.86rem;
}
.nobuy-list strong { color: #2e9e6b; }

/* 回收站 */
.recycle-card { margin-top: 16px; }
.recycle-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.recycle-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.recycle-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 12px; background: #fafafa; border-radius: 10px; font-size: 0.85rem;
}
.recycle-label { font-weight: 600; margin-right: 8px; }
.recycle-actions { display: flex; gap: 6px; }

/* ===== 菜谱增强 ===== */
.r-img-wrap { position: relative; }
.r-tag {
  position: absolute; left: 10px; top: 10px;
  background: rgba(255,255,255,0.92); color: #2e9e6b;
  font-size: 0.72rem; padding: 3px 9px; border-radius: 12px; font-weight: 600;
}
.r-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.r-time { font-size: 0.78rem; color: #999; }
.r-links { display: flex; gap: 8px; margin-top: 10px; }
.r-links a {
  flex: 1; text-align: center; font-size: 0.82rem; padding: 7px 0;
  border-radius: 9px; text-decoration: none; color: #fff;
}
.r-links a:first-child { background: #ff5c8a; }
.r-links a:last-child { background: #2b2b2b; }
.r-links a:hover { opacity: 0.88; }
.r-steps { margin-top: 10px; border-top: 1px dashed #eee; padding-top: 8px; }
.r-steps summary { font-size: 0.82rem; color: #ff6b95; cursor: pointer; }
.r-steps ol { margin: 8px 0 0 18px; font-size: 0.82rem; color: #555; line-height: 1.7; }
.r-tip { margin-top: 8px; font-size: 0.8rem; color: #2e9e6b; }

/* ===== 通用按钮补充 ===== */
.ghost-btn {
  padding: 9px 16px; border-radius: 10px; background: #fff;
  border: 1px solid var(--border); color: #555; font-size: 0.9rem;
}
.ghost-btn:hover { background: #f7f7f7; }
.ghost-btn.small { padding: 6px 12px; font-size: 0.82rem; }
.primary-btn.small { padding: 7px 14px; font-size: 0.85rem; }
.tag-city { background: #f3f4f6 !important; color: #666; }
.verify-note { font-size: 0.76rem; color: #999; margin-top: 10px; line-height: 1.5; }

/* ===== 工作区：岗位 ===== */
.job-card { margin-top: 16px; }
.resume-box summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px; margin: 10px 0;
}
.form-grid input, .resume-box textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 9px; font-size: 0.9rem;
}
.range-row { display: flex; align-items: center; gap: 6px; }
.job-summary {
  background: #fff7f4; border-left: 4px solid #ffb38a;
  padding: 14px; border-radius: 10px; margin: 14px 0;
}
.job-greet { font-size: 0.92rem; color: #444; }
.job-tip-title { font-size: 0.85rem; font-weight: 600; margin-top: 10px; color: #b3591f; }
.job-tip-list { margin: 6px 0 0 18px; font-size: 0.85rem; color: #666; line-height: 1.7; }
.job-tip { font-size: 0.85rem; color: #777; margin-top: 8px; }
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-item {
  border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  background: #fff; transition: box-shadow 0.2s;
}
.job-item.best { border-color: #ffc2cf; box-shadow: 0 4px 18px rgba(255,143,171,0.18); }
.job-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.job-title { font-weight: 700; font-size: 1.02rem; }
.job-badge {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 10px;
  background: #f1f1f1; color: #777; margin-left: 6px; vertical-align: 2px;
}
.job-badge.hot { background: #ffe3ea; color: #e0456b; }
.job-company { font-size: 0.82rem; color: #888; margin-top: 3px; }
.job-salary { color: #e0456b; font-weight: 700; white-space: nowrap; }
.job-salary span { font-size: 0.72rem; color: #999; font-weight: 400; }
.job-desc { font-size: 0.86rem; color: #555; margin-top: 8px; line-height: 1.6; }
.job-match {
  font-size: 0.86rem; color: #2e7d5b; background: #f0fff7;
  padding: 8px 10px; border-radius: 8px; margin-top: 8px;
}
.job-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; flex-wrap: wrap; }
.job-fit { font-size: 0.8rem; color: #777; }
.job-link { font-size: 0.82rem; color: #e0456b; text-decoration: none; }
.job-link:hover { text-decoration: underline; }

/* ===== 垃圾桶 ===== */
#view-trash { background: linear-gradient(180deg, #fbfcff 0%, #ffffff 40%); min-height: calc(100vh - 60px); }
.trash-header { text-align: center; margin: 10px 0 24px; }
.trash-header h1 { font-size: 1.55rem; }
.trash-header p { color: #8b8b8b; margin-top: 6px; font-size: 0.92rem; }
.trash-input-card textarea {
  width: 100%; padding: 12px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.95rem; resize: vertical; line-height: 1.7;
}
.trash-safe-note { font-size: 0.78rem; color: #a0a0a0; margin-top: 10px; }
.trash-reply-card { background: #f7fbff; border: 1px solid #e3efff; }
.trash-ack { color: #666; font-size: 0.9rem; margin-bottom: 10px; }
.trash-words {
  background: #fff; padding: 12px 14px; border-radius: 10px;
  font-size: 0.94rem; color: #3d4a5c; line-height: 1.8;
}
.trash-tagline { font-size: 0.75rem; color: #aab; margin-top: 8px; }
.trash-user-line { font-size: 0.85rem; color: #8b7bd8; margin: 10px 0 4px; }
.trash-history { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.trash-entry { background: #fafafa; border-radius: 10px; padding: 12px; }
.trash-entry-head { display: flex; justify-content: space-between; font-size: 0.78rem; color: #999; }
.trash-entry-tag { background: #fff; padding: 1px 8px; border-radius: 8px; color: #777; }
.trash-entry p { font-size: 0.88rem; margin-top: 6px; color: #444; }
.trash-entry-reply { color: #7a8a9a; font-size: 0.84rem; border-left: 2px solid #e3efff; padding-left: 8px; }

/* ===== 专升本：答题过程 / 步骤检查 ===== */
.answer-step { margin-top: 10px; border-top: 1px dashed #eee; padding-top: 10px; }
.upload-label {
  display: inline-block; font-size: 0.82rem; color: #7a63d8;
  background: #f3f0ff; padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.upload-label input[type="file"] { display: none; }
.step-preview { margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.step-thumb { max-height: 110px; border-radius: 8px; border: 1px solid #eee; }
.quiz-due { font-size: 0.78rem; color: #e67e22; background: #fff6e8; padding: 2px 8px; border-radius: 8px; margin-left: 6px; }
.badge-review {
  font-size: 0.72rem; color: #d35400; background: #fff2e0;
  padding: 2px 8px; border-radius: 8px; margin-left: 6px;
}
.result-cheer {
  background: #fff9f5; border-left: 3px solid #ffb38a;
  padding: 10px 12px; border-radius: 8px; font-size: 0.88rem; color: #b3591f; margin-bottom: 12px;
}
.step-review {
  margin-top: 8px; padding: 10px; border-radius: 8px; background: #fafafa;
  font-size: 0.85rem;
}
.step-review.step-good { background: #f0fff5; }
.step-review.step-partial { background: #fffaf0; }
.step-review.step-weak { background: #fff5f5; }
.step-review.step-image { background: #f5f8ff; }
.step-review.step-none { background: #fafafa; }
.step-review-head { font-weight: 600; color: #555; margin-bottom: 6px; line-height: 1.6; }
.step-review ol { margin-left: 18px; color: #666; line-height: 1.7; }
.step-review li.hit { color: #2e9e6b; font-weight: 600; }

/* 错题集 */
.wrongbook-list { display: flex; flex-direction: column; gap: 12px; }
.wrongbook-item { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: #fff; }
.wrongbook-head { display: flex; justify-content: space-between; font-size: 0.8rem; }
.wrongbook-subject { background: #eef2ff; color: #5566aa; padding: 2px 9px; border-radius: 8px; }
.wrongbook-level { color: #999; }
.wrongbook-q { font-weight: 600; margin-top: 8px; font-size: 0.95rem; }
.wrongbook-opts { font-size: 0.85rem; color: #444; margin-top: 6px; }
.wrongbook-explain { font-size: 0.85rem; color: #666; margin-top: 6px; line-height: 1.7; }
.wrongbook-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

/* 模考卷 */
.mock-list-full { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.mock-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.mock-row.published { border-color: #cde9d8; background: #f8fffa; }
.mock-title { font-weight: 600; font-size: 0.95rem; }
.mock-wait { font-size: 0.78rem; color: #a0a0a0; }
.mock-detail { display: flex; flex-direction: column; gap: 14px; }
.mock-paper { border-top: 2px solid #eef2ff; padding-top: 12px; }
.mock-score-line { font-weight: 700; font-size: 1.05rem; color: #e0456b; margin-bottom: 10px; }
.mock-ask { display: flex; gap: 8px; margin-top: 10px; }
.mock-ask input {
  flex: 1; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem;
}
.mock-ask-reply { margin-top: 8px; }
.mock-ask-line { font-size: 0.84rem; color: #7a63d8; margin-top: 8px; }
.mock-reply-line { font-size: 0.86rem; color: #3d4a5c; background: #f7f9ff; padding: 10px; border-radius: 8px; margin-top: 6px; line-height: 1.7; }

/* 成绩 → 院校 */
.score-banner {
  display: flex; align-items: center; gap: 18px;
  background: linear-gradient(135deg, #fff5f8, #f0f7ff);
  border-radius: 14px; padding: 18px; margin-bottom: 12px;
}
.score-num { font-size: 2.3rem; font-weight: 800; color: #e0456b; white-space: nowrap; }
.score-num span { font-size: 0.9rem; color: #999; font-weight: 400; }
.score-desc strong { font-size: 0.95rem; }
.score-desc p { font-size: 0.82rem; color: #666; margin-top: 4px; line-height: 1.6; }
.score-tip { font-size: 0.85rem; color: #555; background: #f8fff9; padding: 10px 12px; border-radius: 8px; }
.school-list-inner { display: flex; flex-direction: column; gap: 8px; }
.school-item.reached-item { border: 1px solid #cde9d8; background: #f8fffa; }
.mock-mini { cursor: default; }
.mock-mini.is-published { cursor: pointer; }
.mock-mini.is-published:hover { background: #f5fff9; }

/* 响应式 */
@media (max-width: 768px) {
  .study-layout { flex-direction: column; }
  .study-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--border); }
  .countdown-box { flex: 1 1 100%; }
  .subject-nav { flex-direction: row; flex-wrap: wrap; flex: 1; }
  .subject-btn { flex: 1 1 auto; text-align: center; }
  .exam-reminders { flex: 1 1 100%; }
  .topbar { flex-direction: column; }
  .timer-display { font-size: 2rem; }
  .countdown-num { font-size: 1.8rem; }
}
