* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  min-height: 100%;
  font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
a { color: #333; text-decoration: none; }
a:hover { color: #c8102e; }
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.logo { display: flex; align-items: center; min-width: 0; }
.logo img { height: 36px; width: auto; max-width: min(220px, 58vw); object-fit: contain; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nav a { font-size: 15px; color: #333; padding-bottom: 4px; }
.nav a.active, .nav a:hover { color: #c8102e; }
.hero { position: relative; overflow: hidden; background: #f2f2f2; }
.hero-track { display: flex; transition: transform 0.5s ease; }
.hero-slide { flex: 0 0 100%; width: 100%; }
.hero img { width: 100%; height: clamp(148px, 26vw, 280px); object-fit: cover; display: block; }
.hero-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,0.35); color: #fff; cursor: pointer;
  font-size: 28px; line-height: 1; z-index: 2;
}
.hero-btn:hover { background: rgba(0,0,0,0.5); }
.hero-prev { left: 12px; }
.hero-next { right: 12px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.hero-dot.active { background: #fff; }
.main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px max(20px, env(safe-area-inset-right)) 32px max(20px, env(safe-area-inset-left));
}
.column-banner { margin-bottom: 24px; }
.column-banner img { width: 100%; max-height: 220px; object-fit: cover; }
.section { margin-bottom: 36px; }
.section-title { color: #c8102e; font-size: 20px; display: inline-block; border-bottom: 4px solid #c8102e; padding-bottom: 4px; margin-bottom: 16px; }
.item-list { list-style: none; }
.item-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; }
.item-list a { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.date, .item-credit {
  font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
}
.item-credit { margin-right: 8px; }
.pin-badge { background: #c8102e; color: #fff; font-size: 12px; padding: 1px 6px; border-radius: 3px; flex-shrink: 0; }
.type-tag { background: #f4e6e8; color: #c8102e; font-size: 12px; padding: 1px 6px; border-radius: 3px; flex-shrink: 0; white-space: nowrap; }
.more-link { display: inline-block; margin-top: 10px; color: #999; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.product-card { text-align: center; }
.product-card img { width: 100%; max-height: 220px; object-fit: contain; }
.img-placeholder { width: 100%; height: 180px; background: #f2f2f2; }
.product-card h3 { margin-top: 10px; font-size: 16px; font-weight: 500; }
.detail h1 { font-size: 24px; margin-bottom: 12px; }
.meta, .keywords {
  font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.7;
}
.summary {
  font-family: "HarmonyOS Sans SC", "HarmonyOS Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.7;
}
.summary strong { font-weight: 700; }
.body { margin-top: 20px; }
.body, .generic-html, .faq-answer { overflow-wrap: anywhere; word-wrap: break-word; }
.body::after, .generic-html::after, .faq-answer::after { content: ""; display: table; clear: both; }
.body img, .generic-html img, .faq-answer img { max-width: 100%; height: auto; }
.body figure.table, .generic-html figure.table, .faq-answer figure.table {
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.body table, .generic-html table, .faq-answer table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1em 0; }
.body table td, .body table th,
.generic-html table td, .generic-html table th,
.faq-answer table td, .faq-answer table th { vertical-align: top; padding: 8px; }
.body figure.image, .generic-html figure.image, .faq-answer figure.image {
  display: table; text-align: center; margin: 0.9em auto; max-width: 100% !important;
}
.body figure.image img, .generic-html figure.image img, .faq-answer figure.image img {
  display: block; margin: 0 auto; max-width: 100%; height: auto;
}
.body .image-style-align-left, .generic-html .image-style-align-left, .faq-answer .image-style-align-left {
  float: left; clear: none; margin: 0 1.5em 0.6em 0; max-width: 48%;
}
.body .image-style-align-right, .generic-html .image-style-align-right, .faq-answer .image-style-align-right,
.body .image-style-side, .generic-html .image-style-side, .faq-answer .image-style-side {
  float: right; clear: none; margin: 0 0 0.6em 1.5em; max-width: 48%;
}
.body .image-style-align-center, .generic-html .image-style-align-center, .faq-answer .image-style-align-center {
  margin-left: auto; margin-right: auto;
}
.body .image-style-block-align-left, .generic-html .image-style-block-align-left, .faq-answer .image-style-block-align-left {
  margin-left: 0; margin-right: auto;
}
.body .image-style-block-align-right, .generic-html .image-style-block-align-right, .faq-answer .image-style-block-align-right {
  margin-left: auto; margin-right: 0;
}
.body figcaption, .generic-html figcaption, .faq-answer figcaption {
  font-size: 13px; color: #888; padding: 6px 8px;
}
.faq-item { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.product-detail { display: flex; gap: 36px; align-items: flex-start; }
.product-detail-left { flex: 0 0 320px; text-align: center; }
.product-detail-left img { width: 100%; max-height: 320px; object-fit: contain; border: 1px solid #eee; }
.product-detail-right { flex: 1; min-width: 0; }
.product-detail-right h1 { font-size: 24px; margin-bottom: 16px; }
.product-detail-right h2 { font-size: 16px; margin: 18px 0 8px; }
.product-info {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 14px;
}
.product-info-label {
  width: 1%;
  text-align: right;
  font-weight: inherit;
  white-space: nowrap;
  vertical-align: top;
  padding: 4px 0;
}
.product-info-colon {
  text-align: left;
  vertical-align: top;
  padding: 4px 0;
  width: 1.15em;
  white-space: nowrap;
}
.product-info-value {
  text-align: left;
  vertical-align: top;
  padding: 4px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product-info-value img { max-width: 100%; height: auto; display: block; }
.product-info-sep td {
  border-top: 1px solid #ccc;
  padding: 8px 0 0;
  height: 0;
  line-height: 0;
  font-size: 0;
}
.product-info-group th {
  text-align: left;
  font-weight: 600;
  padding: 10px 0 6px;
  color: #1a2332;
  font-size: 15px;
}
.video-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.video-item .video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}
.video-item .video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
  pointer-events: none;
}
.video-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.video-play-icon:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-item .video-thumb:hover .video-play-icon { background: rgba(200, 16, 46, .85); }
.video-item p { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-lightbox[hidden] { display: none !important; }
.video-lightbox-panel {
  position: relative;
  background: #111;
  padding: 40px 16px 16px;
  border-radius: 8px;
  width: fit-content;
  max-width: 94vw;
  min-width: 0;
}
.video-lightbox-close {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.video-lightbox-panel video {
  display: block;
  background: #000;
  min-width: 0;
}
.video-lightbox-panel p {
  margin-top: 10px;
  color: #ddd;
  font-size: 13px;
  text-align: center;
}
.file-list { margin-top: 16px; }
.file-list li { padding: 8px 0; border-bottom: 1px solid #eee; }
.material-embed-wrap { margin-top: 16px; }
.material-embed {
  width: 100%;
  min-height: 720px;
  height: calc(100vh - 240px);
  border: 1px solid #eee;
  background: #fff;
  display: block;
}
.back-link { display: inline-block; margin-bottom: 16px; color: #888; font-size: 14px; }
.back-link:hover { color: #c8102e; }
.generic-html img { max-width: 100%; }
.site-footer { background: #3a3a3a; color: #ddd; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px max(20px, env(safe-area-inset-right)) 18px max(20px, env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-item { word-break: break-word; }
.footer-copy {
  background: #2a2a2a;
  text-align: center;
  padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  font-size: 12px;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 16px;
}
.footer-beian { color: inherit; }
@media (max-width: 900px) {
  .header-inner { gap: 8px 12px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a {
    display: block;
    padding: 12px 2px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
  }
  .video-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .logo img { height: 32px; }
  .main { padding-top: 20px; padding-bottom: 24px; }
  .section { margin-bottom: 28px; }
  .section-title { font-size: 18px; }
  .detail h1, .product-detail-right h1 { font-size: 20px; }
  .hero-btn { width: 40px; height: 40px; }
  .hero-dot { width: 10px; height: 10px; }
  .item-list li { flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; }
  .item-list a { flex: 1 1 calc(100% - 48px); }
  .date, .item-credit { white-space: normal; }
  .product-grid { gap: 20px 16px; }
  .product-detail { flex-direction: column; gap: 20px; }
  .product-detail-left { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .material-embed { min-height: 0; height: min(70vh, 560px); }
  .video-lightbox { padding: 12px; }
  .video-lightbox-panel { padding: 36px 8px 12px; max-width: 100%; }
  .body .image-style-align-left, .generic-html .image-style-align-left, .faq-answer .image-style-align-left,
  .body .image-style-align-right, .generic-html .image-style-align-right, .faq-answer .image-style-align-right,
  .body .image-style-side, .generic-html .image-style-side, .faq-answer .image-style-side {
    float: none; max-width: 100%; margin: 0 auto 1em;
  }
}
@media (max-width: 560px) {
  .item-list a { flex: 1 1 100%; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
}
