.hero-orbit {
  isolation: isolate;
  font-size: initial;
  filter: none;
}

.hero-orbit .hero-globe {
  position: relative;
  inset: auto;
  z-index: 2;
  color: initial;
  font-size: 140px;
  line-height: 1;
  text-shadow: none;
  filter: drop-shadow(0 16px 20px #13000a88);
}

.orbit-path {
  position: absolute;
  z-index: 1;
  width: 235px;
  height: 105px;
  border: 2px solid transparent;
  border-top-color: #f4bd5570;
  border-bottom-color: #ff9dbd4d;
  border-radius: 50%;
  transform: rotate(-13deg);
  filter: drop-shadow(0 0 7px #ffbf5b88);
}

.hero-orbit .orbit-heart {
  position: absolute;
  inset: auto;
  z-index: 3;
  color: #ff315d;
  font: 900 58px/1 sans-serif;
  text-shadow: 0 0 18px #ffb4c5;
  animation: love-orbit 4.2s linear infinite;
  will-change: transform;
}

@keyframes love-orbit {
  0% { transform: translate(-122px,-6px) scale(.82); z-index: 3; }
  12% { transform: translate(-88px,-48px) scale(.78); z-index: 1; }
  25% { transform: translate(0,-68px) scale(.76); z-index: 1; }
  38% { transform: translate(88px,-48px) scale(.82); z-index: 1; }
  50% { transform: translate(122px,0) scale(.96); z-index: 3; }
  63% { transform: translate(88px,50px) scale(1.08); z-index: 3; }
  75% { transform: translate(0,69px) scale(1.16); z-index: 3; }
  88% { transform: translate(-88px,48px) scale(1.04); z-index: 3; }
  100% { transform: translate(-122px,-6px) scale(.82); z-index: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit, .hero-orbit .orbit-heart { animation: none; }
  .hero-orbit .orbit-heart { transform: translate(105px,18px) scale(1); }
}

@media (max-width: 470px) {
  .hero-orbit .hero-globe { font-size: 125px; }
  .orbit-path { width: 215px; height: 96px; }
}

@media (max-height: 740px) {
  .hero-orbit .hero-globe { font-size: 105px; }
  .orbit-path { width: 185px; height: 82px; }
  .hero-orbit .orbit-heart { font-size: 48px; }
}

.brand .globe {
  width: 38px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
}

.brand .globe::after {
  content: "";
  position: absolute;
  width: 43px;
  height: 17px;
  border: 1px solid transparent;
  border-top-color: #f4bd55aa;
  border-bottom-color: #ff7395aa;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.brand .mini-world {
  position: relative;
  z-index: 2;
  line-height: 1;
}

.brand .globe em {
  right: auto;
  bottom: auto;
  z-index: 3;
  font-size: 14px;
  animation: mini-love-orbit 3.2s linear infinite;
  will-change: transform, filter;
}

@keyframes mini-love-orbit {
  0% { transform: translate(-23px,-2px) scale(.65); filter: brightness(.7); z-index: 1; }
  25% { transform: translate(0,-13px) scale(.8); filter: brightness(.9); z-index: 1; }
  50% { transform: translate(23px,0) scale(1.06); filter: brightness(1.12); z-index: 3; }
  75% { transform: translate(0,14px) scale(1.2); filter: brightness(1.18); z-index: 3; }
  100% { transform: translate(-23px,-2px) scale(.65); filter: brightness(.7); z-index: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .brand .globe em { animation: none; transform: translate(21px,8px); }
}

.age-error {
  margin: -3px 0 0;
  padding: 12px 14px;
  border: 1px solid #ed174f;
  border-radius: 12px;
  background: #fff0f4;
  color: #9c0833;
  font-size: 14px;
  line-height: 1.45;
}

.age-error strong { color: #d6003f; }

.password-field {
  position: relative;
  display: block;
}

.password-field input { padding-right: 54px; }

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.password-hint {
  margin: -10px 2px 0;
  color: #806776;
  font-size: 12px;
  line-height: 1.4;
}

.password-error {
  margin: -4px 0 0;
  padding: 11px 13px;
  border: 1px solid #ed174f;
  border-radius: 12px;
  background: #fff0f4;
  color: #9c0833;
  font-size: 14px;
  line-height: 1.45;
}

.phone-field {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px;
}

.phone-field select { padding: 0 9px; }

.photo-actions { display: grid; gap: 7px; }
.photo-actions button { width: 100%; }
.remove-photo { border: 0; background: #fff0f4; color: #a10e3d; border-radius: 10px; padding: 8px 11px; font-weight: 800; cursor: pointer; }
.profile-identity .remove-photo { display: block; margin-top: 7px; }
.remove-photo[hidden] { display: none; }

.birth-date-fields {
  display: grid;
  grid-template-columns: .8fr 1.25fr 1fr;
  gap: 8px;
}

.birth-date-fields select { padding: 0 10px; }

.duplicate-error {
  padding: 13px 14px;
  border: 1px solid #ed174f;
  border-radius: 13px;
  background: #fff0f4;
  color: #790426;
  font-size: 14px;
  line-height: 1.45;
}

.duplicate-error strong,
.duplicate-error span { display: block; }

.duplicate-error button,
.text-button {
  margin-top: 9px;
  border: 0;
  background: transparent;
  color: #d6004a;
  padding: 2px 0;
  font: 800 14px inherit;
  text-decoration: underline;
  cursor: pointer;
}

.prototype-code {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid #f4bd55;
  border-radius: 13px;
  background: #fff8df;
  color: #6a4300;
  font-size: 14px;
}

#contactVerify .intro strong { color: #350020; }

.recovery-success {
  margin-top: 26px;
  padding: 24px 18px;
  border: 1px solid #24a98f;
  border-radius: 20px;
  background: #effcf8;
  text-align: center;
}

.recovery-success > b {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #18a38e;
  color: white;
  display: grid;
  place-items: center;
  font-size: 26px;
}

.recovery-success h3 {
  margin: 0 0 7px;
  font: 700 22px Georgia, serif;
}

.recovery-success p {
  margin: 0 0 18px;
  color: #576b66;
  font-size: 14px;
}

.welcome-link {
  border: 0;
  background: transparent;
  color: #f4bd55;
  padding: 5px;
  font: 800 14px inherit;
  cursor: pointer;
  text-decoration: underline;
}

.login-join {
  margin: 22px 0 0;
  text-align: center;
  color: #806776;
  font-size: 14px;
}

.topbar-actions { display:flex; align-items:center; gap:7px; }
.sign-out { border:1px solid #ffffff55; border-radius:99px; background:#ffffff12; color:white; padding:6px 9px; font:700 10px inherit; cursor:pointer; }
.email-confirmation { margin:18px 0; padding:22px 18px; border:1px solid #24a98f; border-radius:18px; background:#effcf8; text-align:center; }
.email-confirmation>b { display:grid; place-items:center; width:50px; height:50px; margin:0 auto 11px; border-radius:50%; background:#18a38e; color:white; font-size:23px; }
.email-confirmation h3 { margin:0 0 8px; font:700 22px Georgia,serif; }
.email-confirmation p { margin:6px 0; color:#576b66; font-size:14px; line-height:1.5; }
.primary[disabled] { opacity:.65; cursor:wait; }

.login-join button {
  border: 0;
  background: transparent;
  color: #d6004a;
  padding: 0;
  font: 800 14px inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 370px) {
  .phone-field { grid-template-columns: 100px 1fr; }
}
