#wordle-game .aside-card-inner {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
#wordle-game:hover .aside-card-inner {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#wordle-game.wg-in-text {
  position: relative;
  border-radius: 4px;
  margin: 30px 0;
  background: #FFFFFF;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
#wordle-game.wg-in-text .card-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 15px 0;
}
#wordle-game.wg-in-text strong.wg-title {
  margin: 0;
}
#wordle-game.wg-in-text span.wordle-help {
  margin-left: 10px;
}
#wordle-game.wg-in-text span.wordle-help i {
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 16px;
}
#wordle-game.wg-in-text .wordle-wrap {
  padding: 20px 15px;
}
#wordle-game.wg-in-text .wordle-wrap #w_rules #w_rules_close i {
  width: 24px;
  height: 24px;
}
#wordle-game.wg-in-text .wordle-wrap #w_rules #w_rules_close i > * {
  height: 16px;
  left: 11px;
}
#wordle-game.wg-in-text .wordle-wrap #w_rules * {
  font-size: 16px;
  line-height: 20px;
}
#wordle-game.wg-in-text .wordle-wrap .game-container {
  margin-bottom: 20px;
}
#wordle-game.wg-in-text .wordle-wrap .game-container #board {
  max-width: 400px;
}
#wordle-game.wg-in-text .wordle-wrap .game-container .tile {
  font-size: 1.4rem;
}
#wordle-game.wg-in-text .wordle-wrap .keyboard-container .keyboard-row + .keyboard-row {
  margin-top: 10px;
}
span.wordle-help i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  font-style: normal;
  color: #339CD3;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid #339CD3;
  border-radius: 50px;
}
span.wordle-help:hover i {
  color: #1780B8;
  border: 1px solid #1780B8;
}
#w_start {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 40px 15px 130px;
  border-radius: 4px;
  z-index: 1;
}
#w_start.hidden {
  display: none;
}
#w_start .ws-actions {
  text-align: center;
  margin-top: 25px;
}
#w_start strong {
  font-size: 30px;
  line-height: 1.15;
  text-align: center;
  cursor: default;
}
@keyframes start-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(51, 156, 211, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 20px rgba(51, 156, 211, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(51, 156, 211, 0);
  }
}
#w_start .start-animation {
  animation: start-pulse 1s ease;
}
#w_start .start-animation:hover,
#w_start .start-animation:focus {
  animation: none;
}
#w_start #w_start_btn {
  font-size: 22px;
  display: block;
  margin: 0;
  padding: 15px 40px;
}
#w_start #w_start_rules {
  color: #339CD3;
  border-bottom: 1px dashed #339CD3;
  margin-top: 15px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.15;
  display: inline-block;
  transition: all 0.3s;
}
#w_start #w_start_rules:hover,
#w_start #w_start_rules:focus {
  color: #1780B8;
  border-bottom: 1px dashed #1780B8;
}
.wordle-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 12px 16px;
  margin: 0 auto;
}
.wordle-wrap .game-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}
.wordle-wrap .game-container #board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 5 / 6;
  position: relative;
}
.wordle-wrap .game-container .tile {
  border: 2px solid #E9ECEF;
  background-color: #FFFFFF;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1.2rem;
  transition: background-color 0.3s, border-color 0.3s, transform 0.15s;
  user-select: none;
  border-radius: 4px;
}
.wordle-wrap .game-container .tile.correct {
  background-color: #339CD3;
  border-color: #339CD3;
  color: #FFFFFF;
}
.wordle-wrap .game-container .tile.present {
  background-color: #FBEDB0;
  border-color: #FBEDB0;
  color: #343A40;
}
.wordle-wrap .game-container .tile.absent {
  background-color: #868E96;
  border-color: #868E96;
  color: #FFFFFF;
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}
.wordle-wrap .game-container .pop {
  animation: pop 0.12s linear;
}
@keyframes flip {
  0% {
    transform: rotateX(0deg);
  }
  50% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}
