@font-face {
  font-family: "Pop Lilita";
  src: url("/media/games/pot-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(-4deg) scale(0.4);
    opacity: 0;
  }
  100% {
    transform: rotate(-4deg) scale(1);
    opacity: 1;
  }
}
@keyframes pd-logo-breathe {
  0%, 100% {
    transform: rotate(-4deg) scale(1);
  }
  50% {
    transform: rotate(0deg) scale(0.96);
  }
}
@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-tv-in {
  0% {
    transform: translateY(-140px);
    opacity: 0;
  }
  55% {
    transform: translateY(10px);
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
@keyframes pd-tv-land {
  0% {
    transform: none;
  }
  30% {
    transform: scale(1.05, 0.93);
  }
  65% {
    transform: scale(0.98, 1.03);
  }
  100% {
    transform: none;
  }
}
@keyframes pd-crt-on {
  0% {
    transform: scale(0.04, 0.004);
    filter: brightness(6);
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  35% {
    transform: scale(1, 0.012);
    filter: brightness(5);
  }
  65% {
    transform: scale(1, 1.08);
    filter: brightness(1.8);
  }
  100% {
    transform: none;
    filter: none;
    opacity: 1;
  }
}
@keyframes pd-crt-flash {
  0% {
    transform: scale(0, 0.015);
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  35% {
    transform: scale(1, 0.015);
    opacity: 1;
  }
  65% {
    transform: none;
    opacity: 0.65;
  }
  100% {
    transform: none;
    opacity: 0;
  }
}
@keyframes pd-crt-flicker {
  0%, 46%, 49%, 71%, 74%, 100% {
    opacity: 1;
  }
  47% {
    opacity: 0.78;
  }
  72% {
    opacity: 0.9;
  }
}
@keyframes pd-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@keyframes pd-buttons-in {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
#full-area.pot-drop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #2fb0b3;
  color: #2b1733;
  font-family: "Pop Lilita", sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
#full-area.pot-drop, #full-area.pot-drop * {
  box-sizing: border-box;
}
#full-area.pot-drop [hidden] {
  display: none !important;
}
#full-area.pot-drop button {
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  padding: 0;
}
#full-area.pot-drop button:focus-visible {
  outline: 4px solid #4fc9a6;
  outline-offset: 4px;
}
#full-area.pot-drop h1, #full-area.pot-drop p {
  margin: 0;
}
#full-area.pot-drop #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  overflow: hidden;
}
#full-area.pot-drop #pd-canvas {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  touch-action: none;
  background: linear-gradient(#2fb0b3 80%, #f39a4c 80%);
}
#full-area.pot-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.pot-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.pot-drop .pd-score::before, #full-area.pot-drop .pd-score::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-radius: 50%;
  border: 4px solid #2b1733;
}
#full-area.pot-drop .pd-score::before {
  inset: 4px;
  background: #ffd84d;
}
#full-area.pot-drop .pd-score::after {
  left: 10px;
  top: 10px;
  width: 112px;
  height: 112px;
  background: #e8323c;
}
#full-area.pot-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.pot-drop .pd-score.is-bump {
  animation: pd-bump 0.35s ease-out;
}
#full-area.pot-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.pot-drop .pd-meter-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#full-area.pot-drop .pd-meter-row svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: #7dffd6;
}
#full-area.pot-drop .pd-meter-track {
  position: relative;
  flex: 1;
  height: 26px;
  border-radius: 13px;
  background: #22112a;
  border: 3px solid #2b1733;
  overflow: visible;
}
#full-area.pot-drop .pd-meter-track .pd-meter-clip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
#full-area.pot-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.pot-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.pot-drop .pd-meter-track i::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -8px;
  border: 6px solid transparent;
  border-top: 8px solid #fff;
}
#full-area.pot-drop[data-armed="0"] .pd-meter-track i {
  border-left-color: #8a6f8a;
}
#full-area.pot-drop[data-armed="0"] .pd-meter-track i::before {
  border-top-color: #8a6f8a;
}
#full-area.pot-drop .pd-sens {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  pointer-events: auto;
}
#full-area.pot-drop .pd-sens-label {
  margin-right: auto;
  font-size: 15px;
  padding-top: 2px;
  letter-spacing: 1.5px;
  color: #b99ab8;
}
#full-area.pot-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.pot-drop .pd-sens-button:hover {
  background: #68dcb9;
}
#full-area.pot-drop .pd-sens-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2b1733, inset 0 -4px 0 #2e9477;
}
#full-area.pot-drop .pd-sens-button:disabled {
  opacity: 0.4;
  cursor: default;
}
#full-area.pot-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.pot-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.pot-drop[data-state=ready][data-first="1"] .pd-ready-hint {
  display: block;
}
#full-area.pot-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.pot-drop .pd-banner.is-show {
  animation: pd-banner 1.5s ease-out forwards;
}
#full-area.pot-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.pot-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.pot-drop .pd-top, #full-area.pot-drop .pd-meter {
  transition: opacity 0.3s;
}
#full-area.pot-drop[data-state=loading] .pd-top, #full-area.pot-drop[data-state=loading] .pd-meter, #full-area.pot-drop[data-state=loading] .pd-banner, #full-area.pot-drop[data-state=intro] .pd-top, #full-area.pot-drop[data-state=intro] .pd-meter, #full-area.pot-drop[data-state=gameover] .pd-meter, #full-area.pot-drop[data-state=gameover] .pd-top {
  opacity: 0;
}
#full-area.pot-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.pot-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.pot-drop .pd-cherry-button:hover {
  background-color: #f24b54;
}
#full-area.pot-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.pot-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.pot-drop[data-state=loading] .pd-title, #full-area.pot-drop[data-state=intro] .pd-title {
  display: flex;
}
#full-area.pot-drop .pd-logo {
  margin: 0;
  line-height: 0;
  transform: rotate(-4deg);
  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;
  will-change: transform;
}
#full-area.pot-drop .pd-logo img {
  display: block;
  width: 640px;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(43, 23, 51, 0.3));
}
#full-area.pot-drop .pd-overlay {
  position: absolute;
  inset: -8px;
  display: none;
  background: radial-gradient(ellipse 44% 60% at 50% 50%, rgba(43, 23, 51, 0.15), rgba(43, 23, 51, 0.72));
  animation: pd-fade 0.3s ease-out both;
}
#full-area.pot-drop[data-state=gameover] .pd-gameover {
  display: block;
}
#full-area.pot-drop .pd-tvset {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 1280px;
  height: 720px;
  pointer-events: none;
  animation: pd-tv-in 0.55s cubic-bezier(0.25, 1.3, 0.45, 1) both;
}
#full-area.pot-drop .pd-tv-cabinet,
#full-area.pot-drop .pd-tv,
#full-area.pot-drop .pd-tv-remote,
#full-area.pot-drop .pd-tv-plant {
  position: absolute;
  display: block;
  background: center bottom/100% 100% no-repeat;
}
#full-area.pot-drop .pd-tv-cabinet {
  left: 394px;
  top: 380px;
  width: 492px;
  height: 150px;
  background-image: url("/media/games/pot-drop/room/tv-cabinet.png");
  filter: drop-shadow(0 9px 0 rgba(43, 23, 51, 0.3));
}
#full-area.pot-drop .pd-tv {
  left: 464px;
  top: 30px;
  width: 352px;
  height: 364px;
  background-image: url("/media/games/pot-drop/room/tv.png");
  transform-origin: 50% 100%;
  animation: pd-tv-land 0.45s 0.3s ease-out both;
}
#full-area.pot-drop .pd-tv-remote {
  left: 406px;
  top: 353px;
  width: 62px;
  height: 47px;
  background-image: url("/media/games/pot-drop/room/remote.png");
  transform: rotate(-8deg);
}
#full-area.pot-drop .pd-tv-plant {
  left: 819px;
  top: 299px;
  width: 62px;
  height: 99px;
  background-image: url("/media/games/pot-drop/plants/plant-10.png");
  background-size: contain;
}
#full-area.pot-drop .pd-tv-screen {
  position: absolute;
  left: 6.2%;
  top: 38.1%;
  width: 73.9%;
  height: 55.9%;
  border-radius: 21px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #1f6f6c, #0e3a3b 58%, #061a1c);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.65);
}
#full-area.pot-drop .pd-tv-screen::before, #full-area.pot-drop .pd-tv-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#full-area.pot-drop .pd-tv-screen::before {
  z-index: 2;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%), repeating-linear-gradient(rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 4px);
}
#full-area.pot-drop .pd-tv-screen::after {
  z-index: 3;
  background: #eafff9;
  opacity: 0;
  animation: pd-crt-flash 0.55s 0.7s ease-out both;
}
#full-area.pot-drop .pd-tv-picture {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  animation: pd-crt-on 0.5s 0.7s ease-out both, pd-crt-flicker 4s 1.6s infinite;
}
#full-area.pot-drop .pd-tv-picture b {
  font: inherit;
  color: inherit;
}
#full-area.pot-drop .pd-tv-title,
#full-area.pot-drop .pd-tv-label,
#full-area.pot-drop .pd-tv-score,
#full-area.pot-drop .pd-tv-best {
  margin: 0;
  font-family: "Pop Lilita", sans-serif;
  font-weight: normal;
  line-height: 1;
  white-space: nowrap;
}
#full-area.pot-drop .pd-tv-title {
  font-size: 35px;
  letter-spacing: 1px;
  color: #ff7aa8;
  text-shadow: 0 0 12px rgba(255, 122, 168, 0.85), 0 3px 0 rgba(0, 0, 0, 0.45);
}
#full-area.pot-drop .pd-tv-label {
  margin-top: 11px;
  font-size: 15px;
  letter-spacing: 4px;
  color: #7dffd6;
  opacity: 0.8;
}
#full-area.pot-drop .pd-tv-score {
  font-size: 81px;
  line-height: 0.92;
  color: #f4fffb;
  text-shadow: 0 0 16px rgba(160, 255, 230, 0.85), 0 4px 0 rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}
