/* ── Mascot callout — architectural sketch box ───────────────── */

.mascot-callout {
  position: relative;
  margin-bottom: 1rem;
}

/* Inner layout */
.mascot-callout-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #edf4fc;
  border-radius: 6px;
}

/* Hide button — visible on hover only */
.mascot-hide {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 0.65rem;
  color: #7a8a9e;
  cursor: pointer;
  letter-spacing: 0.02em;
  user-select: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.mascot-callout:hover .mascot-hide {
  opacity: 1;
}
.mascot-hide:hover {
  color: #3d4f63;
  text-decoration: underline;
}

/* Avatar — circle with mascot overflowing edges */
.mascot-callout-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f6f9fe;
  border-radius: 50%;
  border: 2px solid #c4d8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: -4px 0;
  position: relative;
}
.mascot-callout-img {
  width: 61px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Body text */
.mascot-callout-body {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #2c3e50;
}

/* Staff edit pencil */
.mascot-callout-edit {
  position: absolute;
  bottom: 6px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.15s;
}
.mascot-callout:hover .mascot-callout-edit {
  opacity: 1;
}
.mascot-callout .btn-reset {
  background: none;
  border: none;
  padding: 2px 4px;
  color: #7a8a9e;
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
}
.mascot-callout .btn-reset:hover {
  color: #2c3e50;
}

/* ── Navbar logo mascot ─────────────────────────────────────────────── */
.inky-nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 2px;
  margin-top: -4px;
  margin-bottom: -4px;
}

/* ── Ambient mascot — subtle presence in empty/loading states ──────── */
.inky-ambient {
  opacity: 0.45;
  filter: grayscale(30%);
  pointer-events: none;
  user-select: none;
}

/* ── Delight mascot — full color, celebratory moments ──────────────── */
.inky-delight {
  pointer-events: none;
  user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
  .inky-delight {
    animation: inky-pop 0.4s ease-out;
  }
}

@keyframes inky-pop {
  0% { transform: scale(0.7); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Inline edit textarea */
.mascot-callout-body textarea {
  width: 100%;
  background: #fff;
  color: #2c3e50;
  border: 1px solid var(--color-accent-blue);
  border-radius: 4px;
  padding: 0.4rem;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 60px;
}
.mascot-edit-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
