/* =====================================================================
   Sunny theme: soft yellow for buttons and highlights, a light purple
   page background. Loaded last, so removing this file restores the
   previous purple-and-cream look.
   Yellow is never used for text on light backgrounds: it would be too
   faint to read. Yellow buttons carry dark brown text instead.
   ===================================================================== */
:root {
  --sun: #f6d063;          /* buttons and fills */
  --sun-strong: #ecbb3a;   /* hover, lines, progress */
  --sun-soft: #fcefc4;     /* chips and gentle tints */
  --sun-tint: #fdf8e8;     /* warm section backgrounds */
  --sun-ink: #3b2a0d;      /* text on yellow */
  --accent: var(--sun-strong);

  --cream: #f8f4fa;        /* page background: light purple */
  --paper: #fffefb;        /* cards */
  --lavender: #efe8f5;     /* purple sections and chips */
  --line: #e2d8e6;
}
::selection { background: var(--sun-soft); color: var(--sun-ink); }
html { scrollbar-color: #d4c3dc var(--cream); }

/* ---- Buttons: sunny yellow with dark text ---- */
.button, .support-link, .inline-recipe {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--sun-ink);
}
.button:hover, .support-link:hover, .inline-recipe:hover {
  background: var(--sun-strong);
  border-color: var(--sun-strong);
  color: var(--sun-ink);
}
@media (hover: hover) {
  :is(.button, .support-link, .inline-recipe, .week-swap):hover { box-shadow: 0 8px 18px #b3861a33; }
}
.to-top { background: var(--sun); color: var(--sun-ink); box-shadow: 0 8px 22px #b3861a40; }
.to-top:hover { background: var(--sun-strong); }
.diet-recipe:hover, .result-link:hover { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.result-link:first-child { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.result-link:first-child:hover { background: var(--sun-strong); border-color: var(--sun-strong); }
.condition-answer[aria-pressed="true"] { background: var(--sun); border-color: var(--sun-strong); color: var(--sun-ink); }
.condition-answer:hover { border-color: var(--sun-strong); }

@media (hover: hover) {
  html .recipe-card:hover .round-arrow { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
  html .dish-tag:hover .tag-icon { background: var(--sun); color: var(--sun-ink); }
  html .gtp-recipe:hover { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
}

/* ---- Meal planner choices ---- */
.plan-choice:has(:checked) { background: var(--sun); border-color: var(--sun-strong); color: var(--sun-ink); }
.plan-choice:has(:checked) .choice-mark::before { border-color: var(--sun-ink); }
.gtp-month[aria-pressed="true"] { background: var(--sun); border-color: var(--sun-strong); color: var(--sun-ink); }
.gtp-month[aria-pressed="true"] :is(.gtp-month-label, .gtp-month-name) { color: var(--sun-ink); }

/* ---- Lines, numbers and small highlights ---- */
.eyebrow-rule { background: var(--sun-strong); height: 2px; }
.diet-tip-list li::before { background: var(--sun-soft); color: var(--sun-ink); }
.diet-meal-rule { background: var(--sun-soft); color: var(--sun-ink); }
.book-total { background: var(--sun-soft); color: var(--sun-ink); }
.case-id { background: var(--sun-soft); color: var(--sun-ink); }
.story-body::before { color: #eec659; }
.case-bar-fill { background: linear-gradient(90deg, #f8dc85, var(--sun-strong)); }
.hero h1 em::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 80 3 118 7s58 4 80-2' fill='none' stroke='%23ecbb3a' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---- Hero: a sunny arch behind the soup ---- */
.arch-back { background: #f8dc85; }
.hero::before { background: radial-gradient(circle, #e8dcf2 0%, #e8dcf200 68%); }
.hero::after { background: radial-gradient(circle, #fbe6a6 0%, #fbe6a600 70%); }

/* ---- Section backgrounds: light purple, with warm sunny bands between ---- */
.planner-section { background: #f1eaf6; border-color: #e3d9ea; }
.dietitian, .make-difference { background: var(--sun-tint); border-color: #efe3bf; }
.diet-note { background: var(--sun-tint); color: #5c4a22; }
.condition-result { background: var(--sun-tint); }
footer { background: #efe8f5; border-color: #e0d5e7; }
.footer-bottom { border-color: #e0d5e7; }

/* ---- Donations panel: warm and sunny ---- */
.support-panel { background: var(--sun-soft); border-color: #efd88f; }
.support-emblem { border-color: #e2c46a; color: #8a6414; }
.status-dot, .status-dot::after { background: #b88a1d; border-color: #b88a1d; }

/* ---- Impact band: sunny numbers on deep purple ---- */
.impact-num { color: var(--sun); }
.impact .eyebrow { color: var(--sun); }
.impact .eyebrow-rule { background: var(--sun); }
