:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #55496b;
  background: #fcf8ff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 5%, #fce3f5 0, transparent 40%),
              radial-gradient(circle at 85% 25%, #e4e3ff 0, transparent 40%),
              linear-gradient(145deg, #fffafd, #f0f4ff);
}
.account-shell { max-width: 900px; padding: 22px 18px 54px; margin: auto; }
.account-nav, .member-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.account-nav a, .member-links a {
  color: #684d99; padding: 10px 14px; border-radius: 18px; background: #fff;
  text-decoration: none; font-weight: 700; box-shadow: 0 4px 18px #9e83ca19;
}
.account-heading { text-align: center; padding: 22px 0 10px; }
.account-heading h1 { margin: 4px 0; font-size: clamp(1.9rem, 6vw, 2.8rem); }
.account-heading p, .paper p, .subtle { color: #736b86; }
.account-sparkle { color: #cb8cdd; font-size: 1.6rem; }
.forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.paper { background: #ffffffed; border: 2px solid #fff; border-radius: 28px; padding: clamp(18px, 5vw, 30px);
  box-shadow: 0 12px 32px #9b80c522; }
.paper h2 { margin: 0 0 8px; color: #765799; }
label { display: block; margin: 18px 0 6px; font-weight: 700; }
input, button { font: inherit; }
input {
  display: block; width: 100%; min-height: 46px; padding: 12px 14px; border: 2px solid #e2d7f1;
  border-radius: 15px; background: #fff; color: #423b54;
}
button { border: 0; border-radius: 16px; min-height: 46px; padding: 11px 18px;
  background: #b99ce9; color: #2b1c49; cursor: pointer; font-weight: 700; }
form button { margin-top: 20px; width: 100%; }
button:disabled { cursor: wait; opacity: .6; }
button.secondary { background: #f6dbe9; }
input:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #8554d3; outline-offset: 2px; }
.status { min-height: 22px; text-align: center; font-weight: 700; }
.status.error { color: #a42157; }
.member { max-width: 650px; margin: auto; }
.member-top { display: flex; align-items: center; gap: 20px; }
.member-picture { font-size: 2.8rem; width: 90px; height: 90px; display: grid; place-items: center;
  border-radius: 25px; background: #f7e4f8; }
#member-username { font-weight: 700; overflow-wrap: anywhere; }
.verified-name { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.verified-badge { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; vertical-align: middle; }
.member-links { margin-top: 22px; }
.account-footnote { font-size: .85rem; color: #716d80; text-align: center; margin-top: 28px; }
