:root {
  --site-font: "Bell MT", "Times New Roman", serif;
  --ink: #8a6f61;
  --muted: #a18678;
  --paper: #fbf7f1;
  --cream: #fffaf3;
  --rose: #f0cbd4;
  --rose-ink: #9a7468;
  --sage: #dce8d7;
  --blue: #dfe8f5;
  --line: rgba(138, 111, 97, 0.28);
  --shadow: 0 28px 88px rgba(138, 111, 97, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: url("assets/magic-wand-cursor.png?v=wand-cursor-05cm") 5 4, auto;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 250, 247, 0.18), rgba(255, 250, 247, 0.3)),
    url("assets/site-background-final.jpg?v=final-bg-20260528-3777f66f-4") center / cover fixed no-repeat,
    #fff7fa;
  font-family: var(--site-font);
  font-weight: 400;
  cursor: url("assets/magic-wand-cursor.png?v=wand-cursor-05cm") 5 4, auto;
}

img,
canvas,
video {
  max-width: 100%;
}

body,
button,
input,
textarea,
select {
  font-family: var(--site-font);
}

body *,
button,
a,
input,
textarea,
select,
[role="button"] {
  cursor: url("assets/magic-wand-cursor.png?v=wand-cursor-05cm") 5 4, auto !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 250, 247, 0.18), rgba(255, 250, 247, 0.3)),
    url("assets/site-background-final.jpg?v=final-bg-20260528-3777f66f-4") center / cover no-repeat;
}

.corner-girl-decoration {
  position: fixed;
  left: clamp(10px, 2.3vw, 34px);
  bottom: 0;
  width: clamp(84px, 11vw, 154px);
  display: none;
  z-index: 8;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 18px rgba(126, 96, 79, 0.13));
  animation: cornerGirlSlideUp 1180ms cubic-bezier(0.14, 0.92, 0.18, 1) both;
}

.app-shell:has(.booth.studio-visible:not(.shoot-mode)) ~ .corner-girl-decoration {
  display: block;
}

.corner-girl-decoration img {
  display: block;
  width: 100%;
  height: auto;
}

.corner-eye {
  position: absolute;
  z-index: 2;
  width: 12.4%;
  height: 6.2%;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 238, 229, 0.55), transparent 36%),
    linear-gradient(180deg, #f4d7ca 0%, #edc9bc 100%);
  border-radius: 48% 52% 54% 46% / 58% 60% 40% 42%;
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.12);
  box-shadow: inset 0 -1px 0 rgba(124, 77, 68, 0.15);
  animation: cornerGirlBlink 3s ease-in-out infinite;
}

.corner-eye::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 55%;
  height: 12%;
  border-radius: 999px;
  background: rgba(79, 48, 43, 0.64);
  transform: translateY(-50%) rotate(1deg);
}

.corner-eye-left {
  left: 52.8%;
  top: 34.5%;
  transform-origin: center;
  rotate: 2deg;
}

.corner-eye-right {
  left: 75.1%;
  top: 30.2%;
  transform-origin: center;
  rotate: -2deg;
  animation-delay: 34ms;
}

button {
  font: inherit;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.site-nav button,
.primary-action,
.download-button,
.ghost-button,
.secondary-action,
.layout-row button,
.button-row button,
.border-scroll button,
.confirm-button,
.finish-icon-button,
.finish-again-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-nav button::before,
.primary-action::before,
.download-button::before,
.ghost-button::before,
.secondary-action::before,
.layout-row button::before,
.button-row button::before,
.border-scroll button::before,
.confirm-button::before,
.finish-icon-button::before,
.finish-again-button::before {
  content: "";
  position: absolute;
  inset: 1px 2px auto;
  height: 48%;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.72), transparent 54%),
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.02));
  opacity: 0.72;
  pointer-events: none;
}

.site-nav button::after,
.primary-action::after,
.download-button::after,
.ghost-button::after,
.secondary-action::after,
.layout-row button::after,
.button-row button::after,
.border-scroll button::after,
.confirm-button::after,
.finish-icon-button::after,
.finish-again-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(90% 130% at 95% 100%, rgba(126, 96, 79, 0.15), transparent 52%),
    radial-gradient(80% 110% at 0% 0%, rgba(255, 255, 255, 0.5), transparent 48%);
  opacity: 0.58;
  pointer-events: none;
}

.site-nav {
  position: fixed;
  top: clamp(14px, 2vw, 24px);
  left: 50%;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: min(94vw, 880px);
  padding: 4px clamp(10px, 2.6vw, 34px);
  border: 1.7px solid rgba(72, 49, 39, 0.56);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 250, 247, 0.035), rgba(126, 96, 79, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.86),
    inset -1px -1px 2px rgba(126, 96, 79, 0.14),
    0 18px 38px rgba(92, 68, 55, 0.13);
  backdrop-filter: blur(6px) saturate(1.22);
  -webkit-backdrop-filter: blur(6px) saturate(1.22);
  transform: translate(-50%, -0.3cm);
}

.site-nav button {
  min-height: 34px;
  padding: 5px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(126, 96, 79, 0.82);
  cursor: pointer;
  font-size: 1.16rem;
  font-weight: 875;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-nav button:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(96, 64, 49, 0.18)),
    rgba(96, 64, 49, 0.14);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.62);
  color: rgba(72, 48, 37, 0.98);
  transform: translateY(-2px) scale(1.035);
}

.site-nav button[aria-current="page"] {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(126, 96, 79, 0.22)),
    rgba(126, 96, 79, 0.12) !important;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.5),
    inset -1px -1px 2px rgba(76, 54, 43, 0.18),
    inset 0 -12px 18px rgba(76, 54, 43, 0.08),
    0 18px 36px rgba(100, 74, 60, 0.2);
  color: rgba(76, 54, 43, 0.98) !important;
}

button:active:not(:disabled) {
  transform: translateY(3px) scale(0.93) !important;
}

.click-sparkle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 94px;
  height: 94px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: sparkleClickPop 760ms cubic-bezier(0.14, 0.92, 0.22, 1) forwards;
}

.click-sparkle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 246, 0.96) 0 32%, rgba(255, 221, 109, 0.86) 33% 48%, transparent 58%);
  box-shadow:
    0 0 18px rgba(255, 224, 109, 0.74),
    0 0 34px rgba(244, 163, 186, 0.44);
  transform: translate(-50%, -50%);
}

.click-sparkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 212, 95, 0.48);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.2);
  animation: sparkleRing 580ms ease-out forwards;
}

.click-sparkle b {
  position: absolute;
  display: block;
  color: rgba(217, 157, 35, 0.98);
  font-family: var(--site-font);
  font-size: var(--spark-size, 18px);
  font-weight: 400;
  line-height: 1;
  text-shadow:
    0 0 7px rgba(255, 246, 190, 0.92),
    0 2px 8px rgba(112, 82, 68, 0.18);
  animation: sparkleStarBurst 720ms ease-out forwards;
}

.click-sparkle b:nth-child(1) {
  left: 40px;
  top: 8px;
  animation-delay: 20ms;
}

.click-sparkle b:nth-child(2) {
  right: 4px;
  top: 35px;
  --spark-size: 24px;
  animation-delay: 55ms;
}

.click-sparkle b:nth-child(3) {
  right: 18px;
  bottom: 8px;
  color: rgba(236, 162, 183, 0.98);
  animation-delay: 90ms;
}

.click-sparkle b:nth-child(4) {
  left: 34px;
  bottom: 1px;
  --spark-size: 16px;
  color: rgba(255, 231, 137, 0.96);
  animation-delay: 120ms;
}

.click-sparkle b:nth-child(5) {
  left: 3px;
  bottom: 24px;
  --spark-size: 22px;
  color: rgba(241, 173, 192, 0.98);
  animation-delay: 65ms;
}

.click-sparkle b:nth-child(6) {
  left: 14px;
  top: 14px;
  --spark-size: 13px;
  color: rgba(255, 226, 117, 0.98);
  animation-delay: 135ms;
}

@keyframes sparkleClickPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45) rotate(-8deg);
  }

  22% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08) rotate(4deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-20px) scale(0.92) rotate(12deg);
  }
}

@keyframes sparkleRing {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.2);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.42);
  }
}

@keyframes sparkleStarBurst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.28) rotate(-12deg);
  }

  25% {
    opacity: 1;
    transform: translate(var(--star-x, 0), var(--star-y, -8px)) scale(1.38) rotate(10deg);
  }

  100% {
    opacity: 0;
    transform: translate(calc(var(--star-x, 0) * 2.2), calc(var(--star-y, -8px) * 2.2)) scale(0.78) rotate(34deg);
  }
}

button.button-pop:not(:disabled) {
  animation: buttonRebound 360ms cubic-bezier(0.16, 1.2, 0.28, 1);
}

@keyframes buttonRebound {
  0% {
    transform: translateY(0) scale(1);
  }

  34% {
    transform: translateY(3px) scale(0.93);
  }

  66% {
    transform: translateY(-4px) scale(1.08);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.app-shell {
  min-height: 100vh;
}

.app-shell.screen-transition {
  animation: screenSoftFade 420ms cubic-bezier(0.2, 0.84, 0.32, 1);
}

.welcome-page,
.layout-picker,
.booth,
.info-page {
  display: none;
}

.app-shell[data-screen="layouts"] .landing,
.app-shell[data-screen="welcome"] .landing,
.app-shell[data-screen="booth"] .landing,
.app-shell[data-screen="privacy"] .landing,
.app-shell[data-screen="contact"] .landing {
  display: none;
}

.app-shell[data-screen="welcome"] .welcome-page,
.app-shell[data-screen="layouts"] .layout-picker,
.app-shell[data-screen="privacy"] .privacy-page,
.app-shell[data-screen="contact"] .contact-page {
  display: block;
  animation: pageEnter 520ms cubic-bezier(0.2, 0.84, 0.32, 1);
}

.app-shell[data-screen="booth"] .booth {
  display: block;
  animation: pageEnter 520ms cubic-bezier(0.2, 0.84, 0.32, 1);
}

.booth.mode-transition .studio-grid {
  animation: boothModeEnter 430ms cubic-bezier(0.2, 0.84, 0.32, 1);
}

.booth.shoot-mode.shooting-enter .studio-grid {
  animation: pageEnter 520ms cubic-bezier(0.2, 0.84, 0.32, 1) both;
}

.booth.live-transitioning.mode-transition .studio-grid {
  animation: none;
}

.landing {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
  background: transparent;
  overflow: hidden;
  animation: pageEnter 520ms cubic-bezier(0.2, 0.84, 0.32, 1);
}

.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 250, 247, 0.16), rgba(255, 250, 247, 0.28)),
    url("assets/site-background-final.jpg?v=final-bg-20260528-3777f66f-4") center / cover no-repeat;
}

.landing > * {
  position: relative;
  z-index: 1;
}

.welcome-page {
  min-height: 100vh;
  padding: clamp(92px, 9vw, 122px) clamp(28px, 6vw, 78px) clamp(28px, 6vw, 78px);
  background: transparent;
  position: relative;
}

.welcome-back-button {
  position: absolute;
  top: clamp(74px, 8vw, 104px);
  left: clamp(18px, 4vw, 54px);
}

.welcome-card {
  min-height: calc(100vh - clamp(56px, 12vw, 156px));
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(24px, 4vw, 42px);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.welcome-card h2 {
  max-width: 780px;
  color: rgba(126, 96, 79, 0.95);
  font-size: clamp(2.7rem, 6.6vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
}

.welcome-copy {
  display: grid;
  gap: clamp(18px, 3.4vw, 34px);
  max-width: 690px;
}

.welcome-copy p {
  margin: 0;
  color: rgba(138, 111, 97, 0.9);
  font-size: clamp(1.18rem, 2.1vw, 1.72rem);
  font-weight: 400;
  line-height: 1.42;
}

.welcome-card .primary-action {
  margin-top: 4px;
}

#welcomeContinueButton,
#layoutContinueButton {
  border-width: 2.7px;
}

#welcomeContinueButton {
  font-size: 1.59rem;
}

.info-page {
  min-height: 100vh;
  padding: clamp(96px, 10vw, 132px) clamp(20px, 6vw, 78px) clamp(42px, 7vw, 78px);
  position: relative;
}

