/* ============================================================
   上班休息日历 - 精简版样式
   ============================================================ */
:root {
  --bg: hsl(200 30% 97%);
  --fg: hsl(215 25% 22%);
  --muted: hsl(215 12% 48%);
  --card: #fff;
  --border: hsl(214 15% 88%);
  --muted-bg: hsl(214 15% 94%);

  --primary: hsl(202 65% 58%);
  --primary-soft: hsl(202 70% 94%);
  --primary-deep: hsl(202 70% 30%);

  --emerald: hsl(145 55% 48%);
  --emerald-soft: hsl(145 38% 94%);
  --emerald-deep: hsl(145 45% 28%);

  --holiday-from: hsl(28 95% 65%);
  --holiday-to: hsl(340 80% 65%);
  --holiday-bg: hsl(28 90% 96%);
  --holiday-fg: hsl(24 75% 35%);

  --makeup-bg: hsl(38 90% 95%);
  --makeup-border: hsl(38 70% 78%);
  --makeup-fg: hsl(28 75% 40%);

  --violet: hsl(262 70% 60%);
  --violet-soft: hsl(262 80% 95%);
  --cyan: hsl(190 70% 55%);
  --pink: hsl(330 70% 62%);
  --rose: hsl(340 75% 55%);

  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);

  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  background: linear-gradient(135deg, hsl(200 40% 96%) 0%, var(--bg) 40%, hsl(145 30% 95%) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- 容器 ---------- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .container { padding: 40px 24px 60px; } }

