/* A small, shared header refinement loaded after the fingerprinted stylesheet. */
.site-header .brand {
  overflow: visible;
}

.site-header .brand img {
  width: 58px;
  height: 58px;
  margin-block: -2px;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.2) saturate(1.1) drop-shadow(0 0 14px rgba(201, 164, 93, 0.14));
  clip-path: ellipse(48% 49% at 50% 50%);
  -webkit-clip-path: ellipse(48% 49% at 50% 50%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 36%, rgba(0, 0, 0, 0.86) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 36%, rgba(0, 0, 0, 0.86) 62%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.site-header.is-scrolled .brand img {
  width: 52px;
  height: 52px;
}

@media (max-width: 660px) {
  .site-header .brand img {
    width: 48px;
    height: 48px;
    margin-block: -1px;
  }

  .site-header.is-scrolled .brand img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 360px) {
  .site-header .brand img,
  .site-header.is-scrolled .brand img {
    width: 42px;
    height: 42px;
  }
}

/* Lilli is a character portrait, not a circular badge. Keep the full figure
   visible and let the transparent edges sit directly on the chat header. */
.chat-panel__avatar {
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}

.chat-panel__head {
  min-height: 72px;
  gap: 12px;
}

@media (max-width: 660px) {
  .chat-panel__avatar {
    width: 54px;
    height: 54px;
  }
}
