:root {
  color-scheme: dark;
  --page: #050507;
  --phone: #09090d;
  --surface: #111116;
  --surface-2: #19191f;
  --surface-3: #23232a;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f8f8fb;
  --muted: #a7a7b2;
  --subtle: #74747f;
  --pink: #ff466a;
  --violet: #8d35ef;
  --whatsapp: #38c964;
  --danger: #ff4f56;
  --gradient: linear-gradient(105deg, var(--pink) 0%, #e7399f 52%, var(--violet) 100%);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-phone: 0 32px 100px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--page);
  color: var(--text);
}

body {
  min-height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(174, 97, 255, 0.48);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
}

[hidden] {
  display: none !important;
}

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

.experience {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 22px;
  overflow: clip;
  background:
    radial-gradient(circle at 84% 92%, rgba(255, 44, 126, 0.18), transparent 34%),
    radial-gradient(circle at 18% 8%, rgba(117, 43, 232, 0.12), transparent 30%),
    #050507;
}

.phone {
  position: relative;
  width: min(100%, 430px);
  height: min(900px, calc(100dvh - 44px));
  min-height: 620px;
  overflow: hidden;
  background: var(--phone);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  box-shadow: var(--shadow-phone);
}

.brand-word {
  display: inline-block;
  margin: 0;
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 31px;
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-word--small {
  font-size: 24px;
}

.verified {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #b952ff, #6534ee);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(121, 48, 239, 0.34);
}

.identity-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.identity-line h1,
.identity-line h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.eyebrow {
  margin: 0 0 8px;
  color: #f45a87;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-button,
.whatsapp-button,
.secondary-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 780;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.primary-button {
  background: var(--gradient);
  box-shadow: 0 14px 34px rgba(224, 52, 130, 0.2);
}

.primary-button:disabled {
  background: #34343b;
  color: #a8a8b0;
  box-shadow: none;
  opacity: 0.9;
}

.primary-button:active:not(:disabled),
.whatsapp-button:active:not(:disabled),
.secondary-button:active:not(:disabled) {
  transform: scale(0.985);
}

.primary-button:hover:not(:disabled),
.whatsapp-button:hover:not(:disabled) {
  filter: brightness(1.06);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
}

/* Safari 前 */

.phone--preview {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.preview-topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  min-height: 74px;
  padding: max(14px, env(safe-area-inset-top)) 20px 10px;
}

.preview-topbar .brand-word {
  grid-column: 2;
  justify-self: start;
}

.preview-back {
  grid-column: 1;
  width: 36px;
  height: 36px;
  background: transparent;
}

.journey-dots {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.journey-dots span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 180ms ease, background 180ms ease;
}

.journey-dots span.is-active {
  width: 22px;
  background: var(--gradient);
}

.stage-stack {
  position: relative;
  min-height: 0;
  overflow: clip;
}

.stage-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0 22px max(18px, env(safe-area-inset-bottom));
  overflow: hidden;
  animation: stage-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.preview-profile-card {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
  cursor: grab;
  user-select: none;
}

.preview-profile-card > img,
.continue-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 52%;
}

.preview-profile-card > img,
.profile-hero > img,
.gate-profile-roster img,
.profile-roster img {
  -webkit-user-drag: none;
  user-select: none;
}

.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 9, 0.02) 42%, rgba(6, 6, 9, 0.92) 100%);
  pointer-events: none;
}

.nearby-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 91, 124, 0.18);
  border-radius: 999px;
  background: rgba(26, 15, 23, 0.82);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 12px;
  font-weight: 680;
}

.nearby-badge span {
  color: #ff5273;
  font-size: 10px;
}

.profile-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.profile-overlay h1 {
  font-size: clamp(32px, 8.6vw, 40px);
}

.profile-overlay p,
.profile-hero-copy > p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.profile-intro {
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 4px 14px;
  color: #e7e7eb;
  font-size: 16px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gate-profile-roster {
  flex: 0 0 auto;
  padding: 11px 0 9px;
  overflow: hidden;
}

.gate-profile-roster-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  padding-inline: 2px;
}

.gate-profile-roster-heading strong {
  color: #ededf2;
  font-size: 12px;
  font-weight: 720;
}

