/* you.loveme.space authentication theme. Scoped by body.you-auth-live. */
body.you-auth-live {
  --you-bg: #f6f3ec;
  --you-paper: #fffdf9;
  --you-ink: #211e33;
  --you-muted: #6f6a7e;
  --you-faint: #9b96aa;
  --you-line: rgba(33, 30, 51, .12);
  --you-peach: #ff9d6f;
  --you-rose: #f2738f;
  --you-lilac: #9f8cf2;
  --you-mint: #4cc9a6;
  --you-gold: #bd852c;
  --you-gradient: linear-gradient(105deg, var(--you-peach), var(--you-rose) 33%, var(--you-lilac) 67%, var(--you-mint));
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--you-bg);
  color: var(--you-ink);
}

body.you-auth-live .you-auth-shell {
  display: grid !important;
  min-height: 100dvh !important;
  grid-template-columns: minmax(500px, 1.05fr) minmax(500px, .95fr);
  align-items: stretch !important;
  justify-content: stretch !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: var(--you-paper) !important;
}

body.you-auth-live .you-auth-shell > .absolute { display: none !important; }

.you-auth-brand-stage {
  position: relative;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 4vw, 62px);
  border-right: 1px solid rgba(33, 30, 51, .07);
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, .94), transparent 34%),
    linear-gradient(145deg, #f9f6ef 0%, #f2eee5 58%, #f7f4ed 100%);
}

.you-auth-brand-stage::before,
.you-auth-brand-stage::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  animation: you-auth-drift 11s ease-in-out infinite alternate;
}

.you-auth-brand-stage::before {
  width: min(610px, 52vw);
  height: min(610px, 52vw);
  top: 30%;
  left: 18%;
  background: radial-gradient(circle at 38% 40%, rgba(255, 157, 111, .44), rgba(242, 115, 143, .12) 48%, rgba(159, 140, 242, .14) 62%, transparent 74%);
}

.you-auth-brand-stage::after {
  width: min(390px, 34vw);
  height: min(390px, 34vw);
  left: -8%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(76, 201, 166, .25), transparent 68%);
  animation-delay: -6s;
}

.you-auth-brand-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: var(--you-ink);
  text-decoration: none;
}

.you-auth-brand-link img { width: 40px; height: 40px; filter: drop-shadow(0 12px 16px rgba(192, 138, 46, .18)); }
.you-auth-brand-link span { display: flex; flex-direction: column; }
.you-auth-brand-link strong { font-size: 16px; font-weight: 850; letter-spacing: 0; }
.you-auth-brand-link small { margin-top: 3px; color: var(--you-faint); font-size: 8px; font-weight: 700; letter-spacing: .2em; }

.you-auth-brand-copy {
  position: relative;
  z-index: 2;
  width: min(700px, 94%);
  margin: clamp(94px, 14vh, 164px) auto 0;
}

.you-auth-brand-copy p:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--you-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}

.you-auth-brand-copy p:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--you-mint);
  box-shadow: 0 0 0 6px rgba(76, 201, 166, .12);
}

.you-auth-brand-copy h2 {
  margin: 0;
  color: var(--you-ink);
  font-size: clamp(44px, 4.3vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.you-auth-brand-copy h2 span {
  background: var(--you-gradient);
  background-clip: text;
  color: transparent;
}

.you-auth-brand-copy p:last-child {
  width: min(610px, 92%);
  margin: 28px 0 0;
  color: var(--you-muted);
  font-size: 15px;
  line-height: 1.95;
}

.you-auth-route {
  position: relative;
  width: min(500px, 72%);
  aspect-ratio: 2;
  margin: auto auto clamp(48px, 8vh, 82px);
  border: 1px dashed rgba(33, 30, 51, .15);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.you-auth-route::before {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(33, 30, 51, .16);
  border-radius: 50%;
}

.you-auth-route-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 26px;
  background: rgba(255, 253, 249, .86);
  box-shadow: 0 26px 50px -18px rgba(33, 30, 51, .36);
  transform: translate(-50%, -50%) rotate(4deg);
  backdrop-filter: blur(14px);
}

.you-auth-route-center img { width: 46px; height: 46px; }
.you-auth-route-node {
  position: absolute;
  z-index: 3;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background: rgba(255, 253, 249, .82);
  box-shadow: 0 16px 34px -22px rgba(33, 30, 51, .52);
  color: var(--you-ink);
  font-size: 11px;
  font-weight: 750;
  transform: rotate(4deg);
  backdrop-filter: blur(12px);
}
.you-auth-route-node:nth-of-type(1) { top: 8%; left: 7%; }
.you-auth-route-node:nth-of-type(2) { top: 28%; right: 1%; }
.you-auth-route-node:nth-of-type(3) { bottom: 2%; left: 18%; }

.you-auth-brand-foot {
  display: flex;
  justify-content: space-between;
  color: var(--you-faint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.you-auth-brand-foot span:first-child::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--you-mint);
  box-shadow: 0 0 0 5px rgba(76, 201, 166, .12);
}

body.you-auth-live .you-auth-panel {
  position: relative !important;
  z-index: 1 !important;
  display: flex;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 6vw, 82px) !important;
  background:
    radial-gradient(circle at 88% 4%, rgba(242, 115, 143, .09), transparent 28%),
    radial-gradient(circle at 0 92%, rgba(76, 201, 166, .08), transparent 30%),
    var(--you-paper);
}

body.you-auth-live .you-auth-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--you-gradient);
}

