/* Profile only: grouped iOS-style controls, with existing theme variables. */
#account .profile-page{max-width:560px;padding-bottom:36px;position:relative;text-align:center}
#account .profile-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-bottom:12px}
#account .profile-toolbar button{margin:0;min-width:46px;height:46px;padding:0 16px;border-radius:999px;background:var(--glass-fill,var(--panel));border:1px solid var(--glass-edge,var(--line));box-shadow:inset 0 1px 0 var(--glass-highlight,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);font-weight:650}
#account #backSettings{padding:0;width:46px;font-size:32px;line-height:1}
#account .profile-identity{padding:2px 0 22px}
#account .profile-identity .avatar{width:110px;height:110px;border-radius:50%;margin:0 auto 14px;background:var(--panel);border:1px solid var(--glass-edge,var(--line));overflow:hidden;display:grid;place-items:center}
#account .profile-identity .avatar svg{width:44px;height:44px}
#account .profile-identity h1{font-size:clamp(27px,6vw,37px);line-height:1.15;letter-spacing:-.9px;margin:0 0 7px;overflow-wrap:anywhere}
#account #accountStatus{margin:0;color:var(--muted);font-size:14px}
#account #profile{display:block;text-align:left}
#account .profile-group{display:grid;gap:0;border:1px solid var(--glass-edge,var(--line));border-radius:24px;overflow:hidden;background:var(--glass-fill,var(--bg));box-shadow:inset 0 1px 0 var(--glass-highlight,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);margin:0 0 18px}
#account .profile-row,#account .profile-action{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;min-height:58px;text-align:left;width:100%;background:transparent;color:var(--fg);border:0;border-radius:0;overflow-wrap:anywhere}
#account .profile-row + .profile-row,#account .profile-action + .profile-row,#account .profile-field + .profile-field{border-top:1px solid var(--line)}
#account .profile-row strong{font-size:14px;font-weight:600;text-align:right;max-width:65%}
#account #displayUsername{color:var(--accent)}
#account #accountRestriction{background:transparent;color:var(--muted);padding:0;margin:0;border-radius:0}
#account .profile-action span{color:var(--muted);font-size:22px}
#account .profile-switch input{accent-color:var(--accent);width:20px;height:20px;flex:none}
#account .profile-danger{color:#d74747;width:100%;padding:15px;background:var(--glass-fill,var(--panel));border:1px solid var(--glass-edge,var(--line));border-radius:20px;text-align:center;font-weight:600}
#account .profile-photo-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 22px}
#account .profile-photo-actions button{background:transparent;color:var(--accent);padding:10px 12px;font-weight:600}
#account #removePhoto{color:#d74747}
#account #removePhoto:disabled{opacity:.38;cursor:default}
#account #profile form{display:grid;gap:0;padding:0;border:0}
#account .profile-field{display:grid;gap:5px;padding:13px 18px;text-align:left;color:var(--muted);font-size:12px;font-weight:600}
#account .profile-field input{width:100%;min-width:0;border:0;border-radius:0;padding:4px 0;background:transparent;color:var(--fg);font-size:16px;font-weight:500;box-shadow:none}
#account .profile-field input[readonly]{color:var(--muted);cursor:default}
#account .profile-hint{margin:-9px 9px 19px;color:var(--muted);font-size:13px;line-height:1.5}
#account .profile-save{width:100%;border-radius:21px;min-height:50px;font-weight:650}
body.dark #account .profile-danger,body.dark #account #removePhoto{color:#ff8181}
@media(max-width:500px){#account .profile-page{padding-inline:0}#account .profile-row,#account .profile-action{padding:15px 14px}#account .profile-field{padding:12px 14px}#account .profile-group{border-radius:21px}}
@media(prefers-reduced-transparency:reduce){#account .profile-group,#account .profile-toolbar button{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}}
