/* ═══ Anchor HQ — Habits Section ("The Garden") ═══ */
/* Stardew Valley garden / farm plot: soil rows, bloom animations, streak flames */


/* ─── Keyframes ─── */

@keyframes garden-bloom {
  0%   { transform: scale(0.4) rotate(-8deg); opacity: 0; }
  50%  { transform: scale(1.15) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes garden-sprout {
  0%   { transform: scaleY(0); transform-origin: bottom center; opacity: 0; }
  60%  { transform: scaleY(1.1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes garden-ring-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(108, 191, 74, 0.15)); }
  50%      { filter: drop-shadow(0 0 12px rgba(108, 191, 74, 0.35)); }
}

@keyframes garden-check-pop {
  0%   { transform: scale(0.6); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes garden-flame-flicker {
  0%, 100% { transform: scaleY(1) translateY(0); }
  25%      { transform: scaleY(1.12) translateY(-1px); }
  50%      { transform: scaleY(0.95) translateY(0); }
  75%      { transform: scaleY(1.08) translateY(-1px); }
}

@keyframes garden-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes garden-sway {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-1.5deg); }
  75%      { transform: rotate(1.5deg); }
}

@keyframes garden-pulse-green {
  0%, 100% { box-shadow: 0 0 6px rgba(108, 191, 74, 0.15); }
  50%      { box-shadow: 0 0 16px rgba(108, 191, 74, 0.35); }
}

@keyframes garden-fade-in {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PROGRESS AREA — Garden Overview Ring + Streaks
   ═══════════════════════════════════════════════════════════════════════════ */

.garden-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 16px;
  margin-bottom: 16px;
  background:
    /* Subtle soil texture */
    radial-gradient(ellipse at 30% 70%, rgba(107, 68, 35, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(107, 68, 35, 0.04) 0%, transparent 50%),
    var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

/* Decorative top soil stripe */
.garden-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--wood-dark, #3a2415) 0%,
    var(--wood, #6b4423) 20%,
    var(--earth, #5c4a32) 50%,
    var(--wood, #6b4423) 80%,
    var(--wood-dark, #3a2415) 100%
  );
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Fence-post bottom trim */
.garden-progress::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--wood-dark, #3a2415),
    var(--wood, #6b4423) 50%,
    var(--wood-dark, #3a2415)
  );
  opacity: 0.5;
}


/* ─── Progress Ring ─── */

.garden-progress-ring {
  width: 140px;
  height: 140px;
  position: relative;
  flex-shrink: 0;
}

.garden-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.garden-ring-bg {
  fill: none;
  stroke: var(--border, rgba(139, 90, 43, 0.25));
  stroke-width: 6;
}

.garden-ring-fill {
  fill: none;
  stroke: var(--green, #6cbf4a);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 264 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 4px rgba(108, 191, 74, 0.2));
}

/* Glow pulse when ring is over 75% filled (apply .high-progress class via JS) */
.garden-progress-ring.high-progress .garden-ring-fill {
  filter: drop-shadow(0 0 8px rgba(108, 191, 74, 0.4));
  animation: garden-ring-glow 2s ease-in-out infinite;
}

.garden-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}

.garden-ring-pct {
  font-family: var(--font-pixel, 'Press Start 2P', monospace);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text, #e8dcc8);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  line-height: 1;
}

.garden-ring-label {
  font-size: 0.7rem;
  color: var(--muted, #9b8b74);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: 4px;
}


/* ─── Streak Counters ─── */

.garden-streaks {
  display: flex;
  gap: 24px;
}

.garden-streak-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-sm, 4px);
  background: var(--panel-soft, #252019);
  border: 1px solid var(--border, rgba(139, 90, 43, 0.25));
  transition: border-color 200ms ease, box-shadow 200ms ease;
  min-width: 72px;
}

.garden-streak-item:hover {
  border-color: var(--border-accent, rgba(218, 165, 32, 0.4));
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.08);
}

.garden-streak-flame {
  font-size: 1.3rem;
  line-height: 1;
  animation: garden-flame-flicker 1.5s ease-in-out infinite;
}

.garden-streak-count {
  font-family: var(--font-pixel, 'Press Start 2P', monospace);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold, #daa520);
  letter-spacing: 0.08em;
  text-shadow: 0 0 6px rgba(218, 165, 32, 0.2);
  line-height: 1;
}

.garden-streak-label {
  font-size: 0.68rem;
  color: var(--muted, #9b8b74);
  letter-spacing: 0.01em;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CHECKLIST CARD — The Garden Rows
   ═══════════════════════════════════════════════════════════════════════════ */

.garden-checklist-card {
  background:
    /* Soil texture */
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 46px,
      rgba(107, 68, 35, 0.04) 46px,
      rgba(107, 68, 35, 0.04) 48px
    ),
    radial-gradient(ellipse at 25% 80%, rgba(92, 74, 50, 0.06) 0%, transparent 50%),
    var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

/* Wood fence top trim */
.garden-checklist-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--wood-dark, #3a2415) 0%,
    var(--wood, #6b4423) 15%,
    var(--wood-light, #8b6340) 50%,
    var(--wood, #6b4423) 85%,
    var(--wood-dark, #3a2415) 100%
  );
}

.garden-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* ─── Individual Habit Row (Garden Row) ─── */

.garden-habit {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 12px;
  cursor: pointer;
  transition: background-color 200ms ease, box-shadow 200ms ease;
  border-bottom: 1px solid var(--border, rgba(139, 90, 43, 0.25));
  position: relative;
  animation: garden-fade-in 300ms ease backwards;
}

.garden-habit:last-child {
  border-bottom: none;
}

.garden-habit:hover {
  background: var(--panel-hover, rgba(46, 39, 30, 0.5));
}

/* Soil furrow left accent on hover */
.garden-habit:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--green, #6cbf4a),
    rgba(108, 191, 74, 0.3)
  );
  border-radius: 0 2px 2px 0;
}

/* Completed habit state: green tint + subtle glow */
.garden-habit.completed {
  background: rgba(108, 191, 74, 0.06);
  box-shadow: inset 0 0 12px rgba(108, 191, 74, 0.04);
}

.garden-habit.completed:hover {
  background: rgba(108, 191, 74, 0.1);
}

.garden-habit.completed .garden-habit-name {
  color: var(--muted, #9b8b74);
  text-decoration: line-through;
  text-decoration-color: rgba(108, 191, 74, 0.4);
  text-decoration-thickness: 2px;
}


/* ─── Custom Checkbox (Soil Tile -> Plant Tile) ─── */

.garden-habit-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid var(--wood, #6b4423);
  border-radius: 4px;
  background:
    /* Soil texture when unchecked */
    linear-gradient(
      135deg,
      #3d2b1a 0%,
      #4a3520 40%,
      #3d2b1a 100%
    );
  cursor: pointer;
  position: relative;
  transition:
    background 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 150ms ease;
  /* Pixel-ish inset shadow for depth */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.garden-habit-check:hover {
  border-color: var(--wood-light, #8b6340);
  transform: scale(1.08);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.4),
    0 0 6px rgba(107, 68, 35, 0.2);
}

/* Checked state: soil becomes green plant tile */
.garden-habit-check.checked {
  background: linear-gradient(
    135deg,
    #3a8c2e 0%,
    var(--green, #6cbf4a) 50%,
    #4a9c3e 100%
  );
  border-color: #3a8c2e;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 0 8px rgba(108, 191, 74, 0.3);
  animation: garden-check-pop 300ms ease;
}

/* Checkmark via ::after */
.garden-habit-check.checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

/* Sprout/leaf decoration on checked */
.garden-habit-check.checked::before {
  content: "";
  position: absolute;
  top: -5px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #5ec44a 40%, transparent 70%);
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
  opacity: 0.7;
  animation: garden-sprout 350ms ease backwards;
  animation-delay: 150ms;
}


/* ─── Habit Name ─── */

.garden-habit-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text, #e8dcc8);
  line-height: 1.3;
  transition: color 200ms ease, text-decoration 200ms ease;
}


/* ─── Habit Category Badge ─── */

.garden-habit-category {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm, 4px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
  border: 1px solid;
}

/* Category color variants */
.garden-habit-category[data-cat="health"],
.garden-habit-category.cat-health {
  color: #86efac;
  background: rgba(108, 191, 74, 0.12);
  border-color: rgba(108, 191, 74, 0.3);
}

.garden-habit-category[data-cat="mind"],
.garden-habit-category.cat-mind {
  color: #c4b5fd;
  background: rgba(144, 96, 192, 0.12);
  border-color: rgba(144, 96, 192, 0.3);
}

.garden-habit-category[data-cat="work"],
.garden-habit-category.cat-work {
  color: var(--gold-bright, #f0c040);
  background: var(--gold-soft, rgba(218, 165, 32, 0.12));
  border-color: rgba(218, 165, 32, 0.3);
}

.garden-habit-category[data-cat="fitness"],
.garden-habit-category.cat-fitness {
  color: #fca5a5;
  background: rgba(224, 64, 64, 0.12);
  border-color: rgba(224, 64, 64, 0.3);
}

.garden-habit-category[data-cat="social"],
.garden-habit-category.cat-social {
  color: #93c5fd;
  background: rgba(91, 155, 213, 0.12);
  border-color: rgba(91, 155, 213, 0.3);
}

.garden-habit-category[data-cat="creative"],
.garden-habit-category.cat-creative {
  color: #fdba74;
  background: rgba(224, 128, 48, 0.12);
  border-color: rgba(224, 128, 48, 0.3);
}


/* ─── Habit Streak Counter ─── */

.garden-habit-streak {
  font-size: 0.72rem;
  color: var(--muted, #9b8b74);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.garden-habit-streak .flame {
  font-size: 0.85rem;
  animation: garden-flame-flicker 1.8s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HEATMAP CARD — The Garden Plot Grid (Weekly View)
   ═══════════════════════════════════════════════════════════════════════════ */

.garden-heatmap-card {
  background:
    /* Subtle tilled soil texture */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,
      rgba(107, 68, 35, 0.05) 38px,
      rgba(107, 68, 35, 0.05) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 38px,
      rgba(107, 68, 35, 0.03) 38px,
      rgba(107, 68, 35, 0.03) 40px
    ),
    var(--panel);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

/* Fence rail top */
.garden-heatmap-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--wood-dark, #3a2415) 0%,
    var(--wood, #6b4423) 15%,
    var(--wood-light, #8b6340) 50%,
    var(--wood, #6b4423) 85%,
    var(--wood-dark, #3a2415) 100%
  );
  border-radius: var(--radius) var(--radius) 0 0;
}


/* ─── Heatmap Grid ─── */

.garden-heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding-top: 4px;
}


/* ─── Individual Day Cell (Plot Tile) ─── */

.garden-heatmap-day {
  aspect-ratio: 1;
  border-radius: 4px;
  border: 2px solid var(--wood, #6b4423);
  position: relative;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 150ms ease;
  cursor: default;
  /* Pixel rendering for crispness */
  image-rendering: pixelated;
}

.garden-heatmap-day:hover {
  transform: scale(1.08);
  z-index: 2;
}

/* Level 0: Empty soil / fallow plot */
.garden-heatmap-day.level-0 {
  background:
    linear-gradient(
      135deg,
      #3d2b1a 0%,
      #4a3520 30%,
      #3d2b1a 60%,
      #352818 100%
    );
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  border-color: var(--wood-dark, #3a2415);
}

.garden-heatmap-day.level-0:hover {
  border-color: var(--wood, #6b4423);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.35),
    0 0 6px rgba(107, 68, 35, 0.15);
}

/* Level 1: Seedling — pale green */
.garden-heatmap-day.level-1 {
  background:
    linear-gradient(
      135deg,
      #3a6030 0%,
      #4a7c3f 50%,
      #3a6030 100%
    );
  border-color: #35582c;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.garden-heatmap-day.level-1:hover {
  border-color: #4a7c3f;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.25),
    0 0 6px rgba(74, 124, 63, 0.2);
}

/* Tiny sprout decoration */
.garden-heatmap-day.level-1::after {
  content: "";
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: #5ec44a;
  border-radius: 50% 50% 0 0;
  opacity: 0.6;
}

/* Level 2: Growing — medium green */
.garden-heatmap-day.level-2 {
  background:
    linear-gradient(
      135deg,
      #4a8c3c 0%,
      #5ba84c 50%,
      #4a8c3c 100%
    );
  border-color: #408035;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    0 0 4px rgba(91, 168, 76, 0.12);
}

.garden-heatmap-day.level-2:hover {
  border-color: #5ba84c;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    0 0 10px rgba(91, 168, 76, 0.25);
}

/* Small leaf decoration */
.garden-heatmap-day.level-2::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, #6cbf4a 30%, rgba(108, 191, 74, 0.3) 70%);
  border-radius: 50% 0 50% 50%;
  opacity: 0.7;
}

/* Level 3: Full bloom — bright green with glow */
.garden-heatmap-day.level-3 {
  background:
    linear-gradient(
      135deg,
      #52b042 0%,
      var(--green, #6cbf4a) 45%,
      #5ec44a 100%
    );
  border-color: #4a9c3e;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 0 8px rgba(108, 191, 74, 0.3),
    0 0 16px rgba(108, 191, 74, 0.12);
  animation: garden-pulse-green 2.5s ease-in-out infinite;
}

.garden-heatmap-day.level-3:hover {
  border-color: var(--green, #6cbf4a);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.15),
    0 0 12px rgba(108, 191, 74, 0.45),
    0 0 24px rgba(108, 191, 74, 0.2);
}

/* Bloom flower decoration */
.garden-heatmap-day.level-3::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(
    circle,
    #ffd700 20%,
    #f0c040 40%,
    rgba(108, 191, 74, 0.4) 70%,
    transparent 100%
  );
  border-radius: 50%;
  opacity: 0.8;
  animation: garden-sway 3s ease-in-out infinite;
}


/* ─── Heatmap Day Label ─── */

.garden-heatmap-label {
  text-align: center;
  font-size: 0.65rem;
  color: var(--muted, #9b8b74);
  margin-top: 4px;
  letter-spacing: 0.02em;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════════════════════════ */

.garden-empty-hint {
  color: var(--muted, #9b8b74);
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  padding: 20px 16px;
  opacity: 0.75;
}

.garden-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(92, 74, 50, 0.08) 0%, transparent 60%),
    var(--panel);
  border: 2px dashed var(--border, rgba(139, 90, 43, 0.25));
  border-radius: var(--radius);
  position: relative;
}

/* Faint garden fence corners */
.garden-empty-state::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(107, 68, 35, 0.12);
  border-radius: var(--radius-sm, 4px);
  pointer-events: none;
}

.garden-empty-seed {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
  animation: garden-sway 4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.garden-empty-title {
  font-family: var(--font-pixel, 'Press Start 2P', monospace);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-heading, #f5e6c8);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.garden-empty-desc {
  font-size: 0.82rem;
  color: var(--muted, #9b8b74);
  line-height: 1.5;
  max-width: 320px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION CARD TITLES — Reusable within garden cards
   ═══════════════════════════════════════════════════════════════════════════ */

.garden-checklist-card .section-card-title,
.garden-heatmap-card .section-card-title {
  font-family: var(--font-pixel, 'Press Start 2P', monospace);
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--text-heading, #f5e6c8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Stack on mobile
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {

  .garden-progress {
    flex-direction: column;
    gap: 20px;
    padding: 16px 12px;
  }

  .garden-progress-ring {
    width: 120px;
    height: 120px;
  }

  .garden-ring-pct {
    font-size: 0.6rem;
  }

  .garden-streaks {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .garden-streak-item {
    min-width: 64px;
    padding: 6px 8px;
  }

  .garden-streak-count {
    font-size: 0.55rem;
  }

  .garden-streak-flame {
    font-size: 1.1rem;
  }

  .garden-heatmap {
    gap: 5px;
  }

  .garden-heatmap-day {
    border-width: 1.5px;
  }

  .garden-habit {
    padding: 10px 12px;
    gap: 10px;
  }

  .garden-habit-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .garden-habit-check.checked::after {
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border-width: 0 2px 2px 0;
  }

  .garden-habit-name {
    font-size: 0.8rem;
  }

  .garden-habit-category {
    font-size: 0.58rem;
    padding: 2px 6px;
  }

  .garden-empty-state {
    padding: 40px 16px;
  }

  .garden-empty-seed {
    font-size: 2.4rem;
  }

  .garden-empty-title {
    font-size: 0.55rem;
  }

  .garden-empty-desc {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {

  .garden-progress-ring {
    width: 100px;
    height: 100px;
  }

  .garden-ring-pct {
    font-size: 0.52rem;
  }

  .garden-streaks {
    gap: 10px;
  }

  .garden-streak-item {
    min-width: 56px;
    padding: 5px 6px;
  }

  .garden-streak-count {
    font-size: 0.5rem;
  }

  .garden-streak-label {
    font-size: 0.6rem;
  }

  .garden-heatmap {
    gap: 4px;
  }

  .garden-heatmap-day::after {
    display: none;
  }

  .garden-habit-streak {
    display: none;
  }

  .garden-habit-category {
    font-size: 0.55rem;
    padding: 1px 5px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY — Reduced motion
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {

  .garden-ring-fill {
    transition: none;
  }

  .garden-habit-check {
    transition: none;
  }

  .garden-habit-check.checked {
    animation: none;
  }

  .garden-habit-check.checked::before {
    animation: none;
  }

  .garden-heatmap-day {
    transition: none;
  }

  .garden-heatmap-day.level-3 {
    animation: none;
  }

  .garden-heatmap-day.level-3::after {
    animation: none;
  }

  .garden-streak-flame {
    animation: none;
  }

  .garden-empty-seed {
    animation: none;
  }

  .garden-progress-ring.high-progress .garden-ring-fill {
    animation: none;
    filter: drop-shadow(0 0 8px rgba(108, 191, 74, 0.4));
  }

  .garden-habit {
    animation: none;
  }
}
