.tcol-editor-modal *,
.tcol-editor-modal *::before,
.tcol-editor-modal *::after {
  box-sizing: border-box;
}

html.tcol-editor-is-open,
body.tcol-editor-is-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.tcol-editor-modal {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 12%, rgb(255 255 255 / 13%), transparent 30rem),
    rgb(20 19 17 / 94%);
  backdrop-filter: blur(18px);
  transition: opacity 220ms ease;
}

.tcol-editor-modal.is-open {
  opacity: 1;
}

.tcol-editor-modal[hidden] {
  display: none !important;
}

.tcol-magnet-shell {
  position: relative;
  z-index: 1;
  width: 420px;
  height: min(850px, 96dvh);
  flex: none;
  overflow: hidden;
  border: 8px solid #18181b;
  border-radius: 40px;
  background: #000;
  color: #fff;
  box-shadow: 0 0 50px rgb(0 0 0 / 50%);
  font-family: Arial, Helvetica, sans-serif;
}

.tcol-fridge-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.tcol-editor-toolbar {
  position: absolute;
  z-index: 50;
  top: max(0.85rem, env(safe-area-inset-top));
  right: 0.85rem;
  left: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.tcol-editor-close,
.tcol-editor-reset {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.8rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(0 0 0 / 48%);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
  backdrop-filter: blur(12px);
}

.tcol-editor-close {
  padding-left: 0.55rem;
}

.tcol-editor-close svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tcol-editor-reset:disabled {
  cursor: wait;
  opacity: 0.5;
}

.tcol-hero-copy {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  padding: 4rem 2rem 0;
  text-align: center;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 82%),
    rgb(0 0 0 / 42%),
    transparent
  );
}

.tcol-hero-copy h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.1rem, 9vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  text-shadow: 0 3px 12px rgb(0 0 0 / 78%);
}

