#modal[data-variant='ad-waiver'] {
  width: min(480px, calc(100% - 20px));
  background: radial-gradient(ellipse at 50% 28%, #316875, #102f45 72%);
  color: #fff0bb;
}
#modal[data-variant='ad-waiver'] .modal-chrome {
  background: transparent;
  border-bottom: 0;
}
#modal[data-variant='ad-waiver'] .modal-body {
  padding: 0 24px 20px;
}
.ad-gift {
  text-align: center;
}
.ad-gift-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  isolation: isolate;
  overflow: hidden;
}
.ad-gift-art i {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  background: repeating-conic-gradient(from 15deg, #ffe59d26 0deg 12deg, transparent 12deg 30deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(#000, transparent 72%);
  mask-image: radial-gradient(#000, transparent 72%);
  animation: ad-gift-rays 30s linear infinite;
}
.ad-gift-art > svg,
.ad-gift-art > img {
  width: 110px;
  height: 145px;
  object-fit: cover;
  border: 3px solid #f6d17a;
  border-radius: 16px;
  transform: rotate(-7deg);
  box-shadow:
    0 7px 0 #8d672c,
    0 10px 35px #040f28aa;
}
.ad-gift-art > span {
  position: absolute;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px;
  color: #604214;
  background: linear-gradient(#fff4b4, #efbd55);
  border: 2px solid #fff2b0;
  border-radius: 22px;
  font:
    20px 'Lilita One',
    sans-serif;
  box-shadow: 0 4px 0 #8b622c;
}
.ad-gift-art span img {
  width: 28px;
  height: 28px;
}
#modal .ad-gift h2 {
  color: #ffe699;
  font-size: clamp(27px, 6vw, 36px);
  margin: 14px 0 8px;
  text-shadow: 0 3px #73542f;
}
#modal .ad-gift p {
  color: #e0edf0;
  font-size: 18px;
  line-height: 1.35;
  margin: 8px 0 16px;
}
.ad-gift-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #83bac14a;
  padding: 16px 0 4px;
}
.ad-gift-price strong {
  font:
    23px 'Lilita One',
    sans-serif;
}
.ad-gift-price span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}
.ad-gift-price img {
  width: 26px;
  height: 26px;
}
.ad-gift-price b {
  color: #9beeff;
  font-size: 23px;
}
#modal .ad-gift .ad-gift-note {
  font-size: 14px;
  color: #b7d4db;
  margin: 6px 0 16px;
}
#modal .ad-gift-continue {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  overflow: hidden;
  font-size: 27px;
  border: 3px solid #fff3b7;
  background: linear-gradient(#fff2a7, #f4b936);
  color: #654312;
  box-shadow:
    0 6px 0 #93682b,
    inset 0 3px #fff8cb;
  border-radius: 20px;
}
.ad-gift-continue img {
  width: 32px;
  height: 32px;
}
.ad-gift-continue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, #fff9 48%, transparent 66%);
  transform: translateX(-130%);
  animation: ad-gift-shine 3s ease-in-out infinite;
  pointer-events: none;
}
#modal .ad-gift #recruit-error:empty {
  display: none;
}
@keyframes ad-gift-shine {
  60%,
  100% {
    transform: translateX(130%);
  }
}
@keyframes ad-gift-rays {
  to {
    transform: rotate(360deg);
  }
}
@media (max-height: 700px) {
  .ad-gift-art {
    height: 115px;
  }
  .ad-gift-art > svg,
  .ad-gift-art > img {
    width: 72px;
    height: 96px;
  }
  .ad-gift-art > span {
    bottom: 0;
    font-size: 16px;
    padding: 2px 12px;
  }
  #modal .ad-gift h2 {
    margin-top: 10px;
  }
  #modal .ad-gift p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .ad-gift-price {
    padding-top: 10px;
  }
  #modal .ad-gift-continue {
    min-height: 54px;
    font-size: 23px;
  }
}
@media (max-height: 450px) and (min-width: 600px) {
  #modal[data-variant='ad-waiver'] {
    width: min(650px, calc(100% - 24px));
  }
  .ad-gift {
    padding-left: 150px;
    position: relative;
  }
  .ad-gift-art {
    position: absolute;
    left: 0;
    top: 36px;
    width: 135px;
    height: 155px;
  }
  .ad-gift-art > svg,
  .ad-gift-art > img {
    width: 100px;
    height: 134px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ad-gift-art i,
  .ad-gift-continue::before {
    animation: none;
  }
}
#modal[data-variant='ad-waiver'] .modal-chrome {
  gap: 6px;
  padding: 8px 10px;
}
#modal[data-variant='ad-waiver'] .modal-brand {
  font-size: 12px;
  letter-spacing: 0;
}
