.en-hero {
  width: 100%;
  padding: 0 32px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  /* Quick Contact 面板用 translateX(110%) 藏到右侧时仍会撑大 scrollWidth，裁掉横向溢出 */
  overflow-x: hidden;
}

.en-hero__shell {
  width: 100%;
  /* max-width: 1440px; */
  padding-top: 60px;
  background: radial-gradient(
    120% 100% at 50% 0%,
    #faf7fb,
    #f6f7fe 14%,
    #f5f6fd 59%,
    #e6e1f5 88%,
    #fff2ea 100%
  );
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
}

.en-hero__title-block {
  width: clamp(640px, 60%, 1080px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.en-hero__action {
  width: clamp(640px, 60%, 1080px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
}

.en-hero__copies {
  width: 600px;
  height: 22px;
  margin-right: 16px;
}

.en-hero__copies p {
  display: none;
  margin: 0;
  color: #41434d;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.en-hero__copies p.is-active {
  display: block;
}

.en-hero__buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.en-hero__profile-btn,
.en-hero__trial-btn {
  width: 121px;
  height: 32px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.en-hero__scene {
  width: clamp(640px, 60%, 1080px);
  display: flex;
  padding: 16px 16px 0 16px;
  aspect-ratio: 2 / 1;
  box-sizing: border-box;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  border-radius: 24px 24px 0 0;
  box-shadow:
    inset 0 0 8px 8px rgba(255, 255, 255, 0.5),
    0 16px 64px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(160px);
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.en-hero__image {
  width: 100%;
  position: relative;
}

.en-hero__image video,
.en-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 400ms ease;
}

.en-hero__image .is-active {
  opacity: 1;
}

.en-hero__mascot {
  position: absolute;
  right: 10px;
  bottom: 12px;
  display: inline-flex;
  align-items: flex-end;
  text-decoration: none;
  z-index: 2;
}

.en-hero__mascot :nth-child(1) img {
  position: absolute;
  right: 0px;
  width: 80px;
  height: auto;
}

.en-hero__mascot-panel {
  min-width: 225px;
  min-height: 156px;
  position: absolute;
  top: -176px;
  right: 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(22, 29, 58, 0.14);
  transform: translateX(110%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.panel-text {
  font-size: 12px;
  line-height: 18px;
  color: #363b45;
  min-width: 0;
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.panel-email__icon {
  flex-shrink: 0;
  width: 16px;
  height: 22px;
  object-fit: contain;
  position: relative;
}

.panel-email {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.panel-phone {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: flex-start;
  gap: 12px;
}

.panel-phone__icon {
  flex-shrink: 0;
  width: 16px;
  height: 22px;
  object-fit: contain;
}

.panel-phone__icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1px;
  box-sizing: border-box;
}

.panel-phone__icon svg {
  width: 14px;
  height: 14px;
  color: #363b45;
}

.panel-phone__lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-phone__hours-title {
  margin-top: 4px;
  color: #5c626e;
}

.panel-phone__hours {
  color: #5c626e;
}

.en-hero__mascot.is-open .en-hero__mascot-panel {
  transform: translateX(0);
  opacity: 1;
}

.en-hero__mascot-panel strong {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.3;
}

.en-hero__mascot-panel em {
  color: #4b5563;
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
}
.en-typo-h0 {
  text-align: left;
}
.en-typo-h6 {
  text-align: left;
}

@media (max-width: 799px) {
  .en-hero {
    width: 100%;
    padding: 0 20px;
  }
  .en-hero__shell {
    padding: 64px 16px 0 16px;
  }

  .en-hero__title-block {
    width: 100%;
  }

  .en-hero__action {
    width: 100%;
    display: block;
    padding: 12px;
    margin-bottom: 12px;
  }

  .en-hero__copies {
    width: 100%;
    margin: 0 0 12px;
  }

  .en-hero__copies p {
    text-align: center;
  }

  .en-hero__buttons {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .en-hero__profile-btn,
  .en-hero__trial-btn {
    width: 100%;
  }

  .en-hero__scene {
    width: 100%;
    padding: 6px 6px 0 6px;
    border-radius: 12px 12px 0 0;
  }

  .en-hero__mascot {
    right: 8px;
    bottom: 8px;
  }

  .en-hero__mascot-panel {
    display: none;
  }
}

@media (min-width: 800px) and (max-width: 1023px) {
  .en-hero {
    padding: 0 16px;
  }

  .en-hero__title-block,
  .en-hero__action,
  .en-hero__scene {
    /* width: min(100%, 880px); */
    width: clamp(640px, 60%, 880px);
  }
}

@media (min-width: 1024px) {
  .en-hero {
    /* max-width: 1440px; */
  }

  .en-hero__title-block,
  .en-hero__action,
  .en-hero__scene {
    width: clamp(640px, 60%, 1080px);
  }
}
