/* A member's real records, never a local-storage identity or an invented score. */
.account-identity{display:flex;align-items:center;gap:22px;padding:28px;border:1px solid var(--line);border-radius:14px;background:var(--surface);position:relative;overflow:hidden}
.account-identity::before{content:'';position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:linear-gradient(var(--blue),var(--red))}
.account-monogram{display:grid;place-items:center;flex:0 0 66px;width:66px;height:74px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:var(--accent-soft);color:var(--accent);font-size:1.8rem;font-weight:800}
.account-identity-copy{min-width:0;flex:1}.account-identity h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.3;margin:6px 0;overflow-wrap:anywhere}
.account-status{font-size:.75rem;letter-spacing:.07em;font-weight:750;color:var(--accent)}
.account-identity-copy>p{font-size:.875rem;line-height:1.6;color:var(--muted)}
.account-identity-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.account-text-link{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.account-source-note{color:var(--muted);font-size:.875rem;line-height:1.75;margin:16px 0 26px}
.account-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}.account-card{padding:26px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}
.account-card h2{font-size:1.25rem;line-height:1.4;margin-bottom:10px}.account-card p{line-height:1.7;color:var(--muted);font-size:.9375rem}
.account-card label{display:block;font-size:.9375rem;font-weight:700;margin:20px 0 8px}
.account-card input,.account-delete-dialog input{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);padding:11px 13px;font:inherit;font-size:1rem}
.account-card .account-hint{font-size:.8125rem;margin-top:8px}.account-profile-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.account-feedback{font-size:.875rem;line-height:1.6;min-height:0;margin-top:12px;color:var(--accent)!important}.account-feedback:empty{display:none}.account-feedback.is-error{color:var(--red)!important}
.account-card button,.account-empty a,.account-empty button{min-height:44px;white-space:normal}
.account-card button:disabled,.account-delete-dialog button:disabled{opacity:.45;cursor:not-allowed}
.account-vote-card{display:flex;flex-direction:column}.account-vote-card .mode-tag{align-self:flex-start;margin-bottom:14px}.account-vote-choice{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0;font-size:1.125rem;font-weight:750}.account-vote-choice em{font-size:.75rem;font-style:normal;color:var(--muted);font-weight:400}.account-vote-card .primary-button{align-self:flex-start;margin-top:auto}.account-vote-card .account-vote-time{font-size:.8125rem;margin-bottom:18px}
.account-section{margin-top:30px}.account-section-heading{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:14px}.account-section-heading h2{font-size:1.25rem;line-height:1.5}.account-section-heading>span{font-size:.8125rem;color:var(--muted)}
.account-active-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.account-active-card h3{font-size:1.125rem;line-height:1.5;overflow-wrap:anywhere;margin:10px 0}.account-active-card .account-text-link{color:var(--accent)}
.account-empty{padding:26px;border:1px dashed var(--line);border-radius:12px;background:var(--surface-2);line-height:1.7;color:var(--muted);min-width:0}.account-empty h2{font-size:1.375rem;color:var(--ink);margin-bottom:10px}.account-empty p{font-size:.9375rem;max-width:60ch}.account-empty .primary-button{margin-top:18px}.account-empty .account-text-link{margin-inline-start:16px}
.account-history{list-style:none;padding:0;margin:0;border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}
.account-history-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;padding:22px 24px;border-bottom:1px solid var(--line);min-width:0}.account-history-item:last-child{border-bottom:0}.account-record-tags{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:.6875rem;letter-spacing:.05em;color:var(--muted);font-weight:750}
.account-record-tags .account-record-demo{padding:3px 7px;border-radius:4px;background:var(--surface-2);letter-spacing:0}.account-history-item h3{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:1.0625rem;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}.account-history-item h3>span{min-width:0}.account-history-item h3 em{font-size:.75rem;color:var(--muted);font-weight:400;font-style:normal}.account-history-item p{font-size:.8125rem;line-height:1.7;color:var(--muted)}.account-record-side{font-weight:650}.account-history-item time{font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.6;text-align:end;max-width:190px}.account-history-more{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:14px}.account-history-more .account-feedback{margin:0}.account-history-note{font-size:.8125rem;color:var(--muted);line-height:1.7;margin:12px 0}
.account-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.account-data-grid .account-card{display:flex;flex-direction:column;align-items:flex-start}.account-data-grid button{margin-top:20px}.account-data-grid .account-feedback{margin-top:10px}
.account-danger-button{min-height:44px;padding:11px 16px;border:1px solid var(--red);border-radius:8px;color:var(--red);background:transparent;font:inherit;font-size:.875rem;font-weight:750;cursor:pointer}
.account-delete-dialog{width:min(500px,calc(100% - 24px));border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);padding:30px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #0004}.account-delete-dialog::backdrop{background:#06132399}.account-delete-dialog h2{font-size:1.4rem;line-height:1.4;margin:12px 0}.account-delete-dialog p{font-size:.9375rem;color:var(--muted);line-height:1.7;margin-top:12px}.account-delete-dialog label{display:block;line-height:1.6;font-size:.9375rem;margin:22px 0 8px}.account-delete-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.account-delete-actions button{min-height:44px;flex:1;white-space:normal}.account-delete-dialog :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){.account-identity{gap:16px;padding:24px}.account-active-grid{grid-template-columns:1fr}.account-card{padding:24px}}
@media(max-width:860px){.account-grid{grid-template-columns:minmax(0,1fr)}.account-vote-card .primary-button{margin-top:18px}}
@media(max-width:600px){.account-identity{align-items:flex-start;flex-wrap:wrap;padding:22px 20px;gap:14px}.account-monogram{flex-basis:48px;width:48px;height:56px;font-size:1.5rem}.account-identity-copy{flex:1;min-width:calc(100% - 70px)}.account-identity-actions{width:100%;padding-top:8px;border-top:1px solid var(--line)}.account-identity-actions a{font-size:.8125rem}.account-data-grid{grid-template-columns:minmax(0,1fr)}.account-history-item{grid-template-columns:minmax(0,1fr);gap:10px;padding:20px}.account-history-item time{text-align:start;max-width:none}.account-card,.account-empty{padding:22px 20px}.account-delete-dialog{padding:24px 20px}.account-delete-actions{flex-direction:column}.account-delete-actions button{width:100%}.account-profile-actions .primary-button{width:100%}.account-empty .account-text-link{margin-inline-start:0;display:flex}.account-card input{font-size:1rem}}


