.ss-home-hero {
  color: #bcbcbc;
  background: #050505;
  border-bottom: 1px solid #222;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.ss-home-hero *,
.ss-home-hero *::before,
.ss-home-hero *::after {
  box-sizing: border-box;
}

.ss-hero-modebar {
  width: 100%;
  max-width: 1180px;
  min-height: 54px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0b0b0b;
  border-bottom: 1px solid #242424;
}

.ss-hero-modebar button,
.ss-language-switch button,
.ss-playback-controls button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #3b3b3b;
  border-radius: 999px;
  color: #ddd;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.ss-hero-modebar button:hover,
.ss-language-switch button:hover,
.ss-playback-controls button:hover {
  border-color: #777;
  color: #fff;
}

.ss-hero-modebar button.ss-is-active,
.ss-language-switch button.ss-is-active {
  border-color: #fff;
  color: #111;
  background: #fff;
}

.ss-media-panel[hidden] {
  display: none !important;
}

.ss-video-stage,
.ss-carousel-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 600px;
  height: min(600px, 56.67vw);
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.ss-video-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.ss-play-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .48);
  cursor: pointer;
}

.ss-play-fallback span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding-left: 5px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  font-size: 28px;
}

.ss-video-toolbar {
  width: 100%;
  max-width: 1180px;
  min-height: 82px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  background: #111;
  border-top: 1px solid #242424;
}

.ss-language-switch,
.ss-playback-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-language-switch {
  order: 1;
}

.ss-video-note {
  order: 2;
  flex: 1;
  text-align: center;
  color: #777;
  font-size: 12px;
}

.ss-playback-controls {
  order: 3;
}

.ss-timeline {
  order: 4;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #989898;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.ss-seek-wrap {
  position: relative;
  flex: 1;
  height: 20px;
}

.ss-seek-rail,
.ss-buffered-bar,
.ss-played-bar {
  position: absolute;
  left: 0;
  top: 8px;
  height: 4px;
  border-radius: 999px;
  pointer-events: none;
}

.ss-seek-rail {
  right: 0;
  background: #343434;
}

.ss-buffered-bar {
  width: 0;
  background: #6b6b6b;
}

.ss-played-bar {
  width: 0;
  background: #fff;
}

.ss-seek-bar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 20px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.ss-seek-bar::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.ss-seek-bar::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}

.ss-seek-bar::-moz-range-track {
  height: 4px;
  background: transparent;
}

.ss-seek-bar::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
}

.ss-carousel-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}

.ss-carousel-slide.ss-is-active {
  opacity: 1;
  pointer-events: auto;
}

.ss-carousel-slide a,
.ss-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.ss-carousel-slide img {
  object-fit: contain;
}

.ss-carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .48);
  cursor: pointer;
  font: inherit;
  font-size: 26px;
}

.ss-carousel-arrow:hover {
  background: rgba(0, 0, 0, .72);
}

.ss-carousel-prev {
  left: 18px;
}

.ss-carousel-next {
  right: 18px;
}

.ss-carousel-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 15px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.ss-carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
}

.ss-carousel-dots button.ss-is-active {
  background: #fff;
}

@media (max-width: 760px) {
  .ss-hero-modebar {
    min-height: 50px;
    padding: 8px 12px;
  }

  .ss-hero-modebar button,
  .ss-language-switch button,
  .ss-playback-controls button {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .ss-video-stage,
  .ss-carousel-stage {
    height: 56.67vw;
    max-height: 362px;
  }

  .ss-video-toolbar {
    min-height: 0;
    padding: 10px 12px 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .ss-timeline {
    order: 1;
    gap: 7px;
  }

  .ss-language-switch {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .ss-playback-controls {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .ss-video-note {
    display: none;
  }

  .ss-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .ss-carousel-prev {
    left: 10px;
  }

  .ss-carousel-next {
    right: 10px;
  }
}
