/* SPDX-License-Identifier: AGPL-3.0-or-later WITH LicenseRef-Casca-output-exception */
/* SPDX-FileCopyrightText: 2026 💀 <skell@which.is> */
/* Casca portal, base page-level styling.
 *
 * Loaded by every portal layout (landing, demo, doc, post). Sets the
 * body background and ink color from the mood's semantic role tokens
 * (--casca-page-bg / --casca-ink), so the picker swap repaints the
 * whole page along with the primitives inside it. Without this rule
 * the body inherits whatever the browser's user-agent stylesheet
 * decides, which on most browsers is white regardless of OS dark mode.
 *
 * Scope: body.casca, the rule only fires when a host page has opted
 * into the Casca theme by setting class="casca" on its <body>. Host
 * pages that scope Casca to a div get the same body bg as before
 * (none); only the portal's whole-page theming is affected.
 *
 * NOT part of the casca library, these are portal-specific page
 * styles that should never ship in dist/.
 */

body.casca {
  background: var(--casca-page-bg);
  color: var(--casca-ink);
  min-block-size: 100vh;
  margin: 0;
}
