/* The account menu in the top bar (account.js). Used by every page, including index.html. */
.acct { position: relative; flex: none; display: flex; align-items: center; font-size: 14px; line-height: 1.4; text-align: left; }
.acct-signin { padding: 6px 4px; text-decoration: none; font-weight: 600; color: inherit; white-space: nowrap; }
.acct-signin:hover { text-decoration: underline; }
.acct-button { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; color: inherit; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.acct-button::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.acct-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #17806f, #0f5f66); }
.acct-name { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: 260px; padding: 8px; border-radius: 14px;
  background: #171b29; color: #f5f7ff; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 50px -12px rgba(0,0,0,.7); }
.acct-panel[hidden], .acct-item[hidden] { display: none; }
.acct-who { display: grid; padding: 6px 10px; overflow-wrap: anywhere; }
.acct-who span, .acct-plan, .acct-note { color: #9ea6c0; font-size: 13px; }
.acct-plan { padding: 0 10px 8px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.13); }
.acct-item { display: block; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.acct-item:hover { background: rgba(255,255,255,.09); }
.acct-note:not(:empty) { padding: 6px 10px 2px; }
.top-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .acct-name { display: none; } .acct-button { gap: 6px; padding-right: 8px; } }
@media (max-width: 480px) { .tabbar .btn.small { display: none; } }
