/* C² officer warmth — Sprout, seasons, outcome cheers.
   Loaded only on review.html. Never on family or management surfaces. */

:root {
  --fc-warm-accent: #2f7d5a;
  --fc-warm-season: transparent;
}

body.fc-warm-calm .fc-sprout,
body.fc-warm-calm .fc-warm-season-accent,
body.fc-warm-calm .fc-warm-cheer,
body.fc-warm-calm .fc-owner-mark,
body.fc-warm-calm .fc-warm-greeting {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .fc-sprout *,
  .fc-warm-cheer,
  .fc-warm-cheer * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- greeting ---- */
.fc-warm-greeting {
  margin: 6px 0 0;
  font-size: .92rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.fc-warm-greeting b {
  color: var(--ink);
  font-weight: 600;
}

/* ---- seasonal board accent (tiny, non-holiday) ---- */
.fc-warm-season-accent {
  pointer-events: none;
  position: fixed;
  inset: auto 0 0 0;
  height: 28px;
  z-index: 5;
  opacity: .35;
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: auto 22px;
}
body.fc-season-autumn .fc-warm-season-accent {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22' viewBox='0 0 48 22'%3E%3Cpath fill='%23b07d2b' d='M8 18c2-6 6-8 8-4-4 1-6 4-8 4zm16 0c3-7 8-9 10-4-5 1-7 4-10 4zm16 1c2-5 5-7 7-3-3 1-5 3-7 3z'/%3E%3C/svg%3E");
}
body.fc-season-winter .fc-warm-season-accent {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='22' viewBox='0 0 64 22'%3E%3Cpath stroke='%236b7c8a' stroke-width='1.2' fill='none' d='M8 20 V8 M8 8 l-4-4 M8 8 l4-4 M28 20 V6 M28 6 l-3-3 M28 6 l3-3 M50 20 V9 M50 9 l-3-3 M50 9 l3-3'/%3E%3C/svg%3E");
}
body.fc-season-spring .fc-warm-season-accent {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='22' viewBox='0 0 52 22'%3E%3Ccircle cx='10' cy='14' r='3' fill='%23c97b9a'/%3E%3Ccircle cx='26' cy='12' r='2.5' fill='%23d4a0b8'/%3E%3Ccircle cx='42' cy='15' r='3' fill='%23b86b8a'/%3E%3C/svg%3E");
}
body.fc-season-summer .fc-warm-season-accent {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='22' viewBox='0 0 56 22'%3E%3Ccircle cx='14' cy='11' r='4' fill='%23c9a227'/%3E%3Cpath stroke='%23c9a227' stroke-width='1' d='M14 3v2 M14 17v2 M6 11h2 M20 11h2 M8 5l1.5 1.5 M18.5 15.5L20 17 M8 17l1.5-1.5 M18.5 6.5L20 5'/%3E%3C/svg%3E");
}

/* ---- Sprout corner ---- */
.fc-sprout {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  width: 56px;
  height: 64px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(27, 33, 41, .12));
}
.fc-sprout:focus-visible {
  outline: 2px solid var(--fc-warm-accent);
  outline-offset: 3px;
  border-radius: 8px;
}
.fc-sprout svg {
  width: 100%;
  height: 100%;
  display: block;
}
.fc-sprout .pot { fill: #8b6914; }
.fc-sprout .soil { fill: #5c4033; }
.fc-sprout .stem { stroke: #2f5d50; stroke-width: 2; fill: none; stroke-linecap: round; }
.fc-sprout .leaf { fill: #3a7d5c; }
.fc-sprout .eye { fill: #1b2129; }
.fc-sprout .brow { stroke: #1b2129; stroke-width: 1.2; fill: none; stroke-linecap: round; }

/* moods — subtle pose shifts, never distressed */
.fc-sprout.mood-clear .plant { transform-origin: 28px 42px; transform: rotate(8deg) translateY(2px); }
.fc-sprout.mood-clear .eye-l { transform: scaleY(.35); transform-origin: 22px 28px; }
.fc-sprout.mood-clear .eye-r { transform: scaleY(.35); transform-origin: 34px 28px; }
.fc-sprout.mood-watch .plant { transform-origin: 28px 42px; transform: rotate(-4deg); }
.fc-sprout.mood-safety .plant { transform-origin: 28px 42px; transform: translateY(-2px); }
.fc-sprout.mood-safety .brow { opacity: 1; }
.fc-sprout .brow { opacity: 0; }

.fc-sprout-aside {
  position: fixed;
  right: 76px;
  bottom: 28px;
  z-index: 41;
  max-width: 200px;
  padding: 8px 11px;
  background: var(--paper, #fff);
  border: 1px solid var(--rule, #ddd);
  border-radius: 10px;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--ink-soft, #555);
  box-shadow: 0 4px 14px rgba(27, 33, 41, .1);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
.fc-sprout-aside.show {
  opacity: 1;
  transform: translateY(0);
}
.fc-sprout-hide {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: opacity .15s;
}
.fc-sprout:hover .fc-sprout-hide,
.fc-sprout:focus-within .fc-sprout-hide { opacity: 1; }

.fc-sprout-restore {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  font-family: var(--body, system-ui);
  font-size: .72rem;
  padding: 6px 10px;
  border-radius: 99px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}

/* ---- owner mark on cards ---- */
.fc-owner-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  border-radius: 3px;
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1;
  color: #fff;
  background: var(--fc-warm-accent);
  vertical-align: middle;
}

/* ---- outcome cheer (under 1s) ---- */
.fc-warm-cheer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
}
.fc-warm-cheer .bit {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  opacity: .9;
  animation: fc-cheer-fall .85s ease-out forwards;
}
@keyframes fc-cheer-fall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(70px) rotate(120deg); opacity: 0; }
}
.fc-warm-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(8px);
  z-index: 81;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--ink, #1b2129);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.fc-warm-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- prefs panel bits ---- */
.fc-warm-prefs {
  padding: 12px 14px;
  border-top: 1px solid var(--rule);
  margin-top: 4px;
}
.fc-warm-prefs h4 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.fc-warm-prefs .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.fc-warm-prefs label {
  font-size: .78rem;
  color: var(--ink-soft);
}
.fc-warm-prefs input[type="text"] {
  flex: 1;
  min-width: 120px;
  font: inherit;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.fc-warm-prefs .swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.fc-warm-prefs .swatch[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px #fff inset;
}
.fc-warm-prefs .emblem {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  font-size: 14px;
}
.fc-warm-prefs .emblem[aria-pressed="true"] {
  border-color: var(--fc-warm-accent);
  background: rgba(47, 125, 90, .08);
}
.fc-warm-prefs .toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
}

/* ---- avatar picker ---- */
.fc-warm-prefs .ava-note {
  margin: -4px 0 8px;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.35;
}
.fc-warm-prefs .ava-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.fc-warm-prefs .ava-mode {
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.fc-warm-prefs .ava-mode[aria-pressed="true"] {
  border-color: var(--fc-warm-accent);
  color: var(--ink);
  background: color-mix(in srgb, var(--fc-warm-accent) 12%, transparent);
}
.fc-warm-prefs .ava-preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fc-warm-prefs .ava-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fc-warm-accent);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  flex: 0 0 auto;
  overflow: hidden;
}
.fc-warm-prefs .ava-preview.has-art {
  font-size: 0;
  color: transparent;
}
.fc-warm-prefs .ava-preview-label {
  font-size: .78rem;
  color: var(--ink-soft);
}
.fc-warm-prefs .ava-illust {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
}
.fc-warm-prefs .ava-illust[aria-pressed="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px #fff inset;
}
.fc-warm-prefs .ava-msg {
  font-size: .72rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.fc-warm-prefs .ava-msg.bad {
  color: var(--oxblood, #8c2f39);
}

/* empty column soft line */
.col-body-empty.fc-warm-empty {
  font-style: italic;
  color: var(--muted);
  font-size: .82rem;
  padding: 8px 4px;
}
