/* Tplabcito Christmas hat — preview overlay only. Does not change live files. */

.tplabcito.has-xmas-hat .tc-antenna,
.tplabcito.has-xmas-hat .tc-p-ant {
  opacity: 0 !important;
  visibility: hidden;
}

.tplabcito .tc-hat,
.tplabcito .tc-hat * {
  pointer-events: none;
}

.tplabcito.is-idle .tc-hat-pompom {
  animation: tc-hat-pompom 3.8s ease-in-out infinite;
  animation-delay: -.7s;
}

@keyframes tc-hat-pompom {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .tplabcito.is-idle .tc-hat-pompom,
  .tplabcito .tc-hat-pompom {
    animation: none !important;
    transform: none !important;
  }
}

/* Let the hat peek on small chat avatars (existing rule is overflow:hidden). */
.tplabcito-advisor-avatar:has(.has-xmas-hat),
.tplabcito-advisor-avatar-small:has(.has-xmas-hat) {
  overflow: visible;
}
