<style>
  body {
    font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    margin: 0;
    padding: 40px 16px;
    line-height: 1.6;
    background: linear-gradient(to bottom right, #fefefe, #eaf3ff);
    color: #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#gameHeader {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: 20px auto;
  color: #1e3a8a;
  max-width: 800px;
}


  h1 {
    margin: 8px 0 12px;
    font-size: 32px;
    color: #1e3a8a;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    justify-content: center;
  }

  .header {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
    color: #1e3a8a;
    justify-content: center;
  }

  .row {
    margin: 10px 0 14px;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  select {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #3b82f6;
    background-color: #eef2ff;
    color: #1f2937;
    margin: 6px;
  }

#scene-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 100%;
  max-width: 800px;
  text-align: center;
}

  .btn {
    display: inline-block;
    padding: 10px 14px;
    margin: 10px 6px;
    font-size: 16px;
    cursor: pointer;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
    justify-content: center;
  }

  .btn:hover {
    background: #2563eb;
  }

  .line {
    padding: 12px 14px;
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    margin: 12px 0;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
  }

  .translation {
    display: none;
    color: #000000;
    font-size: 14px;
    margin-top: 6px;
    font-style: italic;
    text-align: center;
  }

  .toggle {
    color: #24f700;
    cursor: pointer;
    margin-left: 6px;
    font-size: 14px;
    user-select: none;
    font-weight: 500;
  }

  .hidden {
    display: none;
  }

table {
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
  border-collapse: collapse;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background-color: #fff;
  text-align: center;
}

th, td {
  padding: 12px;
  border: 1px solid #3b82f6;
  text-align: center;
}

th {
  background-color: #3b82f6;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #f3f4f6;
}

tr:hover {
  background-color: #e0e7ff;
}

.scene-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  text-align: center;
}

</style>