#full-area.pot-drop .pd-tv-best {
  margin-top: 7px;
  font-size: 19px;
  letter-spacing: 2px;
  color: rgba(234, 255, 249, 0.75);
}
#full-area.pot-drop .pd-tv-best b {
  color: #ffd84d;
}
#full-area.pot-drop[data-best="1"] .pd-tv-title {
  color: #ffd84d;
  text-shadow: 0 0 14px rgba(255, 216, 77, 0.9), 0 3px 0 rgba(0, 0, 0, 0.45);
  animation: pd-blink 0.9s 1.4s ease-in-out infinite;
}
#full-area.pot-drop .pd-actions {
  position: absolute;
  left: 8px;
  top: 562px;
  width: 1280px;
  display: flex;
  justify-content: center;
  gap: 28px;
  animation: pd-buttons-in 0.35s 0.95s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
#full-area.pot-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.pot-drop .pd-button::after {
  display: none;
}
#full-area.pot-drop .pd-button-mint {
  border: 5px solid #2b1733;
  background: #4fc9a6;
  box-shadow: inset 0 -8px 0 #2e9477, 0 8px 0 #2b1733;
}
#full-area.pot-drop .pd-button-mint:hover {
  background-color: #68dcb9;
}
#full-area.pot-drop .pd-button-mint:active {
  transform: translateY(6px);
  box-shadow: inset 0 -8px 0 #2e9477, 0 2px 0 #2b1733;
}
#full-area.pot-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;
}
