/* Activated only by the touch-device display controller; desktop styles stay intact. */
#zt-mobile-display[hidden] { display: none !important; }
#zt-mobile-display {
  box-sizing: border-box; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 7px 20px; background: #eaf1f4; color: #254858;
  border-bottom: 1px solid #ccdde5; font-family: "Microsoft YaHei", sans-serif;
}
#zt-mobile-display .md-label { font-size: 12px; line-height: 1.5; }
#zt-mobile-display .md-toggle {
  min-height: 44px; padding: 9px 14px; border: 1px solid #416c80; border-radius: 4px;
  background: #12384c; color: #effaff; font: 600 13px/1.5 "Microsoft YaHei", sans-serif;
  white-space: nowrap; cursor: pointer; touch-action: manipulation;
}
#zt-mobile-display .md-toggle:focus-visible { outline: 3px solid #128aca; outline-offset: 3px; }
#zt-mobile-display .md-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html.zt-mobile-overview #zt-mobile-display {
  position: fixed; z-index: 49; top: var(--md-top, 12px); left: var(--md-left, 12px);
  width: 188px; padding: 8px; display: grid; gap: 5px; border: 1px solid #adcbd9;
  border-radius: 7px; background: #eff7faf5; box-shadow: 0 3px 16px #06182624;
  transform: scale(var(--md-scale, 1)); transform-origin: top left;
}
html.zt-mobile-overview #zt-mobile-display .md-label { font-size: 11px; text-align: center; }
html.zt-mobile-overview #zt-mobile-display .md-toggle { width: 100%; font-size: 14px; }
/* At width=1280 a portrait phone has a very tall layout viewport. Keep the
   product slide's desktop minimum independent of vh; content can still grow. */
html.zt-mobile-overview #hero-panel-1 { min-height: 500px; }

