/* =========================================================
   こころの庭 (Inner Garden) — スタイル
   INNERTRAVELER グリーン世界観：静か・有機的・余白・ゆっくり
   ========================================================= */

:root {
  /* 色 — あたたかい紙と、いろいろな緑 */
  /* 禅トーン：彩度を抑えた 紙・墨・苔・土・砂 */
  --bg: #f0ece2;
  --surface: #f8f5ec;
  --surface-2: #eae5d6;
  --ink: #373d34;
  --ink-soft: #76796d;
  --ink-faint: #a4a598;
  --line: #e1dbca;
  --green: #889680;
  --green-deep: #4a5642;
  --green-mist: #dde1d1;
  --soil: #c3b596;
  --soil-deep: #a4977c;
  --gold: #c0a368;
  --accent: #a98c79;

  /* かたち */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --shadow: 0 14px 40px -22px rgba(54, 66, 58, 0.5);
  --shadow-soft: 0 6px 22px -16px rgba(54, 66, 58, 0.55);
  --app-w: 480px;

  /* 動き */
  --ease: cubic-bezier(0.33, 0.9, 0.36, 1);
  --slow: 1.2s;

  --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(140% 60% at 50% -10%, #e7eede 0%, rgba(231,238,222,0) 55%),
    var(--bg);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}

/* ===== アプリの枠（スマホ風カード、デスクトップでも中央寄せ） ===== */
#app {
  width: 100%;
  max-width: var(--app-w);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, #eef3e6 0%, #f1eee4 38%);
  box-shadow: 0 0 80px -30px rgba(54, 66, 58, 0.4);
  overflow: hidden;
}

