@font-face {
  font-family: 'MiSans Commerce';
  src: url('/yaogan/commerce-film/misans-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans Commerce';
  src: url('/yaogan/commerce-film/misans-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'MiSans Commerce';
  src: url('/yaogan/commerce-film/misans-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
.commerce-film-frame :is(.word, .screen) {
  position: absolute;
}
.commerce-film-shot {
  position: absolute;
  clip-path: inset(0);
}
.commerce-film-shot :is(video, img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: inherit;
}
.commerce-film-shot video {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.commerce-film-shot[data-frame='true'] video {
  opacity: 1;
}
.commerce-film-frame .word {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
  white-space: nowrap;
}
.commerce-film-frame .optical-line {
  position: relative;
  display: inline-block;
  padding-inline: 0.8em;
}
.commerce-film-frame .hanging-stop {
  position: absolute;
  inset-inline-start: calc(100% - 0.8em);
}
#commerce-word-two {
  width: 240px;
  text-align: center;
}
#commerce-word-three {
  width: 280px;
  text-align: right;
}
#commerce-plate {
  inset: 0;
  background: #fcfcfc;
  z-index: 1;
}
#commerce-white-copy {
  z-index: 7;
  color: #111;
  display: grid;
  place-items: center;
  inset: 510px 0 0;
  font-size: 56px;
  line-height: 1.2;
  font-weight: 600;
}
#commerce-statement {
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  font-size: 78px;
  font-weight: 500;
  line-height: 1.14;
}

#commerce-story {
  z-index: 2;
}
#commerce-story-word,
#commerce-story-word-end {
  top: 277px;
}
#commerce-story-word {
  left: 130px;
}
#commerce-story-word-end {
  right: 130px;
  text-align: right;
}
#commerce-review {
  z-index: 1;
}
#commerce-statement {
  z-index: 2;
}
#commerce-pink {
  z-index: 3;
}
.commerce-film-frame .review-caption {
  top: 620px;
  z-index: 4;
  text-align: center;
  font-size: 36px;
}
#commerce-review-word {
  left: 135px;
  width: 363px;
}
#commerce-detail-word {
  left: 654px;
  width: 424px;
}
#commerce-case {
  z-index: 5;
  left: 180px;
  top: 75px;
  color: #e0ded8;
  font-size: 32px;
}
.commerce-film-frame .scene-swap {
  width: 326px;
  height: 228px;
  z-index: 3;
}
#commerce-scene-demo {
  left: 473px;
  top: 151px;
}
#commerce-scene-pair {
  left: 856px;
  top: 213px;
}
#commerce-product-grid {
  inset: 0;
}
.commerce-film-frame .product-grid-inner {
  display: grid;
  height: 100%;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 185px);
  align-content: center;
  row-gap: 160px;
  padding-inline: 87px;
}
.commerce-film-frame .product-unit {
  width: 185px;
  height: 185px;
  justify-self: center;
  object-fit: contain;
}
#commerce-batch-word {
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  font-size: 46px;
  color: #f4f3f0;
  text-align: center;
  font-weight: 500;
  line-height: 1;
}
#commerce-brand {
  z-index: 2;
  inset: 388px 0 auto;
  text-align: center;
}
#commerce-brand-title {
  font-size: 42px;
  line-height: 1.24;
  font-weight: 400;
}

.industry-visual.commerce-film {
  --commerce-background: #141414;
  isolation: isolate;
  background: var(--commerce-background);
  color: #f4f3f0;
  font-family: 'MiSans', 'MiSans Commerce', sans-serif;
}
.commerce-film-frame {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1280px;
  height: 720px;
  transform: scale(var(--commerce-scale, 0));
  transform-origin: top left;
  overflow: hidden;
  font-synthesis: none;
}
.commerce-film-frame [data-start] {
  visibility: hidden;
}
.commerce-film-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 4.5cqi, 44px);
  font-weight: 500;
}
.commerce-film-fallback span {
  font-size: 0.43em;
  color: #b5b5b5;
}
.commerce-film[data-started='true'] .commerce-film-fallback {
  visibility: hidden;
}
.commerce-film-control {
  position: absolute;
  z-index: 2;
  inset: auto 8px 8px auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  background: #171717;
  color: #f4f3f0;
  cursor: pointer;
}
.commerce-film-control:hover {
  background: #353535;
}
.commerce-film-control:focus-visible {
  outline: 2px solid #82b3ff;
  outline-offset: -2px;
}
.commerce-wordmark {
  --commerce-wordmark-width: 355px;
  /* The opening's final frame includes the detached TM when fitting the logo. */
  --commerce-wordmark-offset: 19px;
  position: absolute;
  inset: 0;
  isolation: isolate;
  background: var(--commerce-background);
}
.commerce-wordmark > :is(canvas, img) {
  position: absolute;
  left: calc(50% + var(--commerce-wordmark-offset));
  transform: translate(-50%, -50%);
}
#commerce-wordmark {
  top: 311px;
  /* The fallback SVG already has optical padding in its viewBox. */
  left: calc(50% + 5px);
  width: calc(var(--commerce-wordmark-width) * 1.1);
  height: auto;
}
.commerce-wordmark canvas {
  top: 314px;
  width: auto;
  height: calc(var(--commerce-wordmark-width) * 2 / 1.09);
  mix-blend-mode: screen;
}
.commerce-wordmark[data-live='true'] img {
  visibility: hidden;
}
@media (max-width: 767px) {
  .industry-visual.commerce-film {
    aspect-ratio: auto;
    padding-top: calc((100% * 9) / 16);
    padding-bottom: 44px;
  }
  .commerce-film-fallback {
    bottom: 44px;
  }
  .commerce-film-control {
    right: 6px;
    bottom: 0;
    background: transparent;
    border-color: transparent;
  }
  .commerce-film-control:hover {
    background: transparent;
  }
  .commerce-film-control::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    border: 1px solid #ffffff28;
    background: #1d1d1d;
    z-index: -1;
  }
  .commerce-film-control:hover::before {
    background: #353535;
  }
  .commerce-film-frame .word {
    font-size: 49px;
  }
  .commerce-film-frame .review-caption {
    font-size: 50px;
  }
  #commerce-case {
    font-size: 38px;
  }
  .commerce-wordmark {
    --commerce-wordmark-width: 408px;
    --commerce-wordmark-offset: 22px;
  }
  #commerce-brand-title {
    font-size: 51px;
  }
  #commerce-batch-word {
    font-size: 58px;
  }
}
