/* ============================================================
   keira · 预览 v2a（青绿版，保留对比用）
   青色 / 绿色为主，紫粉点缀；文字与数字取消像素化
   叠加在 style.css 之后加载
   ============================================================ */

:root {
  /* 墨色：深墨绿代替深棕 */
  --ink: #0B3B36;
  --ink-2: #2F6B63;
  --ink-3: #6E9E94;

  /* 纸：带一点薄荷的奶白 */
  --paper: #F7FFFC;
  --paper-2: #E2FAF0;
  --paper-3: #C9F1E1;

  /* 天 */
  --sky: #67E8F9;
  --sky-2: #A5F3FC;
  --sky-3: #E0FBFF;

  /* 主强调：淡紫（按钮 / 倒计时 / dock 选中） */
  --sun: #C4B5FD;
  --sun-2: #7C3AED;
  --sun-3: #EDE9FE;

  /* 草 */
  --green: #34D399;
  --green-2: #047857;

  /* 强调色 */
  --red: #F43F5E;    /* 逾期 / 考试：玫红 */
  --blue: #0891B2;   /* 上课：青蓝 */
}

/* ---------- 文字：全部改用系统字体，不再像素化 ---------- */
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  background: #0D9488;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: auto;
  text-rendering: optimizeLegibility;
}

/* 标题：加粗、去掉像素字体的字距 */
.brand { font-size: 23px; font-weight: 800; letter-spacing: 0; }
.hero__title, .page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.card__head h2, .ddl-group__head h2 { font-size: 20px; font-weight: 700; letter-spacing: 0; }

/* 大数字：表格数字，等宽稳定 */
.count__num, .gpa-strip__num, .gpa-hero__num {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}

/* 正文统一放大到 13px（原来 12px 的像素字看着更大） */
.topbar__meta, .btn, .link, .kicker, .hero__sub,
.count__label, .count__name, .count__place, .count__date, .count__num small,
.goal__label, .goal__value, .goal__note,
.bubble__text, .row__title, .row__sub, .row__right,
.gpa-strip__label, .gpa-strip__note, .gpa-strip__num small,
.page-head__sub, .addbar__hint,
.thing__title, .thing__due, .thing__right,
.done__toggle, .done__row, .done__note, .empty,
.day__date, .day__left,
.event__start, .event__end, .event__title, .event__meta, .event__cd,
.gpa-hero__label, .gpa-hero__note, .gpa-hero__num small,
.subject__credit, .subject__meta, .comp, .subject__need,
.gpa-foot__title, .gpa-foot__main, .scale__toggle, .scale__cell,
.footer__meta, .dock__btn, .mascot__hint,
.chat__who b, .chat__who span, .msg, .chat__chip { font-size: 13px; }

/* ---------- 背景：青绿极光 + 紫粉光斑 ---------- */
body::before {
  background:
    radial-gradient(38% 32% at 8% 4%, rgba(251, 113, 133, .50), transparent 70%),
    radial-gradient(42% 36% at 94% 6%, rgba(167, 139, 250, .62), transparent 72%),
    radial-gradient(50% 42% at 86% 92%, rgba(52, 211, 153, .55), transparent 72%),
    radial-gradient(42% 38% at 4% 90%, rgba(34, 211, 238, .55), transparent 72%),
    linear-gradient(158deg, #22D3EE 0%, #2DD4BF 30%, #34D399 56%, #0D9488 78%, #6D28D9 100%);
}
body::after {
  opacity: .22;
  background-image:
    radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px),
    radial-gradient(rgba(6, 78, 74, .18) 1px, transparent 1px);
  background-size: 5px 5px, 5px 5px;
  background-position: 0 0, 2px 2px;
}

/* 顶部文字压在亮色背景上，加深一点保证可读 */
.topbar__meta { color: #04332F; }

/* ---------- 背景装饰：收起像素太阳和云，改用柔光 ---------- */
.scene { display: none; }

/* hero 天空条重新设计 */
.hero__sky {
  height: 56px;
  background: linear-gradient(100deg, #67E8F9 0%, #2DD4BF 42%, #34D399 68%, #A78BFA 100%);
  border-bottom: var(--bd);
}
.hero__sky .hero__sun,
.hero__sky .hero__cloud { display: none; }
.hero__sky::before,
.hero__sky::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 62%);
}
.hero__sky::before { width: 150px; height: 150px; left: -46px; top: -88px; }
.hero__sky::after { width: 96px; height: 96px; right: 16%; top: -58px; opacity: .8; }

/* ---------- 描边 / 分隔线统一成墨绿色调 ---------- */
.row { border-top-color: rgba(11, 59, 54, .16); }
.goals { border-top-color: rgba(11, 59, 54, .2); }
.done { border-top-color: rgba(11, 59, 54, .18); }
.done__row { border-bottom-color: rgba(11, 59, 54, .12); }
.ddl-group__rule, .day__rule { background: rgba(11, 59, 54, .12); }
.gpa-strip__sep { background: rgba(11, 59, 54, .18); }
.dock__btn { border-right-color: rgba(11, 59, 54, .16); }
.event__time { border-right-color: rgba(11, 59, 54, .2); }
.subject__foot { border-top-color: rgba(11, 59, 54, .16); }
.scale { border-top-color: rgba(11, 59, 54, .18); }
.count__place { color: rgba(11, 59, 54, .75); border-top-color: rgba(11, 59, 54, .25); }
.count__date { color: rgba(11, 59, 54, .75); }
.chat { box-shadow: 8px 8px 0 rgba(11, 59, 54, .85); }

/* ---------- 状态色微调到新色系 ---------- */
.thing--overdue { background: #FFF1F4; }
.thing--checked { background: #EAFDF4; }
.subject--done { background: #EEFCF6; }
.goal { background: #FCFFFE; }
.btn:hover { background: #D8CCFF; }
.btn--green:hover { background: #5EEAD4; }
.link:hover { border-bottom-color: var(--sun-2); }
.check:hover { background: var(--sun-3); }
.dock__btn.is-active { color: var(--ink); }

/* 滚动条（桌面）顺一下色 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(11, 59, 54, .35); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
