.bubble-dic {
  display: none;
  font-size: 22px;
  --tail-pos: 29px;
  position: absolute;
  padding: 5px 0px 7px  5px;
  width: 490px;
  height: 275px;
  font-family: sans-serif;
  background: linear-gradient(#f8f6fee8, #fbf4ffd9, #f3effffc, #f6f3ffde, #f1e5ffcc);
  z-index: 2;
  background: linear-gradient(#f6f6f65c, #e4e0e67d, #dad5e882, #f3f0fc5e, #f4eaff6e);
  border-radius: 20px;
  background: url(/assets/images/hexellence.opacity.png) rgb(254, 253, 255);
  box-shadow: rgb(50 50 93 / 37%) 0px 6px 15px 3px, rgb(0 0 0 / 42%) 0px 11px 27px 1px;
  border: 3px dotted #7d7789d1;
}

.bubble-dic::before {
  content: "";
  position: absolute;
  top: -46px;
  left: var(--tail-pos);
  border-width: 24px;
  border-style: solid;
  border-color: transparent transparent #fbfafc transparent;
  filter: drop-shadow(0px -3px 2px rgba(0, 0, 0, 0.25));
}

.dictionary-render {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: all .5s ease-out;
}

.dictionary::-webkit-scrollbar {
  width: 8px;
}

.dictionary::-webkit-scrollbar-thumb {
  background: rgb(255, 113, 0);
  border-radius: 10px;
}

.dictionary::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: rgb(86, 79, 99) 0px 0px 16px 1px inset;
}

.dictionary-container .meaning-wrapper {
  padding: 5px 30px;
  color: #675b74;
  width: 95%;
  text-align: justify;
}


.dictionary-container .rtl {
  font-family: Vazir;
  direction: rtl;
}

.dictionary-container .meaning-wrapper .main {
  font-size: 0.95em;
}

.dictionary-container .meaning-wrapper .other {
  font-size: 0.9em;
}

.dictionary {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
  overflow-x: hidden;
}

.dictionary-container .wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 87%;
}

.dictionary-container .entry {
  font-family: "OpenSans Semibold";
  color: rgb(255, 0, 15);
  text-shadow: rgba(89, 0, 0, 0.78) 1px 1px 2px;
  font-size: 2.1em;
  margin: 0;
}

.dictionary-container .entry-wrapper {
  width: 99%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #ccb2ea1c url(/assets/images/grid-opacity.png);
  border-radius: 6px;
  margin-right: 5px;
}

.mobile .dictionary-container .entry-wrapper {
  background: #ccb2ea1c url(/assets/images/grid-mobile.png);
}

.dictionary-container .forms, .wizard-container .forms {
  margin: 0px;
  color: #6a616f;
  font-size: 0.85em;
  font-family: "Open Sans Regular";
}


.dictionary-container ._bracket, .wizard-container ._bracket {
  color: rgb(255 0 0);
  text-shadow: rgba(89, 0, 0, 0.78) 1px 1px 2px;
  font-size: 1em;
}


.dictionary-container .dash, .wizard-container .dash {
  color: #ff6400;
  text-shadow: rgba(89, 0, 0, 0.78) 0px 0px 1px;
  font-size: 1em;
}

.dictionary-container ._slash, .wizard-container ._slash {
  color: #574f5c;
  text-shadow: rgba(89, 0, 0, 0.78) 0px 0px 1px;
  margin: 3px;
}

.dictionary-container .entry-wrapper .text, .wizard-container .forms .text {
  cursor: pointer;
}

.dictionary-container .entry-wrapper .text:hover, .wizard-container .forms .text:hover {
  color: #7669ff;
  text-decoration: underline; 
}

.dictionary-container hr {
  border: none;
  width: 96%;
  height: 1px;
  border-width: 0;
  border-top: solid 1px #ad83ff3b;
  margin-top: 0;
}

