/* Member and Community subpages: match the existing navy/gold public shell.
   Purposefully limited to the body background, site header, and site footer;
   community forms, cards and moderation tools retain their own styling. */
:root {
  --mcn6-night: #06121f;
  --mcn6-line: rgba(232,187,118,.39);
  --mcn6-gold-light: #f7db9e;
  --mcn6-white: #f9f4eb;
  --mcn6-muted: #b7c7d5;
}
html body {
  background: radial-gradient(ellipse at 85% 10%,rgba(20,48,71,.52),transparent 43%),#06121f !important;
  color: var(--mcn6-white) !important;
}
html body > header, html body header:has(.mc494-links) {
  background: linear-gradient(115deg,rgba(5,16,30,.97),rgba(12,32,50,.97)) !important;
  border-color: var(--mcn6-line) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.13);
}
html body header .mc494-links a { color: #dbe4ed !important; }
html body header .mc494-links a:is(:hover,:focus-visible,[aria-current="page"],.active) {
  background: rgba(232,187,118,.12) !important;
  color: var(--mcn6-gold-light) !important;
}
html body header .mc494-login {
  background: linear-gradient(120deg,#112b42,#092036) !important;
  border-color: var(--mcn6-line) !important;
  color: var(--mcn6-gold-light) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.06),0 10px 22px rgba(0,0,0,.16) !important;
}
html body header .mc494-menu, html body header .mc494-links.mc494-open {
  background: #10273c !important;
  border-color: var(--mcn6-line) !important;
  color: var(--mcn6-white) !important;
}
html body > footer, html body footer.site-footer {
  background: #061321 !important;
  border-color: rgba(232,187,118,.22) !important;
  color: var(--mcn6-muted) !important;
}
html body > footer a { color: var(--mcn6-gold-light) !important; }
html body :is(a,button,input,select,textarea):focus-visible {
  outline: 2px solid var(--mcn6-gold-light) !important;
  outline-offset: 3px;
}
@media(max-width:700px) {
  html body header .mc494-links.mc494-open { box-shadow: 0 14px 30px rgba(0,0,0,.30) !important; }
}