@media (max-width: 1024px) {
  html.zt-mobile-compact .z-hero-preview .hero-grid { gap: 22px; padding-top: 28px; padding-bottom: 24px; }
  html.zt-mobile-compact .z-hero-preview .hero-copy { min-width: 0; }
  html.zt-mobile-compact .z-hero-preview .hero-copy > .eyebrow { margin-bottom: 14px; font-size: 10px; letter-spacing: 1.3px; }
  html.zt-mobile-compact .z-hero-preview h1 { font-size: clamp(31px, 7.6vw, 43px); line-height: 1.24; letter-spacing: -1px; }
  html.zt-mobile-compact .z-hero-preview .ztdj-replay-wrap { margin: 14px 0; }
  html.zt-mobile-compact .z-hero-preview .ztdj-replay-wrap .btn { min-height: 44px; padding: 9px 16px; font-size: 13px; }
  html.zt-mobile-compact .z-hero-preview .hero-desc { margin-top: 14px; font-size: 14px; line-height: 1.7; }
  html.zt-mobile-compact .z-hero-preview .hero-sub { font-size: 12px; }
  html.zt-mobile-compact .z-hero-preview .hero-copy .actions { margin-top: 20px; gap: 10px; }
  html.zt-mobile-compact .z-hero-preview .hero-copy .actions .btn { min-height: 46px; padding: 10px 14px; gap: 10px; font-size: 13px; }
  html.zt-mobile-compact .z-hero-preview .hero-trust { margin-top: 17px; gap: 10px 16px; font-size: 11px; }
  html.zt-mobile-compact .z-hero-preview .hero-visual:has(#ztdj-particle-frame) { min-height: 330px; }
  html.zt-mobile-compact .z-hero-preview .hero-base { min-height: 58px; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  html.zt-mobile-compact .z-hero-preview .alt-slide,
  html.zt-mobile-compact .z-hero-preview .alt-inner { min-height: 0; }
  html.zt-mobile-compact .z-hero-preview .alt-copy { padding: 26px 0 12px; }
  html.zt-mobile-compact .z-hero-preview .alt-copy h2 { font-size: clamp(29px, 7.4vw, 42px); line-height: 1.28; margin: 10px 0 14px; }
  html.zt-mobile-compact .z-hero-preview .alt-copy p { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
  html.zt-mobile-compact .z-hero-preview .alt-k { font-size: 12px; letter-spacing: .08em; }
  html.zt-mobile-compact #hero-panel-1 .ps-explorer { padding: 10px 0 23px; }
  html.zt-mobile-compact #hero-panel-1 .ps-heading { margin-bottom: 10px; }
  html.zt-mobile-compact #hero-panel-1 .ps-visual { height: clamp(100px, 24vw, 155px); }
  html.zt-mobile-compact #hero-panel-1 .ps-detail { min-height: 0; margin-top: 14px; }
  html.zt-mobile-compact #hero-panel-1 .ps-detail p { font-size: 15px; line-height: 1.7; }
  html.zt-mobile-compact #hero-panel-2 .z-plan { padding: 10px 0 18px; }
  html.zt-mobile-compact #hero-panel-2 .z-plan-play { width: 100%; max-width: 600px; }
  html.zt-mobile-compact #hero-panel-2 .z-plan figcaption { margin-top: 9px; padding-top: 7px; }
  html.zt-mobile-compact #hero-panel-2 .emc-banner-foot { gap: 8px; padding: 15px 0 18px; font-size: 13px; }
  html.zt-mobile-compact #hero-panel-2 .emc-banner-foot ul { gap: 8px 18px; }
  html.zt-mobile-compact #products { padding-top: 40px; padding-bottom: 40px; }
  html.zt-mobile-compact #products .section-head { margin-bottom: 26px; }
  html.zt-mobile-compact #products .grid3 { gap: 14px; }
  html.zt-mobile-compact #products .catalog-home-grid { gap: 14px; margin-top: 20px; }
  html.zt-mobile-compact #products .product-card,
  html.zt-mobile-compact #products .catalog-home-card { padding: 18px; }
  html.zt-mobile-compact #products .product-visual,
  html.zt-mobile-compact #products .catalog-product-visual { height: 165px; margin: 4px 0 15px; }
  html.zt-mobile-compact #products .product-visual img { max-height: 165px; }
  html.zt-mobile-compact #products .product-card h3 { min-height: 0; font-size: 21px; margin-bottom: 10px; }
  html.zt-mobile-compact #products .product-card > p { min-height: 0; margin: 10px 0 14px; font-size: 15px; }
  html.zt-mobile-compact #products .catalog-home-card h3 { font-size: 20px; margin: 9px 0; }
  html.zt-mobile-compact #products .catalog-home-card p { font-size: 15px; }
}
@media (max-width: 600px) {
  html.zt-mobile-compact .z-hero-preview .hero-grid { gap: 18px; }
  html.zt-mobile-compact .z-hero-preview .hero-visual:has(#ztdj-particle-frame) { min-height: 310px; }
  html.zt-mobile-compact #products .product-card { display: grid; grid-template-columns: minmax(94px, .85fr) minmax(0, 1.4fr); column-gap: 14px; }
  html.zt-mobile-compact #products .product-card .card-top { grid-column: 1 / -1; margin-bottom: 12px; }
  html.zt-mobile-compact #products .product-card .product-visual { grid-column: 1; grid-row: 2 / 6; height: 160px; align-self: center; margin: 0; }
  html.zt-mobile-compact #products .product-card h3,
  html.zt-mobile-compact #products .product-card .tags,
  html.zt-mobile-compact #products .product-card > p,
  html.zt-mobile-compact #products .product-card .series-subtypes { grid-column: 2; }
  html.zt-mobile-compact #products .product-card h3 { font-size: 20px; }
  html.zt-mobile-compact #products .product-card > .text-link { grid-column: 1 / -1; min-height: 44px; padding-top: 12px; }
  html.zt-mobile-compact #products .product-card .series-subtypes { margin-bottom: 12px; }
}
@media (orientation: landscape) and (min-width: 640px) and (max-width: 1024px) {
  html.zt-mobile-compact .z-hero-preview .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
  html.zt-mobile-compact .z-hero-preview h1 { font-size: clamp(29px, 4.2vw, 40px); }
  html.zt-mobile-compact .z-hero-preview .hero-visual:has(#ztdj-particle-frame) { min-height: 340px; align-self: stretch; }
  html.zt-mobile-compact .z-hero-preview .alt-inner,
  html.zt-mobile-compact #hero-panel-1 .alt-inner,
  html.zt-mobile-compact #hero-panel-2 .alt-inner { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 4%; align-items: center; }
  html.zt-mobile-compact .z-hero-preview .alt-copy h2 { font-size: clamp(27px, 3.8vw, 38px); }
  html.zt-mobile-compact #hero-panel-1 .ps-explorer { padding-top: 24px; }
  html.zt-mobile-compact #hero-panel-1 .ps-heading { flex-direction: column; align-items: flex-start; gap: 3px; }
  html.zt-mobile-compact #hero-panel-1 .ps-visual { height: 115px; }
  html.zt-mobile-compact #hero-panel-1 .ps-name { font-size: 17px; }
  html.zt-mobile-compact #hero-panel-1 .ps-use { font-size: 12px; }
  html.zt-mobile-compact #hero-panel-2 .z-plan { min-width: 0; }
  html.zt-mobile-compact #hero-panel-2 .emc-banner-foot { flex-direction: row; align-items: center; }
  html.zt-mobile-compact #products .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.zt-mobile-compact #products .catalog-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print { #zt-mobile-display { display: none !important; } }
