/* D20F20 Website Menu Bar — exact desktop proportions from ReachEmpire Social */
.reb-web-menu{height:76px;background:#fff;border-bottom:1px solid #e1e5e9;display:flex;align-items:center;position:relative;z-index:1200;font-family:Ubuntu,Arial,sans-serif!important;box-shadow:0 1px 0 rgba(15,23,42,.02)}
.reb-web-menu-inner{width:min(1440px,calc(100% - 36px));height:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px}
.reb-web-brand{flex:none;display:flex;align-items:center;text-decoration:none;margin:0;min-width:255px}.reb-web-brand img{width:178px;height:auto;max-height:61px;display:block;object-fit:contain;object-position:left center}
.reb-web-nav{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:5px;white-space:nowrap;margin-left:auto}.reb-web-nav a{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;height:46px;min-height:46px;padding:0 15px;border-radius:12px;text-decoration:none!important;color:#5e6874!important;font-family:Ubuntu,Arial,sans-serif!important;font-size:16px!important;font-weight:700!important;line-height:1!important;letter-spacing:0!important;transition:background .15s ease,color .15s ease,transform .15s ease}.reb-web-nav a i{font-size:17px!important;line-height:1;color:inherit!important}.reb-web-nav a:hover{background:#f5f6f8;color:#2f3740!important}.reb-web-nav a.active{background:#fff3d3;color:#936000!important}.reb-web-nav a:active{transform:translateY(1px)}
.reb-web-account{position:relative;flex:0 0 auto;margin-left:18px}.reb-web-account-trigger{width:48px;height:48px;padding:0;border:0;background:transparent;display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;border-radius:50%}.reb-web-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #d9dee5;background:#f1f3f5}.reb-web-chevron{position:absolute;right:-2px;bottom:-1px;width:18px;height:18px;border-radius:50%;background:#eef1f4;border:2px solid #fff;display:flex;align-items:center;justify-content:center;font-size:8px;color:#17202a}.reb-web-dropdown{display:none;position:absolute;right:0;top:58px;width:365px;max-width:calc(100vw - 24px);padding:14px;background:#fff;border:1px solid #e1e5ea;border-radius:16px;box-shadow:0 14px 38px rgba(16,24,40,.18);z-index:9999}.reb-web-dropdown.is-open{display:block}.reb-web-user{display:flex;align-items:center;gap:12px;padding:7px 8px 12px}.reb-web-user img{width:54px;height:54px;border-radius:50%;object-fit:cover;border:1px solid #e0e4e8}.reb-web-user strong{display:block;font-size:18px;line-height:1.2;color:#111}.reb-web-user span{display:block;color:#68717d;font-size:13px;margin-top:3px}.reb-web-divider{height:1px;background:#e1e4e8;margin:3px 6px 8px}.reb-web-item{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:10px;text-decoration:none!important;color:#15191e!important}.reb-web-item:hover{background:#f2f4f6}.reb-web-item>i:first-child{width:40px;height:40px;border-radius:50%;background:#e9edf1;display:flex;align-items:center;justify-content:center;font-size:17px;color:#1c232b}.reb-web-item>span{flex:1}.reb-web-item strong{display:block;font-size:15px}.reb-web-item small{display:block;font-size:11.5px;color:#707985;margin-top:2px}.reb-web-arrow{color:#737d87;font-size:12px}.reb-web-logout>i:first-child{background:#fff0f0;color:#d92d20}.reb-web-login{height:46px;padding:0 15px;border-radius:12px;background:#111614;color:#fff!important;text-decoration:none!important;display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}
@media(max-width:1180px){.reb-web-menu-inner{width:min(100% - 24px,1100px);gap:14px}.reb-web-brand{min-width:auto}.reb-web-brand img{width:154px;height:auto}.reb-web-nav{gap:2px}.reb-web-nav a{padding:0 10px;font-size:14px!important}.reb-web-account{margin-left:8px}}
@media(max-width:940px){.reb-web-menu{height:68px;min-height:68px}.reb-web-menu-inner{width:calc(100% - 18px);gap:8px;flex-wrap:nowrap;padding:0}.reb-web-brand img{width:142px;height:auto}.reb-web-nav{flex:1;order:initial;width:auto;overflow:visible;justify-content:flex-end;padding:0}.reb-web-nav a{width:44px;min-width:44px;height:44px;padding:0}.reb-web-nav a span{display:none}.reb-web-nav a i{font-size:18px!important}.reb-web-account{margin-left:8px}.reb-web-account-trigger{width:42px;height:42px}.reb-web-avatar{width:38px;height:38px}.reb-web-dropdown{position:fixed;right:8px;top:66px;width:min(360px,calc(100vw - 16px));max-height:calc(100vh - 82px);overflow:auto}}
@media(max-width:560px){.reb-web-menu-inner{width:calc(100% - 12px)}.reb-web-brand img{width:100px;height:auto}.reb-web-nav{gap:0;justify-content:space-between}.reb-web-nav a{width:39px;min-width:39px}}

/* D20F21 Main + Social combination bridge (desktop first; mobile phase intentionally unchanged) */
@media(min-width:941px){.reb-web-nav .reb-web-social-link{margin-left:2px}.reb-web-nav .reb-web-social-link i{color:#a56b00!important}.reb-web-nav .reb-web-social-link:hover{background:#fff3d3;color:#936000!important}}

/* D20F22 ecosystem: Social is the discovery entry before Home */
@media(min-width:941px){.reb-web-nav .reb-web-social-link{margin-left:0;margin-right:2px}.reb-web-nav .reb-web-social-link i{color:#a56b00!important}.reb-web-nav .reb-web-social-link:hover{background:#fff3d3;color:#936000!important}}

/* D20F27 — desktop header brand scale correction.
   Keep the unified Social-style menu geometry; only strengthen the
   ReachEmpireBot robot/wordmark on main pages. */
@media (min-width:1181px){
  .reb-web-brand{min-width:285px!important;}
  .reb-web-brand img{
    width:220px!important;
    max-height:70px!important;
    height:auto!important;
  }
}

/* V46 — one desktop menu geometry for Home + every public page */
@media (min-width: 901px){
  .reb-web-menu{position:relative!important;inset:auto!important;width:100%!important;height:80px!important;min-height:80px!important;background:#fff!important;border:0!important;border-bottom:1px solid #ececec!important;box-shadow:none!important;margin:0!important;padding:0!important}
  .reb-web-menu-inner{box-sizing:border-box!important;height:80px!important;min-height:80px!important;max-width:none!important;width:100%!important;padding:0 54px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:26px!important}
  .reb-web-brand{display:flex!important;align-items:center!important;flex:0 0 285px!important;min-width:285px!important;margin:0!important;padding:0!important}
  .reb-web-brand img{display:block!important;width:190px!important;max-width:190px!important;max-height:none!important;height:auto!important;margin:0!important}
  .reb-web-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;flex:1 1 auto!important;white-space:nowrap!important;margin:0!important;padding:0!important;overflow:visible!important}
  .reb-web-nav a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:auto!important;min-height:0!important;padding:13px 14px!important;border-radius:13px!important;color:#59616d!important;background:transparent!important;text-decoration:none!important;font-size:17px!important;line-height:1!important;font-weight:700!important;margin:0!important;border:0!important}
  .reb-web-nav a i{font-size:18px!important;color:inherit!important;margin:0!important}
  .reb-web-nav a.reb-web-social-link{margin:0!important}
  .reb-web-nav a.reb-web-social-link i{color:#c78900!important}
  .reb-web-nav a.active{background:#fff1cf!important;color:#9a6200!important}
  .reb-web-account,.reb-classic-mobile-toggle{display:none!important}
}
