@keyframes sn-zip {
  0% {
    opacity: 0;
    transform: translateX(-160px) skewX(-18deg);
  }
  60% {
    opacity: 1;
    transform: translateX(10px) skewX(8deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) skewX(0);
  }
}
@keyframes sn-slam {
  0% {
    opacity: 0;
    transform: translateY(-260px) scale(0.9, 1.25);
  }
  50% {
    opacity: 1;
    transform: translateY(12px) scale(1.14, 0.8);
  }
  75% {
    transform: translateY(-5px) scale(0.97, 1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes sn-squish {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(8px) scale(1.08, 0.88);
  }
  70% {
    transform: translateY(-3px) scale(0.98, 1.04);
  }
}
@keyframes sn-rise {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes sn-hang {
  0% {
    opacity: 0;
    transform: translateY(-260px) rotate(-6deg);
  }
  45% {
    opacity: 1;
    transform: translateY(0) rotate(4deg);
  }
  70% {
    transform: translateY(0) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
@keyframes sn-say-in {
  0% {
    scale: 1 0;
    opacity: 0;
  }
  55% {
    scale: 1.08 1.18;
    opacity: 1;
  }
  78% {
    scale: 1.04 0.92;
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
#full-area.super-snowman {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #c9ccff;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #021731;
}
#full-area.super-snowman section, #full-area.super-snowman section *, #full-area.super-snowman .sn-meter, #full-area.super-snowman .sn-meter * {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  box-sizing: border-box;
}
#full-area.super-snowman #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.super-snowman #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #d2d5ff;
}
#full-area.super-snowman #sn-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}
#full-area.super-snowman button {
  border: 0;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
}
#full-area.super-snowman section {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}
#full-area.super-snowman[data-state=home] .sn-home {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#full-area.super-snowman:not([data-state=home]) .sn-home {
  transition: none;
}
#full-area.super-snowman[data-state=over] .sn-over {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0.15s;
}
#full-area.super-snowman .sn-btn {
  position: relative;
  width: 300px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
  border: 4px solid #021731;
  border-radius: 16px;
  background: repeating-linear-gradient(180deg, transparent 0 26px, #7a3f25 26px 29px), #9e5636;
  box-shadow: inset 0 -8px 0 #7a3f25, inset 0 6px 0 #b96b45, 0 6px 0 #021731;
  cursor: pointer;
  transition: transform 0.12s ease;
}
#full-area.super-snowman .sn-btn span {
  position: relative;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  color: #ffffff;
  -webkit-text-stroke: 7px #021731;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #021731;
  white-space: nowrap;
}
#full-area.super-snowman .sn-btn:hover {
  transform: scale(1.04);
}
#full-area.super-snowman .sn-btn:active {
  transform: translateY(3px) scale(0.98);
}
#full-area.super-snowman .sn-btn-cap {
  position: absolute;
  left: -24px;
  top: -21px;
  width: 340px;
  height: 50px;
  background: url("/media/games/super-snowman/images/caps.webp") 0 -50px/480px 100px no-repeat;
  pointer-events: none;
}
#full-area.super-snowman .sn-btn-alt span {
  color: #ffc83a;
}
#full-area.super-snowman .sn-sign-cap, #full-area.super-snowman .sn-btn-cap, #full-area.super-snowman .sn-meter-cap {
  will-change: transform;
}
#full-area.super-snowman .sn-home {
  left: 520px;
  top: 40px;
  width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#full-area.super-snowman .sn-logo {
  position: relative;
  width: 600px;
  height: 365px;
  pointer-events: none;
}
#full-area.super-snowman .sn-logo img, #full-area.super-snowman .sn-logo .sn-logo-man {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
#full-area.super-snowman .sn-logo-man, #full-area.super-snowman .sn-logo-super {
  translate: 0 6px;
}
#full-area.super-snowman .sn-logo-man {
  clip-path: inset(-20% -10% 34.6% -10%);
}
#full-area.super-snowman .sn-logo-man img {
  transform: translateY(66%);
  transition: transform 0.16s cubic-bezier(0.3, 1.7, 0.5, 1);
}
#full-area.super-snowman .sn-logo-word {
  opacity: 0;
  transform-origin: 50% 90%;
}
#full-area.super-snowman .sn-logo-super {
  opacity: 0;
  transform-origin: 0 100%;
}
#full-area.super-snowman .sn-home-btns, #full-area.super-snowman .sn-over-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 56px;
}
#full-area.super-snowman .sn-home-btns {
  margin-top: 28px;
  opacity: 0;
}
#full-area.super-snowman .sn-home[data-intro~=word] .sn-logo-word {
  animation: sn-slam 0.42s cubic-bezier(0.35, 0.6, 0.4, 1) both;
}
#full-area.super-snowman .sn-home[data-intro~=word][data-intro~=thump] .sn-logo-word {
  animation: sn-slam 0.42s cubic-bezier(0.35, 0.6, 0.4, 1) both, sn-squish 0.3s ease-out both;
}
#full-area.super-snowman .sn-home[data-intro~=m1] .sn-logo-man img {
  transform: translateY(44%);
}
#full-area.super-snowman .sn-home[data-intro~=m2] .sn-logo-man img {
  transform: translateY(22%);
}
#full-area.super-snowman .sn-home[data-intro~=m3] .sn-logo-man img {
  transform: none;
}
#full-area.super-snowman .sn-home[data-intro~=super] .sn-logo-super {
  animation: sn-zip 0.32s cubic-bezier(0.3, 0.8, 0.4, 1) both;
}
#full-area.super-snowman .sn-home[data-intro~=btns] .sn-home-btns {
  animation: sn-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}
