/* Original-color brand artwork on transparent black-page presentation.
   Cropping removes only exterior empty canvas; source uploads stay untouched. */
.brand-logo {
  --brand-width: 160px;
  --brand-ratio: 2;
  --image-width: 100%;
  --image-left: 0%;
  --image-top: 0%;
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
  width: calc(var(--brand-width) * var(--brand-scale, 1));
  max-width: 100%;
  aspect-ratio: var(--brand-ratio);
  color: #e7e9e7;
  vertical-align: middle;
  line-height: 1;
  user-select: none;
}
.brand-logo__viewport {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.brand-logo .brand-logo__image {
  position: absolute;
  top: var(--image-top);
  left: var(--image-left);
  display: block;
  width: var(--image-width);
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: initial;
  filter: var(--brand-background-filter);
}
.brand-logo--ycd {
  --brand-width: 74px;
  --brand-ratio: 1049 / 870;
  --image-width: 129.647%;
  --image-left: -17.159%;
  --image-top: -21.954%;
}
.brand-logo--hrx {
  --brand-width: 70px;
  --brand-ratio: 1061 / 1074;
  --image-width: 118.191%;
  --image-left: -7.540%;
  --image-top: -7.449%;
}
.brand-art img,
.content-brand-art img {
  filter: var(--product-cutout-filter);
}
body[data-brand="ycd"] .brand-art img,
.content-brand[data-line="ycd"] .content-brand-art img {
  filter: none;
}
.brand-logo--hualuo {
  --brand-width: 164px;
  --brand-ratio: 1440 / 826;
  --image-width: 106.667%;
  --image-left: -2.917%;
  --image-top: -12.107%;
}
.brand-logo--maistar {
  --brand-width: 190px;
  --brand-ratio: 2080 / 369;
  --image-width: 104.423%;
  --image-left: -.721%;
  --image-top: -51.491%;
}
.brand-logo--lujie {
  --brand-width: 138px;
  --brand-ratio: 1151 / 778;
  --image-width: 108.949%;
  --image-left: -4.779%;
  --image-top: -36.118%;
}
.brand-logo--juteng {
  --brand-width: 82px;
  --brand-ratio: 963 / 984;
  --image-width: 135.618%;
  --image-left: -14.642%;
  --image-top: -12.195%;
}
.brand-logo__text {
  display: flex;
  align-items: center;
  height: 100%;
  font-family: inherit;
  font-size: calc(24px * var(--brand-scale, 1));
  font-weight: 550;
  letter-spacing: .075em;
  white-space: nowrap;
}
.line-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100px;
  margin: 0 0 26px;
}
.content-brand-logo {
  --brand-scale: .76;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  margin: 0;
}
@media (max-width: 700px) {
  .line-brand {
    --brand-scale: .83;
    min-height: 82px;
    margin-bottom: 20px;
  }
  .content-brand-logo {
    --brand-scale: .7;
    min-height: 68px;
    margin-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .brand-logo * { animation: none !important; transition: none !important; }
}
