/* The demo's page: the wallpaper the materials blur, held still, and its
   own layout. Nothing here is the app's: the demo shows what the theme
   draws on its own. */

* { box-sizing: border-box; }
[data-c79-box] { display: contents; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ig-fg);
  font: var(--ig-text-base)/var(--ig-leading) var(--ig-font-sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(58% 64% at 18% 12%, var(--ig-wall-1), color-mix(in srgb, var(--ig-wall-1) 35%, transparent) 30%, color-mix(in srgb, var(--ig-wall-1) 10%, transparent) 60%, transparent 85%),
    radial-gradient(52% 60% at 82% 18%, var(--ig-wall-2), color-mix(in srgb, var(--ig-wall-2) 35%, transparent) 30%, color-mix(in srgb, var(--ig-wall-2) 10%, transparent) 60%, transparent 85%),
    radial-gradient(60% 62% at 70% 70%, var(--ig-wall-3), color-mix(in srgb, var(--ig-wall-3) 35%, transparent) 30%, color-mix(in srgb, var(--ig-wall-3) 10%, transparent) 60%, transparent 85%),
    radial-gradient(50% 56% at 20% 80%, var(--ig-wall-4), color-mix(in srgb, var(--ig-wall-4) 35%, transparent) 30%, color-mix(in srgb, var(--ig-wall-4) 10%, transparent) 60%, transparent 85%),
    var(--ig-bg);
  background-attachment: fixed;
}

a { color: var(--ig-link); }
code, pre { font-family: var(--ig-font-mono); }
code { font-size: .9em; }
:focus-visible { outline: none; box-shadow: var(--ig-ring); }

/* The inspector's code colours. Its spans arrive through jq79's `:html`,
   which a component's scoped style does not reach, so the rules are the
   page's; the values are the light Monokai the dashboard draws code in. */
.hl-comment { color: var(--ig-code-comment); font-style: italic; }
.hl-keyword, .hl-tag, .hl-selector { color: var(--ig-code-pink); }
.hl-string { color: var(--ig-code-yellow); }
.hl-number, .hl-directive, .hl-variable, .hl-interpolation { color: var(--ig-code-purple); }
.hl-attr, .hl-property, .hl-builtin { color: var(--ig-code-green); }
.hl-component { color: var(--ig-code-teal); }
