/* neoplayer: the Neo design system (shared with neowatch and neoportal).
   Fonts are served from this site, not Google Fonts, so pages stay
   cross-origin isolated (Canvas playback needs that) and work offline. */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/fonts/instrument-sans-latin-ext-wght.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/fonts/instrument-sans-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400 500;
  src: url('/fonts/jetbrains-mono-latin-wght.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --neo-primary: #4C94D8;
  --neo-primary-hover: #3A80C4;
  --neo-primary-subtle: #EBF4FB;
  --neo-surface: #F1F5F9;
  --neo-card: #F8FAFC;
  --neo-border: #E2E8F0;
  --neo-border-strong: #CBD5E1;
  --neo-text: #0F172A;
  --neo-text-secondary: #475569;
  --neo-text-muted: #94A3B8;
  --neo-danger: #DC2626;
  --neo-danger-bg: #FEF2F2;
  /* Dark surfaces for the library and the player: video wants a dark room,
     so these pages keep the Neo accent and type on a slate background. */
  --neo-dark-bg: #0B1120;
  --neo-dark-raised: #162033;
  --neo-dark-input: #0F1729;
  --neo-dark-border: #2A3750;
  --neo-dark-text: #E2E8F0;
  --neo-dark-muted: #94A3B8;
  --neo-font: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --neo-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Wordmark: the Neo tile, then "neo" in the primary colour and the app name.
   The name takes the page's text colour, so it works on light and dark pages. */
.neoBrand {
  display: inline-flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
  font-family: var(--neo-font); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.neoBrand:focus-visible { outline: 2px solid var(--neo-primary); outline-offset: 4px; border-radius: 6px; }
.neoTile {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 6px;
  background: var(--neo-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.neoTile svg { width: 14px; height: 14px; margin-left: 2px; }
.neoPrefix { color: var(--neo-primary); }

/* "Ein Produkt von neoitsolutions", as on the other Neo apps. */
.neoFooter { text-align: center; line-height: 1; }
.neoFooter .by {
  font-family: var(--neo-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--neo-text-muted); vertical-align: middle;
}
.neoFooter img { height: 14px; width: auto; vertical-align: middle; opacity: 0.55; filter: grayscale(15%); }
.neoFooter a:hover img, .neoFooter a:focus-visible img { opacity: 0.8; }
