/* Shared close control. Position remains owned by each modal layout. */
body button.godlings-close.godlings-close {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  padding: 0;
  border: 1px solid #b6c8a54d;
  border-radius: 50%;
  background: #ffffff06;
  color: #d3decc;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: none;
  transition: background .15s, border-color .15s;
}
body button.godlings-close:not(.close) { position: relative; }
body button.godlings-close::before,
body button.godlings-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(45deg);
}
body button.godlings-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
body button.godlings-close.godlings-close:hover { background: #ffffff10; border-color: #b6c8a580; }
body button.godlings-close.godlings-close:focus-visible { outline: 2px solid #dfcb85; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { body button.godlings-close { transition: none; } }