#full-area.super-snowman .sn-home.sn-instant .sn-logo-word, #full-area.super-snowman .sn-home.sn-instant .sn-logo-super, #full-area.super-snowman .sn-home.sn-instant .sn-home-btns {
  animation: none;
  opacity: 1;
  transform: none;
}
#full-area.super-snowman .sn-home.sn-instant .sn-logo-man img {
  transition: none;
  transform: none;
}
#full-area.super-snowman .sn-over {
  inset: 0;
  background: rgba(10, 30, 60, 0.28);
  backdrop-filter: blur(6px) saturate(0.8);
  -webkit-backdrop-filter: blur(6px) saturate(0.8);
}
#full-area.super-snowman .sn-sign {
  position: absolute;
  left: 420px;
  top: 50px;
  width: 440px;
  height: 360px;
  transform-origin: 50% 0;
  opacity: 0;
}
#full-area.super-snowman[data-state=over] .sn-sign {
  animation: sn-hang 0.6s ease-out 0.2s both;
}
#full-area.super-snowman .sn-rope {
  position: absolute;
  top: -70px;
  width: 17px;
  height: 170px;
  background: url("/media/games/super-snowman/images/rope.webp") 0 100%/17px 200px repeat-y;
  will-change: transform;
}
#full-area.super-snowman .sn-rope-l {
  left: 70px;
}
#full-area.super-snowman .sn-rope-r {
  right: 70px;
}
#full-area.super-snowman .sn-sign-board {
  position: absolute;
  left: 0;
  top: 70px;
  width: 440px;
  height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 40px 24px 18px;
  border: 5px solid #021731;
  border-radius: 16px;
  background: repeating-linear-gradient(180deg, transparent 0 84px, #7a3f25 84px 88px), #9e5636;
  box-shadow: inset 0 -12px 0 #7a3f25, inset 0 8px 0 #b96b45, 0 8px 0 rgba(2, 23, 49, 0.45);
}
#full-area.super-snowman .sn-sign-cap {
  position: absolute;
  left: -25px;
  top: -14px;
  width: 480px;
  height: 50px;
  background: url("/media/games/super-snowman/images/caps.webp") 0 0/480px 100px no-repeat;
  pointer-events: none;
}
#full-area.super-snowman .sn-sign-title {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  color: #ffc83a;
  -webkit-text-stroke: 9px #021731;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #021731;
}
#full-area.super-snowman .sn-sign-score {
  margin-top: 10px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 104px;
  line-height: 1;
  color: #ffffff;
  -webkit-text-stroke: 12px #021731;
  paint-order: stroke fill;
  text-shadow: 0 7px 0 #021731;
}
#full-area.super-snowman .sn-over-btns {
  position: absolute;
  left: 312px;
  top: 488px;
  opacity: 0;
}
#full-area.super-snowman[data-state=over] .sn-over-btns {
  animation: sn-rise 0.36s cubic-bezier(0.34, 1.45, 0.64, 1) 0.55s both;
}
#full-area.super-snowman .sn-say {
  position: absolute;
  z-index: 2;
  right: 44px;
  bottom: 92px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  rotate: -4deg;
  pointer-events: none;
}
#full-area.super-snowman .sn-say .sn-say-say {
  margin: 0 0 -6px 8px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: #ffc83a;
  -webkit-text-stroke: 9px #021731;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #021731;
  transform-origin: 50% 100%;
  animation: sn-say-in 0.45s ease-out 0.1s both;
}
#full-area.super-snowman .sn-say .sn-say-word {
  display: flex;
  align-items: baseline;
  transform-origin: 50% 100%;
}
#full-area.super-snowman .sn-say .sn-say-word i {
  display: block;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  -webkit-text-stroke: 12px #021731;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #021731;
  transform-origin: 50% 100%;
  transition: color 0.15s ease;
  animation: sn-say-in 0.45s ease-out both;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(1) {
  font-size: 56px;
  rotate: -4deg;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(2) {
  font-size: 60px;
  rotate: 2deg;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(3) {
  font-size: 64px;
  rotate: -3deg;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(4) {
  font-size: 66px;
  rotate: 2deg;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(5) {
  font-size: 70px;
  rotate: -2deg;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(6) {
  font-size: 70px;
  rotate: 7deg;
  margin-left: 2px;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(1) {
  animation-delay: 0.22s;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(2) {
  animation-delay: 0.28s;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(3) {
  animation-delay: 0.34s;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(4) {
  animation-delay: 0.4s;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(5) {
  animation-delay: 0.46s;
}
#full-area.super-snowman .sn-say .sn-say-word i:nth-child(6) {
  animation-delay: 0.52s;
}
#full-area.super-snowman .sn-say.is-loud .sn-say-word i {
  color: #ffc83a;
}
#full-area.super-snowman[data-state=play] .sn-say {
  display: flex;
}
#full-area.super-snowman[data-down="1"] .sn-say, #full-area.super-snowman[data-mp="1"] .sn-say {
  display: none;
}
#full-area.super-snowman .sn-meter {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 86px;
  width: 300px;
  padding: 30px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #9e5636;
  border: 4px solid #021731;
  border-radius: 18px;
  box-shadow: inset 0 -6px 0 #7a3f25, 0 5px 0 #021731;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
#full-area.super-snowman[data-state=home] .sn-meter, #full-area.super-snowman[data-state=play] .sn-meter {
  opacity: 1;
  visibility: visible;
}
#full-area.super-snowman[data-down="1"] .sn-meter {
  opacity: 0;
  visibility: hidden;
}
#full-area.super-snowman[data-room-intro] .sn-home {
  left: 290px;
  top: 140px;
}
#full-area.super-snowman[data-room-intro] .sn-logo {
  transform: scale(1.2);
}
#full-area.super-snowman[data-room-intro] .sn-home-btns,
#full-area.super-snowman[data-room-intro] .sn-meter {
  opacity: 0;
  visibility: hidden;
}
#full-area.super-snowman .sn-meter-cap {
  position: absolute;
  left: -24px;
  top: -17px;
  width: 340px;
  height: 50px;
  background: url("/media/games/super-snowman/images/caps.webp") 0 -50px/480px 100px no-repeat;
  pointer-events: none;
}
#full-area.super-snowman .sn-meter-track {
  position: relative;
  height: 20px;
  border: 3px solid #021731;
  border-radius: 10px;
  background: #4a2616;
  overflow: hidden;
}
#full-area.super-snowman .sn-meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #afeaeb;
}
#full-area.super-snowman .sn-meter[data-hot="1"] .sn-meter-fill {
  background: #ffc83a;
}
#full-area.super-snowman .sn-meter-gate {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 4px;
  margin-left: -2px;
  background: #ffffff;
  box-shadow: 0 0 0 2px #021731;
}
#full-area.super-snowman .sn-sens-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
#full-area.super-snowman .sn-sens-row svg {
  width: 22px;
  height: 22px;
  flex: none;
}
#full-area.super-snowman .sn-sens {
  flex: 1;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}
#full-area.super-snowman .sn-sens::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: #4a2616;
  border: 2px solid #021731;
}
#full-area.super-snowman .sn-sens::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: #ebfeff;
  border: 3px solid #021731;
}
#full-area.super-snowman .sn-sens::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: #4a2616;
  border: 2px solid #021731;
}
#full-area.super-snowman .sn-sens::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ebfeff;
  border: 3px solid #021731;
}
#full-area.super-snowman .sn-sens-value {
  min-width: 42px;
  text-align: right;
  font-weight: 700;
  font-size: 17px;
  color: #ebfeff;
}