.info-page-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.info-header {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.info-header h2 {
  color: rgba(111, 76, 64, 0.98);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 875;
}

.info-header p {
  max-width: 760px;
  margin: 0;
  color: rgba(126, 96, 79, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.48;
}

.policy-list {
  display: grid;
  gap: 14px;
}

.policy-list section,
.contact-options,
.contact-form {
  border: 1.6px solid rgba(86, 62, 50, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 250, 247, 0.055), rgba(126, 96, 79, 0.04)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(126, 96, 79, 0.1),
    0 18px 42px rgba(92, 68, 55, 0.1);
}

.policy-list section {
  padding: clamp(16px, 2.6vw, 24px);
}

.policy-list h3 {
  margin: 0 0 8px;
  color: rgba(111, 76, 64, 0.96);
  font-size: clamp(1.28rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.policy-list p,
.contact-options p {
  margin: 0;
  color: rgba(126, 96, 79, 0.92);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.5;
}

.contact-options {
  display: grid;
  gap: 8px;
  padding: clamp(16px, 2.6vw, 24px);
}

.contact-options a {
  color: rgba(111, 76, 64, 0.98);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
}

.contact-form label {
  color: rgba(111, 76, 64, 0.96);
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid rgba(86, 62, 50, 0.3);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.76);
  color: rgba(72, 48, 37, 0.96);
  font-size: 1.08rem;
  line-height: 1.4;
  padding: 12px 14px;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.78),
    inset -1px -1px 2px rgba(126, 96, 79, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: rgba(111, 76, 64, 0.68);
  outline: 3px solid rgba(240, 203, 212, 0.55);
}

.contact-form .primary-action {
  justify-self: start;
  margin-top: 6px;
}

.form-status {
  min-height: 1.45em;
  margin: 0;
  color: rgba(111, 76, 64, 0.98);
  font-size: 1.08rem;
  font-weight: 700;
}

.info-home-button {
  justify-self: center;
  margin-top: 4px;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
    filter: blur(5px);
  }

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

@keyframes screenSoftFade {
  0% {
    opacity: 0.82;
  }

  100% {
    opacity: 1;
  }
}

@keyframes boothModeEnter {
  from {
    opacity: 0.78;
    transform: translateY(14px) scale(0.992);
    filter: blur(4px);
  }

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

.site-mark {
  position: absolute;
  top: calc(clamp(58px, 7vw, 92px) + 1.5cm);
  left: clamp(18px, 3vw, 36px);
  margin: 0;
  color: rgba(108, 80, 66, 0.96);
  font-family: var(--site-font);
  font-size: clamp(1.28rem, 2.25vw, 1.78rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 18px rgba(138, 111, 97, 0.12);
  animation: brandPullIn 1180ms cubic-bezier(0.14, 0.92, 0.18, 1) both;
}

.site-mark-text {
  font-size: 0.833333em;
}

.site-mark-cherry {
  display: inline-block;
  margin-left: 0.06em;
  font-size: 1.77em;
  line-height: 0;
  transform: rotate(45deg);
  transform-origin: center;
  vertical-align: -0.08em;
}

.home-inner {
  position: relative;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 340px);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
}

.home-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  max-width: 660px;
  row-gap: clamp(22px, 3vw, 34px);
  transform: translateY(clamp(28px, 4vw, 54px));
}

.home-copy-text {
  display: grid;
  justify-items: start;
  row-gap: clamp(22px, 3vw, 34px);
  transform: translateY(0.6cm);
}

.hero-title {
  color: rgba(92, 65, 52, 0.96);
  animation: copyIntro 980ms cubic-bezier(0.2, 0.84, 0.32, 1) 620ms both;
}

.landing-text {
  animation: copyIntro 980ms cubic-bezier(0.2, 0.84, 0.32, 1) 620ms both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  position: relative;
  max-width: 650px;
  margin-bottom: 0;
  font-family: var(--site-font);
  font-weight: 400;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: 0.012em;
  text-transform: none;
}

.hero-line {
  display: block;
}

.hero-title .hero-line + .hero-line {
  margin-top: 19px;
}

.photo-booth-line {
  white-space: nowrap;
}

.photo-word {
  position: relative;
  display: inline-block;
}

.camera-pop {
  position: absolute;
  left: clamp(520px, 51.5%, 610px);
  top: calc(clamp(170px, 28%, 235px) + 3.5cm);
  z-index: 5;
  display: inline-grid;
  place-items: center;
  font-size: clamp(2.04rem, 3.36vw, 2.94rem);
  transform-origin: center;
  animation: cameraFlash 1180ms cubic-bezier(0.16, 0.92, 0.28, 1) 620ms both;
}

.camera-pop::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  transform: scale(0);
  opacity: 0;
  animation: cameraFlashBurst 1180ms ease-out 620ms both;
  z-index: -1;
}

h2 {
  margin-bottom: 0;
  font-family: var(--site-font);
  font-weight: 500;
  font-size: clamp(1.95rem, 3.6vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-text {
  max-width: 500px;
  margin-bottom: 0;
  color: rgba(116, 88, 74, 0.82);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.52;
}

.home-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  transform: translate(-72px, 42px);
}

.home-visual::before {
  content: "";
  position: absolute;
  inset: 12% 4% 8%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 248, 0.72), transparent 68%);
  filter: blur(10px);
}

.home-visual::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: 10%;
  width: 72px;
  height: 72px;
  background:
    radial-gradient(circle at 50% 18%, #f0cbd4 0 10px, transparent 11px),
    radial-gradient(circle at 28% 44%, #fffaf3 0 11px, transparent 12px),
    radial-gradient(circle at 72% 44%, #fffaf3 0 11px, transparent 12px),
    radial-gradient(circle at 50% 68%, #fffaf3 0 12px, transparent 13px);
  opacity: 0.9;
}

.hero-template-image {
  position: relative;
  z-index: 2;
  display: block;
  width: min(435px, 76.8vw);
  max-width: none;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 30px 58px rgba(48, 39, 35, 0.18));
  transform: rotate(-1deg);
  animation:
    heroImageIntro 1050ms cubic-bezier(0.16, 0.86, 0.24, 1) 620ms both,
    heroImageDrift 1.65s ease-in-out 1670ms infinite alternate;
}

.layout-smile-note {
  position: absolute;
  top: clamp(-4px, 1.5%, 18px);
  right: clamp(-170px, -12vw, -112px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(96, 70, 56, 0.9);
  font-family: var(--site-font);
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.62), 0 8px 18px rgba(100, 74, 60, 0.12);
  scale: 0.833333;
  transform: rotate(9deg);
  animation: smileNotePop 820ms cubic-bezier(0.16, 0.9, 0.24, 1.2) 620ms both;
}

.layout-smile-note img {
  width: clamp(58px, 8vw, 94px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(100, 74, 60, 0.16));
}

@keyframes smileNotePop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.72) rotate(2deg);
    filter: blur(4px);
  }

  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.08) rotate(12deg);
    filter: blur(0);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(9deg);
    filter: blur(0);
  }
}

.landing .primary-action {
  position: relative;
  left: clamp(54px, 5.6vw, 92px);
  top: 1cm;
  justify-self: center;
  transform-origin: center;
  min-width: min(92vw, 460px);
  min-height: 86px;
  margin: 8px 0 0;
  border-width: 1.8px;
  border-color: rgba(68, 45, 35, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 250, 247, 0.018) 46%, rgba(126, 96, 79, 0.045)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 2px 2px 2px rgba(255, 255, 255, 0.96),
    inset -2px -2px 3px rgba(126, 96, 79, 0.18),
    inset 0 -26px 38px rgba(126, 96, 79, 0.07),
    inset 0 18px 26px rgba(255, 255, 255, 0.16),
    0 38px 92px rgba(82, 60, 48, 0.24),
    0 5px 12px rgba(255, 255, 255, 0.46),
    0 0 0 8px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px) saturate(1.35) contrast(1.05);
  -webkit-backdrop-filter: blur(2px) saturate(1.35) contrast(1.05);
  color: rgba(62, 41, 31, 0.98);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 9px 18px rgba(86, 62, 50, 0.18);
  font-size: clamp(1.38rem, 2.34vw, 1.86rem);
  font-weight: 933;
  letter-spacing: 0.035em;
  transition: transform 320ms cubic-bezier(0.2, 0.84, 0.32, 1), box-shadow 320ms ease, background 320ms ease, border-color 320ms ease;
  animation: buttonIntro 1050ms cubic-bezier(0.2, 0.84, 0.32, 1) 2500ms both;
}

.landing .primary-action:hover {
  border-color: rgba(45, 28, 21, 0.88);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 250, 247, 0.024) 46%, rgba(76, 50, 38, 0.14)),
    rgba(92, 63, 48, 0.1);
  box-shadow:
    inset 2px 2px 2px rgba(255, 255, 255, 1),
    inset -2px -2px 3px rgba(126, 96, 79, 0.2),
    inset 0 -28px 42px rgba(126, 96, 79, 0.085),
    inset 0 20px 28px rgba(255, 255, 255, 0.2),
    0 46px 104px rgba(82, 60, 48, 0.3),
    0 7px 16px rgba(255, 255, 255, 0.52),
    0 0 0 9px rgba(255, 255, 255, 0.1);
  transform: translateY(-8px) scale(1.025);
}

.landing #startButton {
  border-width: 2.8px;
  border-color: rgba(92, 58, 48, 0.78);
  color: #5f3d34;
  -webkit-text-fill-color: #5f3d34;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(145deg, rgba(255, 238, 233, 0.76), rgba(239, 199, 190, 0.42)) !important;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.72),
    inset 0 -7px 0 rgba(126, 78, 66, 0.18),
    0 7px 0 rgba(91, 56, 47, 0.58),
    0 22px 36px rgba(82, 60, 48, 0.23),
    0 0 0 8px rgba(255, 255, 255, 0.1) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.62),
    0 2px 4px rgba(92, 58, 48, 0.16);
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 260ms ease,
    box-shadow 160ms ease,
    color 260ms ease;
}

.landing #startButton:hover,
.landing #startButton:focus-visible {
  border-color: rgba(92, 56, 47, 0.88);
  color: #fff8f5;
  -webkit-text-fill-color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.13) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #ce9b91 0%, #bd897f 58%, #a9756b 100%) !important;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.5),
    inset 0 -8px 0 rgba(88, 50, 43, 0.2),
    0 9px 0 rgba(82, 50, 42, 0.56),
    0 30px 44px rgba(82, 60, 48, 0.28),
    0 0 0 9px rgba(255, 255, 255, 0.12) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 6px rgba(59, 33, 28, 0.38);
  transform: translateY(-7px) scale(1.03);
}

.landing #startButton:active,
.landing #startButton.is-pressing {
  color: #fff8f5;
  -webkit-text-fill-color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #ad7a70 0%, #98645b 58%, #81534b 100%) !important;
  box-shadow:
    inset 0 7px 12px rgba(61, 35, 30, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 1px 0 rgba(75, 45, 38, 0.5),
    0 7px 14px rgba(82, 60, 48, 0.14) !important;
  transform: translateY(7px) scale(0.992);
}

@keyframes brandPullIn {
  from {
    opacity: 0;
    transform: translateX(-160%) translateY(18px) scaleX(0.82);
    filter: blur(10px);
  }

  58% {
    opacity: 1;
    transform: translateX(18px) translateY(0) scaleX(1.08);
    filter: blur(0);
  }

  to {
    opacity: 1;
    transform: translateX(0) scaleX(1);
    filter: blur(0);
  }
}

@keyframes cornerGirlSlideUp {
  from {
    opacity: 0;
    transform: translateY(120%) scale(0.96);
    filter: blur(8px) drop-shadow(0 14px 18px rgba(126, 96, 79, 0.08));
  }

  62% {
    opacity: 1;
    transform: translateY(-10px) scale(1.02);
    filter: blur(0) drop-shadow(0 16px 20px rgba(126, 96, 79, 0.14));
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 14px 18px rgba(126, 96, 79, 0.13));
  }
}

@keyframes cornerGirlBlink {
  0%,
  43%,
  57%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.12);
  }

  47%,
  53% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(1);
  }
}

@keyframes copyIntro {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }

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

@keyframes cameraFlash {
  0% {
    opacity: 0;
    transform: translate(8px, 8px) scale(0.42) rotate(-16deg);
  }

  45% {
    opacity: 1;
    transform: translate(0, 0) scale(1.24) rotate(6deg);
  }

  66% {
    transform: translate(0, 0) scale(0.92) rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes cameraFlashBurst {
  0%,
  34% {
    opacity: 0;
    transform: scale(0);
  }

  48% {
    opacity: 0.95;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

@keyframes buttonIntro {
  from {
    opacity: 0;
    translate: 0 28px;
    scale: 0.98;
  }

  76% {
    opacity: 1;
    translate: 0 -2px;
    scale: 1.01;
  }

  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes heroImageIntro {
  from {
    opacity: 0;
    transform: translateY(160px) scale(0.86) rotate(-18deg);
    filter: blur(10px) drop-shadow(0 14px 28px rgba(48, 39, 35, 0.08));
  }

  72% {
    opacity: 1;
    transform: translateY(-8px) scale(1.018) rotate(2.2deg);
    filter: blur(0) drop-shadow(0 34px 64px rgba(48, 39, 35, 0.2));
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(-1deg);
    filter: blur(0) drop-shadow(0 30px 58px rgba(48, 39, 35, 0.18));
  }
}

@keyframes heroImageDrift {
  from {
    transform: translateY(0) rotate(-1deg);
  }

  to {
    transform: translateY(-30px) rotate(1.55deg);
  }
}

.primary-action,
.download-button {
  border: 1.8px solid rgba(64, 42, 32, 0.7);
  border-radius: 999px;
  color: #5c3d2f;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 250, 247, 0.018), rgba(126, 96, 79, 0.035)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.82),
    inset -1px -1px 2px rgba(126, 96, 79, 0.14),
    inset 0 -12px 20px rgba(126, 96, 79, 0.045),
    0 18px 38px rgba(126, 96, 79, 0.14);
  backdrop-filter: blur(2px) saturate(1.22);
  -webkit-backdrop-filter: blur(2px) saturate(1.22);
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 750;
  transition: transform 95ms cubic-bezier(0.18, 0.9, 0.24, 1.22), box-shadow 95ms ease, background 95ms ease;
}

.primary-action {
  min-width: 160px;
  min-height: 52px;
  margin-top: 30px;
  padding: 15px 28px;
}

.primary-action:hover,
.download-button:hover {
  border-color: rgba(43, 28, 21, 0.88);
  color: rgba(45, 28, 21, 0.98);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 250, 247, 0.024), rgba(76, 50, 38, 0.14)),
    rgba(92, 63, 48, 0.12);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.92),
    inset -1px -1px 2px rgba(126, 96, 79, 0.16),
    inset 0 -14px 22px rgba(126, 96, 79, 0.055),
    0 24px 50px rgba(126, 96, 79, 0.2);
  transform: translateY(-4px) scale(1.06);
}

button:focus-visible,
.primary-action:focus-visible,
.download-button:focus-visible {
  outline: 3px solid rgba(157, 89, 107, 0.34);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.status-only {
  display: none;
}

.layout-picker {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: clamp(88px, 8vw, 112px) clamp(22px, 4vw, 58px) clamp(24px, 4vw, 54px);
  background: transparent;
}

.layout-emoji-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.layout-emoji {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--emoji-size, 34px);
  height: var(--emoji-size, 34px);
  color: rgba(92, 63, 48, 0.9);
  font-size: var(--emoji-font-size, 1.62rem);
  line-height: 1;
  opacity: 0.86;
  text-shadow:
    0 2px 4px rgba(255, 255, 255, 0.75),
    0 10px 20px rgba(126, 96, 79, 0.16);
  transform: translate(-50%, -50%) rotate(var(--emoji-rotate, 0deg));
  user-select: none;
}

.picker-header,
.booth-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 24px;
}

.picker-header div,
.booth-header div {
  grid-column: 2;
  text-align: center;
}

.picker-header h2,
.booth-header h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.75rem);
}

.picker-header h2 {
  font-weight: 600;
}

.picker-header .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.booth-header .eyebrow {
  display: none;
}

.booth-header {
  position: absolute;
  top: clamp(74px, 8vw, 104px);
  left: clamp(18px, 4vw, 54px);
  z-index: 6;
  display: block;
  max-width: none;
  margin: 0;
  pointer-events: none;
}

.booth-header .back-button {
  pointer-events: auto;
}

.booth.shoot-mode .booth-header {
  display: none;
}

.layout-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(270px, 1fr));
  gap: clamp(20px, 2.4vw, 32px) clamp(28px, 3.4vw, 44px);
  align-items: end;
  max-width: 1180px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  padding-bottom: 26px;
}

.layout-card {
  --layout-preview-width: 286px;
  --layout-preview-height: 410px;
  --layout-preview-row: 424px;
  --layout-preview-scale: 1;
  --layout-preview-hover-scale: 1.03;
  --layout-preview-active-scale: 1.08;
  --layout-preview-bounce-start-scale: 1.01;
  --layout-preview-bounce-squash-scale: 0.96;
  --layout-preview-bounce-pop-scale: 1.1;
  --layout-preview-y: 0px;
  --layout-card-y: 0px;
  --layout-contact-shadow-width: 70%;
  --layout-contact-shadow-opacity: 0.24;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  display: grid;
  grid-template-rows: var(--layout-preview-row) auto;
  justify-items: center;
  align-items: end;
  gap: 11px;
  justify-self: center;
  min-height: calc(var(--layout-preview-row) + 62px);
  padding: 12px 16px 16px;
  position: relative;
  width: min(100%, 350px);
  transition:
    transform 180ms cubic-bezier(0.2, 0.75, 0.22, 1),
    box-shadow 160ms ease,
    background 160ms ease;
  transform: translateY(var(--layout-card-y));
}

.layout-card::before {
  content: "";
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  justify-self: center;
  z-index: 0;
  width: min(var(--layout-contact-shadow-width), var(--layout-preview-width));
  height: 30px;
  margin-bottom: 20px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(48, 35, 30, var(--layout-contact-shadow-opacity)) 0 18%, rgba(48, 35, 30, 0.16) 42%, transparent 74%);
  filter: blur(8px);
  opacity: 0.95;
  transform: translateY(var(--layout-preview-y)) scale(var(--layout-preview-scale));
  transform-origin: center;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms cubic-bezier(0.2, 0.75, 0.22, 1);
}

.layout-card:hover,
.layout-card[aria-pressed="true"] {
  --layout-contact-shadow-opacity: 0.31;
  z-index: 2;
  background: transparent;
  box-shadow: none;
  transform: translateY(calc(var(--layout-card-y) - 4px));
}

