/* Public pages and the Classic Editor share this stylesheet. */
a.gacha-button,
a.gacha-button:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  margin: 24px auto;
  padding: 14px 24px;
  color: #332000;
  background: linear-gradient(135deg, #fff1a8, #ffd24d);
  border: 2px solid #b87900;
  border-radius: 10px;
  box-shadow: 0 4px 0 #a66a00;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

a.gacha-button:hover {
  color: #332000;
  background: #ffe58a;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #a66a00;
  text-decoration: none;
}

a.gacha-button:active {
  transform: translateY(4px);
  box-shadow: none;
}

a.gacha-button:focus-visible {
  outline: 3px solid #245dcc;
  outline-offset: 5px;
}

/* Prevent navigation while editing; the toolbar remains usable. */
body.mce-content-body a.gacha-button {
  cursor: text;
}