.gate-profile-roster-heading span {
  color: var(--subtle);
  font-size: 10px;
}

.gate-profile-roster-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: inline proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.gate-profile-roster-list::-webkit-scrollbar {
  display: none;
}

.gate-profile-roster button {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 44px;
  padding: 4px 11px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #15151b;
  color: var(--text);
  scroll-snap-align: start;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.gate-profile-roster button:active {
  transform: scale(0.98);
}

.gate-profile-roster button[aria-pressed="true"] {
  border-color: #ef458f;
  background: rgba(239, 69, 143, 0.12);
  box-shadow: 0 0 0 2px rgba(141, 53, 239, 0.16);
}

.gate-profile-roster button img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.gate-profile-roster button span {
  font-size: 12px;
  font-weight: 680;
}

.button-footnote,
.safari-footnote {
  margin: 10px 0 0;
  color: var(--subtle);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.stage-heading {
  padding: 28px 2px 18px;
}

.stage-heading h1,
.continue-copy h1 {
  margin: 0;
  font-size: clamp(32px, 8.5vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.stage-heading > p:last-child,
.continue-copy > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.objective-list {
  display: grid;
  gap: 10px;
}

.objective-card {
  display: grid;
  grid-template-columns: 48px 1fr 25px;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 82px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: #fff;
  text-align: left;
}

.objective-card.is-selected {
  border-color: #e347a6;
  box-shadow: inset 0 0 0 1px rgba(139, 53, 239, 0.45), 0 10px 30px rgba(148, 43, 178, 0.12);
}

.objective-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff4169, #8133ec);
  font-size: 20px;
}

.objective-card strong {
  font-size: 16px;
  font-weight: 720;
}

.choice-indicator {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
}

.objective-card.is-selected .choice-indicator {
  border-color: transparent;
  background: #f44e7d;
}

.stage-actions {
  margin-top: auto;
  padding-top: 14px;
}

.text-button {
  display: block;
  min-height: 42px;
  margin: 6px auto 0;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.continue-media {
  display: grid;
  grid-template-rows: minmax(230px, 1fr) 112px;
  gap: 10px;
  min-height: 0;
  max-height: 54%;
}

.continue-main-photo {
  min-height: 0;
  border-radius: 22px;
}

.locked-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.locked-preview-grid > span {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}

.locked-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.62);
  transform: scale(1.12);
}

.locked-preview-grid b {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.72);
  transform: translate(-50%, -50%);
  font-size: 15px;
}

.continue-copy {
  padding: 18px 2px 0;
}

.continue-copy h1 {
  font-size: clamp(28px, 7.4vw, 36px);
}

/* Safari 后资料页 */

.phone--profile {
  background: #09090d;
}

.profile-topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: max(14px, env(safe-area-inset-top)) 18px 10px;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.95), rgba(5, 5, 8, 0.72), transparent);
}

.verified-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 620;
}

.verified-label .verified,
.success-profile .verified {
  width: 16px;
  height: 16px;
  font-size: 9px;
}

.profile-scroll {
  position: absolute;
  inset: 0;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.profile-scroll::-webkit-scrollbar {
  display: none;
}

.profile-hero {
  position: relative;
  height: clamp(510px, 69svh, 660px);
  overflow: hidden;
  background: var(--surface);
  cursor: grab;
  user-select: none;
}

.profile-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 52%;
}

.profile-hero .photo-shade {
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.06) 40%, rgba(5, 5, 8, 0.98) 100%);
}

.profile-hero-copy {
  position: absolute;
  right: 20px;
  bottom: 24px;
  left: 20px;
}

.profile-hero-copy h1 {
  font-size: clamp(35px, 9vw, 44px);
}

.profile-roster {
  padding: 12px 18px 11px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #09090d;
}

.profile-roster-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.profile-roster-heading strong {
  color: #ededf2;
  font-size: 12px;
  font-weight: 720;
}

.profile-roster-heading span {
  color: var(--subtle);
  font-size: 10px;
}

.profile-roster-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: inline proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.profile-roster-list::-webkit-scrollbar {
  display: none;
}

