/* Shared with standalone /api/internal/visual pages and optional index embed. */
:root { color-scheme: dark; }

.wx-standalone {
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0a0c14;
  padding: 1rem;
  box-sizing: border-box;
}

/* In-page /test gallery cells */
.card__visual .wx-visual-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.wx-standalone .wx-visual-host {
  width: 100%;
  max-width: 400px;
}

.wx-visual-host canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 0;
  box-shadow: none;
}

.wx-standalone .wx-visual-host canvas,
.weather-visual-frame.wx-visual-host canvas {
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
