.parchment-bg {
  background:
    #f4ecd8 url('https://cdn.pixabay.com/photo/2015/06/19/21/24/old-814651_960_720.jpg') center center / cover no-repeat;
  color: #2e2b20; /* Dark text for contrast */
  font-family: 'Georgia', serif;
  border: 1px solid #a68b5b;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ✅ Default = small screens (smaller text) */
#placeholder-text {
  color: #3f29008f; /* Tailwind's gray-500 */
  font-style: italic;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0px 10px 10px;
}

/* Name text default (small screens) */
#chaosResult strong {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 1rem;      /* ⬅️ was 1.75rem, now 1rem for small screens */
  padding-bottom: 0.25rem;
}

/* Choose button default (small screens) */
.chaos-choose-btn {
  font-size: 1rem;      /* ⬅️ small screen size */
}

/* Small screens: push "Choose" buttons further right */
@media (max-width: 767px) {
  .chaos-choose-btn {
    right: -1.5rem !important;  /* adjust this value to taste */
  }
}

/* ✅ Larger screens: keep your original big text */
@media (min-width: 768px) {
  #placeholder-text {
    font-size: 3rem;
  }

  #chaosResult {
    font-size: 3rem;
  }

  #chaosResult strong {
    font-size: 3rem;    /* ⬅️ large screen size for names */
  }

  .chaos-choose-btn {
    font-size: 2rem;    /* ⬅️ large screen size for "Choose" buttons */
  }
}

#chaosNameWrapper {
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
}

#chaosResult strong {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  padding-bottom: 0.25rem;
}

/* ✅ Larger screens: keep your original big 3rem text */
@media (min-width: 768px) {
  #placeholder-text {
    font-size: 3rem;
  }

  #chaosResult {
    font-size: 3rem;
  }

  #chaosResult strong {
    font-size: 3rem;
  }
}

/* underline + colors unchanged */
#chaosResult strong::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: var(--underline-width);
  background-color: rgb(165, 112, 42);
  border-radius: 1px;
}

.vbad-color {
  color: #8B0000;
}

.bad-color {
  color: #c52747; /* firebrick red */
}

.mod-color {
  color: #3a7700; /* chocolate/orange-ish */
}

.good-color {
  color: #0055b6;
}

.vgood-color {
  color: #9700a5;
}

.trigger-list {
  padding-left: 0.25rem;
  margin-left: -1.75rem;
}