/* Cartoon sign mirror — Modern video page */

body.ish-video-modern .ish-cartoon-mirror {
  margin: 0 0 24px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(229, 9, 20, 0.24);
  background: linear-gradient(145deg, rgba(229, 9, 20, 0.1), rgba(108, 99, 255, 0.12));
}

body.ish-video-modern .ish-cartoon-mirror[hidden] {
  display: none !important;
}

body.ish-video-modern .ish-cartoon-mirror__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

body.ish-video-modern .ish-cartoon-mirror__head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}

body.ish-video-modern .ish-cartoon-mirror__head p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

body.ish-video-modern .ish-cartoon-mirror__status {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}

body.ish-video-modern .ish-cartoon-mirror__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.ish-video-modern .ish-cartoon-mirror__stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.34);
  min-height: 220px;
}

body.ish-video-modern .ish-cartoon-mirror__stage canvas {
  display: block;
  width: 100%;
  height: auto;
}

body.ish-video-modern .ish-cartoon-mirror.is-active .ish-cartoon-mirror__stage {
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.35), 0 18px 40px rgba(0, 0, 0, 0.28);
}

body.ish-video-modern .ish-video-actionbar__btn.is-cartoon-mirror {
  border-color: rgba(229, 9, 20, 0.42);
  background: rgba(229, 9, 20, 0.16);
}

body.ish-video-modern .ish-video-actionbar__btn.is-cartoon-mirror[aria-pressed="true"] {
  border-color: rgba(108, 99, 255, 0.55);
  background: rgba(108, 99, 255, 0.24);
}

body.ish-home-modern.ish-modern-light.ish-video-modern .ish-cartoon-mirror,
body.ish-home-modern.ish-modern-sepia.ish-video-modern .ish-cartoon-mirror,
body.ish-home-modern.ish-modern-contrast.ish-video-modern .ish-cartoon-mirror {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(229, 9, 20, 0.18);
}

body.ish-home-modern.ish-modern-light.ish-video-modern .ish-cartoon-mirror__head h2,
body.ish-home-modern.ish-modern-sepia.ish-video-modern .ish-cartoon-mirror__head h2,
body.ish-home-modern.ish-modern-contrast.ish-video-modern .ish-cartoon-mirror__head h2 {
  color: rgba(0, 0, 0, 0.88);
}

@media (min-width: 992px) {
  body.ish-video-modern .ish-cartoon-mirror__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