.dictionary-container .borderline {
  opacity: 0;
  border-top: dashed 1px #ff3e0063;
  transform: translateY(-9px);
  transition: opacity 0.75s ease-out;
}

.dictionary-container .divide {
  margin: 0;
  width: 100%;
}

.dictionary-container .meaning-wrapper .divide {
  border-top: dashed 1px #ad83ff3b;
}

.setting-title {
  width: 96%;
  display: flex;
  align-items: center;
  margin: 10px 28px;
}

.setting-title h2 {
  --c: #a577ff;
  text-shadow: 0 2px 4px #40007f;
  width: fit-content;
  padding: 0 20px;
  line-height: 26px;
  color: #fff;
  background: conic-gradient(from 45deg at left ,var(--c) 25%,#0000 0) 0, conic-gradient(from -135deg at right,var(--c) 25%,#0000 0) 100%;
  background-size: 51% 100%;
  background-repeat: no-repeat;
}

.setting-title div {
  height: 1px;
  width: 100%;
  margin-left: 10px;
  background-color: #c5a3ff;
}

.pronunciation-wrapper {
  display: flex;
  width: 87%;
  font-size: 0.8em;
}

.pronunciation-wrapper .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 10px 0px;
  cursor: pointer;
  gap: 5px;
}

.pronunciation-wrapper .icon-play {
  font-size: 27px;
  text-shadow: rgba(65, 0, 0, 0.68) 0px 0px 1px;
}

 .definition-wrapper .icon-play:hover {
  color: #ff7a00;
}

.pronunciation-wrapper .us {
  color: rgb(255, 58, 0);
}

.pronunciation-wrapper .uk {
  color: rgb(0, 149, 255);
}

.pronunciation-wrapper .wrapper:hover .us {
  text-shadow: rgb(255, 0, 0) 0px 0px 2px !important;
}

.pronunciation-wrapper .wrapper:hover .uk {
  text-shadow: rgb(0, 107, 255) 0px 0px 2px !important;
}

.pronunciation-wrapper .lang {
  color: rgb(73, 45, 110);
  font-family: "OpenSans Semibold";
  text-transform: uppercase;
}

.mark-entry {
 position: absolute;
 display: none;
 top: -10px;
 font-size: 60px;
 right: 9px;
 color: #f8f2ffe3;
 z-index: 1;
 cursor: pointer;
 text-shadow: 0px 1px 3px #55487773;
}

.mark-entry.selected {
  color: #ff0000;
  text-shadow: 0px 1px 3px #554877c2;
}

.mark-entry {
  transition: all 0.2s ease;
}

.mark-entry.hide {
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
}

.dictionary .words {
  margin: 0;
  font-size: 1em;
  font-family: "OpenSans Semibold";
  text-align: left;
  direction: ltr;
  padding: 0px 10px;
  color: #7d6e91;
}

.definition-wrapper {
    text-align: left;
    width: 100%;
}

.definition-wrapper .definition {
  color: rgb(108 92 155);
  text-align: justify;
  font-family: "OpenSans Semibold";
  font-size: 1em;
  margin: 15px 10px;
}

.definition-wrapper .samples-wrapper {
    margin: 0px 10px 5px;
}

.definition-wrapper .sample {
    display: grid;
    justify-content: start;
    margin-bottom: 25px;
}

.definition-wrapper .wrapper {
    display: flex;
    margin: 5px 0px;
    width: 100%
}

.samples-wrapper .wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.definition-wrapper .sample .text {
    color: rgb(117, 94, 183);
    font-family: "Open Sans Regular";
    font-size: 0.9em;
}

.definition-wrapper .icon-play {
    display: flex;
    font-size: 30px;
    margin-right: 6px;
    color: rgb(200, 190, 222);
    cursor: pointer;
}

.definition-wrapper .sample .translation {
    color: rgb(107, 93, 147);
    font-size: 0.8em;
    font-family: Vazir;
    direction: rtl;
    text-align: right;
    margin: 0px;
}