/* Account page — layout and actions (SPA + legacy parity) */

.auth-panel--account .auth-lead {
  margin-bottom: 0.4rem;
  max-width: none;
}

.auth-panel--account .account-meta .auth-lead:last-child {
  margin-bottom: 1rem;
}

#account-greeting {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

#account-joined {
  font-size: 13px;
  color: var(--white-70);
}

.account-favorite {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.account-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-70);
  margin-bottom: 10px;
}

.account-fav-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin: 0;
}

.account-fav-flag {
  display: block;
  width: 28px;
  height: 21px;
  border-radius: 3px;
  flex-shrink: 0;
}

.account-fav-empty {
  font-size: 14px;
  color: var(--white-70);
  margin: 0;
}

.account-btn {
  display: flex;
  width: 100%;
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  border-width: 1px;
}

.account-favorite .account-btn {
  margin-top: 14px;
}

.account-btn--signout {
  margin-top: 20px;
}

/* Theme selector */
.sf-theme-section { margin-top: 32px; }
.sf-theme-section h2 { font-size: 18px; font-weight: 700; color: var(--fa-text, var(--white)); margin: 0 0 6px; }
.sf-theme-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.sf-theme-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid var(--fa-border, rgba(255,255,255,0.10));
  background: var(--fa-card, rgba(255,255,255,0.03));
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
  font-family: inherit;
}
.sf-theme-option:hover {
  border-color: var(--fa-primary, #00C2CB);
  background: var(--fa-primary-hover, rgba(0,194,203,0.05));
}
.sf-theme-option--active {
  border-color: var(--fa-primary, #00C2CB);
  background: var(--fa-primary-soft, rgba(0,194,203,0.12));
}
.sf-theme-option-swatch {
  width: 100%;
  height: 32px;
  border-radius: 6px;
}
.sf-theme-swatch--dark { background: linear-gradient(135deg, #0A1628 60%, #00C2CB 140%); }
.sf-theme-swatch--light { background: linear-gradient(135deg, #F6F8FB 60%, #00A9B5 140%); }
.sf-theme-swatch--midnight { background: linear-gradient(135deg, #050B14 60%, #00C2CB 140%); }
.sf-theme-option-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--fa-text, var(--white));
}
.sf-theme-option-desc {
  font-size: 11px;
  color: var(--fa-muted, rgba(255,255,255,0.5));
}