.layout-card:hover::before,
.layout-card[aria-pressed="true"]::before {
  opacity: 1;
  transform: translateY(calc(var(--layout-preview-y) + 0.5px)) scale(calc(var(--layout-preview-hover-scale) * 1.055));
}

.layout-card[aria-pressed="true"]::before {
  transform: translateY(calc(var(--layout-preview-y) - 2px)) scale(var(--layout-preview-active-scale));
}

.layout-card:focus-visible {
  outline: 0;
}

.layout-card.layout-bounce img {
  animation: layoutPressPress 180ms cubic-bezier(0.2, 0.75, 0.22, 1) both;
}

.layout-card.button-pop:not(:disabled) {
  animation: none;
}

.layout-card:active:not(:disabled) {
  transform: translateY(var(--layout-card-y)) !important;
}

.layout-card img {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  justify-self: center;
  position: relative;
  z-index: 1;
  width: min(100%, var(--layout-preview-width));
  height: var(--layout-preview-height);
  object-fit: contain;
  border-radius: 3px;
  background: transparent;
  filter:
    contrast(1.045)
    saturate(1.025)
    drop-shadow(0 0 0.42px rgba(38, 25, 20, 0.72))
    drop-shadow(0.18mm 0.32mm 0.12mm rgba(255, 255, 255, 0.36))
    drop-shadow(0.54mm 0.82mm 0.26mm rgba(50, 35, 30, 0.34))
    drop-shadow(1.6mm 2.45mm 1.15mm rgba(50, 35, 30, 0.23))
    drop-shadow(4.2mm 6.3mm 4.6mm rgba(50, 35, 30, 0.18));
  transition: transform 180ms cubic-bezier(0.2, 0.75, 0.22, 1), filter 160ms ease;
  transform: translateY(var(--layout-preview-y)) scale(var(--layout-preview-scale));
  transform-origin: var(--layout-preview-origin, center bottom);
}

.layout-card[data-layout="six"],
.layout-card[data-layout="fourgrid"] {
  --layout-preview-width: 292px;
  --layout-preview-height: 410px;
}

.layout-card[data-layout="fourgrid"] {
  --layout-preview-origin: center center;
  --layout-preview-scale: 0.783333;
  --layout-preview-hover-scale: 0.806833;
  --layout-preview-active-scale: 0.842917;
  --layout-preview-bounce-start-scale: 0.789;
  --layout-preview-bounce-squash-scale: 0.752;
  --layout-preview-bounce-pop-scale: 0.852;
}

.layout-card[data-layout="polaroid"] {
  --layout-preview-width: 292px;
  --layout-preview-height: 410px;
  --layout-preview-origin: center center;
  --layout-preview-scale: 0.783333;
  --layout-preview-hover-scale: 0.806833;
  --layout-preview-active-scale: 0.842917;
  --layout-preview-bounce-start-scale: 0.789;
  --layout-preview-bounce-squash-scale: 0.752;
  --layout-preview-bounce-pop-scale: 0.852;
}

.layout-card[data-layout="four"] {
  --layout-preview-width: 226px;
  --layout-preview-height: 424px;
  --layout-preview-scale: 1.1;
  --layout-preview-hover-scale: 1.133;
  --layout-preview-active-scale: 1.1825;
  --layout-preview-bounce-start-scale: 1.106;
  --layout-preview-bounce-squash-scale: 1.056;
  --layout-preview-bounce-pop-scale: 1.195;
  --layout-card-y: 0.6cm;
}

.layout-card[data-layout="three"] {
  --layout-preview-width: 226px;
  --layout-preview-height: 424px;
  --layout-preview-scale: 0.94;
  --layout-preview-hover-scale: 0.9682;
  --layout-preview-active-scale: 1.0115;
  --layout-preview-bounce-start-scale: 0.946;
  --layout-preview-bounce-squash-scale: 0.902;
  --layout-preview-bounce-pop-scale: 1.02;
}

.layout-card[data-layout="two"] {
  --layout-preview-width: 286px;
  --layout-preview-height: 424px;
  --layout-preview-origin: center center;
  --layout-preview-scale: 0.791667;
  --layout-preview-hover-scale: 0.815417;
  --layout-preview-active-scale: 0.85125;
  --layout-preview-bounce-start-scale: 0.797;
  --layout-preview-bounce-squash-scale: 0.759;
  --layout-preview-bounce-pop-scale: 0.86;
}

.layout-card:hover img {
  filter:
    contrast(1.065)
    saturate(1.04)
    drop-shadow(0 0 0.58px rgba(36, 23, 19, 0.84))
    drop-shadow(0.22mm 0.36mm 0.14mm rgba(255, 255, 255, 0.4))
    drop-shadow(0.78mm 1.12mm 0.38mm rgba(50, 35, 30, 0.43))
    drop-shadow(2.25mm 3.35mm 1.55mm rgba(50, 35, 30, 0.31))
    drop-shadow(5.8mm 8.45mm 6.15mm rgba(50, 35, 30, 0.25));
  transform: translateY(calc(var(--layout-preview-y) - 3px)) scale(var(--layout-preview-hover-scale));
}

.layout-card[aria-pressed="true"] img {
  filter:
    contrast(1.07)
    saturate(1.04)
    drop-shadow(0 0 0.62px rgba(34, 22, 18, 0.88))
    drop-shadow(0.24mm 0.38mm 0.14mm rgba(255, 255, 255, 0.42))
    drop-shadow(0.78mm 1.12mm 0.36mm rgba(50, 35, 30, 0.42))
    drop-shadow(2.25mm 3.35mm 1.55mm rgba(50, 35, 30, 0.3))
    drop-shadow(5.6mm 8.2mm 6mm rgba(50, 35, 30, 0.24));
  transform: translateY(calc(var(--layout-preview-y) - 7px)) scale(var(--layout-preview-active-scale));
}

@keyframes layoutPressPress {
  0% {
    transform: translateY(var(--layout-preview-y)) scale(var(--layout-preview-scale));
  }

  100% {
    transform: translateY(calc(var(--layout-preview-y) + 2.5px)) scale(var(--layout-preview-bounce-squash-scale));
  }
}

@keyframes layoutButtonRebound {
  0% {
    transform: translateY(var(--layout-card-y)) scale(1);
  }

  38% {
    transform: translateY(calc(var(--layout-card-y) + 1.5px)) scale(0.985);
  }

  72% {
    transform: translateY(calc(var(--layout-card-y) - 2px)) scale(1.025);
  }

  100% {
    transform: translateY(var(--layout-card-y)) scale(1);
  }
}

.layout-card strong {
  grid-row: 2;
  grid-column: 1;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.1;
}

.layout-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
}

.layout-continue {
  position: relative;
  z-index: 1;
  display: none;
  justify-content: center;
}

.layout-continue .primary-action {
  margin-top: 4px;
}

.layout-continue .primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.booth {
  position: relative;
  min-height: 100vh;
  padding: clamp(92px, 9vw, 122px) clamp(16px, 4vw, 44px) clamp(16px, 4vw, 44px);
  background: transparent;
}

.ghost-button,
.secondary-action,
.layout-row button,
.button-row button,
.border-scroll button {
  border: 1.7px solid rgba(86, 62, 50, 0.44);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 250, 247, 0.016), rgba(126, 96, 79, 0.034)),
    rgba(255, 255, 255, 0.016);
  color: #7e604f;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 750;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.78),
    inset -1px -1px 2px rgba(126, 96, 79, 0.13),
    inset 0 -9px 16px rgba(126, 96, 79, 0.04),
    0 16px 32px rgba(126, 96, 79, 0.12);
  backdrop-filter: blur(2px) saturate(1.2);
  -webkit-backdrop-filter: blur(2px) saturate(1.2);
  transition: transform 95ms cubic-bezier(0.18, 0.9, 0.24, 1.22), background 95ms ease, border-color 95ms ease, box-shadow 95ms ease;
}

.ghost-button {
  min-height: 44px;
  padding: 10px 18px;
}

.back-button {
  min-height: 36px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(126, 96, 79, 0.86);
  font-size: 1.08rem;
  font-weight: 700;
}

.back-button span {
  display: inline-block;
  margin-right: 6px;
  transform: translateY(-1px);
}

.ghost-button:hover,
.secondary-action:hover,
.layout-row button:hover,
.button-row button:hover,
.border-scroll button:hover {
  border-color: rgba(76, 54, 43, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 250, 247, 0.026), rgba(126, 96, 79, 0.05)),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.78),
    inset 0 -9px 18px rgba(126, 96, 79, 0.055),
    0 18px 36px rgba(126, 96, 79, 0.14);
  transform: translateY(-3px) scale(1.055);
}

.back-button:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: translateX(-5px) scale(1.07);
}

.permission-card {
  display: none;
}

.permission-card h3 {
  margin-bottom: 10px;
  font-family: var(--site-font);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.permission-card p:not(.eyebrow) {
  margin: 0 auto 22px;
  max-width: 390px;
  color: var(--muted);
  line-height: 1.6;
}

.permission-actions {
  display: flex;
  justify-content: center;
}

.studio-grid {
  display: none;
  grid-template-columns: minmax(0, 1.85fr) minmax(220px, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: stretch;
  max-width: 1480px;
  margin: 0 auto;
  overflow-anchor: none;
}

.camera-ready .permission-card {
  display: none;
}

.studio-visible .studio-grid {
  display: grid;
}

.camera-ready .studio-grid {
  display: grid;
}

.tool-block,
.inline-tool {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.preview-panel {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-anchor: none;
}

.shoot-live-wrap {
  display: none;
  position: relative;
  width: min(100%, 660px);
  justify-self: center;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
  overflow-anchor: none;
}

.shoot-live-wrap::before,
.shoot-live-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
}

.shoot-live-wrap::before {
  opacity: var(--active-filter-grain-opacity, 0);
  background-image:
    radial-gradient(circle, rgba(77, 57, 43, 0.34) 0 0.7px, transparent 1.1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 0.6px, transparent 1px);
  background-position: 0 0, 7px 9px;
  background-size: 13px 13px, 17px 17px;
  mix-blend-mode: overlay;
  transition: opacity 180ms ease;
}

.shoot-live-wrap::after {
  content: none;
  display: none;
}

#shootLiveCanvas {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 660px);
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 24px 42px rgba(48, 39, 35, 0.14)) var(--active-camera-filter, brightness(1));
  transition: filter 180ms ease, transform 180ms ease;
}

.canvas-wrap {
  position: relative;
  display: grid;
  place-items: start center;
  overflow: hidden;
  min-height: 0;
}

.booth.studio-visible:not(.shoot-mode) .canvas-wrap {
  overflow: visible;
}

.preview-scale-wrap {
  position: relative;
  display: grid;
  place-items: start center;
  width: fit-content;
  max-width: 100%;
  transform-origin: center center;
}

#previewCanvas {
  display: block;
  width: auto;
  height: min(calc(100vh - 130px), 690px);
  max-width: min(100%, 420px);
  max-height: none;
  object-fit: contain;
  scale: var(--preview-hover-scale, 1);
  filter:
    drop-shadow(0 0 0.44px rgba(37, 27, 24, 0.68))
    drop-shadow(0.22mm 0.36mm 0.12mm rgba(255, 255, 255, 0.42))
    drop-shadow(0.72mm 1.08mm 0.46mm rgba(51, 36, 31, 0.26))
    drop-shadow(2.4mm 3.7mm 1.85mm rgba(51, 36, 31, 0.2))
    drop-shadow(5.4mm 7.8mm 5.8mm rgba(51, 36, 31, 0.15));
  transition: scale 160ms cubic-bezier(0.2, 0.75, 0.22, 1);
  transform-origin: center center;
}

.booth.studio-visible:not(.shoot-mode) #previewCanvas.preview-design-pop {
  animation: previewDesignPop 300ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
  will-change: scale, opacity;
}

.preview-pushpin {
  position: absolute;
  z-index: 4;
  left: var(--preview-pin-left, 0);
  top: var(--preview-pin-top, 0);
  display: none;
  width: var(--preview-pin-size, 72px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: rotate(-14deg);
  transform-origin: 42% 56%;
  filter: drop-shadow(0 8px 9px rgba(73, 55, 46, 0.18));
}

.booth.studio-visible:not(.shoot-mode) .preview-pushpin {
  display: block;
}

.confirm-preview-slot {
  --confirm-button-width: clamp(142px, 14.2vw, 220px);
  --confirm-button-height: clamp(48px, 4.62vw, 66px);
  --confirm-button-padding: clamp(14px, 2vw, 24px);
  --confirm-button-font-size: clamp(1.15rem, 1.22vw, 1.42rem);
  --confirm-button-border-width: clamp(2.6px, 0.24vw, 3.2px);
  --confirm-frame-width: clamp(146px, 11.1vw, 172px);
  --confirm-frame-height: clamp(49px, 3.52vw, 56px);
  --confirm-slot-top-gap: clamp(-0.9cm, -2.2vw, -0.36cm);
  --confirm-vertical-shift: 1cm;
  --confirm-polaroid-top: clamp(-2.1cm, -5.35vw, -1.05cm);
  --confirm-strip-top: clamp(-1.8cm, -4.4vw, -0.95cm);
  display: flex;
  justify-content: center;
  justify-self: center;
  width: min(100%, clamp(300px, 32vw, 420px));
  margin-top: calc(var(--confirm-slot-top-gap) + var(--confirm-vertical-shift));
}

.booth[data-layout="polaroid"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button {
  top: var(--confirm-polaroid-top);
}

.booth[data-layout="four"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button,
.booth[data-layout="three"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button,
.booth[data-layout="two"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button,
.booth[data-layout="six"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button {
  top: var(--confirm-strip-top);
}

.booth[data-layout="six"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button {
  top: calc(var(--confirm-strip-top) + 1.6cm);
}

.booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) .confirm-preview-slot .confirm-button {
  top: -1.6cm;
}

.booth[data-layout="two"].studio-visible:not(.shoot-mode) .confirm-preview-slot {
  transform: translateY(0.4cm);
}

.confirm-preview-slot .confirm-button {
  flex: 0 0 auto;
  width: var(--confirm-frame-width);
  margin: 0;
}

#cameraVideo {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.filter-panel {
  display: none;
  width: min(100%, 660px);
  justify-self: center;
  position: relative;
}

.filter-panel-inner {
  position: relative;
  overflow: visible;
  padding-inline: 14px;
}

.filter-panel-inner::before,
.filter-panel-inner::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 12px;
  z-index: 2;
  width: 34px;
  pointer-events: none;
}

.filter-panel-inner::before {
  left: 0;
  background: linear-gradient(90deg, rgba(250, 242, 235, 0.92), rgba(250, 242, 235, 0));
}

.filter-panel-inner::after {
  right: 0;
  background: linear-gradient(270deg, rgba(250, 242, 235, 0.92), rgba(250, 242, 235, 0));
}

.filter-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 8px 8px 14px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(113, 82, 66, 0.34) rgba(255, 255, 255, 0.24);
}

.filter-scroll::-webkit-scrollbar {
  height: 7px;
}

.filter-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.filter-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(113, 82, 66, 0.34);
}

.filter-scroll.is-dragging {
  cursor: grabbing;
}

.filter-option {
  flex: 0 0 auto;
  min-width: 116px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1.6px solid rgba(92, 62, 48, 0.42);
  border-radius: 999px;
  color: rgba(91, 62, 49, 0.86);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 248, 242, 0.08), rgba(126, 96, 79, 0.035)),
    rgba(255, 252, 248, 0.12);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.86),
    inset -1px -1px 2px rgba(126, 96, 79, 0.12),
    0 10px 22px rgba(126, 96, 79, 0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.04rem;
  font-weight: 750;
  scroll-snap-align: center;
  backdrop-filter: blur(6px) saturate(1.18);
  -webkit-backdrop-filter: blur(6px) saturate(1.18);
  transition:
    transform 140ms cubic-bezier(0.18, 0.9, 0.24, 1.24),
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.filter-option:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(71, 47, 36, 0.68);
  color: rgba(69, 45, 35, 0.98);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 248, 242, 0.1), rgba(104, 72, 56, 0.08)),
    rgba(113, 82, 66, 0.1);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.9),
    inset -1px -1px 2px rgba(126, 96, 79, 0.17),
    0 16px 28px rgba(126, 96, 79, 0.16);
}

