/* Dedicated, isolated stylesheet: this source must remain reliable even if a
   legacy live-widget theme contains an invalid or unsupported CSS rule. */
.live-widget[data-live-view="emotecombo"] {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.live-widget[data-live-view="emotecombo"] .live-widget-card {
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  overflow: visible;
}

.live-widget[data-live-view="emotecombo"] .live-widget-card::before,
.live-widget[data-live-view="emotecombo"] .live-widget-head,
.live-widget[data-live-view="emotecombo"] .live-widget-view[data-view="emotes"] {
  display: none !important;
}

.live-widget[data-live-view="emotecombo"] .live-widget-view[data-view="emotecombo"] {
  display: block !important;
  height: 100% !important;
  padding: 0 !important;
}

.live-widget[data-live-view="emotecombo"] .live-widget-emote-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) clamp(116px, 14vw, 220px) minmax(120px, 1fr);
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  width: min(78vw, 890px);
  min-height: clamp(142px, 18vw, 254px);
  padding: clamp(16px, 2vw, 28px) clamp(20px, 3vw, 48px);
  border: 1px solid var(--accent, #f27622);
  border-radius: 999px;
  background: linear-gradient(105deg, rgba(11, 12, 17, .92), rgba(242, 118, 34, .35), rgba(11, 12, 17, .92));
  box-shadow: 0 0 34px rgba(242, 118, 34, .64), inset 0 0 28px rgba(255, 255, 255, .12);
  color: var(--text, #fff);
  opacity: 0;
  isolation: isolate;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--combo-scale, 1));
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-active {
  opacity: 1;
  animation: filyx-emote-combo-in .52s cubic-bezier(.14, .95, .24, 1) both;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-leaving {
  animation: filyx-emote-combo-out .34s ease-in both;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: clamp(142px, 19vw, 276px);
  height: clamp(142px, 19vw, 276px);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 30px var(--accent, #f27622), inset 0 0 26px var(--accent, #f27622);
  opacity: .78;
  transform: translate(-50%, -50%);
  animation: filyx-emote-combo-aura 1.8s ease-in-out infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-image {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(110px, 14vw, 220px);
  object-fit: contain;
  color: #fff;
  font: 1000 clamp(86px, 12vw, 182px)/1 system-ui, sans-serif;
  text-shadow: 0 0 26px var(--accent, #f27622), 0 10px 16px rgba(0, 0, 0, .85);
  filter: drop-shadow(0 10px 13px rgba(0, 0, 0, .78)) drop-shadow(0 0 20px var(--accent, #f27622));
  animation: filyx-emote-combo-emote 1.08s ease-in-out infinite alternate;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-copy small {
  color: #fff;
  font-size: clamp(12px, 1.35vw, 21px);
  font-weight: 950;
  letter-spacing: .22em;
  text-shadow: 0 0 14px var(--accent, #f27622);
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-copy strong {
  color: #fff;
  font-size: clamp(70px, 11vw, 170px);
  font-weight: 1000;
  line-height: .84;
  letter-spacing: -.075em;
  text-shadow: 0 0 24px var(--accent, #f27622), 0 5px 0 rgba(0, 0, 0, .62);
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-copy span {
  margin-top: 9px;
  color: #fff;
  font-size: clamp(10px, 1.12vw, 16px);
  font-weight: 850;
  letter-spacing: .15em;
  opacity: .88;
}

/* Compact OBS source: only the emote, the visual energy around it and the
   live multiplier remain.  It is intentionally isolated from the full card. */
.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo {
  display: block;
  width: clamp(118px, 16vw, 284px);
  min-height: 0;
  height: clamp(118px, 16vw, 284px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none;
  overflow: visible;
}

.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-aura {
  z-index: 0;
  width: 132%;
  height: 132%;
  border-width: 3px;
  box-shadow: 0 0 44px 8px var(--accent, #f27622), inset 0 0 26px var(--accent, #f27622);
}

.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-image {
  z-index: 2;
  width: 100%;
  height: 100%;
  font-size: clamp(88px, 13vw, 188px);
}

.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-copy {
  position: absolute;
  right: -8%;
  bottom: -8%;
  z-index: 6;
  display: block;
}

.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-copy small,
.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-copy span {
  display: none;
}

.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-copy strong {
  display: grid;
  place-items: center;
  min-width: clamp(54px, 6vw, 98px);
  min-height: clamp(48px, 5.5vw, 86px);
  padding: 0 .18em;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #f27622), rgba(11, 12, 17, .98) 78%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .65), 0 0 20px var(--accent, #f27622);
  color: #fff;
  font-size: clamp(31px, 4.25vw, 66px);
  line-height: 1;
  letter-spacing: -.07em;
  text-shadow: none;
}

.live-widget[data-live-view="emotecombo"][data-emote-layout="compact"] .live-emote-combo-spark {
  z-index: 3;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 18px 5px var(--accent, #f27622);
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px var(--accent, #f27622);
  opacity: 0;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-active .live-emote-combo-spark {
  animation: filyx-emote-combo-spark 1.05s cubic-bezier(.12, .8, .28, 1) infinite;
  transform: rotate(var(--spark-angle, 0deg));
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-orbit .live-emote-combo-aura {
  border: 8px double rgba(255, 255, 255, .9);
  border-left-color: transparent;
  border-right-color: transparent;
  box-shadow: 0 0 38px var(--accent, #f27622), inset 0 0 22px rgba(255, 255, 255, .7);
  animation: filyx-emote-combo-orbit 1.65s linear infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-orbit .live-emote-combo-image {
  animation: filyx-emote-combo-orbit-emote 1.65s cubic-bezier(.4, 0, .2, 1) infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-orbit .live-emote-combo-copy {
  animation: filyx-emote-combo-orbit-copy 1.65s ease-in-out infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-meteor::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 50%;
  z-index: 1;
  width: 94%;
  height: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent 0%, var(--accent, #f27622) 24%, #fff 49%, var(--accent, #f27622) 73%, transparent 100%);
  filter: blur(8px);
  animation: filyx-emote-combo-trail 1.05s cubic-bezier(.2,.75,.28,1) infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-meteor .live-emote-combo-image {
  animation: filyx-emote-combo-meteor-emote 1.05s cubic-bezier(.2,.75,.28,1) infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-meteor .live-emote-combo-aura {
  border-width: 4px 1px;
  border-radius: 30%;
  animation: filyx-emote-combo-meteor-aura 1.05s ease-in-out infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-bounce .live-emote-combo-image {
  animation: filyx-emote-combo-bounce 1.02s cubic-bezier(.18,.82,.34,1.45) infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-bounce .live-emote-combo-aura {
  border-width: 10px;
  animation: filyx-emote-combo-bounce-aura 1.02s ease-out infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-bounce .live-emote-combo-copy strong {
  animation: filyx-emote-combo-count-bounce 1.02s cubic-bezier(.18,.82,.34,1.3) infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-wave {
  background: linear-gradient(105deg, rgba(11, 12, 17, .92), var(--accent, #f27622), rgba(76, 213, 255, .72), var(--accent, #f27622), rgba(11, 12, 17, .92));
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-wave .live-emote-combo-aura {
  border-radius: 42% 58% 63% 37% / 45% 39% 61% 55%;
  animation: filyx-emote-combo-wave-aura 2.3s ease-in-out infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-wave .live-emote-combo-image {
  animation: filyx-emote-combo-wave-emote 1.65s ease-in-out infinite;
}

.live-widget[data-live-view="emotecombo"] .live-emote-combo.is-wave .live-emote-combo-copy {
  animation: filyx-emote-combo-wave-copy 1.65s ease-in-out infinite;
}

@keyframes filyx-emote-combo-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(calc(var(--combo-scale, 1) * .35)); }
  68% { opacity: 1; transform: translate(-50%, -50%) scale(calc(var(--combo-scale, 1) * 1.08)); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(var(--combo-scale, 1)); }
}

@keyframes filyx-emote-combo-out {
  to { opacity: 0; transform: translate(-50%, -55%) scale(calc(var(--combo-scale, 1) * .86)); }
}

@keyframes filyx-emote-combo-aura {
  50% { transform: translate(-50%, -50%) scale(1.17); opacity: .25; }
}

@keyframes filyx-emote-combo-emote {
  to { transform: translateY(-7px) rotate(4deg) scale(1.06); }
}

@keyframes filyx-emote-combo-spark {
  0% { opacity: 0; transform: rotate(var(--spark-angle, 0deg)) translateY(-5px) scale(.4); }
  26% { opacity: 1; }
  to { opacity: 0; transform: rotate(var(--spark-angle, 0deg)) translateY(clamp(86px, 12vw, 195px)) scale(1.1); }
}

@keyframes filyx-emote-combo-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes filyx-emote-combo-orbit-emote {
  0%, 100% { transform: translateX(-18px) rotate(-9deg) scale(.96); }
  50% { transform: translateX(18px) rotate(9deg) scale(1.08); }
}

@keyframes filyx-emote-combo-orbit-copy {
  0%, 100% { transform: translateX(7px); }
  50% { transform: translateX(-7px); }
}

@keyframes filyx-emote-combo-trail {
  0%, 100% { opacity: .12; transform: translateX(-46%) scaleX(.3); }
  48% { opacity: 1; transform: translateX(46%) scaleX(1.15); }
  70% { opacity: .36; transform: translateX(60%) scaleX(.5); }
}

@keyframes filyx-emote-combo-meteor-emote {
  0%, 100% { transform: translateX(-22px) rotate(-9deg) scale(.88); opacity: .8; }
  44% { transform: translateX(18px) rotate(7deg) scale(1.13); opacity: 1; }
  58% { transform: translateX(28px) rotate(11deg) scale(1.04); }
}

@keyframes filyx-emote-combo-meteor-aura {
  0%, 100% { transform: translate(-50%, -50%) scaleX(.56) scaleY(.82); opacity: .18; }
  48% { transform: translate(-50%, -50%) scaleX(1.52) scaleY(1.08); opacity: .94; }
}

@keyframes filyx-emote-combo-bounce {
  0%, 100% { transform: translateY(2px) scale(.88, 1.12); }
  16% { transform: translateY(-28px) scale(1.08, .92); }
  36% { transform: translateY(0) scale(1.16, .8); }
  55% { transform: translateY(-12px) scale(1.02, .98); }
  72% { transform: translateY(0) scale(1.08, .92); }
}

@keyframes filyx-emote-combo-bounce-aura {
  0%, 100% { transform: translate(-50%, -50%) scale(.7, 1.35); opacity: .18; }
  36% { transform: translate(-50%, -50%) scale(1.45, .65); opacity: .9; }
  55% { transform: translate(-50%, -50%) scale(1.02, 1.04); opacity: .52; }
}

@keyframes filyx-emote-combo-count-bounce {
  0%, 100% { transform: scale(1); }
  36% { transform: scale(1.13, .85); }
  56% { transform: scale(.98, 1.08); }
}

@keyframes filyx-emote-combo-wave-aura {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(.86); opacity: .42; }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.22); opacity: .94; }
}

@keyframes filyx-emote-combo-wave-emote {
  0%, 100% { transform: translateY(5px) rotate(-5deg) scale(.98); }
  25% { transform: translateY(-13px) rotate(5deg) scale(1.06); }
  50% { transform: translateY(2px) rotate(8deg) scale(1); }
  75% { transform: translateY(-8px) rotate(-8deg) scale(1.05); }
}

@keyframes filyx-emote-combo-wave-copy {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-7px); }
  50% { transform: translateY(2px); }
  75% { transform: translateY(-4px); }
}

@media (max-width: 700px) {
  .live-widget[data-live-view="emotecombo"] .live-emote-combo {
    grid-template-columns: 1fr clamp(88px, 26vw, 140px) 1fr;
    width: 94vw;
    padding: 10px 13px;
  }
}
