/* InazumArcade V883 — seasonal decorations INSIDE the information panels.
   All effects are positioned in the name, PO, stats and ability bands.
   They remain behind the text and do not touch the artwork window or card geometry. */

/* Shared Halloween: same animated pumpkin / bat / ghost / web motifs on all three cards. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name > *,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating > *,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > *,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability > * {
  position:relative!important;
  z-index:2!important;
}
/* Name strip: little floating pumpkin and bat, behind the name. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name::after,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating::after,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats::after,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  pointer-events:none!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  border:0!important;
  box-shadow:none!important;
  opacity:.62;
  mix-blend-mode:screen!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name::before {
  width:20px!important;height:20px!important;right:5px!important;top:1px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTE4IDdjLTEtNCAxLTYgNy02bC0yIDgiIGZpbGw9IiM3MGI0NWIiIHN0cm9rZT0iI2M3ZWQ5ZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMjAgOEMxMiAzIDQgOSA0IDIxYzAgMTEgNyAxNyAxNiAxN3MxNi02IDE2LTE3QzM2IDkgMjggMyAyMCA4WiIgZmlsbD0iI2ZmOTMyZiIgc3Ryb2tlPSIjZmZkMjhhIiBzdHJva2Utd2lkdGg9IjEuNyIvPjxwYXRoIGQ9Ik05IDE3bDggMy01IDd6bTIyIDAtOCAzIDUgN3pNMTQgMzBoMTJsLTYgNHoiIGZpbGw9IiMyOTEzMzMiLz48cGF0aCBkPSJNMjAgOHYyOU0xNCA5Yy00IDUtNSAxOCAwIDI2bTEyLTI2YzQgNSA1IDE4IDAgMjYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmYmY2OSIgc3Ryb2tlLXdpZHRoPSIxLjIiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+")!important;
  filter:drop-shadow(0 0 5px #ff8e32)!important;
  animation:ia-v883-halloween-pumpkin 4.1s ease-in-out infinite!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name::after {
  width:19px!important;height:14px!important;left:48%!important;top:0!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCAyOCI+PHBhdGggZD0iTTIgNWM3IDAgMTEgNCAxNCAxMCAxLTcgMy0xMSA0LTExczMgNCA0IDExQzI3IDkgMzEgNSAzOCA1Yy0zIDUtMyAxMC0xIDE2LTYtNC0xMC00LTE1IDFsLTIgNC0yLTRjLTUtNS05LTUtMTUtMSAyLTYgMi0xMS0xLTE2WiIgZmlsbD0iI2E5NmNkYSIgc3Ryb2tlPSIjZThjNmZmIiBzdHJva2Utd2lkdGg9IjEuNCIvPjxjaXJjbGUgY3g9IjE2IiBjeT0iMTUiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIyNCIgY3k9IjE1IiByPSIxIiBmaWxsPSIjZmZmIi8+PC9zdmc+")!important;
  filter:drop-shadow(0 0 5px #b77be8)!important;
  animation:ia-v883-halloween-bat 5.2s ease-in-out infinite!important;
  animation-delay:-1.7s!important;
}
/* PO / rarity strip: ghost and cobweb details on both sides. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating::before {
  width:17px!important;height:21px!important;left:4px!important;bottom:1px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiA0MCI+PHBhdGggZD0iTTE2IDNDNyAzIDMgMTEgNCAyMHYxNmw2LTQgNiA0IDYtNCA2IDRWMjBDMjggMTEgMjQgMyAxNiAzWiIgZmlsbD0iI2NhYThlZiIgc3Ryb2tlPSIjZjFkZGZmIiBzdHJva2Utd2lkdGg9IjEuNiIvPjxlbGxpcHNlIGN4PSIxMSIgY3k9IjE4IiByeD0iMiIgcnk9IjMiIGZpbGw9IiMyODEzMzMiLz48ZWxsaXBzZSBjeD0iMjEiIGN5PSIxOCIgcng9IjIiIHJ5PSIzIiBmaWxsPSIjMjgxMzMzIi8+PHBhdGggZD0iTTEyIDI2cTQgNCA4IDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZiM2I5MSIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==")!important;
  filter:drop-shadow(0 0 5px #c59bf0)!important;
  animation:ia-v883-halloween-ghost 4.7s ease-in-out infinite!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating::after {
  width:24px!important;height:24px!important;right:4px!important;top:1px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTIgMlEyMCA0IDM4IDJNMiAyUTQgMjAgMiAzOE0yIDJMMzggMzhNMiAzOEwzOCAyTTIgMTRRMjAgMTggMTQgMk0yIDI2UTIwIDI4IDI2IDJNMTQgMzhRMTggMjAgMzggMTRNMjYgMzhRMjggMjAgMzggMjYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2MzYTBlOCIgc3Ryb2tlLXdpZHRoPSIxLjQiIG9wYWNpdHk9Ii45Ii8+PC9zdmc+")!important;
  opacity:.42;
  animation:ia-v883-halloween-web 6.5s ease-in-out infinite!important;
}
/* Stats strip: a small shared pumpkin/bat pattern placed inside the stats row. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats::before {
  width:19px!important;height:19px!important;left:2px!important;top:1px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTE4IDdjLTEtNCAxLTYgNy02bC0yIDgiIGZpbGw9IiM3MGI0NWIiIHN0cm9rZT0iI2M3ZWQ5ZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMjAgOEMxMiAzIDQgOSA0IDIxYzAgMTEgNyAxNyAxNiAxN3MxNi02IDE2LTE3QzM2IDkgMjggMyAyMCA4WiIgZmlsbD0iI2ZmOTMyZiIgc3Ryb2tlPSIjZmZkMjhhIiBzdHJva2Utd2lkdGg9IjEuNyIvPjxwYXRoIGQ9Ik05IDE3bDggMy01IDd6bTIyIDAtOCAzIDUgN3pNMTQgMzBoMTJsLTYgNHoiIGZpbGw9IiMyOTEzMzMiLz48cGF0aCBkPSJNMjAgOHYyOU0xNCA5Yy00IDUtNSAxOCAwIDI2bTEyLTI2YzQgNSA1IDE4IDAgMjYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmYmY2OSIgc3Ryb2tlLXdpZHRoPSIxLjIiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+")!important;
  filter:drop-shadow(0 0 4px #ff8e32)!important;
  opacity:.42;
  animation:ia-v883-halloween-pumpkin 4.8s ease-in-out infinite!important;
  animation-delay:-2.3s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats::after {
  width:22px!important;height:16px!important;right:3px!important;bottom:0!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCAyOCI+PHBhdGggZD0iTTIgNWM3IDAgMTEgNCAxNCAxMCAxLTcgMy0xMSA0LTExczMgNCA0IDExQzI3IDkgMzEgNSAzOCA1Yy0zIDUtMyAxMC0xIDE2LTYtNC0xMC00LTE1IDFsLTIgNC0yLTRjLTUtNS05LTUtMTUtMSAyLTYgMi0xMS0xLTE2WiIgZmlsbD0iI2E5NmNkYSIgc3Ryb2tlPSIjZThjNmZmIiBzdHJva2Utd2lkdGg9IjEuNCIvPjxjaXJjbGUgY3g9IjE2IiBjeT0iMTUiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIyNCIgY3k9IjE1IiByPSIxIiBmaWxsPSIjZmZmIi8+PC9zdmc+")!important;
  filter:drop-shadow(0 0 5px #b77be8)!important;
  animation:ia-v883-halloween-bat 5.7s ease-in-out infinite!important;
  animation-delay:-3.2s!important;
}
/* Ability panel: another ghost and pumpkin complete the decoration through the bottom. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability::before {
  width:18px!important;height:22px!important;right:5px!important;top:2px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiA0MCI+PHBhdGggZD0iTTE2IDNDNyAzIDMgMTEgNCAyMHYxNmw2LTQgNiA0IDYtNCA2IDRWMjBDMjggMTEgMjQgMyAxNiAzWiIgZmlsbD0iI2NhYThlZiIgc3Ryb2tlPSIjZjFkZGZmIiBzdHJva2Utd2lkdGg9IjEuNiIvPjxlbGxpcHNlIGN4PSIxMSIgY3k9IjE4IiByeD0iMiIgcnk9IjMiIGZpbGw9IiMyODEzMzMiLz48ZWxsaXBzZSBjeD0iMjEiIGN5PSIxOCIgcng9IjIiIHJ5PSIzIiBmaWxsPSIjMjgxMzMzIi8+PHBhdGggZD0iTTEyIDI2cTQgNCA4IDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZiM2I5MSIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==")!important;
  filter:drop-shadow(0 0 5px #c59bf0)!important;
  opacity:.44;
  animation:ia-v883-halloween-ghost 5.1s ease-in-out infinite!important;
  animation-delay:-1.2s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability::after {
  width:19px!important;height:19px!important;left:6px!important;bottom:1px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTE4IDdjLTEtNCAxLTYgNy02bC0yIDgiIGZpbGw9IiM3MGI0NWIiIHN0cm9rZT0iI2M3ZWQ5ZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMjAgOEMxMiAzIDQgOSA0IDIxYzAgMTEgNyAxNyAxNiAxN3MxNi02IDE2LTE3QzM2IDkgMjggMyAyMCA4WiIgZmlsbD0iI2ZmOTMyZiIgc3Ryb2tlPSIjZmZkMjhhIiBzdHJva2Utd2lkdGg9IjEuNyIvPjxwYXRoIGQ9Ik05IDE3bDggMy01IDd6bTIyIDAtOCAzIDUgN3pNMTQgMzBoMTJsLTYgNHoiIGZpbGw9IiMyOTEzMzMiLz48cGF0aCBkPSJNMjAgOHYyOU0xNCA5Yy00IDUtNSAxOCAwIDI2bTEyLTI2YzQgNSA1IDE4IDAgMjYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmYmY2OSIgc3Ryb2tlLXdpZHRoPSIxLjIiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+")!important;
  filter:drop-shadow(0 0 5px #ff8e32)!important;
  opacity:.38;
  animation:ia-v883-halloween-pumpkin 4.4s ease-in-out infinite!important;
  animation-delay:-2.8s!important;
}
@keyframes ia-v883-halloween-pumpkin {
  0%,100%{transform:translateY(1px) rotate(-5deg) scale(.92);opacity:.28}
  45%{transform:translateY(-3px) rotate(5deg) scale(1.05);opacity:.62}
  72%{transform:translateY(0) rotate(-2deg) scale(.98);opacity:.42}
}
@keyframes ia-v883-halloween-bat {
  0%,100%{transform:translate3d(0,1px,0) rotate(-8deg);opacity:.28}
  50%{transform:translate3d(4px,-4px,0) rotate(9deg);opacity:.65}
}
@keyframes ia-v883-halloween-ghost {
  0%,100%{transform:translateY(2px) scale(.9);opacity:.23}
  50%{transform:translateY(-4px) scale(1.06);opacity:.55}
}
@keyframes ia-v883-halloween-web {
  0%,100%{transform:rotate(-5deg);opacity:.20}
  50%{transform:rotate(12deg);opacity:.48}
}

/* New Year: visible pyrotechnic bursts in ALL four lower information panels.
   Different colors, sizes and offsets avoid a rigid/repetitive grid. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name > *,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating > *,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > *,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability > * {
  position:relative!important;
  z-index:2!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name::after,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating::after,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats::after,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability::before,
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability::after {
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:0!important;
  width:23px!important;height:23px!important;
  border:0!important;border-radius:50%!important;
  pointer-events:none!important;
  background:
    repeating-conic-gradient(from 6deg,var(--ia-v883-firework) 0deg 2.8deg,transparent 3.2deg 14deg),
    radial-gradient(circle,#fff 0 1.2px,var(--ia-v883-firework) 1.8px 3.2px,transparent 4.8px)!important;
  background-size:100% 100%!important;
  box-shadow:none!important;
  filter:drop-shadow(0 0 5px var(--ia-v883-glow))!important;
  mix-blend-mode:screen!important;
  opacity:0;
  transform-origin:center!important;
  animation:ia-v883-firework-burst 3.4s cubic-bezier(.16,.7,.22,1) infinite!important;
}
/* Card name */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name::before {
  --ia-v883-firework:#ffe18a;--ia-v883-glow:#ffc84e;
  left:4px!important;top:0!important;width:18px!important;height:18px!important;
  animation-delay:-.3s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name::after {
  --ia-v883-firework:#8feaff;--ia-v883-glow:#47ceff;
  right:5px!important;top:1px!important;width:22px!important;height:22px!important;
  animation-delay:-1.9s!important;
}
/* PO and rarity */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating::before {
  --ia-v883-firework:#ff9bd5;--ia-v883-glow:#ff63bd;
  left:28%!important;top:2px!important;width:18px!important;height:18px!important;
  animation-delay:-1.1s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating::after {
  --ia-v883-firework:#ffe18a;--ia-v883-glow:#ffc84e;
  right:3px!important;bottom:1px!important;width:20px!important;height:20px!important;
  animation-delay:-2.6s!important;
}
/* Three stat cells get the shared celebratory glow in the row itself. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats::before {
  --ia-v883-firework:#8feaff;--ia-v883-glow:#47ceff;
  left:2px!important;top:2px!important;width:21px!important;height:21px!important;
  animation-delay:-.8s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats::after {
  --ia-v883-firework:#ff9bd5;--ia-v883-glow:#ff63bd;
  right:2px!important;bottom:1px!important;width:22px!important;height:22px!important;
  animation-delay:-2.2s!important;
}
/* Ability panel: fireworks frame the text on both ends. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability::before {
  --ia-v883-firework:#ffe18a;--ia-v883-glow:#ffc84e;
  left:5px!important;top:2px!important;width:20px!important;height:20px!important;
  animation-delay:-1.5s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability::after {
  --ia-v883-firework:#b8a0ff;--ia-v883-glow:#8f70ff;
  right:5px!important;bottom:2px!important;width:20px!important;height:20px!important;
  animation-delay:-2.9s!important;
}
@keyframes ia-v883-firework-burst {
  0%,12%{transform:scale(.18) rotate(-16deg);opacity:0}
  29%{transform:scale(.82) rotate(7deg);opacity:.88}
  48%{transform:scale(1.12) rotate(22deg);opacity:.72}
  72%{transform:scale(.86) rotate(38deg);opacity:.5}
  100%{transform:scale(.2) rotate(54deg);opacity:0}
}

@media(prefers-reduced-motion:reduce) {
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-name::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-rating::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-ability::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-name::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-rating::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats::after,
  .ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability::before,.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-ability::after {
    animation:none!important;opacity:.38!important;
  }
}


/* Small ornaments inside each individual stat capsule, so the motifs remain visible
   even though the three stat capsules have their own translucent backgrounds. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > span {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > span > * {
  position:relative!important;
  z-index:2!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > span::before {
  content:""!important;display:block!important;position:absolute!important;
  z-index:0!important;right:1px!important;top:1px!important;
  width:13px!important;height:13px!important;
  background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;
  opacity:.56;
  pointer-events:none!important;
  filter:drop-shadow(0 0 4px #ff9138)!important;
  animation:ia-v883-halloween-stat-charm 3.9s ease-in-out infinite!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > span:nth-child(1)::before {
  right:2px!important;top:auto!important;bottom:1px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTE4IDdjLTEtNCAxLTYgNy02bC0yIDgiIGZpbGw9IiM3MGI0NWIiIHN0cm9rZT0iI2M3ZWQ5ZiIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNMjAgOEMxMiAzIDQgOSA0IDIxYzAgMTEgNyAxNyAxNiAxN3MxNi02IDE2LTE3QzM2IDkgMjggMyAyMCA4WiIgZmlsbD0iI2ZmOTMyZiIgc3Ryb2tlPSIjZmZkMjhhIiBzdHJva2Utd2lkdGg9IjEuNyIvPjxwYXRoIGQ9Ik05IDE3bDggMy01IDd6bTIyIDAtOCAzIDUgN3pNMTQgMzBoMTJsLTYgNHoiIGZpbGw9IiMyOTEzMzMiLz48cGF0aCBkPSJNMjAgOHYyOU0xNCA5Yy00IDUtNSAxOCAwIDI2bTEyLTI2YzQgNSA1IDE4IDAgMjYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmYmY2OSIgc3Ryb2tlLXdpZHRoPSIxLjIiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+")!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > span:nth-child(2)::before {
  left:2px!important;right:auto!important;top:3px!important;
  width:15px!important;height:11px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCAyOCI+PHBhdGggZD0iTTIgNWM3IDAgMTEgNCAxNCAxMCAxLTcgMy0xMSA0LTExczMgNCA0IDExQzI3IDkgMzEgNSAzOCA1Yy0zIDUtMyAxMC0xIDE2LTYtNC0xMC00LTE1IDFsLTIgNC0yLTRjLTUtNS05LTUtMTUtMSAyLTYgMi0xMS0xLTE2WiIgZmlsbD0iI2E5NmNkYSIgc3Ryb2tlPSIjZThjNmZmIiBzdHJva2Utd2lkdGg9IjEuNCIvPjxjaXJjbGUgY3g9IjE2IiBjeT0iMTUiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIyNCIgY3k9IjE1IiByPSIxIiBmaWxsPSIjZmZmIi8+PC9zdmc+")!important;
  filter:drop-shadow(0 0 4px #b982e8)!important;
  animation-delay:-1.3s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-halloween:is(
  .ia-v877-card-event-halloween-alice,
  .ia-v877-card-event-halloween-flora,
  .ia-v877-card-event-halloween-torch-gazelle
) .ia-v797-special-stats > span:nth-child(3)::before {
  right:4px!important;top:auto!important;bottom:1px!important;
  width:12px!important;height:15px!important;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiA0MCI+PHBhdGggZD0iTTE2IDNDNyAzIDMgMTEgNCAyMHYxNmw2LTQgNiA0IDYtNCA2IDRWMjBDMjggMTEgMjQgMyAxNiAzWiIgZmlsbD0iI2NhYThlZiIgc3Ryb2tlPSIjZjFkZGZmIiBzdHJva2Utd2lkdGg9IjEuNiIvPjxlbGxpcHNlIGN4PSIxMSIgY3k9IjE4IiByeD0iMiIgcnk9IjMiIGZpbGw9IiMyODEzMzMiLz48ZWxsaXBzZSBjeD0iMjEiIGN5PSIxOCIgcng9IjIiIHJ5PSIzIiBmaWxsPSIjMjgxMzMzIi8+PHBhdGggZD0iTTEyIDI2cTQgNCA4IDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZiM2I5MSIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==")!important;
  filter:drop-shadow(0 0 4px #caa8ef)!important;
  animation-delay:-2.2s!important;
}
@keyframes ia-v883-halloween-stat-charm {
  0%,100%{transform:translateY(1px) rotate(-5deg);opacity:.28}
  50%{transform:translateY(-2px) rotate(7deg);opacity:.68}
}

/* New Year fireworks are rendered inside each stat capsule instead of behind them. */
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > span {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > span > * {
  position:relative!important;
  z-index:2!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > span::before {
  content:""!important;display:block!important;position:absolute!important;
  z-index:0!important;right:1px!important;top:1px!important;
  width:14px!important;height:14px!important;border:0!important;border-radius:50%!important;
  background:repeating-conic-gradient(from 6deg,var(--ia-v883-firework) 0deg 3deg,transparent 3.3deg 14deg),
    radial-gradient(circle,#fff 0 1px,var(--ia-v883-firework) 1.6px 2.5px,transparent 4px)!important;
  background-size:100% 100%!important;
  filter:drop-shadow(0 0 4px var(--ia-v883-glow))!important;
  opacity:0;
  pointer-events:none!important;
  animation:ia-v883-firework-burst 2.9s cubic-bezier(.16,.7,.22,1) infinite!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > span:nth-child(1)::before {
  right:2px!important;top:1px!important;width:16px!important;height:16px!important;
  --ia-v883-firework:#ffe18a;--ia-v883-glow:#ffc84e;animation-delay:-.4s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > span:nth-child(2)::before {
  left:2px!important;right:auto!important;top:5px!important;width:12px!important;height:15px!important;
  --ia-v883-firework:#8feaff;--ia-v883-glow:#47ceff;animation-delay:-1.4s!important;
}
.ia-os-card.ia-v797-special-card.ia-v797-event.ia-v877-seasonal-event.ia-v877-event-new-year .ia-v797-special-stats > span:nth-child(3)::before {
  right:4px!important;top:auto!important;bottom:1px!important;width:15px!important;height:15px!important;
  --ia-v883-firework:#ff9bd5;--ia-v883-glow:#ff63bd;animation-delay:-2.1s!important;
}