.filter-option[aria-pressed="true"] {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(70, 45, 34, 0.78);
  color: rgba(62, 39, 29, 0.98);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 248, 242, 0.08), rgba(104, 72, 56, 0.12)),
    rgba(113, 82, 66, 0.14);
  box-shadow:
    0 0 0 3px rgba(255, 227, 220, 0.56),
    inset 1px 1px 1px rgba(255, 255, 255, 0.94),
    inset -1px -1px 2px rgba(126, 96, 79, 0.16),
    0 18px 34px rgba(126, 96, 79, 0.18);
}

.filter-label {
  display: block;
  width: 100%;
  min-height: 0;
  font-size: 0.86rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.filter-changing {
  animation: filterSoftSwap 240ms ease both;
}

.tools-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 22px;
  width: calc(100% + 3cm);
  margin-left: -3cm;
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding-right: 4px;
}

.tool-block {
  padding: 16px;
  box-shadow: none;
}

.preview-actions {
  display: none;
}

.inline-tool {
  padding: 14px;
  box-shadow: none;
}

.border-options {
  overflow: visible;
  min-height: calc(100vh - 168px);
}

.design-frame {
  --design-frame-ink: rgba(61, 39, 30, 0.96);
  --design-frame-ink-soft: rgba(86, 57, 44, 0.78);
  --design-frame-ink-light: rgba(108, 71, 55, 0.52);
  --design-frame-top: clamp(64px, 7vw, 96px);
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  padding: 0 clamp(18px, 2.3vw, 28px) 22px;
  overflow: visible;
}

.design-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--design-frame-top);
  bottom: 15%;
  left: 3px;
  width: 8px;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(ellipse 3px 10px at 44% 8px, rgba(55, 34, 25, 0.72) 0 68%, transparent 72%),
    radial-gradient(ellipse 2.5px 7px at 58% 31px, rgba(74, 45, 33, 0.58) 0 68%, transparent 72%),
    radial-gradient(ellipse 3px 12px at 39% 56px, rgba(55, 34, 25, 0.66) 0 68%, transparent 72%);
  background-repeat: repeat-y;
  background-size: 100% 76px;
  clip-path: none;
  filter: blur(0.2px);
  pointer-events: none;
  opacity: 1;
  transform: rotate(-0.2deg);
}

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

.design-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  margin: 0 0 clamp(28px, 4vw, 42px);
  color: var(--design-frame-ink);
  font-family: var(--site-font);
  font-size: clamp(0.992rem, 1.984vw, 1.696rem);
  font-style: italic;
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
}

.design-title::before,
.design-title::after {
  content: "";
  flex: 1 1 72px;
  max-width: clamp(58px, 18%, 168px);
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 8% 48%, var(--design-frame-ink) 0 3px, transparent 4px),
    radial-gradient(ellipse at 93% 52%, var(--design-frame-ink) 0 3px, transparent 4px),
    linear-gradient(178deg, transparent 0 35%, var(--design-frame-ink-light) 36% 41%, transparent 42%),
    linear-gradient(181deg, transparent 0 42%, var(--design-frame-ink) 43% 53%, transparent 54%),
    linear-gradient(179deg, transparent 0 58%, var(--design-frame-ink-soft) 59% 64%, transparent 65%);
  clip-path: polygon(0 42%, 8% 31%, 25% 37%, 42% 30%, 59% 39%, 76% 32%, 100% 43%, 98% 64%, 74% 59%, 56% 67%, 39% 58%, 20% 65%, 0 58%);
  filter: contrast(1.2);
}

.design-title::after {
  transform: translateX(0.18cm);
}

.border-scroll {
  --design-left-crop-extension: 0.4cm;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0.083333cm;
  row-gap: 0.5cm;
  width: calc(100% + var(--design-left-crop-extension));
  max-height: calc(100vh - 252px);
  overflow-y: auto;
  overflow-anchor: none;
  padding: 0 0 2px var(--design-left-crop-extension);
  transform: translate(calc(0.6cm - var(--design-left-crop-extension)), -1cm);
}

.border-scroll[data-mode="custom-polaroid"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 20px;
  padding-right: 1.6cm;
  width: calc(100% + var(--design-left-crop-extension) + 1.6cm);
  overflow-x: visible;
}

.border-scroll[data-mode="custom-polaroid"] button {
  --design-shadow:
    drop-shadow(0.28mm 0.38mm 0.12mm rgba(255, 255, 255, 0.36))
    drop-shadow(0.72mm 1.04mm 0.36mm rgba(45, 31, 28, 0.46))
    drop-shadow(0 2.45mm 2.05mm rgba(63, 45, 38, 0.25));
  --design-shadow-active:
    drop-shadow(0.32mm 0.42mm 0.14mm rgba(255, 255, 255, 0.4))
    drop-shadow(0.86mm 1.22mm 0.42mm rgba(45, 31, 28, 0.54))
    drop-shadow(0 2.85mm 2.35mm rgba(63, 45, 38, 0.3));
}

.border-scroll[data-mode="custom-polaroid"] img {
  height: clamp(197px, 24vh, 271px);
}

.border-scroll[data-mode="custom-three"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.border-scroll[data-mode="custom-two"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0.041667cm;
}

.booth[data-layout="two"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] {
  --design-list-lift: -1cm;
  transform: translate(calc(0.6cm - var(--design-left-crop-extension)), -1cm);
}

.booth[data-layout="six"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-six"] {
  --design-list-lift: -1.3cm;
}

.booth[data-layout="six"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-six"] button[data-design-position] {
  --design-scale-boost: 1.08;
  --design-hover-scale: 1.01;
  --design-shift-x: 0.35cm;
  --design-shift-y: 0.18cm;
}

.booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) .border-scroll {
  --layout6-design-top-lift: 0.5cm;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0.45cm;
  row-gap: 1cm;
  max-height: calc(100vh - 159.3px + var(--layout6-design-top-lift));
  overflow-x: hidden;
  padding: calc(0.25cm + var(--layout6-design-top-lift)) 0.2cm 0.45cm calc(0.2cm + var(--design-left-crop-extension));
  transform: translate(calc(0.6cm - var(--design-left-crop-extension)), calc(-0.2cm - var(--layout6-design-top-lift)));
}

.booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) .border-scroll button[data-design-position] {
  --design-scale-boost: 1.15;
}

.booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) .border-scroll img {
  height: clamp(230px, 28vh, 316px);
}

.border-scroll[data-mode="custom-two"] button[data-design-position] {
  --design-scale: 0.875;
  --design-hover-scale: 0.901;
}

.border-scroll[data-mode="custom-three"] img {
  height: clamp(247px, 30vh, 339px);
}

.border-scroll button {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: auto;
  min-height: 0;
  padding: 0;
  position: relative;
  text-align: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  --design-row-shift: 0px;
  --design-scale-boost: 1;
  --design-shift-x: 0px;
  --design-shift-y: 0px;
  top: calc(var(--design-row-shift) + var(--design-list-lift, 0px));
  contain: layout style;
  --design-shadow:
    drop-shadow(0.28mm 0.4mm 0.12mm rgba(255, 255, 255, 0.36))
    drop-shadow(0.88mm 1.22mm 0.42mm rgba(45, 31, 28, 0.5))
    drop-shadow(0 2.8mm 2.25mm rgba(63, 45, 38, 0.28));
  --design-shadow-active:
    drop-shadow(0.32mm 0.46mm 0.14mm rgba(255, 255, 255, 0.4))
    drop-shadow(1mm 1.42mm 0.48mm rgba(45, 31, 28, 0.58))
    drop-shadow(0 3.25mm 2.55mm rgba(63, 45, 38, 0.34));
}

.border-scroll button:hover,
.border-scroll button:focus-visible,
.border-scroll button[aria-pressed="true"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.border-scroll button::before,
.border-scroll button::after {
  display: none;
}

.border-scroll img {
  width: 100%;
  height: clamp(288px, 35vh, 395px);
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: var(--design-shadow);
  transform: translate3d(var(--design-shift-x), var(--design-shift-y), 0) scale(calc(var(--design-scale, 1) * var(--design-scale-boost, 1) * 0.9));
  transform-origin: center center;
  backface-visibility: hidden;
  pointer-events: none;
  transition: transform 165ms cubic-bezier(0.18, 0.78, 0.18, 1);
  will-change: auto;
}

.border-scroll[data-mode="custom-polaroid"] button[data-design-position] {
  --design-scale-boost: 1.1;
  --design-scale: 1;
  --design-hover-scale: 1.03;
}

.border-scroll[data-mode="custom-polaroid"] button[data-design-position="15"],
.border-scroll[data-mode="custom-polaroid"] button[data-design-position="18"],
.border-scroll[data-mode="custom-polaroid"] button[data-design-position="19"],
.border-scroll[data-mode="custom-polaroid"] button[data-design-position="20"] {
  --design-scale: 0.875;
  --design-hover-scale: 0.901;
}

.border-scroll[data-mode="custom-polaroid"] button[data-layout2-design="layout1-red-bow-polaroid"] {
  --design-scale: 0.875;
  --design-hover-scale: 0.901;
}

.border-scroll[data-mode="custom-polaroid"] button[data-layout2-design="layout1-ice-cream-polaroid"],
.border-scroll[data-mode="custom-polaroid"] button[data-layout2-design="layout1-lip-polaroid"],
.border-scroll[data-mode="custom-polaroid"] button[data-layout2-design="layout1-xoxo-polaroid"] {
  --design-row-shift: -0.28cm;
  --design-scale: 0.875;
  --design-hover-scale: 0.901;
}

.border-scroll[data-mode="custom-polaroid"] button[data-design-position="18"] {
  --design-scale: 1.216;
  --design-hover-scale: 1.253;
  contain: none;
  overflow: visible;
}

.border-scroll[data-mode="custom-polaroid"] button[data-design-position="21"] {
  --design-scale: 0.909;
  --design-hover-scale: 0.936;
}

.border-scroll button:hover img,
.border-scroll button:focus-visible img {
  transform: translate3d(var(--design-shift-x), calc(var(--design-shift-y) - 0.24mm), 0) scale(calc(var(--design-hover-scale, 1.03) * var(--design-scale-boost, 1) * 0.9));
  will-change: transform;
}

.border-scroll button[aria-pressed="true"] img {
  filter: var(--design-shadow-active);
  transform: translate3d(var(--design-shift-x), calc(var(--design-shift-y) - 0.32mm), 0) scale(calc(var(--design-hover-scale, 1.03) * var(--design-scale-boost, 1) * 0.96));
}

.layout-row,
.button-row,
.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.layout-row button,
.button-row button,
.secondary-action {
  min-height: 42px;
  padding: 9px 14px;
}

.layout-row button {
  flex: 1 1 92px;
}

.button-row button {
  flex: 1 1 118px;
}

.secondary-action {
  flex: 1 1 130px;
}

.source-actions .download-button {
  flex: 1 1 160px;
}

.layout-row button[aria-pressed="true"],
.button-row button[aria-pressed="true"] {
  border-color: rgba(157, 89, 107, 0.58);
  background: var(--rose);
  color: #633440;
}

.download-button {
  min-height: 42px;
  padding: 10px 16px;
}

.confirm-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--confirm-frame-width, 147px);
  height: var(--confirm-frame-height, 44px);
  min-width: var(--confirm-frame-width, 147px);
  min-height: var(--confirm-frame-height, 44px);
  margin: 10px auto 0;
  padding: 0 clamp(8px, 1.2vw, 14px);
  border: var(--confirm-button-border-width, 2.7px) solid rgba(118, 76, 65, 0.72);
  border-radius: 999px;
  color: #6f493f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.22) 38%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(145deg, #ffe7e4 0%, #f7bdbb 54%, #e89995 100%) !important;
  cursor: pointer;
  font-size: var(--confirm-button-font-size, 1.5rem);
  font-weight: 850;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.54),
    0 1px 2px rgba(113, 72, 62, 0.16);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    inset 0 -4px 0 rgba(150, 86, 78, 0.23),
    0 4px 0 rgba(116, 72, 61, 0.56),
    0 10px 16px rgba(126, 88, 76, 0.2) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition:
    transform 120ms ease,
    background 120ms ease,
    box-shadow 160ms ease,
    filter 260ms ease,
    color 260ms ease;
}

.confirm-button::before,
.confirm-button::after {
  content: none !important;
  display: none !important;
}

.confirm-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.confirm-button:focus,
.confirm-button:focus-visible {
  outline: 0 !important;
}

.confirm-button:hover:not(:disabled) {
  color: #fff8f5;
  -webkit-text-fill-color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 255, 255, 0.18) 38%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(145deg, #efa39e 0%, #dd8580 56%, #ca706c 100%) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 3px rgba(92, 48, 42, 0.34);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -4px 0 rgba(121, 63, 58, 0.24),
    0 4px 0 rgba(116, 72, 61, 0.58),
    0 11px 18px rgba(126, 88, 76, 0.22) !important;
  filter: brightness(1.03);
  transform: translateY(-2px) scale(1.025);
}

.confirm-button:active:not(:disabled),
.confirm-button.is-pressing:not(:disabled) {
  color: #fff8f5;
  -webkit-text-fill-color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.14) 42%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(145deg, #e89893 0%, #d87c78 58%, #c66b68 100%) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 3px rgba(92, 48, 42, 0.36);
  box-shadow:
    inset 0 6px 10px rgba(92, 48, 42, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24),
    0 1px 0 rgba(128, 83, 71, 0.38),
    0 4px 8px rgba(126, 88, 76, 0.12) !important;
  transform: translateY(5px) scale(0.986);
}

.shoot-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto 0;
}

.shoot-controls .primary-action,
.shoot-controls .secondary-action {
  margin-top: 0;
  font-size: 1.05rem;
  font-weight: 750;
}

#startShootButton.camera-shoot-button {
  display: grid;
  place-items: center;
  gap: 6px;
  width: clamp(75px, 7.04vw, 96px);
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
  transform-origin: center;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#startShootButton.camera-shoot-button[hidden] {
  display: none;
}

#startShootButton.camera-shoot-button::before,
#startShootButton.camera-shoot-button::after {
  content: none;
  display: none;
}

#startShootButton.camera-shoot-button:hover:not(:disabled),
#startShootButton.camera-shoot-button:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

#startShootButton.camera-shoot-button:active:not(:disabled),
#startShootButton.camera-shoot-button.button-pop:not(:disabled) {
  animation: none;
  transform: none !important;
}

