@charset "UTF-8";
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
/* © DialogueTrainer */
@media screen and (max-width: 600px) {
  .hide-mobile {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .hide-tablet {
    display: none !important;
  }
}

#main {
  padding-top: 0;
  font-size: 1.1em;
}
#wrapper.fullscreen #main {
  background-color: black;
}

#content section {
  margin: 0 !important;
}

#fullscreen {
  position: absolute;
  inset: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#fullscreen.fullscreenCenter #conversation {
  margin-top: auto;
}

#conversation {
  position: absolute;
  max-width: 100%;
  min-height: 50px;
  max-height: 100%;
  margin: auto;
  margin-top: 0;
  overflow: hidden;
  aspect-ratio: 1.7777777778;
  inset: 0;
}
@media (orientation: portrait) {
  #conversation {
    aspect-ratio: unset;
  }
}
@media (max-height: 1264px) {
  #conversation {
    aspect-ratio: unset;
  }
}
@media (max-width: 600px) {
  #conversation {
    font-size: initial !important;
  }
}
#conversation * {
  scrollbar-color: rgba(51, 81, 102, 0.15) rgba(51, 81, 102, 0.05);
  scrollbar-width: thin;
}
#conversation *::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em;
}
#conversation *::-webkit-scrollbar-track {
  background-color: rgba(51, 81, 102, 0.1);
  border-radius: 30px;
  outline: 0;
}
#conversation *::-webkit-scrollbar-track:disabled {
  background-color: transparent;
  border: 1px solid rgba(51, 81, 102, 0.05);
}
#conversation *::-webkit-scrollbar-thumb {
  background-color: rgba(51, 81, 102, 0.1);
  border: 1px solid rgba(51, 81, 102, 0.15);
  border-radius: 30px;
  outline: 0;
}
#conversation *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(51, 81, 102, 0.25);
  border-color: rgba(51, 81, 102, 0.5);
}
#conversation *::-webkit-scrollbar-thumb:active {
  background-color: rgba(51, 81, 102, 0.1);
  border-color: rgba(51, 81, 102, 0.25);
}
#conversation *::-webkit-scrollbar-corner {
  background: transparent;
}
#conversation *::-webkit-scrollbar-resizer {
  width: 0;
  height: 0;
  background: transparent;
  border-color: transparent transparent #335166 transparent;
  border-style: solid;
  border-width: 0 0 0.5em 0.5em;
}
#conversation .markdown a:not(.hasImage) {
  padding: 2px;
  margin: 1px;
  text-decoration: none;
  border: 1px solid black;
  border-radius: 3px;
}
#conversation .markdown a:not(.hasImage)::after {
  content: "↗";
  margin-left: 5px;
  opacity: 0.5;
}
#conversation .markdown a:not(.hasImage):hover {
  text-decoration: none;
}
#conversation .markdown a:not(.hasImage):hover::after {
  opacity: 1;
}
#conversation #dialogueScene,
#conversation #computerResponse,
#conversation #responses {
  opacity: 1;
  filter: none;
  transition: filter 0.75s steps(20), opacity 0.75s ease;
}
#conversation.overlay #dialogueScene,
#conversation.overlay #computerResponse,
#conversation.overlay #aside,
#conversation.overlay #responses:not(.inSituation) {
  pointer-events: none;
  filter: blur(10px);
}
#conversation.overlay #infoArea {
  opacity: 0;
}
#conversation.overlay #responses:not(.inSituation) .box,
#conversation.overlay #responses:not(.inSituation) #statementToolbar > * {
  pointer-events: none;
}
#conversation.overlay.ending #dialogueScene,
#conversation.overlay.ending #computerResponse,
#conversation.overlay.ending #responses:not(.inSituation) {
  opacity: 0.5;
  filter: blur(30px) brightness(1.25) contrast(0.75);
}
#conversation.overlay.finished #dialogueScene,
#conversation.overlay.finished #computerResponse,
#conversation.overlay.finished #responses:not(.inSituation) {
  opacity: 0;
  filter: none;
}
#conversation.description #responses,
#conversation.description #buttonOverlayBottom .returnToPreviousPlayerChoice,
#conversation.description #skip {
  display: none !important;
}
#conversation.description #overlayContainer .dialogueOverlay:not(#dialogueDescription):not(.hidden) .container, #conversation.description #overlayContainer .dialogueOverlay:not(#dialogueDescription):not(.hidden) .buttonContainer {
  pointer-events: none;
  opacity: 0.1;
  filter: blur(5px);
}
#conversation.description #overlayContainer {
  z-index: 12;
}
#conversation #dialogueScene {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#conversation #dialogueAnimation {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}
#conversation #dialogueAnimation canvas {
  vertical-align: top;
}
#conversation #dialogueBackdrop {
  position: absolute;
  z-index: 13;
  width: 100%;
  height: 100%;
  background-color: black;
}
#conversation #dialogueBackground,
#conversation #dialogueForeground {
  overflow: hidden;
  pointer-events: none;
}
#conversation #dialogueBackground.hasVideo,
#conversation #dialogueForeground.hasVideo {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
#conversation #dialogueBackground img, #conversation #dialogueBackground video,
#conversation #dialogueForeground img,
#conversation #dialogueForeground video {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#conversation #dialogueBackground img, #conversation #dialogueBackground video {
  z-index: 0;
}
#conversation #dialogueForeground img {
  z-index: 2;
}

.dialogueHeight, .dialogueHeight > * {
  height: 100%;
}

.dialogueWidth, .dialogueWidth > * {
  width: 100%;
}

.updateStats, .renderStats {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
}

.updateStats {
  right: 160px;
}

.renderStats {
  right: 70px;
}

#toast {
  width: 100%;
  font-size: 1rem;
}

.mdi {
  font-size: 0;
}
.mdi.mdi-18px {
  height: 18px;
  line-height: 18px;
}
.mdi.mdi-24px {
  height: 24px;
  line-height: 24px;
}
.mdi.mdi-36px {
  height: 36px;
  line-height: 36px;
}
.mdi.mdi-48px {
  height: 48px;
  line-height: 48px;
}

/* © DialogueTrainer */
/* © DialogueTrainer */
button.buttonClose {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 8px;
  display: none;
  height: auto;
  padding: 8px;
  border: 0;
  border-radius: 9999px;
}
button.buttonClose .mdi {
  width: 18px;
  height: 18px;
}

#buttonOverlayTop {
  z-index: 13;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  gap: 8px;
}
@media (max-width: 600px), (max-height: 480px) {
  #buttonOverlayTop.open {
    position: absolute;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    grid-area: initial !important;
    inset: 0;
  }
}
@media (max-width: 600px) and (orientation: portrait), (max-height: 480px) and (orientation: portrait) {
  #buttonOverlayTop.open {
    padding: 40px;
  }
}
@media (max-width: 600px), (max-height: 480px) {
  #buttonOverlayTop.open .icon {
    display: none;
    flex-direction: row;
    width: auto;
    margin-bottom: 8px;
    border-radius: 8px;
  }
  #buttonOverlayTop.open .icon:not(.buttonClose)[title]::after {
    content: attr(title);
    display: inline-block;
  }
  #buttonOverlayTop.open .icon#menu,
  #buttonOverlayTop.open button.buttonClose,
  #buttonOverlayTop.open .icon.hideOnMobile {
    display: flex;
  }
  #buttonOverlayTop.open .icon#menu {
    text-transform: uppercase;
    background-color: transparent;
  }
  #buttonOverlayTop.open .icon#menu:hover, #buttonOverlayTop.open .icon#menu:active {
    background-color: transparent !important;
  }
}
#buttonOverlayTop.vertical {
  flex-direction: column;
}
#buttonOverlayTop.vertical > .buttons {
  flex-direction: column;
}
#buttonOverlayTop:hover .buttons {
  transition-delay: 0s;
}
#buttonOverlayTop.hidden {
  opacity: 0;
}
#buttonOverlayTop a, #buttonOverlayTop button {
  color: inherit;
}
#buttonOverlayTop .icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  line-height: 0;
  color: white;
  fill: white;
  opacity: initial;
  transition: background-color 0.1s ease-in-out;
  place-items: center;
}
#buttonOverlayTop .icon:enabled {
  cursor: pointer;
}
#buttonOverlayTop .icon.disabled {
  pointer-events: none;
  cursor: default;
}
#buttonOverlayTop .icon.disabled svg, #buttonOverlayTop .icon.disabled .mdi, #buttonOverlayTop .icon.disabled::after {
  opacity: 0.1;
}
#buttonOverlayTop .icon.roundedPill {
  border-radius: 9999px;
}
#buttonOverlayTop .icon.hideOnDesktop {
  display: none;
}
@media (max-width: 600px), (max-height: 480px) {
  #buttonOverlayTop .icon.hideOnMobile {
    display: none;
  }
  #buttonOverlayTop .icon.hideOnDesktop {
    display: grid;
  }
}
@media (min-width: 600px) {
  #buttonOverlayTop .icon.available::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: block;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-width: 1px;
    border-radius: 9999px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
    animation: 0.5s linear pulse-zoom;
  }
  @keyframes pulse-zoom {
    0% {
      transform: scale(0.1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }
}
@media (max-width: 600px) {
  #buttonOverlayTop .icon:not(#showThought).available::after, #buttonOverlayTop .icon.availableMobile::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: block;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-width: 1px;
    border-radius: 9999px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
    animation: 0.5s linear pulse-zoom;
  }
  @keyframes pulse-zoom {
    0% {
      transform: scale(0.1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }
}
#buttonOverlayTop .icon .switch {
  position: absolute;
  top: 50%;
  display: none;
  width: 20px;
  height: 12px;
  transform: translateY(-50%);
  inset-inline-end: 12px;
}
@media (max-width: 600px), (max-height: 480px) {
  #buttonOverlayTop .icon .switch {
    display: block;
  }
}
#buttonOverlayTop .icon .switch .slider {
  position: absolute;
  cursor: pointer;
  border-radius: 9999px;
  outline: 1px solid #94A3B8;
  transition: outline 0.3s;
  inset: 0;
}
#buttonOverlayTop .icon .switch .slider::before {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 1px;
  width: 10px;
  height: 10px;
  background-color: #94A3B8;
  border-radius: inherit;
  transition: left 0.3s, background-color 0.3s;
}
#buttonOverlayTop .icon.toggled .slider {
  outline-color: white;
}
#buttonOverlayTop .icon.toggled .slider::before {
  left: calc(100% - 10px - 1px);
  background-color: white;
}
#buttonOverlayTop .icon .mdi {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
}
#buttonOverlayTop > .buttons {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  overflow: auto;
  border-radius: 8px;
  scrollbar-width: thin;
}
#buttonOverlayTop > .buttons .hidden {
  display: none;
}
#buttonOverlayTop .mdi {
  pointer-events: none;
}

