@font-face {
  font-family: "Pop Lilita";
  src: url("/media/games/pop-drop/fonts/LilitaOne-Regular.ttf");
  font-display: swap;
}
@keyframes pd-banner {
  0% {
    transform: translate(-50%, -50%) scale(0.4) rotate(-6deg);
    opacity: 0;
  }
  18% {
    transform: translate(-50%, -50%) scale(1.1) rotate(-3deg);
    opacity: 1;
  }
  30%, 80% {
    transform: translate(-50%, -50%) scale(1) rotate(-3deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -70%) scale(1) rotate(-3deg);
    opacity: 0;
  }
}
@keyframes pd-bump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pd-logo-in {
  0% {
    transform: rotate(-5deg) scale(0.5);
    opacity: 0;
  }
  100% {
    transform: rotate(-5deg) scale(1.35);
    opacity: 1;
  }
}
@keyframes pd-logo-breathe {
  0%, 100% {
    transform: rotate(-5deg) scale(1.35);
  }
  50% {
    transform: rotate(0deg) scale(1.3);
  }
}
@keyframes pd-rise {
  0% {
    transform: translateY(24px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes pd-hint {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.07);
  }
}
@keyframes pd-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes pd-drop {
  0% {
    transform: translateY(-60px) scale(0.9);
    opacity: 0;
  }
  70% {
    transform: translateY(6px) scale(1.01);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes pd-ticket-in {
  0% {
    transform: translateY(-80px) rotate(-8deg);
    opacity: 0;
  }
  100% {
    transform: rotate(-2deg);
    opacity: 1;
  }
}
@keyframes pd-stamp {
  0% {
    transform: rotate(14deg) scale(2.2);
    opacity: 0;
  }
  100% {
    transform: rotate(14deg) scale(1);
    opacity: 0.9;
  }
}
@keyframes pd-buttons-in {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes pd-bubble {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(-46px) scale(1);
    opacity: 0;
  }
}
@keyframes pd-wiggle {
  0%, 100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}
#full-area.pop-drop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #ffcf9e;
  color: #2b1733;
  font-family: "Pop Lilita", sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
#full-area.pop-drop, #full-area.pop-drop * {
  box-sizing: border-box;
}
#full-area.pop-drop [hidden] {
  display: none !important;
}
#full-area.pop-drop button {
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  padding: 0;
}
#full-area.pop-drop button:focus-visible {
  outline: 4px solid #4fc9a6;
  outline-offset: 4px;
}
#full-area.pop-drop h1, #full-area.pop-drop p {
  margin: 0;
}
#full-area.pop-drop #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  overflow: hidden;
}
#full-area.pop-drop #pd-canvas {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  touch-action: none;
  background: linear-gradient(#ffe3bd, #ffcf9e 65%, #4fc9a6 65%);
}
#full-area.pop-drop .pd-top {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
#full-area.pop-drop .pd-score {
  position: relative;
  width: 132px;
  height: 132px;
  margin: -6px 0 -10px -6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#full-area.pop-drop .pd-score::before, #full-area.pop-drop .pd-score::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-radius: 50%;
  border: 4px solid #2b1733;
}
#full-area.pop-drop .pd-score::before {
  inset: 4px;
  background: #ffd84d;
}
#full-area.pop-drop .pd-score::after {
  left: 10px;
  top: 10px;
  width: 112px;
  height: 112px;
  background: #e8323c;
}
#full-area.pop-drop .pd-score strong {
  position: relative;
  z-index: 1;
  font: 64px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 10px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #2b1733;
  padding-top: 4px;
}
#full-area.pop-drop .pd-score.is-bump {
  animation: pd-bump 0.35s ease-out;
}
#full-area.pop-drop .pd-meter {
  position: absolute;
  right: 40px;
  bottom: 88px;
  width: 320px;
  padding: 12px 14px;
  border-radius: 16px;
  background-color: rgba(59, 32, 70, 0.92);
  border: 4px solid #2b1733;
  box-shadow: 0 5px 0 #2b1733;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
