.cooca-mascot {
  --cooca-ink: #f3f0e8;
  --cooca-muted: #bcbeb3;
  --cooca-accent: #f5b96c;
  min-width: 0;
  color: var(--cooca-ink);
}
.cooca-art { margin: 0; min-width: 0; }
.cooca-scene {
  aspect-ratio: 1.03;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 52%, #394035 0%, #252c23 36%, transparent 71%);
}
.cooca-ring {
  position: absolute;
  left: 10%;
  top: 12%;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid #5f6a454d;
  border-radius: 50%;
  z-index: -1;
}
.cooca-ring-inner { left: 17%; top: 19%; width: 66%; border-color: #f5b96c24; }
.cooca-orbit {
  position: absolute;
  left: 47%;
  top: 11.5%;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: var(--cooca-accent);
  box-shadow: 0 0 15px #f5b96c66;
}
.cooca-ground-shadow {
  position: absolute;
  left: 20%;
  bottom: 9%;
  width: 60%;
  height: 10%;
  border-radius: 50%;
  background: #090c0999;
  filter: blur(15px);
}
.cooca-mascot-layers { position: absolute; inset: 0; }
.cooca-wing { position: absolute; width: 50%; top: 20%; z-index: 1; }
.cooca-wing img { display: block; width: 100%; height: auto; user-select: none; }
.cooca-wing-left { left: -12%; transform-origin: 92% 40%; transform: rotate(-20deg); }
.cooca-wing-right { left: 59.5%; transform-origin: 8% 40%; transform: rotate(20deg); }
.cooca-wing-right img { transform: scaleX(-1); }
.cooca-body {
  position: absolute;
  z-index: 2;
  left: 3%;
  top: 12%;
  width: 90%;
  height: auto;
  transform-origin: 50% 83%;
  user-select: none;
}
.cooca-scene.cooca-is-breathing .cooca-body { animation: cooca-mascot-breathe 5.8s ease-in-out infinite; }
.cooca-scene.cooca-is-flapping .cooca-wing-left { animation: cooca-mascot-left-flap 2.4s cubic-bezier(.42, 0, .38, 1) 1 both; }
.cooca-scene.cooca-is-flapping .cooca-wing-right { animation: cooca-mascot-right-flap 2.4s cubic-bezier(.42, 0, .38, 1) 1 both; }
.cooca-scene.cooca-is-paused .cooca-wing,
.cooca-scene.cooca-is-paused .cooca-body,
.cooca-scene.cooca-is-suspended .cooca-wing,
.cooca-scene.cooca-is-suspended .cooca-body { animation-play-state: paused; }
.cooca-caption {
  color: var(--cooca-muted);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .035em;
  text-align: center;
  margin-top: 12px;
}
.cooca-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  visibility: hidden;
}
.cooca-controls.cooca-controls-ready { visibility: visible; }
.cooca-control {
  box-sizing: border-box;
  min-height: 44px;
  border-radius: 6px;
  padding: 10px 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.5;
  font-size: 12px;
  font-weight: 600;
}
.cooca-control:focus-visible { outline: 3px solid var(--cooca-accent); outline-offset: 4px; }
.cooca-control-primary { background: var(--cooca-accent); color: #292115; }
.cooca-control-primary span { margin-right: 4px; font-size: 16px; }
.cooca-control-primary:hover:not(:disabled) { background: #ffca88; }
.cooca-control-secondary { background: transparent; border-color: #555b4d; color: var(--cooca-ink); }
.cooca-control-secondary:hover:not(:disabled) { background: #2b3027; }
.cooca-control:disabled { cursor: default; opacity: .7; }
.cooca-motion-status {
  flex-basis: 100%;
  min-height: 34px;
  padding: 0 8px;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
  color: var(--cooca-muted);
  margin: 0;
}
@keyframes cooca-mascot-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.004, 1.007); }
}
@keyframes cooca-mascot-left-flap {
  0%, 100% { transform: rotate(-20deg) scaleY(1); }
  15%, 58% { transform: rotate(-15deg) scaleY(.95); }
  34%, 78% { transform: rotate(-26deg) scaleY(1.025); }
}
@keyframes cooca-mascot-right-flap {
  0%, 100% { transform: rotate(20deg) scaleY(1); }
  15%, 58% { transform: rotate(15deg) scaleY(.95); }
  34%, 78% { transform: rotate(26deg) scaleY(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .cooca-scene.cooca-is-breathing .cooca-body { animation: none; }
}
