/* Original alpha silhouette with a restrained gradient overlay. */
.brand-artwork {
  position: relative;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-artwork img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.brand-artwork-full {
  width: 154px;
  aspect-ratio: 796 / 180;
}

.brand-artwork-full img {
  width: 108.040201%;
  left: -4.020101%;
  top: -17.777778%;
}

.brand-artwork-compact {
  width: 28px;
  aspect-ratio: 151 / 180;
}

.brand-artwork-compact img {
  width: 569.536424%;
  left: -21.192053%;
  top: -17.777778%;
}

.sidebar-brand .brand-home {
  min-height: 36px;
  border-radius: 5px;
}

.brand-home .brand-artwork-compact {
  display: none;
}

.sidebar-collapsed .sidebar-brand .brand-artwork-full {
  display: none;
}

.sidebar-collapsed .sidebar-brand .brand-artwork-compact {
  display: block;
}

.auth-story > .brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.auth-story .brand-artwork-full {
  width: 230px;
  max-width: 100%;
}

.initial .brand-artwork-compact {
  width: 64px;
  margin: auto;
}

.brand-artwork::after {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:18.969849%;
  height:100%;
  background:url('/static/brand/yufeng-symbol-gradient.svg') left center / 100% 100% no-repeat;
  pointer-events:none;
}
.brand-artwork-full img {clip-path:inset(0 0 0 22%);transition:filter .18s ease}
.brand-artwork-compact img {visibility:hidden}
.brand-artwork-compact::after {width:100%}
html[data-theme="dark"] .brand-artwork-full img {filter:brightness(0) invert(1)}
body:has(#speaker-workbench) .brand-artwork-full {background:transparent;border-radius:0}
@media(prefers-reduced-motion:reduce){.brand-artwork-full img{transition:none}}

@media (max-width: 1100px) and (min-width: 761px) {
  .sidebar-brand .brand-artwork-full {
    width: 140px;
  }
}

@media (max-width: 760px) {
  .workspace-shell .sidebar-brand .brand-artwork-full {
    display: block;
  }

  .workspace-shell .sidebar-brand .brand-artwork-compact {
    display: none;
  }

  .mobile-brand .brand-artwork-full {
    width: 144px;
  }
}

@media (max-width: 480px) {
  .mobile-brand .brand-artwork-full {
    width: 126px;
  }
}

/* Keep the shared header usable at a 320px viewport without shrinking actions. */
@media(max-width:360px){.mobile-brand{min-width:0}.mobile-brand .brand-artwork-full{width:96px}.workspace-shell .site-header-inner{gap:4px}.workspace-shell .header-actions{flex:none}}