#toggleFullScreen.icon .icon-fullscreen {
  display: block;
}
#toggleFullScreen.icon .icon-restore {
  display: none;
}
#toggleFullScreen.icon.restore .icon-fullscreen {
  display: none;
}
#toggleFullScreen.icon.restore .icon-restore {
  display: block;
}

#testIcon.icon {
  position: relative;
  overflow: hidden;
  background-color: #FDE68A;
  border-radius: 8px;
}
@keyframes bubble {
  20% {
    opacity: 1;
  }
  50% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  75% {
    transform: translate(0, -10px) scale(1);
  }
  90% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: translate(0, -20px) scale(3);
  }
}
#testIcon.icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  fill: initial;
  opacity: 1 !important;
  transform: translate(-50%, -50%);
}
#testIcon.icon span::before, #testIcon.icon span::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: calc(50% - 3px);
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  animation: 2s bubble linear infinite forwards;
}
#testIcon.icon span:first-of-type::before {
  transform: translate(-8px, 15px) scale(0);
  animation-delay: 0.4s;
}
#testIcon.icon span:first-of-type::after {
  transform: translate(5px, 10px) scale(0);
  animation-delay: 0.8s;
}
#testIcon.icon span:last-of-type::before {
  transform: translate(8px, 10px) scale(0);
  animation-delay: 1.2s;
}
#testIcon.icon span:last-of-type::after {
  transform: translate(-5px, 15px) scale(0);
  animation-delay: 1.6s;
}

.buttonWithMenu {
  position: relative;
}
.buttonWithMenu.open .menu {
  display: block;
}
.buttonWithMenu .menu {
  position: absolute;
  top: 0;
  display: none;
  width: 240px;
  font-size: 1rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  inset-inline-start: calc(100% + 8px);
}
.buttonWithMenu .menu p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.buttonWithMenu .menu .stepControl {
  padding: 16px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.buttonWithMenu .menu .stepControl p:not(span) {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}
.buttonWithMenu .menu .stepControl span.value {
  padding: 4px;
  font-size: 11pt;
  font-weight: 600;
  line-height: 1;
  color: white;
  background-color: #94A3B8;
  border-radius: 4px;
}
.buttonWithMenu .menu .stepControl .buttons {
  display: flex;
  align-self: center;
  overflow: hidden;
  border-radius: 8px;
  margin-block-start: 8px;
}
.buttonWithMenu .menu .stepControl .buttons > button {
  display: grid;
  flex: 1 1 0;
  height: 32px;
  padding: 0;
  border: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  place-items: center;
}
.buttonWithMenu .menu .stepControl .buttons > button svg {
  width: 24px;
  height: 24px;
}

/* © DialogueTrainer */
#progressbar {
  font-size: 12pt;
}
#progressbar.white .bar {
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.15);
}
#progressbar.white .text {
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.15);
}
#progressbar.white .logo {
  filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.05)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}
#progressbar .bar {
  position: relative;
  width: 300px;
  height: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 6px;
}
#progressbar .bar .background {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
#progressbar .bar .inner {
  width: 0%;
  height: 100%;
  transition: 0.6s width steps(30, start);
}
@media (orientation: portrait) {
  #progressbar .bar {
    width: auto;
    min-width: 200px;
  }
}
@media (max-width: 480px) {
  #progressbar .bar {
    min-width: 150px;
  }
}
#progressbar .text {
  display: block;
  width: 300px;
  font-weight: 600;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#progressbar .logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 50px auto;
}

#dialoguePlay {
  cursor: pointer;
}

#dialoguePreviewImage {
  position: absolute;
  top: 0;
  background-position: center;
  background-size: cover;
  transition: 0.5s opacity;
}
#dialoguePreviewImage.hidden {
  opacity: 0;
}

#branding {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 9;
}
@media (orientation: portrait) {
  #branding {
    bottom: 15px;
    left: 15px;
  }
}
@media (max-width: 600px) {
  #branding {
    z-index: 0;
  }
}
#branding img {
  width: 200px;
}

#branding.monochrome img,
#screenshotBranding img {
  filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.05)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

