/* Made by tools/themes/world-theme-css.mjs: do not edit by hand; run it again instead.
   A world's theme (D-196, DESIGN-SYSTEM.md section 6) sits on one element: Home's page, the body while a game is
   open, a sample in Settings. These are the colour names the other layers work out on body, named again on that
   element so a page inside it follows the theme. The theme's own colours are in tokens.css. */
body.wb-shell [data-wl-theme] {
  /* shell/src/styles/ui.css */
  --background: var(--wl-bg);
  --foreground: var(--wl-text);
  --card: var(--wl-surface);
  --card-foreground: var(--wl-text);
  --popover: var(--wl-surface);
  --popover-foreground: var(--wl-text);
  --primary: var(--wl-accent);
  --primary-foreground: var(--wl-on-accent);
  --secondary: var(--wl-raised);
  --secondary-foreground: var(--wl-text);
  --muted: var(--wl-inset);
  --muted-foreground: var(--wl-text-3);
  --accent: var(--wl-raised);
  --accent-foreground: var(--wl-text);
  --destructive: var(--wl-danger);
  --border: var(--wl-line);
  --input: var(--wl-line-strong);
  --ring: var(--wl-selection);
  /* app/styles/base-theme.css */
  --scrollbar-thumb-bg: var(--strong);
  --scrollbar-active-thumb-bg: var(--ink);
  --background-primary: var(--canvas);
  --background-primary-alt: var(--inset);
  --background-secondary: var(--surface);
  --background-modifier-hover: var(--hover);
  --background-modifier-active-hover: var(--hover);
  --background-modifier-border: var(--hairline);
  --background-modifier-border-hover: var(--strong);
  --background-modifier-message: var(--surface);
  --text-normal: var(--ink);
  --text-muted: var(--slate);
  --text-faint: var(--tertiary);
  --divider-color: var(--hairline);
  --divider-color-hover: var(--strong);
  --caret-color: var(--ink);
  --text-selection: var(--focus-ring);
  --background-modifier-form-field: var(--inset);
  --interactive-normal: var(--surface);
  --interactive-hover: var(--hover);
  --background-secondary-alt: var(--surface);
  --h1-color: var(--ink);
  --h2-color: var(--ink);
  --h3-color: var(--ink);
  --h4-color: var(--ink);
  --h5-color: var(--ink);
  --h6-color: var(--ink);
  --callout-color: var(--soft);
  --callout-title-color: var(--ink);
  --callout-content-background: var(--surface);
  --callout-bug: var(--soft);
  --callout-default: var(--soft);
  --callout-error: var(--soft);
  --callout-example: var(--soft);
  --callout-fail: var(--soft);
  --callout-important: var(--soft);
  --callout-info: var(--soft);
  --callout-question: var(--soft);
  --callout-success: var(--soft);
  --callout-summary: var(--soft);
  --callout-tip: var(--soft);
  --callout-todo: var(--soft);
  --callout-warning: var(--soft);
  --callout-quote: var(--soft);
  --code-background: var(--inset);
  --code-normal: var(--ink);
  --code-comment: var(--slate);
  --code-function: var(--soft);
  --code-important: var(--ink);
  --code-keyword: var(--ink);
  --code-operator: var(--slate);
  --code-property: var(--soft);
  --code-punctuation: var(--slate);
  --code-string: var(--soft);
  --code-tag: var(--ink);
  --code-value: var(--soft);
  --code-border-color: var(--hairline);
  --table-background: var(--surface);
  --table-border-color: var(--hairline);
  --table-header-background: var(--inset);
  --table-header-background-hover: var(--hover);
  --table-header-border-color: var(--hairline);
  --table-header-color: var(--slate);
  --table-row-background-hover: var(--hover);
  --table-row-alt-background: var(--zebra);
  --table-row-alt-background-hover: var(--hover);
  --checkbox-marker-color: var(--canvas);
  --checkbox-color: var(--interactive-accent);
  --checkbox-color-hover: var(--interactive-accent-hover);
  --checkbox-border-color: var(--strong);
  --checkbox-border-color-hover: var(--ink);
  --checklist-done-color: var(--slate);
  --list-marker-color: var(--slate);
  --list-marker-color-hover: var(--ink);
  --list-marker-color-collapsed: var(--ink);
  --link-color: var(--ink);
  --link-color-hover: var(--ink);
  --link-external-color: var(--ink);
  --link-external-color-hover: var(--ink);
  --link-unresolved-color: var(--tertiary);
  --link-unresolved-decoration-color: var(--tertiary);
  --tab-background-active: var(--surface);
  --tab-text-color: var(--slate);
  --tab-text-color-active: var(--ink);
  --tab-text-color-focused: var(--slate);
  --tab-text-color-focused-active: var(--ink);
  --tab-container-background: var(--canvas);
  --tab-divider-color: var(--hairline);
  --tab-outline-color: var(--hairline);
  --ribbon-background: var(--canvas);
  --ribbon-background-collapsed: var(--canvas);
  --status-bar-background: var(--canvas);
  --status-bar-text-color: var(--slate);
  --status-bar-border-color: var(--hairline);
  --titlebar-background: var(--canvas);
  --titlebar-background-focused: var(--canvas);
  --titlebar-text-color: var(--ink);
  --nav-item-color: var(--slate);
  --nav-item-color-hover: var(--ink);
  --nav-item-color-selected: var(--ink);
  --nav-item-background-hover: var(--hover);
  --nav-item-background-selected: var(--hover);
  --nav-indentation-guide-color: var(--hairline);
  --nav-collapse-icon-color: var(--slate);
  --pill-border-color: var(--strong);
  --pill-border-color-hover: var(--ink);
  --pill-color: var(--soft);
  --pill-color-hover: var(--ink);
  --slider-track-background: var(--strong);
  --slider-fill-background: var(--interactive-accent);
  --slider-thumb-background: var(--ink);
  --slider-thumb-background-hover: var(--soft);
  --slider-thumb-shadow-focus: 0 0 0 2px var(--wl-selection, var(--ink));
  /* app/styles/tokens.css */
  --wl-font-display: var(--wl-font-title);
  /* app/styles/theme-overrides.css */
  --focus-ring: color-mix(in srgb, var(--wl-selection) 30%, transparent);
  --scrim: color-mix(in srgb, var(--wl-bg) 70%, transparent);
  --color-accent: var(--wl-accent);
  --color-accent-1: var(--wl-accent);
  --color-accent-2: var(--wl-highlight);
  --text-accent: var(--wl-selection);
  --text-accent-hover: var(--wl-text);
  --text-warning: var(--wl-warning);
  --text-highlight-bg: color-mix(in srgb, var(--wl-warning) 22%, transparent);
  --background-modifier-border-focus: var(--wl-selection);
  --background-modifier-error: var(--wl-danger);
  --background-modifier-error-hover: color-mix(in srgb, var(--wl-danger) 82%, var(--wl-text));
  --background-modifier-success: color-mix(in srgb, var(--wl-success) 14%, transparent);
  --input-shadow: inset 0 0 0 1px var(--wl-line);
  --input-shadow-hover: inset 0 0 0 1px var(--wl-line-strong);
  --tag-color: var(--wl-selection);
  --tag-color-hover: var(--wl-selection);
  --tag-background: var(--wl-selection-soft);
  --tag-background-hover: color-mix(in srgb, var(--wl-selection) 22%, transparent);
  --blockquote-border-color: var(--wl-line-strong);
  --blockquote-color: var(--wl-text-2);
  /* app/styles/atlas-system.css */
  --canvas: var(--wl-bg);
  --inset: var(--wl-inset);
  --surface: var(--wl-surface);
  --hover: var(--wl-raised);
  --zebra: var(--wl-inset);
  --hairline: var(--wl-line);
  --strong: var(--wl-line-strong);
  --ink: var(--wl-text);
  --slate: var(--wl-text-2);
  --tertiary: var(--wl-text-3);
  --soft: var(--wl-text);
  --wb-accent: var(--wl-accent);
  --interactive-accent: var(--wl-accent);
  --interactive-accent-hover: var(--wl-text);
  --text-on-accent: var(--wl-on-accent);
  --text-on-accent-inverted: var(--wl-on-accent);
  --wl-glass: var(--wl-surface);
  --wl-glass-border: var(--wl-line);
  --text-error: var(--wl-danger);
  --text-success: var(--wl-success);
  /* app/gameplay/game-polish.css */
  --wl-test: var(--wl-warning);
  /* app/styles/frame.css */
  --wl-frame-bg: color-mix(in srgb, var(--wl-bg) 62%, #000);
  --wl-sheet: color-mix(in srgb, var(--wl-bg) 45%, var(--wl-surface));
  --wl-sheet-line: color-mix(in srgb, var(--wl-text) 7%, transparent);
  --wl-sheet-tint: color-mix(in srgb, var(--wl-text) 4.5%, transparent);
  --wl-sheet-shadow: inset 0 1px 0 color-mix(in srgb, var(--wl-text) 3.5%, transparent), 0 24px 60px -28px rgb(0 0 0 / .7);
}
@media (prefers-reduced-transparency: reduce) {
  body.wb-shell [data-wl-theme] { --wl-glass: var(--wl-inset); --wl-glass-fill: var(--wl-inset); }
}
