@font-face {
    font-family: 'dof-3';
    src: url('fonts/dof-3-ext.ttf');
    font-weight: normal;
    font-style: normal;
  }
  
  body {
    margin: 15px 10px 0 10px;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  h3 {
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'dof-3';
    margin: 0;
    padding: 0;
    line-height: 1.3;
    font-size: 10px;
    color: red;
  }
  
  div {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  ::selection {
    color: rgb(9, 255, 0);
    background-color: rgb(0, 0, 0);
  }
  
  /* Canvas invisible par défaut */
  #drawing-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
  }
  
  /* Quand le mode édition est actif */
  .edit-mode #drawing-canvas {
    pointer-events: auto;
    cursor: crosshair;
    z-index: 1000;
  }