#pixie-cat-pet-root {
  position: fixed;
  inset: 0;
  /* Pixie is an OS-level pet: keep her above windows so titlebar perches render. */
  z-index: 7600;
  pointer-events: none;
  contain: layout style;
  transition: opacity .18s ease;
}

body.pixie-radio-rhythm #pixie-cat-pet-root {
  opacity: 0;
  visibility: hidden;
}

#pixie-cat-pet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}

#pixie-cat-pet-panel {
  position: absolute;
  right: 10px;
  bottom: 42px;
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid #58dbff;
  border-radius: 4px;
  background: rgba(7, 11, 16, .82);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 18px rgba(88, 219, 255, .22);
  pointer-events: auto;
}

#pixie-cat-pet-panel button {
  min-width: 34px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid #244557;
  border-radius: 3px;
  background: #111923;
  color: #dffbff;
  font: 700 10px "Share Tech Mono", "Courier New", monospace;
  letter-spacing: 0;
  cursor: pointer;
}

#pixie-cat-pet-panel button:hover,
#pixie-cat-pet-panel button:focus-visible {
  border-color: #58dbff;
  color: #fff;
  outline: none;
}

/* the "✕ hide" (disable) button reads as the odd-one-out, muted pink */
#pixie-cat-pet-panel button.pixie-cat-disable {
  border-color: #7a3a5a;
  color: #ff9ec8;
}
#pixie-cat-pet-panel button.pixie-cat-disable:hover,
#pixie-cat-pet-panel button.pixie-cat-disable:focus-visible {
  border-color: #ff8ec6;
  color: #fff;
}

/* little corner pill that stays when Pixie is hidden, to bring her back */
#pixie-cat-show-pill {
  position: fixed;
  right: 12px;
  bottom: 44px;
  z-index: 7601;
  padding: 6px 11px;
  border: 1px solid #ff8ec6;
  border-radius: 999px;
  background: rgba(7, 11, 16, .9);
  color: #ffd6ee;
  font: 700 11px "Share Tech Mono", "Courier New", monospace;
  letter-spacing: .02em;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 16px rgba(255, 142, 198, .28);
  transition: transform .12s ease, box-shadow .12s ease;
}
#pixie-cat-show-pill:hover,
#pixie-cat-show-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 22px rgba(255, 142, 198, .5);
  outline: none;
}

@media (max-width: 720px) {
  #pixie-cat-show-pill {
    right: 8px;
    bottom: 52px;
  }
}

#pixie-cat-pet-status {
  position: absolute;
  right: 10px;
  bottom: 78px;
  max-width: min(270px, calc(100vw - 20px));
  padding: 6px 8px;
  border: 1px solid rgba(88, 219, 255, .4);
  border-radius: 4px;
  background: rgba(7, 11, 16, .82);
  color: #9deefa;
  font: 700 10px "Share Tech Mono", "Courier New", monospace;
  line-height: 1.35;
  text-align: right;
  opacity: .76;
  pointer-events: none;
}

body.pixie-cat-dragging,
body.pixie-cat-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}

@media (max-width: 720px) {
  #pixie-cat-pet-panel {
    right: 8px;
    bottom: 50px;
  }

  #pixie-cat-pet-status {
    display: none;
  }
}
