/* Global styles for the older pages (/ev, /watch, ...) and the annotation player.
   Cascade layer order (reset, base, components, utilities) is declared once in src/app.html.
   Inter is loaded by the <link> in src/app.html (the duplicate @import here was render-blocking). */

:root {
  /* Light is the only supported color scheme (also declared by <meta name="color-scheme"> in src/app.html).
     Native UI (form controls, scrollbars, canvas) stays light even when the OS is in dark mode. */
  color-scheme: light;
  interpolate-size: allow-keywords;
  --theme-color-navy: #00003D;

  --amber: #ffc30033;
  --black: #000000;
  --black-2: #000000b2;
  --bubble-gum: #ffaef9b2;
  --cyan--aqua: #00e5ffb2;
  --cyan--aqua-2: #00e5ff33;
  --magenta--fuchsia: #ff00ee33;
  --razzle-dazzle-rose: #ff33e3b2;
  --selective-yellow: #ffbb00b2;
  --supernova: #ffcc00b2;
  --white: #ffffff;

  /* Kia-EV6 annotation theme (see static/styles/instruction-text.css, annotation-popup.css) */
  --kia-ev6-instruction-text-color: #ffffff;
  --kia-ev6-link-color: #00e5ff;
  --kia-ev6-color-danger: #ff6666;
  --kia-ev6-color-warn: #ffff00;
  --kia-ev6-color-muted: #ededed;
}

@layer reset {
  html, body {
    margin: 0;
    padding: 0;
    block-size: 100%;
  }
}

/* Utility classes used by the annotation HTML in resource data (videos/.../annotation/*.html).
   They are global on purpose and listed as scope roots in scripts/check-css-scope.js; the generic
   .h-full and .blur, used nowhere, were removed (2026-11-18). Manual documents get their own copy
   inside the shadow root (src/lib/components/manual/manual-document.css). */
@layer utilities {
  .fit-container {
    object-fit: contain;
  }

  .w-full {
    inline-size: 100%;
  }
}
