/* ============================================================
   暖案 · 改版层（纸色）
   ------------------------------------------------------------
   加在 design.css 之后。删掉 index.html 里这一行，颜色回到冷白。
   文案、节气、茶诗不在这一层，撤回那些要靠 _备份-暖案前/。

   令牌换掉之后，design.css 里走 var() 的地方一起变暖。
   styles.css 里还有写死的白底，这里把常用的面再盖一遍。
   朱砂不在这一层：做成的印留到后面，平时一处都不出现。
   ============================================================ */

:root {
  --c-bg: #F3ECE0;
  --c-surface: #FBF7EF;
  --c-surface-2: #F7F1E6;
  --c-line: #E6DCCE;
  --c-line-strong: #C9BBA8;
  --c-ink: #2B2622;
  --c-ink-2: #6A6056;
  --c-ink-3: #72685D;
  --c-accent: #3F6B57;
  --c-accent-dark: #345A49;
  --c-accent-soft: #E7F0EA;
  --c-model: #5F4FC6;
  --c-model-soft: #F0EBE3;
  --c-warn: #8A4B3C;
  --c-danger: #8A4B3C;
  --c-success: #3F6B57;
  --c-tea: #8A5C1E;
  --r-card: 20px;
  --r-row: 14px;
  --shadow-1: 0 1px 2px rgba(90, 60, 30, .06);
  --shadow-2: 0 10px 28px -14px rgba(90, 60, 30, .16);
  --bg: #F3ECE0;
  --text: #2B2622;
  --muted: #6A6056;
  --primary: #3F6B57;
  --primary-dark: #345A49;
  --danger: #8A4B3C;
  --kai: "KaiTi", "STKaiti", "Kaiti SC", "楷体", serif;
  --time-face: "Palatino Linotype", "Iowan Old Style", "Songti SC", "Times New Roman", serif;
}

html[data-season="spring"] { --c-season: #3F6B57; }
html[data-season="summer"] { --c-season: #8A5C1E; }
html[data-season="autumn"] { --c-season: #8A4B3C; }
html[data-season="winter"] { --c-season: #6A6056; }

html, body {
  background-color: var(--c-bg);
  color: var(--c-ink);
}
body.tea-paper {
  background-image: radial-gradient(rgba(90, 62, 32, .045) 0.55px, transparent 0.55px);
  background-size: 3px 3px;
}

.card,
.goal-tags-card,
.daily-item,
.sched-item,
.habit-card,
.habit-rec-card,
.ov-card,
.empty-card,
.target-card,
.reflect-card,
.find-item,
.task-option,
.weekly-stat,
.stat-item,
.history-item,
.flash-note-item,
#context-menu,
#goals-menu {
  background: var(--c-surface);
  border-color: var(--c-line);
}

.mode-switch,
.duration-selector,
.bottom-nav,
.sheet,
.flash-note-modal {
  background: var(--c-surface);
}

.tea-kicker,
.tea-poem,
.seal-label {
  font-family: var(--kai);
}
.tea-kicker { color: var(--c-season, var(--c-tea)); }
.tea-poem { color: var(--c-ink); }
.timer-time { font-family: var(--time-face); color: var(--c-tea); }

.ov-sub {
  margin-top: 2px;
  font-size: var(--fs-12);
  color: var(--c-ink-2);
  line-height: 1.4;
}
.strict-nums {
  margin-top: 12px;
  font-size: var(--fs-13);
  color: var(--c-ink-2);
}
.strict-nums summary {
  cursor: pointer;
  color: var(--c-ink-2);
  list-style: none;
}
.strict-nums summary::-webkit-details-marker { display: none; }
.strict-nums summary::before { content: "▸ "; }
.strict-nums[open] summary::before { content: "▾ "; }
.strict-nums p { margin: 8px 0 0; }

.cup-enough {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  color: var(--c-ink-2);
  font-size: var(--fs-13);
  font-family: var(--kai);
}
.cup-enough[hidden] { display: none; }
.cup-enough:hover { color: var(--c-ink); }

/* 放下也算一盏：底部升起的一句加油。
   浮在导航之上（z 比 .bottom-nav 的 200 高），几秒淡出；
   pointer-events:none，不挡导航、不挡计时按钮。 */
.put-down-hint {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 14px);
  z-index: 6200;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 40px);
  padding: 10px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  box-shadow: 0 8px 28px -12px rgba(90, 60, 30, .28);
  color: var(--c-tea);
  font-family: var(--kai);
  font-size: var(--fs-13);
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .32s ease, transform .32s cubic-bezier(.22, .8, .3, 1);
  pointer-events: none;
}
.put-down-hint[hidden] { display: none; }
.put-down-hint.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.put-down-hint-mark {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}
