/* ============ 君定 · 设计系统 ============ */

:root {
  --bg: #0b0d11;
  --bg2: #12151b;
  --card: #161a21;
  --card2: #1c212b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #ece9e4;
  --muted: #98a1b0;
  --accent: #e86373;
  --accent-soft: rgba(232, 99, 115, 0.13);
  --gold: #d9b57a;
  --gold-soft: rgba(217, 181, 122, 0.12);
  --ok: #74c69d;
  --ok-soft: rgba(116, 198, 157, 0.12);
  --danger: #e86373;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background:
    radial-gradient(1100px 560px at 78% -12%, rgba(232, 99, 115, 0.08), transparent 62%),
    radial-gradient(900px 520px at -12% 112%, rgba(217, 181, 122, 0.06), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(232, 99, 115, 0.35); color: #fff; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #2a3140; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

a { color: var(--gold); text-decoration: none; }
.hidden { display: none !important; }

/* ---------- 顶栏 ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(11, 13, 17, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 5px;
  background: linear-gradient(120deg, #f0e6d8 10%, var(--gold) 45%, #f5c6cd 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand::before {
  content: "◆ ";
  background: none;
  -webkit-text-fill-color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(232, 99, 115, 0.5));
  font-size: 14px;
}

.top-right { display: flex; align-items: center; gap: 10px; }

.app-version {
  font-size: 11px;
  letter-spacing: 0;
  opacity: 0.7;
}

.role-tag {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.role-tag.sub { color: var(--gold); border-color: rgba(217, 181, 122, 0.4); background: var(--gold-soft); }
.role-tag.dom { color: var(--accent); border-color: rgba(232, 99, 115, 0.45); background: var(--accent-soft); }

/* ---------- 布局 ---------- */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 16px 96px;
}

.page.center {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.hero { text-align: center; }

.hero .logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 14px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--accent);
  background:
    linear-gradient(145deg, rgba(232, 99, 115, 0.16), rgba(217, 181, 122, 0.08)),
    var(--card2);
  border: 1px solid rgba(232, 99, 115, 0.35);
  box-shadow: 0 14px 40px rgba(232, 99, 115, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero h1 {
  font-size: 34px;
  letter-spacing: 14px;
  text-indent: 14px;
  background: linear-gradient(120deg, #f3ece0, var(--gold) 55%, #f0c9cf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.hero p { letter-spacing: 4px; }

.muted { color: var(--muted); font-size: 13px; }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 14px;
}

.section-head h2 { font-size: 17px; letter-spacing: 2px; }

/* ---------- 卡片 ---------- */

.card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 660px;
}

.login-card {
  text-align: center;
  padding: 26px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.login-card .role-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 99, 115, 0.3);
}

.login-card:last-child .role-icon {
  background: var(--gold-soft);
  border-color: rgba(217, 181, 122, 0.32);
}

.login-card h2 { font-size: 17px; letter-spacing: 2px; }
.login-card p { margin: 6px 0 16px; }

.form-card h2 {
  margin-bottom: 16px;
  font-size: 18px;
  letter-spacing: 2px;
}

/* ---------- 表单 ---------- */

.field { display: block; margin-bottom: 14px; }

.field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: rgba(9, 11, 15, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  padding: 11px 13px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

input::placeholder, textarea::placeholder { color: #5c6574; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(232, 99, 115, 0.65);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: rgba(9, 11, 15, 0.85);
}

textarea { resize: vertical; min-height: 48px; }
select { cursor: pointer; }

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0;
  cursor: pointer;
  user-select: none;
}

.check input { accent-color: var(--accent); width: 16px; height: 16px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: var(--card2);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.06s, box-shadow 0.15s;
}

.btn:hover { background: #262d39; border-color: #3a4352; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn.primary {
  background: linear-gradient(135deg, #e86373, #c94459);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(232, 99, 115, 0.25);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #f07080, #d64d62);
  box-shadow: 0 8px 22px rgba(232, 99, 115, 0.32);
}

.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); }

.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; margin-top: 6px; }

