/* Resource/display fixes only: keep the original myShape.ai Vue layout and copy intact. */
a[href="/"] img[alt="logo"] {
  width: auto !important;
  height: 28px !important;
  max-width: 150px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: invert(1) brightness(1.45) contrast(1.12) !important;
  opacity: 1 !important;
  display: block !important;
}

@media (max-width: 991px) {
  a[href="/"] img[alt="logo"] {
    width: auto !important;
    height: 24px !important;
    max-width: 130px !important;
  }
}

/* Ensure desktop product banners always show an image (v-lazy background fallback was blank). */
#home .home-product-1 {
  background-image: url('/restored/original-assets/m2-floor.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
#home .home-product-2 {
  background-image: url('/restored/original-assets/m2-wall-land.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* AI Trainer / Suit product strip: uniform banners (替代图长宽比不一会拉成超长页面，导致滚动卡顿) */
.suit__product2 { display: flex !important; flex-direction: column !important; gap: 14px !important; }
.suit__product2 img,
.suit__product2 .product2__img {
  width: 100% !important;
  height: 460px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f4f4f5 !important;
  display: block !important;
  margin: 0 !important;
}
/* Trim the strip to a reasonable, smooth length */
.suit__product2 img:nth-of-type(n+7),
.suit__product2 .product2__img:nth-of-type(n+7) { display: none !important; }

@media (max-width: 991px) {
  .suit__product2 img,
  .suit__product2 .product2__img { height: 300px !important; }
}

/* ===== Media Reports: card layout (cover + title + source + date) ===== */
#MediaReports .media { justify-content: center !important; }
#MediaReports .media-content {
  width: 88% !important; max-width: 1180px; margin: 0 auto !important;
  display: flex !important; flex-wrap: wrap !important;
  justify-content: flex-start !important; gap: 26px 22px;
}
#MediaReports .report-card {
  display: flex !important; flex-direction: column !important;
  width: calc((100% - 45px) / 3) !important; height: auto !important;
  margin: 0 !important; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(113,112,110,.18) !important;
  transition: transform .25s ease, box-shadow .25s ease; text-decoration: none;
}
#MediaReports .report-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 34px rgba(113,112,110,.28) !important;
}
#MediaReports .report-cover { width: 100%; height: 190px; overflow: hidden; background: #f3f2f1; }
#MediaReports .report-cover img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center top !important; display: block;
}
#MediaReports .report-meta { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
#MediaReports .report-source {
  align-self: flex-start; font-size: 12px; color: #c8102e; font-weight: 600;
  border: 1px solid rgba(200,16,46,.35); border-radius: 4px; padding: 2px 8px; margin-bottom: 8px;
}
#MediaReports .report-title {
  font-size: 15px; line-height: 1.5; color: #2b2b2b; font-weight: 600; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#MediaReports .report-date { margin-top: auto; font-size: 12px; color: #8a8a8a; }

/* WeChat follow block */
#MediaReports .wechat-follow {
  width: 88%; max-width: 1180px; margin: 0 auto 35px; box-sizing: border-box;
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(135deg, #f7f7f5 0%, #efeeec 100%);
  border-radius: 12px; padding: 22px 26px;
}
#MediaReports .wechat-qr { width: 96px; height: 96px; border-radius: 8px; background: #fff; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
#MediaReports .wechat-info { display: flex; flex-direction: column; }
#MediaReports .wechat-title { font-size: 18px; font-weight: 700; color: #2b2b2b; margin: 0 0 6px; }
#MediaReports .wechat-sub { font-size: 13px; color: #6b6b6b; margin: 0 0 12px; }
#MediaReports .wechat-link {
  align-self: flex-start; font-size: 14px; font-weight: 600; color: #fff;
  background: #c8102e; border-radius: 6px; padding: 8px 18px; text-decoration: none;
  transition: background .2s ease;
}
#MediaReports .wechat-link:hover { background: #a50d25; }

@media (max-width: 991px) {
  #MediaReports .media-content { width: 92% !important; gap: 18px; }
  #MediaReports .report-card { width: calc((100% - 18px) / 2) !important; }
  #MediaReports .report-cover { height: 150px; }
  #MediaReports .report-title { font-size: 14px; }
  #MediaReports .wechat-follow { width: 92%; flex-direction: column; text-align: center; gap: 14px; }
  #MediaReports .wechat-info { align-items: center; }
  #MediaReports .wechat-link { align-self: center; }
}
@media (max-width: 600px) {
  #MediaReports .report-card { width: 100% !important; }
  #MediaReports .report-cover { height: 180px; }
}

