/* murallive.app/account and /link (assets/account.js). On top of site.css. */
.acct { max-width: 680px; margin: 0 auto; padding: 48px 24px 80px; }
@media (max-width: 600px) { .acct { padding: 28px 16px 64px; } }
.acct h1 { font-size: clamp(28px, 4.6vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; max-width: none; }
.acct h2 { font-size: 18px; margin: 0 0 10px; }
.acct-card, .acct-section { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 18px; }
.acct-section.danger { border-color: rgba(244,63,94,.35); }
.acct-head { margin: 0 0 18px; }
.acct-lead { color: var(--muted); margin: 0 0 18px; }
.acct-note { color: var(--dim); font-size: 14px; margin: 8px 0 0; }
.acct-big { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.acct-warn { font-size: 14px; color: #fde68a; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.35); border-radius: 10px; padding: 10px 12px; }
.acct-error { color: #fda4af; font-size: 14px; min-height: 0; margin: 10px 0 0; }
.acct-error:empty, .acct-ok:empty { display: none; }
.acct-ok { color: var(--ok); font-size: 14px; }
.acct-stack { display: flex; flex-direction: column; gap: 10px; }
.acct-stack .btn { width: 100%; }
.acct-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 0; }
.acct-row input { flex: 1 1 220px; }
.acct label { font-size: 13px; color: var(--muted); }
.acct input { font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 11px; padding: 11px 13px; min-width: 0; }
.acct input:focus { outline: 2px solid #a5b4fc; outline-offset: 1px; }
.acct-code { text-align: center; font-size: 28px; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.acct-code.wide { letter-spacing: .2em; text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; }
.acct-or { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; }
.acct-or::before, .acct-or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.acct-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; }
.acct-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14.5px; }
.acct-list li + li { border-top: 1px solid var(--line); }
.acct .ok { color: var(--ok); }
.acct .dim { color: var(--dim); font-size: 13.5px; }
.acct-key { font-size: 13px; color: var(--muted); margin-right: 6px; word-break: break-all; }
.linkish { background: none; border: 0; padding: 0 6px; color: #a5b4fc; font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.linkish:disabled { color: var(--dim); text-decoration: none; cursor: default; }
.acct-check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.acct-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #8b5cf6; cursor: pointer; }
.acct-meter { width: 100%; height: 10px; margin: 6px 0 0; border: 0; border-radius: 999px; background: var(--line); overflow: hidden; -webkit-appearance: none; appearance: none; }
.acct-meter::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
.acct-meter::-webkit-progress-value { background: linear-gradient(90deg, var(--accent), var(--pink)); border-radius: 999px; }
.acct-meter::-moz-progress-bar { background: linear-gradient(90deg, var(--accent), var(--pink)); border-radius: 999px; }
.danger-btn { border-color: rgba(244,63,94,.5); color: #fecdd3; }
.acct-sprite { position: absolute; }
/* Sign-in screens (account.js): provider grid, labelled fields, password show/hide */
.acct-providers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.acct-providers .btn.provider { width: 100%; justify-content: center; gap: 10px; }
.acct-providers .btn.provider.wide { grid-column: 1 / -1; }
.acct-providers svg { width: 18px; height: 18px; flex: none; }
.acct-field { display: flex; flex-direction: column; gap: 6px; }
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 64px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.pw-toggle:hover { color: var(--text); }
.acct-row.spread { justify-content: space-between; }
.acct-switch { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14.5px; }
.acct-section.warn { border-color: rgba(251,191,36,.4); }
.acct-stack.narrow { max-width: 380px; }
.acct-section .acct-stack { margin-top: 18px; }
.cloud-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cloud-thumb { width: 72px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
@media (max-width: 420px) { .acct-providers { grid-template-columns: 1fr; } }
