#mall-dialog[hidden] { display:none!important; }
#mall-dialog[open] { display:flex; flex-direction:column; z-index:2147483000; }
#mall-dialog {
  position:fixed;
  inset:var(--embed-viewport-top,0px) 0 auto;
  box-sizing:border-box;
  width:100%;
  height:var(--embed-viewport-height,100%);
  margin:0;
  padding:0;
  border:0;
  overflow:hidden;
  background:var(--entry-page,#f7f8fa);
}
@supports (height:100dvh) {
  #mall-dialog { height:var(--embed-viewport-height,100dvh); }
}
html[data-embed-open="true"],
html[data-embed-open="true"] body {
  height:100%!important;
  overflow:hidden!important;
  overscroll-behavior-y:none;
  background:var(--entry-page,#f7f8fa);
}
html[data-embed-open="true"] body { position:fixed; inset:0; width:100%; }
html[data-embed-open="true"] #root { opacity:0!important; }
#mall-content {
  flex:1 1 0;
  display:block;
  height:100%;
  min-height:0;
  width:100%;
  border:0;
  background:var(--entry-page,#f7f8fa);
}
#mall-loading[hidden],#mall-loading-actions[hidden]{display:none!important}
#mall-loading{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:24px;background:var(--entry-page,#f7f8fa);color:var(--entry-ink,#273149);font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center}
.mall-loading-panel{display:flex;flex-direction:column;align-items:center;gap:20px;box-sizing:border-box;width:min(100%,360px);padding:36px 24px;border:1px solid var(--entry-border,#e1e5ec);border-radius:18px;background:var(--entry-card,#fff);box-shadow:0 8px 32px rgba(26,35,58,.045)}
.mall-loading-ring{display:block;width:34px;height:34px;box-sizing:border-box;border:3px solid var(--entry-border,#e1e5ec);border-top-color:var(--entry-accent,#7020ff);border-radius:50%;animation:mall-loading-spin .85s linear infinite}
#mall-loading-message{margin:0;overflow-wrap:anywhere;font:inherit;font-weight:500}
#mall-loading-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;width:100%}
#mall-loading-actions button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:100px;min-height:42px;padding:8px 16px;border:1px solid var(--entry-border,#e1e5ec);border-radius:9px;background:var(--entry-card,#fff);color:inherit;font:inherit;cursor:pointer}
#mall-loading-retry{border-color:var(--entry-accent,#7020ff)!important;background:var(--entry-accent,#7020ff)!important;color:#fff!important}
#mall-loading-actions button:hover{filter:brightness(.96)}
#mall-loading-actions button:focus-visible{outline:2px solid var(--entry-accent,#7020ff);outline-offset:3px}
#mall-loading[data-state="error"] .mall-loading-ring{animation:none;border-color:var(--entry-border,#e1e5ec);border-top-color:var(--entry-accent,#7020ff)}
@keyframes mall-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.mall-loading-ring{animation:none;border-style:dashed}}
@media(max-width:600px){#mall-loading{padding:20px}.mall-loading-panel{padding:30px 20px}}