/* ===== About (ourStory) press + WeChat section ===== */
.about-press { width: 80%; max-width: 1100px; margin: 48px auto 16px; box-sizing: border-box; }
.about-press__title { font-size: 26px; font-weight: 700; color: #2b2b2b; text-align: center; margin: 0 0 26px; }
.about-press__list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.about-press__item {
  display: flex; flex-direction: column; gap: 6px; width: calc((100% - 28px) / 3);
  box-sizing: border-box; padding: 16px 18px; background: #fff; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(113,112,110,.16); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.about-press__item:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(113,112,110,.26); }
.about-press__src { font-size: 12px; color: #c8102e; font-weight: 600; }
.about-press__name { font-size: 14px; color: #2b2b2b; line-height: 1.45; }
.about-press__more { display: block; text-align: center; margin: 22px auto 0; color: #c8102e; font-weight: 600; font-size: 14px; text-decoration: none; }
.about-press__more:hover { text-decoration: underline; }
.about-wechat {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  margin: 35px auto 0; padding: 22px 26px; max-width: 640px;
  background: linear-gradient(135deg, #f7f7f5 0%, #efeeec 100%); border-radius: 12px;
}
.about-wechat__qr { width: 92px; height: 92px; border-radius: 8px; background: #fff; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.about-wechat__info { display: flex; flex-direction: column; }
.about-wechat__title { font-size: 16px; font-weight: 700; color: #2b2b2b; margin: 0 0 6px; }
.about-wechat__sub { font-size: 13px; color: #6b6b6b; margin: 0 0 12px; }
.about-wechat__link { align-self: flex-start; font-size: 14px; font-weight: 600; color: #fff; background: #c8102e; border-radius: 6px; padding: 8px 18px; text-decoration: none; }
.about-wechat__link:hover { background: #a50d25; }
@media (max-width: 991px) {
  .about-press { width: 92%; }
  .about-press__item { width: calc((100% - 14px) / 2); }
  .about-wechat { flex-direction: column; text-align: center; }
  .about-wechat__info { align-items: center; }
  .about-wechat__link { align-self: center; }
}
@media (max-width: 600px) { .about-press__item { width: 100%; } }

/* ===== Home page: Product-in-Action video showcase ===== */
#home-feature-videos { width: 100%; background: linear-gradient(180deg,#fafafa 0%,#f2f1ef 100%); padding: 64px 0; }
#home-feature-videos .hfv-inner { width: 86%; max-width: 1180px; margin: 0 auto; }
#home-feature-videos .hfv-head { text-align: center; margin-bottom: 38px; }
#home-feature-videos .hfv-title { font-size: 32px; font-weight: 700; color: #1d1d1f; margin: 0 0 10px; letter-spacing: .5px; }
#home-feature-videos .hfv-sub { font-size: 16px; color: #86868b; margin: 0; }
#home-feature-videos .hfv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 29px; }
#home-feature-videos .hfv-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.10); transition: transform .25s ease, box-shadow .25s ease; }
#home-feature-videos .hfv-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,.16); }
#home-feature-videos .hfv-video { width: 100%; aspect-ratio: 16/9; background: #000; }
#home-feature-videos .hfv-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
#home-feature-videos .hfv-meta { padding: 18px 21px 22px; }
#home-feature-videos .hfv-name { font-size: 18px; font-weight: 700; color: #c8102e; margin: 0 0 8px; }
#home-feature-videos .hfv-desc { font-size: 15px; line-height: 1.6; color: #4a4a4a; margin: 0; }
@media (max-width: 768px) {
  #home-feature-videos { padding: 42px 0; }
  #home-feature-videos .hfv-inner { width: 90%; }
  #home-feature-videos .hfv-grid { grid-template-columns: 1fr; gap: 21px; }
  #home-feature-videos .hfv-title { font-size: 24px; }
}

/* ===== Mobile: fix API page fixed-height block blank gap ===== */
@media (max-width: 768px) {
  .m-introduction-04 {
    height: auto !important;
    min-height: 0 !important;
    background-size: cover !important;
    background-position: center top !important;
    padding: 35px 5% 42px !important;
    box-sizing: border-box !important;
  }
  .m-introduction-04 img { max-width: 100% !important; height: auto !important; }
}

/* ===== Star Coach page: fill the original empty coach-list ===== */
#startCoach .coach-list { min-height: 0 !important; }
.sc-wrap { width: 88%; max-width: 1000px; margin: 0 auto; padding: 42px 0 48px; text-align: center; }
.sc-head { margin-bottom: 29px; }
.sc-title { font-size: 27px; font-weight: 700; color: #1d1d1f; margin: 0 0 11px; }
.sc-sub { font-size: 16px; line-height: 1.7; color: #6b6b6b; margin: 0 auto; max-width: 640px; }
.sc-video { max-width: 720px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.14); background: #000; aspect-ratio: 16/9; }
.sc-video video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.sc-cta { display: inline-block; margin-top: 26px; background: #c8102e; color: #fff; font-weight: 600; font-size: 15px; padding: 12px 30px; border-radius: 8px; text-decoration: none; transition: background .2s; }
.sc-cta:hover { background: #a50d25; }
@media (max-width: 768px) {
  .sc-wrap { width: 92%; padding: 29px 0 38px; }
  .sc-title { font-size: 22px; }
  .sc-sub { font-size: 15px; }
}

/* ===== Product pages (suit / aitrainerpro): image gallery full-bleed, no gray gutters ===== */
.suit__product2 { background: #fff !important; max-width: 900px !important; margin: 0 auto !important; }
.suit__product2 .product2__img,
.suit__product2 img {
  width: 100% !important;
  max-width: 100% !important;
  height: 460px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f4f4f5 !important;
  display: block !important;
}
@media (min-width: 992px) {
  .suit__product2 .product2__img,
  .suit__product2 img { height: 460px !important; }
}


/* ===== Home featured highlight (brand film + brand story), prominent ===== */
#home-feature-videos .hfv-featured { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 30px; }
#home-feature-videos .hfv-fcard { background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.28); }
#home-feature-videos .hfv-fvid { width: 100%; aspect-ratio: 16/9; background: #000; }
#home-feature-videos .hfv-fvid video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
#home-feature-videos .hfv-fmeta { padding: 16px 18px 20px; background: #0f0f11; }
#home-feature-videos .hfv-ftag { display: inline-block; font-size: 12px; font-weight: 600; color: #fff; background: #c8102e; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
#home-feature-videos .hfv-fname { font-size: 19px; font-weight: 700; color: #fff; margin: 0 0 8px; }
#home-feature-videos .hfv-fdesc { font-size: 14px; line-height: 1.6; color: #9a9aa0; margin: 0; }
@media (max-width: 768px) {
  #home-feature-videos .hfv-featured { grid-template-columns: 1fr; gap: 18px; }
  #home-feature-videos .hfv-fname { font-size: 17px; }
}


/* ===== Star Coach line-up (image from product article) ===== */
.sc-lineup { margin: 26px auto 6px; max-width: 460px; }
.sc-lineup img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.14); display: block; }
.sc-lineup-cap { margin: 12px 0 0; font-size: 14px; color: #8a8a8a; }


/* ===== Company environment (公司环境) video on ourStory ===== */
.about__office .office-video { width: 100%; max-width: 900px; margin: 0 auto 28px; }
.about__office .office-video__frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.16); background: #000; }
.about__office .office-video__frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }


/* ===== Story film (下一站传奇 / 创业先锋选拔) on ourStory ===== */
.story-video { width: 100%; max-width: 900px; margin: 24px auto 10px; }
.story-video__frame { position: relative; width: 100%; padding-top: 55.56%; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.16); background: #000; }
.story-video__frame video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.story-video__cap { margin: 12px 0 0; font-size: 14px; color: #8a8a8a; text-align: center; }


/* ===== "Enter into the Smart World" CTA banner: clean on-brand gradient ===== */
.product {
  background-image: linear-gradient(120deg, #16161a 0%, #2a1418 42%, #7d1622 74%, #c41f2f 112%) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.product .product__des {
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
  letter-spacing: .5px;
}


/* ===== Floating "Videos" button (all pages) + video CTAs ===== */
.mvf-fab { position: fixed; right: 20px; bottom: 20px; z-index: 9999; display: inline-flex; align-items: center; gap: 8px; background: #c41f2f; color: #fff !important; font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(196,31,47,.42); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.mvf-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(196,31,47,.55); }
.mvf-fab svg { width: 15px; height: 15px; fill: #fff; }
@media (max-width: 600px) { .mvf-fab { right: 12px; bottom: 12px; font-size: 13px; padding: 10px 15px; } }
#home-feature-videos .hfv-more { text-align: center; margin-top: 30px; }
#home-feature-videos .hfv-more a, .story-cta a { display: inline-block; background: #c41f2f; color: #fff; font-size: 15px; font-weight: 600; padding: 13px 34px; border-radius: 8px; text-decoration: none; transition: background .2s; }
#home-feature-videos .hfv-more a:hover, .story-cta a:hover { background: #a50d25; }
.story-cta { text-align: center; margin: 16px auto 6px; }


/* ===== Mirror page: "See Mirror in Action" WeChat Channels videos ===== */
#mirror-videos { width: 100%; background: #fff; padding: 52px 0 58px; }
#mirror-videos .mv-inner { width: 88%; max-width: 1180px; margin: 0 auto; }
#mirror-videos .mv-head { text-align: center; margin-bottom: 32px; }
#mirror-videos .mv-title { font-size: 30px; font-weight: 700; color: #1d1d1f; margin: 0 0 10px; }
#mirror-videos .mv-sub { font-size: 15px; color: #86868b; margin: 0; }
#mirror-videos .mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
#mirror-videos .mv-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.1); }
#mirror-videos .mv-vid { position: relative; }
#mirror-videos .mv-vid video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
#mirror-videos .mv-badge { position: absolute; top: 10px; left: 10px; background: #07c160; color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
#mirror-videos .mv-body { padding: 12px 14px 16px; }
#mirror-videos .mv-name { font-size: 14px; font-weight: 600; color: #1d1d1f; line-height: 1.5; min-height: 42px; }
#mirror-videos .mv-date { margin-top: 8px; font-size: 12px; color: #8a8a8a; }
@media (max-width: 900px) { #mirror-videos .mv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #mirror-videos .mv-grid { grid-template-columns: 1fr; } #mirror-videos .mv-title { font-size: 24px; } }
