/* =================================================
   Basis & Reset
================================================= */

*, *:before, *:after {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
     
input, input:before, input:after {
    -webkit-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

::selection { background: transparent; color: inherit; }
::-moz-selection { background: transparent; color: inherit; }

/* =================================================
   Canvas & Rendering
================================================= */

#canvas {
    position: fixed; 
}

canvas {
    -ms-interpolation-mode: nearest-neighbor;
    -ms-touch-action: none;
}

.ani_hack {
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* =================================================
   Schriften (Fonts)
================================================= */

@font-face {
    font-family: 'arial-webfont';
    src: url('arial-webfont.eot');
    src: url('arial-webfont.eot?#iefix') format('embedded-opentype'),
         url('arial-webfont.woff2') format('woff2'),
         url('arial-webfont.woff') format('woff'),
         url('arial-webfont.ttf') format('truetype'),
         url('arial-webfont.svg#arial-webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

.check-fonts {
    position: fixed;
    opacity: 0;
}

.check-font-1 {
    font-family: 'arial-webfont';
}

/* =================================================
   UI & Overlays
================================================= */

.block-game {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
}

/* =================================================
   Theme (Light / Dark) & iFrame Hintergrund
================================================= */

html, body {
    background: #eef3fb; 
    color: #fff;
    overflow: hidden;
    touch-action: none;
    -ms-touch-action: none;
    transition: background-color 0.2s ease; 
}

html[data-theme="dark"], html[data-theme="dark"] body {
    background: #0d1b2a; 
}