html.palace-app-shell .palace-download,
html.palace-app-shell .palace-home-bottom [class*="download"],
html.palace-app-shell .palace-home-bottom [class*="Download"] {display:none!important}
html.hongguo-brand-198800 .v5-header .logo-img {visibility:hidden!important}
.hg-branded-picture{position:relative!important}
.hg-domain-layer{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
html.hongguo-brand-198800 .pwp-picture img{animation:none!important}
html.hongguo-brand-198800 .pwp-next{z-index:3}
/* Prevent a flash of the known obsolete addresses before the branding layer is attached. */
html.hongguo-brand-198800 .v5-banner .van-image:not([data-hg-brand-source]) img,
html.hongguo-brand-198800 .pwp-picture:not([data-hg-brand-source])>img{visibility:hidden}
html.hongguo-brand-198800 .v5-banner .van-image[data-hg-brand-source] img,
html.hongguo-brand-198800 .pwp-picture[data-hg-brand-source]>img{visibility:visible}

.hg-app-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;pointer-events:none;width:calc(160 * var(--u));max-width:calc(100% - 112 * var(--u));height:calc(40 * var(--u))}
.hg-app-brand>img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0;box-shadow:none}

/* Match the first-deposit poster's rounded gold frame and clip the white corners. */
html.hongguo-brand-198800 .pwp-picture[data-hg-brand-source="d94f14414dcf85a81f44cc24145d055a2f37ce11.png"] {
  background:transparent;
  border-radius:12% / 15%;
  clip-path:inset(0 round 12% / 15%);
}