/* ===== トップバー ===== */
#topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 16px 20px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: transparent;
  pointer-events: none; /* 透明な帯がシーンのタップを邪魔しないように */
}
/* 画像の上でも文字が読めるよう、ごく淡いベール（上だけ） */
#topbar::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(237,239,229,0.62) 0%, rgba(237,239,229,0.16) 52%, rgba(237,239,229,0) 100%);
  pointer-events: none;
}
.wordmark, .topbar__learn { pointer-events: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1.2; }
.wordmark__ja {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.14em;
  color: var(--green-deep);
}
.wordmark__en {
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: var(--ink-faint);
  margin-top: 3px;
}
.wordmark__by {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* ===== メインビュー ===== */
#view {
  flex: 1;
  min-height: 0; /* flexbox 内スクロールを有効化 */
  display: flex;
  flex-direction: column;
  padding-bottom: 96px; /* tabbar 分 */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   庭のシーン（空・太陽・土・植物）
   ============================================================ */
.scene {
  position: relative;
  flex-shrink: 0;
  height: clamp(440px, 66vh, 640px);
  overflow: hidden;
  border-radius: 0;
  transition: background var(--slow) ease;
}
.scene__sky {
  position: absolute; inset: 0;
  /* 禅：霞んだ低彩度の空。間（余白）を大きく */
  background: linear-gradient(180deg,
    #c3cdc8 0%,
    var(--sky, #d2ddd2) 34%,
    #e1e2d5 58%,
    #ebe6d6 75%,
    #ece8dc 100%);
  transition: background var(--slow) ease;
}
/* 霞の中の、淡い光 */
.scene__glow {
  position: absolute; top: -6%; right: 6%;
  width: 72%; height: 58%;
  background: radial-gradient(circle at 62% 38%, rgba(244,238,221,0.65) 0%, rgba(236,230,212,0.26) 30%, rgba(236,230,212,0) 62%);
  pointer-events: none;
}
/* 霞ごしの、静かな陽（淡い円盤） */
.scene__sun {
  position: absolute;
  top: 13%; right: 17%;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f7f2e3 0%, #efe8d2 46%, rgba(238,231,210,0.45) 64%, rgba(238,231,210,0) 78%);
  animation: glow 9s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.04); }
}
/* 漂う光の粒（ごく控えめに） */
.scene__motes { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.mote {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(244, 240, 226, 0.6);
  box-shadow: 0 0 6px 1px rgba(238, 233, 214, 0.35);
  animation: float-up linear infinite;
}
@keyframes float-up {
  0% { transform: translateY(20px); opacity: 0; }
  20% { opacity: 0.55; }
  100% { transform: translateY(-180px) translateX(16px); opacity: 0; }
}

/* 遠近の丘（霞んだ奥行き） */
.scene__hills {
  position: absolute; left: 0; right: 0; bottom: 24%;
  width: 100%; height: 36%;
}
.scene__hills .hill--far { fill: #cdd4c4; opacity: 0.72; }
.scene__hills .hill--mid { fill: #afba9f; }

.scene__ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, #97a37b 0%, #8b9670 15%, var(--soil) 40%, var(--soil-deep) 100%);
}
.scene__ground::before {
  /* 草地のやわらかな縁 */
  content: '';
  position: absolute;
  left: 0; right: 0; top: -6px;
  height: 14px;
  background: radial-gradient(70% 100% at 50% 100%, rgba(168, 184, 148, 0.5) 0%, rgba(168, 184, 148, 0) 72%);
}

/* 植物の並び（大きく・奥行きのある花壇） */
.plants {
  position: absolute;
  left: 0; right: 0; bottom: 20%;
  height: 54%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 0 4px;
  z-index: 3;
}
.plant {
  position: relative;
  flex: 1 1 0;
  max-width: 94px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
  background: none; border: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.4s var(--ease);
  transform-origin: bottom center;
}
.plant:active { transform: scale(0.96); }
/* 奥行き：手前は大きく濃く、奥は小さく */
.plant:nth-child(odd)  { transform: translateY(-6px) scale(1.12); z-index: 3; }
.plant:nth-child(even) { transform: translateY(10px) scale(0.95); z-index: 2; }
.plant:nth-child(3n)   { z-index: 4; }
.plant svg { width: 100%; height: 100%; overflow: visible; display: block; filter: drop-shadow(0 5px 7px rgba(60, 66, 50, 0.1)); }
.plant__sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 6s ease-in-out infinite; }
.plant:nth-child(2n) .plant__sway { animation-duration: 7.3s; animation-delay: -1.5s; }
.plant:nth-child(3n) .plant__sway { animation-duration: 5.6s; animation-delay: -0.8s; }
@keyframes sway {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(1.6deg); }
}

/* シーン下端を本文へなじませる薄いベール */
.scene__veil {
  position: absolute; left: 0; right: 0; bottom: 0; height: 15%;
  background: linear-gradient(180deg, rgba(241,238,228,0) 0%, var(--bg) 90%);
  pointer-events: none; z-index: 5;
}
/* 「そろそろ水を」の小さな印 */
.plant__thirst {
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  opacity: 0.85;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}
.plant__label {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  white-space: nowrap;
  opacity: 0.72;
}

/* ============================================================
   ホーム本文
   ============================================================ */
.home-body { padding: 22px 22px 8px; }

.greeting {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--green-deep);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.greeting__sub { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 18px; }

/* 進捗（やさしく・比較なし） */
.stats {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.stat {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; justify-content: center;
}
.stat__num {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--green-deep);
  line-height: 1;
}
.stat__label { font-size: 10.5px; color: var(--ink-soft); margin-top: 6px; letter-spacing: 0.04em; }

/* 今日の水やりカード */
.today-card {
  background: linear-gradient(160deg, #ffffff 0%, #f3f6ec 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.today-card__eyebrow {
  font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 8px;
}
.today-card__title {
  font-family: var(--font-serif); font-size: 18px; color: var(--ink);
  margin-bottom: 6px; line-height: 1.6;
}
.today-card__text { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.today-card.is-done .today-card__title { color: var(--green-deep); }

/* 6つの感のリスト */
.senses-head {
  font-size: 11px; letter-spacing: 0.12em; color: var(--ink-faint);
  margin: 6px 2px 12px;
}
.sense-list { display: flex; flex-direction: column; gap: 10px; }
.sense-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
  text-align: left; width: 100%;
}
.sense-row:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.sense-row:active { transform: scale(0.99); }
.sense-row__dot {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  position: relative;
}
.sense-row__dot svg { width: 26px; height: 26px; }
.sense-row__main { flex: 1; min-width: 0; }
.sense-row__name {
  font-family: var(--font-serif); font-size: 14.5px; color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.sense-row__essence {
  font-family: var(--font-sans); font-size: 11px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto;
}
.sense-row__thirst { flex-shrink: 0; }
.sense-row__bar {
  height: 5px; border-radius: 99px; background: var(--surface-2);
  overflow: hidden; flex: 1;
}
.sense-row__fill { height: 100%; border-radius: 99px; transition: width 0.8s var(--ease); }
.sense-row__thirst { font-size: 11px; flex-shrink: 0; opacity: 0.8; }

/* 気づきカード（ふりかえり/ホーム共通） */
.insight-card {
  background: var(--green-mist);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--green-deep);
  line-height: 1.9;
}
.insight-card b { font-weight: 700; }
.insight-card .insight-line { display: flex; gap: 8px; }
.insight-card .insight-line + .insight-line { margin-top: 8px; }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  color: #fcfbf3;
  background: var(--green-deep);
  border: none; border-radius: 99px;
  padding: 14px 22px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 10px 24px -14px rgba(68, 95, 72, 0.9);
  transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #3a5440; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn--ghost {
  background: transparent; color: var(--green-deep);
  border: 1.5px solid var(--green); box-shadow: none;
}
.btn--ghost:hover { background: rgba(126,154,106,0.1); }
.btn--soft {
  background: var(--surface); color: var(--green-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.btn--soft:hover { background: #fff; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { width: auto; flex: 1; }
.btn--text {
  background: none; box-shadow: none; color: var(--ink-faint);
  font-weight: 500; font-size: 12.5px; width: auto; padding: 8px 10px;
}
.btn--text:hover { color: var(--ink-soft); background: none; }

/* ============================================================
   タブバー
   ============================================================ */
#tabbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 84px;
  padding: 8px 18px calc(8px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(180deg, rgba(241,238,228,0) 0%, var(--bg) 32%);
  z-index: 20;
}
.tab {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--ink-faint); font-family: var(--font-sans);
  flex: 1; padding: 6px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.tab__icon { font-size: 18px; }
.tab__label { font-size: 10px; letter-spacing: 0.08em; }
.tab[aria-current="true"] { color: var(--green-deep); }
.tab--cta {
  flex: 0 0 auto;
  background: var(--green-deep);
  color: #fbfaf3;
  width: 60px; height: 60px;
  border-radius: 50%;
  justify-content: center;
  margin-top: -22px;
  box-shadow: 0 14px 28px -12px rgba(68,95,72,0.95);
  transition: transform 0.2s var(--ease);
}
.tab--cta:active { transform: scale(0.94); }
.tab--cta .tab__drop { font-size: 22px; }
.tab--cta .tab__label { font-size: 9px; }
.tab--cta.is-pulsing { animation: cta-pulse 2.6s ease-in-out infinite; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 14px 28px -12px rgba(68,95,72,0.95); }
  50% { box-shadow: 0 14px 28px -12px rgba(68,95,72,0.95), 0 0 0 8px rgba(126,154,106,0.14); }
}

/* ============================================================
   オーバーレイ（オンボーディング / 実践フロー / 詳細）
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: rgba(40, 48, 42, 0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade-in 0.4s ease;
}
.overlay.is-hidden { display: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.sheet {
  width: 100%;
  max-width: var(--app-w);
  background: linear-gradient(180deg, #f4f1e7 0%, #eef2e8 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: sheet-up 0.5s var(--ease);
}
@keyframes sheet-up { from { transform: translateY(26px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.sheet__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 6px;
}
.sheet__close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--ink-faint); line-height: 1;
  width: 34px; height: 34px; border-radius: 50%;
}
.sheet__close:hover { background: rgba(0,0,0,0.04); color: var(--ink-soft); }
.sheet__progress { display: flex; gap: 6px; }
.sheet__pip { width: 18px; height: 4px; border-radius: 99px; background: var(--line); transition: background 0.3s; }
.sheet__pip.is-active { background: var(--green); }
.sheet__pip.is-done { background: var(--green-mist); }

.sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 26px 26px;
  display: flex;
  flex-direction: column;
}
.sheet__footer {
  padding: 16px 26px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(238,242,232,0) 0%, #eef2e8 30%);
}

/* フローのカード（1画面ずつ） */
.card-step { animation: step-in 0.45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.step-eyebrow {
  font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.step-eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; }
.step-title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  white-space: pre-wrap;
}
.step-text {
  font-size: 14px; color: var(--ink-soft); line-height: 2;
  white-space: pre-wrap; margin-bottom: 8px;
}
.step-hint { font-size: 11.5px; color: var(--ink-faint); margin: 10px 0 2px; }

/* テキスト入力 */
.field { margin-top: 16px; }
.field__label { font-size: 12.5px; color: var(--green-deep); font-weight: 500; margin-bottom: 8px; }
.field__optional { font-size: 10px; color: var(--ink-faint); margin-left: 6px; }
textarea.input, input.input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px未満だと iOS で入力時に自動ズームするため */
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  resize: none;
  line-height: 1.8;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input { min-height: 92px; }
.input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(126,154,106,0.14);
}
.input::placeholder { color: var(--ink-faint); }
.name-fields { display: flex; gap: 12px; margin-top: 20px; }
.name-field { flex: 1; min-width: 0; }
.name-field .field__label { margin-bottom: 7px; }
.field-multi { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.field-multi__item { display: flex; align-items: center; gap: 12px; }
.field-multi__num {
  font-family: var(--font-serif); font-size: 17px; color: var(--green);
  width: 22px; flex-shrink: 0; text-align: center;
}

/* セルフ・コンパッション専用 */
.compassion-touch {
  text-align: center;
  padding: 8px 0 4px;
}
.compassion-touch__heart {
  font-size: 40px; display: block; margin: 8px auto 14px;
  animation: heartbeat 3.4s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.12); }
  28% { transform: scale(1); }
}
.compassion-step {
  background: var(--surface);
  border-radius: var(--r);
  padding: 18px 20px;
  margin-top: 14px;
  border: 1px solid var(--line);
}
.compassion-step__tag {
  font-size: 10px; letter-spacing: 0.16em; color: var(--accent);
  margin-bottom: 8px;
}
.compassion-step__text { font-size: 14.5px; line-height: 1.95; color: var(--ink); white-space: pre-wrap; }
.kind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kind-chip {
  font-size: 11.5px; color: var(--green-deep);
  background: var(--green-mist); border: none; border-radius: 99px;
  padding: 7px 13px; cursor: pointer; font-family: var(--font-sans);
  transition: transform 0.15s var(--ease);
}
.kind-chip:active { transform: scale(0.95); }

/* オンボーディングのスライダー（ベースライン） */
.baseline-list { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.baseline-item { }
.baseline-item__q {
  font-size: 13.5px; color: var(--ink); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.baseline-item__dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--green-mist), var(--green));
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green);
  box-shadow: var(--shadow-soft); cursor: pointer;
  transition: transform 0.15s var(--ease);
}
.slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); cursor: pointer;
}
.slider-ends {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--ink-faint); margin-top: 7px;
}

