/* ============================================================
   MINI CLAUDE — floating companion, liquid-gold prompt, bubble
   ============================================================ */

/* Pet body */
.mc-pet {
  position: fixed;
  width: 72px; height: 72px;
  z-index: 900;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.55));
}
.mc-pet.dragging {
  cursor: grabbing;
  transition: none;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.7))
          drop-shadow(0 0 36px rgba(255, 220, 130, 0.75))
          drop-shadow(0 0 60px rgba(245,202,91,0.5));
}
/* Happy wheee-spin body while held — BUT not if dizzy */
.mc-pet.dragging:not(.mood-dizzy) .mc-body {
  animation: mcWheee 800ms cubic-bezier(0.34, 1.56, 0.64, 1) infinite !important;
}
@keyframes mcWheee {
  0%   { transform: rotate(-10deg) scale(1.08, 0.94); }
  25%  { transform: rotate(8deg)  scale(1.02, 1.04); }
  50%  { transform: rotate(-6deg) scale(1.08, 0.94); }
  75%  { transform: rotate(9deg)  scale(1.02, 1.04); }
  100% { transform: rotate(-10deg) scale(1.08, 0.94); }
}

/* Sparkle ring around pet while held */
.mc-pet.dragging:not(.mood-dizzy)::before,
.mc-pet.dragging:not(.mood-dizzy)::after {
  content: '\2728';
  position: absolute;
  font-size: 14px;
  pointer-events: none;
  animation: mcSparkleOrbit 1.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 220, 140, 0.9));
}
.mc-pet.dragging::before { top: -4px; left: 50%; animation-delay: 0s; }
.mc-pet.dragging::after  { top: -4px; left: 50%; animation-delay: -0.7s; font-size: 11px; }

@keyframes mcSparkleOrbit {
  0%   { transform: rotate(0deg)   translateX(38px) rotate(0deg)   scale(0.6); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: rotate(180deg) translateX(38px) rotate(-180deg) scale(1.1); opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: rotate(360deg) translateX(38px) rotate(-360deg) scale(0.6); opacity: 0; }
}
.mc-pet.active {
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.6))
          drop-shadow(0 0 22px rgba(245,202,91,0.45));
}

.mc-body {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  transition: transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mc-svg { display: block; }

.mc-pet:hover .mc-body { animation: mcWiggle 900ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes mcWiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  20% { transform: rotate(-7deg) scale(1.07); }
  45% { transform: rotate(6deg) scale(1.05); }
  70% { transform: rotate(-3deg) scale(1.06); }
}

.mc-shadow {
  position: absolute;
  left: 50%; bottom: -2px;
  width: 46px; height: 7px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 70%);
  transform-origin: center;
  margin-left: -23px;
  pointer-events: none;
  z-index: -1;
}

.mc-pet.mood-happy .mc-svg,
.mc-pet.mood-speaking .mc-svg {
  filter: drop-shadow(0 0 14px rgba(245,202,91,0.55));
}