.opt-del {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.opt-del:hover { color: var(--danger); background: var(--accent-soft); }

/* ---------- 标签页 ---------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 9px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.tab:hover { color: var(--text); border-color: var(--line-strong); }

.tab.active {
  color: #fff;
  border-color: rgba(232, 99, 115, 0.4);
  background: linear-gradient(135deg, rgba(232, 99, 115, 0.18), rgba(217, 181, 122, 0.1));
  font-weight: 600;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.tab-badge.zero { background: rgba(255, 255, 255, 0.1); color: var(--muted); }

/* ---------- 统计 / 缺口 ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stat-card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, #f0909c, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label { font-size: 12px; color: var(--muted); margin-top: 3px; }

.deficit-box {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card2), var(--card));
}

.deficit-box.positive { border-color: rgba(116, 198, 157, 0.4); background: linear-gradient(180deg, rgba(116, 198, 157, 0.12), rgba(116, 198, 157, 0.04)); }
.deficit-box.negative { border-color: rgba(232, 99, 115, 0.45); background: linear-gradient(180deg, rgba(232, 99, 115, 0.14), rgba(232, 99, 115, 0.04)); }

.deficit-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #f0f0ea, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.deficit-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.macro-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.macro-chip {
  background: rgba(9, 11, 15, 0.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  color: var(--muted);
}

.macro-chip b { color: var(--gold); }

/* ---------- 选项构建 ---------- */

.opt-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }

.opt-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--gold-soft);
  border: 1px solid rgba(217, 181, 122, 0.35);
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- 问题 / 日记卡片 ---------- */

.q-card { animation: rise 0.28s ease; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.q-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.q-head time { font-size: 12px; color: var(--muted); }
.q-card h3 { font-size: 16px; margin-bottom: 4px; word-break: break-word; }

.q-note {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.opt-row-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }

.opt-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(9, 11, 15, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  font-size: 13px;
}

.opt-chip b {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.chip {
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 600;
}

.chip.pending { background: var(--gold-soft); color: var(--gold); }
.chip.done { background: var(--ok-soft); color: var(--ok); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }

.q-actions { margin-top: 6px; }

.del-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
}

.del-btn:hover { color: var(--danger); }

/* ---------- 决定展示 ---------- */

.reveal-btn {
  width: 100%;
  border: 1px dashed rgba(217, 181, 122, 0.45);
  background: transparent;
  color: var(--gold);
  border-radius: 12px;
  padding: 11px;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: border-color 0.15s, background 0.15s;
}

.reveal-btn:hover { border-color: var(--gold); background: var(--gold-soft); }

.answer-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(217, 181, 122, 0.4);
  background: linear-gradient(135deg, rgba(217, 181, 122, 0.12), rgba(232, 99, 115, 0.06));
  box-shadow: 0 0 24px rgba(217, 181, 122, 0.06);
  animation: rise 0.3s ease;
}

.answer-letter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c98f, var(--gold));
  color: #1a1410;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(217, 181, 122, 0.35);
}

.answer-text { font-size: 16px; font-weight: 600; word-break: break-word; }

.answer-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.answer-static .answer-box { border-color: var(--line-strong); background: var(--bg2); box-shadow: none; }

/* ---------- Dom 决策面板 ---------- */

.decide-btn { margin-top: 4px; }

.decision-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.decision-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }

.select-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.select-row:hover { border-color: #3a4352; }

.select-row.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 2px 0 0 var(--accent);
}

.select-row input[type="radio"] { display: none; }
.select-text { font-size: 14px; flex: 1; word-break: break-word; }

.select-row .custom-input {
  flex: 1;
  min-width: 0;
  background: rgba(9, 11, 15, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 10px;
}

.select-row.selected .custom-input {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.decision-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- 食物记录 ---------- */

.food-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--line);
}

.food-row:last-child { border-bottom: none; }
.food-name { font-size: 14px; }
.food-kcal { font-size: 13px; color: var(--muted); }
.food-kcal b { color: var(--gold); }
.food-del { border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; padding: 4px; }
.food-del:hover { color: var(--danger); }

/* ---------- 打卡 ---------- */

