:root {
  color-scheme: dark;
  font-family: Arial, sans-serif;
  background: #101112;
  color: #fff;
}
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
[hidden] { display: none !important; }
.site-announcement { background: #76e2b6; color: #101112; text-align: center; padding: 10px 24px; }
.site-header { border-bottom: 1px solid #303334; }
.site-header-inner, .site-footer-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 24px; }
.site-brand { color: #fff; font-size: 1.25rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav { flex: 1; }
.site-nav a { color: #c3c7c8; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.site-auth { margin-left: auto; padding: 10px 18px; border: 0; border-radius: 8px; background: #76e2b6; color: #101112; font: inherit; cursor: pointer; }
.profile-control { position: relative; margin-left: auto; }
.site-auth-avatar, .profile-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; box-sizing: border-box; border-radius: 50%; background: #6d544d; color: #fff; font-weight: 700; }
.site-auth-avatar { padding: 0; }
.profile-menu { position: absolute; z-index: 10; right: 0; top: calc(100% + 12px); width: min(340px, calc(100vw - 32px)); box-sizing: border-box; padding: 20px; border: 1px solid #454549; border-radius: 16px; background: #1b1d1e; box-shadow: 0 16px 36px #0009; }
.profile-identity { display: flex; align-items: center; gap: 14px; }
.profile-avatar { flex: none; }
.profile-details { min-width: 0; overflow-wrap: anywhere; }
.profile-details div, .profile-coming-soon { color: #c3c7c8; }
.profile-allowance { margin: 18px 0 4px; line-height: 1.4; }
.profile-coming-soon { font-size: .875rem; }
.profile-error:empty { display: none; }
.profile-logout { width: 100%; margin-top: 18px; padding: 14px 0 0; border: 0; border-top: 1px solid #454549; background: transparent; color: #fff; font: inherit; text-align: left; }
.site-footer { margin-top: auto; border-top: 1px solid #303334; color: #c3c7c8; }
.site-footer-inner { justify-content: center; }
.site-footer a { text-underline-offset: 3px; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #76e2b6; outline-offset: 3px; }
@media (max-width: 500px) {
  .site-header-inner, .site-footer-inner { padding: 16px; gap: 12px; }
}
