/* LCC shared header controls — v0.57.88 */
.lcc-header-search{position:relative!important;display:flex!important;align-items:center!important;width:auto!important;max-width:100%!important}
.lcc-header-search input[type="search"]{box-sizing:border-box!important;width:100%!important;min-width:260px!important;height:38px!important;min-height:38px!important;max-height:38px!important;margin:0!important;border:1px solid #343d49!important;border-radius:9px!important;background:#171c24!important;color:#f5f7fb!important;padding:0 38px 0 36px!important;font-size:14px!important;line-height:38px!important}
.lcc-header-search:before{content:"⌕";position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;color:#8f99a8!important;z-index:2!important;pointer-events:none!important;font-size:16px!important;line-height:1!important}
.lcc-header-bell{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;margin:0!important;padding:0!important;color:#eef2f7!important;font-size:22px!important;line-height:1!important}
.lcc-header-bell img,.lcc-header-bell .lcc-ui-icon{display:block!important;width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;max-width:23px!important;max-height:23px!important;margin:0!important;padding:0!important;object-fit:contain!important}
.lcc-header-badge{position:absolute!important;right:2px!important;top:1px!important;min-width:16px!important;height:16px!important;padding:0 3px!important;border-radius:99px!important;background:#c94d55!important;color:#fff!important;font-size:10px!important;line-height:16px!important;text-align:center!important;box-sizing:border-box!important}
.lcc-header-account{position:relative!important;display:block!important;margin:0!important;padding:0!important}
.lcc-header-account>summary{list-style:none!important;cursor:pointer!important;user-select:none!important;margin:0!important;padding:0!important}
.lcc-header-account>summary::-webkit-details-marker{display:none!important}
.lcc-header-member{display:flex!important;align-items:center!important;gap:9px!important;min-height:38px!important;margin:0!important;padding:0!important;color:#f5f7fb!important;line-height:1.2!important}
.lcc-header-member>img{display:block!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;margin:0!important;padding:0!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important;flex:0 0 36px!important}
.lcc-header-member span{display:block!important}.lcc-header-member b{font-size:14px!important;line-height:1.2!important}.lcc-header-member small{display:block!important;color:#98a6ba!important;font-size:11px!important}.lcc-header-member i{font-style:normal!important;color:#98a6ba!important;font-size:12px!important;margin-left:1px!important}
.lcc-header-account-menu{position:absolute!important;right:0!important;top:calc(100% + 10px)!important;z-index:99999!important;min-width:168px!important;padding:7px!important;background:#151b23!important;border:1px solid #303a48!important;border-radius:10px!important;box-shadow:0 14px 34px rgba(0,0,0,.34)!important}
.lcc-header-account-menu a{display:block!important;padding:10px 12px!important;border-radius:7px!important;color:#e9edf3!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}.lcc-header-account-menu a:hover{background:#202a37!important}.lcc-header-account-menu .lcc-header-logout{margin-top:4px!important;border-top:1px solid #2a3442!important;border-radius:0 0 7px 7px!important;color:#d8b77a!important}
.lcc-header-login{display:flex!important;align-items:center!important;gap:9px!important;min-height:38px!important;color:#f5f7fb!important;font-weight:700!important}.lcc-header-login-avatar{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;border-radius:50%!important;overflow:hidden!important;background:#d7d9dc!important;border:1px solid #e7e9ec!important;flex:0 0 36px!important}.lcc-header-login-avatar svg{display:block!important;width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important}
@media(max-width:800px){.lcc-header-search input[type="search"]{min-width:0!important}.lcc-header-member b{font-size:13px!important}}

/* v0.57.93 — keep header avatars circular even when unread badge wrapper is present. */
.lcc-header-member-avatar-wrap{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;border-radius:50%!important;overflow:visible!important;flex:0 0 36px!important;position:relative!important}
.lcc-header-member-avatar-wrap>img,.lcc-header-member img{display:block!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important;margin:0!important;padding:0!important;border-radius:50%!important;object-fit:cover!important;clip-path:circle(50%)!important}

/* v0.57.100 — reusable Astra/Header Builder message shortcode: [lineage_message_icon] */
.lcc-header-message{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#eef2f7!important;box-shadow:none!important;cursor:pointer!important;line-height:1!important;text-decoration:none!important;vertical-align:middle!important}
.lcc-header-message:hover,.lcc-header-message:focus{background:rgba(255,255,255,.06)!important;color:#f0d39a!important;outline:none!important}
.lcc-header-message>img{display:block!important;width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;max-width:23px!important;max-height:23px!important;margin:0!important;padding:0!important;object-fit:contain!important}
.lcc-header-message>.lcc-bm-unread-message{position:absolute!important;right:-3px!important;top:-3px!important;margin:0!important;z-index:3!important;border-color:#0b1018!important}
@media(max-width:800px){.lcc-header-message{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important}.lcc-header-message>img{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important}}
/* v0.57.101 — Astra Header Builder widget alignment for [lineage_message_icon]. */
.site-header .widget:has(.lcc-header-message),
.ast-header-widget-area .widget:has(.lcc-header-message),
.ast-header-break-point .ast-header-widget-area .widget:has(.lcc-header-message){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  width:auto!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
}
.site-header .widget:has(.lcc-header-message) .widget-shortcode,
.site-header .widget:has(.lcc-header-message) .textwidget,
.site-header .widget:has(.lcc-header-message) p,
.ast-header-widget-area .widget:has(.lcc-header-message) .widget-shortcode,
.ast-header-widget-area .widget:has(.lcc-header-message) .textwidget,
.ast-header-widget-area .widget:has(.lcc-header-message) p{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:38px!important;
  min-height:38px!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
}
.site-header .widget:has(.lcc-header-message) .lcc-header-message,
.ast-header-widget-area .widget:has(.lcc-header-message) .lcc-header-message{
  align-self:center!important;
  margin:0!important;
  top:auto!important;
  transform:none!important;
}
.site-header .lcc-header-message>.lcc-bm-unread-message,
.ast-header-widget-area .lcc-header-message>.lcc-bm-unread-message{
  right:-5px!important;
  top:-5px!important;
}
@media(max-width:800px){
  .site-header .widget:has(.lcc-header-message),
  .ast-header-widget-area .widget:has(.lcc-header-message),
  .ast-header-break-point .ast-header-widget-area .widget:has(.lcc-header-message),
  .site-header .widget:has(.lcc-header-message) .widget-shortcode,
  .site-header .widget:has(.lcc-header-message) .textwidget,
  .site-header .widget:has(.lcc-header-message) p,
  .ast-header-widget-area .widget:has(.lcc-header-message) .widget-shortcode,
  .ast-header-widget-area .widget:has(.lcc-header-message) .textwidget,
  .ast-header-widget-area .widget:has(.lcc-header-message) p{
    height:36px!important;
    min-height:36px!important;
  }
}


/* v0.57.120 — one avatar treatment across LCC surfaces. */
:root{--lcc-avatar-ring:#d8b77a}
.lcc-header-member-avatar-wrap>img,
.lcc-header-member>img,
.lcc-notify-avatar,
.lcc-feedback-reply>img,
.lcc-fs-user img,
.lcc-sidebar-avatar-col img,
.lcc-home-member-main>img,
.lcc-home-activity-item>img,
.lcc-rank-row>img,
.lcc-topic-author-avatar img,
.lcc-topic-reply-avatar img,
.lcc-fs-author-avatar img,
.lcc-market-v2-avatar img,
.lcc-market-app-avatar,
.lcc-public-avatar,
.lcc-avatar-frame{
  border-color:var(--lcc-avatar-ring)!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
}
.lcc-header-member-avatar-wrap>img,
.lcc-header-member>img,
.lcc-notify-avatar,
.lcc-feedback-reply>img,
.lcc-fs-user img,
.lcc-sidebar-avatar-col img,
.lcc-home-member-main>img,
.lcc-home-activity-item>img,
.lcc-rank-row>img,
.lcc-topic-author-avatar img,
.lcc-topic-reply-avatar img,
.lcc-fs-author-avatar img,
.lcc-market-v2-avatar img,
.lcc-market-app-avatar,
.lcc-public-avatar{
  border:2px solid var(--lcc-avatar-ring)!important;
  object-fit:cover!important;
  overflow:hidden!important;
}
.lcc-avatar-frame{border:3px solid var(--lcc-avatar-ring)!important}

/* v0.57.175 — keep long member nicknames on one line without increasing header height. */
.lcc-header-member>span:not(.lcc-header-member-avatar-wrap){display:block!important;min-width:0!important;max-width:112px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.lcc-header-member>span:not(.lcc-header-member-avatar-wrap)>b{display:block!important;max-width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
@media(max-width:800px){.lcc-header-member>span:not(.lcc-header-member-avatar-wrap){max-width:88px!important}}