.profile-roster button {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 48px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #15151b;
  color: var(--text);
  scroll-snap-align: start;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.profile-roster button:active {
  transform: scale(0.98);
}

.profile-roster button[aria-pressed="true"] {
  border-color: #ef458f;
  background: rgba(239, 69, 143, 0.12);
  box-shadow: 0 0 0 2px rgba(141, 53, 239, 0.16);
}

.profile-roster button.has-interest::after {
  content: "✓";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}

.profile-roster button img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-roster button span {
  font-size: 12px;
  font-weight: 680;
}

.chip-row {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f2f5;
  font-size: 12px;
  font-weight: 630;
}

.chip-row--wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.profile-section {
  padding: 24px 20px 0;
}

.profile-section h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.035em;
}

.profile-section > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #c6c6ce;
  font-size: 15px;
  line-height: 1.6;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title-row > span {
  color: var(--subtle);
  font-size: 12px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.photo-grid button {
  aspect-ratio: 0.74;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.photo-grid button:active img {
  transform: scale(1.035);
}

.prompt-card {
  margin: 25px 20px 28px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 70, 106, 0.1), rgba(141, 53, 239, 0.1));
}

.prompt-card h2 {
  font-size: 19px;
  line-height: 1.45;
}

.sticky-action {
  position: absolute;
  z-index: 24;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 18px max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(9, 9, 13, 0.92) 18%, #09090d 48%);
}

/* 加载 */

.loading-layer {
  position: absolute;
  z-index: 60;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #09090d;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.loading-layer.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.profile-skeleton {
  position: absolute;
  inset: 72px 18px 118px;
}

.skeleton,
.skeleton-chips span {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #1d1d23;
}

.skeleton::after,
.skeleton-chips span::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.2s infinite;
}

.skeleton-photo {
  height: 58%;
}

.skeleton-title {
  width: 55%;
  height: 28px;
  margin-top: 18px;
}

.skeleton-line {
  width: 40%;
  height: 16px;
  margin-top: 11px;
}

.skeleton-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.skeleton-chips span {
  height: 36px;
}

.spinner {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(173, 74, 238, 0.22);
  border-top-color: #d848c2;
  border-radius: 50%;
  animation: spin 720ms linear infinite;
}

.loading-layer p {
  position: relative;
  z-index: 2;
  margin: 13px 0 0;
  font-size: 14px;
  font-weight: 650;
}

/* 弹层与表单 */

.modal-layer {
  position: absolute;
  z-index: 80;
  inset: 0;
  background: rgba(3, 3, 6, 0.76);
  backdrop-filter: blur(8px);
  animation: fade-in 180ms ease both;
}

.gallery-viewer {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #050507;
}

.gallery-topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: max(14px, env(safe-area-inset-top)) 16px 10px;
}

.gallery-topbar > span {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}

.gallery-viewer > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.gallery-bottom {
  padding: 16px 18px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.94) 22%);
}

.gallery-bottom .identity-line {
  margin-bottom: 13px;
}

.gallery-bottom h2 {
  font-size: 28px;
}

.contact-layer {
  display: flex;
  align-items: flex-end;
}

.contact-sheet {
  position: relative;
  width: 100%;
  max-height: min(88dvh, 770px);
  padding: 17px 18px max(22px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(155deg, #202025, #111115 68%);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.58);
  animation: sheet-up 280ms cubic-bezier(0.2, 0.84, 0.2, 1) both;
}

.sheet-handle {
  display: block;
  width: 45px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.36);
}

.sheet-close {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #d5d5da;
  font-size: 22px;
}

.contact-sheet h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.045em;
}

.sheet-intro {
  margin: 9px 0 17px;
  color: #d1d1d7;
  font-size: 14px;
  line-height: 1.55;
}

.field-label {
  display: block;
  margin: 14px 0 7px;
  color: #d8d8de;
  font-size: 12px;
  font-weight: 650;
}

.field-label span {
  color: var(--subtle);
  font-weight: 500;
}

.phone-input,
.text-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.phone-input {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
}

.phone-input > span {
  font-size: 14px;
}

.phone-input input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  outline: 0;
  font-size: 15px;
}

.text-input {
  padding: 0 13px;
  outline: 0;
  font-size: 15px;
}