#dialogueDescription .timeNote {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  padding: 4px 12px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  gap: 4px;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .timeNote {
    font-size: 0.8rem;
  }
}
#dialogueDescription .timeNote .mdi {
  display: flex;
  justify-content: center;
  align-items: center;
  color: currentColor;
}
#dialogueDescription .buttonContainer {
  padding: 12px 0;
}
#dialogueDescription .scenarioCharacter, #dialogueDescription .situationWrapper, #dialogueDescription .skill, #dialogueDescription .box {
  border-radius: 16px;
}
#dialogueDescription .container {
  display: grid;
  min-height: 0;
  padding: 0;
  font-size: 1.1em;
  box-shadow: none;
  grid-template-areas: "character description";
  grid-template-rows: auto;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  aspect-ratio: 3/2;
}
@media (max-width: 1264px) {
  #dialogueDescription .container {
    aspect-ratio: auto;
    height: 100%;
  }
}
#dialogueDescription .container.withPadding {
  padding: 32px;
  border-radius: 16px;
}
#dialogueDescription .container.withAdditionalInfo {
  grid-template-areas: "character description" "character boxes";
  grid-template-rows: minmax(200px, 1fr) minmax(140px, 200px);
}
@media (max-width: 1264px) {
  #dialogueDescription .container.withAdditionalInfo {
    grid-template-areas: "character description" "boxes boxes";
  }
}
@media (max-height: 480px) {
  #dialogueDescription .container.withAdditionalInfo {
    grid-template-areas: "description boxes";
    grid-template-rows: auto;
  }
  #dialogueDescription .container.withAdditionalInfo .scenarioCharacter {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container {
    display: flex;
    flex-direction: column;
  }
}
#dialogueDescription .container .scenarioCharacter {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  grid-area: character;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .scenarioCharacter {
    display: flex;
    min-height: 100px;
    max-height: 250px;
    overflow: unset;
    overflow: hidden;
  }
}
#dialogueDescription .container .scenarioCharacter .characterName {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  margin: 0 auto;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
#dialogueDescription .container .scenarioCharacter .characterName p {
  margin: 0;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .scenarioCharacter .characterName {
    display: none;
  }
}
#dialogueDescription .container .scenarioCharacter .skills {
  position: absolute;
  max-width: calc(100% - 48px);
  text-align: center;
  border-radius: 8px;
  inset-block-start: 32px;
  inset-inline-start: 24px;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .scenarioCharacter .skills {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    border-radius: 0;
  }
}
#dialogueDescription .container .scenarioCharacter .skills .icon {
  position: absolute;
  top: -20px;
  left: calc(50% - 20px);
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .scenarioCharacter .skills .icon {
    position: relative;
    top: auto;
    left: auto;
  }
}
#dialogueDescription .container .scenarioCharacter .skills .textWrapper {
  padding: 28px 20px 12px;
  margin: auto;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .scenarioCharacter .skills .textWrapper {
    padding: 12px;
    margin: 0;
    text-align: left;
  }
}
#dialogueDescription .container .scenarioCharacter .skills .textWrapper ul {
  padding: 0;
  margin: 0;
  margin-block-start: 0.4rem;
  list-style-type: none;
}
#dialogueDescription .container .scenarioCharacter .skills .textWrapper ul.multiple {
  padding-inline-start: 1rem;
  text-align: left;
  list-style-type: disc;
}
#dialogueDescription .container .scenarioCharacter .skills .textWrapper p {
  margin: 0;
}
#dialogueDescription .container .scenarioCharacter .skills .textWrapper .label {
  font-size: 0.7rem;
  letter-spacing: 1px;
}
#dialogueDescription .container .scenarioCharacter .skills .textWrapper .name {
  font-size: 0.9rem;
  font-weight: 600;
}
#dialogueDescription .container .scenarioCharacter .skills .title {
  line-height: 0;
  opacity: 0.65;
  margin-inline-end: 4px;
}
@media (pointer: coarse) {
  #dialogueDescription .container .scenarioCharacter .skills .title {
    display: none;
  }
}
#dialogueDescription .container .scenarioCharacter .timeNote {
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  border-radius: 0;
  margin-inline-start: auto;
}
#dialogueDescription .container .scenarioCharacter .timeNote p {
  margin: 0;
}
@media (min-width: 600px) {
  #dialogueDescription .container .scenarioCharacter .timeNote {
    display: none;
  }
}
#dialogueDescription .container .sectionTitle {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 1.3rem;
}
#dialogueDescription .container .situationWrapper {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 40px 28px;
  overflow-y: auto;
  grid-area: description;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .situationWrapper {
    padding: 20px;
  }
}
@media screen and (min-width: 1264px) {
  #dialogueDescription .container .situationWrapper::before {
    content: "";
    position: absolute;
    bottom: 60px;
    left: -30px;
    border-top: 20px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 20px solid transparent;
  }
}
#dialogueDescription .container .situationWrapper p:first-of-type {
  margin-top: 0;
}
#dialogueDescription .container .situationWrapper p:last-of-type {
  margin-bottom: 0;
}
#dialogueDescription .container .situationWrapper .markdown {
  max-height: 100%;
  padding-right: 8px;
  margin-right: -8px;
  overflow-y: auto;
  font-size: 0.8em;
}
#dialogueDescription .container .boxesWrapper {
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
  grid-area: boxes;
}
#dialogueDescription .container .boxesRow {
  --box-margin: 12px;
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0 calc(-1 * var(--box-margin));
  container-type: inline-size;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .boxesRow {
    --box-margin: 8px;
  }
  #dialogueDescription .container .boxesRow:has(.open) {
    flex-direction: column;
    row-gap: 8px;
  }
}
#dialogueDescription .container .boxesRow .box {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 50%;
  justify-content: center;
  min-height: 140px;
  padding: 20px;
  margin: 0 var(--box-margin);
  border: none;
  transition-duration: 0.3s;
  transition-property: flex-basis, flex-shrink, padding, margin;
  transition-timing-function: linear;
}
#dialogueDescription .container .boxesRow .box:enabled {
  cursor: pointer;
}
#dialogueDescription .container .boxesRow .box:not(.open) * {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#dialogueDescription .container .boxesRow .box.talents {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  gap: 8px;
}
#dialogueDescription .container .boxesRow .box.talents.hidden {
  padding: 0;
}
#dialogueDescription .container .boxesRow .box.talents.open {
  overflow: auto !important;
}
#dialogueDescription .container .boxesRow .box.talents.many {
  flex-wrap: wrap;
}
#dialogueDescription .container .boxesRow .box.talents.many .talent {
  flex-grow: 0;
  flex-basis: calc(33% - 8px);
  height: 80%;
}
#dialogueDescription .container .boxesRow .box.talents .talent {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 100%;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 4px;
  overflow: hidden;
  border-radius: 8px;
  gap: 8px;
}
#dialogueDescription .container .boxesRow .box.talents .talent::before {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
  background-color: var(--color);
  opacity: 0.1;
  inset: 0;
}
#dialogueDescription .container .boxesRow .box.talents .talent .talent-divider {
  width: 40%;
  height: 1.5px;
}
#dialogueDescription .container .boxesRow .box.talents .talent .talent-title {
  width: 95%;
  margin: 0 auto;
  overflow: hidden;
  font-size: 0.75em;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: pre;
}
#dialogueDescription .container .boxesRow .box.talents .talent .talent-bottom-border {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 4px;
}
#dialogueDescription .container .boxesRow .box.talents .talent .title {
  position: absolute;
  width: auto;
  margin-top: 0;
  line-height: normal;
  inset-inline-start: 8px;
  inset-block-start: 8px;
  opacity: 0.65;
}
#dialogueDescription .container .boxesRow .box.hidden {
  flex-basis: 0%;
  min-width: 0;
  padding: 20px 0;
  margin: 0;
  opacity: 0;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .boxesRow .box.hidden {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .boxesRow .box.clicked {
    flex-direction: row;
    order: 1;
    align-items: center;
    min-height: auto;
    gap: 12px;
  }
  #dialogueDescription .container .boxesRow .box.clicked .title {
    flex-grow: 1;
    width: auto;
    height: auto;
    margin-top: 0;
    text-align: left;
  }
}
#dialogueDescription .container .boxesRow .box.open {
  flex-shrink: 0;
  flex-basis: 72cqw;
  align-items: start;
  overflow: hidden;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .boxesRow .box.open {
    display: flex;
    order: 2;
    flex-shrink: 1;
    flex-basis: 0;
  }
}
#dialogueDescription .container .boxesRow .box.open .description, #dialogueDescription .container .boxesRow .box.open .buttonGoBack {
  opacity: 1;
}
#dialogueDescription .container .boxesRow .box .buttonGoBack {
  position: absolute;
  top: calc(50% - 19px);
  inset-inline-end: -16px;
  display: flex;
  flex-basis: 38px;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s linear, background-color 0.5ms linear;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .boxesRow .box .buttonGoBack {
    position: static;
    transform: none;
  }
}
#dialogueDescription .container .boxesRow .box .buttonGoBack .mdi {
  font-size: unset;
}
[dir=rtl] #dialogueDescription .container .boxesRow .box .buttonGoBack {
  transform: scale(-1, 1);
}
#dialogueDescription .container .boxesRow .box:last-child .buttonGoBack {
  inset-inline-end: 0;
  inset-inline-start: -16px;
  transform: scale(-1, 1);
}
[dir=rtl] #dialogueDescription .container .boxesRow .box:last-child .buttonGoBack {
  transform: none;
}
#dialogueDescription .container .boxesRow .box .mdi {
  height: 40px;
  margin: 0 auto;
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
}
#dialogueDescription .container .boxesRow .box .title {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
}
#dialogueDescription .container .boxesRow .box .description {
  width: calc(72cqw - 40px);
  height: 100%;
  margin: 0;
  overflow: auto;
  font-size: 0.7em;
  opacity: 0;
  transition: opacity 0.3s linear;
}
@media screen and (max-width: 600px) {
  #dialogueDescription .container .boxesRow .box .description {
    width: -moz-fit-content;
    width: fit-content;
  }
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#dialogueEnding .overlayContent,
#dialogueFinished .overlayContent {
  width: auto;
  height: auto;
  padding: 30px 50px;
}

#dialogueEnding .overlayContent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 68px 10px 10px 10px;
}
@media (max-width: 1264px) {
  #dialogueEnding .overlayContent {
    padding-top: 52px;
  }
}
#dialogueEnding .overlayContent .buttonContainer {
  flex-direction: column;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: -0.02em;
}
#dialogueEnding .overlayContent .buttonContainer span {
  margin-top: 0.5em;
  text-align: center;
}

