:root {
  --yt-shell-ink: #252525;
  --yt-shell-header-ink: #252525;
  --yt-shell-muted: #6d747b;
  --yt-shell-line: #e5e7ea;
  --yt-shell-paper: #f4f4f4;
  --yt-shell-surface: #ffffff;
  --yt-shell-blue: #1677b7;
  --yt-shell-copper: #d7a482;
  --yt-shell-shadow: 0 8px 24px rgba(25, 34, 42, 0.08);
  --yt-shell-hero-image: url("https://ytinfo.yuntianair.com.cn/yt-theme-assets/scheme-5-engine-closeup.webp");
}

html.yt-theme-scheme-2 {
  --yt-shell-ink: #071f40;
  --yt-shell-muted: #65758d;
  --yt-shell-line: #d9e2ec;
  --yt-shell-paper: #f8fafc;
  --yt-shell-surface: #ffffff;
  --yt-shell-blue: #064f9d;
  --yt-shell-copper: #f36b00;
  --yt-shell-shadow: 0 10px 30px rgba(3, 31, 64, 0.07);
  --yt-shell-hero-image: url("https://ytinfo.yuntianair.com.cn/yt-theme-assets/scheme-2-blueprint.webp");
}

html.yt-theme-scheme-4 {
  --yt-shell-ink: #f5f8fc;
  --yt-shell-muted: #a9b7c9;
  --yt-shell-line: #24435f;
  --yt-shell-paper: #03172b;
  --yt-shell-surface: #071f37;
  --yt-shell-blue: #13c6ef;
  --yt-shell-copper: #13c6ef;
  --yt-shell-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
  --yt-shell-hero-image: url("https://ytinfo.yuntianair.com.cn/yt-theme-assets/scheme-4-night-engine.webp");
}

html.yt-theme-scheme-5 {
  --yt-shell-ink: #062347;
  --yt-shell-muted: #5e7189;
  --yt-shell-line: #d5e0eb;
  --yt-shell-paper: #f5f9fc;
  --yt-shell-surface: #ffffff;
  --yt-shell-blue: #086fae;
  --yt-shell-copper: #d89400;
  --yt-shell-shadow: 0 12px 34px rgba(5, 45, 79, 0.08);
  --yt-shell-hero-image: url("https://ytinfo.yuntianair.com.cn/yt-theme-assets/scheme-5-engine-closeup.webp");
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.yt-public-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 1px solid var(--yt-shell-line);
  color: var(--yt-shell-header-ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 12px rgba(20, 26, 30, 0.05);
}

.yt-public-header-inner {
  width: min(1760px, calc(100% - 56px));
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.45vw, 26px);
  margin: 0 auto;
}

.yt-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--yt-shell-header-ink) !important;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.yt-public-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.yt-public-nav {
  min-width: 0;
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(6px, 1vw, 18px);
}

.yt-public-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #4f4f4f !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
}

.yt-public-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: transparent;
}

.yt-public-nav a:hover,
.yt-public-nav a:focus-visible,
.yt-public-nav a.active {
  color: var(--yt-shell-blue) !important;
}

.yt-public-nav a:hover::after,
.yt-public-nav a:focus-visible::after,
.yt-public-nav a.active::after {
  background: var(--yt-shell-copper);
}

.yt-public-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.yt-public-actions a {
  color: var(--yt-shell-header-ink) !important;
  font-size: 13px;
  text-decoration: none !important;
}

.yt-public-actions select,
.yt-main-language select {
  min-height: 38px;
  padding: 6px 28px 6px 10px;
  border: 1px solid #d8dde2;
  border-radius: 6px;
  color: var(--yt-shell-header-ink);
  background: #fff;
  font: inherit;
}

.yt-shop-site {
  color: var(--yt-shell-ink);
  background: var(--yt-shell-paper);
}

.yt-shop-site > .header.container {
  max-width: 1480px;
  padding-top: 18px;
}

.yt-shop-site .header .page_inner,
.yt-shop-site .page .page_inner {
  color: var(--yt-shell-ink);
  border-radius: 14px;
  background: var(--yt-shell-surface);
  box-shadow: var(--yt-shell-shadow);
}

.yt-shop-site > .header.container > .page_inner {
  padding-top: 22px;
  padding-bottom: 22px;
  color: #ffffff;
  background: rgba(3, 23, 43, 0.88);
  backdrop-filter: blur(8px);
}

.yt-shop-site > .header.container > .page_inner h1,
.yt-shop-site > .header.container > .page_inner h2,
.yt-shop-site > .header.container > .page_inner h3,
.yt-shop-site > .header.container > .page_inner p,
.yt-shop-site > .header.container > .page_inner strong,
.yt-shop-site > .header.container > .page_inner a {
  color: #ffffff !important;
}

.yt-shop-site .navbar-dark.bg-dark {
  border-radius: 9px;
  background: #042540 !important;
}

.yt-shop-site #ai-search-form {
  width: auto !important;
  display: grid !important;
  grid-template-columns: minmax(240px, 306px) auto;
  align-items: center;
  gap: 8px;
}

.yt-shop-site #ai-search-form > div:first-child,
.yt-shop-site #ai-search-form .form-control {
  width: 100% !important;
}

.yt-shop-site #ai-search-form .btn {
  margin: 0 !important;
  white-space: nowrap;
}