/* 気分チェックイン */
.mood-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 20px;
}
.mood {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--r); padding: 16px 8px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform 0.18s var(--ease), border-color 0.2s, background 0.2s;
  font-family: var(--font-sans);
}
.mood:hover { transform: translateY(-2px); }
.mood.is-selected { border-color: var(--green); background: var(--green-mist); }
.mood__emoji { font-size: 30px; }
.mood__label { font-family: var(--font-serif); font-size: 14px; color: var(--ink); }
.mood__note { font-size: 10px; color: var(--ink-faint); }

/* ============================================================
   水やり完了の演出
   ============================================================ */
.done-scene { text-align: center; padding: 22px 6px 12px; }
/* 静かな感嘆：花が伸びて、池の波紋のように光がひろがる */
.done-stage { position: relative; width: 212px; height: 206px; margin: 2px auto 18px; display: grid; place-items: center; }
.done-glow {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,238,221,0.92) 0%, rgba(238,230,210,0) 66%);
  opacity: 0; animation: done-glow 1.7s var(--ease) 0.12s both;
}
@keyframes done-glow { 0% { transform: scale(0.4); opacity: 0; } 26% { opacity: 0.9; } 100% { transform: scale(1.55); opacity: 0; } }
.done-ripple {
  position: absolute; width: 110px; height: 110px; border-radius: 50%;
  border: 1.5px solid rgba(192,163,104,0.5); opacity: 0;
}
.done-ripple--1 { animation: done-ripple 1.7s var(--ease) 0.2s both; }
.done-ripple--2 { animation: done-ripple 1.7s var(--ease) 0.55s both; }
.done-ripple--3 { animation: done-ripple 1.7s var(--ease) 0.9s both; }
@keyframes done-ripple { 0% { transform: scale(0.32); opacity: 0; } 18% { opacity: 0.65; } 100% { transform: scale(2.5); opacity: 0; } }
.done-plant { position: relative; width: 170px; height: 190px; z-index: 2; }
.done-plant svg { width: 100%; height: 100%; overflow: visible; }
.done-plant--grow { transform-origin: 50% 100%; animation: plant-rise 1s var(--ease) 0.1s both; }
@keyframes plant-rise {
  0% { transform: scaleY(0.6) translateY(6px); opacity: 0; }
  32% { opacity: 1; }
  72% { transform: scaleY(1.035) translateY(0); }
  100% { transform: scaleY(1) translateY(0); }
}
.done-mote {
  position: absolute; bottom: 36%; left: 50%; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(200,176,118,0.75); box-shadow: 0 0 6px 1px rgba(220,206,160,0.5);
  opacity: 0; animation: done-rise 1.9s var(--ease) var(--d, 0.4s) both;
}
@keyframes done-rise {
  0% { transform: translate(-50%, 0) scale(0.4); opacity: 0; }
  25% { opacity: 0.85; }
  100% { transform: translate(calc(-50% + var(--mx, 0px)), -96px) scale(1); opacity: 0; }
}
.done-grow-note {
  display: inline-block;
  font-size: 11px; color: var(--green-deep);
  background: var(--green-mist); border-radius: 99px;
  padding: 5px 14px; margin-bottom: 18px;
  animation: pop 0.5s var(--ease) 0.9s both;
}
@keyframes pop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done-closing {
  font-family: var(--font-serif); font-size: 19.5px; color: var(--ink);
  line-height: 2; margin: 6px auto 14px; max-width: 18em;
}
.done-sub {
  font-size: 12px; color: var(--ink-faint);
  letter-spacing: 0.04em; line-height: 1.85;
}
.done-sub__seg { white-space: nowrap; } /* 「2つめ」などが途中で改行しないように */
.done-milestone {
  font-size: 12.5px; color: var(--accent); margin-top: 22px; line-height: 1.85;
}

