/* MyFriends.Space supplied branding; deliberately does not reset site/game layouts. */
.mfs-brand { display:inline-flex; align-items:center; max-width:100%; text-decoration:none; }
.mfs-brand img { display:block; width:244px; max-width:100%; height:auto; }
.mfs-brand .mfs-brand-dark { display:none; }
.theme-dark .mfs-brand .mfs-brand-light { display:none; }
.theme-dark .mfs-brand .mfs-brand-dark { display:block; }
.topbar .mfs-brand .mfs-brand-light { display:none; }
.topbar .mfs-brand .mfs-brand-dark { display:block; }
.mfs-nav-account { display:inline-flex; align-items:center; gap:8px; min-height:40px; }
.mfs-nav-account img { width:28px; height:28px; flex:none; }
.mfs-nav-label { overflow-wrap:anywhere; }
@media (max-width:600px) {
    .mfs-brand img { width:210px; }
    .topbar .mfs-brand img { width:194px; }
}
/* The site's purple bar needs a high-contrast monochrome mark and account icon. */
.topbar .mfs-brand .mfs-brand-dark,
.topbar .mfs-nav-account img { filter: brightness(0) invert(1); }
