  /* Layout e colori globali */
    body {
      background: linear-gradient(to right, #fdfbfb, #ebedee);
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      text-align: center;
      padding: 20px;
      margin: 0;
      color: #333;
    }
    h2 {
      color: #2c3e50;
      margin-bottom: 15px;
    }
    /* Board: griglia di 30 caselle */
    #ocaBoard {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
      gap: 5px;
      max-width: 600px;
      margin: 20px auto;
    }
    /* Caselle della board */
    .square {
      width: 50px;
      height: 50px;
      border: 1px solid #aaa;
      border-radius: 6px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      transition: background-color 0.3s;
    }
    /* La casella finale (29) avrà uno stile speciale */
    .square.final {
      background-color: #cff;
      font-weight: bold;
    }
    /* Stili per i token: le pedine mostraranno la lettera e un'emoji */
    .token {
      position: absolute;
      bottom: 2px;
      right: 2px;
      font-size: 0.7rem;
      font-weight: bold;
      background: rgba(255,255,255,0.9);
      border-radius: 3px;
      padding: 2px 4px;
    }
    .token.red {
      color: red;
    }
    .token.blue {
      color: blue;
    }
    /* Messaggio di stato */
    #ocaMessage {
      margin: 15px auto;
      font-size: 1.2rem;
      font-weight: bold;
      color: #2c3e50;
    }
    /* Stili pulsanti */
    .btn-custom {
      margin: 5px;
      padding: 10px 15px;
      font-size: 1rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    #ocaRollButton {
      background-color: #27ae60;
      color: #fff;
    }
    #ocaRollButton:hover {
      background-color: #1e8449;
    }
    #ocaHelpButton {
      background-color: #2ecc71;
      color: #fff;
    }
    #ocaHelpButton:hover {
      background-color: #27ae60;
    }
    #ocaRecordButton {
      background-color: #9b59b6;
      color: #fff;
    }
    #ocaRecordButton:hover {
      background-color: #8e44ad;
    }
    #ocaDownloadButton {
      background-color: #34495e;
      color: #fff;
    }
    #ocaDownloadButton:hover {
      background-color: #2c3e50;
    }
    #ocaCloseButton {
      background-color: #e74c3c;
      color: #fff;
    }
    #ocaCloseButton:hover {
      background-color: #c0392b;
    }
    /* Responsive */
    @media (max-width: 576px) {
      .square {
        width: 40px;
        height: 40px;
        font-size: 0.65rem;
      }
    }