.tcol-rotating-copy {
  height: 2rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.tcol-rotating-copy p {
  margin: 0;
  color: #d4d4d8;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgb(0 0 0 / 80%);
}

.tcol-rotating-copy p.is-entering {
  animation: tcol-subtitle-in 500ms ease both;
}

@keyframes tcol-subtitle-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tcol-magnet-position {
  position: absolute;
  z-index: 20;
  top: 42%;
  left: 50%;
  width: 238px;
  height: 238px;
  transform-origin: center;
  transition: transform 160ms ease-out;
  pointer-events: none;
}

.tcol-circle-product {
  position: relative;
  width: 238px;
  height: 238px;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  filter: drop-shadow(0 14px 12px rgb(0 0 0 / 76%));
}

.tcol-circle-product:active {
  cursor: grabbing;
}

.tcol-photo-petal {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 82.5px;
  height: 59.5px;
  overflow: hidden;
  padding: 0;
  border: 0;
  appearance: none;
  cursor: pointer;
  touch-action: none;
  background: linear-gradient(145deg, #5b5b64, #2d2d33);
  -webkit-mask-image: url("../images/outer-magnet-mask.svg");
  mask-image: url("../images/outer-magnet-mask.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transform-origin: center;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.tcol-photo-petal.has-photo {
  cursor: grab;
}

.tcol-photo-petal.has-photo:active {
  cursor: grabbing;
}

.tcol-photo-petal:hover,
.tcol-photo-petal:focus-visible,
.tcol-photo-petal.is-active {
  filter: brightness(1.08);
  outline: 0;
}

.tcol-photo-petal.is-active {
  filter: brightness(1.08) drop-shadow(0 0 3px rgb(255 255 255 / 55%));
}

.tcol-slot-selection-indicator {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 82.5px;
  height: 59.5px;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  transition:
    opacity 180ms ease,
    filter 180ms ease;
}

.tcol-slot-selection-indicator::before {
  position: absolute;
  inset: -4px;
  content: "";
  background: #e3ad4e;
  filter: drop-shadow(0 0 4px rgb(231 177 79 / 65%));
  -webkit-mask-image: url("../images/outer-magnet-mask.svg");
  mask-image: url("../images/outer-magnet-mask.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.tcol-slot-selection-indicator.is-active {
  opacity: 1;
}

.tcol-slot-selection-number {
  position: absolute;
  z-index: 2;
  top: -0.75rem;
  left: 50%;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border: 2px solid #151515;
  border-radius: 50%;
  background: #fff2d4;
  color: #111;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 12px rgb(0 0 0 / 58%);
}

.tcol-photo-petal.is-delete-armed,
.tcol-slot-selection-indicator.is-delete-armed {
  filter: saturate(0.65) sepia(0.35) drop-shadow(0 0 7px rgb(255 82 82 / 88%));
}

.tcol-photo-petal.is-deleting {
  animation: tcol-photo-dissolve 520ms cubic-bezier(0.5, 0, 0.8, 0.2) both;
}

.tcol-slot-selection-indicator.is-deleting {
  animation: tcol-selection-collapse 520ms ease-in both;
}

@keyframes tcol-photo-dissolve {
  0% {
    opacity: 1;
    filter: brightness(1) saturate(1);
  }

  38% {
    opacity: 0.8;
    filter: brightness(1.8) saturate(0.35) blur(0.5px);
  }

  100% {
    opacity: 0;
    filter: brightness(2.5) saturate(0) blur(5px);
  }
}

@keyframes tcol-selection-collapse {
  to {
    opacity: 0;
    filter: blur(8px) brightness(2);
  }
}

.tcol-photo-petal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center;
}

.tcol-empty-slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 88%);
  text-shadow: 0 2px 8px #000;
}

.tcol-empty-slot b {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
}

.tcol-empty-slot small {
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tcol-processing-slot {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 92%);
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

.tcol-processing-slot b {
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.tcol-processing-slot small {
  margin-top: 0.18rem;
  font-size: 0.42rem;
  font-weight: 700;
}

.tcol-slot-upload-ui {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 82.5px;
  height: 59.5px;
  overflow: visible;
  pointer-events: none;
  transform-origin: center;
}

.tcol-slot-progress-curve {
  position: absolute;
  inset: -3px;
  overflow: hidden;
  clip-path: inset(0 0 56% 0);
  filter: drop-shadow(0 1px 3px rgb(0 0 0 / 85%));
  transform: scale(1.04);
}

.tcol-slot-progress-track,
.tcol-slot-progress-value {
  position: absolute;
  inset: 0;
  background: center / 100% 100% no-repeat
    url("../images/outer-magnet-progress.svg");
}

.tcol-slot-progress-track {
  opacity: 0.24;
}

.tcol-slot-progress-value {
  opacity: 1;
  transition: clip-path 180ms linear;
}

.tcol-slot-upload-cancel {
  position: absolute;
  z-index: 2;
  top: -0.7rem;
  right: -0.55rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 50%;
  background: rgb(9 9 11 / 92%);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgb(0 0 0 / 65%);
}

.tcol-center-disc {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  overflow: hidden;
  border: 2px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: #020617;
  box-shadow:
    0 6px 14px rgb(0 0 0 / 75%),
    inset 0 3px 7px rgb(255 255 255 / 25%);
  transform: translate(-50%, -50%);
}

.tcol-center-artwork {
  position: absolute;
  inset: 0;
  background-position: 51% 41.5%;
  background-repeat: no-repeat;
  background-size: 505% 505%;
  transform: scale(1.05);
}

.tcol-bottom-panel {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.5rem 1.35rem;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 96%),
    rgb(0 0 0 / 75%),
    transparent
  );
}

.tcol-photo-adjustment-stack {
  width: 100%;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.tcol-selected-photo-tools {
  width: 100%;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  border: 1px solid rgb(224 173 85 / 46%);
  border-radius: 1rem;
  background: rgb(11 11 12 / 74%);
  box-shadow:
    0 10px 30px rgb(0 0 0 / 34%),
    inset 0 0 0 1px rgb(255 255 255 / 4%);
  backdrop-filter: blur(14px);
}

.tcol-selected-photo-copy {
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.tcol-selected-photo-copy span {
  color: #d9aa55;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tcol-selected-photo-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tcol-selected-photo-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tcol-review-circle-action,
.tcol-delete-photo-action {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #fff;
  cursor: pointer;
}

.tcol-review-circle-action {
  gap: 0.35rem;
  padding: 0 0.7rem;
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 8%);
  font-size: 0.57rem;
  font-weight: 800;
}

.tcol-review-circle-action svg,
.tcol-delete-photo-action svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tcol-delete-photo-action {
  width: 2.75rem;
  flex: 0 0 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 104 104 / 38%);
  background: rgb(112 22 22 / 38%);
  color: #ffb1b1;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%);
}

.tcol-delete-photo-action[hidden] {
  display: none !important;
}

.tcol-review-circle-action:disabled,
.tcol-delete-photo-action:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.tcol-photo-adjustments {
  width: 100%;
  min-height: 2.35rem;
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: 0.48rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: rgb(0 0 0 / 38%);
  color: #a1a1aa;
  box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
}

.tcol-photo-adjustments label {
  margin: 0;
  color: #d4d4d8;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tcol-photo-adjustments input[type="range"] {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  accent-color: #fff;
  cursor: pointer;
}

.tcol-photo-adjustments input[type="range"]:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.tcol-photo-adjustments output {
  min-width: 2.25rem;
  color: #e4e4e7;
  font-size: 0.55rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.tcol-photo-adjustments button {
  min-height: 0;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  cursor: pointer;
}

.tcol-photo-adjustments button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.tcol-editor-actions {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.tcol-primary-action,
.tcol-save-action {
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 1rem;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.tcol-primary-action {
  background: #fff;
  color: #000;
}

.tcol-save-action {
  background: #c48a30;
  color: #fff;
}

.tcol-primary-action:hover,
.tcol-save-action:hover {
  transform: scale(1.015);
}

.tcol-primary-action:disabled,
.tcol-save-action:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  transform: none;
}

.tcol-editor-notice {
  min-height: 1.5rem;
  margin: 0.55rem 0 0;
  color: #a1a1aa;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.tcol-delete-confirm,
.tcol-editor-review {
  position: fixed;
  z-index: 2147483100;
  inset: 0;
}

.tcol-delete-confirm[hidden],
.tcol-editor-review[hidden] {
  display: none !important;
}

.tcol-delete-confirm {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(5 5 6 / 78%);
  backdrop-filter: blur(18px);
}

.tcol-delete-confirm-card {
  width: min(100%, 24rem);
  padding: 1.5rem;
  border: 1px solid rgb(255 126 126 / 30%);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 50% 0, rgb(134 38 38 / 24%), transparent 52%),
    #121214;
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgb(0 0 0 / 65%);
  animation: tcol-confirm-rise 220ms ease-out both;
}

.tcol-delete-confirm-visual {
  position: relative;
  width: 4.75rem;
  height: 4.75rem;
  margin: 0 auto 0.8rem;
  border: 1px solid rgb(255 132 132 / 24%);
  border-radius: 50%;
  background: radial-gradient(circle, #e6ad52 0 15%, #391a1b 16% 48%, transparent 49%);
  box-shadow: 0 0 30px rgb(255 78 78 / 16%);
}

.tcol-delete-confirm-visual span {
  --fragment-angle: 0deg;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.48rem;
  height: 1.05rem;
  border-radius: 999px 999px 45% 45%;
  background: linear-gradient(#ffcf84, #c95353);
  transform: translate(-50%, -50%) rotate(var(--fragment-angle)) translateY(-1.55rem);
  animation: tcol-delete-fragment-breathe 1.6s ease-in-out infinite;
}

.tcol-delete-confirm-visual span:nth-child(2) { --fragment-angle: 60deg; }
.tcol-delete-confirm-visual span:nth-child(3) { --fragment-angle: 120deg; }
.tcol-delete-confirm-visual span:nth-child(4) { --fragment-angle: 180deg; }
.tcol-delete-confirm-visual span:nth-child(5) { --fragment-angle: 240deg; }
.tcol-delete-confirm-visual span:nth-child(6) { --fragment-angle: 300deg; }

.tcol-delete-confirm.is-destroying .tcol-delete-confirm-visual span {
  animation: tcol-delete-fragment-burst 520ms ease-in both;
}

.tcol-delete-confirm-kicker,
.tcol-editor-review header > span {
  color: #d9aa55;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tcol-delete-confirm-card h3,
.tcol-editor-review h3 {
  margin: 0.35rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.tcol-delete-confirm-card p {
  margin: 0.8rem auto 1.2rem;
  color: #bdbdc4;
  font-size: 0.78rem;
  line-height: 1.55;
}

.tcol-delete-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.tcol-delete-confirm-actions button {
  min-height: 3rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
}

#tcol-cancel-delete-photo {
  border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

#tcol-confirm-delete-photo {
  border: 1px solid #bd4141;
  background: #9f2f34;
  color: #fff;
}

.tcol-delete-confirm-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.tcol-editor-review {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: max(4.5rem, env(safe-area-inset-top)) 1rem max(2rem, env(safe-area-inset-bottom));
  opacity: 0;
  background:
    radial-gradient(circle at 50% 48%, rgb(217 170 85 / 18%), transparent 34rem),
    rgb(7 7 8 / 97%);
  color: #fff;
  transition: opacity 180ms ease;
}

.tcol-editor-review.is-open {
  opacity: 1;
}

.tcol-editor-review-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: 1rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.9rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 9%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.tcol-editor-review-close span {
  font-size: 1rem;
}

.tcol-editor-review header {
  position: absolute;
  z-index: 2;
  top: max(1.2rem, env(safe-area-inset-top));
  left: 1rem;
  max-width: calc(100% - 8rem);
}

.tcol-editor-review-stage {
  position: relative;
  flex: 0 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.tcol-editor-review-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 238px;
  height: 238px;
  pointer-events: none;
  transform-origin: center;
  filter: drop-shadow(0 28px 28px rgb(0 0 0 / 72%));
}

.tcol-editor-review-circle .tcol-photo-petal {
  cursor: default;
}

.tcol-editor-review > p {
  max-width: 30rem;
  margin: 1.2rem 0 0;
  color: #a8a8b0;
  font-size: 0.65rem;
  line-height: 1.5;
  text-align: center;
}

@keyframes tcol-confirm-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tcol-delete-fragment-breathe {
  50% {
    filter: brightness(1.35);
    transform: translate(-50%, -50%) rotate(var(--fragment-angle)) translateY(-1.72rem);
  }
}

@keyframes tcol-delete-fragment-burst {
  to {
    opacity: 0;
    filter: blur(2px) brightness(2);
    transform: translate(-50%, -50%) rotate(var(--fragment-angle)) translateY(-3rem) scale(0.25);
  }
}

.tcol-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  .tcol-editor-modal {
    display: block;
    overflow: hidden;
    background: #000;
  }

  .tcol-magnet-shell {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
}

@media (max-width: 420px) {
  .tcol-bottom-panel {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  .tcol-photo-adjustments {
    gap: 0.35rem;
  }

  .tcol-photo-adjustments label {
    font-size: 0.5rem;
  }

  .tcol-editor-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tcol-primary-action,
  .tcol-save-action {
    min-height: 2.85rem;
    padding-inline: 0.5rem;
    font-size: clamp(0.68rem, 3.35vw, 0.85rem);
  }
}

@media (max-height: 760px) {
  .tcol-hero-copy {
    padding-top: 3.25rem;
  }

  .tcol-magnet-position {
    top: 41%;
  }

  .tcol-bottom-panel {
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }

  .tcol-photo-adjustment-stack {
    gap: 0.35rem;
    margin-bottom: 0.6rem;
  }

  .tcol-primary-action,
  .tcol-save-action {
    min-height: 2.7rem;
    padding-block: 0.65rem;
  }
}

@media (max-width: 767px) and (max-height: 650px) {
  .tcol-editor-modal {
    --tcol-editor-magnet-scale: 0.98;
  }

  .tcol-magnet-position {
    top: 40.5%;
  }
}

@media (max-width: 767px) and (max-height: 610px) {
  .tcol-editor-modal {
    --tcol-editor-magnet-scale: 0.88;
  }

  .tcol-magnet-position {
    top: 40%;
  }
}

@media (max-width: 767px) and (max-height: 575px) {
  .tcol-editor-modal {
    --tcol-editor-magnet-scale: 0.76;
  }

  .tcol-magnet-position {
    top: 39.5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcol-editor-modal *,
  .tcol-editor-modal *::before,
  .tcol-editor-modal *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
