.lernap-word {
  display:inline;
  width:auto;
  border:0;
  background:transparent;
  color:#635bdb;
  font:inherit;
  font-weight:700;
  line-height:inherit;
  padding:0 1px;
  margin:0;
  text-decoration:underline;
  text-decoration-style:dotted;
  text-underline-offset:4px;
  cursor:pointer;
}

.lernap-vocab-overlay[hidden] {
  display:none !important;
}

.lernap-vocab-overlay {
  position:fixed;
  inset:0;
  z-index:20000;
  background:rgba(25,22,50,.35);
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.lernap-vocab-sheet {
  position:relative;
  width:100%;
  max-width:480px;
  background:#fff9f1;
  border-radius:26px 26px 0 0;
  padding:30px 24px 44px;
  box-shadow:0 -8px 35px rgba(25,22,50,.15);
}

.lernap-vocab-title {
  font-size:27px;
  font-weight:800;
  color:#24223a;
  margin-bottom:14px;
}

.lernap-vocab-meaning {
  font-size:21px;
  color:#635bdb;
  text-align:right;
  line-height:1.8;
}

.lernap-vocab-caption {
  font-size:11px;
  color:#77768a;
  margin-top:20px;
  letter-spacing:1px;
}

.lernap-vocab-close {
  position:absolute;
  top:16px;
  right:18px;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#ece9ff;
  color:#635bdb;
  font-size:26px;
  cursor:pointer;
}
