.velle-mirror-frame {
  position: relative;
  aspect-ratio: 1;
  background: #e3d6e7;
}

.velle-mirror-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.velle-mirror-frame[data-state="unavailable"] img {
  visibility: hidden;
}

.velle-mirror-loading {
  position: absolute;
  bottom: .75rem;
  inset-inline-start: .75rem;
  padding: .3rem .65rem;
  border-radius: 1rem;
  background: #25172c;
  color: #fff8ff;
  font-size: .75rem;
  visibility: hidden;
}

.velle-mirror-frame[aria-busy='true'] .velle-mirror-loading {
  visibility: visible;
  transition: visibility 0s .2s;
}

.velle-light-modes {
  min-width: 0;
  margin: 1.35rem 0 0;
  padding: 0;
  border: 0;
}

.velle-light-modes legend {
  padding: 0;
  margin-bottom: .5rem;
  color: #4c4052;
  font-size: .78rem;
  font-weight: 700;
}

.velle-light-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.velle-light-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.velle-light-options label {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: .2rem;
  min-height: 62px;
  min-width: 0;
  padding: .45rem .6rem;
  border: 1px solid #ad9dae;
  color: #302636;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color .18s, border-color .18s;
}

.velle-light-options label small {
  color: #655474;
  font-size: .68rem;
  font-weight: 500;
  line-height: 1.25;
}

.velle-light-options label::before {
  content: '';
  width: .65rem;
  height: .65rem;
  border: 1px solid #5d456770;
  border-radius: 50%;
  background: #fffaf3;
}

#studio-light-golden + label::before { background: #edbd78; }
#studio-light-evening + label::before { background: #b882de; }

.velle-light-options label:hover {
  background: #f1e8f3;
}

.velle-light-options input:checked + label {
  background: #eee2f2;
  border-color: #5d4567;
  box-shadow: inset 0 0 0 1px #5d4567;
  font-weight: 700;
}

.velle-light-options input:focus-visible + label {
  outline: 2px solid #77448f;
  outline-offset: 3px;
}

.velle-studio-lighting .velle-light-description {
  min-height: 2.9em;
  margin-top: .85rem;
}

.velle-studio-lighting .velle-light-note {
  color: #655474;
  font-size: .76rem;
}

@media (max-width: 400px) {
  .velle-light-options {
    gap: .4rem;
  }

  .velle-light-options label {
    padding-inline: .45rem;
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .velle-light-options label,
  .velle-mirror-frame[aria-busy='true'] .velle-mirror-loading {
    transition: none;
  }
}