/* Glasses animate in */
.mc-glasses {
  animation: mcGlassesIn 340ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mcGlassesIn {
  0% { opacity: 0; transform: translateY(-6px) scale(0.6); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Thinking dots */
.mc-think {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px;
  pointer-events: none;
}
.mc-think span {
  width: 5px; height: 5px; border-radius: 50%;
  background: #F5CA5B;
  box-shadow: 0 0 6px rgba(245,202,91,0.7);
  animation: mcThink 1.1s infinite ease-in-out;
}
.mc-think span:nth-child(2) { animation-delay: 0.14s; }
.mc-think span:nth-child(3) { animation-delay: 0.28s; }
@keyframes mcThink {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

/* =============== SPEECH BUBBLE =============== */
.mc-bubble {
  position: fixed;
  z-index: 901;
  max-width: 260px;
  padding: 12px 16px;
  background: linear-gradient(140deg,
              rgba(30, 22, 10, 0.72) 0%,
              rgba(22, 16, 8, 0.78) 100%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(245, 202, 91, 0.35);
  border-radius: 18px;
  color: #faf5e6;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 14.5px;
  line-height: 1.4;
  box-shadow: 0 14px 44px rgba(0,0,0,0.55),
              0 0 0 1px rgba(255,220,140,0.06) inset,
              0 0 26px -4px rgba(245,202,91,0.32),
              inset 0 1px 0 rgba(255,230,160,0.18);
  cursor: pointer;
  transform-origin: bottom left;
  animation: mcBubbleIn 340ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mc-bubble.above { transform: translateY(-100%); animation-name: mcBubbleInAbove; }
.mc-bubble:hover { border-color: rgba(245,202,91,0.55); }

.mc-bubble-text { position: relative; z-index: 1; }

/* Liquid gold shimmer inside bubble */
.mc-bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg,
              transparent 20%,
              rgba(255, 220, 140, 0.12) 45%,
              rgba(255, 240, 180, 0.06) 55%,
              transparent 80%);
  pointer-events: none;
  opacity: 0.7;
}

.mc-bubble-tail {
  position: absolute;
  left: 22px;
  width: 14px; height: 14px;
  background: linear-gradient(140deg, rgba(30,22,10,0.78), rgba(22,16,8,0.82));
  border-left: 1px solid rgba(245, 202, 91, 0.35);
  border-top: 1px solid rgba(245, 202, 91, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mc-bubble.above .mc-bubble-tail {
  bottom: -8px;
  transform: rotate(-135deg) skew(-6deg, -6deg);
  border-radius: 0 0 0 4px;
}
.mc-bubble.below .mc-bubble-tail {
  top: -8px;
  transform: rotate(45deg) skew(-6deg, -6deg);
  border-radius: 0 0 0 4px;
}

@keyframes mcBubbleIn {
  0% { opacity: 0; transform: scale(0.7) translateY(10px); }
  60% { opacity: 1; transform: scale(1.04) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mcBubbleInAbove {
  0% { opacity: 0; transform: translateY(calc(-100% + 10px)) scale(0.7); }
  60% { opacity: 1; transform: translateY(calc(-100% - 2px)) scale(1.04); }
  100% { opacity: 1; transform: translateY(-100%) scale(1); }
}

/* =============== FLOATING PROMPT — liquid glass gold =============== */
.mc-prompt-backdrop {
  position: fixed;
  inset: 0;
  z-index: 902;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: mcFade 200ms ease-out;
}
/* Keep pet crisp & above the blur when prompt is open */
.mc-pet.active { z-index: 903 !important; }
@keyframes mcFade { from { opacity: 0; } to { opacity: 1; } }

.mc-prompt {
  position: fixed;
  pointer-events: auto;
  animation: mcPromptIn 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mcPromptIn {
  0% { opacity: 0; transform: translateY(12px) scale(0.88); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Liquid gold glass outer shell */
.mc-prompt-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background:
    linear-gradient(135deg,
      rgba(255, 230, 150, 0.12) 0%,
      rgba(212, 175, 55, 0.08) 40%,
      rgba(30, 22, 10, 0.45) 100%);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(245, 202, 91, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 220, 140, 0.08) inset,
    inset 0 1px 0 rgba(255, 240, 180, 0.25),
    inset 0 -1px 0 rgba(120, 90, 30, 0.3),
    0 0 38px -8px rgba(245, 202, 91, 0.4);
  overflow: hidden;
}

/* Ambient gold liquid sheen — animated */
.mc-prompt-inner::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 240, 180, 0.22), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(245, 202, 91, 0.18), transparent 50%);
  pointer-events: none;
  animation: mcSheen 6s ease-in-out infinite;
}
@keyframes mcSheen {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, -3px); }
}

/* Top-highlight band */
.mc-prompt-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 40%;
  background: linear-gradient(180deg,
              rgba(255, 245, 200, 0.3),
              transparent);
  border-radius: 999px 999px 50% 50% / 999px 999px 100% 100%;
  pointer-events: none;
  opacity: 0.6;
}

.mc-prompt-sparkle {
  position: relative;
  z-index: 1;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: #FFE894;
  text-shadow: 0 0 10px rgba(255, 230, 140, 0.7);
  animation: mcSparkle 3s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes mcSparkle {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(8deg) scale(1.1); }
  75% { transform: rotate(-8deg) scale(1.05); }
}

.mc-prompt-inner input {
  flex: 1;
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff8e4;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 8px 0;
  min-width: 0;
}
.mc-prompt-inner input::placeholder {
  color: rgba(255, 240, 200, 0.5);
  font-style: italic;
}

.mc-prompt-send {
  position: relative;
  z-index: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 240, 180, 0.4);
  background: linear-gradient(135deg, #FFE894 0%, #F5CA5B 50%, #A8842B 100%);
  color: #1a1208;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 220ms ease-out;
  flex-shrink: 0;
}
.mc-prompt-send:hover:not(:disabled) {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5),
              0 0 20px rgba(245, 202, 91, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.mc-prompt-send:disabled { opacity: 0.45; cursor: not-allowed; }

/* Suggestion chips */
.mc-prompt-chips {
  display: flex; gap: 6px;
  margin-top: 10px;
  padding: 0 4px;
  flex-wrap: wrap;
  justify-content: center;
  animation: mcChipsIn 500ms ease-out 120ms backwards;
}
@keyframes mcChipsIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.mc-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22, 16, 8, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 202, 91, 0.22);
  color: rgba(255, 240, 200, 0.85);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mc-chip:hover {
  background: rgba(245, 202, 91, 0.15);
  border-color: rgba(245, 202, 91, 0.55);
  color: #fff5c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3),
              0 0 12px rgba(245, 202, 91, 0.25);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mc-pet, .mc-body, .mc-bubble, .mc-prompt, .mc-prompt-inner::before, .mc-prompt-sparkle {
    animation: none !important; transition: none !important;
  }
}

/* ============================================================
   NEW MOODS — sleepy, dizzy, surprised, celebrate, curious, purring
   ============================================================ */

/* SLEEPY — droopy, gentle sway */
.mc-pet.mood-sleepy {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45));
}
.mc-pet.mood-sleepy .mc-body {
  animation: mcSleepySway 4s ease-in-out infinite;
}
@keyframes mcSleepySway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
.mc-zzz {
  position: absolute;
  top: -18px; right: -8px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 14px;
  color: #F5CA5B;
  pointer-events: none;
  display: flex; gap: 2px;
  text-shadow: 0 0 8px rgba(245,202,91,0.6);
}
.mc-zzz span {
  animation: mcZzz 2.4s ease-in-out infinite;
  opacity: 0;
  display: inline-block;
}
.mc-zzz span:nth-child(2) { font-size: 16px; }
.mc-zzz span:nth-child(3) { font-size: 18px; }
@keyframes mcZzz {
  0%   { opacity: 0; transform: translate(0,6px) scale(0.6); }
  20%  { opacity: 1; }
  80%  { opacity: 1; transform: translate(8px,-16px) scale(1.1) rotate(12deg); }
  100% { opacity: 0; transform: translate(14px,-24px) scale(1.2) rotate(20deg); }
}

/* FLYING — thrown physics; disable other animations */
.mc-pet.mood-flying .mc-body,
.mc-pet.mood-flying-home .mc-body {
  animation: none !important;
  transition: none !important;
}
.mc-pet.mood-flying.dragging .mc-body,
.mc-pet.mood-flying-home.dragging .mc-body {
  animation: none !important;
}
.mc-pet.mood-flying::before,
.mc-pet.mood-flying::after,
.mc-pet.mood-flying-home::before,
.mc-pet.mood-flying-home::after { display: none !important; }

/* DIZZY — spiral eyes and wobble */
.mc-pet.mood-dizzy {
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.55));
}
.mc-pet.mood-dizzy .mc-body {
  animation: mcDizzy 0.9s ease-in-out infinite !important;
}
@keyframes mcDizzy {
  0%, 100% { transform: rotate(-9deg) translateX(-3px); }
  50%      { transform: rotate(9deg)  translateX(3px); }
}
/* Spiral eyes rotate to feel hypnotic */
.mc-pet.mood-dizzy .mc-spiral-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: mcSpiralSpin 1.2s linear infinite;
}
@keyframes mcSpiralSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Little tweety birds / stars circling his head */
.mc-pet.mood-dizzy::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 70px; height: 24px;
  margin-left: -35px;
  background-image: radial-gradient(circle 3px at 10px 12px, #F5CA5B 98%, transparent 100%),
                    radial-gradient(circle 2.5px at 35px 4px, #FFE894 98%, transparent 100%),
                    radial-gradient(circle 3px at 60px 16px, #F5CA5B 98%, transparent 100%);
  animation: mcDizzyStars 1.4s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes mcDizzyStars {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* SURPRISED — BIG dramatic pop */
.mc-pet.mood-surprised {
  filter: drop-shadow(0 0 30px rgba(255, 220, 130, 0.95))
          drop-shadow(0 10px 34px rgba(245, 202, 91, 0.7))
          drop-shadow(0 0 60px rgba(255, 255, 200, 0.4));
  z-index: 920 !important;
}
.mc-pet.mood-surprised .mc-body {
  animation: mcPop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mcPop {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.45) translateY(-14px); }
  28%  { transform: scale(0.82) translateY(4px); }
  45%  { transform: scale(1.22) translateY(-6px); }
  60%  { transform: scale(0.95) translateY(1px); }
  100% { transform: scale(1.1) translateY(0); }
}
/* Pulsing impact ring behind him */
.mc-pet.mood-surprised::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 3px solid rgba(245, 202, 91, 0.9);
  animation: mcImpactRing 800ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: -1;
}
.mc-pet.mood-surprised::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 240, 180, 0.7);
  animation: mcImpactRing 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
  pointer-events: none;
  z-index: -1;
}
@keyframes mcImpactRing {
  0%   { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.mc-exclaim {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  background: linear-gradient(180deg, #FFF5C0 0%, #FFE894 30%, #F5CA5B 65%, #A8842B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px #1a1208;
  filter:
    drop-shadow(0 4px 8px rgba(0,0,0,0.6))
    drop-shadow(0 0 16px rgba(245,202,91,0.9))
    drop-shadow(0 0 32px rgba(255,240,180,0.6));
  pointer-events: none;
  animation: mcExclaim 1200ms cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}
@keyframes mcExclaim {
  0%   { opacity: 0; transform: translateX(-50%) translateY(30px) scale(0.2) rotate(-25deg); }
  25%  { opacity: 1; transform: translateX(-50%) translateY(-16px) scale(1.4) rotate(8deg); }
  40%  { opacity: 1; transform: translateX(-50%) translateY(-10px) scale(1.15) rotate(-4deg); }
  55%  { opacity: 1; transform: translateX(-50%) translateY(-12px) scale(1.25) rotate(2deg); }
  85%  { opacity: 1; transform: translateX(-50%) translateY(-10px) scale(1.2) rotate(0deg); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-30px) scale(1) rotate(0deg); }
}

/* CELEBRATE — glow halo */
.mc-pet.mood-celebrate {
  filter: drop-shadow(0 0 22px rgba(255, 220, 130, 0.85))
          drop-shadow(0 8px 30px rgba(245, 202, 91, 0.5))
          drop-shadow(0 0 50px rgba(255, 240, 180, 0.4));
}
.mc-pet.mood-celebrate .mc-body {
  animation: mcCelebrate 600ms cubic-bezier(0.34, 1.56, 0.64, 1) infinite !important;
}
@keyframes mcCelebrate {
  0%, 100% { transform: rotate(-6deg) scale(1.06); }
  50%      { transform: rotate(6deg)  scale(1.1); }
}

/* Confetti particles (child of .mc-pet, absolutely positioned) */
.mc-confetti {
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-radius: 2px;
  pointer-events: none;
  animation: mcConfettiFly var(--cl, 1200ms) cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes mcConfettiFly {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  15% { opacity: 1; }
  100% {
    transform:
      translate(
        calc(-50% + cos(var(--ca)) * var(--cv)),
        calc(-50% + sin(var(--ca)) * var(--cv) + 40px)
      )
      rotate(540deg) scale(1);
    opacity: 0;
  }
}

/* CURIOUS — subtle bounce */
.mc-pet.mood-curious .mc-body {
  animation: mcCurious 1.6s ease-in-out infinite;
}
@keyframes mcCurious {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}

/* PURRING — soft vibrate */
.mc-pet.mood-purring .mc-body {
  animation: mcPurr 140ms ease-in-out infinite !important;
}
@keyframes mcPurr {
  0%, 100% { transform: translate(0, 0) scale(1.02); }
  50%      { transform: translate(0.5px, -0.5px) scale(1.03); }
}
.mc-pet.mood-purring {
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5))
          drop-shadow(0 0 18px rgba(255, 180, 200, 0.5));
}
.mc-heart {
  position: absolute;
  color: #FF8FA3;
  font-size: 14px;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(255, 140, 170, 0.7);
  animation: mcHeart 1.5s ease-out forwards;
}
@keyframes mcHeart {
  0%   { opacity: 0; transform: translateY(0) scale(0.4); }
  20%  { opacity: 1; transform: translateY(-10px) scale(1); }
  100% { opacity: 0; transform: translateY(-40px) scale(1.2); }
}

/* Icon badge above head (concentration/timer etc.) */
.mc-icon-badge {
  position: absolute;
  top: -8px; right: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE894, #F5CA5B 60%, #A8842B);
  color: #1a1208;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,240,180,0.6);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4),
              0 0 12px rgba(245,202,91,0.5);
  pointer-events: none;
  animation: mcBadgeIn 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mcBadgeIn {
  0%   { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Disable :hover wiggle when in an animated mood, so transforms don't stomp each other */
.mc-pet.mood-sleepy:hover .mc-body,
.mc-pet.mood-dizzy:hover .mc-body,
.mc-pet.mood-celebrate:hover .mc-body,
.mc-pet.mood-purring:hover .mc-body,
.mc-pet.mood-curious:hover .mc-body,
.mc-pet.dragging:hover .mc-body {
  animation-duration: inherit;
}

/* =========================================
   MINI CLAUDE DOCK — tiny home in the titlebar
   ========================================= */
.mc-dock {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 18px 5px 6px;
  margin-right: 6px;
  background: linear-gradient(180deg, rgba(245,202,91,0.08) 0%, rgba(212,175,55,0.04) 100%);
  border: 1px solid rgba(245,202,91,0.25);
  border-radius: 999px;
  color: #F5CA5B;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  height: 44px;
}
.mc-dock:hover {
  background: linear-gradient(180deg, rgba(245,202,91,0.16) 0%, rgba(212,175,55,0.08) 100%);
  border-color: rgba(245,202,91,0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,202,91,0.2);
}
.mc-dock:active { transform: translateY(0); }

/* Circular cradle that fits the pet perfectly */
.mc-dock-circle {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245,202,91,0.45);
  background:
    radial-gradient(circle at 50% 45%, rgba(245,202,91,0.10) 0%, rgba(245,202,91,0) 70%);
  transition: all 260ms cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
.mc-dock.docked .mc-dock-circle {
  border-style: solid;
  border-color: rgba(245,202,91,0.7);
  box-shadow:
    inset 0 0 10px rgba(245,202,91,0.15),
    0 0 14px rgba(245,202,91,0.25);
  background:
    radial-gradient(circle at 50% 45%, rgba(245,202,91,0.22) 0%, rgba(245,202,91,0.03) 80%);
}
/* Gentle breathing pulse while occupied */
.mc-dock.docked .mc-dock-circle::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(245,202,91,0.35);
  animation: mcDockBreath 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes mcDockBreath {
  0%, 100% { transform: scale(1);    opacity: 0.5; }
  50%      { transform: scale(1.08); opacity: 0;   }
}

/* Zzz rising from the circle when he naps */
.mc-dock-zzz {
  position: absolute;
  top: -8px;
  right: -6px;
  display: flex;
  gap: 1px;
  pointer-events: none;
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 11px;
  color: #F5CA5B;
  text-shadow: 0 0 6px rgba(245,202,91,0.6);
  font-weight: 700;
}
.mc-dock-zzz span {
  animation: mcDockZ 2.4s ease-in-out infinite;
  opacity: 0;
}
@keyframes mcDockZ {
  0%   { opacity: 0; transform: translateY(0) scale(0.6); }
  25%  { opacity: 1; transform: translateY(-2px) scale(0.9); }
  70%  { opacity: 1; transform: translateY(-10px) scale(1.1); }
  100% { opacity: 0; transform: translateY(-16px) scale(1.2); }
}

.mc-dock-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  line-height: 1;
  padding-bottom: 1px;
}
.mc-dock-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  color: #F5CA5B;
  letter-spacing: 0.01em;
  line-height: 1;
  display: block;
}
.mc-dock-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245,202,91,0.55);
  line-height: 1;
  display: block;
}
.mc-dock.docked .mc-dock-sub { color: rgba(245,202,91,0.8); }

/* Pet shrinks to fit the circle when docked */
.mc-pet.docked {
  transition: left 280ms cubic-bezier(0.22,1,0.36,1),
              top 280ms cubic-bezier(0.22,1,0.36,1),
              transform 300ms cubic-bezier(0.22,1,0.36,1);
  z-index: 895;
}
.mc-pet.docked .mc-body {
  transform-origin: center center;
  animation: none !important;
}