.upload-area {
  border: 2px dashed rgba(217, 181, 122, 0.35);
  border-radius: 14px;
  padding: 26px 16px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color 0.15s, background 0.15s;
  background: rgba(9, 11, 15, 0.4);
}

.upload-area:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload-area.has-photo { padding: 10px; }
.upload-icon { font-size: 34px; margin-bottom: 6px; }
.upload-area img { max-width: 100%; max-height: 260px; border-radius: 12px; display: block; margin: 0 auto; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.photo-card { overflow: hidden; padding: 0; }

.photo-link {
  display: block;
  overflow: hidden;
}

.photo-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: var(--bg2);
  transition: transform 0.3s ease;
}

.photo-card:hover img { transform: scale(1.03); }

.photo-info { padding: 11px 13px; }
.photo-date { font-size: 13px; font-weight: 600; }
.photo-loc { font-size: 12px; color: var(--gold); margin-top: 2px; word-break: break-word; }
.photo-note { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-word; }

.loc-line {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 6px;
  min-height: 16px;
}

/* ---------- 背单词 ---------- */

.v-day .q-head { margin-bottom: 10px; }

.v-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.v-label {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #e86373, #c94459);
  color: #fff;
  margin-top: 2px;
  box-shadow: 0 3px 10px rgba(232, 99, 115, 0.3);
}

.v-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }

.word-chip {
  background: rgba(9, 11, 15, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--text);
  word-break: break-word;
}

.word-more { font-size: 12px; align-self: center; }

/* ---------- 食谱 ---------- */

.rc-row .rc-ing-name { flex: 1.2; }
.rc-row .rc-ing-amount { flex: 1; }
.rc-row .rc-step { flex: 1; }

.recipe-steps {
  list-style: none;
  margin-top: 4px;
}

