.pifster-login-gate,
.pifster-user-info,
.pifster-set-password-form,
.pifster-fluentcart-profile-gate {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  max-width: 720px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.pifster-login-gate h3,
.pifster-user-info h3,
.pifster-set-password-form h3,
.pifster-fluentcart-profile-gate h3 {
  margin: 0 0 12px 0;
}

.pifster-login-gate__notice,
.pifster-set-password-form__notice {
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 0.95em;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.pifster-set-password-form__hint {
  margin: -8px 0 16px 0;
  font-size: 13px;
  color: #6b7280;
  font-style: italic;
}

.pifster-login-gate__form label,
.pifster-set-password-form__form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.pifster-login-gate__form input[type="email"],
.pifster-set-password-form__form input[type="password"],
.pifster-user-info__input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.2;
}

.pifster-login-gate__form button[type="submit"],
.pifster-set-password-form__form button[type="submit"] {
  margin-top: 12px;
}

.pifster-user-info {
  display: grid;
  gap: 10px;
}

.pifster-user-info__status {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  display: grid;
  gap: 8px;
}

.pifster-user-info__status-label {
  font-weight: 800;
  color: #111827;
}

.pifster-user-info__status-value {
  color: #111827;
}

.pifster-user-info__status-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.pifster-user-info__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 640px) {
  .pifster-user-info__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.pifster-user-info__label {
  font-weight: 700;
  color: #111827;
}

.pifster-user-info__value {
  color: #111827;
}

.pifster-user-info__actions {
  margin-top: 10px;
}

.pifster-user-info__input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Referral Stats Section */
.pifster-user-info__referral-stats {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  display: grid;
  gap: 16px;
}

.pifster-user-info__referral-stats h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #92400e;
}

/* Vote Power */
.pifster-user-info__vote-power {
  display: grid;
  gap: 4px;
}

.pifster-user-info__vote-power-value {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.pifster-user-info__vote-power-value--active {
  font-size: 18px;
  font-weight: 700;
  color: #059669;
}

.pifster-user-info__vote-power-status--powered {
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.pifster-user-info__vote-power-reason {
  font-size: 13px;
  color: #065f46;
  font-style: italic;
}

.pifster-user-info__vote-power-hint {
  font-size: 13px;
  color: #6b7280;
}

/* Monthly Stats */
.pifster-user-info__monthly-stats {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pifster-user-info__monthly-empty {
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
  text-align: center;
  padding: 8px 0;
}

.pifster-user-info__monthly-status {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.pifster-user-info__monthly-hint {
  font-size: 13px;
  color: #6b7280;
}

.pifster-user-info__monthly-rank {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.pifster-user-info__monthly-rank--leading {
  font-size: 18px;
  font-weight: 700;
  color: #b45309;
}

.pifster-user-info__monthly-count {
  font-size: 13px;
  color: #4b5563;
}

.pifster-user-info__monthly-proximity {
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  margin-top: 4px;
}

/* Lifetime Stats */
.pifster-user-info__lifetime-stats {
  font-size: 12px;
  color: #6b7280;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