#finishIndicator {
  position: relative;
  width: 150px;
  height: 150px;
  border: 50px solid black;
  border-radius: 50%;
  transform: scale(0);
}
.dialogueOverlay:not(.hidden) #finishIndicator, #finishIndicator.shown {
  animation: outerRing 1s 1s ease-in-out forwards;
}
@keyframes outerRing {
  100% {
    border-width: 5px;
    transform: scale(1);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.dialogueOverlay:not(.hidden) #finishIndicator svg.foreground, #finishIndicator.shown svg.foreground {
  animation: clipShow 1s 2s ease-in-out forwards;
}
@keyframes clipShow {
  0% {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
.dialogueOverlay:not(.hidden) #finishIndicator svg.background, #finishIndicator.shown svg.background {
  animation: clipHide 1s 2s ease-in-out forwards;
}
@keyframes clipHide {
  0% {
    clip-path: inset(0 0 0 0);
  }
  100% {
    clip-path: inset(0 0 0 100%);
  }
}
#finishIndicator svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
}
#finishIndicator svg.foreground {
  opacity: 0;
}
#finishIndicator ~ p {
  margin: 0;
  margin-top: 0.5em;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  opacity: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.dialogueOverlay:not(.hidden) #finishIndicator ~ p {
  animation: fadeIn 1s 2.5s ease-in-out forwards;
}

/* © DialogueTrainer */
#responses, #buttonOverlayBottom {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  padding-inline: 40px;
  padding-block-end: 24px;
}

#responses {
  z-index: 4;
  display: grid;
  order: 1;
  pointer-events: none;
  box-sizing: border-box;
  grid-template-columns: min-content 1fr;
  grid-template-areas: ". speechVisual" ". timer" "controls answers";
  -moz-column-gap: 12px;
       column-gap: 12px;
  row-gap: 4px;
}
@media (orientation: portrait) and (max-width: 600px) {
  #responses {
    grid-template-areas: "timer timer" "speechVisual speechVisual" "controls controls" "answers answers";
    row-gap: 8px;
  }
  #responses .hideOnMobile {
    display: none !important;
  }
}
@media (orientation: portrait) {
  #responses {
    width: 92%;
  }
}
@media (max-width: 1264px) {
  #responses {
    max-width: none;
    padding: 0;
  }
}
@media (pointer: fine) {
  #responses:hover .box {
    opacity: 0.5;
  }
}
#responses.inSituation {
  z-index: 10;
}
#responses #timer {
  position: absolute;
  top: -56px;
  right: 24px;
  display: flex;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  justify-self: flex-end;
  grid-area: timer;
}
@media (orientation: portrait) and (max-width: 600px) {
  #responses #timer {
    right: unset;
    justify-self: center;
  }
}
#responses #timer.warning .timerValue {
  color: #FF5252;
  animation: bleepAnimation 0.5s infinite;
}
#responses #timer.finished .timerLabel {
  color: #F8FAFC;
  background-color: #eb0000;
}
#responses #timer.finished .timerIcon {
  background-color: #b80000;
}
#responses #timer.finished .timerValue {
  color: #FF5252;
  background-color: #850000;
}
#responses #timer .timerLabel, #responses #timer .timerValue {
  display: flex;
  align-items: center;
  padding-inline: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
}
#responses #timer .timerLabel {
  margin: 0;
  font-size: 0.85em;
  font-weight: 600;
  color: #334155;
  background-color: #F8FAFC;
  padding-inline-end: 16px;
  border-start-start-radius: 4px;
  border-start-end-radius: 0;
  border-end-start-radius: 4px;
  border-end-end-radius: 0;
  padding-block: 4px;
}
#responses #timer .timerIcon {
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  color: white;
  background-color: #64748B;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  margin-inline: -8px;
  place-items: center;
}
#responses #timer .timerIcon svg {
  width: 24px;
  height: 24px;
}
#responses #timer .timerValue {
  font-weight: 600;
  padding-inline-start: 12px;
  color: #F8FAFC;
  background-color: #475569;
  border-start-start-radius: 0;
  border-start-end-radius: 8px;
  border-end-start-radius: 0;
  border-end-end-radius: 8px;
  padding-block: 6px;
}
#responses .answerOptions {
  display: grid;
  gap: 8px;
  grid-area: answers;
  margin-block-end: 20px;
}
@media (orientation: portrait) and (max-width: 600px) {
  #responses .answerOptions {
    grid-template-columns: 1fr;
  }
}
#responses .answerOptions .boxes {
  display: grid;
  gap: 8px;
}

.answerOptions .box {
  position: relative;
  display: block;
  pointer-events: initial;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  transition: 0.1s opacity;
}
.answerOptions .box:hover {
  opacity: 1 !important;
}
.answerOptions .box.highlighted ~ .box:not(.box:not(.highlighted)) {
  opacity: 0.5;
}
.answerOptions .box.flex-container {
  display: flex;
  align-items: flex-start;
}
.answerOptions .box.mini {
  display: inline-flex;
}
.answerOptions .box.mini #timer {
  right: 0;
}
.answerOptions .box.mini #timer .timerLabel {
  display: none;
}
.answerOptions .box > * {
  flex: 0 1 auto;
  align-self: stretch;
}
.answerOptions .box > .input {
  flex: 1 1 auto;
  min-width: 0;
}
@keyframes bleepAnimation {
  0% {
    color: #F8FAFC;
  }
  50% {
    color: #FF5252;
  }
  100% {
    color: #F8FAFC;
  }
}

#responsesVisual {
  --conversation-clickable-padding-x: 16px;
  --conversation-clickable-padding-y: 8px;
  --conversation-clickable-border-width: 1px;
  --conversation-clickable-inner-height: max(24px, 1.2em);
  --conversation-clickable-height: calc(var(--conversation-clickable-inner-height) + 2 * var(--conversation-clickable-padding-y) + var(--conversation-clickable-border-width));
  --shadow-top: none;
  --shadow-bottom: none;
  position: relative;
  height: 100%;
  max-height: calc(5.6 * var(--conversation-clickable-height));
  overflow: hidden;
  overflow-y: visible;
  border-radius: 8px;
  box-shadow: var(--shadow-top), var(--shadow-bottom);
  transition: box-shadow 0.25s;
}
@media (max-width: 1264px) {
  #responsesVisual {
    --conversation-clickable-padding-x: 8px;
    --conversation-clickable-padding-y: 4px;
  }
}
@media (orientation: portrait) {
  #responsesVisual {
    --conversation-clickable-padding-x: 12px;
    --conversation-clickable-padding-y: 8px;
  }
}
#responsesVisual .conversationClickable {
  padding-block: var(--conversation-clickable-padding-y);
  padding-inline: var(--conversation-clickable-padding-x);
  line-height: var(--conversation-clickable-inner-height);
  border-bottom: var(--conversation-clickable-border-width) solid transparent;
}
#responsesVisual.scrollShadowTop {
  box-shadow: inset 0 20px 16px -20px rgba(0, 0, 0, 0.5);
}
#responsesVisual.scrollShadowBottom {
  box-shadow: inset 0 -20px 16px -20px rgba(0, 0, 0, 0.5);
}
#responsesVisual.scrollShadowTop.scrollShadowBottom {
  box-shadow: inset 0 20px 16px -20px rgba(0, 0, 0, 0.5), inset 0 -20px 16px -20px rgba(0, 0, 0, 0.5);
}

#intents, #player {
  width: 100%;
  box-sizing: content-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.player {
  padding: 0;
  margin: 0;
  counter-reset: list;
}
.player .italic {
  font-style: italic;
}

.conversationClickable {
  display: flex;
  white-space: pre-wrap;
  box-sizing: content-box;
  transition: background-color 0.1s ease-in-out;
}
.conversationClickable > *:first-child {
  flex: 1 1 100%;
}
#intents > div > .conversationClickable > *:first-child {
  flex: 1 1 auto;
}
.conversationClickable:last-of-type {
  border-bottom-color: transparent;
}
@media (pointer: fine) {
  .conversationClickable > .playerSuggestionButton {
    opacity: 0;
  }
  .conversationClickable:hover {
    cursor: pointer;
  }
  .conversationClickable:hover > .playerSuggestionButton {
    opacity: 1;
  }
}
.conversationClickable.pulse {
  animation: pulse 1s linear;
  animation-fill-mode: forwards;
}
.conversationClickable.pulse.positive {
  animation-name: pulse-positive;
}
.conversationClickable.pulse.negative {
  animation-name: pulse-negative;
}
.conversationClickable.pulse.concern {
  animation-name: pulse-concern;
}
.conversationClickable.pulse.remark {
  animation-name: pulse-remark;
}

.inSituation .player > .conversationClickable::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-inline-end: 10px;
  background-color: rgba(51, 81, 102, 0.1);
  border: 4px solid transparent;
  border-radius: 10px;
}

