.studio-effects-wrapper {
  width: 100%;
  max-width: min(960px, 92vw);
  margin: 0 auto;
  padding: 14px 16px 12px;
  border-radius: 14px;
  border: 1px solid rgba(241, 196, 15, 0.35);
  background: linear-gradient(160deg, #120425 0%, #1a0538 55%, #0d0218 100%);
  color: #f3eefc;
  font-family: Sora, Outfit, "Segoe UI", sans-serif;
  box-sizing: border-box;
}

.effects-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.effects-pulse-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: koccFxPulse 1.4s infinite;
  flex-shrink: 0;
}

.effects-title-bar h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
}

.effects-subtitle-guide {
  margin: 0 0 12px;
  font-size: 0.75rem;
  color: rgba(220, 210, 240, 0.78);
  line-height: 1.4;
}

.effects-category-block {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.effects-category-block h3 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  font-weight: 700;
}

.effects-category-block.ultra-premium h3 {
  color: #f1c40f !important;
  text-shadow: 0 0 10px rgba(241, 196, 15, 0.4);
}

.effects-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.effect-action-btn {
  appearance: none;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(26, 0, 51, 0.85);
  color: #ede9fe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.effect-action-btn:hover {
  background: rgba(88, 28, 135, 0.75);
}

.effect-action-btn.active {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #0b0218;
  border-color: #fff;
}

.effect-action-btn.clear-btn {
  border-color: rgba(248, 113, 113, 0.55);
  color: #fecaca;
}

.effect-action-btn.ultra-btn {
  background: #1a0033;
  border: 1px solid #f1c40f;
  color: #f1c40f;
  font-weight: 700;
}

.effect-action-btn.ultra-btn:hover {
  background: #f1c40f;
  color: #000;
  box-shadow: 0 0 15px #f1c40f;
}

.effect-action-btn.ultra-btn.active {
  background: linear-gradient(135deg, #f1c40f 0%, #b38728 100%);
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(241, 196, 15, 0.6);
}

.effects-status-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.72rem;
}

.effects-status-footer p {
  margin: 0;
}

.status-highlight {
  color: #f1c40f;
  font-weight: 700;
}

.feed-stable {
  color: #22c55e;
  font-weight: 800;
  letter-spacing: 0.04em;
}

#studioLiveVideo.fx-standard-blur,
#koccVideoShell.fx-standard-blur #studioLiveVideo {
  filter: blur(2px) brightness(1.02) !important;
}
#studioLiveVideo.fx-deep-blur,
#koccVideoShell.fx-deep-blur #studioLiveVideo {
  filter: blur(5px) brightness(0.98) saturate(0.95) !important;
}
#studioLiveVideo.fx-auto-frame,
#koccVideoShell.fx-auto-frame #studioLiveVideo {
  filter: contrast(1.08) brightness(1.04) !important;
  transform: scale(1.04);
  transform-origin: center center;
}
#studioLiveVideo.fx-eye-contact,
#koccVideoShell.fx-eye-contact #studioLiveVideo {
  filter: contrast(1.06) brightness(1.08) saturate(1.05) !important;
}
#studioLiveVideo.fx-sharp-high,
#koccVideoShell.fx-sharp-high #studioLiveVideo {
  filter: contrast(1.22) brightness(1.06) saturate(1.08) !important;
}
#studioLiveVideo.fx-portrait-warm,
#koccVideoShell.fx-portrait-warm #studioLiveVideo {
  filter: contrast(1.08) brightness(1.07) saturate(1.18) sepia(0.12) !important;
}
#studioLiveVideo.fx-cinema-matte,
#koccVideoShell.fx-cinema-matte #studioLiveVideo {
  filter: contrast(1.12) brightness(0.96) saturate(0.92) !important;
}
#studioLiveVideo.fx-4d-motion,
#koccVideoShell.fx-4d-motion #studioLiveVideo {
  filter: contrast(1.14) brightness(1.06) saturate(1.12) !important;
  animation: koccFx4d 2.8s ease-in-out infinite;
}
#studioLiveVideo.fx-6k-cinema,
#koccVideoShell.fx-6k-cinema #studioLiveVideo,
.video-stream-canvas.effect-6k-cinema {
  filter: contrast(1.15) brightness(1.05) saturate(1.1) !important;
  box-shadow: 0 0 30px rgba(241, 196, 15, 0.2);
}
#studioLiveVideo.fx-magic-glow,
#koccVideoShell.fx-magic-glow #studioLiveVideo,
.video-stream-canvas.effect-magic-glow {
  filter: saturate(1.2) brightness(1.1) contrast(1.08) !important;
}

@keyframes koccFxPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes koccFx4d {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

@media (max-width: 700px) {
  .studio-effects-wrapper {
    max-width: 100%;
    padding: 12px;
  }
  .effects-title-bar h2 {
    font-size: 0.78rem;
  }
  .effect-action-btn {
    font-size: 0.68rem;
    padding: 7px 10px;
  }
}
