@scope (#composer) {
.photo-crop {
  position: relative;
  width: min(100%, 312px);
  aspect-ratio: 18 / 25;
  margin: 0 auto 14px;
  overflow: hidden;
  touch-action: none;
  background: #f0f0f0;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, .05);
}
.photo-crop > img { width: 100%; max-width: none; user-select: none; -webkit-user-drag: none; }
.photo-crop > .photo-overlay { position: absolute; inset: 0; z-index: 5; height: 100%; object-fit: cover; pointer-events: none; }
.photo-crop .cropper-container { width: 100% !important; height: 100% !important; }
.photo-crop .cropper-crop-box, .photo-crop .cropper-view-box { outline: 0; }
.photo-crop .cropper-crop-box { z-index: 6; }
.photo-crop.has-preview .cropper-view-box > img { visibility: hidden; }
.photo-crop .cropper-line, .photo-crop .cropper-point { display: none; }
.photo-crop .cropper-dashed { border-color: rgba(255, 255, 255, .68); border-style: solid; opacity: .72; filter: drop-shadow(0 0 .5px rgba(0, 0, 0, .52)); pointer-events: none; }
.photo-crop .cropper-face { background: transparent; }
.photo-error { margin-bottom: 8px; }
.photo-filters, .photo-frames { width: min(100%, 312px); margin: 0 auto 10px; }
.photo-filters { display: flex; gap: 8px; padding-bottom: 8px; overflow-x: auto; scroll-snap-type: x proximity; }
.photo-media-button { width: auto; min-height: 38px; padding: 0 8px; border: 0; border-radius: 0; background: #fff; color: #484848; font-size: 12px; font-weight: 700; }
.photo-filters .photo-media-button { flex: none; min-width: 92px; padding-inline: 14px; border: 1px solid #d6d6d6; font-size: 13px; white-space: nowrap; scroll-snap-align: start; }
.photo-media-button:focus-visible { outline-offset: -3px; }
.photo-media-button[aria-pressed='true'] { background: #2e2e2e; border-color: #2e2e2e; color: #fff; }
.photo-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #d1d1d1; }
.photo-frames > button + button { border-left: 1px solid #d1d1d1; }
}
