
/* EMUnity Design Bridge V0.5.8 */
:root{
  --emu-primary: var(--emu-primary, #14d9e6);
}
.emu-design-bridge,
.emunity-auth,
.emunity-profile,
.emunity-members,
.emunity-community,
.emu-events-shell,
.emu-profile-shell,
.emu-community-shell,
.emu-create-shell,
.emu-single{
  font-family:var(--emu-font, Inter, Arial, sans-serif);
  color:var(--emu-text, #f5ffff);
}
.emu-card,
.emu-event-card,
.emu-profile-card,
.emu-community-card,
.emu-panel,
.emu-design-card,
.emunity-card,
.emunity-profile-card,
.emunity-member-card{
  background:var(--emu-card, #1f2424);
  color:var(--emu-text, #f5ffff);
  border:1px solid var(--emu-border, #18d5dc);
  border-radius:var(--emu-radius, 8px);
  box-shadow:var(--emu-shadow, 0 18px 48px rgba(0,0,0,.30));
}
.emu-btn,
.emu-design-btn,
.emunity-button,
.emunity-submit,
a.emu-btn,
button.emu-btn{
  background:linear-gradient(135deg,var(--emu-primary, #14d9e6),var(--emu-secondary, #7c3aed)) !important;
  color:#fff !important;
  border:1px solid var(--emu-primary, #14d9e6) !important;
  border-radius:calc(var(--emu-radius, 8px) + 2px);
  box-shadow:var(--emu-glow, 0 0 18px rgba(20,217,230,.55));
  font-weight:800;
  text-decoration:none!important;
}
.emu-chip,
.emu-pill,
.emu-filter-chip,
.emu-genre-chip,
.emunity-chip,
.emunity-profile-type-card{
  background:var(--emu-card, #1f2424);
  color:var(--emu-text, #f5ffff);
  border:1px solid var(--emu-border, #18d5dc);
  border-radius:999px;
}
.emu-filter-chip.active,
.emu-chip.active,
.emunity-profile-type-card.is-active{
  background:linear-gradient(135deg,var(--emu-primary, #14d9e6),var(--emu-accent, #ff3eb5));
  color:#fff;
  box-shadow:var(--emu-glow, 0 0 18px rgba(20,217,230,.55));
}
.emu-title,
.emu-section-title,
.emunity-section-title,
.emu-events-shell h1,
.emu-events-shell h2,
.emu-profile-shell h1,
.emu-community-shell h1{
  color:var(--emu-primary, #14d9e6);
  text-shadow:0 0 16px rgba(20,217,230,.35);
}
.emu-muted,
.emu-event-location,
.emu-card-footer,
.emunity-muted{
  color:var(--emu-muted, #a8b4b8);
}

/* emunity-auth-wizard V0.5.9 visible layout bridge */
body.emu-design-active .emunity-auth-wizard-module,
body.emu-design-active .emunity_auth_wizard-module {
    font-family: var(--emu-font, Inter, Arial, sans-serif);
}

/* True Profile Layout Presets V0.6.0 */
body.emu-layout-profile-banner_tabs .emunity-profile,
body.emu-layout-profile-banner_tabs .emu-profile-shell,
body.emu-layout-profile-banner_tabs .emunity-profile-view{
  display:grid!important;
  grid-template-columns:280px minmax(0,1fr)!important;
  gap:24px!important;
}
body.emu-layout-profile-modern_cards .emunity-profile,
body.emu-layout-profile-modern_cards .emu-profile-shell,
body.emu-layout-profile-modern_cards .emunity-profile-view{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;
  gap:20px!important;
}
body.emu-layout-profile-modern_cards .emunity-profile-card,
body.emu-layout-profile-modern_cards .emu-profile-card{
  min-height:170px;
}
@media(max-width:800px){
 body.emu-layout-profile-banner_tabs .emunity-profile,
 body.emu-layout-profile-banner_tabs .emu-profile-shell,
 body.emu-layout-profile-banner_tabs .emunity-profile-view{grid-template-columns:1fr!important}
}

/* EMUnity Module Readability Bridge V0.6.1 */
body.emu-design-active .emu-page,
body.emu-design-active .emu-wizard,
body.emu-design-active .emu-profile-shell,
body.emu-design-active .emu-community-shell,
body.emu-design-active .emu-events-shell{
  background:var(--emu-bg)!important;
  color:var(--emu-text)!important;
}
body.emu-design-active .emu-card,
body.emu-design-active .emu-event-card,
body.emu-design-active .emu-group-card,
body.emu-design-active .emu-profile-card,
body.emu-design-active .emu-panel{
  background:var(--emu-card)!important;
  color:var(--emu-text)!important;
  border-color:var(--emu-border)!important;
}
body.emu-design-active .emu-card *,
body.emu-design-active .emu-event-card *,
body.emu-design-active .emu-group-card *,
body.emu-design-active .emu-profile-card *,
body.emu-design-active .emu-panel *{
  color:inherit;
}
body.emu-theme-light_clean .emu-card *,
body.emu-theme-light_clean .emu-event-card *,
body.emu-theme-light_clean .emu-group-card *,
body.emu-theme-light_clean .emu-profile-card *,
body.emu-theme-light_clean .emu-panel *{
  color:#071827;
}
body.emu-design-active .emu-btn{
  color:#fff!important;
}

/* Classic EMU Module Alignment V0.6.2 */
body.emu-theme-classic_emu .emu-page,
body.emu-theme-classic_emu .emu-wizard,
body.emu-theme-classic_emu .emu-profile-shell,
body.emu-theme-classic_emu .emu-community-shell,
body.emu-theme-classic_emu .emu-events-shell{
    background:transparent!important;
    color:#06243a!important;
}
body.emu-theme-classic_emu .emu-group-grid,
body.emu-theme-classic_emu .emunity-members,
body.emu-theme-classic_emu .emu-layout-community-grid{
    gap:28px!important;
}
body.emu-theme-classic_emu .emu-group-card,
body.emu-theme-classic_emu .emunity-member-card,
body.emu-theme-classic_emu .emu-community-card{
    text-align:center!important;
}
body.emu-theme-classic_emu .emu-group-cover,
body.emu-theme-classic_emu .emunity-member-cover{
    height:150px!important;
    overflow:hidden!important;
    background:#eef2f4!important;
}
body.emu-theme-classic_emu .emu-group-cover img,
body.emu-theme-classic_emu .emunity-member-cover img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
body.emu-theme-classic_emu .emu-post-form,
body.emu-theme-classic_emu .emu-timeline .emu-card{
    background:#fff!important;
    color:#06243a!important;
}
body.emu-theme-classic_emu .emu-search input,
body.emu-theme-classic_emu input,
body.emu-theme-classic_emu textarea,
body.emu-theme-classic_emu select{
    background:#fff!important;
    color:#06243a!important;
    border:1px solid #d8edf0!important;
}

/* Classic EMU Renderer Module Helpers V0.6.3 */
body.emu-theme-classic_emu .emu-page{
    max-width:1120px!important;
    margin:0 auto!important;
    padding:42px 24px!important;
}
body.emu-theme-classic_emu .emu-page > h2:first-child{
    color:#06243a!important;
    font-size:28px!important;
    margin:0 0 24px!important;
}
body.emu-theme-classic_emu .emu-search{
    max-width:620px!important;
    margin:0 auto 34px!important;
    display:flex!important;
    background:#fff!important;
    border:1px solid #d8edf0!important;
    border-radius:8px!important;
    box-shadow:0 14px 34px rgba(6,36,58,.06)!important;
}
body.emu-theme-classic_emu .emu-search input{
    flex:1!important;
    border:none!important;
    background:#fff!important;
    color:#06243a!important;
}
body.emu-theme-classic_emu .emu-search button{
    width:56px!important;
    border:none!important;
    background:#fff!important;
    color:#13a6a6!important;
}
body.emu-theme-classic_emu .emu-group-grid{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:28px!important;
}
body.emu-theme-classic_emu .emu-group-card{
    background:#fff!important;
    border:1px solid #e5eef2!important;
    border-radius:8px!important;
    box-shadow:0 14px 34px rgba(6,36,58,.06)!important;
    overflow:hidden!important;
    text-align:center!important;
}
body.emu-theme-classic_emu .emu-group-cover{
    height:150px!important;
    background:#e9eef1!important;
    overflow:hidden!important;
}
body.emu-theme-classic_emu .emu-group-cover img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}
body.emu-theme-classic_emu .emu-group-card h3{
    color:#06243a!important;
    font-size:15px!important;
    margin:18px 14px 8px!important;
}
body.emu-theme-classic_emu .emu-group-card p{
    color:#7b8790!important;
    font-size:12px!important;
}
body.emu-theme-classic_emu .emu-timeline{
    max-width:640px!important;
    margin:0 auto!important;
}
body.emu-theme-classic_emu .emu-timeline .emu-card{
    margin-bottom:18px!important;
    padding:22px!important;
}
@media(max-width:900px){
    body.emu-theme-classic_emu .emu-group-grid{
        grid-template-columns:1fr!important;
    }
    body.emu-theme-classic_emu .emu-page{
        padding:28px 16px!important;
    }
}

/* Profile/Wizard restoration V0.6.4 */
body.emu-theme-classic_emu .emu-profiletype-launcher,
body.emu-theme-classic_emu .emunity-wizard-launcher,
body.emu-theme-classic_emu [data-open-profile-wizard] {
    display:inline-flex!important;
    background:#13a6a6!important;
    color:#fff!important;
    border-radius:999px!important;
    padding:9px 14px!important;
    font-weight:900!important;
    text-decoration:none!important;
    border:0!important;
}
body.emu-theme-classic_emu .emu-profiletype-modal,
body.emu-theme-classic_emu .emu-wizard-modal,
body.emu-theme-classic_emu .emunity-modal {
    position:fixed!important;
    inset:18px!important;
    z-index:99999!important;
    background:#fff!important;
    color:#06243a!important;
    border:1px solid #dbe9ee!important;
    border-radius:18px!important;
    box-shadow:0 30px 90px rgba(0,0,0,.25)!important;
    overflow:hidden!important;
}
body.emu-theme-classic_emu .emu-profiletype-modal-inner,
body.emu-theme-classic_emu .emu-wizard-modal-inner,
body.emu-theme-classic_emu .emunity-modal-inner {
    max-height:calc(100vh - 52px)!important;
    overflow:auto!important;
    padding:24px!important;
}
body.emu-theme-classic_emu .emu-profiletype-grid,
body.emu-theme-classic_emu .emu-profile-type-grid,
body.emu-theme-classic_emu .emunity-profile-types {
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
    gap:18px!important;
}
body.emu-theme-classic_emu .emu-profile-type-card,
body.emu-theme-classic_emu .emunity-profile-type-card {
    display:block!important;
    background:#fff!important;
    color:#06243a!important;
    border:1px solid #dbe9ee!important;
    border-radius:12px!important;
    overflow:hidden!important;
    min-height:0!important;
}
body.emu-theme-classic_emu .emu-profile-type-card img,
body.emu-theme-classic_emu .emunity-profile-type-card img {
    height:106px!important;
    width:100%!important;
    object-fit:cover!important;
}
body.emu-theme-classic_emu .emunity-music-interests,
body.emu-theme-classic_emu .emu-music-interests,
body.emu-theme-classic_emu .emu-profile-fields,
body.emu-theme-classic_emu .emunity-profile-fields {
    display:block!important;
    visibility:visible!important;
}

/* Actual type modal sizing fix V0.6.5 */
body.emu-theme-classic_emu .emunity-type-modal:not([hidden]) .emunity-modal-panel{width:min(980px,calc(100vw - 48px))!important;max-height:calc(100vh - 56px)!important;overflow:auto!important}
body.emu-theme-classic_emu .emunity-type-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
body.emu-theme-classic_emu .emunity-type-image{height:105px!important;object-fit:cover!important}
