/* 💗 y2k baddie snake 💗 */
/* babie ~ 5a101a30r8 */

#babecore-snake {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  max-width: 217px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  text-align: center;
}

#snakeCanvas {
  display: block;
  margin: 0;
  background: rgba(255, 192, 203, 0.35);
  border: 2px solid #ff66cc;
  image-rendering: pixelated;
}

#snakeScore {
  display: none;
  margin-top: 6px;
  color: #ff66cc;
  font-size: 14px;
  font-weight: bold;
}

#snakeUnlock {
  font-size: 0;
  margin-top: 7.7px;
  max-height: 389px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

#snakeUnlock::-webkit-scrollbar {
  width: 6px;
}

#snakeUnlock::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

#snakeUnlock::-webkit-scrollbar-thumb {
  background: rgba(255, 120, 220, 0.55);
  border-radius: 10px;
}

#snakeUnlock::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 120, 220, 0.75);
}

#snakeUnlock a {
  display: inline-block !important;
  margin: 0 2px 2px 0;
  vertical-align: top;
}

#snakeUnlock img {
  display: block;
  height: 38.9px;
  border-radius: 0;
  animation: treatPop 0.45s ease-out;
}

#snakeSlay {
  position: relative;
  margin-top: 7.7px;
  margin-bottom: 7.7px;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  animation: slaySlide 0.6s ease-out forwards, pinkFire 1.4s ease-in-out infinite;
}

#snakeSlay .snake-subtext {
  margin-top: 3px;
  color: #ff67e4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  filter: drop-shadow(0 0 4px #ffb3e6);
  text-shadow: none;
  animation: subtextFade 0.6s ease-out forwards;
}

.glitterburst {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  opacity: 0;
  background: var(--c);
  border-radius: 2px;
  pointer-events: none;
  transform: translateX(-50%);
  animation: glitterburstFall 1.2s ease-out forwards;
}

.baddie-snake-widget {
  position: relative;
  color: #222;
  font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

.baddie-snake-widget button {
  cursor: pointer;
}

.baddie-modal {
  position: absolute;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: flex-start;
  margin-top: 29px;
  background: rgba(255, 192, 203, 0.35);
  z-index: 9999;
}

.baddie-modal.visible {
  display: flex;
}

.baddie-modal-inner {
  max-width: 209px;
  padding: 16px 10px;
  text-align: center;
  background: rgba(255, 200, 255, 0.5);
  border: 1px solid #f88cff;
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(9, 229, 255, 0.99);
  box-sizing: border-box;
  backdrop-filter: blur(3px);
}

.baddie-modal-inner h3 {
  all: unset;
  margin: 0 0 6px;
  color: #ff3f9e;
  font-size: 13px;
  font-weight: bold;
}

.baddie-modal-inner p {
  margin: 0 0 10px;
  font-size: 12px;
}

.baddie-error {
  margin-bottom: 7px;
  min-height: 16px;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

#baddieLinkError {
  margin-bottom: -2px;
}

.baddie-input-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#baddiePlayerName,
#baddiePlayerLink {
  width: 173px;
  margin-bottom: 2px;
  padding: 6px 8px;
  text-align: center;
  font-size: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #ff9fd4;
  border-radius: 8px;
  outline: none;
}

#baddiePlayerName:focus,
#baddiePlayerLink:focus {
  border-color: #ff3f9e;
  box-shadow: 0 0 0 2px rgba(255, 143, 203, 0.4);
}

.baddie-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.baddie-modal-buttons button {
  padding: 6px 10px;
  font-size: 11px;
  color: #fff;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7ac4, #ff3f9e);
}

.baddie-modal-buttons #baddieSkipScore {
  color: #ff3f9e;
  background: #ffe3f2;
}

.baddie-modal-buttons button:hover {
  background: linear-gradient(135deg, #ff9ad8, #ff5fb3);
  filter: brightness(1.15);
}

.baddie-modal-buttons #baddieSkipScore:hover {
  background: #fff0f8;
  color: #ff1f8e;
  filter: brightness(1.1);
}

