*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-deep: #1a1218;
  --bg-card: rgba(28, 22, 30, 0.72);
  --accent: #e8a4b8;
  --accent-soft: #f5d0dc;
  --text: #faf6f4;
  --text-muted: rgba(250, 246, 244, 0.65);
  --border: rgba(232, 164, 184, 0.25);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.scene {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1.25rem, env(safe-area-inset-top))
    max(1.25rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom))
    max(1.25rem, env(safe-area-inset-left));
}

.photo-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.photo-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 85% 70% at 50% 38%,
      transparent 0%,
      rgba(26, 18, 24, 0.45) 58%,
      rgba(26, 18, 24, 0.72) 100%
    ),
    linear-gradient(180deg, rgba(26, 18, 24, 0.25) 0%, rgba(26, 18, 24, 0.42) 100%);
  z-index: 2;
}

.polaroid {
  position: absolute;
  width: clamp(100px, 28vw, 140px);
  padding: 0.45rem 0.45rem 1.75rem;
  background: #f8f4ef;
  box-shadow: var(--shadow);
  border-radius: 2px;
  transform-origin: center center;
  animation: float 8s var(--ease-out) infinite;
  z-index: 1;
}

.polaroid img,
.polaroid__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(145deg, #ddd5cf, #c4bab2);
  filter: saturate(1.08);
}

.polaroid--placeholder .polaroid__inner {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #e8dfd8, #d4c8c0);
}

.polaroid:nth-child(1) {
  top: 8%;
  left: -4%;
  rotate: -12deg;
  animation-delay: 0s;
}

.polaroid:nth-child(2) {
  top: 14%;
  right: -6%;
  rotate: 10deg;
  animation-delay: -2s;
}

.polaroid:nth-child(3) {
  bottom: 18%;
  left: 2%;
  rotate: 8deg;
  animation-delay: -4s;
}

.polaroid:nth-child(4) {
  bottom: 10%;
  right: -2%;
  rotate: -8deg;
  animation-delay: -1s;
}

.polaroid:nth-child(5) {
  top: 42%;
  left: 50%;
  translate: -50% -50%;
  rotate: 3deg;
  width: clamp(90px, 24vw, 120px);
  opacity: 0.85;
  animation-delay: -3s;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}