#startShootButton.camera-shoot-button:disabled {
  opacity: 1;
}

.camera-shoot-icon-wrap {
  position: relative;
  display: block;
  width: 80%;
  line-height: 0;
  animation: cameraIdlePop 2.5s ease-in-out infinite;
  transform-origin: center;
  transition: transform 95ms cubic-bezier(0.18, 0.9, 0.24, 1.22);
}

.shoot-mode .camera-shoot-icon-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 0.36cm);
  aspect-ratio: 1 / 1;
  border: 4.32px solid rgb(32, 24, 16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 10px 22px rgba(92, 63, 48, 0.18),
    inset 1px 1px 1px rgba(255, 255, 255, 0.78),
    inset -1px -1px 2px rgba(92, 63, 48, 0.18);
  pointer-events: none;
}

.camera-shoot-icon {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 12px 16px rgba(92, 63, 48, 0.18));
}

#startShootButton.camera-shoot-button:hover:not(:disabled) .camera-shoot-icon-wrap,
#startShootButton.camera-shoot-button:focus-visible .camera-shoot-icon-wrap {
  animation: none;
  transform: scale(1.06);
}

.camera-shoot-label {
  color: #5c3d2f;
  font-family: var(--site-font);
  font-size: clamp(1.272rem, 1.86vw, 1.584rem);
  font-weight: 600;
  line-height: 1;
  margin-top: 0.5cm;
  text-align: center;
  white-space: nowrap;
}

.shoot-mode .camera-shoot-label {
  margin-top: 1.5cm;
}

#startShootButton.camera-shoot-button.is-shooting .camera-shoot-icon-wrap {
  animation: cameraShootPulse 680ms ease-in-out infinite alternate;
}

@keyframes cameraIdlePop {
  0%,
  72%,
  100% {
    transform: scale(1);
  }

  80% {
    transform: scale(1.14);
  }

  88% {
    transform: scale(0.96);
  }

  94% {
    transform: scale(1.04);
  }
}

@keyframes cameraShootPulse {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.93);
  }
}

.shoot-status {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.countdown-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  place-items: center;
  border-radius: inherit;
  background: transparent;
  pointer-events: none;
}

.countdown-overlay.is-visible {
  display: grid;
}

.countdown-overlay span {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  color: #fff;
  background: transparent;
  font-family: var(--site-font);
  font-size: clamp(3.45rem, 8vw, 5rem);
  line-height: 1;
  text-shadow: 0 6px 18px rgba(35, 32, 32, 0.28);
}

.processing-overlay,
.finish-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 250, 247, 0.16), rgba(255, 250, 247, 0.28)),
    url("assets/site-background-final.jpg?v=final-bg-20260528-3777f66f-4") center / cover no-repeat;
}

.processing-overlay {
  z-index: 19;
}

.finish-overlay {
  padding-bottom: clamp(104px, 15vh, 152px);
}

.processing-overlay.is-visible,
.finish-overlay.is-visible {
  display: grid;
  animation: finishFade 260ms ease both;
}

.processing-card {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(520px, 78vw);
  color: rgba(92, 63, 48, 0.96);
  text-align: center;
}

.processing-card p {
  margin: 0;
  font-family: var(--site-font);
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.04;
  text-shadow: 0 8px 22px rgba(255, 255, 255, 0.7);
}

.loading-bar {
  position: relative;
  width: min(390px, 72vw);
  height: 16px;
  overflow: hidden;
  border: 1.6px solid rgba(86, 62, 50, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 248, 242, 0.08)),
    rgba(255, 252, 248, 0.16);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.86),
    inset -1px -1px 2px rgba(126, 96, 79, 0.12),
    0 18px 38px rgba(126, 96, 79, 0.1);
  backdrop-filter: blur(5px) saturate(1.18);
  -webkit-backdrop-filter: blur(5px) saturate(1.18);
}

.loading-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(194, 145, 130, 0.38), rgba(126, 96, 79, 0.48)),
    rgba(126, 96, 79, 0.22);
  box-shadow: 0 0 18px rgba(126, 96, 79, 0.16);
  transform-origin: center;
  animation: processingLoad 1300ms cubic-bezier(0.42, 0, 0.2, 1) infinite alternate;
}

.finish-card {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(920px, 94vw);
  max-height: 92vh;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: finishPop 720ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.finish-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #6f4c40;
  font-family: var(--site-font);
  font-size: clamp(1.4rem, 6vw, 2.667rem);
  font-weight: 700;
  line-height: 0.95;
  transform: translateY(0);
}

.finish-canvas-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: auto;
  max-width: 100%;
  max-height: min(62vh, 560px);
  transform: translate3d(0, 1cm, 0) scale(1);
  transform-origin: center;
  transition: transform 420ms cubic-bezier(0.2, 1.58, 0.34, 1);
  cursor: zoom-in;
  backface-visibility: hidden;
  will-change: transform;
}

#finishCanvas {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(62vh, 560px);
  border-radius: 4px;
  box-shadow: none;
  filter: none;
  backface-visibility: hidden;
}

#finishShadowCanvas {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  display: block;
  width: 114%;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translate(-48.5%, -46.5%);
}

.booth[data-layout="polaroid"] .finish-canvas-stack,
.booth[data-layout="polaroid"] #finishCanvas {
  max-width: 90%;
  max-height: min(55.8vh, 504px);
}

.booth[data-layout="three"] #finishCanvas,
.booth[data-layout="four"] #finishCanvas {
  filter:
    drop-shadow(0 0 0.45px rgba(37, 27, 24, 0.72))
    drop-shadow(0.2mm 0.34mm 0.12mm rgba(255, 255, 255, 0.45))
    drop-shadow(0.68mm 1mm 0.34mm rgba(51, 36, 31, 0.33))
    drop-shadow(2.2mm 3.35mm 1.55mm rgba(51, 36, 31, 0.24))
    drop-shadow(5mm 7.2mm 5.4mm rgba(51, 36, 31, 0.18));
}

.booth[data-layout="three"] #finishShadowCanvas,
.booth[data-layout="four"] #finishShadowCanvas {
  opacity: 1;
  transform: translate(-48%, -46%);
}

.finish-card:has(.finish-canvas-stack:hover) {
  z-index: 7;
}

.finish-canvas-stack:hover {
  transform: translate3d(0, 1cm, 0) scale(1.045);
}

.finish-canvas-stack:active {
  transform: translate3d(0, 1cm, 0) scale(1.065);
}

.finish-actions {
  position: fixed;
  left: 50%;
  bottom: clamp(24px, 5vh, 48px);
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13.2px;
  width: min(1188px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  margin-top: 0;
  padding: 2px 2px 8px;
  overflow: visible;
  transform: translateX(-50%);
  animation: none;
}

.finish-icon-button {
  flex: 0 0 auto;
  min-height: 55.44px;
  padding: 13.2px 21.12px;
  border: 2.376px solid rgba(86, 62, 50, 0.48);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 250, 247, 0.018), rgba(126, 96, 79, 0.035)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.82),
    inset -1px -1px 2px rgba(126, 96, 79, 0.14),
    inset 0 -12px 20px rgba(126, 96, 79, 0.045),
    0 18px 38px rgba(126, 96, 79, 0.14);
  cursor: pointer;
  font-size: 1.275rem;
  font-weight: 875;
  backdrop-filter: blur(2px) saturate(1.22);
  -webkit-backdrop-filter: blur(2px) saturate(1.22);
  transition:
    transform 95ms cubic-bezier(0.18, 0.9, 0.24, 1.22),
    background 120ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.ig-icon {
  display: inline-grid;
  width: 1.05em;
  height: 1.05em;
  margin-left: 0.25em;
  border-radius: 0.3em;
  background:
    radial-gradient(circle at 72% 28%, #fff 0 0.09em, transparent 0.1em),
    radial-gradient(circle at 50% 52%, transparent 0 0.18em, #fff 0.19em 0.25em, transparent 0.26em),
    linear-gradient(135deg, #feda75 0%, #fa7e1e 28%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
  vertical-align: -0.12em;
}

.finish-icon-button:hover {
  border-color: rgba(86, 62, 50, 0.48);
  color: #fff8f5;
  -webkit-text-fill-color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.13) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #ce9b91 0%, #bd897f 58%, #a9756b 100%);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.82),
    inset -1px -1px 2px rgba(126, 96, 79, 0.14),
    inset 0 -12px 20px rgba(126, 96, 79, 0.045),
    0 18px 38px rgba(126, 96, 79, 0.14);
  transform: translateY(-4px) scale(1.07);
}

.finish-icon-button:active:not(:disabled) {
  color: #fff8f5;
  -webkit-text-fill-color: #fff8f5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #ad7a70 0%, #98645b 58%, #81534b 100%);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.82),
    inset -1px -1px 2px rgba(126, 96, 79, 0.14),
    inset 0 -12px 20px rgba(126, 96, 79, 0.045),
    0 18px 38px rgba(126, 96, 79, 0.14);
  transform: translateY(-1px) scale(1.03);
}

.finish-again-button {
  position: fixed;
  left: 50%;
  bottom: clamp(28px, 6vh, 56px);
  z-index: 9;
  min-height: 52px;
  padding: 14px 28px;
  border: 1.8px solid rgba(86, 62, 50, 0.48);
  border-radius: 999px;
  color: #8a6f61;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 250, 247, 0.018), rgba(126, 96, 79, 0.035)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.82),
    inset -1px -1px 2px rgba(126, 96, 79, 0.14),
    inset 0 -12px 20px rgba(126, 96, 79, 0.045),
    0 18px 38px rgba(126, 96, 79, 0.14);
  backdrop-filter: blur(2px) saturate(1.22);
  -webkit-backdrop-filter: blur(2px) saturate(1.22);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(0.96);
  transition: opacity 320ms ease, transform 95ms cubic-bezier(0.18, 0.9, 0.24, 1.22), background 95ms ease;
}

.finish-again-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.finish-again-button:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 250, 247, 0.026), rgba(126, 96, 79, 0.05)),
    rgba(255, 255, 255, 0.025);
  transform: translate(-50%, -5px) scale(1.07);
}

.confetti-layer {
  position: fixed;
  inset: -12vh 0 0;
  z-index: 30;
  overflow: hidden;
  pointer-events: none;
}

.finish-confetti-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  left: var(--x);
  top: -2vh;
  width: var(--w);
  height: var(--h);
  border-radius: var(--radius);
  background: var(--confetti-color);
  opacity: var(--opacity);
  transform: translate3d(0, -4vh, 0) rotate(var(--start-rotate));
  animation: confettiFall var(--duration) linear forwards;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.confetti-piece.is-circle {
  border-radius: 999px;
}

.confetti-piece.is-star {
  clip-path: polygon(50% 0%, 61% 34%, 97% 34%, 68% 55%, 79% 90%, 50% 68%, 21% 90%, 32% 55%, 3% 34%, 39% 34%);
}

.confetti-piece.is-ribbon {
  border-radius: 999px 999px 2px 2px;
}

button:not(#startButton):not([data-nav-target="home"]) {
  color: #5c3d2f;
  border-color: rgba(58, 39, 30, 0.76);
}

button:not(#startButton):not([data-nav-target="home"]):hover {
  color: #452b20;
  border-color: rgba(43, 28, 21, 0.88);
}

.back-button:not(#startButton):not([data-nav-target="home"]) {
  color: rgba(92, 63, 48, 0.98);
}

.border-scroll button,
.border-scroll button:hover,
.border-scroll button[aria-pressed="true"] {
  border-color: transparent;
}

button.filter-option:not(#startButton):not([data-nav-target="home"]) {
  color: rgba(82, 55, 42, 0.88);
  border-color: rgba(82, 55, 42, 0.48);
}

button.filter-option:not(#startButton):not([data-nav-target="home"]):hover {
  color: rgba(58, 37, 28, 0.98);
  border-color: rgba(58, 37, 28, 0.68);
}

button.filter-option:not(#startButton):not([data-nav-target="home"])[aria-pressed="true"] {
  color: rgba(50, 31, 23, 0.98);
  border-color: rgba(88, 53, 41, 0.86);
}

button:not(:disabled):not(.back-button):not(.layout-card):hover {
  color: rgba(45, 28, 21, 0.98);
  border-color: rgba(42, 27, 20, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 250, 247, 0.035), rgba(74, 48, 37, 0.17)),
    rgba(92, 63, 48, 0.14);
}

.site-nav button,
.site-nav button:hover,
.site-nav button:focus-visible,
.site-nav button[aria-current="page"] {
  border: 0 !important;
}

.site-nav button::before,
.site-nav button::after {
  content: none;
  display: none;
}

.layout-card:not(:disabled):hover,
.layout-card:not(:disabled)[aria-pressed="true"] {
  border-color: transparent;
  background: transparent;
}

.back-button:not(:disabled):hover {
  color: rgba(61, 39, 30, 0.98);
}

.border-scroll button:not(:disabled):hover {
  border-color: transparent;
  background: transparent;
}

