/* DamPhi demo ribbon + toast: neutral colors, the site's own body font */
html { --dp-rh: 30px; }
#dp-ribbon { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-sizing: border-box; margin: 0;
  background: #1c1c1c; color: #ececec; font: 400 12px/1.4 var(--font-body, var(--font-sans, inherit)), system-ui, sans-serif;
  letter-spacing: .01em; text-align: center; padding: 6px 12px; border-top: 1px solid rgba(255,255,255,.14); pointer-events: auto; }
#dp-ribbon a { color: #fff; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; font-weight: 600; }
body { padding-bottom: var(--dp-rh); }
.dm-i18n-switch--floating { bottom: calc(var(--dp-rh, 30px) + 14px) !important; }
#dp-bgm-toggle { bottom: calc(var(--dp-rh, 30px) + 80px) !important; right: 14px !important; }
#dp-demo-toast { position: fixed; left: 50%; bottom: calc(var(--dp-rh, 30px) + 22px); transform: translate(-50%, 12px); z-index: 99;
  max-width: min(92vw, 520px); background: #1c1c1c; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  padding: 12px 16px; font: 500 14px/1.4 var(--font-body, system-ui), system-ui, sans-serif; opacity: 0; transition: opacity .3s, transform .3s; text-align: center; }
#dp-demo-toast.dp-show { opacity: 1; transform: translate(-50%, 0); }
/* off-screen "reveal-right" elements of some templates must not create sideways scroll before they animate in */
html { overflow-x: clip; }

/* the builder's fixed corner Privacy link must sit above the ribbon */
.dp-privacy-link { bottom: calc(var(--dp-rh, 30px) + 6px) !important; }
