.account-panel{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;padding:20px 24px;margin:0 0 22px;background:#fff;border:1px solid #e0e8f7;border-radius:16px;color:#293e61;font-size:14px}
.account-panel[hidden]{display:none}
.account-welcome{display:flex;align-items:center;gap:12px;min-width:0}
.account-welcome strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.account-welcome p{margin:5px 0 0;color:#8395b0;font-size:12px;overflow-wrap:anywhere}
.account-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px}
.account-panel .account-avatar .character-avatar{box-sizing:border-box;width:40px;height:40px}
.account-panel .account-avatar .character-profile{display:grid;place-items:center;width:44px;height:44px;border-radius:50%}
.account-panel .account-avatar .character-profile:focus-visible{outline:2px solid #6f9df5;outline-offset:3px}
.account-options{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.account-options a,.account-options button,.account-primary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid #dce6f6;border-radius:8px;background:#fff;color:#426bb1;font:inherit;font-size:13px;text-decoration:none;cursor:pointer}
.account-options a:hover,.account-options button:hover{background:#f2f6ff}
.account-options .account-primary,.account-primary{background:#2563eb;border-color:#2563eb;color:#fff}
.account-message{flex-basis:100%;margin:0;font-size:12px;color:#647b9d;line-height:1.6}
.account-message:empty{display:none}
.account-message button{margin-left:10px;border:0;background:transparent;color:#2563eb;font:inherit;cursor:pointer}
.account-modal{box-sizing:border-box;width:min(460px,calc(100% - 32px));padding:26px;border:1px solid #dce6f6;border-radius:18px;color:#293e61;background:#fff;box-shadow:0 24px 80px #203b6433;font:14px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif}
.account-modal::backdrop{background:#203b6455;backdrop-filter:blur(3px)}
.account-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.account-dialog-head h2{font-size:21px;margin:0}
.account-dialog-head button{border:0;background:transparent;color:#8092ad;font-size:24px;cursor:pointer}
.account-modal dl{display:grid;grid-template-columns:100px 1fr;gap:14px 12px;padding:20px 0;margin:5px 0}
.account-modal dt{color:#8395b0}.account-modal dd{margin:0;overflow-wrap:anywhere}
.account-tip{font-size:12px;line-height:1.8;color:#8395b0}
.account-modal label{display:block;margin:14px 0;color:#647b9d;font-size:13px}
.account-modal input{box-sizing:border-box;display:block;width:100%;margin-top:6px;padding:12px;border:1px solid #dce6f6;border-radius:8px;font:inherit}
.account-modal [role=alert]{color:#b75050;font-size:12px}
.account-panel button:focus-visible,.account-panel a:focus-visible,.account-modal button:focus-visible,.account-modal a:focus-visible{outline:3px solid #9cbcff;outline-offset:3px}
.account-page{max-width:1000px;margin:34px auto;padding:0 20px}
.account-page>h1{font-size:25px;font-weight:600;margin-bottom:20px}
@media(max-width:600px){.account-panel{padding:18px;gap:16px}.account-options{gap:8px}.account-options a,.account-options button{font-size:12px;padding:8px 11px}.account-panel .account-options{width:100%}.account-page{margin-top:24px}}
