Automerge backed Markdown editor for the Atmosphere
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196.atproto-account-overlay { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 20px;}
.atproto-account-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(0, 0, 0, 0.7); cursor: default;}
.atproto-account-card { position: relative; width: min(420px, calc(100vw - 40px)); max-height: min(680px, calc(100dvh - 40px)); overflow-y: auto; box-sizing: border-box; padding: 30px; border: 1px solid var(--border-color); border-radius: 2px; background: var(--bg-secondary); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); color: var(--text-primary);}
.atproto-account-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 2px; background: transparent; color: var(--text-tertiary); font-size: 23px; line-height: 1; cursor: pointer;}
.atproto-account-close:hover { background: var(--bg-hover); color: var(--text-primary); }
.atproto-account-avatar-shell { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 18px; overflow: hidden; border: 1px solid var(--border-color); border-radius: 50%; background: var(--bg-tertiary); color: var(--text-secondary);}
.atproto-account-avatar { width: 100%; height: 100%; object-fit: cover; }.atproto-account-empty-avatar { display: grid; place-items: center; }
.atproto-account-card h2 { margin: 0 0 9px; text-align: center; font-size: 1.25rem; line-height: 1.25;}
.atproto-account-card .atproto-account-intro { display: block; width: 100%; margin: 0 auto 23px; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; text-align: center;}
.atproto-account-form > label { display: block; margin: 0 0 7px; color: var(--text-secondary); font-size: 0.78rem; font-weight: 600;}
.atproto-account-combobox { position: relative; }
.atproto-account-mark { position: absolute; z-index: 1; left: 12px; top: 50%; width: 24px; height: 24px; color: var(--accent); transform: translateY(-50%); pointer-events: none;}
.atproto-account-combobox input { width: 100%; height: 46px; box-sizing: border-box; padding: 0 13px 0 47px; border: 1px solid var(--border-color); border-radius: 2px; outline: none; background: var(--bg-primary); color: var(--text-primary); font: inherit;}
.atproto-account-combobox input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 24%, transparent);}
.atproto-account-suggestions { position: absolute; z-index: 2; top: calc(100% + 5px); left: 0; right: 0; overflow: hidden; border: 1px solid var(--border-color); border-radius: 2px; background: var(--bg-secondary); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);}
.atproto-account-suggestions button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 7px 10px; border: 0; border-radius: 0; background: transparent; color: var(--text-primary); text-align: left; cursor: pointer;}
.atproto-account-suggestions button:hover,.atproto-account-suggestions button:focus-visible,.atproto-account-suggestions button[aria-selected="true"] { background: var(--bg-hover); outline: none; }.atproto-account-suggestions img,.atproto-account-suggestion-fallback { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: var(--bg-tertiary); }.atproto-account-suggestions strong,.atproto-account-suggestions small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.atproto-account-suggestions strong { font-size: 0.87rem; }.atproto-account-suggestions small { margin-top: 2px; color: var(--text-secondary); font-size: 0.76rem; }
.atproto-account-primary { width: 100%; margin-top: 12px;}
.atproto-account-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.atproto-account-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 15px; color: var(--text-tertiary); font-size: 0.72rem; }.atproto-account-divider::before, .atproto-account-divider::after { content: ''; height: 1px; flex: 1; background: var(--border-color); }.atproto-account-import { width: 100%; }.atproto-account-file-input { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }.atproto-account-login-progress { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--text-secondary); font-size: 0.8rem; line-height: 1.4; }.atproto-account-login-spinner { width: 14px; height: 14px; flex: 0 0 auto; border: 2px solid var(--border-color); border-top-color: var(--accent); border-radius: 50%; animation: atproto-account-spin 0.8s linear infinite; }@keyframes atproto-account-spin { to { transform: rotate(360deg); } }.atproto-account-error, .atproto-account-status-message { display: block; margin-top: 10px; font-size: 0.8rem; line-height: 1.4; }.atproto-account-error { color: var(--text-error, #ef6b73); }.atproto-account-status-message { color: var(--text-secondary); }
.atproto-account-signed-in { text-align: center; }.atproto-account-handle { margin-top: 3px; color: var(--text-secondary); font-size: 0.88rem; text-align: center; }.atproto-account-status { margin-top: 20px; color: var(--text-secondary); font-size: 0.82rem; line-height: 1.5; }.atproto-account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }.atproto-account-actions--single { grid-template-columns: 1fr; }
@media (max-width: 480px) { .atproto-account-overlay { padding: 12px; } .atproto-account-card { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 26px 20px 22px; } .atproto-account-actions { grid-template-columns: 1fr; }}
@media (prefers-reduced-motion: reduce) { .atproto-account-card, .atproto-account-overlay { scroll-behavior: auto; }}