.border-scroll button,
.border-scroll button:hover,
.border-scroll button:focus,
.border-scroll button:focus-visible,
.border-scroll button:active,
.border-scroll button[aria-pressed="true"] {
  color: inherit !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.border-scroll button::before,
.border-scroll button::after {
  content: none !important;
  display: none !important;
}

.border-scroll button:hover img,
.border-scroll button:focus-visible img {
  transform: translate3d(var(--design-shift-x), calc(var(--design-shift-y) - 0.24mm), 0) scale(calc(var(--design-hover-scale, 1.03) * var(--design-scale-boost, 1) * 0.9));
  will-change: transform;
}

.border-scroll button[aria-pressed="true"] img {
  filter: var(--design-shadow-active) !important;
  transform: translate3d(var(--design-shift-x), var(--design-shift-y), 0) scale(calc(var(--design-scale, 1) * var(--design-scale-boost, 1) * 0.9));
}

.border-scroll button:active:not(:disabled) {
  transform: none !important;
}

.border-scroll button.button-pop:not(:disabled) {
  animation: none;
}

.border-scroll button.button-pop[aria-pressed="true"] img {
  animation: designSelectedPress 260ms cubic-bezier(0.22, 0.78, 0.2, 1) both;
  will-change: transform;
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) {
  --section-ink-strong: rgba(92, 65, 52, 0.96);
  --section-ink: rgba(92, 65, 52, 0.96);
  --section-ink-soft: rgba(92, 65, 52, 0.96);
  --section-button-border: rgba(92, 65, 52, 0.96);
  color: var(--section-ink);
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(
  h2,
  h3,
  label,
  a,
  strong,
  .eyebrow,
  .design-title,
  .camera-shoot-label,
  .filter-label,
  .form-status,
  .finish-card p,
  .processing-card p,
  .layout-card strong,
.layout-card span
) {
  color: var(--section-ink-strong);
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(
  p,
  .welcome-copy p,
  .info-header p,
  .policy-list p,
  .contact-options p,
  .permission-card p:not(.eyebrow),
  .shoot-status
) {
  color: var(--section-ink-soft);
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) button:not(#doneButton):not(#startShootButton) {
  color: var(--section-ink-strong) !important;
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(
  .primary-action,
  .download-button,
  .ghost-button,
  .secondary-action,
  .layout-row button,
  .button-row button,
  .confirm-button,
  .filter-option,
  .finish-icon-button,
  .finish-again-button
):not(.back-button):not(#startShootButton) {
  border-color: var(--section-button-border) !important;
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(
  .primary-action,
  .download-button,
  .ghost-button,
  .secondary-action,
  .layout-row button,
  .button-row button,
  .confirm-button,
  .filter-option,
  .finish-icon-button,
  .finish-again-button
):not(.back-button):not(#startShootButton):hover {
  border-color: rgba(34, 21, 15, 0.94) !important;
}

@keyframes designSelectedPress {
  0% {
    transform: translate3d(0, 0.12mm, 0) scale(calc(var(--design-scale, 1) * var(--design-scale-boost, 1) * 0.86));
  }

  56% {
    transform: translate3d(0, 0.04mm, 0) scale(calc(var(--design-scale, 1) * var(--design-scale-boost, 1) * 0.885));
  }

  100% {
    transform: translate3d(0, 0, 0) scale(calc(var(--design-scale, 1) * var(--design-scale-boost, 1) * 0.9));
  }
}

@keyframes previewDesignPop {
  0% {
    opacity: 0.92;
    scale: 0.965;
  }

  68% {
    opacity: 1;
    scale: 1.018;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes finishFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes processingLoad {
  0% {
    transform: translateX(-18%) scaleX(0.92);
  }

  50% {
    transform: translateX(118%) scaleX(1.12);
  }

  100% {
    transform: translateX(154%) scaleX(0.92);
  }
}

@keyframes finishPop {
  from {
    opacity: 0;
    transform:
      translate3d(var(--from-x, 0), var(--from-y, 18px), 0)
      scale(var(--from-scale, 0.38))
      rotate(-3deg);
  }
  62% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.035) rotate(0.6deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes cameraShotFlash {
  0% {
    opacity: 0;
  }

  16% {
    opacity: 1;
  }

  48% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
  }
}

@keyframes confettiFall {
  0% {
    opacity: 0.2;
    transform: translate3d(0, -4vh, 0) rotate(var(--start-rotate));
  }

  3% {
    opacity: var(--opacity);
  }

  100% {
    opacity: 0.92;
    transform: translate3d(var(--drift), 126vh, 0) rotate(var(--end-rotate));
  }
}

@keyframes filterSoftSwap {
  from {
    opacity: 0.84;
    transform: scale(0.995);
  }

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

@media print {
  body::before,
  .landing,
  .layout-picker,
  .booth-header,
  .studio-grid,
  .shoot-controls,
  .countdown-overlay,
  .finish-actions,
  .finish-again-button {
    display: none !important;
  }

  .booth,
  .finish-overlay {
    display: grid !important;
    position: static !important;
    min-height: auto !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .finish-card {
    width: 100% !important;
    animation: none !important;
  }

  .finish-canvas-stack {
    max-width: 100% !important;
    max-height: none !important;
    transform: none !important;
  }

  .confetti-layer {
    display: none !important;
  }

  .finish-card p {
    display: none !important;
  }

  #finishCanvas {
    max-width: 100% !important;
    max-height: none !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
  }

  #finishShadowCanvas {
    display: none !important;
  }
}

.shoot-mode .studio-grid {
  grid-template-columns: 1fr;
  max-width: 1180px;
}

.shoot-mode .tools-panel,
.shoot-mode .preview-actions,
.shoot-mode .confirm-preview-slot {
  display: none;
}

.shoot-mode .canvas-wrap {
  place-items: start center;
  overflow: visible;
  padding-bottom: 1.2cm;
  transform: translateX(2.5cm);
}

.booth.shoot-mode[data-layout="two"] .canvas-wrap {
  transform: translate(2.5cm, 1cm);
}

.shoot-mode .canvas-wrap::before {
  content: attr(data-selected-design-label);
  position: absolute;
  left: calc(50% + var(--selected-design-label-shift-x, 0px));
  top: 0;
  z-index: 2;
  color: var(--ink);
  font-family: var(--site-font);
  font-size: clamp(1.272rem, 1.86vw, 1.584rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.shoot-mode .canvas-wrap::after {
  content: "👇";
  position: absolute;
  left: calc(50% + var(--selected-design-label-shift-x, 0px));
  top: 0.5cm;
  z-index: 2;
  color: var(--ink);
  font-family: var(--site-font);
  font-size: clamp(1.413rem, 2.067vw, 1.76rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.booth.shoot-mode[data-layout="four"] .canvas-wrap::before {
  top: -1cm;
}

.booth.shoot-mode[data-layout="four"] .canvas-wrap::after {
  top: -0.5cm;
}

.booth.shoot-mode[data-layout="polaroid"] .canvas-wrap::before {
  top: 1cm;
}

.booth.shoot-mode[data-layout="polaroid"] .canvas-wrap::after {
  top: 1.5cm;
}

.shoot-mode .preview-panel {
  grid-template-columns: minmax(0, 1.55fr) minmax(210px, 0.72fr);
  align-items: start;
  gap: clamp(16px, 3.2vw, 44px);
}

.shoot-mode .filter-panel {
  display: block;
  grid-column: 1;
  margin-top: -4px;
  transform: translateX(3cm);
}

.shoot-mode .shoot-live-wrap,
.shoot-mode .canvas-wrap,
.shoot-mode .filter-panel,
.shoot-mode .filter-panel-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
}

.shoot-mode .filter-panel-inner::before,
.shoot-mode .filter-panel-inner::after {
  display: none;
}

.shoot-mode .booth-header h2 {
  display: none;
}

.shoot-mode .shoot-live-wrap {
  display: grid;
  place-items: start center;
  overflow: visible;
  width: min(100%, calc(660px + 3cm));
  transform: translateX(3.5cm);
}

.shoot-mode #shootLiveCanvas {
  width: min(100%, calc(660px + 3cm));
  filter: var(--active-camera-filter, brightness(1));
  box-shadow: none;
}

.shoot-mode .shoot-controls {
  position: absolute;
  top: 50%;
  right: calc(100% + 18px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: fit-content;
  padding: 10px 14px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 20px 54px rgba(48, 39, 35, 0.16);
  transform: translateY(-50%);
}

.shoot-mode #previewCanvas {
  height: min(calc(100vh - 255px), 520px);
  max-width: min(100%, 320px);
  filter:
    drop-shadow(0 0 0.38px rgba(37, 27, 24, 0.7))
    drop-shadow(0.18mm 0.34mm 0.12mm rgba(255, 255, 255, 0.45))
    drop-shadow(0.52mm 0.82mm 0.32mm rgba(51, 36, 31, 0.28))
    drop-shadow(1.95mm 3.2mm 1.55mm rgba(51, 36, 31, 0.2))
    drop-shadow(4.2mm 6.4mm 4.4mm rgba(51, 36, 31, 0.14));
  box-shadow: none;
  transform: translateY(0.5cm);
}

.booth.shoot-mode[data-layout="polaroid"] #previewCanvas,
.booth.shoot-mode[data-layout="three"] #previewCanvas {
  height: min(calc((100vh - 255px) * 0.875), 455px);
  max-width: min(100%, 280px);
  transform: translate(0.5cm, 1.5cm);
}

.booth.shoot-mode[data-layout="two"] #previewCanvas {
  height: min(calc((100vh - 255px) * 0.875), 455px);
  max-width: min(100%, 280px);
}

.flying-capture {
  position: fixed;
  z-index: 18;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  contain: layout paint;
  border: 0;
  background: #eee4dc;
  box-shadow: none;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
  transition: none;
  transform: translateZ(0);
  will-change: left, top, width, height, border-radius, opacity;
}

.flying-capture-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: none;
  transform: translateZ(0);
}

.flying-design-overlay {
  position: fixed;
  z-index: 18;
  display: block;
  pointer-events: none;
  object-fit: fill;
  transition: none;
  transform: translateZ(0);
}

.capture-flash-overlay {
  position: fixed;
  z-index: 19;
  overflow: hidden;
  contain: layout paint;
  border-radius: 18px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 36%, rgba(255, 248, 235, 0.74) 66%, rgba(255, 255, 255, 0) 100%);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.74);
  mix-blend-mode: screen;
  animation: cameraShotFlash 360ms cubic-bezier(0.12, 0.82, 0.18, 1) both;
  will-change: opacity;
}

.flying-live-transition {
  position: fixed;
  z-index: 22;
  contain: layout paint;
  object-fit: fill;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  transition: none;
  transform: translateZ(0);
  will-change: left, top, width, height, border-radius;
}

@media (max-width: 980px) {
  .landing {
    background: transparent;
  }

  .home-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .camera-pop {
    left: calc(50% + min(26vw, 150px));
    top: calc(298px + 3.5cm);
  }

  .home-copy {
    justify-items: center;
    text-align: center;
  }

  .landing .primary-action {
    justify-self: center;
    left: 0;
    margin-left: 0;
  }

  .landing-text {
    max-width: 460px;
  }

  .home-visual {
    min-height: 590px;
    width: 100%;
    transform: translateY(16px);
  }

  .home-visual::before {
    inset: 10% 8% 8%;
    width: auto;
    height: auto;
    transform: none;
  }

  .layout-gallery {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 760px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .tools-panel {
    position: static;
    width: auto;
    margin-left: 0;
    max-height: none;
    overflow: visible;
  }

  .canvas-wrap {
    min-height: 0;
  }

  .border-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 540px;
    overflow-y: auto;
    padding: 2px 2px 8px calc(2px + var(--design-left-crop-extension));
  }

  .border-scroll img {
    height: 325px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    top: 10px;
    left: 50%;
    gap: 3px;
    width: max-content;
    max-width: calc(100vw - 18px);
    padding: 4px 10px;
    transform: translate(-50%, -0.3cm);
  }

  .site-nav button {
    min-height: 34px;
    padding: 5px 9px;
    font-size: 0.95rem;
    font-weight: 875;
  }

  .info-page {
    padding: 104px 18px 42px;
  }

  .contact-form .primary-action,
  .info-home-button {
    width: 100%;
  }

  .landing {
    align-items: start;
    padding: 96px 18px 42px;
  }

  h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.25rem);
  }

  .home-visual {
    min-height: 540px;
  }

  .home-visual::before {
    inset: 9% 0 7%;
  }

  .hero-template-image {
    width: min(393px, calc(97.9vw - 35.2px));
  }

  .booth {
    padding: 78px 14px 14px;
  }

  .picker-header,
  .booth-header {
    grid-template-columns: 1fr auto;
  }

  .picker-header div,
  .booth-header div {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-right: 92px;
    text-align: left;
  }

  .picker-header .ghost-button,
  .booth-header .ghost-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .picker-header {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
  }

  .picker-header div {
    grid-column: 2;
    padding-right: 0;
  }

  .picker-header .ghost-button {
    grid-column: 1;
    justify-self: start;
  }

  .booth-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .booth-header .ghost-button {
    grid-column: 1;
    justify-self: start;
  }

  .booth-header {
    top: 78px;
    left: 14px;
  }

  .layout-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .layout-card {
    --layout-preview-width: min(76vw, 282px);
    --layout-preview-height: min(108vw, 386px);
    --layout-preview-row: min(112vw, 398px);
    width: min(100%, 338px);
  }

  .layout-card[data-layout="polaroid"],
  .layout-card[data-layout="six"],
  .layout-card[data-layout="fourgrid"] {
    --layout-preview-width: min(76vw, 282px);
    --layout-preview-height: min(108vw, 386px);
  }

  .layout-card[data-layout="polaroid"] {
    --layout-preview-width: min(76vw, 282px);
    --layout-preview-height: min(108vw, 386px);
  }

  .layout-card[data-layout="four"],
  .layout-card[data-layout="three"],
  .layout-card[data-layout="two"] {
    --layout-preview-width: min(70vw, 260px);
    --layout-preview-height: min(116vw, 410px);
  }

  .canvas-wrap {
    min-height: 0;
  }

  #previewCanvas {
    width: auto;
    height: min(calc(100vh - 150px), 620px);
    max-width: min(100%, 360px);
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) #previewCanvas {
    height: min(calc((100vh - 150px) * 0.857143), 531.43px);
    max-width: min(100%, 308.57px);
    transform: translate(1cm, 1cm);
  }

  .layout-row button,
  .button-row button,
  .secondary-action {
    flex-basis: 100%;
  }

  .border-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shoot-mode #previewCanvas {
    height: min(calc(100vh - 230px), 500px);
  }

  #shootLiveCanvas {
    width: 100%;
  }

  .shoot-mode .preview-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(118px, 0.72fr);
    gap: 10px;
  }

  .shoot-mode .shoot-controls {
    padding: 8px 10px;
    right: calc(100% + 8px);
  }

  .shoot-mode #previewCanvas {
    width: auto;
    height: min(calc(100vh - 210px), 380px);
    max-width: 100%;
  }

  .booth.shoot-mode[data-layout="two"] #previewCanvas {
    height: min(calc((100vh - 210px) * 0.875), 332.5px);
    max-width: 87.5%;
  }
}

@media (min-width: 521px) and (max-width: 980px) {
  .studio-grid {
    grid-template-columns: minmax(0, 2fr) minmax(150px, 0.86fr);
  }

  .tools-panel {
    position: sticky;
    width: auto;
    margin-left: 0;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
  }

  .border-scroll {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: calc(100vh - 252px);
    overflow-y: auto;
    padding: 2px 2px 8px calc(2px + var(--design-left-crop-extension));
  }

  .border-scroll img {
    height: 299px;
  }
}

@media (max-width: 520px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .tools-panel {
    position: static;
    width: auto;
    margin-left: 0;
    max-height: none;
    overflow: visible;
  }
}