#intents .intent {
  margin: 0;
  font-size: 1em;
  font-weight: bold;
}
#intents .intent::before {
  content: "+";
  display: inline;
  padding-inline-end: 0.5em;
}
#intents .active .intent::before {
  content: "-";
}
#intents .conversationClickable.active {
  padding-inline: 0;
  border-bottom: none;
  padding-block-end: 0;
}
#intents .conversationClickable.active .intent {
  padding-inline: var(--conversation-clickable-padding-x);
}
#intents .conversationClickable.active .conversationClickable {
  padding-inline-start: calc(var(--conversation-clickable-padding-x) * 2);
}
#intents > div > .conversationClickable {
  flex-direction: column;
  gap: 8px;
}

#textVisual {
  width: 100%;
  padding: 8px;
}
#textVisual .flex-row {
  display: flex;
  align-items: flex-end;
}
#textVisual .grow-wrap {
  display: grid;
  flex: 1 1 100%;
  padding: 0.5rem;
}
#textVisual .grow-wrap::after {
  content: attr(data-replicated-value) " ";
  white-space: pre-wrap;
  visibility: hidden;
}
#textVisual .grow-wrap > textarea {
  resize: none;
}
#textVisual .grow-wrap > textarea, #textVisual .grow-wrap::after {
  max-height: 5.2em;
  padding: 0;
  overflow-x: hidden;
  font: inherit;
  overflow-wrap: anywhere;
  grid-area: 1/1/2/2;
}
#textVisual textarea {
  min-height: 1.3em;
  overflow-y: auto;
  background: none;
  border: none !important;
  outline: none;
  box-shadow: none;
}
#textVisual #textInputReturn {
  flex-shrink: 0;
  color: white;
  background-color: #5ABEDF;
  border: 0;
}
#textVisual .failureIndicator {
  padding: 0.5rem;
  font-size: 0.9em;
  color: #FF5252;
}

#skip {
  z-index: 13;
  margin-inline-start: auto;
  margin-block-start: auto;
  margin-inline-end: 0;
  margin-block-end: 0;
  opacity: 1;
  aspect-ratio: 1/1;
}
#skip.additionalControls {
  inset-inline-end: 20px;
  bottom: 80px;
}
@media (pointer: fine) {
  #skip {
    opacity: 0;
  }
  #conversation:hover #skip {
    opacity: 1;
  }
}

#buttonOverlayBottom {
  position: relative;
  z-index: 10;
  height: 100%;
}

#statementToolbar, #buttonOverlayBottom {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  pointer-events: none;
  gap: 8px;
  grid-area: controls;
}
@media (orientation: portrait) and (max-width: 600px) {
  #statementToolbar, #buttonOverlayBottom {
    align-items: center;
    padding-top: 0;
  }
}
#statementToolbar > *, #buttonOverlayBottom > * {
  pointer-events: initial;
}
#statementToolbar > button:not(#skip), #buttonOverlayBottom > button:not(#skip) {
  display: grid;
  height: -moz-min-content;
  height: min-content;
  padding: 8px;
  margin-inline-end: auto;
  font-size: 0.8em;
  border-radius: 9999px;
  opacity: 1;
}
#statementToolbar .switchWrapper, #buttonOverlayBottom .switchWrapper {
  display: none;
  height: -moz-min-content;
  height: min-content;
  padding: 4px;
  background-color: #F8FAFC;
  border-radius: 9999px;
}
@media (orientation: portrait) and (max-width: 600px) {
  #statementToolbar .switchWrapper, #buttonOverlayBottom .switchWrapper {
    display: block;
  }
}
#statementToolbar .switchWrapper button, #buttonOverlayBottom .switchWrapper button {
  padding: 4px 8px;
  font-size: 0.8em;
  font-weight: 600;
  cursor: pointer;
  background-color: transparent;
  border: none;
  border-radius: 9999px;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* © DialogueTrainer */
#dialogueMedia {
  width: 100%;
  height: 100%;
}
#dialogueMedia > * {
  display: block;
}
#dialogueMedia > #dialogueVideo,
#dialogueMedia > #dialogueImage {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 11;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: black;
  -o-object-fit: contain;
     object-fit: contain;
}

#overlayContainer {
  position: absolute;
  z-index: 9;
  display: grid;
  padding: 12px;
  pointer-events: none;
  inset: 0;
  grid-template-areas: "toolbar infoarea aside . rightSideControls" "toolbar infoarea content content rightSideControls" "toolbar responses responses responses rightSideControls";
  grid-template-columns: min-content minmax(auto, 300px) auto minmax(auto, 300px) min-content;
  grid-template-rows: min-content 1fr min-content;
  gap: 8px;
}
@media (orientation: portrait) {
  #overlayContainer {
    grid-template-areas: "toolbar aside aside rightSideControls" "toolbar content content rightSideControls" "responses responses responses responses" "infoarea infoarea infoarea infoarea";
    grid-template-columns: min-content minmax(auto, 300px) 1fr min-content;
    grid-template-rows: min-content 1fr min-content min-content;
  }
}
@media (orientation: portrait) and (max-width: 600px) {
  #overlayContainer {
    grid-template-areas: "toolbar aside aside rightSideControls" "toolbar content content rightSideControls" "responses responses responses responses";
    grid-template-rows: min-content 1fr min-content;
  }
}
#overlayContainer #buttonOverlayTop {
  grid-area: toolbar;
}
#overlayContainer #infoArea {
  grid-area: infoarea;
}
#overlayContainer #responses,
#overlayContainer #buttonOverlayBottom {
  grid-area: responses;
}
#overlayContainer #rightSideControls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  padding: 12px;
  padding-top: 12px;
  margin-top: -12px;
  margin-inline-end: -12px;
  grid-area: rightSideControls;
}
#overlayContainer #rightSideControls::after {
  content: "";
  position: absolute;
  inset: 0;
  top: -48px;
  inset-inline-end: -48px;
  z-index: -1;
  display: block;
  background-color: rgba(0, 0, 0, 0.15);
  border-bottom-left-radius: 24px;
  filter: blur(24px);
}
#overlayContainer #rightSideControls button.icon {
  display: grid;
  padding: 0;
  place-items: center;
}
#overlayContainer #aside {
  grid-area: aside;
}
@media (orientation: portrait) {
  #overlayContainer #computerResponse {
    grid-area: content;
  }
}
#overlayContainer #buttonOverlayTop,
#overlayContainer #buttonOverlayBottom > *,
#overlayContainer #rightSideControls,
#overlayContainer #computerResponse,
#overlayContainer #aside {
  pointer-events: initial;
}
#overlayContainer #overlay {
  grid-area: content/responses;
  position: relative;
  flex: 1 1 auto;
  pointer-events: none;
}
#overlayContainer #overlay > div {
  pointer-events: all;
}
.overlay #overlayContainer #overlay:has(#dialogueDescription:not(.hidden)), .overlay #overlayContainer #overlay:has(#dialogueSituation:not(.hidden)) {
  grid-column: infoarea/responses;
  grid-row: aside/responses;
}
@media (orientation: portrait) {
  .overlay #overlayContainer #overlay:has(#dialogueDescription:not(.hidden)), .overlay #overlayContainer #overlay:has(#dialogueSituation:not(.hidden)) {
    grid-column: content/responses;
  }
}
@media (orientation: portrait) {
  #overlayContainer #overlay:has(#dialogueDescription:not(.hidden)), #overlayContainer #overlay:has(#dialogueSituation:not(.hidden)) {
    grid-column: content;
  }
}
@media (orientation: portrait) and (max-width: 600px) {
  #overlayContainer #overlay:has(#dialogueDescription:not(.hidden)), #overlayContainer #overlay:has(#dialogueSituation:not(.hidden)) {
    grid-column: content/rightSideControls;
    grid-row: aside/responses;
  }
}

.dialogueOverlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: visible;
}
.dialogueOverlay.hidden {
  visibility: hidden;
}
.dialogueOverlay.hidden .overlayContent,
.dialogueOverlay.hidden .button.jumbo,
.dialogueOverlay.hidden .buttonContainer > span {
  transition-delay: 0.1s, 0.1s;
}
.dialogueOverlay.hidden .overlayContent,
.dialogueOverlay.hidden .buttonContainer > span {
  opacity: 0;
  transform: translate(0, 50px);
}
.dialogueOverlay.hidden .button.jumbo {
  opacity: 0;
  transform: scale(0);
}
.dialogueOverlay.row {
  flex-direction: row;
}
.dialogueOverlay.row > * {
  margin-right: 50px;
}
.dialogueOverlay.row > *:last-child {
  margin-right: 0;
}
.dialogueOverlay .overlayContent,
.dialogueOverlay .button.jumbo,
.dialogueOverlay .buttonContainer > span {
  pointer-events: all;
  opacity: 1;
  transform: translate(0, 0);
  transition: 0.5s transform ease-out, 0.3s opacity ease-in-out;
  transition-delay: 0.5s, 0.5s;
}
.dialogueOverlay .overlayContent {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.dialogueOverlay#dialogueSituation.preseved .overlayContent {
  transition-delay: 0, 0;
}
.dialogueOverlay .button.jumbo {
  transform: scale(1);
}
.dialogueOverlay .container, .dialogueOverlay .buttonContainer {
  width: 100%;
  max-width: 1024px;
  padding: 12px 0;
  transition: 0.25s opacity, 0.25s filter;
}
.dialogueOverlay .container {
  position: relative;
  padding: 0 12px;
  overflow-y: auto;
  font-size: 1.25em;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 5px 10px rgba(0, 0, 0, 0.05);
}
.dialogueOverlay .container.bigtext {
  width: auto;
  padding: 0 16px;
  font-size: 3em;
  text-align: center;
}
.dialogueOverlay .container + .button {
  margin-top: 12px;
}
.dialogueOverlay .container p:first-of-type {
  margin-top: 12px;
}
.dialogueOverlay .container p:last-of-type {
  margin-bottom: 12px;
}
.dialogueOverlay .buttonContainer {
  display: flex;
  justify-content: flex-end;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  gap: 8px;
}
@media (max-width: 1264px) {
  .dialogueOverlay .buttonContainer > button.text-collapsible {
    aspect-ratio: 1/1;
  }
}
.dialogueOverlay .container.bigtext + .buttonContainer {
  justify-content: center;
}
.dialogueOverlay .button {
  flex-shrink: 0;
  opacity: 0.9;
}
.dialogueOverlay .button.pulse {
  animation: pulse 1s linear;
  animation-fill-mode: forwards;
}
.dialogueOverlay .button svg {
  margin-inline-end: 0;
}

.overlayContent > .button.jumbo,
#dialogueEnding.dialogueOverlay > .buttonContainer {
  margin-top: -48px;
}

/* © DialogueTrainer */
#computerResponse {
  position: absolute;
  top: 30%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
}
@media (orientation: portrait) {
  #computerResponse {
    position: static;
    align-self: start;
    width: 100%;
    padding-top: 40px;
    padding-inline: 80px;
  }
}
@media screen and (max-width: 600px) {
  #computerResponse {
    padding-top: 8px;
    padding-inline: 0;
  }
}
#computerResponse > * {
  position: relative;
  max-width: 90%;
  margin: 12px;
}
@media (orientation: portrait) {
  #computerResponse > * {
    top: 0;
    left: 0 !important;
    max-width: none;
    margin: 4px;
  }
}
#computerResponse.speechBubbleTailLeft {
  right: 0;
  align-items: var(--flex-left);
}
@media (orientation: portrait) {
  #computerResponse.speechBubbleTailLeft {
    align-items: stretch !important;
  }
}
#computerResponse.speechBubbleTailLeft #computer::after {
  float: left;
  border-width: 0;
  border-top-width: 15px;
  border-right-width: 40px;
  left: -39px;
}
@media screen and (max-width: 1264px) {
  #computerResponse.speechBubbleTailLeft #computer::after {
    border-top-width: 15px;
    border-right-width: 20px;
    transform: scale(1, 1);
    left: -19px;
  }
}
@media (orientation: portrait) {
  #computerResponse.speechBubbleTailLeft #computer::after {
    top: 100%;
    transform: rotate(90deg) scale(-1, -1);
    transform-origin: 50% 50%;
    left: 10px;
  }
}
#computerResponse.speechBubbleTailLeft #computerThought::before {
  left: -20px;
}
@media screen and (max-width: 1264px) {
  #computerResponse.speechBubbleTailLeft #computerThought::before {
    left: -14px;
  }
}
#computerResponse.speechBubbleTailLeft #computerThought::after {
  left: -35px;
}
@media screen and (max-width: 1264px) {
  #computerResponse.speechBubbleTailLeft #computerThought::after {
    left: -24.5px;
  }
}
#computerResponse.speechBubbleTailRight {
  left: 0;
  align-items: var(--flex-right);
}
@media (orientation: portrait) {
  #computerResponse.speechBubbleTailRight {
    align-items: stretch !important;
  }
}
#computerResponse.speechBubbleTailRight #computer::after {
  float: right;
  border-width: 0;
  border-top-width: 15px;
  border-right-width: 40px;
  right: -39px;
  transform: scale(-1, 1);
}
@media screen and (max-width: 1264px) {
  #computerResponse.speechBubbleTailRight #computer::after {
    border-top-width: 15px;
    border-right-width: 20px;
    transform: scale(1, 1);
    right: -19px;
    transform: scale(-1, 1);
  }
}
@media (orientation: portrait) {
  #computerResponse.speechBubbleTailRight #computer::after {
    top: 100%;
    transform: rotate(90deg) scale(-1, -1);
    transform-origin: 50% 50%;
    right: 10px;
    transform: rotate(90deg) scale(-1, 1);
  }
}
#computerResponse.speechBubbleTailRight #computerThought::before {
  right: -20px;
}
@media screen and (max-width: 1264px) {
  #computerResponse.speechBubbleTailRight #computerThought::before {
    right: -14px;
  }
}
#computerResponse.speechBubbleTailRight #computerThought::after {
  right: -35px;
}
@media screen and (max-width: 1264px) {
  #computerResponse.speechBubbleTailRight #computerThought::after {
    right: -24.5px;
  }
}
@media (pointer: fine) {
  #computerResponse #computer:not(:hover) #editComputerStatement, #computerResponse #computerThought:not(:hover) #editThought {
    display: none;
  }
}
#computerResponse #computer::after {
  content: "";
  position: absolute;
  top: 25px;
  bottom: auto;
  display: block;
  width: 0;
  height: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-style: solid;
}
@media screen and (max-width: 1264px) {
  #computerResponse #computer::after {
    top: 8px;
  }
}
#computerResponse #computerThought {
  position: relative;
}
#computerResponse #computerThought::before, #computerResponse #computerThought::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
}
@media screen and (max-width: 1264px) {
  #computerResponse #computerThought::before, #computerResponse #computerThought::after {
    top: 0;
  }
}
@media (orientation: portrait) {
  #computerResponse #computerThought::before, #computerResponse #computerThought::after {
    display: none;
  }
}
#computerResponse #computerThought::after {
  width: 10px;
  height: 10px;
}
@media screen and (max-width: 1264px) {
  #computerResponse #computerThought::after {
    width: 7px;
    height: 7px;
  }
}
#computerResponse #computerThought::before {
  width: 15px;
  height: 15px;
}
@media screen and (max-width: 1264px) {
  #computerResponse #computerThought::before {
    width: 11px;
    height: 11px;
  }
}
#computerResponse #computerThought .computerStatementBalloonText {
  padding: 3px;
  background-color: transparent;
  border: 15px solid transparent;
  border-image-repeat: round;
  border-image-slice: 20% 10% fill;
  border-image-source: url("../../images/thought.svg");
}
@media screen and (max-width: 1264px) {
  #computerResponse #computerThought .computerStatementBalloonText {
    padding: 2px;
  }
}
#computerResponse .computerStatementBalloonText {
  position: relative;
  min-height: 50px;
  padding: 16px;
  border-radius: 8px;
}
@media screen and (max-width: 1264px) {
  #computerResponse .computerStatementBalloonText {
    min-height: 25px;
    padding: 5.3333333333px;
    border-radius: 5px;
  }
}
@media (orientation: portrait) {
  #computerResponse .computerStatementBalloonText {
    padding: 8px;
  }
}
#computerResponse .computerStatementBalloonText p {
  padding: 0;
  margin: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
#computer #computerResponse .computerStatementBalloonText {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
}
#computerThought #computerResponse .computerStatementBalloonText {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

