* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  background: #141014;
  color: #f8efee;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
button,
input,
a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
}
button[aria-pressed="true"] {
  cursor: default;
}
/* Tone tokens. Image pixels stay intact; all treatments are presentation layers. */
.tone-rose {
  --floor: #220f1b;
  --floor-rgb: 34, 15, 27;
  --accent: #f0b6c8;
  --ink: #3b142a;
  --muted: #e7c9d5;
  --wash:
    radial-gradient(ellipse at 2% 63%, #cf668d57, transparent 50%),
    linear-gradient(112deg, #69294030, transparent 48%, #912e5e30);
  --photo-filter: saturate(0.78) contrast(1.04) brightness(1.08);
  --halo: #c6749040;
}
.screen-body {
  background: #110e12;
}
.backbar {
  max-width: 440px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  color: #c9afbd;
  font-size: 10px;
  background: #201820;
}
.film {
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--floor);
  color: #fff6f1;
}
.scene {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  padding-top: env(safe-area-inset-top);
}
.visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background: var(--floor);
}
.visual-photo {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  object-fit: cover;
  object-position: var(--focus, 50% 20%);
  filter: var(--photo-filter);
  animation: reveal 0.55s ease-out both;
}
.visual-wash {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: var(--wash);
  mix-blend-mode: soft-light;
}
.visual-edge {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 30%,
    transparent 35%,
    rgba(var(--floor-rgb), 0.22) 100%
  );
}
.visual-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--floor-rgb), 0.66) 0%,
    rgba(var(--floor-rgb), 0.08) 16%,
    transparent 36%,
    rgba(var(--floor-rgb), 0.12) 43%,
    rgba(var(--floor-rgb), 0.65) 61%,
    rgba(var(--floor-rgb), 0.96) 80%,
    var(--floor) 100%
  );
}
.visual-grain {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.film.old-filter .visual-photo {
  filter: none;
}
.film.old-filter .visual-wash,
.film.old-filter .visual-edge,
.film.old-filter .visual-grain {
  display: none;
}
.film.old-filter .visual-shade {
  background: linear-gradient(
    180deg,
    #180b1c69,
    transparent 30%,
    #240c27a1 58%,
    #1b0e1be8 82%,
    #1b0e1b
  );
}
.film-nav {
  height: 78px;
  margin: 0 25px;
  border-bottom: 1px solid #fff3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 13px;
  letter-spacing: 4px;
}
.nav-note {
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 1.2px;
  text-align: right;
  color: var(--muted);
}
.side-note {
  position: absolute;
  right: 19px;
  top: 124px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 3px;
  color: #fff4edcc;
}
.film-copy {
  margin-top: auto;
  padding: 280px 27px 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  line-height: 1.5;
}
.film h1 {
  font:
    400 clamp(52px, 14vw, 63px) / 0.97 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -2.5px;
  margin: 16px 0 15px;
}
.film h1 em {
  color: var(--accent);
  font-weight: 400;
}
.intro {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 300px;
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 21px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.controls > div {
  display: flex;
  gap: 8px;
}
.circle {
  height: 42px;
  width: 42px;
  border: 1px solid #fff5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff0b;
  color: #fff7f1;
}
.circle:hover {
  background: #fff2;
}
.film-footer {
  padding: 0 25px 16px;
}
.main-button {
  min-height: 55px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid #ffffff25;
  border-radius: 4px;
  padding: 14px 19px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 35px var(--halo);
}
.main-button:hover {
  filter: brightness(1.07);
}
.preview-caption {
  padding: 0 20px calc(15px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  opacity: 0.7;
}
.mini-link {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding: 13px 0 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.film-safari .film-copy {
  padding-top: 232px;
}
.film-safari h1 {
  font-size: 53px;
}
.profile-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 17px;
}
.thumbs {
  display: flex;
  gap: 8px;
  margin: 22px 0;
}
.thumb {
  height: 65px;
  min-width: 0;
  flex: 1;
  padding: 0;
  background: none;
  position: relative;
  border-radius: 3px;
  opacity: 0.55;
  overflow: hidden;
  outline: 1px solid #fff4;
  outline-offset: 3px;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.thumb[aria-pressed="true"] {
  outline: 2px solid var(--accent);
  opacity: 1;
}
.thumb:hover {
  opacity: 1;
}
.thumb-number {
  position: absolute;
  bottom: 3px;
  right: 4px;
  font-size: 8px;
  text-shadow: 0 1px 5px #000;
  background: #1b101a88;
  padding: 2px 3px;
  color: #fff;
}
.film-safari .controls {
  margin: 0 0 20px;
}
.guide .visual-photo {
  filter: var(--photo-filter) blur(16px);
  transform: scale(1.1);
  opacity: 0.5;
}
.guide .visual-shade {
  background: linear-gradient(
    180deg,
    rgba(var(--floor-rgb), 0.58),
    rgba(var(--floor-rgb), 0.84) 65%,
    var(--floor)
  );
}
.guide-heading {
  padding: 34px 26px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.guide-heading h1 {
  font-size: 43px;
  margin: 0 0 15px;
  letter-spacing: -1.5px;
}
.guide-heading p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 0;
}
.compass {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  flex: none;
  margin-top: 4px;
}
.compass svg {
  width: 28px;
  height: 28px;
}
.steps {
  margin: 0 25px 20px;
  padding: 4px 20px;
  border: 1px solid #fff2;
  border-radius: 8px;
  background: #ffffff06;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.step {
  display: flex;
  gap: 17px;
  padding: 24px 0;
  border-bottom: 1px solid #fff2;
}
.step:last-child {
  border: 0;
}
.step-number {
  font:
    29px Georgia,
    serif;
  color: var(--accent);
  line-height: 1;
}
.step strong {
  font-size: 13px;
  font-weight: 500;
}
.step p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 7px 0 0;
}
.menu-demo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #fff2;
  margin-top: 14px;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 10px;
  color: #fff4f1;
  background: #ffffff0c;
}
.dots {
  letter-spacing: 2px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  font-weight: bold;
}
.guide-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  padding: 0 27px;
  margin: 0 0 28px;
}
.guide .film-footer {
  margin-top: auto;
}
.copy-status {
  min-height: 16px;
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}
.copy-fallback {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  color: #321b2a;
  border: 1px solid var(--accent);
  border-radius: 3px;
}
.copy-fallback[hidden] {
  display: none;
}
.guide .preview-caption {
  padding-top: 9px;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 10;
  background: #100a15ba;
  padding: 24px;
  display: grid;
  place-items: center;
}
.modal[hidden] {
  display: none;
}
.modal-card {
  width: 100%;
  max-width: 350px;
  background: var(--floor);
  border: 1px solid #fff3;
  border-radius: 10px;
  padding: 24px;
  color: #fff6f1;
}
.modal-card h2 {
  font:
    35px/1.12 Georgia,
    serif;
  margin: 25px 0 16px;
}
.modal-card p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.modal-card .main-button {
  margin-top: 23px;
}
.modal-close {
  float: right;
  color: #fff;
  background: none;
  padding: 5px;
}
.modal-picture {
  width: 70px;
  height: 83px;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
  margin-top: 20px;
}
/* Review surface is separate from the visitor-facing pages. */
.lab {
  max-width: 1440px;
  margin: auto;
  padding: 32px 36px 30px;
}
.lab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: #bfa8b4;
  border-bottom: 1px solid #3e303b;
  padding-bottom: 20px;
}
.lab-top a {
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lab-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin: 34px 0 28px;
}
.lab-heading h1 {
  font-size: 37px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0;
}
.lab-heading h1 em {
  color: #d99ab2;
  font-style: normal;
}
.lab-heading p {
  font-size: 12px;
  line-height: 1.9;
  color: #b09ba7;
  max-width: 390px;
  margin: 0;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 18px 0 22px;
}
.tone-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tone-nav a,
.compare-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #cdbbc6;
  border: 1px solid #55424f;
  border-radius: 40px;
  padding: 10px 14px;
  font-size: 11px;
}
.tone-nav a.active {
  background: #efc4d6;
  border-color: #efc4d6;
  color: #321c2b;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px #ffffff40;
}
.photo-picker {
  display: flex;
  gap: 8px;
  align-items: center;
}
.photo-picker span {
  font-size: 10px;
  color: #b99daa;
  margin-right: 5px;
}
.photo-picker button {
  width: 32px;
  height: 42px;
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.5;
  background: none;
}
.photo-picker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.photo-picker button[aria-pressed="true"] {
  outline: 2px solid #edb7ce;
  outline-offset: 3px;
  opacity: 1;
}
.comparison-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 25px;
  font-size: 11px;
  color: #bca2b2;
}
.comparison-hint strong {
  font-weight: 400;
  color: #eed6e1;
}
.compare-button {
  padding: 9px 13px;
  white-space: nowrap;
}
.compare-button[aria-pressed="true"] {
  background: #493443;
  color: #fff;
}
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}
.lab-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}
.lab-label h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.lab-label small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #b99aaa;
}
.lab-frame {
  border-radius: 8px;
  border: 1px solid #58424e;
  overflow: hidden;
  box-shadow: 0 20px 45px #0002;
  background: #25121e;
}
.lab-frame iframe {
  display: block;
  width: 100%;
  height: 840px;
  border: 0;
}
.lab-detail {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  margin-top: 15px;
}
.lab-detail p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #b69daa;
  max-width: 250px;
}
.lab-detail a {
  font-size: 11px;
  white-space: nowrap;
  color: #eecbdd;
  padding-top: 2px;
}
.improvements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid #44333f;
  padding-top: 23px;
  margin-top: 35px;
}
.improvements h3 {
  font-size: 13px;
  font-weight: 400;
  margin: 0 0 8px;
  color: #e1c5d4;
}
.improvements p {
  font-size: 11px;
  line-height: 1.8;
  color: #a58d9c;
  margin: 0;
}
.lab-foot {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #352732;
  margin-top: 27px;
  padding-top: 18px;
  font-size: 9px;
  color: #9f8796;
  line-height: 1.7;
}
.lab-foot a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.export .lab {
  min-width: 1320px;
  width: 1320px;
  max-width: 1320px;
  padding: 30px 36px;
}
.export .lab-grid {
  grid-template-columns: repeat(3, 1fr);
}
.guide-heading {
  padding-top: 28px;
  padding-bottom: 20px;
}
.guide-heading h1 {
  font-size: 40px;
}
.step {
  padding: 16px 0;
}
.menu-demo {
  margin-top: 10px;
  padding: 8px 10px;
}
.guide-note {
  margin-bottom: 16px;
}
@keyframes reveal {
  from {
    opacity: 0.5;
    scale: 1.015;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@media (max-width: 1000px) {
  .lab {
    padding: 25px;
  }
  .lab-grid {
    gap: 15px;
  }
  .lab-heading h1 {
    font-size: 32px;
  }
  .lab-frame iframe {
    height: 820px;
  }
}
@media (max-width: 760px) {
  .lab {
    padding: 22px 18px;
  }
  .lab-heading {
    display: block;
  }
  .lab-heading h1 {
    font-size: 30px;
  }
  .lab-heading p {
    margin-top: 18px;
  }
  .lab-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 32px;
  }
  .toolbar {
    display: block;
  }
  .photo-picker {
    margin-top: 24px;
  }
  .comparison-hint {
    align-items: start;
    font-size: 10px;
    line-height: 1.7;
  }
  .improvements {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .lab-foot {
    display: block;
  }
  .lab-foot span {
    display: block;
    margin-top: 10px;
  }
  .lab-frame iframe {
    height: 840px;
  }
  .export .lab-heading {
    display: flex;
  }
  .export .lab-heading h1 {
    font-size: 37px;
  }
  .export .lab-heading p {
    margin: 0;
  }
  .export .toolbar {
    display: flex;
  }
  .export .photo-picker {
    margin: 0;
  }
  .export .lab-grid {
    max-width: 1200px;
    gap: 24px;
  }
  .export .improvements {
    grid-template-columns: repeat(3, 1fr);
  }
  .export .lab-foot {
    display: flex;
  }
}
@media (max-height: 740px) {
  .film-copy {
    padding-top: 200px;
  }
  .film-safari .film-copy {
    padding-top: 180px;
  }
  .guide-heading {
    padding-top: 26px;
  }
  .step {
    padding: 19px 0;
  }
  .film-nav {
    height: 70px;
  }
  .film h1 {
    font-size: 54px;
  }
  .guide-heading h1 {
    font-size: 39px;
  }
}
/* A1 final application */
html {
  scrollbar-gutter: auto;
}
.screen-body {
  background: radial-gradient(ellipse at 50% 30%, #3b2332, #130e13 65%);
}
.film {
  max-width: 440px;
  box-shadow: 0 0 100px #0004;
}
.scene {
  touch-action: pan-y;
}
.film-nav {
  height: 78px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.nav-left {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-back {
  display: grid;
  place-items: center;
  width: 32px;
  height: 38px;
  color: var(--muted);
  margin-left: -8px;
}
.nav-back svg {
  width: 18px;
}
.locale-select {
  font-size: 11px;
  border: 1px solid #f2b6ca44;
  color: #f4dce6;
  background: #28172588;
  border-radius: 30px;
  padding: 8px 10px;
  max-width: 78px;
  min-height: 34px;
  cursor: pointer;
}
.locale-select option {
  background: #2a1724;
  color: #fff;
}
.film-copy {
  padding-top: clamp(180px, 29svh, 260px);
  position: relative;
  z-index: 1;
}
.film-safari .film-copy {
  padding-top: clamp(160px, 26svh, 230px);
}
.photo-hint {
  font-size: 9px;
  color: #dcc3d1;
  margin-top: 15px;
  letter-spacing: 1px;
  opacity: 0.8;
}
.count-muted {
  opacity: 0.76;
}
.circle {
  width: 44px;
  height: 44px;
}
.controls {
  margin-top: 18px;
}
.main-button {
  min-height: 56px;
  border-radius: 5px;
}
.preview-caption {
  font-size: 8px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}
.swipe-zone {
  position: absolute;
  inset: 80px 0 44%;
  z-index: 0;
  touch-action: pan-y;
}
.scene h1:focus {
  outline: none;
}
.photo-change {
  animation: reveal 0.35s ease-out;
}
.photo-error {
  position: absolute;
  top: 90px;
  left: 25px;
  right: 25px;
  border: 1px solid #f4c0d4;
  background: #311724ec;
  padding: 12px;
  font-size: 12px;
  line-height: 1.6;
  z-index: 5;
  border-radius: 5px;
}
.photo-error[hidden] {
  display: none;
}
.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;
}
.address-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid #dfb1cb33;
  border-radius: 6px;
  background: #fff1;
  padding: 10px;
  margin-top: 14px;
  font-size: 10px;
  color: #d8bfcc;
}
.address-demo b {
  color: #f0b6c8;
  font-weight: 400;
  white-space: nowrap;
}
.guide-heading {
  padding-top: 30px;
  padding-bottom: 24px;
}
.guide-heading h1 {
  font-size: 40px;
}
.steps .step {
  padding: 18px 0;
}
.guide-note {
  margin-bottom: 22px;
}
.guide .film-footer {
  padding-top: 6px;
}
.guide .visual-photo {
  opacity: 0.6;
}
.guide .steps {
  background: #ffffff05;
}
.guide .mini-link {
  min-height: 42px;
  padding-top: 17px;
}
.guide .copy-status {
  min-height: 18px;
}
.modal {
  padding: 22px;
  overflow-y: auto;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.modal-card {
  max-width: 365px;
  padding: 25px;
  max-height: calc(100vh - 44px);
  max-height: calc(100svh - 44px);
  overflow: auto;
  background: linear-gradient(135deg, #402133, #220f1b 65%);
  box-shadow: 0 20px 100px #0007;
}
.modal-picture {
  width: 90px;
  height: 115px;
  border: 1px solid #f0b6c855;
  margin-top: 24px;
}
.modal-card h2 {
  font-size: 38px;
  letter-spacing: -1px;
}
.modal-card h2 em {
  color: var(--accent);
  font-weight: 400;
}
.modal-card .dialog-note {
  font-size: 10px;
  opacity: 0.8;
  line-height: 1.8;
  border-top: 1px solid #f0b6c822;
  padding-top: 15px;
  margin-top: 20px;
}
.modal-another {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 15px 0 0;
  background: none;
  font-size: 11px;
  color: #efbbd0;
}
.modal-close {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
}
.review-language {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #cdbbc6;
  border: 1px solid #55424f;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 12px;
}
.review-language.active {
  background: #efc4d6;
  border-color: #efc4d6;
  color: #321c2b;
}
.a1-review .lab-frame iframe {
  height: 860px;
}
.noscript {
  padding: 40px 24px;
  max-width: 440px;
  margin: auto;
  line-height: 1.8;
}
.thumb {
  touch-action: pan-y;
}
.thumb img {
  pointer-events: none;
}
.visual-photo {
  user-select: none;
  -webkit-user-select: none;
}
.guide .visual-photo {
  animation: none;
}
.film .profile-meta {
  gap: 12px;
  line-height: 1.5;
}
.film .profile-meta > span:last-child {
  text-align: right;
}
html[lang="zh-CN"] .film h1 {
  font-family: Georgia, "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  font-size: 45px;
  line-height: 1.15;
  letter-spacing: 1px;
  margin: 17px 0 18px;
}
html[lang="zh-CN"] .film h1 em,
html[lang="zh-CN"] .modal-card h2 em {
  font-style: normal;
}
html[lang="zh-CN"] .guide-heading h1 {
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 18px;
}
html[lang="zh-CN"] .intro {
  line-height: 1.9;
  font-size: 12px;
}
html[lang="zh-CN"] .eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
}
html[lang="zh-CN"] .side-note {
  letter-spacing: 4px;
  font-size: 9px;
}
html[lang="zh-CN"] .film-safari h1 {
  font-size: 45px;
}
html[lang="zh-CN"] .modal-card h2 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: 33px;
  line-height: 1.3;
  letter-spacing: 1px;
}
html[lang="zh-CN"] .step p {
  line-height: 1.85;
}
html[lang="zh-CN"] .step strong {
  font-size: 14px;
}
@media (min-width: 600px) {
  .screen-body .film {
    border-left: 1px solid #f3c1d51c;
    border-right: 1px solid #f3c1d51c;
  }
}
@media (max-width: 370px) {
  .film-nav {
    margin: 0 21px;
  }
  .wordmark {
    font-size: 12px;
    letter-spacing: 3px;
  }
  .film-copy {
    padding-left: 23px;
    padding-right: 23px;
  }
  .film-footer {
    padding-left: 21px;
    padding-right: 21px;
  }
  .guide-heading {
    padding-left: 22px;
    padding-right: 22px;
    gap: 10px;
  }
  .guide-heading .compass {
    width: 38px;
    height: 38px;
  }
  .guide-heading h1 {
    font-size: 36px;
  }
  .steps {
    margin-left: 21px;
    margin-right: 21px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .step {
    gap: 13px;
  }
  .guide-note {
    padding-left: 23px;
  }
  .controls {
    font-size: 9px;
  }
  .thumbs {
    gap: 7px;
  }
  .thumb {
    height: 60px;
  }
  .film .profile-meta {
    font-size: 9px;
  }
  html[lang="zh-CN"] .guide-heading h1 {
    font-size: 29px;
  }
  html[lang="zh-CN"] .film-gate h1 {
    font-size: 40px;
  }
}
@media (max-height: 740px) {
  .film-nav {
    height: 66px;
  }
  .film-copy {
    padding-top: 125px;
  }
  .film-safari .film-copy {
    padding-top: 110px;
  }
  .film h1 {
    font-size: 51px;
  }
  .film-safari h1 {
    font-size: 49px;
  }
  .photo-hint {
    margin-top: 10px;
  }
  .controls {
    margin-top: 14px;
    margin-bottom: 16px;
  }
  .guide-heading {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .steps .step {
    padding: 16px 0;
  }
  html[lang="zh-CN"] .film-gate h1,
  html[lang="zh-CN"] .film-safari h1 {
    font-size: 39px;
  }
  .preview-caption {
    padding-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Safari walkthrough: original animation in the A1 rose frame. */
.guide-animated .guide-heading {
  padding-top: 24px;
  padding-bottom: 18px;
}
.guide-animated .guide-heading h1 {
  font-size: 38px;
  margin-bottom: 10px;
}
html[lang="zh-CN"] .guide-animated .guide-heading h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
.guide-animated .guide-heading p {
  font-size: 11px;
  line-height: 1.65;
}
.guide-demo {
  width: calc(100% - 50px);
  max-width: 360px;
  flex: none;
  margin: 0 auto 14px;
  border: 1px solid #f0b6c84d;
  border-radius: 10px;
  overflow: hidden;
  background: #f0eff7;
  box-shadow: 0 12px 32px #140a1733;
}
.guide-demo img {
  width: 100%;
  height: auto;
  aspect-ratio: 720/604;
  object-fit: contain;
  color: #321c2b;
}
.guide-demo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 9px 5px 12px;
  background: #341b2c;
  color: #eec5d7;
}
.guide-demo figcaption > span {
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.6px;
}
.guide-demo figcaption > div {
  display: flex;
  gap: 5px;
  flex: none;
}
.guide-demo button {
  min-height: 34px;
  min-width: 40px;
  border: 1px solid #f0b6c838;
  border-radius: 5px;
  padding: 7px 8px;
  color: #ffe8f0;
  background: #ffffff08;
  font-size: 10px;
  cursor: pointer;
}
.guide-demo button:hover {
  background: #f0b6c822;
}
.guide-demo button:focus-visible {
  outline-offset: -3px;
}
.animated-steps {
  margin: 0 27px 12px;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.animated-steps li {
  counter-increment: guide-step;
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-wrap: wrap;
}
.animated-steps li:before {
  content: "0" counter(guide-step);
  color: var(--accent);
  font:
    italic 14px Georgia,
    serif;
  margin-right: 12px;
}
.animated-steps b {
  font-weight: 500;
  color: #fff1f5;
  margin: 0 0.25em;
}
.guide-animated .guide-note {
  font-size: 10px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.guide-animated .film-footer {
  padding-top: 0;
  padding-bottom: 9px;
}
.guide-animated .copy-status {
  min-height: 14px;
  margin-top: 8px;
}
.guide-animated .mini-link {
  min-height: 36px;
  padding-top: 12px;
}
.guide-animated .preview-caption {
  padding-top: 3px;
}
.animation-error {
  font-size: 11px;
  color: #ffe0e8;
  line-height: 1.6;
  margin: 0 27px 12px;
}
.animation-error[hidden] {
  display: none;
}
@media (max-width: 370px) {
  .guide-demo {
    width: calc(100% - 42px);
  }
  .guide-demo figcaption {
    padding-left: 9px;
    gap: 5px;
  }
  .guide-demo figcaption > span {
    letter-spacing: 0;
    font-size: 8px;
  }
  .guide-demo button {
    min-width: 36px;
    padding: 7px 6px;
  }
  .animated-steps {
    margin-left: 23px;
    margin-right: 23px;
  }
  .guide-animated .guide-heading h1 {
    font-size: 34px;
  }
  html[lang="zh-CN"] .guide-animated .guide-heading h1 {
    font-size: 27px;
  }
}
@media (max-height: 740px) {
  .guide-animated .guide-heading {
    padding-top: 20px;
    padding-bottom: 15px;
  }
  .guide-animated .guide-heading h1 {
    font-size: 34px;
  }
  html[lang="zh-CN"] .guide-animated .guide-heading h1 {
    font-size: 27px;
  }
  .guide-demo {
    margin-bottom: 12px;
  }
}

/* Gate: portrait first, with copy below the face and separate information cards. */
.screen-body.gate-page {
  background: #f1e9ee;
}
.gate-cards {
  background: #f3edf1;
  color: #352331;
  padding-top: 0;
}
.gate-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  min-height: clamp(410px, 112vw, 490px);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  color: #fff8fa;
}
.gate-hero .visual-photo {
  object-position: var(--focus, 50% 18%);
  filter: saturate(0.94) contrast(1.02) brightness(1.04);
}
.gate-hero .visual-wash {
  background: linear-gradient(0deg, #73364d44, transparent 52%);
  mix-blend-mode: soft-light;
}
.gate-hero .visual-edge,
.gate-hero .visual-grain {
  display: none;
}
.gate-hero .visual-shade {
  background: linear-gradient(
    180deg,
    #130c1c21 0%,
    transparent 16%,
    transparent 48%,
    #1d101d33 63%,
    #1d101dda 89%,
    #1d101df5 100%
  );
}
.gate-hero .film-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  inset: 0 0 auto;
  height: 64px;
  margin: 0 16px;
  border: 0;
}
.gate-hero .wordmark {
  font-size: 10px;
  letter-spacing: 3px;
  text-shadow: 0 1px 5px #0008;
}
.gate-hero .locale-select {
  max-width: none;
  min-width: 95px;
  min-height: 36px;
  background: #221924b3;
  border: 1px solid #fff9;
  border-radius: 14px;
  padding: 8px 12px;
  color: #fff;
}
.gate-face-space {
  min-height: 270px;
  flex: 1;
  pointer-events: none;
}
.gate-hero-copy {
  position: relative;
  padding: 0 20px 20px;
}
.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #ffffff38;
  border-radius: 30px;
  color: #fff3f8;
  background: #ffffff1a;
  font-size: 10px;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}
.gate-badge > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f7bad1;
  box-shadow: 0 0 8px #eea0c17a;
}
.film .gate-hero h1,
html[lang="zh-CN"] .film .gate-hero h1 {
  font:
    600 27px/1.25 Arial,
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: -0.6px;
  margin: 10px 0 7px;
  color: #fff8fb;
  text-wrap: balance;
}
html[lang="zh-CN"] .film .gate-hero h1 {
  font-size: 25px;
  letter-spacing: 0;
}
.gate-hero-copy > p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 340px;
  margin: 0;
  color: #f6dfe9;
}
.gate-content {
  padding: 10px 13px 22px;
}
.gate-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 0 1px 16px;
}
.gate-thumb {
  position: relative;
  aspect-ratio: 3/4;
  padding: 3px;
  border: 1px solid #ebdee6;
  border-radius: 12px;
  background: #fff;
  min-width: 0;
  box-shadow: 0 5px 12px #4e24300c;
}
.gate-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
  pointer-events: none;
}
.gate-thumb[aria-pressed="true"] {
  outline: 2px solid #af5d80;
  outline-offset: 1px;
  border-color: #fff;
  box-shadow: 0 4px 16px #ac51782e;
}
.gate-thumb:hover {
  border-color: #b15b82;
}
.gate-card {
  background: #fffcfd;
  border: 1px solid #ffffffdb;
  border-radius: 17px;
  box-shadow: 0 6px 22px #4f25350b;
  margin-bottom: 10px;
}
.gate-intro-card {
  padding: 15px 14px;
}
.gate-section-label {
  font:
    500 10px/1.5 Arial,
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 1px;
  color: #917687;
  margin: 0 0 6px;
}
.gate-intro-card h2 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 5px;
  color: #45283a;
  letter-spacing: -0.3px;
}
.gate-intro-card p {
  font-size: 11px;
  line-height: 1.65;
  color: #897080;
  margin: 0;
}
.gate-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
  padding: 16px 6px;
}
.gate-stats > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid #efe4eb;
}
.gate-stats > div:last-child {
  border-right: 0;
}
.gate-stats strong {
  font-size: 19px;
  line-height: 1.2;
  color: #68344d;
}
.gate-stats span {
  font-size: 10px;
  color: #937586;
}
.gate-benefits {
  padding: 13px 12px;
}
.gate-benefits > .gate-section-label {
  margin-bottom: 9px;
}
.gate-benefits > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.gate-benefits > div > div {
  border: 1px solid #efe1e9;
  background: #faf5f8;
  border-radius: 12px;
  padding: 11px 4px;
  text-align: center;
}
.gate-benefits strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #61394e;
}
.gate-benefits p {
  font-size: 9px;
  line-height: 1.5;
  color: #997488;
  margin: 4px 0 0;
}
.gate-footer {
  padding-top: 1px;
  padding-bottom: env(safe-area-inset-bottom);
}
.gate-footer .main-button {
  background: linear-gradient(110deg, #a34d76, #7b3b62);
  color: #fff3f8;
  border-color: #934668;
  border-radius: 15px;
  min-height: 55px;
  padding: 16px 20px;
  box-shadow: 0 7px 22px #9c4d752c;
}
.gate-page .photo-error {
  top: 66px;
}
.guide-animated .film-footer {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.a1-review .lab-frame iframe {
  height: 1000px;
}
@media (max-width: 370px) {
  .gate-hero-copy {
    padding-left: 17px;
    padding-right: 17px;
  }
  .film .gate-hero h1 {
    font-size: 25px;
  }
  html[lang="zh-CN"] .film .gate-hero h1 {
    font-size: 23px;
  }
  .gate-content {
    padding-left: 11px;
    padding-right: 11px;
  }
  .gate-thumbnails {
    gap: 6px;
  }
  .gate-benefits > div {
    gap: 5px;
  }
  .gate-benefits strong {
    font-size: 11px;
  }
  .gate-benefits p {
    font-size: 8px;
  }
}

/* Safari: portrait, preparation progress, supporting copy and FAQ. */
.safari-hero .gate-face-space {
  min-height: 270px;
}
.safari-hero .gate-hero-copy {
  padding-bottom: 18px;
}
.safari-preparation {
  padding: 16px 14px;
}
.safari-preparation-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.safari-chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-radius: 30px;
  background: #f7eaf1;
  color: #92516d;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  padding: 6px 9px;
}
.safari-chip > span {
  font-size: 7px;
}
.safari-state-chip {
  background: #f5f0f3;
  color: #927287;
}
.safari-preparation h2 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: #48293b;
  margin: 13px 0 7px;
}
.safari-preparation-text {
  font-size: 12px;
  line-height: 1.7;
  color: #8b7080;
  margin: 0;
}
.safari-progress {
  height: 7px;
  border-radius: 20px;
  background: #efe5ec;
  overflow: hidden;
  margin: 18px 0 11px;
}
.safari-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, #cf8fae, #8f416c);
  transition: width 0.45s ease;
}
.safari-timer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: #997789;
  font-weight: 500;
  line-height: 1.5;
}
.safari-proof {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 14px;
}
.safari-proof li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 11px;
  background: #faf5f8;
  border: 1px solid #eee3eb;
  border-radius: 13px;
}
.safari-proof-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  background: #f1e1eb;
  color: #995b7c;
  font:
    600 13px/1 Georgia,
    serif;
}
.safari-proof h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #613c51;
  margin: 0;
}
.safari-proof p {
  font-size: 11px;
  line-height: 1.6;
  color: #957687;
  margin: 4px 0 0;
}
.safari-lock {
  background: linear-gradient(110deg, #402436, #2b1725);
  border: 1px solid #764762;
  border-radius: 13px;
  padding: 13px 12px;
  color: #fff0f7;
}
.safari-lock strong {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.safari-lock p {
  font-size: 11px;
  line-height: 1.6;
  color: #d9b9ca;
  margin: 5px 0 0;
}
.safari-lock.is-ready {
  background: linear-gradient(110deg, #573048, #3b1e34);
}
.safari-continue {
  margin-top: 14px;
}
.safari-continue .main-button {
  background: linear-gradient(110deg, #a34d76, #7b3b62);
  color: #fff3f8;
  border-color: #934668;
  border-radius: 13px;
  padding: 15px 17px;
  box-shadow: 0 7px 22px #9c4d751c;
}
.safari-continue .main-button:disabled {
  background: #e9dfe6;
  border-color: #e4d5df;
  color: #997e8e;
  box-shadow: none;
  filter: none;
}
.safari-faq {
  padding: 16px 14px;
  margin-bottom: 0;
}
.safari-faq > .gate-section-label {
  margin-bottom: 14px;
}
.safari-faq article + article {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #f0e7ed;
}
.safari-faq h3 {
  font-size: 12px;
  font-weight: 600;
  color: #613c51;
  margin: 0 0 5px;
  line-height: 1.6;
}
.safari-faq p {
  font-size: 11px;
  line-height: 1.7;
  color: #937687;
  margin: 0;
}
.safari-content {
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}
.a1-review iframe[title="safari"] {
  height: 1480px;
}
@media (max-width: 370px) {
  .safari-preparation {
    padding: 14px 12px;
  }
  .safari-chip {
    font-size: 8px;
    padding: 6px 8px;
  }
  .safari-preparation h2 {
    font-size: 18px;
  }
  .safari-proof li {
    padding: 10px 9px;
  }
}

/* Shared page surface for profile cards, Safari and the contact sheet. */
.tone-rose {
  --page-surface: #f3edf1;
  --page-ink: #352331;
}
.gate-cards,
.safari-cards .safari-preparation {
  background: var(--page-surface);
  color: var(--page-ink);
}
.safari-cards .safari-preparation {
  border-color: #e7d9e1;
  box-shadow: none;
}
.lead-modal {
  /* Explicit viewport height prevents a collapsed overlay from locking the page. */
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 0 0;
  background: #140f1bc7;
  overflow: hidden;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.lead-modal[hidden] {
  display: none;
}
.modal-card.lead-sheet {
  color-scheme: light;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  margin: 0;
  border: 1px solid #ddc9d6;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  padding: 9px 19px calc(20px + env(safe-area-inset-bottom));
  background: var(--page-surface);
  color: var(--page-ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -18px 65px #140a242b;
  animation: lead-enter 0.3s ease-out;
}
.lead-handle {
  height: 4px;
  width: 42px;
  margin: 0 auto 12px;
  background: #c9afc0;
  border-radius: 20px;
}
.lead-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.lead-profile-card {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 11px;
  border: 1px solid #dbc6d3;
  background: var(--page-surface);
  border-radius: 16px;
  padding: 10px 11px;
}
.lead-profile-card .modal-picture {
  width: 43px;
  height: 49px;
  object-fit: cover;
  object-position: center 20%;
  margin: 0;
  flex: none;
  border-radius: 7px;
  border: 1px solid #e4cddc;
}
.lead-profile-card strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #4f2d43;
  font-weight: 600;
}
.lead-profile-card p {
  font-size: 10px;
  line-height: 1.5;
  color: #967889;
  margin: 3px 0 0;
}
.lead-close {
  float: none;
  width: 38px;
  height: 38px;
  flex: none;
  min-width: 38px;
  min-height: 38px;
  color: #805b72;
  border: 1px solid #d9c2d0;
  background: transparent;
  border-radius: 50%;
  margin-top: 1px;
  padding: 9px;
}
.lead-close svg {
  width: 18px;
  height: 18px;
}
.lead-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #947184;
  background: transparent;
  font-size: 10px;
  line-height: 1.5;
  padding: 10px 0;
  min-height: 38px;
  margin: 13px 0 5px;
}
.lead-back svg {
  width: 14px;
  height: 14px;
}
.lead-kicker {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #b3577d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.lead-kicker > span {
  font-size: 16px;
  color: #bd688d;
}
.modal-card.lead-sheet h2,
html[lang="zh-CN"] .modal-card.lead-sheet h2 {
  font:
    700 28px/1.3 Arial,
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: -0.5px;
  margin: 9px 0 10px;
  color: #422337;
}
.lead-sheet h2:focus {
  outline: none;
}
.modal-card.lead-sheet .lead-intro {
  font-size: 12px;
  line-height: 1.75;
  color: #947080;
  margin: 0 0 21px;
}
.lead-form {
  display: grid;
  gap: 16px;
  margin: 0;
}
.lead-method {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.lead-method legend,
.lead-form label {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 600;
  color: #8d6d80;
  margin: 0 0 8px;
  padding: 0;
}
.contact-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.contact-switch button {
  min-height: 41px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfcbd8;
  background: #fbf7fa;
  border-radius: 11px;
  color: #9d7c90;
  font-size: 12px;
  padding: 9px;
}
.contact-switch button[aria-pressed="true"] {
  background: #ebd6e3;
  border-color: #b56e93;
  color: #77415f;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #b56e9310;
}
.contact-switch svg {
  width: 16px;
  height: 16px;
}
.lead-form input,
.lead-form select {
  min-height: 49px;
  width: 100%;
  min-width: 0;
  border: 1px solid #ddc8d5;
  border-radius: 13px;
  background: #fcf8fb;
  color: #513447;
  font-size: 16px;
  line-height: 1.4;
  padding: 12px 13px;
  outline-offset: 2px;
}
.lead-form input::placeholder {
  color: #b39ba9;
  font-size: 12px;
  opacity: 1;
}
.lead-form input:focus-visible,
.lead-form select:focus-visible {
  outline: 2px solid #b8668d;
  outline-offset: 2px;
}
.lead-sheet button:focus-visible {
  outline: 2px solid #9d547b;
  outline-offset: 3px;
}
.lead-form input[aria-invalid="true"] {
  border-color: #b44765;
}
.lead-phone-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 8px;
}
.lead-phone-row select {
  padding: 10px 7px;
  font-size: 11px;
  font-weight: 600;
}
.lead-form .lead-error {
  font-size: 10px;
  line-height: 1.5;
  color: #ac3558;
  margin: 7px 0 0;
}
.lead-sheet .main-button.lead-submit {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 51px;
  padding: 14px 33px;
  background: linear-gradient(105deg, #a63467, #cc6d8a 64%, #e6a297);
  border: 1px solid #c86586;
  border-radius: 13px;
  color: #fff7fb;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px #b5517c20;
  margin: 0;
}
.lead-submit svg {
  position: absolute;
  right: 15px;
  width: 17px;
  height: 17px;
}
.lead-success {
  padding: 5px 0 0;
}
.lead-success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #d5b4c8;
  border-radius: 50%;
  background: #ead4e2;
  color: #9a4771;
  margin: 7px 0 16px;
}
.lead-success-icon svg {
  width: 26px;
  height: 26px;
}
.lead-sheet .lead-success p {
  color: #947080;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 24px;
}
.lead-form[hidden],
.lead-success[hidden],
.lead-contact-panel[hidden],
.lead-error[hidden] {
  display: none;
}
@keyframes lead-enter {
  from {
    transform: translateY(22px);
    opacity: 0.7;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 350px) {
  .modal-card.lead-sheet {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lead-phone-row {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .modal-card.lead-sheet h2,
  html[lang="zh-CN"] .modal-card.lead-sheet h2 {
    font-size: 25px;
  }
  .lead-profile-card {
    gap: 9px;
    padding: 9px;
  }
  .lead-close {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
  }
  .lead-back {
    margin-top: 9px;
  }
  .lead-form {
    gap: 14px;
  }
}
@media (max-height: 710px) {
  .lead-back {
    margin-top: 8px;
  }
  .modal-card.lead-sheet .lead-intro {
    margin-bottom: 17px;
  }
  .lead-form {
    gap: 13px;
  }
}

/* Mobile / multilingual finishing. Keep these overrides easy to edit. */
.scene {
  padding-bottom: 0;
}
.film-nav .nav-left {
  min-width: 0;
}
.film .locale-select,
.gate-hero .locale-select {
  max-width: 55%;
  min-width: 0;
  font-size: 16px;
  height: 42px;
  text-overflow: ellipsis;
  padding-left: 9px;
  padding-right: 7px;
}
.gate-thumb {
  height: 94px;
  aspect-ratio: auto;
}
.gate-thumb img {
  height: 100%;
  width: 100%;
}
.gate-hero-copy {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.gate-hero-copy h1 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.gate-badge {
  max-width: 100%;
  background: #452937b0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.gate-badge > span {
  flex: none;
  margin-right: 6px;
}
.gate-card {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.visual-grain {
  display: none;
}
.visual-photo {
  animation: none;
}
.guide .visual-photo {
  filter: none;
  opacity: 0.16;
  transform: none;
}
.modal {
  background: #180e19bc;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.lead-sheet {
  -webkit-overflow-scrolling: touch;
}
.lead-phone-row {
  grid-template-columns: 85px minmax(0, 1fr);
}
.lead-phone-row select {
  font-size: 16px;
}
.guide-demo img {
  height: auto;
}
.guide-heading h1 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.guide-demo figcaption {
  flex-wrap: wrap;
}
.guide-demo figcaption > div button + button {
  margin-left: 5px;
}
.lead-profile-card {
  min-width: 0;
}
.lead-profile-card > div {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.lead-profile-card img {
  flex: none;
  margin-right: 10px;
}
.lead-back svg,
.contact-switch svg {
  margin-right: 8px;
}
.lead-top .lead-close {
  margin-left: 8px;
}
.safari-proof-number {
  margin-right: 10px;
}
.safari-preparation-top {
  align-items: flex-start;
}
.safari-chip {
  max-width: 52%;
}
.main-button svg {
  flex: none;
}
html[dir="rtl"] .film-nav,
html[dir="rtl"] .gate-thumbnails {
  direction: ltr;
}
html[dir="rtl"] .locale-select {
  direction: rtl;
}
html[dir="rtl"] .gate-hero-copy,
html[dir="rtl"] .gate-card,
html[dir="rtl"] .lead-sheet {
  text-align: right;
}
html[dir="rtl"] .main-button svg,
html[dir="rtl"] .lead-back svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .lead-submit svg {
  right: auto;
  left: 15px;
}
html[dir="rtl"] .lead-profile-card img,
html[dir="rtl"] .safari-proof-number {
  margin-left: 10px;
  margin-right: 0;
}
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] #leadCountry {
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] .animated-steps li:before {
  margin-left: 12px;
  margin-right: 0;
}
@media (max-width: 350px) {
  .gate-thumb {
    height: 78px;
  }
  .gate-hero .wordmark {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .gate-stats strong {
    font-size: 16px;
  }
  .gate-benefits > div {
    grid-template-columns: 1fr;
  }
  .gate-benefits > div > div {
    text-align: start;
    padding: 10px;
  }
  .gate-benefits p {
    font-size: 11px;
  }
  .gate-hero .film-nav {
    margin-left: 12px;
    margin-right: 12px;
  }
}
@media (max-height: 450px) {
  .modal-card.lead-sheet {
    max-height: 94vh;
    border-radius: 15px;
  }
  .lead-modal {
    align-items: end;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lead-sheet,
  .photo-change {
    animation: none;
  }
  .safari-progress-fill {
    transition: none;
  }
}
