/* ===== Base Page ===== */

body {
  margin: 0;
  padding: 40px 20px;
  background: #f4f4f4;
  color: #000;
  font-family: "Courier New", "VT323", monospace;
}

/* ===== Dialogue Container ===== */

#dialogue-log {
  max-width: 760px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ===== Dialogue Block ===== */

.dialogue-block {
  padding: 0;
  margin: 0;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    /*transform: translateY(3px);*/
  }
  to {
    opacity: 1;
    /*transform: translateY(0);*/
  }
}

/* ===== Dialogue Text ===== */

.dialogue-block p {
  margin: 0;
  font-size: 2rem;
  line-height: 2rem;
  font-family: "Courier New", "VT323", monospace;
  color: #000;
}

.dialogue-block.left {
  width: 75%;
  text-align: left;
}

.dialogue-block.right {
  width: 75%;
  margin-left: auto;
  text-align: right;
}

/* ===== Choices Container ===== */

.choices {
  margin-top: 10px;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ===== Choice Buttons ===== */

.choices button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  font-family: "Courier New", "VT323", monospace;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: left;

  color: #5a97ff;
  cursor: pointer;
}

/* optional little prompt marker */
.choices button::before {
  content: "~> ";
}

/* hover effect */
.choices button:hover {
  color: #2f6fe0;
  text-decoration: underline;
}

/* click feedback */
.choices button:active {
  opacity: 0.7;
}

/* keyboard accessibility */
.choices button:focus {
  outline: none;
}

.choices button:focus-visible {
  outline: 1px dotted #5a97ff;
  outline-offset: 2px;
}

/* ===== Optional Speaker Styling ===== */

.speaker {
  margin-bottom: 4px;
  font-family: "Courier New", "VT323", monospace;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
}