.giveaway-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.giveaway-modal[hidden] {
  display: none;
}

.giveaway-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.giveaway-modal__panel {
  position: relative;
  background: #fff;
  width: min(90vw, 720px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.giveaway-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.giveaway-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
}

.giveaway-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: #555;
  padding: 4px 8px;
  transition: background 0.15s, color 0.15s;
}

.giveaway-modal__close:hover,
.giveaway-modal__close:focus-visible {
  background: #f0f0f0;
  color: #111;
  outline: 2px solid #ece81a;
  outline-offset: 2px;
}

.giveaway-modal__body {
  padding: 20px;
  flex: 1;
}