/* Halloween scarecrow — clean module with hand overlay */

body.cr-graphite .hero {
  position: relative !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Внутреннее окно карточки: тут сидит основное пугало */
body.cr-graphite .cr-hw-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Основное пугало внутри карточки */
body.cr-graphite .cr-hw-scarecrow {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 50%;
  max-width: 260px;
  max-height: 90%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(255,110,20,.22));
}

/* Верхний слой — только кисть */
body.cr-graphite .cr-hw-hand {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 50%;
  max-width: 260px;
  max-height: 90%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  filter: none;
  clip-path: polygon(
    84% 70%,
    100% 67%,
    100% 100%,
    79% 100%,
    76% 90%,
    76% 79%
  );
}

/* Весь контент карточки выше фонового окна */
body.cr-graphite .hero > :not(.cr-hw-window):not(.cr-hw-hand) {
  position: relative;
  z-index: 2;
}

/* Текущий перенос описания оставляем */
body.cr-graphite .hero .winner-count-copy {
  white-space: normal !important;
}
