/* Gameficate cartridge — Design tokens, reset, the scaled stage and shared bits. */
:root {
  /* Theme tokens. config.xml (made with the Theme Configurator) overrides these at start-up — see js/theme/ThemeApplier.js. */
  --navy: #17324d;
  --navy-2: #214667;
  --ink: #1f2a37;
  --muted: #5b6b7c;
  --line: #dce6ef;
  --bg: #eef4f9;
  --panel: #ffffff;
  --card: #ffffff;
  --sea-deep: #a8d8ec;
  --orange: #ff7a3d;
  --orange-d: color-mix(in srgb, var(--orange) 82%, #000);
  --teal: #13a89e;
  --green: #22b573;
  --gold: #ffc83d;
  --red: #e5484d;
  --amber: #f2a516;
  --violet: #6c5ce7;
  --violet-d: color-mix(in srgb, var(--violet) 80%, #000);
  --hud-1: #214667;
  --hud-2: #17324d;
  --hud-fg: #ffffff;
  --score-fg: #17324d;
  --foot-bg: #0f2539;
  --foot-fg: rgba(255, 255, 255, 0.62);
  --frame: #0e2236;
  --link: #2d6cdf;
  --soft: color-mix(in srgb, var(--navy) 6%, var(--card));
  --soft2: color-mix(in srgb, var(--navy) 3%, var(--card));
  --soft3: color-mix(in srgb, var(--navy) 10%, var(--card));
  --edge: color-mix(in srgb, var(--navy) 24%, var(--card));
  --rs: 1; /* roundness: 0 = square corners, 1 = default, 1.5 = extra round */
  --radius: calc(18px * var(--rs));
  --shadow: 0 6px 20px rgba(23, 50, 77, 0.12);
  --font-lang: system-ui; /* fonts for the assessment's scripts (js/core/LanguageFonts.js) */
  --font: 'Nunito', var(--font-lang), 'Baloo 2', system-ui, sans-serif;
  --font-display: 'Baloo 2', 'Nunito', sans-serif;
}
/* ---------- Reset and base elements ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--frame);
}
body {
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  cursor: not-allowed;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
[data-theme-hidden] {
  display: none !important;
} /* switched off in config.xml */

img.emo {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  display: inline-block;
}

/* ---------- The stage (a fixed design size, scaled to fit the window) ---------- */
#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--stage-w, 1920px);
  height: var(--stage-h, 1080px);
  transform-origin: center center;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}
