.account-entry { grid-column: 1 / -1; min-height: 110px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; }
.account-entry > .mode-caption { order: 0; display: flex; justify-content: space-between; }
.account-entry > span:not(.mode-caption) { order: 1; text-align: left; }
.account-dialog { width: min(740px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 22px; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: 0 18px 70px #20234430; overscroll-behavior: contain; }
.account-dialog::backdrop { background: #171a36a6; }
.account-heading { display: flex; align-items: center; gap: 12px; position: sticky; top: -22px; padding: 12px 0; background: var(--paper); z-index: 1; }
.account-heading h2 { flex: 1; margin: 0; font-size: 21px; }
.account-heading button { min-height: 44px; padding: 8px 12px; }
.account-intro { padding: 24px 4px; }
.account-intro strong { font-size: clamp(17px, 3.8vw, 24px); overflow-wrap: anywhere; }
.account-actions { display: grid; gap: 12px; }
.account-actions button { min-height: 56px; text-align: left; }
.account-muted, .account-message { color: var(--muted); font-size: 14px; line-height: 1.7; }
.account-message { overflow-wrap: anywhere; }
.credential-form { display: grid; gap: 12px; }
.credential-form label { font-size: 15px; font-weight: 600; }
.credential-form input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.credential-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.credential-form button { min-height: 52px; }
.mode-art img { width: 100%; height: 100%; object-fit: contain; }
.experiment-label { font-size: 12px; color: var(--muted); margin-left: 8px; font-weight: 400; }
.cloud-time-hint { color: var(--muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 380px) { .account-dialog { padding: 14px; } .account-heading h2 { font-size: 18px; } }