/* 詳細シート（植物をタップ） */
.detail-head { text-align: center; padding: 6px 0 14px; }
.detail-plant { width: 130px; height: 150px; margin: 0 auto 6px; }
.detail-plant svg { width: 100%; height: 100%; overflow: visible; }
.detail-name { font-family: var(--font-serif); font-size: 22px; color: var(--ink); }
.detail-essence { font-size: 12.5px; color: var(--accent); margin-top: 4px; letter-spacing: 0.06em; }
.detail-about {
  font-size: 13px; color: var(--ink-soft); line-height: 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; margin: 16px 0;
}
.detail-method {
  font-size: 11px; color: var(--ink-faint); text-align: center;
  letter-spacing: 0.08em; margin-bottom: 18px;
}
.detail-method b { color: var(--green-deep); font-weight: 700; }

/* 過去の記録（タイムライン） */
.entries { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.entry {
  display: flex; gap: 14px; padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child { border-bottom: none; }
.entry__rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.entry__node { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.entry__line { width: 2px; flex: 1; background: var(--line); margin-top: 4px; }
.entry__body { flex: 1; min-width: 0; }
.entry__top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.entry__date { font-size: 11px; color: var(--ink-faint); }
.entry__sense { font-family: var(--font-serif); font-size: 13px; color: var(--green-deep); }
.entry__mood { font-size: 13px; }
.entry__text { font-size: 13px; color: var(--ink); line-height: 1.85; white-space: pre-wrap; }
.entry__text .q { color: var(--ink-faint); font-size: 11px; display: block; margin-top: 6px; }

.lookback-body { padding: 74px 22px 22px; } /* 上はフローティングのヘッダー分をあける */
.section-title {
  font-family: var(--font-serif); font-size: 16px; color: var(--green-deep);
  margin: 24px 2px 12px; letter-spacing: 0.04em;
}
.section-title:first-child { margin-top: 6px; }

.empty {
  text-align: center; color: var(--ink-faint); font-size: 13px;
  padding: 50px 20px; line-height: 2;
}
.empty__leaf { font-size: 34px; display: block; margin-bottom: 12px; opacity: 0.6; }

/* 約束チェック */
.promise-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px; margin-top: 16px;
}
.promise-card__text {
  font-family: var(--font-serif); font-size: 16px; color: var(--ink);
  line-height: 1.7; margin: 10px 0 16px; padding-left: 12px;
  border-left: 3px solid var(--green-mist);
}

/* ============================================================
   しずく・きらめき FX
   ============================================================ */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.drop {
  position: absolute; top: -20px;
  width: 8px; height: 12px;
  background: rgba(140, 190, 210, 0.85);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: drop-fall var(--dur, 1s) ease-in forwards;
}
@keyframes drop-fall {
  0% { transform: translateY(0) scaleY(0.8); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(var(--dist, 60vh)) scaleY(1.2); opacity: 0; }
}
.spark {
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff3cf;
  box-shadow: 0 0 8px 2px rgba(255,235,170,0.8);
  animation: spark-pop 0.9s ease-out forwards;
}
@keyframes spark-pop {
  0% { transform: scale(0) translate(0,0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1.1) translate(var(--dx,0), var(--dy,0)); opacity: 0; }
}

/* ============================================================
   レスポンシブ & アクセシビリティ
   ============================================================ */
@media (max-height: 680px) {
  .scene { height: clamp(360px, 56vh, 520px); }
}
@media (min-width: 520px) {
  body { padding: 24px 0; align-items: flex-start; }
  #app { height: calc(100vh - 48px); height: calc(100dvh - 48px); border-radius: 34px; }
  .scene { border-radius: 34px 34px 0 0; }
  .overlay { padding: 24px 0; }
  .sheet { border-radius: 30px; max-height: calc(100dvh - 48px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.08s !important;
  }
  .scene__sun, .mote, .plant__sway { animation: none !important; }
}

/* ============================================================
   トップバーの「しくみ」ボタン
   ============================================================ */
.wordmark__by { display: block; }
.topbar__learn {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 99px; padding: 7px 13px; cursor: pointer;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 500;
  color: var(--green-deep); box-shadow: var(--shadow-soft);
  transition: transform 0.15s var(--ease), background 0.2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.topbar__learn:hover { background: #fff; }
.topbar__learn:active { transform: scale(0.96); }
.topbar__learn { align-items: center; line-height: 1; }
.topbar__learn-ic { font-size: 12px; color: var(--accent); display: inline-flex; align-items: center; line-height: 0; }
.topbar__learn-tx { display: inline-flex; align-items: center; }

/* ============================================================
   エンブレム（象徴の植物アート）
   ============================================================ */
.emblem-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.welcome-emblem {
  width: 132px; height: 132px; margin: 4px auto 10px;
  animation: emblem-in 1s var(--ease) both;
}
.learn-hero { width: 96px; height: 96px; margin: 4px auto 6px; opacity: 0.96; }

@keyframes emblem-in { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   ローンチ（スプラッシュ）スクリーン
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 72% at 50% 36%, #fbf6e6 0%, rgba(251,246,230,0) 62%),
    linear-gradient(180deg, #eef3e6 0%, #e7eedd 100%);
  transition: opacity 0.85s ease, visibility 0.85s ease;
}
.splash.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.splash__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.splash__emblem {
  width: 172px; height: 172px;
  animation: emblem-in 1.2s var(--ease) both, emblem-float 5s ease-in-out 1.2s infinite;
}
.splash .emblem-plant {
  transform-box: fill-box; transform-origin: 50% 100%;
  animation: plant-grow 1.4s var(--ease) 0.15s both;
}
@keyframes plant-grow {
  0% { transform: scaleY(0.18); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 1; }
}
@keyframes emblem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.splash__word {
  font-family: var(--font-serif); font-weight: 600; font-size: 30px;
  letter-spacing: 0.16em; color: var(--green-deep); margin-top: 10px;
  animation: rise 0.9s var(--ease) 0.4s both;
}
.splash__en {
  font-size: 10px; letter-spacing: 0.5em; color: var(--ink-faint); margin-top: 8px;
  animation: rise 0.9s var(--ease) 0.55s both;
}
.splash__tag {
  font-family: var(--font-serif); font-size: 14px; color: var(--accent);
  letter-spacing: 0.1em; margin-top: 20px;
  animation: rise 0.9s var(--ease) 0.75s both;
}
.splash__by {
  position: absolute; bottom: calc(34px + env(safe-area-inset-bottom));
  font-size: 10px; letter-spacing: 0.1em; color: var(--ink-faint);
  animation: rise 0.9s var(--ease) 0.95s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   参考ページ：自己肯定感のしくみ
   ============================================================ */
.learn-reader { padding-top: 6px; }
.learn-title {
  font-family: var(--font-serif); font-weight: 600; font-size: 25px;
  text-align: center; color: var(--ink); letter-spacing: 0.04em; margin-bottom: 14px;
}
.learn-lead {
  font-size: 13.5px; line-height: 2; color: var(--green-deep);
  background: var(--green-mist); border-radius: var(--r);
  padding: 16px 18px; margin-bottom: 8px;
}
.learn-sec { margin-top: 30px; }
.learn-sec__eyebrow {
  font-size: 10px; letter-spacing: 0.22em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 8px;
}
.learn-sec__title {
  font-family: var(--font-serif); font-weight: 600; font-size: 19px;
  color: var(--ink); margin-bottom: 12px; line-height: 1.6;
}
.learn-p { font-size: 13.5px; line-height: 2.05; color: var(--ink-soft); margin-bottom: 10px; }
.learn-chips { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.learn-chip {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 15px;
}
.learn-chip__dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.02);
}
.learn-chip__name {
  font-family: var(--font-serif); font-size: 14px; color: var(--ink);
  margin-bottom: 3px; letter-spacing: 0.02em;
}
.learn-chip__role { font-size: 12px; line-height: 1.8; color: var(--ink-soft); }
.learn-note {
  font-size: 11.5px; line-height: 1.85; color: var(--ink-faint);
  margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--green-mist);
}
.learn-disclaimer {
  font-size: 11px; line-height: 1.9; color: var(--ink-faint);
  background: var(--surface-2); border-radius: var(--r-sm);
  padding: 14px 16px; margin-top: 30px;
}
.learn-source { color: var(--ink-faint); opacity: 0.85; }

.learn-link {
  display: block; width: 100%; margin-top: 18px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.02em; text-align: center; padding: 6px;
  transition: opacity 0.2s; -webkit-tap-highlight-color: transparent;
}
.learn-link:hover { opacity: 0.7; }

/* 実践フローの補助リンク（えらばずに進む／植物をかえる） */
.flow-aux { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.flow-aux__sep { color: var(--ink-faint); font-size: 11px; }
.flow-aux .btn--text { font-size: 11.5px; padding: 6px 8px; }

/* ============================================================
   ふりかえり：切替トグル＋積み重ねマップ
   ============================================================ */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 99px; padding: 4px; margin: 20px 0 20px; gap: 2px; }
.seg__btn {
  border: none; background: none; cursor: pointer; font-family: var(--font-sans);
  font-size: 12.5px; color: var(--ink-soft); padding: 7px 18px; border-radius: 99px;
  transition: background 0.2s, color 0.2s; -webkit-tap-highlight-color: transparent;
}
.seg__btn.is-active { background: var(--surface); color: var(--green-deep); box-shadow: var(--shadow-soft); font-weight: 700; }

.theme-lead { font-size: 12px; color: var(--ink-faint); margin: 0 2px 16px; letter-spacing: 0.02em; }
.theme-map { display: flex; flex-direction: column; }
.theme-node { display: flex; gap: 12px; padding-bottom: 16px; }
.theme-node__rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 40px; }
.theme-node__plant { width: 40px; height: 48px; }
.theme-node__plant svg { width: 100%; height: 100%; overflow: visible; }
.theme-node__line { width: 2px; flex: 1; border-radius: 2px; margin-top: 2px; min-height: 8px; }
.theme-node__body { flex: 1; min-width: 0; padding-top: 6px; }
.theme-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%;
  background: none; border: none; cursor: pointer; padding: 0 0 10px; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.theme-head__name { font-family: var(--font-serif); font-size: 15.5px; color: var(--ink); }
.theme-head__count { font-size: 11px; white-space: nowrap; font-weight: 700; }
.theme-words { display: flex; flex-direction: column; gap: 7px; }
.theme-word {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 10px 13px; font-size: 13px; color: var(--ink); line-height: 1.7;
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
}
.theme-word__date { font-size: 10px; color: var(--ink-faint); flex-shrink: 0; }
.theme-word--empty { color: var(--ink-faint); background: none; border: 1px dashed var(--line); font-size: 12px; }
.theme-more {
  background: none; border: none; cursor: pointer; color: var(--ink-soft);
  font-size: 11.5px; font-family: var(--font-sans); padding: 5px 2px; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.theme-more:hover { color: var(--green-deep); }
.theme-empty { font-size: 11.5px; color: var(--ink-faint); margin-top: 6px; padding: 14px 2px 0; border-top: 1px solid var(--line); }
.theme-empty__chip { background: none; border: none; cursor: pointer; font-size: 12px; font-family: var(--font-serif); padding: 2px 6px; -webkit-tap-highlight-color: transparent; }
.theme-empty__chip:hover { opacity: 0.7; }

/* 時系列エントリのタップ可視化 */
.entry--tap { cursor: pointer; }
.entry__go { margin-left: 4px; color: var(--ink-faint); font-size: 15px; align-self: center; }
.entry--tap:active .entry__body { opacity: 0.7; }

/* 完了画面：積み重ねの可視化 */
.done-collection {
  font-size: 12px; color: var(--green-deep); background: var(--green-mist);
  border-radius: 99px; padding: 6px 15px; display: inline-block; margin-top: 14px;
}
.done-collection-link { display: block; margin: 12px auto 0; }

/* 心の天気への、やさしい一言（実践カードの先頭・そっと添える静かな一行） */
.mood-ack {
  font-size: 12px; color: var(--ink-faint); margin-bottom: 22px;
  letter-spacing: 0.03em; display: flex; align-items: center; gap: 7px;
}

/* 実践カードの見出しまわり：小ラベル→問い→そえ書き を一かたまりに寄せる */
.practice-step .step-eyebrow { margin-bottom: 9px; }
.practice-step .step-title { margin-bottom: 5px; }
.practice-step .step-text { margin-bottom: 6px; }

/* 節目（特別なふりかえり） */
.today-card--special { background: linear-gradient(160deg, #fffdf4 0%, #f6f0df 100%); border-color: #e9dab2; }
.today-card--special .today-card__eyebrow { color: var(--gold); letter-spacing: 0.14em; }
.today-card__teaser { font-size: 11.5px; color: var(--gold); margin: -2px 0 12px; letter-spacing: 0.02em; }
.milestone-title { color: var(--green-deep); }
.entry--milestone .entry__text { color: var(--green-deep); }

/* ============================================================
   ライン・アイコン（禅・ミニマル）
   ============================================================ */
.ic { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.16em; flex-shrink: 0; }
.insight-line .ic { width: 17px; height: 17px; margin-top: 1px; }
.tab__icon .ic, .tab__drop .ic { width: 22px; height: 22px; }
.tab--cta .tab__drop .ic { width: 26px; height: 26px; }
.topbar__learn-ic .ic { width: 17px; height: 17px; }
.mood__emoji .ic { width: 32px; height: 32px; color: var(--ink-soft); }
.mood.is-selected .mood__emoji .ic { color: var(--green-deep); }
.empty__leaf .ic { width: 34px; height: 34px; }
.compassion-touch__heart { color: var(--accent); }
.compassion-touch__heart .ic { width: 42px; height: 42px; }
.plant__thirst, .sense-row__thirst { color: #94a7ac; }
.plant__thirst .ic, .sense-row__thirst .ic { width: 13px; height: 13px; }
.entry__mood .ic { width: 16px; height: 16px; color: var(--ink-soft); }
.mood-ack .ic { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .splash__emblem, .splash .emblem-plant, .splash__word, .splash__en, .splash__tag, .splash__by, .welcome-emblem { animation: none !important; }
}

/* ============================================================
   育ち（進捗）・凡例・このアプリのしくみ・リマインダー
   ============================================================ */

/* トップバー：しくみ＋リズムの2ボタン */
.topbar__actions { display: flex; align-items: flex-start; gap: 8px; pointer-events: auto; }
.topbar__icon { padding: 7px 9px; }

/* stat：庭のいま（段階語＋ そっと回数） */
.stat__num--word { font-size: 21px; line-height: 1.25; }
.stat__hint { font-size: 9.5px; color: var(--ink-faint); margin-top: 4px; letter-spacing: 0.03em; }

/* 6つの植物リスト＝凡例（形＋感名＋植物名）＋ 育ち（段階語＋帯） */
.senses-head__sub { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.04em; margin: 2px 2px 12px; }
.sense-row__plant {
  width: 40px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: end center; overflow: hidden;
  background: var(--surface-2);
}
.sense-row__plant svg { width: 34px; height: 44px; overflow: visible; }
.sense-row__plantname {
  font-family: var(--font-serif); font-size: 10.5px; color: var(--ink-faint);
  white-space: nowrap; flex-shrink: 0;
}
.sense-row__grow { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.sense-row__stage {
  font-family: var(--font-serif); font-size: 11px; color: var(--green-deep);
  letter-spacing: 0.06em; white-space: nowrap; flex-shrink: 0; min-width: 2.6em;
}
.sense-row__rise {
  font-family: var(--font-serif); font-size: 10.5px; color: var(--accent);
  white-space: nowrap; flex-shrink: 0; animation: rise 0.6s var(--ease) both;
}

/* 庭シーン：タップ/フォーカス時だけ、そっと植物名 */
.plant__caption {
  position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 10px; color: var(--green-deep);
  background: rgba(248, 245, 236, 0.86); padding: 2px 8px; border-radius: 99px;
  white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.25s; z-index: 6;
}
.plant:active .plant__caption, .plant:focus-visible .plant__caption { opacity: 1; }

/* このアプリの、しくみ（しくみページ冒頭カード） */
.how-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 18px 16px; margin: 4px 0;
}
.how-card__eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-serif); font-weight: 600; font-size: 15px;
  color: var(--green-deep); letter-spacing: 0.04em; margin-bottom: 4px;
}
.how-card__eyebrow .ic { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
.how-card__lead { font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 14px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.how-step { display: flex; gap: 12px; align-items: flex-start; }
.how-step__n {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-mist); color: var(--green-deep);
  font-family: var(--font-serif); font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.how-step__body { display: flex; flex-direction: column; }
.how-step__title { font-family: var(--font-serif); font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.how-step__text { font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); }
.how-principle {
  font-size: 12px; line-height: 1.9; color: var(--green-deep);
  background: var(--green-mist); border-radius: var(--r-sm);
  padding: 13px 15px; margin-top: 16px;
}

/* リマインダー（水やりのリズム） */
.rhythm-seg { display: flex; width: 100%; margin: 16px 0 8px; }
.rhythm-seg .seg__btn { flex: 1; padding: 8px 6px; }
.rhythm-hint { display: block; margin: 18px auto 4px; }
.rhythm-nudge { display: block; margin: 16px auto 0; }

/* ユーティリティ */
.hidden { display: none !important; }
.center { text-align: center; }
.spacer { flex: 1; }
.fade-key { animation: fade-in 0.5s ease; }
