
    body {
        font-family: 'Kanit', sans-serif;
      background-color: #222;
      
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

    .counter-container {
      
      color: white;
      padding: 20px 30px;
      border-radius: 10px;
      text-align: center;
    }

    .title {
      font-size: 24px;
      margin-bottom: 10px;
      border-bottom: 1px solid white;
      padding-bottom: 5px;
    }

    .number {
      display: flex;
      justify-content: center;
      font-size: 48px;
      font-weight: bold;
      margin: 10px 0;
    }

    .digit {
      background-color: white;
      color: black;
      padding: 10px 20px;
      margin: 0 2px;
      border-radius: 5px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .comma {
      padding: 10px 5px;
      margin: 0 2px;
    }

    .unit {
      font-size: 14px;
      text-align: right;
      margin-top: -10px;
    }
    

    .stat-box {
        background-color: #007bff;
        color: white;
        width: auto;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        
        /* จัดตรงกลางแนวนอน */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
      }
  
      .stat-title {
        font-size: 20px;
        margin-bottom: 10px;
      }
  
      .stat-box hr {
        width: 80%;
        border: none;
        border-top: 1px solid #ffffff88;
        margin: 5px 0 15px;
      }
  
      .stat-number-line {
        display: flex;
        flex-direction: column;
        gap: 18px;
      }
  
      .stat-entry {
        font-size: 20px;
        font-weight: bold;
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: baseline;
      }
  
      .stat-unit {
        font-size: 14px;
        font-weight: normal;
      }
  
      .o { background-color: #5c5c5c; }
      .b { background-color: #036100; }
      .r { background-color: #b31313; }
      .oo { background-color: #d65409; }