/* ---------- 页头 ---------- */
.header {
  text-align: center;
  padding: 8px 0 16px;
  animation: fadeDown 0.6s ease both;
}
.header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--emerald));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 768px) { .header h1 { font-size: 36px; } }
.header p { margin: 0; color: var(--muted); font-size: 14px; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-hd {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-bd { padding: 18px 20px; }

/* ---------- 看板 ---------- */
.dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .dashboard { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dashboard { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.stat .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat .val { font-size: 28px; font-weight: 700; line-height: 1.2; }
.stat .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* 今日大卡 */
.today {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.today.weekend { background: linear-gradient(135deg, hsl(145 55% 50%), hsl(170 55% 45%)); }
.today.holiday { background: linear-gradient(135deg, var(--holiday-from), var(--holiday-to)); }
.today.makeup { background: linear-gradient(135deg, hsl(30 90% 60%), hsl(15 85% 55%)); }
.today:hover { box-shadow: var(--shadow-lg); }
.today .date { font-size: 13px; opacity: 0.9; }
.today .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.today .emoji { font-size: 36px; }
.today .status { font-size: 28px; font-weight: 700; line-height: 1.2; }
.today .holiday-name { margin-top: 8px; font-size: 15px; opacity: 0.95; }
.today .quote {
  margin-top: 16px;
  font-size: 13px;
  font-style: italic;
  opacity: 0.9;
  max-width: 400px;
}
.today .big-icon {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 100px;
  opacity: 0.15;
}
@media (min-width: 640px) { .today { grid-column: span 2; } }

/* 宽进度条卡 */
.prog-wide {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .prog-wide { grid-column: span 2; } }
@media (min-width: 1024px) { .prog-wide { grid-column: span 3; } }
.prog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.prog-head .lbl { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.prog-head .val { font-size: 13px; font-weight: 600; font-family: var(--mono); }
.prog-text { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 进度条 */
.progress {
  height: 8px;
  background: var(--muted-bg);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress.lg { height: 10px; }
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}
.progress-bar.emerald { background: linear-gradient(90deg, hsl(145 55% 50%), hsl(170 55% 45%)); }
.progress-bar.violet { background: linear-gradient(90deg, hsl(262 70% 60%), hsl(290 70% 60%)); }

/* ---------- 主布局 ---------- */
.main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .main { grid-template-columns: 2fr 1fr; gap: 24px; }
}

/* ---------- 日历 ---------- */
.cal-hd {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-title { font-size: 20px; font-weight: 700; min-width: 130px; text-align: center; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  font-size: 18px;
}
.icon-btn:hover { background: var(--muted-bg); transform: translateY(-1px); }
.btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  font-family: inherit;
}
.btn:hover { background: var(--muted-bg); }
.quote { font-size: 13px; color: var(--muted); font-style: italic; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 周标签 */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--muted-bg);
}
.weekdays > div {
  padding: 10px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.weekdays > div.wkend { color: var(--emerald); }

/* 日期格 */
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 12px;
  animation: fadeInUp 0.3s ease;
}
@media (min-width: 768px) { .days { padding: 16px; gap: 6px; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.day {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(4px, 0.8vw, 8px) clamp(3px, 0.6vw, 8px);
  overflow: hidden;
  transition: all 0.15s;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.3;
}

/* 顶部: 阳历日期 + 休/班标签 布局 */
.day-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  width: 100%;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}
.day .n {
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* 休 / 班 小标签 */
.day-rest-tag,
.day-makeup-tag {
  font-size: clamp(8px, 1.1vw, 10px);
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.3;
  flex-shrink: 0;
  letter-spacing: 0;
}
.day-rest-tag {
  color: var(--emerald-deep);
  background: rgba(255,255,255,0.7);
}
.day-makeup-tag {
  color: var(--makeup-fg);
  background: rgba(255,255,255,0.7);
}

/* 中部容器: 保证节日/节气垂直居中 */
.day-mid {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.day-main {
  font-size: clamp(9px, 1.4vw, 12px);
  line-height: 1.2;
  font-weight: 500;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 2px;
  flex-shrink: 0;
}
.day-main.holiday-name {
  color: var(--holiday-fg);
  font-weight: 600;
}
.day-main.term-name {
  color: #e67e22;
  font-weight: 500;
}
.day-main.festival-name {
  color: #e74c3c;
  font-weight: 500;
}

p a {
  text-decoration: none;
  color: var(--muted);
}

/* 底部: 农历日期 */
.day-lunar {
  font-size: clamp(9px, 1.15vw, 11px);
  line-height: 1.2;
  color: #9ca3af;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 400;
  margin-bottom: 1px;
  opacity: 0.9;
}
.day.work .day-lunar,
.day.rest .day-lunar,
.day.holiday .day-lunar,
.day.makeup .day-lunar {
  color: #6b7280;
  opacity: 0.75;
}
.day.out { opacity: 0.35; }
.day.work { background: var(--primary-soft); color: var(--primary-deep); }
.day.rest { background: var(--emerald-soft); color: var(--emerald-deep); }
.day.rest .n { color: var(--emerald-deep); }
.day.holiday {
  background: linear-gradient(135deg, hsl(28 90% 94%), hsl(340 80% 94%));
  color: var(--holiday-fg);
}
.day.holiday .n { color: var(--holiday-fg); font-weight: 700; }
.day.makeup {
  background: var(--makeup-bg);
  color: var(--makeup-fg);
  border: 1.5px dashed var(--makeup-border);
}
.day:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); filter: brightness(0.97); }
.day:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.day.is-today {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
  z-index: 1;
  animation: pulse-ring 2s ease-in-out infinite;
}
.day.is-today .n {
  font-weight: 700;
  color: var(--primary);
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
  50% { box-shadow: 0 0 0 2px #fff, 0 0 0 6px var(--primary); }
}
.day.selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--violet); z-index: 1; }

.day-mood {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: clamp(10px, 1.5vw, 14px);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

/* 图例 */
.legend {
  padding: 10px 20px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 4px; }
.legend-dot.work { background: var(--primary-soft); }
.legend-dot.rest { background: var(--emerald-soft); }
.legend-dot.holiday { background: linear-gradient(135deg, hsl(28 90% 90%), hsl(340 80% 90%)); }
.legend-dot.makeup { background: var(--makeup-bg); border: 1px dashed var(--makeup-border); }

/* ---------- 侧边 ---------- */
.side { display: flex; flex-direction: column; gap: 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini {
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
}
.mini .n { font-size: 24px; font-weight: 700; line-height: 1.1; }
.mini .l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bg-blue { background: var(--primary-soft); color: var(--primary-deep); }
.bg-green { background: var(--emerald-soft); color: var(--emerald-deep); }
.bg-orange { background: var(--holiday-bg); color: var(--holiday-fg); }
.bg-amber { background: var(--makeup-bg); color: var(--makeup-fg); }

.countdown-num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--violet);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.countdown-num.pulse { animation: numPulse 0.4s ease; }
@keyframes numPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.rest-tip { font-size: 20px; font-weight: 700; color: var(--emerald); }

/* 心愿单 */
.wish-form { display: flex; gap: 8px; margin-bottom: 12px; }
.wish-form input {
  flex: 1; padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border 0.15s;
}
.wish-form input:focus { border-color: var(--primary); }
.wish-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wish-empty { text-align: center; color: var(--muted); font-size: 12px; padding: 14px 0; }
.wish-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: var(--muted-bg);
  border-radius: var(--radius);
  font-size: 13px;
  animation: fadeInUp 0.25s ease;
  word-break: break-word;
}
.wish-item .txt { flex: 1; }
.wish-del {
  background: none; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 14px; padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s;
}
.wish-del:hover { color: hsl(0 80% 55%); background: rgba(0,0,0,0.04); }

/* ---------- 时间轴 ---------- */
.tl-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.tl-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tl-wrap { position: relative; padding-top: 10px; }
.tl-base {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background: var(--muted-bg);
  border-radius: var(--radius-full);
}
.tl-today {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tl-today-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(67, 160, 214, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(67, 160, 214, 0.15); }
}
.tl-today-lbl { font-size: 10px; color: var(--primary); font-weight: 600; margin-top: 4px; white-space: nowrap; }

.tl-items { position: relative; height: 80px; }
.tl-item {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s;
}
.tl-item:hover { transform: translateX(-50%) translateY(-2px); }
.tl-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.tl-chip {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--muted-bg);
  color: var(--muted);
}
.tl-item.upcoming .tl-chip {
  background: linear-gradient(90deg, var(--holiday-from), var(--holiday-to));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.tl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  margin: 4px auto;
  opacity: 0.5;
}
.tl-item.upcoming .tl-dot { background: var(--holiday-from); opacity: 1; }
.tl-date { font-size: 10px; color: var(--muted); white-space: nowrap; text-align: center; }
.tl-item.bottom { top: auto; bottom: 0; flex-direction: column-reverse; }

.tl-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.tl-months > div { text-align: center; }
.tl-hint { text-align: center; font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- 弹窗 ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
  overflow: hidden;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-hd { padding: 20px 22px 14px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 18px; font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.modal-desc { margin: 0; font-size: 13px; color: var(--muted); }
.modal-bd { padding: 20px 22px; }
.modal-ft {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--muted-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.status-banner .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.status-banner .info { flex: 1; }
.status-banner .main { font-size: 16px; font-weight: 600; }
.status-banner .sub { font-size: 13px; color: var(--holiday-fg); margin-top: 2px; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}
.badge.blue { background: var(--primary-soft); color: var(--primary-deep); }
.badge.green { background: var(--emerald-soft); color: var(--emerald-deep); }
.badge.orange { background: hsl(28 90% 92%); color: var(--holiday-fg); }
.badge.amber { background: var(--makeup-bg); color: var(--makeup-fg); border: 1px dashed var(--makeup-border); }

.mood-lbl { font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.mood-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.mood-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  font-family: inherit;
  color: var(--fg);
}
.mood-btn:hover { background: var(--muted-bg); }
.mood-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.mood-hint { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- 飘落粒子 ---------- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.particle {
  position: absolute;
  top: -40px;
  font-size: 20px;
  animation: floatDown linear infinite;
  opacity: 0.6;
}
@keyframes floatDown {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ---------- 页脚 ---------- */
.footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 16px 0 8px;
}
.footer p { margin: 4px 0; }

/* ---------- 工具 ---------- */
.muted { color: var(--muted); }
.flex { display: flex; }
.items-center { align-items: center; }
.ml-auto { margin-left: auto; }
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }

/* 滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
