@font-face {
  font-family: 'Ma Shan Zheng';
  src: url('./xiexing-brand-text.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  container-type: inline-size;
  white-space: nowrap;
}

.brand-wordmark > img {
  width: 26%;
  height: auto;
  flex: 0 0 26%;
  object-fit: contain;
}

.brand-wordmark__copy {
  display: grid;
  gap: 3px;
  text-align: start;
}

.brand-wordmark__copy,
.brand-name {
  font-family: 'Ma Shan Zheng', sans-serif;
  font-synthesis: none;
}

.brand-wordmark__copy strong {
  color: #087b87;
  font-size: 8cqi;
  font-weight: 400;
  line-height: 1.1;
}

.brand-wordmark__copy strong:lang(zh) {
  font-size: 12cqi;
}

.brand-wordmark__copy small {
  color: #263442;
  font-size: 5.3cqi;
  font-weight: 700;
  line-height: 1;
}

.brand-wordmark[data-surface='dark'] .brand-wordmark__copy strong {
  color: #17d1d9;
}

.brand-wordmark[data-surface='dark'] .brand-wordmark__copy small {
  color: #eaf5fa;
}

.brand-wordmark-original {
  display: none !important;
}

body .layout .brand-wordmark.brand-top-nav__logo--horizontal {
  transform: none;
}

.creation-workbench-header .creation-secondary + small {
  display: block;
  margin-top: 4px;
}

@media (min-width: 1081px) {
  html body .creation-workbench-layout .layout-top-nav.brand-top-nav {
    position: fixed;
    inset: var(--huanyue-native-titlebar-height, 0px) 0 auto;
    min-height: var(--huanyue-app-header-height, 72px);
    margin: 0;
    align-items: center;
  }

  html body .creation-workbench-layout .layout-top-nav .brand-top-nav__actions {
    top: 50%;
    transform: translateY(-50%);
  }
}
