.profile-layout {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.8rem 1.75rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}

.card .muted { color: var(--slate); font-size: 0.88rem; }

/* --- Auth --- */
.auth-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.auth-tab {
  background: none;
  border: none;
  padding: 0.5rem 0.2rem;
  font-weight: 500;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.auth-tab.active {
  color: var(--ink);
  border-bottom-color: var(--moss);
}

.auth-form .field { margin-bottom: 0.9rem; }

.form-error {
  color: var(--rust);
  font-size: 0.85rem;
  min-height: 1.1em;
  margin: 0 0 0.6rem;
}

/* --- Account --- */
.account-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.account-email {
  font-family: var(--font-mono);
  font-size: 1rem;
  margin: 0.15rem 0 0;
}

/* --- Watch form / list --- */
.watch-form { margin-top: 1rem; }
.watch-form .field { margin-bottom: 0.8rem; }

.watch-list, .notification-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.watch-item, .notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
}

.watch-item .addr, .notification-item .addr {
  font-weight: 500;
}

.watch-item .status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line-strong);
  white-space: nowrap;
}
.watch-item .status.matched {
  background: var(--moss);
  border-color: var(--moss);
  color: #fff;
}

.watch-item .remove-btn {
  background: none;
  border: none;
  color: var(--rust);
  font-size: 0.8rem;
  padding: 0.2rem 0.3rem;
}

.notification-item .details {
  font-size: 0.85rem;
  color: var(--slate);
}
