/* The account page (js/account-page.js), the same in the iOS app's home and
   on the web (account/): dark, with the page's own --bg, --card, --line,
   --text, --muted and --accent. */
#account-view { -webkit-user-select: text; user-select: text; }
#account-view h2 { margin: 6px 0 10px; font-size: 28px; line-height: 1.25; }
#account-view h3 { margin: 0 0 10px; font-size: 16px; color: var(--muted); font-weight: 600; }
#account-view h4 { margin: 16px 0 6px; font-size: 16px; }
#account-view .back { padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--text); font: 600 15px/1.4 inherit; font-family: inherit; }
#account-view .muted { color: var(--muted); }
#account-view .small { font-size: 14px; }
#account-view p { margin: 0 0 12px; }
.panel { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.form { display: flex; flex-direction: column; gap: 10px; margin: 0 0 8px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
#account-view input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, 0.25); color: var(--text); font: inherit; font-size: 17px; }
#account-view button { min-height: 46px; padding: 8px 16px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.12); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; }
#account-view button.primary { background: var(--accent); color: #2a1408; }
#account-view button.ghost { width: 100%; margin: 0 0 16px; border: 1px solid var(--line); background: none; }
#account-view button.danger { color: #ff8a8a; }
#account-view button.link { min-height: 0; padding: 0; background: none; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
#account-view button:disabled { opacity: 0.55; }
/* Apple's and Google's own button looks (js/social.js), over the page's. */
#account-view .social-btn { border-radius: 12px; }
#account-view .social-btn.apple { background: #fff; color: #000; }
#account-view .social-btn.google { border: 1px solid #8e918f; background: #131314; color: #e3e3e3; }
#account-view .or { margin: 4px 0 10px; text-align: center; color: var(--muted); font-size: 14px; }
#account-view .switch { text-align: center; }
#account-view .error, #account-view .status.bad { color: #ff8a8a; font-weight: 600; }
#account-view .status { margin: 8px 0 0; color: #8be0a4; }
.row-form { display: flex; gap: 8px; }
.row-form input { flex: 1; min-width: 0; }
/* The gender: three choices side by side, the chosen one lit. */
.choices { display: flex; gap: 8px; margin: 0 0 10px; }
#account-view .choices button { flex: 1; min-width: 0; padding: 8px 2px; font-size: 15px; line-height: 1.4; border: 1px solid transparent; }
#account-view .choices button.on { border-color: var(--accent); background: rgba(255, 154, 107, 0.2); color: var(--accent); }
.links { display: flex; flex-direction: column; gap: 8px; }
.links button, .social-links button { width: 100%; text-align: left; }
.social-links { margin: 0 0 4px; }
.social-links .social-row span { padding: 10px 0; }
#account-view #passkey-login { width: 100%; margin: 0 0 10px; }
#account-view .passkey-add, #account-view .passkey-here { margin: 8px 0 0; }