.account-monogram svg,.team-signal-avatar svg{display:block;width:100%;height:100%}.profile-avatar-picker{border:0;padding:0;margin:22px 0 0;min-width:0}.profile-avatar-picker legend{font-weight:750}.profile-avatar-picker p{font-size:12px;color:var(--muted)}.profile-avatar-picker>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.profile-avatar-picker button{padding:8px;border:2px solid transparent;border-radius:12px;background:var(--surface,var(--surface2));min-width:44px;min-height:44px;cursor:pointer}.profile-avatar-picker button[aria-pressed=true]{border-color:var(--accent,var(--blue));background:var(--accent-soft)}.profile-avatar-picker svg{display:block;width:100%;height:auto;max-height:62px}.profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.profile-stats article{display:grid;gap:8px}.profile-stats strong{font-size:30px;font-variant-numeric:tabular-nums}.profile-stats span{font-size:13px;color:var(--muted)}@media(max-width:600px){.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats article{padding:16px}.profile-avatar-picker>div{grid-template-columns:repeat(4,minmax(0,1fr))}}

.account-handle{font-size:14px!important;font-weight:700;color:var(--accent)!important;overflow-wrap:anywhere}.account-handle:empty{display:none}.account-handle-input{display:flex;align-items:center;gap:10px;direction:ltr;margin-top:8px}.account-handle-input>span{font-size:20px;font-weight:750;color:var(--muted)}.account-handle-input>input{min-width:0;flex:1;margin:0!important}#accountUsernameHint{margin-bottom:22px}