.recipe-steps li {
  display: flex;
  gap: 10px;
  padding: 7px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.recipe-steps li:last-child { border-bottom: none; }

.recipe-steps li b {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

.recipe-steps li span { flex: 1; word-break: break-word; }

/* ---------- Wordle ---------- */

.wl-board {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  margin: 12px auto 0;
  width: min(320px, 100%);
}

.wl-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }

.wl-tile {
  aspect-ratio: 1;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(9, 11, 15, 0.4);
  color: var(--text);
  transition: background 0.3s, border-color 0.3s;
}

.wl-tile.filled { border-color: #565758; animation: wl-pop 0.15s ease; }

@keyframes wl-pop {
  0% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.wl-tile.correct { background: #538d4e; border-color: #538d4e; color: #fff; }
.wl-tile.present { background: #b59f3b; border-color: #b59f3b; color: #fff; }
.wl-tile.absent { background: #3a3a3c; border-color: #3a3a3c; color: #cfcfcf; }

.wl-kb { margin-top: 14px; user-select: none; }
.wl-kb-row { display: flex; justify-content: center; gap: 5px; margin-bottom: 5px; }

.wl-key {
  width: 34px;
  height: 44px;
  border-radius: 6px;
  background: #565758;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: filter 0.15s, background 0.15s;
}

.wl-key:hover { filter: brightness(1.2); }
.wl-key.wl-key-wide { flex: 1.4; max-width: 76px; }
.wl-key.wl-correct { background: #538d4e; }
.wl-key.wl-present { background: #b59f3b; }
.wl-key.wl-absent { background: #3a3a3c; }

.wl-small { width: min(220px, 100%); }
.wl-small .wl-tile { font-size: 16px; }

/* ---------- 背单词（英文 + 释义） ---------- */

.vw-row .vw-en { flex: 1; }
.vw-row .vw-zh { flex: 1.2; }
.vw-row .vw-pos { width: 78px; padding: 8px 6px; font-size: 13px; flex-shrink: 0; }

.vw-del-chip { padding-right: 6px; }

.word-del {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  margin-left: 4px;
  padding: 0 2px;
}

.word-del:hover { color: var(--danger); }

/* ---------- 背单词列表（今日/累计） ---------- */

.vt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.vt-row:last-child { border-bottom: none; }

.vt-num {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.vt-pos {
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
}

.vt-zh {
  color: var(--muted);
  font-size: 13px;
  margin-left: auto;
  text-align: right;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

.vt-en {
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vt-del {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
}

.vt-del:hover { color: var(--danger); }

.cum-card { max-height: 320px; overflow-y: auto; }

/* ---------- 一起看 ---------- */

.ep-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.ep-row:hover { border-color: var(--line-strong); }
.ep-row.active { border-color: rgba(232, 99, 115, 0.5); background: var(--accent-soft); }
.ep-title { font-size: 14px; word-break: break-all; }
.ep-meta { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ---------- 日记 ---------- */

.diary-content {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
  margin: 8px 0 12px;
}

.diary-comment { margin-top: 4px; }

.comment-area {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.comment-area textarea { margin-bottom: 8px; }

.comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 2px; }

/* ---------- 空状态 / 错误 ---------- */

.empty {
  text-align: center;
  color: var(--muted);
  padding: 36px 10px;
  font-size: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}

.empty.small { padding: 18px 10px; margin-bottom: 14px; }

.error {
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
  margin-top: 8px;
  text-align: center;
}

.sub-head {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 2px;
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(28, 33, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 60;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */

@media (max-width: 560px) {
  .login-grid { grid-template-columns: 1fr; }
  .page { padding: 18px 12px 96px; }
  .top { padding: 10px 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat-num { font-size: 20px; }
  .hero h1 { font-size: 28px; letter-spacing: 10px; text-indent: 10px; }
  .wl-kb-row { gap: 4px; }
  .tabs { flex-wrap: nowrap; }
  .wl-key {
    width: auto;
    flex: 1;
    max-width: 44px;
    height: 50px;
    font-size: 15px;
  }
  .wl-key.wl-key-wide { flex: 2; max-width: 96px; }
}

/* ---------- 日记批改大窗口 ---------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 7, 10, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade 0.18s ease;
}

.modal {
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow: auto;
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 28px;
  animation: rise 0.22s ease;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.modal-head h3 {
  font-size: 20px;
  line-height: 1.45;
  word-break: break-word;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.modal-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 16px;
  line-height: 1.9;
  margin: 4px 0 18px;
  color: var(--text);
}

.modal-comment label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal-comment textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.card.clickable {
  cursor: pointer;
}

.card.clickable:hover {
  border-color: var(--line-strong);
}

.card.clickable .diary-content {
  cursor: pointer;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- 游戏 · 飞行棋 ---------- */

.game-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 12px 0 4px;
}

.game-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 4px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.game-cell-icon {
  font-size: 16px;
  line-height: 1;
}

.game-cell-label {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
}

.game-cell-start {
  background: rgba(116, 198, 157, 0.12);
  border-color: rgba(116, 198, 157, 0.5);
}

.game-cell-start .game-cell-label {
  color: var(--ok);
  font-weight: 700;
}

.game-cell-finish {
  background: rgba(232, 99, 115, 0.14);
  border-color: rgba(232, 99, 115, 0.6);
}

.game-cell-finish .game-cell-label {
  color: var(--accent);
  font-weight: 700;
}

.game-cell-forward {
  background: rgba(92, 156, 235, 0.1);
  border-color: rgba(92, 156, 235, 0.45);
}

.game-cell-forward .game-cell-label {
  color: #7fb1f5;
}

.game-cell-back {
  background: rgba(217, 181, 122, 0.1);
  border-color: rgba(217, 181, 122, 0.45);
}

.game-cell-back .game-cell-label {
  color: var(--gold);
}

.game-cell.active {
  border-color: #e86373;
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(232, 99, 115, 0.3);
  transform: scale(1.06);
  z-index: 1;
}

.game-pawn {
  position: absolute;
  bottom: -8px;
  font-size: 20px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(232, 99, 115, 0.5));
}

.game-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 10px;
}

.gl {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.gl-start {
  color: var(--ok);
  border-color: rgba(116, 198, 157, 0.4);
  background: rgba(116, 198, 157, 0.08);
}

.gl-finish {
  color: var(--accent);
  border-color: rgba(232, 99, 115, 0.4);
  background: rgba(232, 99, 115, 0.08);
}

.gl-fwd {
  color: #7fb1f5;
  border-color: rgba(92, 156, 235, 0.4);
  background: rgba(92, 156, 235, 0.08);
}

.gl-back {
  color: var(--gold);
  border-color: rgba(217, 181, 122, 0.4);
  background: rgba(217, 181, 122, 0.08);
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.dice-box {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(217, 181, 122, 0.35);
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  animation: rise 0.3s ease;
}

.game-current {
  margin-top: 6px;
}

.game-task-big {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 99, 115, 0.35);
  margin-bottom: 12px;
}

.game-task-add {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.game-task-add input {
  flex: 1;
}

.game-task-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  border-bottom: 1px dashed var(--line);
}

.game-task-row:last-child {
  border-bottom: none;
}

.game-task-idx {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.game-task-text {
  flex: 1;
  font-size: 14px;
  word-break: break-word;
}

.game-task-del {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

.game-task-del:hover {
  background: rgba(232, 99, 115, 0.12);
}

.game-completed-task {
  font-size: 14px;
  color: var(--text);
}

@media (max-width: 560px) {
  .game-board {
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
  }
  .game-cell {
    min-height: 48px;
  }
  .game-pawn {
    font-size: 18px;
  }
}

/* ---------- 吃药打卡 ---------- */

.med-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.med-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.med-item:active {
  transform: scale(0.97);
}

.med-item.done {
  background: var(--ok-soft);
  border-color: rgba(116, 198, 157, 0.55);
  color: var(--ok);
}

.med-icon {
  font-size: 22px;
  line-height: 1;
}

.med-label {
  font-size: 13px;
}

.med-check {
  font-size: 11px;
  min-height: 14px;
}

.med-other-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.med-other-item.done {
  border-color: rgba(116, 198, 157, 0.45);
  background: var(--ok-soft);
  color: var(--ok);
}

.med-other-item .med-check {
  margin-left: auto;
}

.med-h-flex {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.med-h-label {
  font-size: 11px;
  color: var(--muted);
  margin-right: 2px;
}

.med-h-item {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.med-h-item.on {
  border-color: rgba(116, 198, 157, 0.5);
  background: var(--ok-soft);
  color: var(--ok);
}

/* ---------- 礼物清单 ---------- */

.gift-add {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.gift-add input:first-child {
  flex: 2;
  min-width: 160px;
}

.gift-add input:nth-child(2) {
  flex: 3;
  min-width: 200px;
}

.gift-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--line);
}

.gift-row:last-child {
  border-bottom: none;
}

.gift-main {
  flex: 1;
  min-width: 0;
}

.gift-text {
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}

.gift-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  word-break: break-all;
}

.gift-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  border: 1px solid rgba(116, 198, 157, 0.45);
  color: var(--ok);
  vertical-align: middle;
}

.gift-row.bought .gift-text {
  color: var(--muted);
  text-decoration: line-through;
}

.gift-actions {
  flex-shrink: 0;
}

.gift-del,
.gift-buy {
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
}

.gift-del:hover {
  border-color: rgba(232, 99, 115, 0.5);
  color: var(--danger);
  background: rgba(232, 99, 115, 0.08);
}

.gift-buy:hover {
  border-color: rgba(116, 198, 157, 0.5);
  color: var(--ok);
  background: var(--ok-soft);
}

/* ---------- 喝水记录 ---------- */

.water-reminder {
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(92, 156, 235, 0.12);
  border: 1px solid rgba(92, 156, 235, 0.5);
  color: #9cc3f5;
  font-size: 14px;
  animation: rise 0.3s ease;
}

.water-today {
  text-align: center;
  padding: 6px 0 10px;
}

.water-num {
  font-size: 44px;
  font-weight: 800;
  color: #7fb1f5;
  line-height: 1.1;
}

.water-label {
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 10px;
}

.water-drops {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.water-drop {
  font-size: 18px;
  opacity: 0.28;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}

.water-drop.on {
  opacity: 1;
  filter: none;
}

.water-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.water-day {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

.water-day-date {
  font-size: 12px;
  color: var(--muted);
  width: 44px;
  flex-shrink: 0;
}

.water-bar {
  flex: 1;
  height: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.water-bar-inner {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(92, 156, 235, 0.6), #7fb1f5);
  transition: width 0.3s ease;
}

.water-day-num {
  font-size: 12px;
  color: var(--muted);
  width: 44px;
  text-align: right;
  flex-shrink: 0;
}

/* ---------- 情绪系统 ---------- */

.mood-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mood-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 4px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.mood-btn:active {
  transform: scale(0.95);
}

.mood-btn.active {
  border-color: rgba(217, 181, 122, 0.6);
  background: var(--gold-soft);
  color: var(--gold);
}

.mood-emoji {
  font-size: 26px;
  line-height: 1;
}

.mood-label {
  font-size: 12px;
}

.mood-note-row {
  display: flex;
  gap: 8px;
}

.mood-note-row input {
  flex: 1;
}

.mood-other-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.mood-other-emoji {
  font-size: 46px;
  line-height: 1.2;
}

.mood-other-label {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

.mood-other-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text);
}

.mood-other-time {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.mood-h-flex {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.mood-h-item {
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.mood-h-item.off {
  color: var(--muted);
  opacity: 0.5;
}

@media (max-width: 560px) {
  .mood-picker {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .mood-emoji {
    font-size: 22px;
  }
}


/* ---------- 体重 · 餐别与份数 ---------- */

.meal-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meal-chip {
  flex: 1;
  min-width: 72px;
  padding: 9px 6px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.meal-chip.active {
  border-color: rgba(232, 99, 115, 0.5);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
}

.meal-block {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.meal-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 14px;
}

.food-qty {
  font-size: 12px;
  color: var(--muted);
}

#w-report-text {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  font-family: "Consolas", "Microsoft YaHei", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.serving-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.serving-ref-label {
  font-size: 12px;
  color: var(--muted);
}

.serving-chip {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.serving-chip:hover {
  border-color: rgba(217, 181, 122, 0.5);
  color: var(--gold);
  background: var(--gold-soft);
}

/* ---------- 课表 ---------- */

.schedule-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.schedule-week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.schedule-week-label {
  min-width: 200px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

#schedule-mine,
#schedule-other {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 88px repeat(7, minmax(92px, 1fr));
  gap: 6px;
  margin-top: 12px;
  min-width: 780px;
}

.sc-corner {
  min-height: 28px;
}

.sc-day-head {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  align-self: end;
}

.sc-day-head.sc-today {
  color: var(--gold);
  border-bottom-color: rgba(217, 181, 122, 0.7);
}

.sc-today-tag {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
  background: rgba(217, 181, 122, 0.85);
  border-radius: 6px;
  padding: 1px 5px;
  vertical-align: 1px;
}

.sc-time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 4px;
  line-height: 1.35;
}

.sc-period {
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 2px;
}

.sc-time-start {
  color: var(--text);
}

.sc-time-end {
  font-size: 11px;
  opacity: 0.75;
}

.sc-cell {
  min-height: 56px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px;
}

.sc-cell.sc-today {
  background: rgba(217, 181, 122, 0.08);
  border-color: rgba(217, 181, 122, 0.32);
}

.sc-cell.has-course {
  background: rgba(255, 255, 255, 0.03);
}

.sc-course {
  background: linear-gradient(135deg, rgba(232, 99, 115, 0.16), rgba(217, 181, 122, 0.08));
  border: 1px solid rgba(232, 99, 115, 0.25);
  border-radius: 8px;
  padding: 6px 7px;
  font-size: 12px;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

.sc-course.sc-today {
  border-color: rgba(217, 181, 122, 0.75);
  box-shadow: 0 0 0 1px rgba(217, 181, 122, 0.28);
}

.sc-name {
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  word-break: break-all;
  margin-bottom: 3px;
}

.sc-course-time {
  color: var(--gold);
  font-size: 11px;
  margin-bottom: 3px;
}

.sc-weeks {
  display: inline-block;
  font-size: 10px;
  color: #fff;
  background: rgba(232, 99, 115, 0.55);
  border-radius: 6px;
  padding: 1px 6px;
  margin-bottom: 3px;
}

.sc-meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  word-break: break-all;
}
