#magicCardButton {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 900;
  background: none;
  border: none;
  cursor: pointer;
}

#wisdomPopupOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 13000;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

#wisdomPopupFrame {
  width: 90%;
  max-width: 400px;
  height: 600px;
  border: none;
  border-radius: 12px;
  background: #fff;
}

#closeWisdomPopup {
  position: absolute;
  top: 15px;
  right: 20px;
  background-color: white;
  color: #333;
  border: none;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
}

#closeWisdomPopup:hover {
  background-color: #eee;
}
