/* "A few cinders sit in plain sight. Let them." */

#veil-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.stray-mark {
  position: absolute;
  width: 50px;
  height: auto;
  pointer-events: auto;
  z-index: 10001;
  cursor: pointer;
  user-select: none;
  transition: opacity 600ms ease, transform 200ms ease;
  opacity: 1;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.stray-mark.fading {
  opacity: 0;
}

.stray-mark:active {
  transform: scale(0.95);
}

#wink-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.bio-card {
  max-width: 400px;
  padding: 20px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: emberFadeIn 0.3s ease;
  font-weight: normal;
}

.bio-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.bio-card p {
  margin: 12px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.bio-card button {
  margin-top: 12px;
  padding: 8px 12px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bio-card button:hover {
  background: #666;
}

@keyframes emberFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#gift-slot img.stray-mark {
  position: static;
  display: block;
  margin: 20px auto;
}

#house-lights-slot {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

#house-lights-btn {
  padding: 0.6rem 1.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: linear-gradient(135deg, #7d9c00, #6b0f0f);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#house-lights-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.55);
}

#house-lights-btn:active {
  transform: scale(0.97);
}

#house-lights-slot.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.corner-mark {
  position: fixed;
  bottom: 25px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
  z-index: 9999;
  animation: cornerPulse 1.5s infinite;
}

@keyframes cornerPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }

  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .stray-mark {
    width: 40px;
  }

  .bio-card {
    max-width: 90%;
    padding: 16px;
  }
}