.wordle-wrap .game-container .flip {
  animation: flip 0.5s ease;
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}
.wordle-wrap .game-container .shake {
  animation: shake 0.3s ease;
}
@keyframes win-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(51, 156, 211, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 20px rgba(51, 156, 211, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(51, 156, 211, 0);
  }
}
.wordle-wrap .game-container .win-animation {
  animation: win-pulse 1s ease infinite;
}
.wordle-wrap .keyboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 2;
}
.wordle-wrap .keyboard-container .keyboard-row {
  display: flex;
  justify-content: center;
}
.wordle-wrap .keyboard-container .keyboard-row + .keyboard-row {
  margin-top: 8px;
}
.wordle-wrap .keyboard-container .key {
  background-color: #E9ECEF;
  border: none;
  border-radius: 4px;
  height: 28px;
  min-width: 18px;
  margin: 0 2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #343A40;
  padding: 0 5px;
}
.wordle-wrap .keyboard-container .key:hover {
  filter: brightness(95%);
}
.wordle-wrap .keyboard-container .key:active {
  transform: scale(0.95);
}
.wordle-wrap .keyboard-container .key.wide {
  min-width: 30px;
}
@keyframes focus-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(51, 156, 211, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 20px rgba(51, 156, 211, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(51, 156, 211, 0);
  }
}
.wordle-wrap .keyboard-container .key.focused {
  background-color: #339CD3 !important;
  color: #FFFFFF;
  animation: focus-pulse 1s ease infinite;
}
.wordle-wrap .keyboard-container .key.focused:hover {
  animation: none;
}
.wordle-wrap .keyboard-container .key.correct {
  background-color: #339CD3 !important;
  color: #FFFFFF;
}
.wordle-wrap .keyboard-container .key.present {
  background-color: #FBEDB0 !important;
  color: #343A40;
}
.wordle-wrap .keyboard-container .key.absent {
  background-color: #868E96 !important;
  color: #FFFFFF;
}
.wordle-wrap .message-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.wordle-wrap .message-container.show {
  opacity: 1;
  pointer-events: auto;
}
.wordle-wrap #message-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  background-color: #FBEDB0;
  color: #343A40;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.wordle-wrap #message-body span {
  font-weight: 400;
}
.wordle-wrap .new-game-btn-container {
  position: relative;
  margin: 20px 0 0;
}
.wordle-wrap .new-game-btn {
  margin: 0!important;
}
.wordle-wrap #w_rules {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 15px;
  cursor: default;
  z-index: 3;
}
.wordle-wrap #w_rules #w_rules_close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}
.wordle-wrap #w_rules #w_rules_close i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  font-style: normal;
  color: #343A40;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid #343A40;
  border-radius: 2px;
  opacity: 0.6;
  background: #E3F5FF;
}
.wordle-wrap #w_rules #w_rules_close i > * {
  position: absolute;
  transform-origin: 50% 50% 0;
  background-color: #343A40;
  width: 2px;
  height: 10px;
  top: 4px;
  left: 8px;
  transition: all 0.3s;
}
.wordle-wrap #w_rules #w_rules_close i > :first-child {
  transform: rotate(-45deg) rotateY(0);
}
.wordle-wrap #w_rules #w_rules_close i > :last-child {
  transform: rotate(45deg) rotateY(0);
}
.wordle-wrap #w_rules #w_rules_close:hover i {
  opacity: 1;
  border: 1px solid #1780B8;
}
.wordle-wrap #w_rules #w_rules_close:hover i > * {
  background-color: #1780B8;
}
.wordle-wrap #w_rules * {
  font-size: 14px;
  line-height: 18px;
  color: #343A40;
}
.wordle-wrap #w_rules .w-rules-body {
  font-weight: 400;
  text-align: left;
}
.wordle-wrap #w_rules .w-rules-body ul {
  margin-top: 5px;
}
.wordle-wrap #w_rules .w-rules-body ul li {
  list-style: disc;
}
.wordle-wrap #w_rules .w-rules-body > ul {
  padding: 0 0 0 14px;
}
.wordle-wrap #w_rules .w-rules-body > ul li + li {
  margin-top: 5px;
}
.wordle-wrap #w_rules .w-rules-body > ul ul {
  padding: 0;
}
.wordle-wrap #w_rules .w-rules-body > ul ul li {
  list-style: none;
}
.wordle-wrap #w_rules .w-rules-body > ul ul li > * {
  vertical-align: middle;
}
.wordle-wrap #w_rules .w-rules-body .w-blue,
.wordle-wrap #w_rules .w-rules-body .w-yellow,
.wordle-wrap #w_rules .w-rules-body .w-grey {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid #343A40;
  margin-right: 6px;
}
.wordle-wrap #w_rules .w-rules-body .w-blue {
  background: #339CD3;
}
.wordle-wrap #w_rules .w-rules-body .w-yellow {
  background: #FBEDB0;
}
.wordle-wrap #w_rules .w-rules-body .w-grey {
  background: #868E96;
}
.wordle-wrap #w_rules .w-rules-body .w-btn-icon {
  display: inline-block;
  border-radius: 4px;
  border: 1px solid #343A40;
  background: #E9ECEF;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  color: #343A40;
  padding: 0 5px;
  font-style: normal;
}
@media (min-width: 375px) {
  #wordle-game.wg-in-text .wordle-wrap .keyboard-container .key {
    height: 34px;
    min-width: 22px;
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  #wordle-game.wg-in-text:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  #wordle-game.wg-in-text .wordle-wrap .game-container .tile {
    font-size: 1.6rem;
  }
  #wordle-game.wg-in-text .wordle-wrap .keyboard-container .key {
    height: 40px;
    min-width: 30px;
    margin: 0 4px;
    font-size: 16px;
  }
}