#snakeStart {
  color: #9000b0;
  font-size: 14px;
  font-weight: bold;
  text-shadow:
    0 0 4px #ff91f6,
    0 0 8px #ff91f6,
    0 0 14px #ff91f6,
    0 0 24px #ff91f6;
}

#snakeStart h1,
#snakeStart h2,
#snakeStart h3,
#snakeStart p {
  margin-top: 0;
  margin-bottom: 14.7px;
}

.snake-subtiers {
  margin-top: 14.7px;
  color: #9000b0;
  font-size: 12px;
  font-weight: 659;
  letter-spacing: 0.4px;
  line-height: 1.8;
  opacity: 0.9;
  text-transform: uppercase;
  text-shadow:
    0 0 4px #ff91f6,
    0 0 8px #ff91f6,
    0 0 14px #ff91f6,
    0 0 22px #ff91f6;
}

.snake-subtiers-extra {
  all: unset;
  display: block;
  color: #ea00ff;
  font-size: 12px;
  font-weight: 700;
  text-shadow:
    0 0 4px #ff9bf2,
    0 0 8px #ff9bf2,
    0 0 14px #ff9bf2;
}

#snakePlay {
  display: inline-block;
  margin-top: 5px;
  padding: 14px 33px;
  color: #fff;
  font-size: 20.9px;
  font-weight: 777;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 40.79px;
  cursor: pointer;
  background: linear-gradient(137deg, #ff9ad6, #ff6ec7);
  box-shadow:
    0 4px 12px rgba(255, 105, 180, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    inset 0 -3px 6px rgba(255, 0, 128, 0.25);
  text-shadow:
    0 0 7px #e57cff,
    0 0 7px #e57cff,
    0 0 14px #e57cff,
    0 0 21px #e57cff;
  transform: translateY(0);
  transition: all 0.25s ease;
}

.baddie-leaderboard-wrapper {
  padding: 8px 0;
  border-top: 0 solid #ffd0ea;
  box-sizing: border-box;
}

.baddie-leaderboard-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.baddie-leaderboard-tabs button {
  padding: 3px 8px;
  font-size: 10px;
  color: #ff3f9e;
  border: none;
  border-radius: 999px;
  background: #ffe6f4;
  text-transform: lowercase;
}

.baddie-leaderboard-tabs .active {
  color: #fff;
  background: #ff3f9e;
}

.baddie-leaderboard ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.baddie-leaderboard li {
  display: flex;
  align-items: center;
  padding: 2px 0;
  font-size: 11px;
}

.baddie-leaderboard li:hover {
  background: rgba(255, 180, 225, 0.45);
  border-radius: 6px;
}

.baddie-leaderboard .name {
  flex: 1;
  min-width: 0;
  margin-left: -10px;
  padding-left: 10px;
  color: #ff3f9e;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.baddie-leaderboard .name a {
  color: inherit !important;
}

.baddie-leaderboard .score {
  width: 40px;
  color: #444;
  text-align: right;
}

.baddie-leaderboard .date {
  width: 90px;
  color: #444;
  font-size: 10px;
  text-align: right;
}

.baddie-leaderboard.first-page[data-sort="score"] li:nth-child(1) .name {
  color: #333;
  font-weight: bold;
  overflow: visible;
  text-shadow:
    0 0 4px #ff2ecf,
    0 0 8px #ff0fbf,
    0 0 14px #ff00b3,
    0 0 22px #ff0099;
}

.baddie-leaderboard.first-page[data-sort="score"] li:nth-child(2) .name {
  color: #333;
  font-weight: bold;
  overflow: visible;
  text-shadow:
    0 0 4px #00aeff,
    0 0 8px #00ccff,
    0 0 14px #00ccff,
    0 0 22px #0066ff;
}

.baddie-leaderboard.first-page[data-sort="score"] li:nth-child(3) .name {
  color: #333;
  font-weight: bold;
  overflow: visible;
  text-shadow:
    0 0 4px #a8ff00,
    0 0 8px #a8ff00,
    0 0 14px #a8ff00,
    0 0 22px #a8ff00;
}

.baddie-badge {
  display: none;
  margin-left: 4px;
  position: relative;
}

.baddie-leaderboard.first-page .baddie-badge {
  display: inline-block;
}

.baddie-leaderboard .baddie-badge {
  filter: none !important;
  text-shadow: none !important;
}

.flag {
  position: relative;
  top: 0.8px;
}

.baddie-leaderboard-wrapper ul,
.baddie-leaderboard-wrapper ol {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.baddie-leaderboard-wrapper li {
  position: static !important;
  padding-left: 0 !important;
}

.baddie-leaderboard-wrapper li::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.baddie-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 6px;
}

.baddie-page-btn {
  padding: 4px 8px;
  font-size: 10px;
  color: #fff;
  border: none;
  border-radius: 999px;
  background: #ffb3dd;
  cursor: pointer;
}

.baddie-page-btn:hover {
  background: #ff8acb;
}

.snake-mobile-controls {
  position: relative;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  touch-action: none;
}

.snake-mobile-controls .ctrl-row {
  display: flex;
  gap: 6px;
}

.ctrl-btn {
  width: 55px;
  height: 55px;
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  border: 2px solid #ffb7e6;
  border-radius: 12px;
  background: rgba(255, 105, 180, 0.8);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
  backdrop-filter: blur(6px);
  touch-action: manipulation;
}

.ctrl-btn:active {
  background: rgba(255, 105, 180, 1);
  transform: scale(0.95);
}

.ctrl-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.page-id-1395 .entry-header {
  display: none;
}

.page-id-1395 #snakeCanvas {
  width: 200x;
  height: 200px;
}

