/* Seasonal treatment runs until Dec 30, 2026, managed by the holiday gate scripts. */
html[data-pawer-christmas-preview="1"] body {
  --pawer-holiday-ice: #8ce7da;
  --pawer-holiday-gold: #ffd273;
  --pawer-holiday-pine: #70e0bd;
}

html[data-pawer-christmas-preview="1"] .pawer-command-nav {
  position: relative !important;
  overflow: visible !important;
  border-bottom-color: rgba(112, 224, 189, .4) !important;
  box-shadow: 0 5px 24px rgba(0, 0, 0, .16), inset 0 -1px rgba(255, 210, 115, .09) !important;
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-nav-lights {
  position: absolute;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: -6px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 13px;
  padding: 0 10px;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-nav-lights::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 3px;
  height: 7px;
  border-top: 1px solid rgba(194, 203, 181, .42);
  border-radius: 50%;
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-bulb {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: #a7dfc0;
  box-shadow: 0 0 4px rgba(158, 239, 203, .55);
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-bulb:nth-child(3n + 2) {
  background: #e77c78;
  box-shadow: 0 0 4px rgba(231, 124, 120, .48);
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-bulb:nth-child(3n) {
  background: #f2ca75;
  box-shadow: 0 0 4px rgba(242, 202, 117, .5);
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-snow {
  position: fixed;
  z-index: 45;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

html[data-pawer-christmas-preview="1"] .pawer-holiday-flake {
  position: absolute;
  top: -8vh;
  color: rgba(235, 247, 255, .42);
  font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
  line-height: 1;
  text-shadow: 0 0 5px rgba(193, 226, 246, .22);
  animation: pawer-holiday-snowfall linear infinite;
  will-change: transform;
}

@keyframes pawer-holiday-snowfall {
  from { transform: translate3d(0, -8vh, 0) rotate(0deg); }
  to { transform: translate3d(var(--snow-drift), 108vh, 0) rotate(220deg); }
}

html[data-pawer-christmas-preview="1"] .pawer-command-brand {
  --pawer-holiday-logo-width: 164px;
  position: relative !important;
  overflow: visible !important;
  /* Every route uses the homepage logo frame. A shorter button on subpages
     previously made the hat shrink while the wordmark stayed the same size. */
  height: 67px !important;
  min-height: 67px !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}

html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav #showGameHubBrand > img {
  /* Keep the site's original PAWER CRYPTO wordmark untouched. */
  content: url("/pawer-header-crypto-clear-v2.png") !important;
  position: relative !important;
  z-index: 1 !important;
  width: 164px !important;
  height: 65px !important;
  max-height: 65px !important;
  object-fit: contain !important;
  object-position: center !important;
  /* Hide only the subtitle baked into the PNG; the original CRYPTO text
     below is still rendered by the site's existing styled span. */
  clip-path: polygon(0 0,100% 0,100% 100%,85% 100%,85% 70%,15% 70%,15% 100%,0 100%) !important;
}

html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav .pawer-command-brand::before {
  content: "" !important;
  position: absolute !important;
  z-index: 2 !important;
  /* Match the supplied example: perched just above the P's top-left corner. */
  left: 0% !important;
  top: 0% !important;
  width: 16% !important;
  height: 27px !important;
  background: url("/pawer-santa-hat-illustrated.png") center / contain no-repeat !important;
  -webkit-mask-image: radial-gradient(ellipse 18% 10% at 78% 77%, transparent 72%, #000 96%);
  mask-image: radial-gradient(ellipse 18% 10% at 78% 77%, transparent 72%, #000 96%);
  transform: rotate(-15deg) !important;
  transform-origin: 56% 72% !important;
  pointer-events: none !important;
}

html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav .pawer-command-brand::after {
  /* Bring the P's lower edge in front of the hat opening, not the whole logo. */
  content: "" !important;
  position: absolute !important;
  z-index: 3 !important;
  left: 0 !important;
  top: 50% !important;
  width: min(164px, calc(100% - 5px)) !important;
  height: 65px !important;
  background: url("/pawer-header-crypto-clear-v2.png") center / contain no-repeat !important;
  clip-path: polygon(12% 26%, 30% 26%, 30% 50%, 12% 50%);
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}


html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav #showGameHubBrand > .pawer-brand-subtitle,
html[data-pawer-christmas-preview="1"] body[data-pawer-route] .pawer-command-brand .pawer-command-wordmark {
  display: none !important;
}

html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav #showGameHubBrand > .pawer-brand-subtitle {
  display: block !important;
  left: calc(var(--pawer-holiday-logo-width) / 2) !important;
  top: calc(50% + 12px) !important;
  z-index: 4 !important;
}

@media (max-width: 600px) {
  html[data-pawer-christmas-preview="1"] .pawer-command-brand {
    --pawer-holiday-logo-width: 140px;
    height: 58px !important;
    min-height: 58px !important;
  }
  html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav .pawer-command-brand::before {
    width: 18% !important;
    height: 25px !important;
    left: 0% !important;
    top: -6% !important;
  }
  html[data-pawer-christmas-preview="1"] body[data-pawer-route] .game-switcher.pawer-command-nav #showGameHubBrand > .pawer-brand-subtitle {
    top: calc(50% + 9px) !important;
  }
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-directory-heading {
  position: relative !important;
  border-color: rgba(104, 218, 210, .32) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(228, 255, 248, .08) !important;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-hero-live-content {
  position: relative;
  z-index: 2;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-hero-live-content > span:first-child {
  color: #8ce7da !important;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-holiday-badge {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  justify-self: start !important;
  align-self: flex-start !important;
  box-sizing: border-box;
  align-items: center;
  gap: 6px;
  margin: 4px 0 7px 9px;
  transform: translateY(3px);
  padding: 5px 9px;
  vertical-align: 2px;
  border: 1px solid rgba(246, 204, 121, .4);
  border-radius: 999px;
  color: #ffe4a8;
  background: linear-gradient(110deg, rgba(111, 37, 54, .72), rgba(9, 66, 64, .78));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 4px 14px rgba(0,0,0,.18);
  font: 800 10px/1 'Segoe UI', Arial, sans-serif;
  letter-spacing: .045em;
  white-space: nowrap;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory #hubGiveaway {
  border-color: rgba(94, 199, 186, .42) !important;
  box-shadow: 0 0 0 1px rgba(246, 204, 121, .08), 0 16px 35px rgba(0,0,0,.2) !important;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 970px);
  min-height: 90px;
  margin: 16px auto 12px;
  padding: 14px clamp(16px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(98, 177, 184, .25);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 4% 100%, rgba(18, 108, 87, .14), transparent 42%),
    radial-gradient(ellipse at 97% 0%, rgba(164, 116, 53, .12), transparent 38%),
    linear-gradient(110deg, rgba(7, 26, 41, .97), rgba(7, 19, 34, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview-label {
  color: #79d9d7;
  font: 800 9px/1.2 'Segoe UI', Arial, sans-serif;
  letter-spacing: .14em;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview-copy strong {
  color: #e9f3f8;
  font: 750 13px/1.25 'Segoe UI', Arial, sans-serif;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview-copy small {
  color: #9eb6c8;
  font: 500 11px/1.3 'Segoe UI', Arial, sans-serif;
}

html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview-note {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(112, 184, 192, .2);
  border-radius: 999px;
  color: #a9c9d2;
  background: rgba(4, 17, 29, .58);
  font: 700 10px/1 'Segoe UI', Arial, sans-serif;
  white-space: nowrap;
}

@media (max-width: 640px) {
  html[data-pawer-christmas-preview="1"] .pawer-holiday-nav-lights {
    padding-inline: 6px;
  }

  html[data-pawer-christmas-preview="1"] .pawer-holiday-bulb {
    flex-basis: 4px;
    width: 4px;
    height: 4px;
  }

  html[data-pawer-christmas-preview="1"] .pawer-holiday-snow {
    opacity: .78;
  }

  html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-holiday-badge {
    margin-left: 0;
    margin-top: 8px;
    transform: translateY(2px);
  }

  html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview {
    min-height: 78px;
    gap: 10px;
    margin: 12px auto 9px;
    padding: 12px 14px;
  }

  html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory .gw-ad-preview-note {
    max-width: 92px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-pawer-christmas-preview="1"] .pawer-holiday-snow {
    display: none !important;
  }

  html[data-pawer-christmas-preview="1"] #pawerGiveawayDirectory * {
    scroll-behavior: auto !important;
  }
}
