/* Member-only cockpit framing; the reading surfaces remain warm and clear. */
body.mothershipHub[data-space-rpg="true"] {
  background-color: #0b1a2c;
  background-image: radial-gradient(circle at 12% 18%,#d9bd7b 0 1px,transparent 1.7px),radial-gradient(circle at 81% 34%,#88b9bd 0 1px,transparent 1.8px),radial-gradient(circle at 34% 76%,#e4d9bd 0 1px,transparent 1.6px),linear-gradient(145deg,#102d37 0%,#0b1a2c 52%,#251d39 100%);
  background-size: 267px 291px,383px 347px,457px 421px,100% 100%;
  background-attachment: fixed;
}
.mothershipHub[data-space-rpg="true"] .mothership-banner { display: none; }
.mothershipHub[data-space-rpg="true"] .portalNavigation { background:#fff7e3 !important; border-bottom:3px solid #b08c47; }
.mothershipHub[data-space-rpg="true"] .portalShell { margin-top:24px; }
.mothershipHub[data-space-rpg="true"] #dashboardView>.portalTop { border-color:#3e5f65; }
.mothershipHub[data-space-rpg="true"] #dashboardView>.portalTop :is(h1,.lede) { color:#f1ead6; }
.mothershipHub[data-space-rpg="true"] #dashboardView>.portalTop .badge { color:#ecc982; font-size:.8125rem; }
.mothershipHub[data-space-rpg="true"] #dashboardView>.portalTop .logoutBtn { color:#f1ead6; border-color:#729296; }
.mothershipHub[data-space-rpg="true"] .hubNavigation { background:#102b37; border:1px solid #507276; border-radius:5px; box-shadow:4px 4px 0 #07141e; }
.mothershipHub[data-space-rpg="true"] .hubNavLabel { color:#e5c47e; font-size:.8125rem; }
.mothershipHub[data-space-rpg="true"] .hubNavContents { background:#102b37; }
.mothershipHub[data-space-rpg="true"] .hubNavToggle { background:#102b37; color:#f9edd2; border-color:#507276; border-radius:4px; }
.mothershipHub[data-space-rpg="true"] .hubNavToggle :is(small,strong) { color:inherit; }
.mothershipHub[data-space-rpg="true"] .hubPrimaryLinks>a { color:#e8e5d7; font-size:.9375rem; border-radius:3px; }
.mothershipHub[data-space-rpg="true"] .hubPrimaryLinks>a:hover { background:#1e454a; color:#fff7e3; }
.mothershipHub[data-space-rpg="true"] .hubPrimaryLinks>a[aria-current] { background:#25434d; color:#ffe5a3; border-color:#9a8351; box-shadow:inset 3px 0 #e7c275; }
.mothershipHub[data-space-rpg="true"] .hubNavNumber { color:#a2b9b2; }
.mothershipHub[data-space-rpg="true"] .hubNavExtras { border-color:#416068; }
.mothershipHub[data-space-rpg="true"] .hubNavExtras a { color:#d8e4db; font-size:.875rem; }
.mothershipHub[data-space-rpg="true"] .hubNavExtras a:hover { color:#ffe4a1; }
.mothershipHub[data-space-rpg="true"] .hubPageHeading :is(h2,p:not(.kicker)) { color:#f4ecda; }
.mothershipHub[data-space-rpg="true"] .hubPageHeading h2 { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:clamp(1.75rem,3vw,2.5rem); font-weight:700; letter-spacing:-.04em; }
.mothershipHub[data-space-rpg="true"] .hubPageHeading .kicker { color:#e5c47e; font-size:.8125rem; }
.mothershipHub[data-space-rpg="true"] .hubPageHeading p:not(.kicker) { font-size:1rem; }
.mothershipHub[data-space-rpg="true"] .hubPageHeading .btn { background:#ead399; color:#16333d; border-color:#c3a45f; border-radius:3px; }
.mothershipHub[data-space-rpg="true"] :is(.dashCard,.crewSection,.crewProfile,.coachOverviewCard,.accountPanel,.editorSection) { border-radius:5px; box-shadow:4px 4px 0 #07141e; }
.mothershipHub[data-space-rpg="true"] .rpgPanel :is(.rpgSkill,.rpgQuest,.rpgEmpty,.rpgSession) { border-radius:4px; }
.mothershipHub[data-space-rpg="true"] .rpgPanel :is(button,.smallBtn) { border-radius:3px; }
.mothershipHub[data-space-rpg="true"] .rpgCompass { border-radius:4px; }
.mothershipHub[data-space-rpg="true"] .rewardBadge { border-radius:4px; }
.mothershipHub[data-space-rpg="true"] .rewardGrid { gap:14px; }
.mothershipHub[data-space-rpg="true"] .crewQuickLink { background:#fff7e3; }
.mothershipHub[data-space-rpg="true"] .echoHubNotice { border-radius:4px; }
.mothershipHub[data-space-rpg="true"] :focus-visible { outline:3px solid #d9a63d; outline-offset:4px; }
@media(max-width:760px) {
  .mothershipHub[data-space-rpg="true"] .hubNavigation { border-radius:4px; }
  .mothershipHub[data-space-rpg="true"] .hubNavContents { border-radius:0 0 4px 4px; }
  .mothershipHub[data-space-rpg="true"] .hubPageHeading h2 { font-size:1.8rem; }
}
@media(prefers-reduced-motion:reduce) {
  body.mothershipHub[data-space-rpg="true"] { background-attachment:scroll; }
}