@media (min-width: 521px) {
  .booth.studio-visible:not(.shoot-mode) .preview-panel {
    transform: translateY(44px);
  }

  .booth.studio-visible:not(.shoot-mode) #previewCanvas {
    height: min(calc((100vh - 130px) * 0.88 - 1cm), calc(607px - 1cm));
    max-width: min(100%, 370px);
    transform: translateX(calc(-40px - 1cm));
  }

  .booth[data-layout="four"].studio-visible:not(.shoot-mode) #previewCanvas {
    transform: translate(calc(-40px - 1cm), -0.6cm);
  }

  .booth[data-layout="three"].studio-visible:not(.shoot-mode) #previewCanvas {
    transform: translate(calc(-40px - 1cm), -0.5cm);
  }

  .booth.studio-visible:not(.shoot-mode) .confirm-preview-slot {
    max-width: min(100%, 370px);
    transform: translateX(calc(-40px - 1cm));
  }

  .booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) #previewCanvas {
    transform: translate(calc(-40px - 1cm), 0.8cm) scale(0.857143);
    transform-origin: top center;
  }

  .booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) .confirm-preview-slot {
    transform: translate(calc(-40px - 1cm), -0.7cm);
  }

  .booth[data-layout="polaroid"].studio-visible:not(.shoot-mode) #previewCanvas {
    height: min(calc((100vh - 130px) * 0.733333 - 0.833cm), calc(505.83px - 0.833cm));
    margin-top: 1cm;
    max-width: min(100%, 308px);
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) #previewCanvas {
    height: min(calc((100vh - 130px) * 0.754286 - 0.857cm), calc(520.29px - 0.857cm));
    max-width: min(100%, 317px);
    transform: translate(calc(-40px - 0.3cm), 1cm);
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .confirm-preview-slot {
    max-width: min(100%, 317px);
    transform: translate(calc(-40px - 0.3cm), 0.4cm);
  }

  .booth.studio-visible:not(.shoot-mode) .tools-panel {
    width: 125%;
    margin-left: 0;
    transform: translate(-120px, 0);
    transform-origin: top left;
    overflow: visible;
  }

  .booth.studio-visible:not(.shoot-mode) .design-frame {
    width: calc(100% + 3cm);
    margin-left: -3cm;
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll img {
    height: clamp(346px, 42vh, 474px);
  }

  .booth.studio-visible:not(.shoot-mode) .design-title {
    transform: none;
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll {
    max-height: calc(100vh - 159.3px);
    padding-top: calc(56px - 1cm);
    scroll-padding-top: calc(56px - 1cm);
    overflow-x: visible;
    column-gap: 0.15cm;
    row-gap: 0.7cm;
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-polaroid"] {
    column-gap: 0;
    row-gap: 20px;
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] {
    column-gap: 0.075cm;
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] {
    transform: translate(calc(0.6cm - var(--design-left-crop-extension)), -1cm);
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] button:nth-child(n + 4):nth-child(-n + 6) {
    --design-row-shift: -2cm;
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] button:nth-child(n + 7):nth-child(-n + 9) {
    --design-row-shift: -4cm;
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] button:nth-child(n + 10) {
    --design-row-shift: -6cm;
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-two"] button:nth-child(n + 13) {
    --design-row-shift: -8cm;
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-polaroid"] img {
    height: clamp(237px, 28.8vh, 325px);
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-three"] img {
    height: clamp(297px, 36vh, 406px);
  }
}

@media (min-width: 521px) and (max-width: 980px) {
  .booth.studio-visible:not(.shoot-mode) #previewCanvas {
    height: min(calc((100vh - 150px) * 0.88), 546px);
    max-width: min(100%, 317px);
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll img {
    height: 374px;
  }

  .booth.studio-visible:not(.shoot-mode) .border-scroll[data-mode="custom-three"] img {
    height: 321px;
  }
}

@media (max-width: 700px) {
  .site-mark {
    left: clamp(18px, 5vw, 36px);
    animation: none;
  }

  .hero-template-image {
    animation: heroImageDrift 1.65s ease-in-out infinite alternate;
  }

  .layout-smile-note {
    right: clamp(6px, 3vw, 18px);
  }

  .booth.studio-visible:not(.shoot-mode) #previewCanvas,
  .booth[data-layout="two"].studio-visible:not(.shoot-mode) #previewCanvas {
    max-width: min(100%, 340px);
    transform: none;
  }

  .booth.studio-visible:not(.shoot-mode) .confirm-preview-slot,
  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .confirm-preview-slot {
    max-width: min(100%, 340px);
    transform: none;
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) .confirm-preview-slot {
    transform: translate(-0.3cm, 0.4cm);
  }

  .booth[data-layout="two"].studio-visible:not(.shoot-mode) #previewCanvas {
    transform: translateX(-0.3cm);
  }

  .booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) #previewCanvas {
    transform: translateY(0.8cm) scale(0.857143);
    transform-origin: top center;
  }

  .booth[data-layout="fourgrid"].studio-visible:not(.shoot-mode) .confirm-preview-slot {
    transform: translateY(-0.7cm);
  }

  .booth.studio-visible:not(.shoot-mode) .preview-pushpin {
    --preview-pin-size: clamp(52px, 18vw, 72px);
    left: clamp(6px, var(--preview-pin-left, 6px), calc(100% - var(--preview-pin-size) - 6px));
  }
}

.shoot-mode .studio-grid {
  --shoot-camera-growth: 0.3cm;
  --shoot-camera-frame-spread: -0.5cm;
  --shoot-camera-shift-x: -0.7cm;
  width: 100%;
  max-width: min(calc(1180px + var(--shoot-camera-growth)), 100%);
}

.shoot-mode .preview-panel {
  width: 100%;
  max-width: min(calc(1180px + var(--shoot-camera-growth)), 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(118px, clamp(118px, 16vw, 220px));
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
}

.shoot-mode .shoot-live-wrap {
  --shoot-control-gap: clamp(10px, 1.4vw, 16px);
  --shoot-control-rail: clamp(160px, 13vw, 180px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--shoot-control-gap);
  box-sizing: border-box;
  width: min(100%, calc(var(--shoot-control-rail) + var(--shoot-control-gap) + clamp(320px, 60vw, 760px) + var(--shoot-camera-growth)));
  padding-left: calc(var(--shoot-control-rail) + var(--shoot-control-gap));
  justify-self: end;
  transform: none;
}

.shoot-mode .shoot-live-wrap::before,
.shoot-mode .shoot-live-wrap::after,
.shoot-mode .countdown-overlay {
  left: 0;
}

.shoot-mode .countdown-overlay {
  transform: translateX(var(--shoot-camera-shift-x));
}

.shoot-mode #shootLiveCanvas {
  order: 1;
  width: calc(100% + var(--shoot-camera-frame-spread));
  max-width: none;
  margin-left: calc((var(--shoot-camera-frame-spread) / -2) + var(--shoot-camera-shift-x));
}

.booth.live-transitioning #shootLiveCanvas {
  opacity: 0;
}

.shoot-mode .shoot-controls {
  position: absolute;
  order: 0;
  z-index: 5;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 0;
  flex-flow: column nowrap;
  gap: calc(14px + 0.4cm);
  width: var(--shoot-control-rail);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.shoot-mode .shoot-controls .primary-action,
.shoot-mode .shoot-controls .secondary-action {
  flex: 0 1 auto;
  min-width: min(160px, 100%);
  min-height: clamp(42px, 6vh, 52px);
  margin-top: 0;
  padding: 10px 16px;
  font-size: clamp(0.94rem, 1.75vw, 1.1rem);
  font-weight: 750;
}

.shoot-mode .shoot-controls #startShootButton.camera-shoot-button {
  flex: 0 0 auto;
  width: clamp(77px, 7.04vw, 100px);
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.shoot-mode #startShootButton {
  left: -1cm;
}

.shoot-mode #retakeButton,
.shoot-mode #doneButton {
  left: -1cm;
  min-width: calc(160px - 0.5cm);
  font-size: clamp(1.253rem, 2.333vw, 1.467rem);
}

.shoot-mode #retakeButton {
  border: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 250, 247, 0.14) 42%, rgba(126, 96, 79, 0.11)),
    linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(239, 207, 196, 0.72));
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -13px 18px rgba(126, 96, 79, 0.09),
    0 15px 28px rgba(92, 63, 48, 0.15);
  outline: 0;
}

.shoot-mode #retakeButton:hover:not(:disabled),
.shoot-mode #retakeButton:focus-visible {
  border: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 247, 0.18) 42%, rgba(126, 96, 79, 0.13)),
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(234, 198, 187, 0.78));
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.96),
    inset 0 -14px 20px rgba(126, 96, 79, 0.11),
    0 19px 36px rgba(92, 63, 48, 0.18);
  outline: 0;
}

.shoot-mode #doneButton {
  border: 0;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 250, 247, 0.032), rgba(0, 0, 0, 0.055)),
    #795748;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.42),
    inset -1px -1px 2px rgba(58, 39, 30, 0.12),
    inset 0 -12px 18px rgba(58, 39, 30, 0.18),
    0 16px 30px rgba(92, 63, 48, 0.16);
  outline: 0;
  text-shadow: none;
  -webkit-text-fill-color: var(--cream);
}

.shoot-mode #doneButton:hover:not(:disabled),
.shoot-mode #doneButton:focus-visible {
  border: 0;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 250, 247, 0.04), rgba(0, 0, 0, 0.08)),
    #6e4d40;
  box-shadow:
    inset 1px 1px 1px rgba(255, 255, 255, 0.46),
    inset -1px -1px 2px rgba(58, 39, 30, 0.14),
    inset 0 -13px 20px rgba(58, 39, 30, 0.2),
    0 20px 38px rgba(92, 63, 48, 0.18);
  outline: 0;
  text-shadow: none;
  -webkit-text-fill-color: var(--cream);
}

.shoot-mode .canvas-wrap,
.booth.shoot-mode[data-layout="two"] .canvas-wrap {
  --selected-design-offset: clamp(0.5cm, 2.4vw, 2.5cm);
  --selected-design-label-shift-x: 0px;
  width: auto;
  justify-self: start;
  place-items: start center;
  padding-bottom: 1.2cm;
  transform: translateX(var(--selected-design-offset));
}

.booth.shoot-mode[data-layout="polaroid"] .canvas-wrap,
.booth.shoot-mode[data-layout="three"] .canvas-wrap {
  --selected-design-offset: calc(clamp(0.5cm, 2.4vw, 2.5cm) - 0.8cm);
  --selected-design-label-shift-x: 0.5cm;
}

.booth.shoot-mode[data-layout="polaroid"] .canvas-wrap {
  --selected-design-offset: calc(clamp(0.5cm, 2.4vw, 2.5cm) - 0.4cm);
}

.booth.shoot-mode[data-layout="three"] .canvas-wrap {
  --selected-design-offset: calc(clamp(0.5cm, 2.4vw, 2.5cm) - 0.2cm);
}

.booth.shoot-mode[data-layout="two"] .canvas-wrap {
  transform: translate(var(--selected-design-offset), 1cm);
}

.booth.shoot-mode[data-layout="four"] .canvas-wrap {
  transform: translate(calc(var(--selected-design-offset) + 0.6cm), 0.6cm);
}

.booth.shoot-mode[data-layout="fourgrid"] .canvas-wrap {
  transform: translate(var(--selected-design-offset), 0.5cm);
}

.shoot-mode .canvas-wrap::before {
  top: 0;
  width: auto;
  max-width: none;
  white-space: nowrap;
  transform: translate(-50%, -100%);
}

.shoot-mode .canvas-wrap::after {
  top: 0.5cm;
  width: auto;
  max-width: none;
  white-space: nowrap;
  transform: translateX(-50%);
}

.booth.shoot-mode[data-layout="fourgrid"] .canvas-wrap::before {
  top: 0.4cm;
}

.booth.shoot-mode[data-layout="fourgrid"] .canvas-wrap::after {
  top: 0.9cm;
}

.shoot-mode #previewCanvas {
  width: auto;
  height: min(calc(100vh - 255px), 520px);
  max-width: min(100%, 320px);
  transform: translateY(0.5cm);
}

.booth.shoot-mode.has-captured-photos #previewCanvas {
  pointer-events: none;
  transition: scale 95ms cubic-bezier(0.18, 0.9, 0.24, 1);
  will-change: scale;
}

.booth.shoot-mode.has-captured-photos .preview-scale-wrap {
  cursor: zoom-in;
}

.booth.shoot-mode.has-captured-photos .preview-scale-wrap:hover #previewCanvas,
.booth.shoot-mode.has-captured-photos .preview-scale-wrap:focus-within #previewCanvas {
  --preview-hover-scale: 1.13;
}

.booth.shoot-mode[data-layout="polaroid"] #previewCanvas,
.booth.shoot-mode[data-layout="three"] #previewCanvas {
  height: min(calc((100vh - 255px) * 0.875), 455px);
  max-width: min(100%, 280px);
  transform: translate(0.5cm, 1.5cm);
}

.booth.shoot-mode[data-layout="two"] #previewCanvas {
  height: min(calc((100vh - 255px) * 0.875), 455px);
  max-width: min(100%, 280px);
}

.booth.shoot-mode[data-layout="six"] #previewCanvas,
.booth.shoot-mode[data-layout="fourgrid"] #previewCanvas {
  transform: translateY(-1cm) scale(1.25);
  transform-origin: top center;
}

.shoot-mode .filter-panel {
  grid-column: 1;
  width: min(100%, calc(clamp(300px, 60vw, 760px) + var(--shoot-camera-growth)));
  justify-self: end;
  margin-top: 0.2cm;
  transform: translateY(0);
}

.shoot-mode .filter-panel::before {
  content: "Choose Your Filter";
  display: block;
  margin: -0.5cm 0 6px;
  color: rgba(202, 91, 122, 1);
  font-size: 1.182rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.shoot-mode .filter-panel-inner {
  margin-top: 0.3cm;
  padding-inline: 0;
  min-width: 0;
}

.shoot-mode .filter-scroll {
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-x;
  padding-inline: 4px;
}

.shoot-mode .filter-option {
  flex: 0 0 auto;
  min-width: clamp(88px, 14vw, 116px);
  padding: 9px 12px;
}

.shoot-mode .filter-label {
  font-size: 1.15rem;
  overflow-wrap: normal;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .shoot-mode #shootLiveCanvas {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .shoot-mode .countdown-overlay {
    transform: none;
  }

  .shoot-mode .canvas-wrap,
  .booth.shoot-mode[data-layout="two"] .canvas-wrap {
    --selected-design-label-shift-x: 0px;
    width: min(100%, clamp(132px, 22vw, 320px));
    padding-bottom: 0;
    transform: none;
  }

  .booth.shoot-mode[data-layout="polaroid"] .canvas-wrap,
  .booth.shoot-mode[data-layout="three"] .canvas-wrap {
    --selected-design-label-shift-x: 0px;
  }

  .shoot-mode .canvas-wrap::before {
    width: max-content;
    max-width: min(220px, 100%);
    white-space: normal;
    transform: translate(-50%, -110%);
  }

  .shoot-mode .canvas-wrap::after {
    width: max-content;
    max-width: min(220px, 100%);
    white-space: nowrap;
    transform: translateX(-50%);
  }

  .shoot-mode #previewCanvas,
  .booth.shoot-mode[data-layout="polaroid"] #previewCanvas,
  .booth.shoot-mode[data-layout="three"] #previewCanvas,
  .booth.shoot-mode[data-layout="two"] #previewCanvas {
    height: min(calc(100vh - clamp(220px, 29vh, 270px)), clamp(300px, 52vh, 520px));
    max-width: 100%;
    transform: none;
  }

  .booth.shoot-mode[data-layout="six"] #previewCanvas,
  .booth.shoot-mode[data-layout="fourgrid"] #previewCanvas {
    transform: translateY(-1.5cm) scale(1.25);
    transform-origin: top center;
  }

  .shoot-mode .shoot-controls {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    flex-flow: row wrap;
    gap: calc(8px + 0.4cm);
    width: 100%;
    margin: 10px auto 0;
    transform: none;
  }

  .shoot-mode .shoot-controls .primary-action,
  .shoot-mode .shoot-controls .secondary-action {
    flex: 1 1 130px;
    min-width: 0;
  }

  .shoot-mode .shoot-controls #startShootButton.camera-shoot-button {
    left: auto;
    flex: 0 0 clamp(66px, 14.08vw, 85px);
    width: clamp(66px, 14.08vw, 85px);
    padding: 0;
  }
}