.page-id-1395 #babecore-snake,
.page-id-1395 .baddie-snake-widget,
.page-id-1395 #snakeUnlock {
  position: static !important;
  align-items: center !important;
}

.page-id-1395 .baddie-modal {
  position: absolute !important;
  top: 254px !important;
  left: 0;
  right: 0;
  margin: 0 !important;
  justify-content: center;
  align-items: flex-start;
  z-index: 99999;
}

.page-id-1395 .baddie-snake-widget {
  display: none !important;
}

.page-id-1395 #babecore-snake {
  width: 544px;
  max-width: 354px;
  margin: 0 auto;
}

.page-id-1395 #babecore-snake .baddie-leaderboard-wrapper {
  width: 100%;
  max-width: 100%;
}

.page-id-1395 .baddie-leaderboard a {
  all: unset;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.snake-mobile-info {
  display: none;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #ff3f9e;
  text-align: center;
  opacity: 0.85;
  width: 100%;
}

@media (max-width: 768px) {
  .snake-mobile-info {
    display: block;
  }
}

@media (max-width: 768px) {
  .page-id-1395 .heart {
    display: none;
  }
}

@keyframes pinkFire {
  0% {
    text-shadow:
      0 0 4px #ff2ecf,
      0 0 8px #ff0fbf,
      0 0 14px #ff00b3,
      0 0 22px #ff0099;
  }
  50% {
    text-shadow:
      0 0 6px #1fe2ff,
      0 0 12px #ff29d4,
      0 0 20px #ff00c8,
      0 0 30px #ff00a8;
  }
  100% {
    text-shadow:
      0 0 4px #ff4e00,
      0 0 8px #ff0fbf,
      0 0 14px #ff00b3,
      0 0 22px #ff0099;
  }
}

@keyframes subtextFade {
  0% {
    opacity: 0;
    transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes treatPop {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-8deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.15) rotate(3deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes slaySlide {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glitterburstFall {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), var(--y)) rotate(180deg);
  }
}





