.jj-tarot-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  box-sizing: border-box;
  border: 1px solid #e9e2dd;
  border-radius: 20px;
  padding: 30px;
  color: #272230;
  background: #fff;
  font:
    15px/1.7 Arial,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  box-shadow: 0 24px 100px #100c2440;
  text-align: left;
  overflow: auto;
}
.jj-tarot-dialog::backdrop {
  background: #0f1028a8;
  backdrop-filter: blur(4px);
}
.jj-tarot-dialog h2 {
  margin: 0 0 16px;
  font-size: 22px;
  color: #312038;
  letter-spacing: -0.7px;
}
.jj-tarot-dialog p {
  white-space: pre-line;
  margin: 0 0 28px;
  color: #655c69;
}
.jj-tarot-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.jj-tarot-dialog-actions button,
.jj-tarot-dialog-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 0;
  border-radius: 10px;
  background: #f1eef2;
  color: #514958;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.jj-tarot-dialog-actions .jj-tarot-confirm {
  background: #512c50;
  color: white;
}
.jj-tarot-dialog :focus-visible {
  outline: 2px solid #7b476b;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .jj-tarot-dialog {
    padding: 24px;
  }
  .jj-tarot-dialog-actions {
    justify-content: stretch;
  }
  .jj-tarot-dialog-actions .jj-tarot-confirm {
    flex: 1;
  }
}