/* © DialogueTrainer */
/* © DialogueTrainer */
#infoArea {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  overflow-y: auto;
  pointer-events: initial;
  gap: 4px;
}
@media (orientation: portrait) {
  #infoArea {
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 200px;
    margin-inline: auto;
    padding-block-start: 16px;
  }
}
@media (max-width: 600px), (max-height: 480px) {
  #infoArea {
    display: none;
    grid-area: initial !important;
  }
  #infoArea.open {
    position: absolute;
    z-index: 20;
    display: flex;
    max-width: 100%;
    max-height: 100%;
    padding: 20px;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.9);
    inset: 0;
    -webkit-mask-image: none !important;
            mask-image: none !important;
  }
  #infoArea.open .dialogTitle {
    display: flex;
  }
  #infoArea button.buttonClose {
    display: grid;
  }
}
#infoArea.bottomBlur {
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 40px), rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 40px), rgba(0, 0, 0, 0) 100%);
}
#infoArea > div {
  width: 100%;
}
#infoArea > div.hidden {
  display: none;
}
#infoArea .dialogTitle {
  display: none;
  align-items: center;
  width: 100%;
  margin: 0;
  margin-bottom: 8px;
  color: white;
}
@media (min-width: 600px) and (min-height: 480px) {
  #infoArea .dialogTitle {
    display: none;
  }
}
#infoArea .dialogTitle .mdi {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
}
#infoArea button#collapseQueuedElements {
  align-self: flex-end;
  padding: 4px 8px;
  margin-bottom: 8px;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  transition: opacity 0.3s ease-in-out;
}
#infoArea button#collapseQueuedElements:hover {
  opacity: 0.7;
}
@media (max-width: 600px), (max-height: 480px) {
  #infoArea button#collapseQueuedElements.hideOnMobile {
    display: none;
  }
}
@supports not (selector(:nth-child(1 of div))) {
  #infoArea button#collapseQueuedElements {
    display: none;
  }
}
#infoArea > #queueContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 600px), (max-height: 480px) {
  #infoArea > #queueContainer {
    overflow: auto;
  }
}
#infoArea > #queueContainer > div {
  display: flex;
  width: 100%;
  height: auto;
  overflow: hidden;
  transition: margin 0.3s, width 0.3s, height 0.3s;
  transition-timing-function: ease-in-out;
  gap: 12px;
  margin-inline: auto;
}
#infoArea > #queueContainer > div .content {
  background: transparent;
}
#infoArea > #queueContainer > div.hidden {
  display: none;
}
#infoArea > #queueContainer > div img {
  height: auto;
  opacity: 1;
  transition: opacity 0.3s, height 0.3s;
  transition-timing-function: ease-in-out;
}
#infoArea > #queueContainer > div:nth-child(1) {
  z-index: 4;
}
#infoArea > #queueContainer > div:nth-child(2) {
  z-index: 3;
}
#infoArea > #queueContainer > div:nth-child(3) {
  z-index: 2;
}
#infoArea > #queueContainer > div:nth-child(4) {
  z-index: 1;
}
#infoArea > #queueContainer > div:nth-child(5) {
  z-index: 0;
}
@supports selector(:nth-child(1 of div)) {
  @media (min-width: 600px) and (min-height: 480px) {
    #infoArea > #queueContainer.collapsed .content {
      /* stylelint-disable property-no-vendor-prefix, value-no-vendor-prefix */
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      -webkit-line-clamp: 3;
      text-overflow: ellipsis;
      /* stylelint-enable */
      height: 60px;
      cursor: pointer;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(n+6) {
      height: 0;
      visibility: hidden;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(1 of :not(.hidden)) {
      width: calc(100% - 0px);
    }
    #infoArea > #queueContainer.collapsed > :nth-child(1 of :not(.hidden)) img {
      height: 0;
      opacity: 0;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(2 of :not(.hidden)) {
      width: calc(100% - 10px);
      margin-top: -56px;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(2 of :not(.hidden)) img {
      height: 0;
      opacity: 0;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(3 of :not(.hidden)) {
      width: calc(100% - 20px);
      margin-top: -56px;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(3 of :not(.hidden)) img {
      height: 0;
      opacity: 0;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(4 of :not(.hidden)) {
      width: calc(100% - 30px);
      margin-top: -56px;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(4 of :not(.hidden)) img {
      height: 0;
      opacity: 0;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(5 of :not(.hidden)) {
      width: calc(100% - 40px);
      margin-top: -56px;
    }
    #infoArea > #queueContainer.collapsed > :nth-child(5 of :not(.hidden)) img {
      height: 0;
      opacity: 0;
    }
  }
}
#infoArea > div > div {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  max-width: 100%;
  font-size: 0.9em;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease-in-out;
}
#infoArea > div > div div.icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  align-self: center;
  padding: 12px;
  border-radius: 100%;
}
@media screen and (max-width: 1264px) {
  #infoArea > div > div div.icon {
    padding: 5px;
  }
}
#infoArea > div > div div.icon svg {
  width: 32px;
  height: 32px;
}
@media screen and (max-width: 1264px) {
  #infoArea > div > div div.icon svg {
    width: 16px;
    height: 16px;
  }
}
#infoArea > div > div .content {
  z-index: 1;
  flex: 1 1 auto;
}
#infoArea > div > div h1 {
  margin-bottom: 0.25em;
}
#infoArea > div > div p:not(:first-child) {
  margin-top: 0.25em;
}
#infoArea > div > div .icon.elementType {
  height: 100%;
  padding: 16px;
  border-radius: 0;
}
#infoArea > div > div .content {
  margin-block: 8px;
}
#infoArea > div > div button.icon {
  display: grid;
  margin-block: 8px;
  margin-inline-end: 8px;
  width: 32px;
  height: 32px;
  color: white;
  cursor: pointer;
  background-color: #334155;
  border-radius: 9999px;
  opacity: 0;
  place-items: center;
}
@media (pointer: coarse) {
  #infoArea > div > div button.icon {
    opacity: 1;
  }
}
#infoArea > div > div:hover button.icon {
  opacity: 1;
}

#aside {
  justify-self: center;
  max-width: 400px;
}
@media (orientation: portrait) and (max-width: 600px) {
  #aside {
    top: unset;
    grid-area: computer;
  }
  #aside img {
    max-height: 120px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  #aside img {
    display: none;
  }
}
#aside .content {
  padding: 8px;
  border-radius: 8px;
}
#aside .content:empty {
  display: none;
}

/* © DialogueTrainer */
#speechVisual {
  position: relative;
  margin-inline: 16px;
  margin-block-end: 8px;
  grid-area: speechVisual;
}
#speechVisual > * {
  pointer-events: all;
}
@media (orientation: portrait) and (max-width: 600px) {
  #speechVisual {
    margin-block-end: 0;
  }
}
#speechVisual.absolute .speechResult {
  text-align: center;
}
@media (min-width: 600px) and (min-height: 480px) {
  #speechVisual {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
  }
}
#speechVisual .mic {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 100%;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
  transition: 0.25s box-shadow ease-in-out, 0.2s top ease;
}
#speechVisual .mic.withClaire {
  color: white;
}
#speechVisual .mic .claire {
  position: absolute;
  overflow: hidden;
  color: white;
  background: radial-gradient(rgb(21, 31, 57), rgb(57, 79, 143), rgb(56, 178, 222));
  border-radius: 100%;
  transition: filter 3ms ease-in-out;
  inset: 0;
}
#speechVisual .mic .claire:hover {
  filter: brightness(0.7);
}
#speechVisual .mic .claire svg {
  position: absolute;
  inset: 0;
  transform: scale(2);
}
#speechVisual .mic .claire svg path {
  mix-blend-mode: screen;
}
#speechVisual .mic .claire svg path:nth-child(1) {
  fill: #5ABEDF;
}
#speechVisual .mic .claire svg path:nth-child(2) {
  fill: #F79420;
}
#speechVisual .mic .claire svg path:nth-child(3) {
  fill: #2D7BBF;
}
#speechVisual .mic .claire svg path:nth-child(4) {
  fill: #F15A24;
}
#speechVisual .mic .claire .recordingGlow {
  position: absolute;
  inset: 0;
  mix-blend-mode: overlay;
  -webkit-backdrop-filter: blur(5px) brightness(1.5);
          backdrop-filter: blur(5px) brightness(1.5);
  opacity: 0;
}
#speechVisual .mic .micicon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  transition: 0.15s opacity ease;
}
#speechVisual .mic .recordStopButton {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  opacity: 0;
  transition: 0.25s border-radius ease-in-out, 0.1s opacity ease, 0.1s background-color ease;
}
@media (max-width: 600px) and (orientation: portrait), (max-height: 600px) and (orientation: landscape) {
  #speechVisual .mic {
    margin-top: -20px;
    transform: scale(0.7);
  }
}
#speechVisual .mic:hover, #speechVisual .mic:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
}
#speechVisual .mic:hover .micicon, #speechVisual .mic:active .micicon {
  opacity: 0;
}
#speechVisual .mic:hover .recordStopButton, #speechVisual .mic:active .recordStopButton {
  opacity: 1;
}
#speechVisual .mic.on:hover .micicon, #speechVisual .mic.on:active .micicon {
  opacity: 0;
}
#speechVisual .mic.on:hover .recordStopButton, #speechVisual .mic.on:active .recordStopButton {
  opacity: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.05);
}
#speechVisual .mic.on .recordStopButton {
  border-radius: 0;
}
#speechVisual .mic.disabled {
  pointer-events: none;
}
#speechVisual .mic.disabled .micicon {
  opacity: 0.25;
}
#speechVisual.highlight .mic {
  animation: 2s glow-mic linear infinite;
}
@keyframes glow-mic {
  0% {
    box-shadow: 0 0 5px #2eb1f0;
  }
  50% {
    box-shadow: 0 0 25px #2eb1f0;
  }
  100% {
    box-shadow: 0 0 5px #2eb1f0;
  }
}
#speechVisual.notRecognized .mic.withClaire .claire {
  background: none;
  animation: pulse-negative 1s linear;
  animation-fill-mode: forwards;
}
#speechVisual .bg {
  height: 100%;
  border-radius: 100%;
  transform: scale(0);
}

