.h5p-guess-answer {
  background-color: var(--h5p-theme-ui-base);
  text-align: center;
  color: var(--h5p-theme-text-primary);
  container-type: inline-size;
}

.h5p-guess-answer .h5p-image > img {
  line-height: 0;
  max-width: 100%;
  height: auto;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.h5p-guess-answer .show-solution-button {
  margin: 1em auto;
}

.h5p-guess-answer-title {
  padding-inline: var(--h5p-theme-spacing-m);
}

.h5p-guess-answer-title p {
  font-size: var(--h5p-theme-font-size-xl);
  color: var(--h5p-theme-text-primary);
  font-weight: 600;
}

.h5p-guess-answer .button-container {
  margin: var(--h5p-theme-spacing-s);
  display: inline-flex;
  container-type: inline-size;
  width: 100%;
  max-width: fill-available;
  max-width: -webkit-fill-available;
  max-width: -moz-available;
  justify-content: center;
}

.h5p-guess-answer .solution-text {
  font-weight: bold;
}

.h5p-guess-answer .solution-text:focus-visible {
  outline: none;
}

.h5p-guess-answer .empty-text-for-nvda {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.h5p-guess-answer .hidden {
  display: none;
}

/* Button-Fix: explizite Styles falls H5P.Components CSS-Variablen fehlen */
.h5p-guess-answer .button-container .h5p-theme-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background-color: #1976d2;
  color: white;
  border: 3px solid #1976d2;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  gap: 4px;
}
.h5p-guess-answer .button-container .h5p-theme-button:hover {
  background-color: #1565c0;
  border-color: #1565c0;
}
.h5p-guess-answer .button-container .h5p-theme-label {
  display: inline-block;
}
.h5p-guess-answer .button-container .h5p-theme-button::before {
  display: none;
}
