@scope (.cg-uiverse-original-star) {

  .star {
    --star-color: #9bd436;
    position: relative;
    width: 64px; /* Increased from 50px */
    height: 64px; /* Increased from 50px */
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .star .checkbox {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 20;
    cursor: pointer;
  }

  .star .svg-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .star .svg-outline,
  .star .svg-filled {
    fill: var(--star-color);
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
  }

  .star .svg-filled {
    animation: keyframes-svg-filled 1s;
    opacity: 0;
    transform: scale(0);
  }

  .star .svg-celebrate {
    position: absolute;
    display: none;
    stroke: var(--star-color);
    fill: var(--star-color);
    stroke-width: 2px;
  }

  .star .particle {
    position: absolute;
    animation-fill-mode: forwards;
    display: none;
  }

  .star .checkbox:checked ~ .svg-container .svg-outline {
    opacity: 0;
  }

  .star .checkbox:checked ~ .svg-container .svg-filled {
    opacity: 1;
    transform: scale(1);
  }

  .star .checkbox:not(:checked) ~ .svg-container .svg-filled {
    animation: keyframes-svg-unfilled 0.3s forwards;
  }

  .star .checkbox:checked ~ .svg-container .svg-celebrate {
    display: block;
  }

  .star .checkbox:checked ~ .svg-container .particle {
    display: block;
  }

  .star .particle:nth-child(1) {
    animation: particle-1 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .star .particle:nth-child(2) {
    animation: particle-2 1s ease-out;
  }
  .star .particle:nth-child(3) {
    animation: particle-3 1s ease-out;
  }
  .star .particle:nth-child(4) {
    animation: particle-4 1s ease-out;
  }
  .star .particle:nth-child(5) {
    animation: particle-5 1s ease-out;
  }
  .star .particle:nth-child(6) {
    animation: particle-6 1s ease-out;
  }
  .star .particle:nth-child(7) {
    animation: particle-7 1s ease-out;
  }
  .star .particle:nth-child(8) {
    animation: particle-8 1s ease-out;
  }

  @keyframes keyframes-svg-filled {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    25% {
      transform: scale(1.2);
      opacity: 1;
    }
    50% {
      transform: scale(1);
      filter: brightness(1.5);
    }
  }

  @keyframes keyframes-svg-unfilled {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-1 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    40% {
      transform: translate(-20px, -25px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(-40px, 40px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-2 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    40% {
      transform: translate(20px, -25px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(40px, 40px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-3 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    40% {
      transform: translate(-30px, -20px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(-50px, 45px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-4 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    40% {
      transform: translate(30px, -20px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(50px, 45px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-5 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    45% {
      transform: translate(0, -30px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(0, 40px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-6 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    35% {
      transform: translate(-35px, -15px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(-60px, 50px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-7 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    35% {
      transform: translate(35px, -15px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(60px, 50px) scale(0);
      opacity: 0;
    }
  }

  @keyframes particle-8 {
    0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
    }
    45% {
      transform: translate(0, -35px) scale(0.6);
      opacity: 0.6;
    }
    100% {
      transform: translate(0, 45px) scale(0);
      opacity: 0;
    }
  }
}

/* Fit original 64px star within the existing 24px click target. No native animation modified. */
.cg-uiverse-original-star{position:relative;display:inline-flex;flex:0 0 24px;width:24px;height:24px;pointer-events:none!important;overflow:visible!important;vertical-align:middle}
.cg-uiverse-original-star>.star{position:absolute;display:block;left:50%;top:50%;margin-left:-32px;margin-top:-32px;transform:scale(.375);transform-origin:center center}
.cg-uiverse-original-star input.checkbox{pointer-events:none!important}
.cg-uiverse-star-enabled .pulse-heart__heart>svg,.cg-uiverse-star-enabled.cg-profile-star>svg{visibility:hidden!important;opacity:0!important}
.cg-uiverse-star-enabled .pulse-heart__heart::after{display:none!important}
.cg-uiverse-star-enabled .pulse-heart__heart{overflow:visible!important}
.cg-uiverse-star-enabled .cg-uiverse-original-star .star .svg-outline{opacity:1!important}
.cg-uiverse-star-enabled .cg-uiverse-original-star .star .svg-filled{opacity:0!important}
.cg-uiverse-star-enabled .cg-uiverse-original-star .star .checkbox:checked~.svg-container .svg-outline{opacity:0!important}
.cg-uiverse-star-enabled .cg-uiverse-original-star .star .checkbox:checked~.svg-container .svg-filled{opacity:1!important}
.cg-uiverse-star-enabled .cg-uiverse-original-star .star .svg-container{overflow:visible!important}
.cg-uiverse-star-enabled.cg-profile-star .cg-uiverse-original-star{margin:0}
