.santa-trigger {
  
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 9998;
  user-select: none;

}

.santa-trigger img {
  
  max-width: 80px;
  animation: nw_shake 1s infinite ease-in-out, nw_heartbeat 4s infinite;
  
}

.santa-trigger.hidden-for-days {
  
  display: none !important;

}

@keyframes nw_shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-5px); }
  50%  { transform: translateX(5px); }
  75%  { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

@keyframes nw_heartbeat {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.15); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.15); }
  70%      { transform: scale(1); }
}

.santa-popup {
  
  position: fixed;
  bottom: 100px;
  right: 10px;
  width: 280px;
  max-width: 90vw;
  background: #fff;
  border: 2px solid #d32f2f;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s;
  z-index: 9999;
  font-family: Arial, sans-serif;

}

.santa-popup.active {
  
  transform: translateY(0);
  opacity: 1;
  visibility: visible;

}

.santa-popup p {
      
  margin: 0;
  line-height: 1.5;
  color: #333;

}

.santa-close {
  
  float: right;
  cursor: pointer;
  font-weight: bold;
  color: #555;

}

.nw_branch {
		
  position: fixed;
  right: 0;
  top: -35px;
  left: 0;
  width: 100%;
  z-index: 600;
  display: block;
  height: 60px;
  background: url(/style/images/branch.png?iv=2);
  background-size: 180px;
  background-repeat: repeat;
	
}

.garland-container {
    
  position: fixed;
  top: 55px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 600;
  pointer-events: none;
  overflow: hidden;

}

.garland-rope {
    
  position: absolute;
  top: 0;
  left: -2%;
  width: 104%;
  height: 100%;

}

.garland-svg {
    
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;

}

.bulb-base {
    
  position: absolute;
  top: 11px;
  width: 6px;
  height: 3px;
  margin-left: -3px;
  background: linear-gradient(180deg, #777, #444);
  border-radius: 1px 1px 2px 2px;
  z-index: 2;

}

.bulb-stem {
    
  position: absolute;
  top: 8px;
  width: 2px;
  height: 4px;
  margin-left: -1px;
  background: #4a4a4a;
  z-index: 2;

}

.bulb {
    
  position: absolute;
  top: 14px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
  background: #2a2a2a;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.5);
  transition: background .15s, box-shadow .15s;
  z-index: 3;

}

.bulb.on.red    { background: #ff2e2e; box-shadow: 0 0 10px #ff2e2e, 0 0 16px #ff2e2e; }
.bulb.on.blue   { background: #2e9bff; box-shadow: 0 0 10px #2e9bff, 0 0 16px #2e9bff; }
.bulb.on.green  { background: #2eff5e; box-shadow: 0 0 10px #2eff5e, 0 0 16px #2eff5e; }
.bulb.on.yellow { background: #ffd92e; box-shadow: 0 0 10px #ffd92e, 0 0 16px #ffd92e; }
.bulb.on.purple { background: #c92eff; box-shadow: 0 0 10px #c92eff, 0 0 16px #c92eff; }

.plug-wrapper {
    
  position: fixed;
  top: 55px;
  right: 10px;
  z-index: 600;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;

}

.plug-row {
    
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;

}

.plug-group {
    
  display: flex;
  align-items: center;
  transition: transform .35s cubic-bezier(.25, .8, .25, 1);

}

.plug-group.pulled-out {
    
  transform: translateX(-14px);

}

.cord {
    
  width: 10px;
  height: 2px;
  background: #555;
  border-radius: 1px;

}

.plug-body {

  width: 14px;
  height: 16px;
  background: linear-gradient(180deg, #5a5a5a, #383838);
  border-radius: 3px;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1), 0 1px 2px rgba(0,0,0,.2);

}

.prong {
    
  position: absolute;
  right: -6px;
  width: 7px;
  height: 3px;
  background: linear-gradient(180deg, #b8b8b8, #888);
  border-radius: 0 2px 2px 0;

}

.prong.top    { top: 3px; }
.prong.bottom { top: 10px; }

.socket {
    
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  border: 2px solid #b0b0b0;
  border-radius: 5px;
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.1);
  z-index: 1;

}

.hole {
    
  position: absolute;
  left: 3px;
  width: 4px;
  height: 7px;
  background: #2a2a2a;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);

}

.hole.top    { top: 3px; }
.hole.bottom { top: 10px; }

.spark {
    
  position: absolute;
  left: -4px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #ffd92e, transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 5;

}

.spark.flash {
    
  animation: sparkFlash .3s ease-out;

}

@keyframes sparkFlash {
    
  0%   { opacity: 0; transform: scale(0); }
  40%  { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(2.5); }

}