/* ===== Cee Cee brand theme ===== */
:root {
  --font: 'Poppins', 'Helvetica Neue', system-ui, -apple-system, Arial, sans-serif;
  --display: 'Luckiest Guy', 'Poppins', system-ui, sans-serif;
  /* Set --name-font to var(--display) for the playful Luckiest Guy name look. */
  --name-font: var(--font);

  --teal: #355d6f;                       /* primary text */
  --teal-soft: rgba(53, 93, 111, 0.62);  /* connective text */
  --bg: #faf8fa;                         /* off-white card */
  --sage: #d9e1bb;
  --peach: #f6c7a6;
  --pink: #f2a9bc;
  --border: #e4e8e4;

  --card-radius: 18px;
  --card-pad: 14px 18px;
  --pop-width: 390px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: transparent;        /* transparent for OBS browser source */
  overflow: hidden;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* Fixed region bottom-left; never blocks clicks, never full-screen. */
#stage {
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: var(--pop-width);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  pointer-events: none;
}

.pop {
  position: relative;
  background: var(--bg);
  color: var(--teal);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: 0 12px 30px rgba(53, 93, 111, 0.16);
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: 0.1px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
/* peach -> pink accent bar */
.pop::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 5px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--peach), var(--pink));
}
.pop.in { opacity: 1; transform: translateY(0) scale(1); }
.pop.out { opacity: 0; transform: translateY(-10px) scale(0.99); }

.pop .text { padding-left: 10px; }
.pop .name { font-family: var(--name-font); color: var(--teal); font-weight: 700; }
.pop .verb { color: var(--teal-soft); font-weight: 500; }
/* product gets a soft sage highlighter so it pops while staying readable */
.pop .product {
  color: var(--teal);
  font-weight: 700;
  background: linear-gradient(transparent 58%, rgba(217, 225, 187, 0.9) 0);
  padding: 0 0.14em;
  border-radius: 3px;
}

.flag {
  height: 0.92em;
  width: auto;
  vertical-align: -0.11em;
  margin: 0 0.3em;
  border-radius: 3px;
  box-shadow: 0 0 0 1px var(--border), 0 1px 2px rgba(53, 93, 111, 0.2);
}

/* debug-only connection dot */
.status { display: none; }
.status.show {
  display: block;
  position: fixed;
  top: 8px; right: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c0392b;
}
.status.show.ok { background: var(--sage); }

@media (prefers-reduced-motion: reduce) {
  .pop { transition: opacity 0.2s ease; transform: none; }
  .pop.in, .pop.out { transform: none; }
}
