.acg-hero-stage {
  position: relative;
  display: flex;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.acg-hero-tools {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.acg-hero-toolstrip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  border-radius: 22px;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.acg-hero-tool {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.acg-hero-tool--solo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #1a1d24;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.acg-hero-tool.is-active {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.16);
}

.acg-hero-tool--letter {
  font-size: 12px;
  font-weight: 700;
}

.acg-hero-add {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #22c55e;
  color: #04120a;
}

.acg-hero-frame {
  position: relative;
  flex: 0 0 400px;
  width: 400px;
  height: 622px;
}

.acg-hero-portrait {
  position: relative;
  overflow: hidden;
  width: 400px;
  height: 622px;
  border-radius: 28px;
  background: #1a1d24;
}

.acg-hero-overlay {
  position: absolute;
  top: 7%;
  left: 10%;
  right: 10%;
  z-index: 2;
  padding: 10px 8px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.88);
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.4vw, 36px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
  text-align: center;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.acg-hero-overlay::before,
.acg-hero-overlay::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

.acg-hero-overlay::before {
  top: -4px;
  left: -4px;
}

.acg-hero-overlay::after {
  top: -4px;
  right: -4px;
}

.acg-hero-play {
  position: absolute;
  top: 44%;
  right: -18px;
  z-index: 3;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #a855f7;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.45);
}

.acg-hero-lock {
  position: absolute;
  top: 18px;
  right: -10px;
  z-index: 3;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #facc15;
}

.acg-hero-style {
  position: absolute;
  right: -8px;
  bottom: 18%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #1a1d24;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.acg-hero-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.7);
}

.acg-hero-dots {
  position: absolute;
  right: 8px;
  bottom: 18px;
  z-index: 1;
  width: 88px;
  height: 64px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.4px, transparent 1.6px);
  background-size: 10px 10px;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .acg-hero-stage {
    margin-top: 12px;
    justify-content: center;
  }

  .acg-hero-frame,
  .acg-hero-portrait {
    flex-basis: 280px;
    width: 280px;
    height: 436px;
  }

  .acg-hero-play,
  .acg-hero-lock,
  .acg-hero-style {
    right: 8px;
  }

  .acg-hero-play {
    top: auto;
    bottom: 88px;
  }
}

@media (max-width: 639px) {
  .acg-hero-tools {
    display: none;
  }

  .acg-hero-frame,
  .acg-hero-portrait {
    flex-basis: 240px;
    width: 240px;
    height: 374px;
  }
}