@media (max-width: 640px) {
  .shoot-mode .preview-panel {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 34vw);
    gap: clamp(8px, 2.8vw, 12px);
  }

  .shoot-mode .shoot-live-wrap {
    grid-template-columns: 1fr;
    width: 100%;
    padding-left: 0;
  }

  .shoot-mode #shootLiveCanvas {
    order: 1;
  }

  .shoot-mode .shoot-controls {
    order: 2;
  }

  .shoot-mode .shoot-live-wrap::before,
  .shoot-mode .shoot-live-wrap::after,
  .shoot-mode .countdown-overlay {
    left: 0;
  }

  .shoot-mode .canvas-wrap,
  .booth.shoot-mode[data-layout="two"] .canvas-wrap {
    width: min(100%, 34vw);
  }

  .shoot-mode #previewCanvas,
  .booth.shoot-mode[data-layout="polaroid"] #previewCanvas,
  .booth.shoot-mode[data-layout="three"] #previewCanvas,
  .booth.shoot-mode[data-layout="two"] #previewCanvas {
    height: min(calc(100vh - 230px), 300px);
  }

  .shoot-mode .shoot-controls {
    gap: calc(8px + 0.4cm);
    width: 100%;
    margin: 10px auto 0;
    flex-flow: row wrap;
  }

  .shoot-mode .shoot-controls .primary-action,
  .shoot-mode .shoot-controls .secondary-action {
    flex: 1 1 130px;
    min-width: 0;
    padding-inline: 10px;
    font-size: clamp(0.78rem, 3vw, 0.95rem);
  }

  .shoot-mode .shoot-controls #startShootButton.camera-shoot-button {
    flex: 0 0 clamp(56px, 16.64vw, 75px);
    width: clamp(56px, 16.64vw, 75px);
    padding: 0;
    font-size: 0;
  }

  .shoot-mode #retakeButton,
  .shoot-mode #doneButton {
    font-size: clamp(1.04rem, 4vw, 1.267rem);
  }

  .shoot-mode .filter-panel {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    transform: translateY(0);
  }

  .shoot-mode .filter-option {
    flex: 0 0 auto;
    min-width: clamp(96px, 32vw, 124px);
    max-width: none;
  }
}

@media (min-width: 981px) {
  .site-nav {
    top: 24px;
    max-width: 880px;
  }

  .site-nav button {
    font-size: 1.16rem;
  }

  .landing {
    padding: 64px;
  }

  .welcome-page {
    padding: 115px 77px 77px;
  }

  .welcome-back-button {
    top: 102px;
    left: 51px;
  }

  .welcome-card {
    min-height: calc(100vh - 154px);
    gap: 42px;
  }

  .welcome-card h2 {
    font-size: 5.28rem;
  }

  .welcome-copy {
    gap: 34px;
  }

  .welcome-copy p {
    font-size: 1.68rem;
  }

  .site-mark {
    top: calc(90px + 1.5cm);
    left: 36px;
    font-size: 1.78rem;
  }

  .home-inner {
    width: min(1080px, calc(100vw - 128px));
    gap: 51px;
  }

  .home-copy {
    row-gap: 34px;
    transform: translateY(51px);
  }

  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 2.88rem;
  }

  .landing-text {
    font-size: 1.08rem;
  }

  .camera-pop {
    font-size: 2.69rem;
  }

  .hero-template-image {
    width: 435px;
  }

  .layout-smile-note {
    top: 18px;
    right: -154px;
    font-size: 1.8rem;
  }

  .layout-smile-note img {
    width: 94px;
  }

  .landing .primary-action {
    left: 72px;
    min-width: 460px;
    font-size: 1.86rem;
  }

  .layout-picker {
    padding: 115px 51px 51px;
  }

  .picker-header h2,
  .booth-header h2 {
    font-size: 2.24rem;
  }

  .layout-card {
    --layout-preview-width: 286px;
    --layout-preview-height: 410px;
    --layout-preview-row: 424px;
  }

  .booth {
    padding: 115px 44px 44px;
  }

  .studio-grid {
    gap: 26px;
  }

  .shoot-mode .preview-panel {
    grid-template-columns: minmax(0, 1fr) 205px;
    gap: 20px;
  }

  .shoot-mode .shoot-live-wrap {
    --shoot-control-gap: 16px;
    --shoot-control-rail: 166px;
    width: min(100%, calc(var(--shoot-control-rail) + var(--shoot-control-gap) + 760px + var(--shoot-camera-growth)));
  }

  .shoot-mode .filter-panel {
    width: calc(760px + var(--shoot-camera-growth));
  }

  .shoot-mode .canvas-wrap,
  .booth.shoot-mode[data-layout="two"] .canvas-wrap {
    --selected-design-offset: 31px;
  }

  .booth.shoot-mode[data-layout="polaroid"] .canvas-wrap,
  .booth.shoot-mode[data-layout="three"] .canvas-wrap {
    --selected-design-offset: calc(31px - 0.8cm);
  }

  .booth.shoot-mode[data-layout="polaroid"] .canvas-wrap {
    --selected-design-offset: calc(31px - 0.4cm);
  }

  .booth.shoot-mode[data-layout="three"] .canvas-wrap {
    --selected-design-offset: calc(31px - 0.2cm);
  }
}

.booth[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"].studio-visible:not(.shoot-mode) .preview-scale-wrap,
.booth.studio-visible:not(.shoot-mode) .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap {
  transform: translateX(0.8cm) scale(1.5124);
  transform-origin: center center;
}

.booth.shoot-mode[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode .preview-scale-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] {
  transform: scale(1.2);
  transform-origin: center center;
}

.booth.shoot-mode[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] #previewCanvas,
.booth.shoot-mode .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] #previewCanvas {
  transform: translate(0.5cm, 1.5cm) scale(1.44);
  transform-origin: center center;
}

.booth.shoot-mode:not(.has-captured-photos)[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode:not(.has-captured-photos) .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode:not(.has-captured-photos) .preview-scale-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] {
  pointer-events: none;
}

.booth.shoot-mode:not(.has-captured-photos)[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] #previewCanvas,
.booth.shoot-mode:not(.has-captured-photos) .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] #previewCanvas,
.booth.shoot-mode:not(.has-captured-photos)[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap:hover #previewCanvas,
.booth.shoot-mode:not(.has-captured-photos) .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap:hover #previewCanvas {
  --preview-hover-scale: 1;
  pointer-events: none;
  scale: 1 !important;
  transition: none !important;
  will-change: auto;
}

.booth.shoot-mode.has-captured-photos[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode.has-captured-photos .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode.has-captured-photos .preview-scale-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] {
  pointer-events: auto;
  transform: translateZ(0) scale(1.2);
  transition: transform 95ms cubic-bezier(0.18, 0.9, 0.24, 1);
  will-change: transform;
}

.booth.shoot-mode.has-captured-photos.design18-card-hovered[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap,
.booth.shoot-mode.has-captured-photos.design18-card-hovered .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap {
  transform: translateZ(0) scale(1.356);
}

.booth.shoot-mode.has-captured-photos[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] #previewCanvas,
.booth.shoot-mode.has-captured-photos .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] #previewCanvas,
.booth.shoot-mode.has-captured-photos[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap:hover #previewCanvas,
.booth.shoot-mode.has-captured-photos .canvas-wrap[data-layout="polaroid"][data-layout2-design="layout1-instagram-flower"] .preview-scale-wrap:hover #previewCanvas {
  --preview-hover-scale: 1;
  scale: 1 !important;
  transition: none !important;
  will-change: auto;
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  strong,
  em,
  label,
  a,
  button,
  input,
  textarea,
  select,
  li,
  small,
  .eyebrow,
  .design-title,
  .camera-shoot-label,
  .filter-label,
  .form-status,
  .layout-card strong,
  .layout-card span,
  .finish-card p,
  .processing-card p,
  .permission-card *,
  .policy-list *,
  .contact-options *,
  .contact-form *
) {
  color: rgba(92, 65, 52, 0.96) !important;
  -webkit-text-fill-color: currentColor !important;
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(input, textarea, select)::placeholder {
  color: rgba(92, 65, 52, 0.72) !important;
  -webkit-text-fill-color: currentColor !important;
}

.app-shell .booth .canvas-wrap::before {
  color: rgba(92, 65, 52, 0.96) !important;
}

.app-shell :is(.welcome-page, .layout-picker, .booth, .info-page) :is(
  .primary-action,
  .download-button,
  .ghost-button,
  .secondary-action,
  .layout-row button,
  .button-row button,
  .confirm-button,
  .filter-option,
  .finish-icon-button,
  .finish-again-button
):not(.back-button):not(#startShootButton) {
  border-color: rgba(92, 65, 52, 0.96) !important;
}

.shoot-mode #doneButton,
.shoot-mode #doneButton:hover:not(:disabled),
.shoot-mode #doneButton:focus-visible {
  color: var(--cream) !important;
  -webkit-text-fill-color: var(--cream) !important;
}

.countdown-overlay span,
#countdownNumber {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.app-shell .welcome-page #welcomeContinueButton {
  border-width: 2.8px;
  border-color: rgba(92, 58, 48, 0.76) !important;
  color: #5f3d34 !important;
  -webkit-text-fill-color: #5f3d34 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(145deg, rgba(255, 238, 233, 0.74), rgba(239, 199, 190, 0.42)) !important;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.7),
    inset 0 -6px 0 rgba(126, 78, 66, 0.17),
    0 6px 0 rgba(91, 56, 47, 0.54),
    0 18px 30px rgba(82, 60, 48, 0.2),
    0 0 0 7px rgba(255, 255, 255, 0.1) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(92, 58, 48, 0.14);
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 260ms ease,
    box-shadow 160ms ease,
    color 260ms ease;
}

.app-shell .welcome-page #welcomeContinueButton:hover:not(:disabled),
.app-shell .welcome-page #welcomeContinueButton:focus-visible {
  border-color: rgba(92, 56, 47, 0.88) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.13) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #ce9b91 0%, #bd897f 58%, #a9756b 100%) !important;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.5),
    inset 0 -7px 0 rgba(88, 50, 43, 0.2),
    0 8px 0 rgba(82, 50, 42, 0.56),
    0 25px 38px rgba(82, 60, 48, 0.28),
    0 0 0 8px rgba(255, 255, 255, 0.12) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 6px rgba(59, 33, 28, 0.34);
  transform: translateY(-5px) scale(1.025);
}

.app-shell .welcome-page #welcomeContinueButton:active:not(:disabled),
.app-shell .welcome-page #welcomeContinueButton.is-pressing:not(:disabled) {
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #ad7a70 0%, #98645b 58%, #81534b 100%) !important;
  box-shadow:
    inset 0 7px 12px rgba(61, 35, 30, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22),
    0 1px 0 rgba(75, 45, 38, 0.48),
    0 6px 12px rgba(82, 60, 48, 0.14) !important;
  transform: translateY(6px) scale(0.992);
}

.app-shell .booth.shoot-mode .filter-option {
  border-color: rgba(92, 65, 52, 0.72) !important;
  color: rgba(92, 65, 52, 0.94) !important;
  -webkit-text-fill-color: rgba(92, 65, 52, 0.94) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.16) 46%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(145deg, rgba(255, 244, 240, 0.72), rgba(238, 205, 198, 0.44)) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -3px 0 rgba(126, 86, 73, 0.16),
    0 3px 0 rgba(92, 65, 52, 0.44),
    0 9px 14px rgba(92, 65, 52, 0.14) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 260ms ease,
    box-shadow 160ms ease,
    color 260ms ease;
}

.app-shell .booth.shoot-mode .filter-option .filter-label {
  color: rgba(92, 65, 52, 0.94) !important;
  -webkit-text-fill-color: rgba(92, 65, 52, 0.94) !important;
}

.app-shell .booth.shoot-mode .filter-option:hover:not(:disabled),
.app-shell .booth.shoot-mode .filter-option:focus-visible {
  border-color: rgba(92, 54, 48, 0.88) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.1) 44%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(145deg, #c7968c 0%, #b17d73 58%, #9c695f 100%) !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.36),
    inset 0 -4px 0 rgba(94, 56, 49, 0.2),
    0 5px 0 rgba(84, 52, 45, 0.5),
    0 13px 18px rgba(92, 65, 52, 0.2) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 1px 3px rgba(59, 33, 28, 0.34);
  transform: translateY(-2px) scale(1.02);
}

.app-shell .booth.shoot-mode .filter-option:hover:not(:disabled) .filter-label,
.app-shell .booth.shoot-mode .filter-option:focus-visible .filter-label {
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
}

.app-shell .booth.shoot-mode .filter-option[aria-pressed="true"] {
  border-color: rgba(86, 50, 44, 0.9) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 44%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(145deg, #bd8c82 0%, #a9766c 58%, #926258 100%) !important;
  box-shadow:
    0 0 0 2px rgba(255, 237, 231, 0.44),
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    inset 0 -4px 0 rgba(94, 56, 49, 0.22),
    0 4px 0 rgba(84, 52, 45, 0.5),
    0 12px 18px rgba(92, 65, 52, 0.18) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16),
    0 1px 3px rgba(59, 33, 28, 0.34);
  transform: translateY(-1px) scale(1.025);
}

.app-shell .booth.shoot-mode .filter-option[aria-pressed="true"] .filter-label {
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
}

.app-shell .booth.shoot-mode .filter-option[aria-pressed="true"]:hover:not(:disabled),
.app-shell .booth.shoot-mode .filter-option[aria-pressed="true"]:focus-visible {
  border-color: rgba(74, 42, 36, 0.96) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.1) 44%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(145deg, #b9857b 0%, #9f6b61 58%, #895a51 100%) !important;
}

.app-shell .booth.shoot-mode .filter-option[aria-pressed="true"]:hover:not(:disabled) .filter-label,
.app-shell .booth.shoot-mode .filter-option[aria-pressed="true"]:focus-visible .filter-label {
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
}

.app-shell .booth.shoot-mode .filter-option:active:not(:disabled) {
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.07) 44%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(145deg, #a06d63 0%, #87584f 58%, #744b43 100%) !important;
  box-shadow:
    inset 0 3px 6px rgba(92, 65, 52, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.42),
    0 1px 0 rgba(92, 65, 52, 0.42),
    0 5px 10px rgba(92, 65, 52, 0.12) !important;
  transform: translateY(1px) scale(1);
}

.app-shell .booth.shoot-mode .filter-option:active:not(:disabled) .filter-label {
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
}

.app-shell .booth .confirm-button {
  border-color: rgba(118, 76, 65, 0.72) !important;
  color: #6f493f !important;
  -webkit-text-fill-color: #6f493f !important;
}

.app-shell .booth .confirm-button::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 4px 10px auto;
  height: 38%;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(120% 95% at 16% 0%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.25) 45%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0));
  opacity: 0.82;
  pointer-events: none;
}

.app-shell .booth .confirm-button::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: auto 20px 5px;
  height: 4px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(113, 72, 62, 0.2);
  filter: blur(1px);
  pointer-events: none;
}

.app-shell .booth .confirm-button:hover:not(:disabled),
.app-shell .booth .confirm-button:focus-visible {
  border-color: rgba(96, 58, 50, 0.82) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
}

.app-shell .booth .confirm-button:active:not(:disabled),
.app-shell .booth .confirm-button.is-pressing:not(:disabled) {
  border-color: rgba(96, 58, 50, 0.82) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
}

.app-shell .booth .finish-icon-button {
  border-color: rgba(86, 62, 50, 0.48) !important;
  color: #5f3d34 !important;
  -webkit-text-fill-color: #5f3d34 !important;
}

.app-shell .booth .finish-icon-button:hover:not(:disabled),
.app-shell .booth .finish-icon-button:focus-visible {
  border-color: rgba(86, 62, 50, 0.48) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #c08d83 0%, #a9756b 58%, #8f5e55 100%) !important;
}

.app-shell .booth .finish-icon-button:active:not(:disabled) {
  border-color: rgba(86, 62, 50, 0.48) !important;
  color: #fff8f5 !important;
  -webkit-text-fill-color: #fff8f5 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(145deg, #a06d63 0%, #87584f 58%, #744b43 100%) !important;
}

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

  .confetti-layer {
    display: none !important;
  }
}
