/* VAS auth + paywall styles. Premium iOS-like, system fonts, no em dashes. */

.vas-slot {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding-left: 12px;
}

.vas-login-btn {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #116b70;
  border: none;
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(17, 107, 112, 0.25);
  -webkit-tap-highlight-color: transparent;
}
.vas-login-btn:active { transform: scale(0.97); }

.vas-acct { position: relative; }

.vas-acct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1f1b16;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #ddd6cc;
  border-radius: 999px;
  padding: 7px 14px 7px 9px;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.vas-acct-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #116b70, #1d9a9e);
  flex: none;
}
.vas-acct-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }

.vas-owner-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a5b00;
  background: linear-gradient(135deg, #f7e08b, #e9c46a);
  border-radius: 999px;
  padding: 3px 9px;
}

.vas-acct-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e6e0d4;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(31, 27, 22, 0.16);
  padding: 14px;
  z-index: 1000;
}
.vas-acct-email {
  font-size: 13px;
  color: #6d675f;
  word-break: break-all;
  margin-bottom: 10px;
}
.vas-acct-logout {
  width: 100%;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #8d2433;
  background: #fdf0f1;
  border: 1px solid #f3d4d8;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

/* ---------- modal ---------- */
.vas-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(31, 27, 22, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  animation: vas-fade 0.18s ease-out;
}
@keyframes vas-fade { from { opacity: 0; } to { opacity: 1; } }

.vas-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px 28px;
  box-shadow: 0 30px 70px rgba(31, 27, 22, 0.25);
  animation: vas-pop 0.22s ease-out;
}
@keyframes vas-pop { from { transform: translateY(12px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }

.vas-modal-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3efe7;
  color: #6d675f;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.vas-modal-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #116b70;
  text-align: center;
}
.vas-modal-title {
  font-size: 21px;
  color: #1f1b16;
  text-align: center;
  margin: 10px 0 6px;
}
.vas-modal-desc {
  font-size: 14px;
  color: #6d675f;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 18px;
}
.vas-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1f1b16;
  margin-bottom: 6px;
}
.vas-field {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid #ddd6cc;
  background: #fff;
  margin-bottom: 14px;
}
.vas-field:focus { outline: 2px solid #116b70; outline-offset: 1px; border-color: #116b70; }

.vas-btn-primary {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #116b70;
  border: none;
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17, 107, 112, 0.28);
}
.vas-btn-primary:disabled { opacity: 0.6; cursor: default; }
.vas-btn-primary:active:not(:disabled) { transform: scale(0.98); }

.vas-modal-note { margin-top: 16px; }
.vas-note-text { font-size: 14px; color: #6d675f; line-height: 1.6; margin: 0 0 12px; text-align: center; }
.vas-note-ok { color: #2e7d32; font-weight: 600; }
.vas-note-sub { font-size: 12.5px; color: #a39c90; text-align: center; margin: 0; }

/* ---------- paywall lock card ---------- */
.vas-lock { margin: 18px 0; }
.vas-lock-inner {
  background: linear-gradient(180deg, #ffffff, #faf7f0);
  border: 1px solid #e6e0d4;
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(31, 27, 22, 0.08);
  max-width: 520px;
  margin: 0 auto;
}
.vas-lock-icon { color: #b49b4a; margin-bottom: 8px; }
.vas-lock-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #b49b4a;
}
.vas-lock-name {
  font-size: 19px;
  font-weight: 800;
  color: #1f1b16;
  margin: 8px 0 18px;
}
.vas-lock .vas-btn-primary { max-width: 320px; }
.vas-lock-note {
  font-size: 13.5px;
  color: #8d2433;
  margin-top: 12px;
  line-height: 1.5;
}
.vas-locked-content { display: none !important; }

/* ---------- toast ---------- */
.vas-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #1f1b16;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3000;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.vas-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 640px) {
  .vas-acct-name { display: none; }
  .vas-slot { padding-left: 8px; }
  .vas-login-btn { padding: 8px 16px; font-size: 13px; }
}
