/* What shows before the app has loaded. */
html, body { margin: 0; background: #1a1a1e; color: #efeff1; }
.loading { margin: 0; padding: 40vh 16px 0; text-align: center; font-family: "Segoe UI", Arial, sans-serif; }
/* The app is appended next to this note. */
#main > .loading:not(:only-child) { display: none; }
/* The in-app notification toasts sit outside the app, so they need its font. */
#guildly-toasts { font-family: "gg sans", "Noto Sans", "Segoe UI", Arial, sans-serif; }
/* Buttons that boot.js adds. */
.loading button, #guildly-update button { font: inherit; border: 0; border-radius: 4px; padding: 6px 14px; cursor: pointer; background: #5865f2; color: #fff; }
.loading button { margin-top: 16px; }
/* "A new version is available": at the top, clear of the message box, and above
   the app's dialogs and the toasts. */
#guildly-update { position: fixed; top: calc(8px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 1100; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; width: max-content; max-width: calc(100vw - 32px); padding: 8px 12px; background: #18181b; color: #fff; border: 1px solid #3f3f46; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,0.4); font: 14px "gg sans", "Noto Sans", "Segoe UI", Arial, sans-serif; }
#guildly-update button + button { background: #3f3f46; }
