/* Platform artwork. Component controls and page colors come from the active theme. */
:root { --xd-brand-ready: 1; }

html[data-xd-surface="home"] .hero-art .demo {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}
html[data-xd-surface="home"] .demo-pig {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  animation: none;
}
html[data-xd-surface="home"] .demo-card {
  margin: -32px 12px 0;
  box-shadow: 0 18px 45px #1836611f;
}
html[data-xd-surface="home"] .closing-card {
  padding-block-start: clamp(28px, 5vw, 56px);
}
html[data-xd-surface="home"] .closing-card .closing-pig {
  display: block;
  position: static;
  width: clamp(60px, 8vw, 104px);
  height: auto;
  margin: 0 auto 16px;
  translate: none;
  animation: none;
}
html[data-xd-surface="home"] .brand > img,
html[data-xd-surface="article"] .brand > img,
html[data-xd-surface="service"] .brand > img {
  object-fit: contain;
}
html[data-xd-surface="home"] .demo-head > img {
  background: transparent;
  padding: 1px;
}

html[data-xd-surface="service"] .hero-visual > .pig {
  max-width: min(77%, 208px);
  height: auto;
  filter: drop-shadow(0 11px 15px #3c56ca1a);
}
html[data-xd-surface="service"] .visual-orbit {
  border-color: #6986c72a;
  background: radial-gradient(circle, #b6caff38, transparent 68%);
}
html[data-xd-surface="service"] .visual-orbit::before { border-color: #6986c727; }

html[data-xd-brand] .page-loading .circular,
html[data-xd-brand] .first-loading-wrp .loading-wrp {
  width: 88px;
  height: 88px;
  background: transparent url('/assets/zzfk/xindong-v1/motion/brand-orbit.svg?v=20261203.3') center / contain no-repeat;
}
html[data-xd-brand] .page-loading .circular {
  border: 0 !important;
  border-radius: 0;
  animation: none !important;
}
html[data-xd-brand] .first-loading-wrp .dot-spin { visibility: hidden; }

html[data-zz^="merchant"] .arco-empty-image {
  background-image: var(--xd-state-image, url('/assets/zzfk/xindong-v1/states/empty-records.svg'));
  background-size: contain;
  opacity: .95;
  animation: none;
}
html.zzm-auth #app .zzm-auth-hero .zzm-pig {
  width: min(65%, 248px);
  height: auto;
  margin: 0 0 9px;
  object-fit: contain;
  animation: none;
}
html[data-xd-brand] .zzm-receipt-brand > img,
html[data-xd-brand] #app .order-page .order-page--search > p:nth-child(1)::before,
html[data-xd-brand] #app .search-content .order-page .order-page--search > p:nth-child(1)::before {
  background-color: transparent;
  box-shadow: none;
}
html[data-xd-brand] .bs-logo {
  background: none;
  box-shadow: none;
}
html[data-xd-brand] .ms-gate-card > img {
  background: transparent;
  padding: 1px;
}

html[data-xd-surface="gateway"] img.xd-gateway-logo {
  width: auto;
  max-width: min(176px, 44vw);
  max-height: 48px;
  background: transparent;
  object-fit: contain;
}
html[data-xd-surface="gateway"] .navbar .logo:not(:has(img)) {
  background-image: url('/assets/zzfk/xindong-v1/brand/logo-on-light.svg?v=20261203.3');
  background-size: contain;
  background-position: left center;
}

@media (max-width: 600px) {
  html[data-xd-surface="home"] .hero-in { grid-template-columns: minmax(0, 1fr); }
  html[data-xd-surface="home"] .hero-art,
  html[data-xd-surface="home"] .demo { min-width: 0; }
  html[data-xd-surface="home"] .demo-card { margin: -24px 0 0; }
}
