/* Small fixed label shown only on public/admin read-only theme preview pages. */
.mph-theme-preview-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(320px, calc(100vw - 36px));
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  background: rgba(12, 16, 28, 0.82);
  color: #f8fafc;
  box-shadow: 0 22px 50px -20px rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}
.mph-theme-preview-badge__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,0.28), rgba(34,211,238,0.22));
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 1.15rem;
  line-height: 1;
}
.mph-theme-preview-badge__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.mph-theme-preview-badge__text strong {
  display: block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  line-height: 1.15;
  font-weight: 800;
}
.mph-theme-preview-badge__text small {
  display: block;
  font-size: 0.68rem;
  line-height: 1.1;
  color: rgba(226,232,240,0.72);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 540px) {
  .mph-theme-preview-badge { right: 12px; bottom: 12px; }
  .mph-theme-preview-badge__text { display: none; }
}
