/* Official full-square logo: keep the embedded wordmark and full image visible. */
:is(.iv-brand,.iv-login-brand,.iv-a-brand,.iv-p-brand,.iv-starter-brand,.iv-m-sidebar-brand) > img {
  display:block; flex:0 0 auto; width:64px !important; height:64px !important;
  max-width:100%; aspect-ratio:1; object-fit:contain; border-radius:0; padding:0;
}
.iv-brand > img { width:52px !important; height:52px !important; }
.iv-dashboard-top .iv-brand > img { width:44px !important; height:44px !important; }
/* Shared member header: unframed logo and a readable gold wordmark. */
html[data-kc-theme] body.iv-member .kc-global-brand {
  display:inline-flex; align-items:center; flex:0 0 auto; gap:10px !important;
  padding:0; border:0; border-radius:0; background:transparent; box-shadow:none;
}
html[data-kc-theme] body.iv-member .kc-header-logo-mark,
html[data-kc-theme] body.iv-member .kc-header-logo-mark img {
  display:block; width:48px !important; height:48px !important; min-width:48px;
  aspect-ratio:1; object-fit:contain; border-radius:0 !important; padding:0 !important;
  border:0 !important; outline:0; flex:0 0 48px;
  background:transparent !important; box-shadow:none !important; overflow:visible;
}
html[data-kc-theme] body.iv-member .iv-header-brand-name {
  display:block; flex:0 0 auto; color:#efc66e;
  font-size:clamp(16px, 4vw, 21px); font-weight:800; line-height:1.15;
  letter-spacing:.5px; white-space:nowrap;
  text-shadow:0 0 8px rgba(232, 172, 62, .12);
}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
  html[data-kc-theme] body.iv-member .iv-header-brand-name {
    background:linear-gradient(110deg, #f7df98, #e9b44f);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
}
@media(max-width:768px) {
  :is(.iv-login-brand,.iv-a-brand,.iv-p-brand,.iv-starter-brand) > img { width:56px !important; height:56px !important; }
  .iv-brand > img { width:48px !important; height:48px !important; }
  .iv-dashboard-top .iv-brand > img { width:40px !important; height:40px !important; }
}
