/* Layout corrections and motion layer. Kept separate from the compact base sheet. */
.hero,
.template-callout,
.feature-strip {
  width: 100%;
}

.hero-copy {
  min-width: 0;
}

.viewfinder {
  width: min(100%, 560px);
  justify-self: center;
}


/* Motion is enabled only after JS is ready, so content never stays hidden. */
.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.motion-ready .reveal-delay-1 {
  transition-delay: 0.08s;
}
.motion-ready .reveal-delay-2 {
  transition-delay: 0.16s;
}

.viewfinder {
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
  transform: perspective(1100px) rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg));
}
.viewfinder.is-tilting {
  transition: box-shadow 0.45s ease;
}
.viewfinder:hover {
  box-shadow: 0 42px 100px rgba(30, 41, 33, 0.3);
}
.vf-focus {
  animation: focus-breathe 2.8s ease-in-out infinite;
}
.watermark-demo {
  animation: watermark-arrive 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.primary,
.nav-cta {
  transition:
    transform 0.12s ease-out,
    opacity 0.12s ease-out,
    box-shadow 0.2s ease;
}
.primary:active,
.nav-cta:active {
  transform: scale(0.965);
  opacity: 0.78;
}

dialog[open] {
  animation: dialog-materialize 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
dialog[open]::backdrop {
  animation: backdrop-arrive 0.22s ease-out both;
}

@keyframes focus-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes watermark-arrive {
  from {
    opacity: 0;
    transform: translate3d(-18px, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes dialog-materialize {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes backdrop-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 5vw;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .viewfinder {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .nav {
    height: 68px;
  }
  .nav-cta {
    padding: 10px 14px;
    font-size: 13px;
  }
  .brand {
    font-size: 15px;
  }
  .hero {
    min-height: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .viewfinder {
    transform: none !important;
  }
}

/* Apple-inspired visual system: calm hierarchy, optical type and tactile materials. */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.1);
  --paper: #f5f5f7;
  --card: rgba(255, 255, 255, 0.82);
  --lime: #b9f33d;
  --apple-blue: #0071e3;
  --apple-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: light;
}

html {
  background: #f5f5f7;
}
body {
  min-width: 320px;
  overflow-x: clip;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(
      circle at 78% 9%,
      rgba(185, 243, 61, 0.1),
      transparent 28rem
    ),
    linear-gradient(180deg, #fbfbfd 0, #f5f5f7 38rem);
}

::selection {
  color: #111;
  background: rgba(185, 243, 61, 0.65);
}

.nav {
  height: 64px;
  padding-inline: max(22px, calc((100vw - 1280px) / 2));
  border: 0;
  background: rgba(250, 250, 252, 0.72);
  box-shadow: inset 0 -1px rgba(29, 29, 31, 0.07);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.brand-icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.brand-lens {
  width: 29px;
  height: 29px;
  border: 0;
  background: radial-gradient(
    circle at 45% 40%,
    #8dffda 0 7%,
    #17392e 9% 25%,
    #0b0b0c 27% 42%,
    #fff 44% 50%,
    #1d1d1f 52%
  );
  box-shadow:
    0 0 0 1px rgba(29, 29, 31, 0.08),
    0 3px 9px rgba(29, 29, 31, 0.12);
}
.nav nav {
  gap: 8px;
}
.nav nav a {
  position: relative;
  padding: 22px 14px;
  color: #515154;
  font-size: 13px;
  font-weight: 500;
  border: 0;
  transition: color 0.18s ease;
}
.nav nav a:hover,
.nav nav a.active {
  color: #000;
  border: 0;
}
.nav nav a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.nav-menu-icon {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.nav nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: #1d1d1f;
}
.nav-cta,
.primary {
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition:
    transform 0.14s ease-out,
    filter 0.14s ease-out,
    box-shadow 0.22s ease;
}
.nav-cta {
  padding: 9px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: var(--apple-blue);
}
.nav-cta:hover {
  filter: brightness(1.08);
}
.nav-cta:active,
.primary:active {
  transform: scale(0.96);
}

.hero {
  min-height: min(820px, calc(100svh - 64px));
  max-width: 1440px;
  margin: auto;
  padding-top: clamp(64px, 8vw, 118px);
}
.hero-copy {
  max-width: 690px;
}
.eyebrow {
  margin-bottom: 14px;
  color: #66772a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.11em;
}
.hero h1 {
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(48px, 6.5vw, 96px);
}
.hero h1 em {
  color: transparent;
  background: linear-gradient(110deg, #59790a, #91c61c 55%, #53710b);
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  max-width: 620px;
  margin: 30px 0 32px;
  color: #6e6e73;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  letter-spacing: -0.012em;
}
.hero-actions {
  gap: 18px;
  font-size: 13px;
}
.primary {
  padding: 13px 22px;
  background: #1d1d1f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
.primary:hover {
  box-shadow: 0 11px 30px rgba(0, 0, 0, 0.18);
}
.mini-program-entry {
  min-height: 52px;
  padding: 5px 14px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d1d1f;
  text-align: left;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.045);
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    transform 0.14s ease-out,
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.mini-program-entry:hover {
  background: #fff;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.08);
}
.mini-program-entry:active {
  transform: scale(0.97);
}
.mini-program-entry img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}
.mini-program-entry span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mini-program-entry b {
  font-size: 13px;
  font-weight: 650;
}
.mini-program-entry small {
  color: #86868b;
  font-size: 11px;
}

.viewfinder {
  border-width: 8px;
  border-color: #18181a;
  border-radius: 46px;
  background: linear-gradient(145deg, #96aaa9, #3f514e);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.viewfinder::before {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.28),
    transparent 38%,
    rgba(0, 0, 0, 0.12)
  );
}
.vf-top {
  padding: 21px 24px;
  font-size: 12px;
  letter-spacing: 0.01em;
}
.vf-bottom {
  padding-bottom: 24px;
}
.vf-bottom button {
  width: 68px;
  height: 68px;
  border-width: 4px;
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.watermark-demo {
  border-left-width: 4px;
  border-radius: 0 10px 10px 0;
  backdrop-filter: blur(8px);
}
.watermark-demo b {
  font-size: 40px;
  letter-spacing: -0.035em;
}

.feature-strip {
  max-width: 1280px;
  margin-inline: auto;
  padding-bottom: 120px;
  gap: 18px;
  background: none;
}
.hero {
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: -72px;
  height: 144px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(245, 245, 247, 0.82) 58%,
    #f5f5f7
  );
}
.feature-strip {
  position: relative;
  z-index: 1;
  padding-top: clamp(28px, 4vw, 52px);
}
.feature-strip article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.045);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.feature-strip small {
  color: #85858a;
  font-size: 12px;
  font-weight: 600;
}
.feature-strip h2 {
  margin: 45px 0 10px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.feature-strip p {
  font-size: 15px;
  line-height: 1.65;
}

.template-callout {
  width: auto;
  max-width: 1320px;
  margin: 0 auto 92px;
  padding: clamp(52px, 6vw, 82px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 38px;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(185, 243, 61, 0.16),
      transparent 30%
    ),
    #1d1d1f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}
.template-callout h2 {
  font-weight: 650;
  letter-spacing: -0.045em;
}
.template-callout a {
  color: #b9f33d;
}

dialog {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(249, 249, 251, 0.88);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(9px);
}
.dialog-close {
  display: grid;
  place-items: center;
  color: #555;
  background: rgba(118, 118, 128, 0.12);
  cursor: pointer;
}
.mini-program-dialog {
  width: min(90vw, 390px);
  text-align: center;
}
.mini-program-dialog img {
  width: min(100%, 260px);
  display: block;
  margin: 0 auto 18px;
  border-radius: 24px;
}
.mini-program-dialog h2 {
  margin: 0 0 6px;
  font-size: 25px;
  letter-spacing: -0.03em;
}
.mini-program-dialog p {
  margin: 0;
  color: #86868b;
  font-size: 14px;
}
.help-dialog {
  width: min(calc(100vw - 32px), 480px);
  max-height: min(88svh, 760px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 32px;
  background: rgba(248, 248, 250, 0.94);
}
.help-dialog .dialog-close {
  z-index: 5;
  top: 16px;
  right: 16px;
  color: #fff;
  background: rgba(20, 20, 22, 0.46);
  backdrop-filter: blur(12px);
}
.help-dialog-hero {
  position: relative;
  padding: 34px 32px 28px;
  text-align: center;
  background:
    radial-gradient(
      circle at 16% 5%,
      rgba(111, 169, 255, 0.34),
      transparent 35%
    ),
    radial-gradient(
      circle at 86% 26%,
      rgba(185, 243, 61, 0.27),
      transparent 36%
    ),
    linear-gradient(160deg, #f7faff, #eef2f8 65%, #f7f8f5);
  box-shadow: inset 0 -1px rgba(29, 29, 31, 0.06);
}
.help-code-frame {
  width: 174px;
  height: 174px;
  margin: 0 auto 16px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 18px 44px rgba(47, 65, 86, 0.16),
    inset 0 0 0 1px rgba(29, 29, 31, 0.04);
  transform: translateZ(0);
}
.help-app-code {
  width: 100%;
  height: 100%;
  display: block;
  float: none;
  margin: 0;
  object-fit: cover;
  border-radius: 26px;
}
.help-app-badge {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 5px 12px 5px 5px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
}
.help-app-badge img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
.help-app-badge span {
  display: flex;
  flex-direction: column;
}
.help-app-badge b {
  font-size: 12px;
  font-weight: 650;
}
.help-app-badge small {
  color: #86868b;
  font-size: 10px;
}
.help-dialog-hero h2 {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.help-dialog-hero > p {
  max-width: 340px;
  margin: 0 auto;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.55;
}
.import-steps {
  margin: 0;
  padding: 22px 24px 12px;
  list-style: none;
}
.import-steps li {
  margin: 0;
  padding: 11px 4px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.07);
}
.import-steps li:last-child {
  border-bottom: 0;
}
.import-steps i {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  border-radius: 50%;
  background: #1d1d1f;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.14);
}
.import-steps span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.import-steps b {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 650;
}
.import-steps small {
  color: #86868b;
  font-size: 11px;
  line-height: 1.45;
}
.import-note {
  margin: 0;
  padding: 0 28px 24px;
  color: #86868b;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

:where(a, button, input):focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.45);
  outline-offset: 3px;
}

.site-footer {
  min-height: 112px;
  padding: 28px max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #86868b;
  font-size: 12px;
  line-height: 1.6;
  border-color: rgba(29, 29, 31, 0.08);
  background: rgba(245, 245, 247, 0.82);
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  transition: color 0.18s ease;
}
.site-footer a:hover {
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer p a {
  color: #515154;
  font-weight: 600;
}

@media (max-width: 1380px) {
  .template-callout {
    margin-inline: max(20px, 4vw);
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 88px;
  }
  .feature-strip {
    gap: 14px;
  }
  .template-callout {
    gap: 42px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 520px) {
  .nav {
    height: 60px;
    padding-inline: 16px;
  }
  .brand-lens {
    width: 27px;
    height: 27px;
  }
  .brand-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }
  .lead {
    margin-top: 24px;
    font-size: 17px;
  }
  .hero-actions {
    width: 100%;
  }
  .mini-program-entry {
    width: 100%;
    border-radius: 18px;
  }
  .viewfinder {
    border-width: 6px;
    border-radius: 34px;
  }
  .feature-strip {
    padding-inline: 16px;
  }
  .feature-strip article {
    min-height: 185px;
  }
  .template-callout {
    margin-inline: 16px;
    padding: 40px 24px;
    border-radius: 30px;
  }
  dialog {
    padding: 30px 22px;
  }
  .help-dialog {
    width: calc(100vw - 24px);
    padding: 0;
    border-radius: 27px;
  }
  .help-dialog-hero {
    padding: 30px 20px 24px;
  }
  .help-code-frame {
    width: 158px;
    height: 158px;
    border-radius: 30px;
  }
  .help-app-code {
    border-radius: 22px;
  }
  .import-steps {
    padding-inline: 18px;
  }
  .site-footer {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .nav,
  .feature-strip article,
  dialog,
  .site-footer {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .nav,
  .feature-strip article {
    border: 1px solid #4a4a4f;
  }
  .muted,
  .lead {
    color: #3a3a3c;
  }
}

/* iPhone camera hero — mirrors the mini program's real shooting hierarchy. */
.iphone-camera {
  width: min(100%, 394px);
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  max-height: none;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 58px;
  background: linear-gradient(145deg, #202124, #050506 42%, #2c2c2f);
  overflow: hidden;
  box-shadow:
    0 44px 90px rgba(20, 26, 23, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  contain: layout paint;
}
.iphone-camera::before {
  display: none;
}
.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  clip-path: inset(0 round 51px);
  border-radius: 51px;
  background: #1d2426;
  isolation: isolate;
  contain: paint;
}

.dynamic-scene,
.dynamic-scene > div {
  position: absolute;
  inset: 0;
}
.dynamic-scene {
  --camera-zoom: 1.035;
  --camera-flip: 1;
  --camera-brightness: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  clip-path: inset(0);
  background: #9cc7d8;
  contain: strict;
  cursor: crosshair;
  touch-action: manipulation;
}
.scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 50%;
  transform: scale(var(--camera-zoom));
  filter: brightness(var(--camera-brightness));
  will-change: transform, filter;
  animation: camera-breathe 13s cubic-bezier(0.37, 0, 0.2, 1) infinite alternate;
}
.scene-vignette {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(3, 8, 6, 0.18),
      transparent 20% 67%,
      rgba(1, 4, 3, 0.3)
    ),
    radial-gradient(
      circle at 50% 43%,
      transparent 48%,
      rgba(0, 0, 0, 0.14) 100%
    );
  pointer-events: none;
}
.scene-sun-glow {
  z-index: 2;
  inset: 11% auto auto 38%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 238, 0.62) 0 2%,
    rgba(255, 239, 168, 0.2) 16%,
    rgba(255, 230, 147, 0.08) 40%,
    transparent 70%
  );
  mix-blend-mode: screen;
  filter: blur(2px);
  pointer-events: none;
  animation: sun-shimmer 4.8s ease-in-out infinite alternate;
}
.scene-lens-flare {
  z-index: 2;
  pointer-events: none;
  animation: flare-drift 8s ease-in-out infinite alternate;
}
.scene-lens-flare i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(189, 235, 174, 0.14);
  mix-blend-mode: screen;
  filter: blur(1px);
}
.scene-lens-flare i:nth-child(1) {
  left: 57%;
  top: 31%;
  width: 18px;
  height: 18px;
}
.scene-lens-flare i:nth-child(2) {
  left: 64%;
  top: 39%;
  width: 10px;
  height: 10px;
  background: rgba(120, 199, 255, 0.18);
}
.scene-lens-flare i:nth-child(3) {
  left: 69%;
  top: 47%;
  width: 28px;
  height: 28px;
  background: rgba(255, 197, 131, 0.09);
}
.scene-leaf-shadow {
  z-index: 2;
  inset: -8% -10% auto auto;
  width: 55%;
  height: 34%;
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 20% 50%, #07180b 0 7%, transparent 8%),
    radial-gradient(ellipse at 52% 36%, #07180b 0 9%, transparent 10%),
    radial-gradient(ellipse at 78% 70%, #07180b 0 8%, transparent 9%);
  filter: blur(7px);
  transform-origin: top right;
  pointer-events: none;
  animation: leaf-sway 6.5s ease-in-out infinite alternate;
}
.scene-sky {
  background: linear-gradient(
    180deg,
    #739dbd 0%,
    #b9d8d8 35%,
    #f6d5aa 66%,
    #788b6e 100%
  );
}
.scene-sun {
  inset: 12% auto auto 12%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #fffbdc 0 10%,
    rgba(255, 232, 172, 0.88) 28%,
    rgba(255, 213, 136, 0.18) 64%,
    transparent 70%
  );
  filter: blur(0.2px);
  animation: sun-pulse 8s ease-in-out infinite alternate;
}
.scene-cloud {
  height: 13%;
  inset: 18% auto auto -15%;
  opacity: 0.44;
  filter: blur(8px);
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.96),
    transparent 68%
  );
}
.cloud-one {
  width: 68%;
  animation: cloud-drift 18s linear infinite;
}
.cloud-two {
  width: 52%;
  top: 27%;
  left: 48%;
  opacity: 0.25;
  animation: cloud-drift-soft 24s linear infinite;
}
.scene-mountain {
  clip-path: polygon(
    0 70%,
    17% 48%,
    33% 64%,
    51% 27%,
    70% 63%,
    85% 43%,
    100% 67%,
    100% 100%,
    0 100%
  );
}
.mountain-back {
  top: 25%;
  background: linear-gradient(180deg, rgba(85, 112, 105, 0.42), #526f68);
  transform: scale(1.08);
}
.mountain-front {
  top: 36%;
  background: linear-gradient(180deg, #536d60, #263f37);
  clip-path: polygon(
    0 69%,
    18% 42%,
    38% 67%,
    56% 39%,
    78% 68%,
    92% 52%,
    100% 61%,
    100% 100%,
    0 100%
  );
}
.scene-campus {
  inset: 47% 10% auto;
  height: 18%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #d6b88f, #a97e5f);
  box-shadow: 0 13px 28px rgba(17, 28, 23, 0.25);
  animation: scene-breathe 10s ease-in-out infinite alternate;
}
.scene-campus::before {
  content: "";
  position: absolute;
  left: 37%;
  bottom: 0;
  width: 26%;
  height: 133%;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(90deg, #9d7354, #d1ad7b 48%, #916647);
}
.scene-campus::after {
  content: "";
  position: absolute;
  left: 44%;
  top: -26%;
  width: 12%;
  height: 22%;
  border-radius: 2px 2px 0 0;
  background: #d2bc8e;
  box-shadow: 0 -8px 0 -3px #d2bc8e;
}
.scene-campus i {
  position: relative;
  z-index: 1;
  width: 7%;
  height: 24%;
  margin: 8% 5.5%;
  display: inline-block;
  border-radius: 2px;
  background: rgba(50, 82, 85, 0.78);
  box-shadow: 0 22px 0 rgba(50, 82, 85, 0.72);
}
.scene-lawn {
  top: 62%;
  background: linear-gradient(180deg, #56765f, #264838 85%);
}
.scene-path {
  inset: 68% 17% -5%;
  background: linear-gradient(
    90deg,
    transparent 0 25%,
    rgba(222, 208, 176, 0.8) 48% 52%,
    transparent 75%
  );
  clip-path: polygon(43% 0, 57% 0, 92% 100%, 8% 100%);
}
.scene-trees {
  inset: 59% 4% 16%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.scene-trees i {
  width: 13%;
  aspect-ratio: 0.72;
  border-radius: 50% 45% 38% 50%;
  background: radial-gradient(circle at 35% 25%, #91ad71, #315942 72%);
  box-shadow:
    inset -8px -8px 18px rgba(14, 45, 31, 0.25),
    0 14px 0 -11px #493b2d;
}
.scene-trees i:nth-child(even) {
  margin-top: 9%;
  transform: scale(0.82);
}
.scene-light {
  background: linear-gradient(
    115deg,
    rgba(255, 243, 196, 0.3),
    transparent 32% 72%,
    rgba(42, 88, 80, 0.12)
  );
  mix-blend-mode: screen;
  animation: light-sweep 9s ease-in-out infinite alternate;
}

.iphone-status {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  padding: 13px 22px 0;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 31%;
  height: 28px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.status-icons {
  width: 48px;
  height: 14px;
  display: block;
}
.status-icons svg {
  width: 48px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.camera-topbar {
  position: absolute;
  z-index: 7;
  top: 50px;
  left: 12px;
  right: 12px;
  display: grid;
  grid-template-columns: 1fr 38px 38px 38px;
  gap: 7px;
}
.camera-topbar button {
  min-width: 0;
  height: 38px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 18, 18, 0.54);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.location-pill {
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  border-radius: 999px;
  text-align: left;
}
.location-pill b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-arrow {
  color: #b9f33d;
  font-size: 8px;
  transform: rotate(-35deg);
}
.round-control {
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
}
.settings-control {
  font-size: 14px;
}
.camera-topbar svg,
.shutter-row svg,
.location-arrow svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.location-arrow svg {
  width: 13px;
  height: 13px;
}
.ev-control.active {
  color: #ffd60a;
  background: rgba(30, 30, 30, 0.78);
}
.camera-topbar .ev-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 11px;
  background: rgba(30, 31, 25, 0.68);
}
.ev-glyph {
  font-size: 10px;
  font-weight: 760;
  line-height: 10px;
  letter-spacing: 0.2px;
}
.ev-sign {
  margin-top: -1px;
  font-size: 9px;
  font-weight: 650;
  line-height: 9px;
  opacity: 0.76;
}
.ev-control.active {
  border-color: rgba(255, 216, 77, 0.46);
  background: rgba(72, 59, 18, 0.72);
}
.round-control,
.location-arrow,
.flip-control {
  font-size: 0;
}
.watermark-import i svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.iphone-camera .watermark-demo {
  left: 6%;
  right: 18%;
  bottom: 22%;
  padding: 12px 14px;
  border-left: 3px solid #b9f33d;
  border-radius: 0 11px 11px 0;
  background: linear-gradient(
    90deg,
    rgba(12, 18, 16, 0.62),
    rgba(12, 18, 16, 0.28)
  );
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(9px);
}
.iphone-camera .watermark-demo strong {
  font-size: 12px;
  letter-spacing: 0.01em;
}
.iphone-camera .watermark-demo b {
  margin: 2px 0;
  font-size: 30px;
  line-height: 1;
}
.iphone-camera .watermark-demo span {
  font-size: 9px;
  line-height: 1.5;
}
.iphone-camera .vf-focus {
  top: 42%;
  border-color: rgba(255, 246, 196, 0.86);
  border-radius: 4px;
  opacity: 0.54;
  animation: none;
  transition:
    left 0.12s ease-out,
    top 0.12s ease-out,
    opacity 0.18s ease;
}
.iphone-camera .vf-focus.focus-hit {
  animation: focus-lock 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.camera-dock {
  position: absolute;
  z-index: 9;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  padding: 10px 18px 8px;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 6, 0.08),
    rgba(5, 6, 6, 0.76) 25%,
    rgba(5, 6, 6, 0.91)
  );
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.zoom-strip {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.zoom-strip button {
  width: 29px;
  height: 25px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 650;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.zoom-strip button.active {
  color: #ffe57c;
  background: rgba(20, 20, 20, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.shutter-row {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr 78px 1fr;
  align-items: center;
  justify-items: center;
}
.shutter-row button {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.1s ease-out,
    opacity 0.1s ease-out;
}
.shutter-row button:active {
  transform: scale(0.92);
  opacity: 0.72;
}
.shutter-control {
  width: 62px;
  height: 62px;
  border: 4px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.28);
}
.gallery-control,
.flip-control {
  width: 38px;
  height: 38px;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.gallery-control span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(18, 20, 22, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.gallery-control span svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}
.flip-control {
  font-size: 22px;
}
.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 32%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-50%);
}

@keyframes cloud-drift {
  from {
    transform: translate3d(-8%, 0, 0);
  }
  to {
    transform: translate3d(185%, 8%, 0);
  }
}
@keyframes cloud-drift-soft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-170%, 5%, 0);
  }
}
@keyframes sun-pulse {
  from {
    transform: scale(0.94);
    opacity: 0.78;
  }
  to {
    transform: scale(1.06);
    opacity: 1;
  }
}
@keyframes scene-breathe {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.015) translateY(-2px);
  }
}
@keyframes light-sweep {
  from {
    opacity: 0.45;
    transform: translateX(-2%);
  }
  to {
    opacity: 0.8;
    transform: translateX(2%);
  }
}
@keyframes camera-breathe {
  from {
    transform: scaleX(var(--camera-flip)) scale(var(--camera-zoom))
      translate3d(0, 0, 0);
  }
  to {
    transform: scaleX(var(--camera-flip))
      scale(calc(var(--camera-zoom) + 0.035)) translate3d(-0.55%, 0.3%, 0);
  }
}
@keyframes sun-shimmer {
  from {
    opacity: 0.56;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1.09);
  }
}
@keyframes flare-drift {
  from {
    opacity: 0.45;
    transform: translate3d(-3px, -5px, 0);
  }
  to {
    opacity: 0.9;
    transform: translate3d(5px, 8px, 0);
  }
}
@keyframes leaf-sway {
  from {
    transform: rotate(-1.5deg) translate3d(-2px, 0, 0);
  }
  to {
    transform: rotate(2deg) translate3d(5px, 3px, 0);
  }
}
@keyframes focus-lock {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.45);
  }
  55% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes camera-switch {
  0% {
    opacity: 1;
    filter: blur(0);
  }
  45% {
    opacity: 0.25;
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes shutter-flash {
  0%,
  100% {
    opacity: 0;
  }
  35% {
    opacity: 0.88;
  }
  65% {
    opacity: 0.18;
  }
}

.iphone-screen::after {
  content: "";
  position: absolute;
  z-index: 30;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.taking-photo .iphone-screen::after {
  animation: shutter-flash 0.38s ease-out;
}
.switching-camera .dynamic-scene {
  animation: camera-switch 0.42s ease-out;
}
.camera-topbar .round-control[data-mode]::after {
  content: attr(data-mode);
  position: absolute;
  margin-top: 25px;
  font-size: 7px;
  font-weight: 650;
  color: #fff;
}
.camera-status-toast {
  position: absolute;
  z-index: 22;
  left: 50%;
  top: 15.5%;
  max-width: 78%;
  padding: 6px 11px;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(12, 13, 14, 0.66);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
}
.camera-status-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.gallery-control.has-photo {
  background-image: var(--shot-image);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
}
.gallery-control.has-photo span {
  display: none;
}
.shutter-control:active {
  transform: scale(0.9) !important;
  background: rgba(255, 255, 255, 0.5);
}
.location-pill {
  transition:
    max-width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s ease;
}
.location-pill:not(.expanded) {
  max-width: 100%;
}
.location-pill.expanded {
  background: rgba(16, 18, 18, 0.78);
}
.camera-settings-panel {
  position: absolute;
  z-index: 20;
  top: 96px;
  right: 12px;
  width: 238px;
  padding: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(20, 22, 23, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.settings-open .camera-settings-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.settings-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.settings-panel-head b {
  font-size: 13px;
}
.settings-panel-head small,
.settings-privacy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
}
.settings-ev {
  display: grid;
  grid-template-columns: 48px 1fr 26px;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  font-size: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.settings-ev input {
  min-width: 0;
  accent-color: #ffd60a;
}
.settings-ev output {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.watermark-import {
  margin-top: 11px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.12s ease;
}
.watermark-import:active {
  transform: scale(0.98);
}
.watermark-import:hover {
  background: rgba(255, 255, 255, 0.16);
}
.watermark-import input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.watermark-import span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.watermark-import b {
  font-size: 10px;
}
.watermark-import small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
}
.watermark-import i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 16px;
  font-style: normal;
  border-radius: 50%;
  background: #fff;
  color: #111;
}
.watermark-reset {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
}
.watermark-reset:hover {
  background: rgba(255, 255, 255, 0.08);
}
.settings-privacy {
  margin: 7px 2px 0;
  text-align: center;
}
.iphone-camera .custom-watermark-preview {
  left: 5%;
  right: auto;
  bottom: 22%;
  width: 90%;
  height: auto;
  padding: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: none;
}
.iphone-camera .custom-watermark-preview::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: var(--wm-bg-color);
  background-image: var(--wm-bg-image);
  background-position: var(--wm-bg-x) var(--wm-bg-y);
  background-repeat: no-repeat;
  background-size: var(--wm-bg-size);
  opacity: var(--wm-bg-opacity);
}
.iphone-camera .custom-watermark-preview .imported-watermark-field {
  position: absolute;
  z-index: 1;
  display: block;
  margin: 0;
  max-width: 92%;
  line-height: 1.16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  transform: translateY(-50%);
}
.camera-shot-dialog {
  width: min(90vw, 430px);
  text-align: center;
}
.camera-shot-dialog img {
  width: 100%;
  max-height: 58vh;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}
.camera-shot-dialog h2 {
  margin: 18px 0 5px;
  font-size: 23px;
}
.camera-shot-dialog p {
  margin: 0;
  color: #86868b;
  font-size: 12px;
  line-height: 1.55;
}

.iphone-camera .custom-watermark-preview::before {
  background-position: center;
  background-size: cover;
  transform: translate(var(--wm-bg-x), var(--wm-bg-y)) scale(var(--wm-bg-scale));
}
.iphone-camera .custom-watermark-preview .imported-watermark-field {
  transform: none;
}
.demo-exposure {
  position: absolute;
  z-index: 18;
  left: 50%;
  top: 96px;
  width: 68%;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(14, 15, 16, 0.7);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate(-50%, -8px) scale(0.97);
  transform-origin: top;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.exposure-open .demo-exposure {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.demo-exposure input {
  min-width: 0;
  flex: 1;
  accent-color: #ffd60a;
}
.demo-exposure output {
  width: 22px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.shot-composite {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 20px;
  background: #17201c;
}
.camera-shot-dialog .shot-composite > img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}
.shot-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shot-watermark > .watermark-demo {
  position: absolute;
  left: 6%;
  right: 18%;
  bottom: 8%;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  color: #fff;
  border-left: 3px solid #b9f33d;
  border-radius: 0 11px 11px 0;
  background: linear-gradient(
    90deg,
    rgba(12, 18, 16, 0.68),
    rgba(12, 18, 16, 0.3)
  );
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.shot-watermark > .watermark-demo strong {
  font-size: 12px;
}
.shot-watermark > .watermark-demo b {
  margin: 2px 0;
  font-size: 30px;
  line-height: 1;
}
.shot-watermark > .watermark-demo span {
  font-size: 9px;
  line-height: 1.5;
}
.shot-watermark > .custom-watermark-preview {
  left: 5%;
  right: auto;
  width: 90%;
  bottom: 8%;
  padding: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}
.shot-watermark > .custom-watermark-preview::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: var(--wm-bg-color);
  background-image: var(--wm-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: var(--wm-bg-opacity);
  transform: translate(var(--wm-bg-x), var(--wm-bg-y)) scale(var(--wm-bg-scale));
}
.shot-watermark .imported-watermark-field {
  position: absolute;
  z-index: 1;
  display: block;
  margin: 0;
  line-height: 1.16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .iphone-camera {
    width: min(100%, 350px);
  }
}
@media (max-width: 520px) {
  .iphone-camera {
    width: min(100%, 370px);
    border-radius: 52px;
    transform: none;
  }
  .iphone-screen {
    border-radius: 45px;
  }
}

/* Stable wide-screen hero and the current mini-program camera hierarchy. */
.hero {
  width: min(100%, 1480px);
  grid-template-columns: minmax(520px, 1fr) minmax(300px, 394px);
  gap: clamp(48px, 7vw, 112px);
  padding-inline: clamp(32px, 7vw, 112px);
}
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(52px, 5.5vw, 88px); line-height: .98; }
.hero h1 span,.hero h1 em { display:block; white-space:nowrap; }
.camera-appbar {
  position:absolute;z-index:8;top:52px;left:17px;right:14px;
  display:flex;align-items:center;justify-content:space-between;color:#fff;
}
.camera-brand{display:flex;align-items:center;gap:7px;text-shadow:0 2px 9px rgba(0,0,0,.6)}
.camera-brand>i{width:7px;height:23px;border-radius:999px;background:#b9ff2d;box-shadow:0 0 12px rgba(185,255,45,.65)}
.camera-brand b{font-size:13px;letter-spacing:.03em}.camera-brand small{font-size:13px}
.camera-system-capsule{width:82px;height:34px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(16,17,18,.56);backdrop-filter:blur(15px)}
.camera-system-capsule i{width:1px;height:20px;background:rgba(255,255,255,.16)}
.camera-system-capsule span{font-size:11px}.camera-system-capsule b{font-size:16px}
.iphone-screen>.location-pill{position:absolute;z-index:8;top:98px;left:15px;width:42px;height:42px;padding:0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:50%;color:#fff;background:rgba(16,18,18,.58);backdrop-filter:blur(14px)}
.iphone-screen>.location-pill b{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.iphone-screen>.location-pill .location-arrow{font-size:0}
.camera-topbar{top:98px;left:auto;right:14px;display:flex;gap:8px}
.camera-topbar button{width:42px;height:42px;flex:0 0 42px;border-radius:50%}
.camera-topbar .ev-control{border-radius:50%}
.iphone-camera .watermark-demo{left:7%;right:20%;bottom:23%}
@media(min-width:1500px){.hero{grid-template-columns:minmax(620px,760px) 394px;justify-content:space-between}.hero h1{font-size:88px}}
@media(max-width:1100px){.hero{grid-template-columns:minmax(420px,1fr) minmax(280px,350px);gap:40px}.hero h1{font-size:clamp(48px,6vw,70px)}}
@media(max-width:900px){.hero{width:100%;grid-template-columns:1fr;padding-inline:clamp(24px,7vw,64px)}.hero-copy{max-width:700px}.hero h1{font-size:clamp(48px,10vw,76px)}.hero h1 span,.hero h1 em{white-space:normal}.iphone-camera{justify-self:center}}
@media(max-width:520px){.hero h1{font-size:clamp(40px,12vw,54px)}.camera-appbar{top:47px}.iphone-screen>.location-pill,.camera-topbar{top:89px}.camera-topbar button{width:38px;height:38px;flex-basis:38px}.camera-system-capsule{width:74px;height:31px}}
@media (prefers-reduced-motion: reduce) {
  .scene-sun,
  .scene-cloud,
  .scene-campus,
  .scene-light,
  .scene-photo,
  .scene-sun-glow,
  .scene-lens-flare,
  .scene-leaf-shadow {
    animation: none !important;
  }
  .scene-photo {
    transform: scaleX(var(--camera-flip)) scale(var(--camera-zoom));
  }
}
@media (prefers-reduced-transparency: reduce) {
  .camera-topbar button,
  .iphone-camera .watermark-demo,
  .camera-dock {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(8, 10, 10, 0.88);
  }
}

/* Voluntary support entry and payment-code material. */
.support-trigger {
  position: fixed;
  z-index: 38;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 8px 15px 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  transition:
    transform 0.14s ease-out,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.support-trigger:hover {
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}
.support-trigger:active {
  transform: scale(0.95);
}
.support-trigger svg,
.support-heart svg {
  width: 25px;
  height: 25px;
  fill: #ff375f;
  stroke: none;
}
.support-trigger span {
  white-space: nowrap;
}
.support-dialog {
  width: min(calc(100vw - 28px), 640px);
  max-height: min(90svh, 760px);
  padding: 0;
  overflow: auto;
  border-radius: 34px;
  background: rgba(249, 249, 251, 0.95);
}
.support-dialog > .dialog-close {
  z-index: 4;
  top: 17px;
  right: 17px;
  background: rgba(118, 118, 128, 0.14);
}
.support-heading {
  padding: 38px 32px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 22% 0, rgba(255, 55, 95, 0.13), transparent 36%),
    radial-gradient(circle at 82% 12%, rgba(0, 113, 227, 0.12), transparent 34%);
}
.support-heart {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 55, 95, 0.1);
}
.support-heart svg {
  width: 28px;
  height: 28px;
}
.support-heading .eyebrow {
  margin-bottom: 6px;
  color: #b12748;
}
.support-heading h2 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.045em;
}
.support-heading > p:last-child {
  max-width: 420px;
  margin: 0 auto;
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.6;
}
.support-codes {
  padding: 6px 26px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.support-codes article {
  padding: 14px 14px 17px;
  text-align: center;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.045);
}
.support-code-wrap {
  aspect-ratio: 1;
  padding: 8px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}
.support-code-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}
.support-code-wrap.alipay {
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.12);
}
.support-code-wrap.wechat {
  box-shadow: inset 0 0 0 1px rgba(205, 153, 51, 0.18);
}
.support-codes h3 {
  margin: 13px 0 3px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.support-codes p {
  margin: 0;
  color: #86868b;
  font-size: 11px;
}
.support-note {
  margin: 0;
  padding: 0 24px 26px;
  color: #86868b;
  font-size: 11px;
  text-align: center;
}
@media (max-width: 520px) {
  .support-trigger {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .support-trigger span {
    display: none;
  }
  .support-dialog {
    border-radius: 28px;
  }
  .support-heading {
    padding: 32px 20px 20px;
  }
  .support-codes {
    padding-inline: 14px;
    gap: 10px;
  }
  .support-codes article {
    padding: 9px 9px 14px;
    border-radius: 19px;
  }
  .support-code-wrap {
    padding: 5px;
    border-radius: 14px;
  }
  .support-heading h2 {
    font-size: 27px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .support-trigger,
  .support-dialog {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Keep the interactive iPhone fully inside the opening viewport. */
@media (min-width: 901px) {
  .hero {
    min-height: calc(100svh - 76px);
    padding-top: clamp(34px, 5vh, 68px);
    padding-bottom: clamp(34px, 5vh, 68px);
  }
  .iphone-camera {
    width: min(100%, 394px, calc(46.15svh - 71px));
    max-height: calc(100svh - 154px);
  }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero {
    gap: 4vw;
  }
  .hero h1 {
    font-size: clamp(46px, 5.4vw, 76px);
  }
  .lead {
    margin-block: 20px 24px;
    font-size: 16px;
  }
  .iphone-camera {
    width: min(100%, 318px, calc(46.15svh - 61px));
    max-height: calc(100svh - 132px);
  }
}
@media (max-width: 900px) {
  .hero {
    padding-top: clamp(42px, 8vw, 64px);
  }
  .iphone-camera {
    width: min(82vw, 330px);
  }
}
@media (max-width: 520px) {
  .iphone-camera {
    width: min(80vw, 304px);
    border-radius: 46px;
  }
  .iphone-screen {
    clip-path: inset(0 round 39px);
    border-radius: 39px;
  }
}
