@media (max-width: 1120px) {
  .creator-layout {
    grid-template-columns: 1fr;
  }

  .main-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 0.75rem;
  }

  .tool-panel::before,
  .tool-panel::after {
    display: none;
  }

  .agenda-steps,
  .style-picker,
  .tool-note,
  .uploader {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  h1 {
    max-width: 10ch;
  }

  .creator-stage,
  .tool-panel,
  .share-section {
    padding: 1rem;
  }

  .agenda-steps,
  .style-picker {
    grid-template-columns: 1fr;
  }

  .agenda-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-block: 0.8rem;
  }

  .agenda-steps li {
    min-height: 4.35rem;
    padding: 1.3rem 0.45rem 0.45rem;
    font-size: 0.88rem;
    line-height: 1.12;
  }

  .agenda-steps li::before {
    left: 0.45rem;
    top: 0.35rem;
    font-size: 0.68rem;
  }

  .signage-frame::after {
    display: none;
  }

  .cropme-slider,
  .cropme-rotation-slider {
    left: 2.5rem;
  }

  .cropme-slider input::-webkit-slider-thumb,
  .cropme-rotation-slider input::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -10px;
  }

  .cropme-slider input::-moz-range-thumb,
  .cropme-rotation-slider input::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .color-btn {
    min-height: 4.5rem;
  }

  .footer {
    padding: 0 0.75rem 0.75rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-height: 740px) and (min-width: 901px) {
  .creator-layout {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
