body, html {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #1c1c1e; /* ダークグレー背景 */
    color: #e0e0e0; /* ソフトな白のテキスト色 */
  }
  
  .container {
    text-align: center;
    width: 90%;
    max-width: 400px;
    background-color: #2c2c2e; /* ダークグレーのコンテナ背景 */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  
  input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1em;
    background-color: #3a3a3c; /* テキスト入力のダークな背景 */
    color: #e0e0e0; /* ソフトな白のテキスト色 */
    border: 1px solid #575757;
    border-radius: 4px;
  }
  
  #game-screen {
    margin-top: 20px;
  }
  
  /* ボタンスタイルの共通設定 */
  button {
    padding: 10px;
    font-size: 1em;
    width: 100%;
    margin-bottom: 15px;
    color: #ffffff; /* 明るい白のテキスト色 */
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  /* 開始するおよびもう一度ボタン - 青みがかったピンク */
  #start-button, #give-up.again {
    background-color: #d081d6; /* 青みのあるピンク */
  }
  
  #start-button:hover, #give-up.again:hover {
    background-color: #b96bbf; /* 開始およびもう一度ボタンのホバー色 */
  }
  
  /* サイコロを振るボタン - 濃いめのブルー */
  #roll-dice {
    background-color: #64b5f6; /* コントラストを上げたブルー */
  }
  
  #roll-dice:hover {
    background-color: #42a5f5; /* サイコロを振るボタンのホバー色 */
  }
  
  /* 諦めるボタン */
  #give-up {
    background-color: #555555; /* 落ち着いたダークグレー */
  }
  
  #give-up:hover {
    background-color: #444444; /* 諦めるボタンのホバー色 */
  }
  
  #game-screen p {
    font-size: 1.2em;
    margin: 0;
  }
  
  #game-screen .button-container {
    margin-top: 20px;
  }
  
  .error-message {
    color: #ff6b6b; /* 薄めの赤でエラーメッセージ */
    font-size: 0.9em;
    margin-top: -5px;
    display: none;
  }
  
  #hp-display, #dice-value {
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    max-width: 100%;
  }
  
  .highlight-text {
    font-weight: bold;
    font-size: 1.4em;
  }
  
  #actions-left {
    white-space: nowrap;
  }
  