#full-area.pop-drop .pd-meter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#full-area.pop-drop .pd-meter-row svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: #7dffd6;
}
#full-area.pop-drop .pd-meter-track {
  position: relative;
  flex: 1;
  height: 26px;
  border-radius: 13px;
  background: #22112a;
  border: 3px solid #2b1733;
  overflow: visible;
}
#full-area.pop-drop .pd-meter-track .pd-meter-clip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
#full-area.pop-drop .pd-meter-track b {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #4fc9a6 0, #b6ff7a 45%, #ffd84d 70%, #e8323c 100%);
  background-size: 294px 100%;
  transition: width 0.05s linear;
}
#full-area.pop-drop .pd-meter-track i {
  position: absolute;
  top: -9px;
  bottom: -9px;
  width: 0;
  left: 42%;
  border-left: 3px solid #fff;
  transition: left 0.15s ease-out;
}
#full-area.pop-drop .pd-meter-track i::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -8px;
  border: 6px solid transparent;
  border-top: 8px solid #fff;
}
#full-area.pop-drop[data-armed="0"] .pd-meter-track i {
  border-left-color: #8a6f8a;
}
#full-area.pop-drop[data-armed="0"] .pd-meter-track i::before {
  border-top-color: #8a6f8a;
}
#full-area.pop-drop .pd-sens {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: auto;
}
#full-area.pop-drop .pd-sens-label {
  margin-right: auto;
  font-size: 15px;
  padding-top: 2px;
  letter-spacing: 1.5px;
  color: #b99ab8;
}
#full-area.pop-drop .pd-sens-button {
  width: 34px;
  height: 32px;
  border-radius: 10px;
  background: #4fc9a6;
  border: 3px solid #2b1733;
  box-shadow: 0 4px 0 #2b1733, inset 0 -4px 0 #2e9477;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  -webkit-text-stroke: 3px #2b1733;
  paint-order: stroke fill;
  display: flex;
  align-items: center;
  justify-content: center;
}
#full-area.pop-drop .pd-sens-button:hover {
  background: #68dcb9;
}
#full-area.pop-drop .pd-sens-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2b1733, inset 0 -4px 0 #2e9477;
}
#full-area.pop-drop .pd-sens-button:disabled {
  opacity: 0.4;
  cursor: default;
}
#full-area.pop-drop .pd-sens-value {
  min-width: 56px;
  height: 32px;
  border-radius: 8px;
  background: #22112a;
  border: 3px solid #2b1733;
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  color: #7dffd6;
}
#full-area.pop-drop .pd-ready-hint {
  position: absolute;
  left: 50%;
  top: 300px;
  transform: translateX(-50%);
  font: 40px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 8px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #2b1733;
  color: #ffd84d;
  letter-spacing: 1px;
  white-space: nowrap;
  display: none;
  pointer-events: none;
  animation: pd-hint 1s ease-in-out infinite;
}
#full-area.pop-drop[data-state=ready][data-first="1"] .pd-ready-hint {
  display: block;
}
#full-area.pop-drop .pd-banner {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
#full-area.pop-drop .pd-banner.is-show {
  animation: pd-banner 1.5s ease-out forwards;
}
#full-area.pop-drop .pd-banner-title {
  font: 92px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 12px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 7px 0 #2b1733;
  color: #ffd84d;
}
#full-area.pop-drop .pd-banner-sub {
  font: 30px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 7px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #2b1733;
}
#full-area.pop-drop .pd-top, #full-area.pop-drop .pd-meter {
  transition: opacity 0.3s;
}
#full-area.pop-drop[data-state=loading] .pd-top, #full-area.pop-drop[data-state=loading] .pd-meter, #full-area.pop-drop[data-state=loading] .pd-banner, #full-area.pop-drop[data-state=intro] .pd-top, #full-area.pop-drop[data-state=intro] .pd-meter, #full-area.pop-drop[data-state=gameover] .pd-meter, #full-area.pop-drop[data-state=gameover] .pd-top {
  opacity: 0;
}
#full-area.pop-drop .pd-cherry-button {
  position: relative;
  border: 5px solid #2b1733;
  background: #e8323c;
  box-shadow: inset 0 -8px 0 #a91f2a, inset 0 4px 0 rgba(255, 255, 255, 0.3), 0 8px 0 #2b1733;
}
#full-area.pop-drop .pd-cherry-button::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 10px;
  width: 26px;
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
#full-area.pop-drop .pd-cherry-button:hover {
  background-color: #f24b54;
}
#full-area.pop-drop .pd-cherry-button:active {
  transform: translateY(6px);
  box-shadow: inset 0 -8px 0 #a91f2a, inset 0 4px 0 rgba(255, 255, 255, 0.3), 0 2px 0 #2b1733;
}
#full-area.pop-drop .pd-title {
  position: absolute;
  inset: 0 0 70px;
  display: none;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 48%, rgba(255, 241, 214, 0.75), rgba(255, 241, 214, 0) 62%);
  pointer-events: none;
}
#full-area.pop-drop[data-state=loading] .pd-title, #full-area.pop-drop[data-state=intro] .pd-title {
  display: flex;
}
#full-area.pop-drop .pd-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.84;
  transform: rotate(-5deg) scale(1.35);
  animation: pd-logo-in 0.55s cubic-bezier(0.2, 1.6, 0.4, 1) both, pd-logo-breathe 1.3s 0.55s ease-in-out infinite;
  font-weight: normal;
}
#full-area.pop-drop .pd-logo-pop {
  font: 128px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 15px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 10px 0 #2b1733;
  color: #e8323c;
  letter-spacing: 6px;
}
#full-area.pop-drop .pd-logo-drop {
  font: 112px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 14px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 9px 0 #2b1733;
  display: flex;
  align-items: center;
  color: #4fc9a6;
  letter-spacing: 3px;
}
#full-area.pop-drop .pd-logo-drop i {
  width: 54px;
  height: 70px;
  margin: -6px 4px 0;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #fff 0 5px, transparent 6px), #ffd84d;
  box-shadow: 0 0 0 7px #2b1733, 0 9px 0 7px #2b1733;
  border-radius: 50% 50% 50% 50%/38% 38% 62% 62%;
  animation: pd-wiggle 1.4s ease-in-out infinite;
}
#full-area.pop-drop .pd-logo-fizz {
  position: absolute;
  right: -34px;
  top: 4px;
  width: 50px;
  height: 90px;
}
#full-area.pop-drop .pd-logo-fizz i {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  border: 4px solid #2b1733;
  background: #fff;
  animation: pd-bubble 1.8s ease-out infinite;
}
#full-area.pop-drop .pd-logo-fizz i:nth-child(1) {
  left: 4px;
  width: 20px;
  height: 20px;
}
#full-area.pop-drop .pd-logo-fizz i:nth-child(2) {
  left: 24px;
  width: 14px;
  height: 14px;
  animation-delay: 0.6s;
}
#full-area.pop-drop .pd-logo-fizz i:nth-child(3) {
  left: 10px;
  width: 16px;
  height: 16px;
  animation-delay: 1.2s;
}
#full-area.pop-drop .pd-overlay {
  position: absolute;
  left: -1%;
  top: -1%;
  width: 102%;
  height: 102%;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 140px;
  background: rgba(43, 23, 51, 0.55);
  animation: pd-fade 0.3s ease-out both;
}
#full-area.pop-drop[data-state=gameover] .pd-gameover {
  display: flex;
}
#full-area.pop-drop .pd-ticket {
  position: relative;
  width: 430px;
  animation: pd-ticket-in 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
  filter: drop-shadow(0 12px 0 rgba(43, 23, 51, 0.35));
}
#full-area.pop-drop .pd-ticket-paper {
  padding: 26px 34px 40px;
  background: repeating-linear-gradient(transparent 0 37px, rgba(43, 23, 51, 0.07) 37px 38px), #fffaf0;
  border-top: 12px solid #e8323c;
  -webkit-mask: linear-gradient(#000, #000) top/100% calc(100% - 13px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom/22px 14px repeat-x;
  mask: linear-gradient(#000, #000) top/100% calc(100% - 13px) no-repeat, conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom/22px 14px repeat-x;
}
#full-area.pop-drop .pd-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 3px dashed rgba(43, 23, 51, 0.35);
  font-size: 24px;
  letter-spacing: 2px;
  color: #e8323c;
}
#full-area.pop-drop .pd-ticket-head span {
  font-size: 15px;
  letter-spacing: 1px;
  color: #8a6f8a;
}
#full-area.pop-drop .pd-ticket-head b {
  font-weight: normal;
  color: #2b1733;
}
#full-area.pop-drop .pd-ticket-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  font-size: 28px;
  letter-spacing: 2px;
  color: #2b1733;
}
#full-area.pop-drop .pd-ticket-row i {
  flex: 1;
  border-bottom: 4px dotted rgba(43, 23, 51, 0.4);
  transform: translateY(-6px);
}
#full-area.pop-drop .pd-ticket-row b {
  font-weight: normal;
  font-size: 64px;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