/* © DialogueTrainer */
#conversation .playerSuggestionButton {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  aspect-ratio: 1/1;
}
#conversation .playerSuggestionButton .mdi {
  height: 24px;
  line-height: 24px;
}

@media (pointer: fine) {
  .answerOptions .box:hover #suggestNewResponse {
    opacity: 1;
  }
}
#suggestNewResponse {
  position: absolute;
  inset-inline-end: -20px;
  bottom: -20px;
  display: grid;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  background-color: #1E293B;
  border-radius: 9999px;
  place-items: center;
  opacity: 1;
}
#suggestNewResponse.hidden {
  display: none;
}
@media (pointer: fine) {
  #suggestNewResponse {
    opacity: 0;
  }
}

#suggestionDialog label {
  display: block;
  margin: 5px 0;
  font-size: 11pt;
  font-weight: 600;
}
#suggestionDialog label:not(:first-child) {
  margin-top: 10px;
}
#suggestionDialog .description, #suggestionDialog .legalStatement {
  font-size: 0.8em;
  font-weight: normal;
}
#suggestionDialog .description:empty, #suggestionDialog .legalStatement:empty {
  display: none;
}
#suggestionDialog #suggestionText:-moz-read-only {
  cursor: pointer;
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.05);
  opacity: 1;
  box-shadow: none;
  resize: none;
}
#suggestionDialog #suggestionText:read-only {
  cursor: pointer;
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.05);
  opacity: 1;
  box-shadow: none;
  resize: none;
}
#suggestionDialog #statementEditButton,
#suggestionDialog #statementRevertButton {
  margin-top: 5px;
  margin-bottom: 10px;
}
#suggestionDialog textarea {
  width: calc(100% - 4px);
  clear: both;
  resize: vertical;
}
#suggestionDialog .buttoned {
  display: flex;
  align-items: flex-start;
}
#suggestionDialog .buttoned *:first-child {
  flex: 1 1 auto;
}
#suggestionDialog .buttoned button {
  flex-shrink: 0;
}

#editComputerStatement, #editThought {
  position: absolute;
  bottom: -16px;
  z-index: 1;
  display: grid;
  padding: 4px;
  margin: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  background-color: rgba(248, 250, 252, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 9999px;
  opacity: 1;
  inset-inline-end: -16px;
}

#editSituation {
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  border: 1px solid transparent;
}

/* © DialogueTrainer */
#screenshotSettings {
  z-index: 15;
  width: 200px;
  font-size: 12pt;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin-inline-start: auto;
}
#screenshotSettings > div {
  padding: 8px 12px;
  border-top: 2px solid black;
}
#screenshotSettings > div:first-of-type {
  border-top: none;
}
#screenshotSettings > div h1 {
  margin: 0;
  font-size: 0.9em;
  font-weight: 500;
}
#screenshotSettings > div div {
  padding-top: 4px;
}
#screenshotSettings .elementVisibility svg {
  width: 180px;
  margin-left: -2px;
  border: 2px solid black;
  border-radius: 4px;
  box-sizing: content-box;
}
#screenshotSettings .elementVisibility svg > g {
  stroke-width: 2;
}
#screenshotSettings .elementVisibility svg > g[data-element], #screenshotSettings .elementVisibility svg > g#advancedElements {
  stroke-dasharray: 5, 5;
  cursor: pointer;
}
#screenshotSettings .elementVisibility svg > g[data-element].highlight, #screenshotSettings .elementVisibility svg > g#advancedElements.highlight {
  stroke-dasharray: none;
}
#screenshotSettings .elementVisibility svg > g#advancedElements {
  stroke-dasharray: 2, 2;
}
#screenshotSettings .fontSize label {
  font-weight: 600;
}
#screenshotSettings .buttonLeave {
  width: 100%;
}
#screenshotSettings #fontSizeTiny + label {
  font-size: 0.75em;
}
#screenshotSettings #fontSizeSmall + label {
  font-size: 1em;
}
#screenshotSettings #fontSizeMedium + label {
  font-size: 1.25em;
}
#screenshotSettings #fontSizeLarge + label {
  font-size: 1.5em;
}

#conversation.hideAdvancedFeatures #editComputerStatement,
#conversation.hideAdvancedFeatures #editSituation,
#conversation.hideAdvancedFeatures #editThought,
#conversation.hideAdvancedFeatures #suggestNewResponse,
#conversation.hideAdvancedFeatures #scrollTop,
#conversation.hideAdvancedFeatures #scrollBottom,
#conversation.hideAdvancedFeatures #skip,
#conversation.hideAdvancedFeatures .returnToPreviousPlayerChoice,
#conversation.hideAdvancedFeatures .playerSuggestionButton {
  display: none !important;
}

#buttonExpand {
  opacity: 0;
  transition: 1s opacity;
}
#buttonExpand:hover {
  opacity: 1;
  transition-duration: 0.15s;
}

#screenshotBranding {
  position: absolute;
  top: 1vw;
  inset-inline-start: 5vw;
  width: 15vw;
  pointer-events: none;
}

/* © DialogueTrainer */
#referenceMaterial {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  transition: left 0.5s, background-color 0.5s;
}
#referenceMaterial:not(.shown) {
  pointer-events: none;
}
#referenceMaterial > * {
  pointer-events: all;
}
#referenceMaterial .panel {
  position: absolute;
  top: 0;
  inset-inline-start: 100%;
  display: flex;
  flex-direction: column;
  width: 60%;
  height: 100%;
  transition: inset-inline-start 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
@media (orientation: portrait) {
  #referenceMaterial .panel {
    display: none;
    inset: 0;
  }
}
#referenceMaterial .panel button.buttonClose {
  display: none;
}
#referenceMaterial .panel button.buttonCollapse {
  position: absolute;
  top: 16%;
  display: grid;
  padding: 8px;
  pointer-events: none;
  cursor: pointer;
  border: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, filter 0.1s ease-in-out;
  inset-inline-end: 100%;
  border-start-start-radius: 8px;
  border-start-end-radius: 0;
  border-end-start-radius: 8px;
  border-end-end-radius: 0;
  place-items: center;
}
#referenceMaterial .panel button.buttonCollapse:hover {
  filter: brightness(0.95);
}
#referenceMaterial .panel .title, #referenceMaterial .panel .content {
  padding: 16px;
}
#referenceMaterial .panel .title {
  display: flex;
  align-items: center;
  padding-block: 12px;
  gap: 8px;
  background-color: #E2E8F0;
}
@media (orientation: portrait) {
  #referenceMaterial .panel .title {
    margin-bottom: 8px;
    color: white;
    background-color: transparent;
  }
}
#referenceMaterial .panel .title h3 {
  margin: 0;
  font-weight: 600;
}
#referenceMaterial .panel .content {
  height: 100%;
  overflow-y: auto;
}
#referenceMaterial .panel .content p:empty {
  display: none;
}
#referenceMaterial .panel .content p:first-child {
  margin-top: 0;
}
#referenceMaterial .panel .content img {
  height: auto;
  max-width: 100%;
}
#referenceMaterial.shown .panel {
  inset-inline-start: 40%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 6px 30px rgba(0, 0, 0, 0.12);
}
#referenceMaterial.shown .panel button.buttonCollapse {
  pointer-events: all;
  opacity: 1;
}
@media (orientation: portrait) {
  #referenceMaterial.shown .panel {
    display: flex;
    width: auto;
    padding: 40px;
    inset: 0;
  }
  #referenceMaterial.shown .panel .content {
    border-radius: 4px;
  }
  #referenceMaterial.shown button.buttonClose {
    display: grid;
  }
  #referenceMaterial.shown button.buttonCollapse {
    display: none;
  }
}
@media (orientation: portrait) and (max-width: 600px) {
  #referenceMaterial.shown .panel {
    padding: 20px;
  }
}
#referenceMaterial.documentOnly .content .aspect-ratio-box {
  height: 100%;
  padding-top: 0;
}

.aspect-ratio-box {
  position: relative;
  height: 0;
  padding-top: 141.4%;
  overflow: hidden;
}
.aspect-ratio-box > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}/*# sourceMappingURL=scenario-structure.css.map */