body.you-auth-live .you-auth-mobile-brand { display: none; }

body.you-auth-live .you-auth-card {
  width: min(100%, 440px);
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.you-auth-live .you-auth-card > div > .text-center:first-child { margin-bottom: 34px; text-align: left !important; }
body.you-auth-live .you-auth-card h2 {
  color: var(--you-ink) !important;
  font-size: clamp(34px, 4vw, 46px) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}
body.you-auth-live .you-auth-card h2::before {
  content: attr(data-you-label);
  display: block;
  margin-bottom: 12px;
  color: var(--you-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
}
body.you-auth-live .you-auth-card h2 + p { margin-top: 14px !important; color: var(--you-muted) !important; font-size: 14px !important; line-height: 1.7; }

body.you-auth-live .you-auth-card form { gap: 20px; }
body.you-auth-live .you-auth-card .input-label { margin-bottom: 8px; color: var(--you-ink) !important; font-size: 13px; font-weight: 750; }
body.you-auth-live .you-auth-card .input {
  height: 56px !important;
  border: 1px solid var(--you-line) !important;
  border-radius: 16px !important;
  background: rgba(246, 243, 236, .62) !important;
  color: var(--you-ink) !important;
  font-size: 16px !important;
  box-shadow: none !important;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease !important;
}
body.you-auth-live .you-auth-card .input:hover { border-color: rgba(33, 30, 51, .24) !important; background: rgba(255, 255, 255, .84) !important; }
body.you-auth-live .you-auth-card .input:focus { border-color: rgba(189, 133, 44, .72) !important; background: white !important; box-shadow: 0 0 0 4px rgba(189, 133, 44, .1) !important; }
body.you-auth-live .you-auth-card .input::placeholder { color: #aaa5b3 !important; }

body.you-auth-live .you-auth-card .btn-primary {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--you-ink) !important;
  box-shadow: 0 18px 36px -18px rgba(33, 30, 51, .58) !important;
  color: white !important;
  font-size: 15px;
  font-weight: 750;
  transition: transform 240ms ease, box-shadow 240ms ease !important;
}
body.you-auth-live .you-auth-card .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -18px rgba(159, 140, 242, .48) !important; }
body.you-auth-live .you-auth-card .btn-primary:active { transform: scale(.985); }

body.you-auth-live .you-auth-switch { width: min(100%, 440px); margin-top: 28px !important; color: var(--you-muted) !important; }
body.you-auth-live .you-auth-switch a { color: var(--you-ink) !important; font-weight: 800 !important; text-decoration: underline; text-decoration-color: rgba(242, 115, 143, .56); text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.you-auth-live .you-auth-footer { width: min(100%, 440px); margin-top: 48px !important; color: var(--you-faint) !important; }

body.you-auth-live .you-auth-card button,
body.you-auth-live .you-auth-card a,
body.you-auth-live .you-auth-card input { min-height: 44px; }
body.you-auth-live :focus-visible { outline: 3px solid rgba(159, 140, 242, .42) !important; outline-offset: 3px; }

@keyframes you-auth-drift {
  from { transform: translate3d(-2%, 0, 0) scale(.96); }
  to { transform: translate3d(4%, -5%, 0) scale(1.07); }
}

@media (max-width: 960px) {
  body.you-auth-live .you-auth-shell { display: block !important; }
  .you-auth-brand-stage { display: none; }
  body.you-auth-live .you-auth-panel {
    min-height: 100dvh;
    align-items: stretch;
    justify-content: flex-start;
    padding: max(28px, env(safe-area-inset-top)) 18px max(34px, env(safe-area-inset-bottom)) !important;
    background:
      radial-gradient(circle at 80% 9%, rgba(242, 115, 143, .12), transparent 32%),
      radial-gradient(circle at 10% 88%, rgba(76, 201, 166, .12), transparent 32%),
      var(--you-bg);
  }
  body.you-auth-live .you-auth-mobile-brand {
    display: block;
    width: min(100%, 440px);
    margin: 0 auto clamp(58px, 11vh, 100px) !important;
    text-align: left !important;
    cursor: pointer;
  }
  body.you-auth-live .you-auth-mobile-brand > div { display: inline-flex !important; width: 40px !important; height: 40px !important; margin: 0 12px 0 0 !important; vertical-align: middle; border-radius: 12px !important; box-shadow: none !important; }
  body.you-auth-live .you-auth-mobile-brand h1 { display: inline-block; margin: 0 !important; color: var(--you-ink) !important; font-size: 16px !important; font-weight: 850 !important; vertical-align: middle; letter-spacing: 0 !important; }
  body.you-auth-live .you-auth-mobile-brand > p { display: none; }
  body.you-auth-live .you-auth-card,
  body.you-auth-live .you-auth-switch,
  body.you-auth-live .you-auth-footer { margin-right: auto !important; margin-left: auto !important; }
  body.you-auth-live .you-auth-footer { margin-top: auto !important; padding-top: 48px; text-align: left !important; }
}

@media (max-width: 520px) {
  body.you-auth-live .you-auth-card > div > .text-center:first-child { margin-bottom: 28px; }
  body.you-auth-live .you-auth-card h2 { font-size: 36px !important; }
  body.you-auth-live .you-auth-mobile-brand { margin-bottom: 9vh !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.you-auth-live *, body.you-auth-live *::before, body.you-auth-live *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
