/* 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; }
.suit__product2 img,
.suit__product2 .product2__img {
  width: 100% !important;
  height: 460px !important;
  object-fit: cover !important;
  object-position: center !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: 240px !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: 1.6rem 1.4rem;
}
#MediaReports .report-card {
  display: flex !important; flex-direction: column !important;
  width: calc((100% - 2.8rem) / 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 2.2rem; 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: 1.1rem; }
  #MediaReports .report-card { width: calc((100% - 1.1rem) / 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: 3rem auto 1rem; box-sizing: border-box; }
.about-press__title { font-size: 1.6rem; font-weight: 700; color: #2b2b2b; text-align: center; margin: 0 0 1.6rem; }
.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: 1.4rem 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: 2.2rem 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: 4rem 0; }
#home-feature-videos .hfv-inner { width: 86%; max-width: 1180px; margin: 0 auto; }
#home-feature-videos .hfv-head { text-align: center; margin-bottom: 2.4rem; }
#home-feature-videos .hfv-title { font-size: 2rem; font-weight: 700; color: #1d1d1f; margin: 0 0 .6rem; letter-spacing: .5px; }
#home-feature-videos .hfv-sub { font-size: 1rem; color: #86868b; margin: 0; }
#home-feature-videos .hfv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
#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: 1.1rem 1.3rem 1.4rem; }
#home-feature-videos .hfv-name { font-size: 1.15rem; font-weight: 700; color: #c8102e; margin: 0 0 .5rem; }
#home-feature-videos .hfv-desc { font-size: .92rem; line-height: 1.6; color: #4a4a4a; margin: 0; }
@media (max-width: 768px) {
  #home-feature-videos { padding: 2.6rem 0; }
  #home-feature-videos .hfv-inner { width: 90%; }
  #home-feature-videos .hfv-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  #home-feature-videos .hfv-title { font-size: 1.5rem; }
}

/* ===== 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: 2.2rem 5% 2.6rem !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: 2.6rem 0 3rem; text-align: center; }
.sc-head { margin-bottom: 1.8rem; }
.sc-title { font-size: 1.7rem; font-weight: 700; color: #1d1d1f; margin: 0 0 .7rem; }
.sc-sub { font-size: 1rem; 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: 1.6rem; 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: 1.8rem 0 2.4rem; }
  .sc-title { font-size: 1.35rem; }
  .sc-sub { font-size: .92rem; }
}