.phone-input:focus-within,
.text-input:focus {
  border-color: #ad5af5;
  box-shadow: 0 0 0 3px rgba(162, 72, 244, 0.12);
}

.phone-input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(255, 79, 86, 0.09);
}

input::placeholder {
  color: #707079;
}

.field-error,
.submit-error {
  margin: 6px 0 0;
  color: #ff676d;
  font-size: 12px;
  line-height: 1.4;
}

.submit-error {
  padding: 9px 11px;
  border: 1px solid rgba(255, 79, 86, 0.24);
  border-radius: 11px;
  background: rgba(255, 79, 86, 0.08);
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 9px;
  margin-top: 16px;
  color: #c1c1c9;
  font-size: 12px;
  line-height: 1.55;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--whatsapp);
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 17px;
  background: linear-gradient(105deg, #2fbb58, #4dcb6d);
  box-shadow: 0 14px 32px rgba(49, 196, 91, 0.2);
}

.whatsapp-button:disabled {
  background: #46464d;
  color: #b7b7bd;
  box-shadow: none;
  opacity: 0.72;
}

.whatsapp-button.is-submitting .whatsapp-mark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  color: transparent;
  animation: spin 720ms linear infinite;
}

.whatsapp-mark {
  font-size: 22px;
}

.privacy-note {
  margin: 11px 0 0;
  color: #9b9ba5;
  text-align: center;
  font-size: 12px;
}

.success-view {
  min-height: 520px;
  padding: 38px 0 0;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border: 3px solid var(--whatsapp);
  border-radius: 50%;
  color: var(--whatsapp);
  font-size: 34px;
}

.success-view > p {
  max-width: 330px;
  margin: 12px auto 0;
  color: #c9c9d0;
  font-size: 14px;
  line-height: 1.6;
}

.success-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.success-profile img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.success-profile strong,
.success-profile span {
  display: block;
}

.success-profile strong {
  display: flex;
  align-items: center;
  gap: 5px;
}

.success-profile strong [data-success-profile-name] {
  display: inline;
}

.success-profile strong .verified {
  display: inline-grid;
}

.success-profile strong {
  font-size: 15px;
}

.success-profile div > span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.demo-notice {
  padding: 9px 11px;
  border: 1px solid rgba(255, 184, 76, 0.2);
  border-radius: 12px;
  background: rgba(255, 184, 76, 0.08);
  color: #e9c98c !important;
  font-size: 11px !important;
}

.secondary-button {
  margin-top: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

@keyframes stage-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheet-up {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  from { transform: translateX(-140%); }
  to { transform: translateX(330%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .experience {
    display: block;
    padding: 0;
    background: var(--phone);
  }

  .phone {
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .modal-layer {
    position: fixed;
  }
}

@media (max-height: 730px) {
  .preview-topbar {
    min-height: 60px;
    padding-top: max(8px, env(safe-area-inset-top));
  }

  .brand-word {
    font-size: 27px;
  }

  .stage-panel {
    padding-inline: 18px;
  }

  .profile-intro {
    margin-block: 8px;
    font-size: 14px;
  }

  .gate-profile-roster {
    padding-block: 7px 6px;
  }

  .gate-profile-roster-heading {
    margin-bottom: 5px;
  }

  .gate-profile-roster button {
    min-height: 42px;
  }

  .gate-profile-roster button img {
    width: 32px;
    height: 32px;
  }

  .primary-button,
  .whatsapp-button,
  .secondary-button {
    min-height: 50px;
  }

  .button-footnote {
    margin-top: 6px;
  }

  .stage-heading {
    padding-top: 15px;
  }

  .objective-card {
    min-height: 67px;
  }

  .objective-icon {
    width: 42px;
    height: 42px;
  }

  .continue-media {
    grid-template-rows: minmax(150px, 1fr) 84px;
    max-height: 46%;
  }

  .profile-hero {
    height: 72svh;
  }

  .profile-roster {
    padding-block: 9px;
  }

  .profile-roster-heading {
    margin-bottom: 6px;
  }

  .profile-roster button {
    min-height: 44px;
  }

  .profile-roster button img {
    width: 34px;
    height: 34px;
  }
}

@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;
  }
}