.card {
  position: relative;
  z-index: 3;
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.card:has(#step-rating.is-active) {
  width: min(100%, 23.5rem);
}

.card__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.card__title--compact {
  font-size: clamp(1.25rem, 4.2vw, 1.55rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.card__subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.step {
  display: none;
  animation: stepIn 0.5s var(--ease-out) both;
}

.step.is-active {
  display: block;
}

@keyframes stepIn {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.field input[type="text"] {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
}

.field input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field input[type="text"]::placeholder {
  color: rgba(250, 246, 244, 0.35);
}

.hint {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.error {
  min-height: 1.25rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #f0a0a8;
}

.btn-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  flex: 1;
  min-width: 6.5rem;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s, opacity 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #d4849c);
  color: #1a1218;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--no.kiss-mode {
  font-size: 1.35rem;
  line-height: 1;
  pointer-events: none;
}

.question-text {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  line-height: 1.25;
  text-align: center;
}

.placeholder-next {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rating-hero {
  margin: 0 0 1rem;
  padding: 0.4rem 0.4rem 1.35rem;
  background: #f8f4ef;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  rotate: -1.5deg;
}

.rating-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.06);
}

#step-rating .question-text {
  margin-top: 0.15rem;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
}

.rating {
  margin-bottom: 1rem;
}

.rating__value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
  text-align: center;
  color: var(--accent-soft);
  margin-bottom: 0.65rem;
}

.rating__slider {
  width: 100%;
  height: 0.45rem;
  margin: 0;
  appearance: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.rating__slider::-webkit-slider-thumb {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.rating__slider::-moz-range-thumb {
  width: 1.35rem;
  height: 1.35rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.rating__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.rating-feedback {
  min-height: 2.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
  color: #f0a0a8;
}

.rating-feedback--success {
  color: var(--accent-soft);
}

.rating__submit {
  margin-top: 0.15rem;
}

.status-question {
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
}

.status-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.btn--option {
  width: 100%;
  flex: none;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  text-align: center;
}

.btn--option:disabled {
  opacity: 0.55;
  cursor: default;
}

.btn--option-selected {
  border-color: var(--accent);
  background: rgba(232, 164, 184, 0.18);
  box-shadow: inset 0 0 0 1px rgba(232, 164, 184, 0.35);
}

.status-feedback {
  min-height: 3.25rem;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
  color: #f0a0a8;
}

.status-feedback--success {
  color: var(--accent-soft);
}

.card:has(#step-status.is-active) {
  width: min(100%, 23.5rem);
}

.is-hidden {
  display: none !important;
}

.ring-message {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.8vw, 1.25rem);
  line-height: 1.35;
  text-align: center;
  color: var(--accent-soft);
}

.ring-reveal {
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.4rem 1.35rem;
  background: #f8f4ef;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  rotate: 1deg;
}

.ring-reveal__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1px;
}

.polaroid-wall {
  position: relative;
  margin: 0 auto 1rem;
  width: min(100%, 13.5rem);
  padding: 0.35rem;
}

.polaroid-wall__frame {
  margin: 0;
  padding: 0.5rem 0.5rem 2rem;
  background: #f8f4ef;
  box-shadow: var(--shadow);
  border-radius: 2px;
  rotate: -2deg;
}

.polaroid-wall__photo-wrap {
  position: relative;
}

.polaroid-wall__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ebe4dc;
}

.polaroid-wall__tape {
  position: absolute;
  width: 2.15rem;
  height: 0.75rem;
  background: rgba(255, 248, 225, 0.62);
  border: 1px solid rgba(210, 195, 160, 0.5);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  z-index: 3;
  backdrop-filter: blur(1px);
}

.polaroid-wall__tape--tl {
  top: -0.25rem;
  left: -0.15rem;
  rotate: -42deg;
}

.polaroid-wall__tape--tr {
  top: -0.2rem;
  right: -0.15rem;
  rotate: 38deg;
}

.polaroid-wall__tape--bl {
  bottom: -0.2rem;
  left: -0.1rem;
  rotate: 36deg;
}

.polaroid-wall__tape--br {
  bottom: -0.25rem;
  right: -0.1rem;
  rotate: -40deg;
}

.secret-sticker {
  margin: 0 0 1rem;
  text-align: center;
}

.secret-sticker__img {
  display: inline-block;
  width: min(72%, 11rem);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.concept-sticker {
  margin: 0 0 0.85rem;
  text-align: center;
}

.concept-sticker__img,
.concept-sticker__video {
  display: inline-block;
  width: min(68%, 10.5rem);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.concept-sticker__video {
  background: transparent;
}

.concept-custom {
  margin-bottom: 0.75rem;
}

.concept-options {
  margin-bottom: 0.65rem;
}

.secret-caption {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.8vw, 1.28rem);
  line-height: 1.35;
  text-align: center;
  color: var(--text-muted);
}

.invite-question {
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  line-height: 1.35;
  margin-bottom: 1.1rem;
}

.invite-trust__text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.invite-trust__configure {
  width: 100%;
}

.card:has(#step-ring.is-active),
.card:has(#step-invite.is-active),
.card:has(#step-secret.is-active),
.card:has(#step-concept.is-active) {
  width: min(100%, 23.5rem);
}

.card:has(#step-elements.is-active) {
  width: min(100%, 24rem);
}

.card:has(#step-calendar.is-active) {
  width: min(100%, 24rem);
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.calendar__pad {
  display: block;
  aspect-ratio: 1;
}

.calendar__day {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.calendar__day:active:not(:disabled) {
  transform: scale(0.96);
}

.calendar__day--disabled {
  opacity: 0.28;
  cursor: not-allowed;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.02);
}

.calendar__day--selected {
  border-color: var(--accent);
  background: rgba(232, 164, 184, 0.22);
  font-size: 1rem;
  line-height: 1;
}

.calendar-time {
  margin-bottom: 0.85rem;
}

.calendar-time__label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.calendar-time__slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  max-height: 9.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.calendar-time__slots--periods {
  grid-template-columns: 1fr;
  max-height: none;
}

.outfit-date {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  text-align: center;
  color: var(--accent-soft);
}

.outfit-options {
  margin-bottom: 0.85rem;
}

#step-outfit [data-outfit]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.outfit-builder {
  margin-bottom: 0.85rem;
}

.outfit-meta {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 0.85rem;
}

.outfit-meta .weather-widget {
  flex: 1;
  min-width: 0;
}

.outfit-meta .outfit-autopick {
  flex: 0 0 auto;
  align-self: stretch;
  max-width: 6.5rem;
  font-size: 0.72rem;
  padding: 0.45rem 0.5rem;
}

.weather-widget {
  padding: 0.55rem 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.weather-widget__title {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.weather-widget__text {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.weather-widget__text--temp {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-soft);
}

.weather-widget__text--loading {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  animation: weather-dots 1.2s ease-in-out infinite;
}

.weather-widget--loading {
  border-color: rgba(232, 164, 184, 0.35);
}

@keyframes weather-dots {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.outfit-autopick {
  font-size: 0.72rem;
  padding: 0.45rem 0.35rem;
  line-height: 1.25;
}

.outfit-autopick:disabled {
  opacity: 0.45;
}

.outfit-builder__note {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
  color: var(--accent-soft);
}

.outfit-builder__hint {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.figure-builder {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  align-items: stretch;
  max-width: 16.5rem;
  margin: 0 auto;
}

.figure-builder__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.55rem;
  align-items: center;
}

.figure-builder__row + .figure-builder__row {
  margin-top: -0.12rem;
}

.figure-shape {
  justify-self: center;
  background: linear-gradient(180deg, rgba(232, 164, 184, 0.35), rgba(232, 164, 184, 0.12));
  border: 1px solid rgba(232, 164, 184, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.figure-shape--head {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
}

.figure-shape--chest {
  width: 2.35rem;
  height: 0.95rem;
  border-radius: 0.45rem;
  margin-top: -0.08rem;
}

.figure-shape--torso {
  width: 3.15rem;
  height: 3.25rem;
  margin-top: -0.06rem;
  border-radius: 1.1rem 1.1rem 0.65rem 0.65rem;
  position: relative;
}

.figure-shape--torso::before,
.figure-shape--torso::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  width: 0.95rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: inherit;
  border: inherit;
}

.figure-shape--torso::before {
  left: -0.48rem;
  rotate: 16deg;
  top: 0.75rem;
  height: 1.95rem;
}

.figure-shape--torso::after {
  right: -0.48rem;
  rotate: -16deg;
  top: 0.75rem;
  height: 1.95rem;
}

.figure-shape--lower {
  width: 2.85rem;
  height: 1.85rem;
  border-radius: 0.45rem 0.45rem 0.65rem 0.65rem;
  margin-top: -0.1rem;
}

.figure-shape--legs {
  width: 2.75rem;
  height: 2.15rem;
  margin-top: -0.08rem;
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
}

.figure-shape--legs::before,
.figure-shape--legs::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1rem;
  height: 2.1rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, rgba(232, 164, 184, 0.35), rgba(232, 164, 184, 0.12));
  border: 1px solid rgba(232, 164, 184, 0.45);
}

.figure-shape--legs::before {
  left: 0.35rem;
}

.figure-shape--legs::after {
  right: 0.35rem;
}

.figure-shape--shoes {
  width: 2.95rem;
  height: 0.75rem;
  border-radius: 0.4rem 0.4rem 0.55rem 0.55rem;
  margin-top: -0.14rem;
}

.figure-builder__pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.figure-builder__pick.is-filled {
  border-color: var(--accent);
  background: rgba(232, 164, 184, 0.12);
}

.figure-builder__pick--locked,
.figure-builder__pick:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.figure-builder__row--locked .figure-shape {
  opacity: 0.35;
}

.btn--option-preferred {
  border-color: rgba(232, 164, 184, 0.55);
}

.figure-builder__part-name {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.figure-builder__part-value {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.2;
}

.figure-picker-panel {
  margin-top: 0.65rem;
  padding: 0.75rem 0.65rem 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.figure-picker-panel__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: center;
}

.figure-picker-panel__options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.figure-picker-panel__empty {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
  color: var(--text-muted);
}

.figure-picker-panel__close {
  width: 100%;
}

.card:has(#step-outfit.is-active) {
  width: min(100%, 26rem);
}

.card:has(#step-final.is-active) {
  width: min(100%, 26.5rem);
}

.final-summary {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.final-block {
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(232, 164, 184, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(232, 164, 184, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.final-block__title {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.final-block__list {
  margin: 0;
  padding: 0 0 0 1.05rem;
  list-style: none;
}

.final-block__list li {
  position: relative;
  margin: 0.28rem 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
}

.final-block__list li::before {
  content: "♥";
  position: absolute;
  left: -1.05rem;
  font-size: 0.55rem;
  color: var(--accent);
  top: 0.35em;
}

.final-closing {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.2vw, 1.42rem);
  line-height: 1.5;
  text-align: center;
  color: var(--accent-soft);
}

.final-photo {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(232, 164, 184, 0.2);
}

.final-photo__save {
  width: 100%;
}

.final-photo__hint {
  margin: 0.55rem 0 0;
  min-height: 1.1rem;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
  color: var(--text-muted);
}

.final-photo.is-busy .final-photo__save {
  opacity: 0.65;
  pointer-events: none;
}

.final-empty {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 360px) {
  .outfit-meta {
    flex-direction: column;
  }

  .outfit-meta .outfit-autopick {
    max-width: none;
    width: 100%;
  }
}

.calendar-time__btn {
  min-width: 0;
  padding: 0.5rem 0.25rem;
  font-size: 0.78rem;
  border-radius: 0.55rem;
}

#calendar-confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.elements-hint {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.elements-options {
  margin-bottom: 0.75rem;
  max-height: min(42vh, 16rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.elements-sub {
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.elements-sub__label {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.elements-sub__row .btn {
  min-width: 0;
  font-size: 0.82rem;
  padding: 0.65rem 0.5rem;
}

.elements-success {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.8vw, 1.28rem);
  line-height: 1.4;
  text-align: center;
  color: var(--accent-soft);
}

@media (min-width: 480px) {
  .polaroid:nth-child(1) {
    left: 6%;
  }
  .polaroid:nth-child(2) {
    right: 6%;
  }
  .polaroid:nth-child(3) {
    left: 10%;
  }
  .polaroid:nth-child(4) {
    right: 10%;
  }
  .polaroid:nth-child(5) {
    left: 50%;
  }
}
