#brand-symbol {
  isolation: isolate;
}

#brand-symbol img {
  position: relative;
  z-index: 1;
  box-sizing: content-box;
  padding: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(17, 17, 19, 0.16);
  transition:
    background-color 0.5s ease,
    box-shadow 0.5s ease;
}

#site-header.on-dark #brand-symbol img {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.98),
    0 4px 14px rgba(0, 0, 0, 0.32);
}
