.bowang-home {
  --nav-width: clamp(1200px, 80vw, 1440px);
  --showcase-width: 2440px;
  --content-gap: 16px;
  --ink: #202124;
  --muted: #65676c;
  --surface: #fff;
  --stage: #111214;
  --accent: #343638;
  --accent-light: #f4f2ee;
  --surface-tint: #f3f2ef;
  min-height: 100dvh;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bowang-home ::selection { background: var(--accent-light); color: var(--ink); }
.bowang-home :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.bowang-home .nav-inner { width: min(var(--nav-width), calc(100% - 96px)); }
.bowang-home .site-header { background: rgb(17 18 20 / 94%); color: #f5f5f7; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.bowang-home .site-header.is-scrolled { background: #141517; }
.bowang-home .mega-menu { background: #141517; color: #f5f5f7; }
.bowang-home .mega-menu__title { color: #a8aaaf; }
.bowang-home .mega-menu__group a:hover { color: #fff; }
.bowang-home .qimu-support {
  width: min(100%, 320px);
  padding: 16px 18px 8px;
  border: 1px solid #3a3c3e;
  border-radius: 12px;
  background: #222426;
}
.bowang-home .qimu-support__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #3a3c3e;
}
.bowang-home .qimu-support__symbol { flex: none; padding: 3px; border-radius: 8px; background: #fff; object-fit: contain; }
.bowang-home .qimu-support__wordmark { display: block; width: auto; height: 25px; filter: invert(1); }
.bowang-home .qimu-support__wordmark--en,
html[lang="en"] .bowang-home .qimu-support__wordmark--zh { display: none; }
html[lang="en"] .bowang-home .qimu-support__wordmark--en { display: block; }
.bowang-home .qimu-support .mega-menu__title { margin: 4px 0 0; }
.bowang-home .qimu-support a { display: flex; align-items: center; width: auto; min-height: 44px; }
.bowang-home .qimu-support a + a { margin-top: 0; }
.bowang-home #nav-brands-panel .mega-menu__group { width: min(100%, 320px); }
.bowang-home .mega-menu__group .qimu-brand-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border: 1px solid #3a3c3e; border-radius: 12px; background: #222426; color: #fff; text-decoration: none; }
.bowang-home .mega-menu__group .qimu-brand-card:hover { border-color: #74767a; background: #2b2d30; }
.bowang-home .qimu-brand-card__copy { min-width: 0; }
.bowang-home .qimu-brand-card__names { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bowang-home .qimu-brand-card__description { display: block; margin-top: 6px; color: #bfc1c5; font-size: 13px; line-height: 1.5; }
.bowang-home .site-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  width: fit-content;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}
.bowang-home .site-brand img {
  display: block;
  width: 54px;
  height: auto;
  box-sizing: content-box;
  padding: 3px 4px;
  border-radius: 4px;
  background: #fff;
}
.bowang-home .bowang-brand-name { font: inherit; font-size: 19px; font-weight: 600; letter-spacing: .04em; transform: none; }
.bowang-home .site-nav__label { color: #dedee1; font-size: 15px; font-weight: 400; transition: color 180ms ease-out; }
.bowang-home .site-nav__label:hover,
.bowang-home .site-nav__label[aria-expanded="true"] { color: #fff; }
.bowang-home .site-header__toggle svg { width: 24px; height: 24px; }

.bowang-home .hero {
  max-width: var(--showcase-width);
  height: clamp(560px, 68svh, 680px);
  margin-inline: auto;
  background-color: var(--stage);
  background-image: none;
}
.bowang-home .hero__art { position: absolute; inset: 0; }
.bowang-home .hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bowang-home .hero::after { background: linear-gradient(0deg, var(--stage), transparent 52%), linear-gradient(90deg, rgb(9 12 16 / 60%), rgb(9 12 16 / 8%) 80%); }
.bowang-home .hero__inner { padding: 132px 0 56px; align-items: center; }
.bowang-home .hero h1 { margin: 0; font-size: clamp(44px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; }
.bowang-home .hero h1:lang(zh) { letter-spacing: .02em; line-height: 1.27; }
.bowang-home .hero h1 span { display: block; }
.bowang-home .hero__summary { margin-top: 24px; color: #e0e1e4; font-size: 17px; font-weight: 400; line-height: 1.8; }
.bowang-home .hero__brand { color: #fff; font-size: 1.5em; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.bowang-home .hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.bowang-home .hero__link { width: auto; height: auto; min-height: 44px; padding: 10px 24px; border: 0; background: var(--accent-light); color: var(--ink); font-size: 15px; }
.bowang-home .hero__link:hover { background: #e7e4df; color: var(--ink); }
.bowang-home :is(.site-header, .hero, .feature-panels, .zy-footer) :is(a, button):focus-visible { outline-color: var(--accent-light); }
.bowang-home .text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 500; }
.bowang-home .text-link svg { width: 16px; height: 16px; }
.bowang-home .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.bowang-home .product-grid { width: min(calc(100% - 2 * var(--content-gap)), var(--showcase-width)); margin-inline: auto; }
.bowang-home .feature-panels { width: min(100%, var(--showcase-width)); margin: var(--content-gap) auto 0; background: var(--surface); }
.bowang-home .product-link { min-height: 44px; margin: 0; font-size: 15px; }
.bowang-home .product-link--primary { padding: 10px 23px; border-radius: 999px; background: var(--accent-light); color: var(--ink); }
.bowang-home .product-link--primary::after { display: none; }
.bowang-home .product-link--primary:hover { background: #e7e4df; text-decoration: none; }
#future-products:not(:has(> .product-panel)) { display: none; }

.bowang-home .company-profile { padding: 76px 0 52px; background: #fff; }
.bowang-home .company-profile__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }
.bowang-home .company-profile h2 { color: var(--accent); font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.bowang-home .company-profile h3 { margin: 4px 0 12px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.bowang-home .company-profile p { max-width: 36em; color: var(--muted); font-size: 16px; line-height: 1.8; }
.bowang-home .company-profile p + p { margin-top: 16px; }
.bowang-home .company-profile .text-link { margin-top: 12px; color: var(--accent); }
.bowang-home .company-profile .text-link:focus-visible,
.bowang-home .skip-link:focus-visible { outline-color: var(--accent); }
.bowang-home .zy-gallery { padding: 68px 0 0; background: var(--surface); }
.bowang-home .gallery-title {
  margin-block: 0 32px;
  color: var(--ink);
  font-family: "STIX Two Text", Georgia, "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 400;
  letter-spacing: .14em;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}
.bowang-home .gallery-title:lang(en) { letter-spacing: .045em; }
.bowang-home .gallery-title::after { display: block; width: 36px; height: 1px; margin: 14px auto 0; background: #6f8794; content: ""; }
.bowang-home .zy-section-title { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; text-align: left; }
.bowang-home .zy-gallery-window { max-width: none; }
.bowang-home .zy-gallery-track {
  --slide-height: clamp(260px, 25vw, 370px);
  --gallery-ratio: 61 / 37;
  gap: var(--content-gap);
  padding-inline: max(0px, calc((100% - var(--slide-height) * var(--gallery-ratio)) / 2));
}
.bowang-home .zy-gallery[data-autoplay] .zy-gallery-track { scroll-snap-type: none; }
.bowang-home .zy-gallery-track:focus-visible,
.bowang-home .zy-gallery-controls button:focus-visible { outline-color: var(--accent-light); }
.bowang-home .zy-gallery-slide { aspect-ratio: var(--gallery-ratio); border-radius: 16px; }
@supports (width: round(10px, 1px)) {
  .bowang-home .zy-gallery-track {
    --slide-width: round(calc(var(--slide-height) * var(--gallery-ratio)), 1px);
    padding-inline: max(0px, round(calc((100% - var(--slide-width)) / 2), 1px));
  }
  .bowang-home .zy-gallery-slide { width: var(--slide-width); }
}
.bowang-home .zy-gallery-slide::after { height: 60%; background: linear-gradient(transparent, rgb(9 11 14 / 88%)); }
.bowang-home .zy-gallery-slide span { right: 24px; font-size: 22px; font-weight: 600; line-height: 1.4; text-align: center; }
.bowang-home .zy-gallery-slide small { display: block; margin-top: 8px; color: #dedee1; font-size: 14px; font-weight: 400; text-wrap: balance; }
.bowang-home .zy-gallery-controls { top: 50%; }
.bowang-home .zy-gallery-controls button:hover { background: var(--accent); }

.bowang-home .zy-support { padding: 80px 0 88px; background: var(--surface-tint); }
.bowang-home .zy-support .zy-section-title { margin-bottom: 40px; text-align: center; }
.bowang-home .zy-support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.bowang-home .zy-support-card { min-height: 154px; gap: 10px; padding: 20px 12px; color: var(--ink); font-size: 16px; font-weight: 500; }
.bowang-home a.zy-support-card svg { color: var(--accent); }
.bowang-home a.zy-support-card:hover,
.bowang-home a.zy-support-card:focus-visible { color: var(--accent); background: #e8e6e1; outline-color: var(--accent); }
.bowang-home .zy-support-card--pending { color: var(--ink); cursor: default; }
.bowang-home .zy-support-card small { color: var(--muted); font-size: 12px; font-weight: 400; text-wrap: balance; }

.qimu-launch__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.qimu-launch__actions .qimu-launch__play { margin-top: 0; }
.qimu-launch__details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 24px;
  background: #f5f5f7;
  color: #141517;
  font-size: 14px;
  line-height: 1.4;
}
.qimu-launch__details:hover { background: #e0e6ef; }

.bowang-home .zy-footer { min-height: 0; padding: 52px 0 28px; background: #1b1c1e; color: #c5c6c9; font-size: 14px; }
.bowang-home .zy-footer-inner { max-width: none; }
.bowang-home .footer-top { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.bowang-home .footer-company .site-brand { color: #f5f5f7; margin-bottom: 20px; }
.bowang-home .footer-company p { font-size: 14px; line-height: 1.8; }
.bowang-home .zy-footer-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bowang-home .zy-footer-groups h2 { margin-top: 12px; font-size: 14px; }
.bowang-home .zy-footer-groups a { display: inline-block; padding-block: 4px; }
.bowang-home .zy-footer-groups ul { gap: 4px; }
.bowang-home .footer-contact summary { display: block; width: fit-content; padding-block: 4px; cursor: pointer; }
.bowang-home .footer-contact summary::-webkit-details-marker { display: none; }
.bowang-home .footer-contact summary:hover { color: #fff; }
.bowang-home .footer-contact summary:focus-visible,
.bowang-home .footer-contact-copy:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.bowang-home .footer-contact p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 4px; overflow-wrap: anywhere; user-select: text; }
.bowang-home .footer-contact-address { min-width: 0; }
.bowang-home .footer-contact-copy { min-width: 4.5em; padding: 4px 8px; border: 1px solid #626469; border-radius: 4px; background: transparent; color: inherit; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.bowang-home .footer-contact-copy:hover { color: #fff; border-color: #c5c6c9; }
.bowang-home .zy-footer-baseline { align-items: center; margin-top: 40px; padding-top: 20px; border-color: #404245; font-size: 12px; }

@media (min-width: 768px) {
  html[lang="en"] .bowang-home .hero__inner > div { max-width: 66%; }
  html[lang="en"] .bowang-home .hero h1 { font-size: clamp(32px, 3.5vw, 58px); }
}

@media (min-width: 1025px) {
  .bowang-home .site-nav { display: flex; width: min(68%, 840px); justify-content: space-between; }
}

@media (max-width: 1024px) {
  .bowang-home .nav-inner { width: calc(100% - 48px); }
  .bowang-home .site-nav { background: #141517; }
  .bowang-home .site-nav__label { border-color: #383838; }
  .bowang-home .hero { height: 600px; }
  .bowang-home .hero__inner { padding-bottom: 56px; }
  .bowang-home .company-profile__inner { gap: 36px; }
  .bowang-home .footer-top { grid-template-columns: 1fr 1.4fr; gap: 40px; }
  .bowang-home .zy-footer-groups { display: flex; gap: 0; }
  .bowang-home .zy-footer-groups h2 { margin: 0; }
}

@media (max-width: 767px) {
  .bowang-home { --content-gap: 12px; }
  .bowang-home .nav-inner { width: calc(100% - 40px); }
  .bowang-home .site-brand img { width: 44px; }
  .bowang-home .bowang-brand-name { font-size: 17px; }
  .bowang-home .hero { flex-direction: column; align-items: stretch; height: auto; padding-top: var(--nav-height); }
  .bowang-home .hero__art { position: relative; height: clamp(260px, 72vw, 410px); mask-image: linear-gradient(#000 72%, transparent); }
  .bowang-home .hero::after { content: none; }
  .bowang-home .hero__inner { align-items: flex-start; text-align: left; padding: 4px 0 32px; }
  .bowang-home .hero h1 { font-size: clamp(26px, 8.4vw, 48px); }
  .bowang-home .hero__summary { max-width: 30em; margin-top: 20px; font-size: 15px; line-height: 1.8; text-wrap: pretty; }
  .bowang-home .hero__actions { gap: 20px; margin-top: 24px; }
  .bowang-home .hero__link { padding-inline: 18px; font-size: 14px; }
  .bowang-home .hero__actions .text-link { font-size: 14px; }
  .bowang-home .product-link { font-size: 14px; }
  .bowang-home .company-profile { padding: 48px 0 32px; }
  .bowang-home .company-profile__inner { grid-template-columns: 1fr; gap: 24px; }
  .bowang-home .company-profile h2 { font-size: 30px; }
  .bowang-home .company-profile h3 { margin-top: 0; font-size: 17px; }
  .bowang-home .company-profile p { font-size: 15px; }
  .bowang-home .zy-gallery { padding: 48px 0 0; }
  .bowang-home .gallery-title { margin-bottom: 24px; }
  .bowang-home .zy-section-title { font-size: 28px; }
  .bowang-home .zy-gallery-track { --slide-height: clamp(250px, 76vw, 340px); --gallery-ratio: 1; padding-inline: 24px; }
  .bowang-home .zy-gallery-slide span { font-size: 19px; }
  .bowang-home .zy-gallery-slide small { font-size: 13px; }
  .bowang-home .zy-support { padding: 48px 0 56px; }
  .bowang-home .zy-support .zy-section-title { margin-bottom: 24px; }
  .bowang-home .zy-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bowang-home .zy-support-card { min-height: 146px; font-size: 14px; }
  .bowang-home .zy-footer { padding: 36px 0 24px; }
  .bowang-home .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .bowang-home .footer-company .site-brand { margin-bottom: 16px; }
  .bowang-home .zy-footer-baseline { align-items: flex-start; gap: 8px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .bowang-home .site-nav__label { transition: none; }
}