#full-area.pop-drop .pd-ticket-row + .pd-ticket-row b {
  color: #8a6f8a;
  font-size: 44px;
}
#full-area.pop-drop .pd-ticket-foot {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 3px dashed rgba(43, 23, 51, 0.35);
  text-align: center;
  font-size: 15px;
  letter-spacing: 4px;
  color: #8a6f8a;
}
#full-area.pop-drop .pd-stamp {
  position: absolute;
  right: -44px;
  bottom: 10px;
  padding: 8px 14px 3px;
  border: 5px solid #e8323c;
  border-radius: 10px;
  font-size: 44px;
  letter-spacing: 2px;
  color: #e8323c;
  background: rgba(255, 250, 240, 0.35);
  transform: rotate(14deg);
  opacity: 0.9;
  animation: pd-stamp 0.35s 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
#full-area.pop-drop[data-best="1"] .pd-stamp {
  color: #2e9477;
  border-color: #2e9477;
}
#full-area.pop-drop .pd-actions {
  display: flex;
  gap: 18px;
  margin-top: 34px;
  animation: pd-buttons-in 0.35s 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
#full-area.pop-drop .pd-button {
  height: 68px;
  padding: 4px 34px 0;
  border-radius: 34px;
  white-space: nowrap;
  font: 30px/1 "Pop Lilita", sans-serif;
  color: #fff;
  -webkit-text-stroke: 6px #2b1733;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #2b1733;
  letter-spacing: 1px;
}
#full-area.pop-drop .pd-button::after {
  display: none;
}
#full-area.pop-drop .pd-button-mint {
  border: 5px solid #2b1733;
  background: #4fc9a6;
  box-shadow: inset 0 -8px 0 #2e9477, 0 8px 0 #2b1733;
}
#full-area.pop-drop .pd-button-mint:hover {
  background-color: #68dcb9;
}
#full-area.pop-drop .pd-button-mint:active {
  transform: translateY(6px);
  box-shadow: inset 0 -8px 0 #2e9477, 0 2px 0 #2b1733;
}
#full-area.pop-drop .pd-message {
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
  max-width: 760px;
  padding: 14px 22px 10px;
  border-radius: 14px;
  background: #fff1d6;
  border: 4px solid #2b1733;
  box-shadow: 0 5px 0 #2b1733;
  font: 21px/1.2 "Pop Lilita", sans-serif;
  text-align: center;
}
