#login-overlay {
  position: fixed; inset: 0; z-index: 999999;
  background: linear-gradient(160deg, var(--c-splash1) 0%, var(--c-splash2) 55%, var(--c-splash3) 100%);
  display: none; align-items: center; justify-content: center;
  padding: 24px; transition: opacity .4s ease;
}
.s-auth-card {
  background: #fff; border-radius: 24px; border: 1px solid var(--c-border);
  box-shadow: 0 8px 40px rgba(107,66,38,.15); padding: 36px 28px;
  width: 100%; max-width: 380px; animation: fadeSlideIn .5s ease both;
}
.s-auth-logo { font-size: 32px; margin-bottom: 10px; animation: floatUpDown 3s ease-in-out infinite; text-align: center; }
.s-auth-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 26px; font-weight: 700; color: var(--c-his); line-height: 1.2;
  margin-bottom: 6px; text-align: center;
}
.s-auth-subtitle { font-size: 12px; color: var(--c-text3); font-style: italic; font-family: 'Playfair Display', serif; text-align: center; }
.s-auth-header { text-align: center; margin-bottom: 28px; }
.s-auth-mode-label {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--c-his-mid); font-weight: 700; text-align: center; margin-bottom: 20px;
}
.s-auth-fields { display: flex; flex-direction: column; gap: 12px; }
.s-auth-input {
  padding: 13px 16px; border: 1.5px solid var(--c-border); border-radius: 12px;
  font-size: 14px; font-family: 'Lato', sans-serif; background: var(--c-bg2); color: var(--c-text);
  width: 100%; outline: none;
}
.s-auth-input:focus { border-color: var(--c-her); box-shadow: 0 0 0 3px var(--c-input-focus); }
.s-auth-error {
  font-size: 12px; color: #C94040; text-align: center; display: none;
  padding: 8px 12px; background: #FFF0F0; border-radius: 8px; border: 1px solid #F5C6C6;
}
.s-auth-submit-btn {
  padding: 14px; background: linear-gradient(135deg, var(--c-his), var(--c-his-mid));
  color: #fff; border: none; border-radius: 14px; font-size: 14px; font-weight: 700;
  font-family: 'Lato', sans-serif; cursor: pointer;
  box-shadow: 0 4px 16px rgba(107,66,38,.3); transition: all .18s; width: 100%;
}
.s-auth-submit-btn:hover { transform: translateY(-1px); }
.s-auth-divider { display: flex; align-items: center; gap: 10px; margin: 2px 0; }
.s-auth-divider-line { flex: 1; height: 1px; background: var(--c-border); }
.s-auth-divider-text { font-size: 11px; color: var(--c-text3); white-space: nowrap; }
.s-auth-google-btn {
  padding: 13px 16px; background: #fff; border: 1.5px solid var(--c-border);
  border-radius: 14px; font-size: 13px; font-weight: 700; font-family: 'Lato', sans-serif;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .18s; box-shadow: 0 2px 8px rgba(0,0,0,.08); width: 100%;
}
.s-auth-google-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.s-auth-toggle-btn {
  background: none; border: none; color: var(--c-her); font-size: 12px; font-weight: 700;
  cursor: pointer; padding: 4px; font-family: 'Lato', sans-serif; width: 100%; text-align: center;
}

#couple-setup-overlay {
  position: fixed; inset: 0; z-index: 999998;
  background: linear-gradient(160deg, var(--c-splash1) 0%, var(--c-splash2) 55%, var(--c-splash3) 100%);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.s-couple-card {
  background: #fff; border-radius: 24px; border: 1px solid var(--c-border);
  box-shadow: 0 8px 40px rgba(107,66,38,.15); padding: 36px 28px;
  width: 100%; max-width: 380px; animation: fadeSlideIn .5s ease both;
}
.s-couple-header { text-align: center; margin-bottom: 24px; }
.s-couple-icon { font-size: 36px; margin-bottom: 10px; }
.s-couple-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 22px; font-weight: 700; color: var(--c-his); margin-bottom: 8px;
}
.s-couple-desc { font-size: 13px; color: var(--c-text3); line-height: 1.6; }
.s-couple-fields { display: flex; flex-direction: column; gap: 12px; }
.s-couple-submit-btn {
  padding: 14px; background: linear-gradient(135deg, var(--c-her), var(--c-her-mid));
  color: #fff; border: none; border-radius: 14px; font-size: 14px; font-weight: 700;
  font-family: 'Lato', sans-serif; cursor: pointer;
  box-shadow: 0 4px 16px rgba(212,104,138,.3); width: 100%;
}
.s-couple-hint { font-size: 11px; color: var(--c-text3); text-align: center; line-height: 1.6; }
.s-auth-title-accent { color: var(--c-her); font-style: italic; }