html.yt-theme-scheme-2 .yt-shop-site .navbar-dark.bg-dark { background: #041d3b !important; }
html.yt-theme-scheme-4 .yt-shop-site .navbar-dark.bg-dark { background: #020f1d !important; }

.yt-shop-site .btn-primary,
.yt-shop-site .btn-success {
  border-color: var(--yt-shell-blue);
  background: var(--yt-shell-blue);
}

.yt-shop-site .product_pod {
  height: 100%;
  border: 1px solid var(--yt-shell-line);
  border-radius: 12px;
  color: var(--yt-shell-ink);
  background: var(--yt-shell-surface);
  box-shadow: 0 8px 22px rgba(24, 34, 42, 0.06);
}

.yt-shop-site footer {
  margin-top: 52px;
}

.yt-unified-main-site {
  color: var(--yt-shell-ink);
  background: var(--yt-shell-paper);
}

.yt-unified-main-site nav.navbar {
  min-height: 92px;
  border-bottom: 1px solid var(--yt-shell-line) !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(20, 26, 30, 0.05);
}

.yt-unified-main-site nav.navbar .container {
  width: min(1760px, calc(100% - 56px));
  max-width: none;
}

.yt-unified-main-site .navbar-brand,
.yt-unified-main-site .navbar-nav .nav-link {
  color: var(--yt-shell-header-ink) !important;
}

.yt-main-language {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}

.yt-unified-main-site main > .content {
  min-height: 360px;
  color: var(--yt-shell-ink);
  background-color: var(--yt-shell-paper) !important;
  background-image: var(--yt-shell-hero-image) !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: 100% auto !important;
}

.yt-unified-main-site main .search-panel,
.yt-unified-main-site main .products-callout-section,
.yt-unified-main-site main .products-callout-container,
.yt-unified-main-site main .statistic,
.yt-unified-main-site .web-footer,
.yt-shop-site .card,
.yt-shop-site .breadcrumb {
  color: var(--yt-shell-ink);
  border-color: var(--yt-shell-line) !important;
  background-color: var(--yt-shell-surface) !important;
  box-shadow: var(--yt-shell-shadow);
}

.yt-unified-main-site main .search-panel {
  border: 1px solid var(--yt-shell-line) !important;
}

.yt-unified-main-site main .chip {
  color: var(--yt-shell-ink) !important;
  border-color: var(--yt-shell-line) !important;
  background: var(--yt-shell-surface) !important;
}

.yt-unified-main-site main .button,
.yt-unified-main-site main button,
.yt-shop-site .btn-primary,
.yt-shop-site .btn-success {
  border-color: var(--yt-shell-blue) !important;
  background-color: var(--yt-shell-blue) !important;
}

html.yt-theme-scheme-4 .yt-unified-main-site main > .content {
  background-color: #03172b !important;
  background-blend-mode: multiply;
}

html.yt-theme-scheme-4 .yt-unified-main-site main .search-panel,
html.yt-theme-scheme-4 .yt-unified-main-site main .products-callout-section,
html.yt-theme-scheme-4 .yt-unified-main-site main .products-callout-container,
html.yt-theme-scheme-4 .yt-unified-main-site main .statistic,
html.yt-theme-scheme-4 .yt-shop-site .header .page_inner,
html.yt-theme-scheme-4 .yt-shop-site .page .page_inner,
html.yt-theme-scheme-4 .yt-shop-site .card,
html.yt-theme-scheme-4 .yt-shop-site .breadcrumb,
html.yt-theme-scheme-4 .yt-shop-site .product_pod {
  color: #f5f8fc !important;
  background-color: #071f37 !important;
}

html.yt-theme-scheme-4 .yt-unified-main-site main h1,
html.yt-theme-scheme-4 .yt-unified-main-site main h2,
html.yt-theme-scheme-4 .yt-unified-main-site main h3,
html.yt-theme-scheme-4 .yt-unified-main-site main h4,
html.yt-theme-scheme-4 .yt-shop-site h1,
html.yt-theme-scheme-4 .yt-shop-site h2,
html.yt-theme-scheme-4 .yt-shop-site h3,
html.yt-theme-scheme-4 .yt-shop-site h4,
html.yt-theme-scheme-4 .yt-shop-site p,
html.yt-theme-scheme-4 .yt-shop-site dt,
html.yt-theme-scheme-4 .yt-shop-site dd {
  color: #f5f8fc !important;
}

html.yt-theme-scheme-2 .yt-shop-site > .header.container,
html.yt-theme-scheme-4 .yt-shop-site > .header.container,
html.yt-theme-scheme-5 .yt-shop-site > .header.container {
  padding-bottom: 18px;
  background-image: var(--yt-shell-hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

html.yt-theme-scheme-4 .yt-shop-site > .header.container {
  background-color: #03172b;
  background-blend-mode: multiply;
}

@media (max-width: 1450px) {
  .yt-unified-main-site .navbar-cta {
    display: none !important;
  }

  .yt-unified-main-site nav.navbar .nav-link {
    padding-inline: 7px;
    white-space: nowrap;
  }
}

@media (max-width: 1050px) {
  .yt-public-header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .yt-public-nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    min-height: 42px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .yt-unified-main-site .yt-main-language {
    flex: 0 0 auto;
    margin-left: 8px;
  }
}

@media (max-width: 680px) {
  .yt-shop-site > .header.container > .page_inner {
    padding: 18px 12px;
  }

  .yt-shop-site > .header.container > .page_inner .h1 {
    font-size: 24px;
    line-height: 1.28;
  }

  .yt-shop-site > .header.container > .page_inner .h1 small {
    font-size: 0.78em;
    line-height: inherit;
  }

  .yt-shop-site #ai-search-form {
    width: 100% !important;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .yt-public-header-inner,
  .yt-unified-main-site nav.navbar .container {
    width: min(100% - 28px, 1760px);
  }

  .yt-public-actions {
    margin-left: auto;
  }

  .yt-public-actions > a:not(:last-child) {
    display: none;
  }

  .yt-shop-site > .header.container {
    padding-inline: 14px;
  }
}
