/* Edison bulb + stretched transparent joke chip. Full line, no clipping. */

#hero a.snet-hero-badge.snet-hero-gag.snet-lampgag,
#hero .snet-hero-badge.snet-hero-gag.snet-lampgag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: max-content !important;
  max-width: min(calc(100vw - 32px), 52rem) !important;
  padding: 7px 18px 7px 8px !important;
  margin-bottom: 16px;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(255, 214, 120, 0.28) !important;
  box-shadow:
    0 0 18px rgba(255, 176, 40, 0.18),
    inset 0 0 22px rgba(255, 200, 70, 0.07) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: visible !important;
  color: #fff6d2 !important;
  -webkit-text-fill-color: #fff6d2 !important;
  text-decoration: none !important;
  transform: none !important;
}

html[data-theme="day"] #hero a.snet-hero-badge.snet-hero-gag.snet-lampgag,
html[data-theme="day"] #hero .snet-hero-badge.snet-hero-gag.snet-lampgag,
html[data-theme="day"] #hero .snet-lampgag .snet-hero-gag__text {
  color: #3a2208 !important;
  -webkit-text-fill-color: #3a2208 !important;
  border-color: rgba(196, 120, 16, 0.28) !important;
}

.snet-hero-copy .snet-lampgag {
  position: relative;
  z-index: 4;
}

#hero .snet-hero-copy {
  overflow: visible !important;
}

.snet-lamp {
  position: relative;
  width: 46px;
  height: 72px;
  flex: 0 0 46px;
  display: block;
}

.snet-lamp__aura {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 96px;
  height: 96px;
  margin: -32px 0 0 -22px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 210, 80, 0.5) 0%, rgba(255, 160, 30, 0.16) 42%, transparent 72%);
  animation: snet-lamp-breathe 2.4s ease-in-out infinite;
  z-index: 0;
}

.snet-lamp__svg {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 72px;
  display: block;
  overflow: visible;
  filter: drop-shadow(10px 0 12px rgba(255, 186, 50, 0.5));
}

.snet-lamp__bloom {
  animation: snet-lamp-breathe 2.4s ease-in-out infinite;
  transform-origin: 40px 48px;
}

.snet-lamp__filament {
  animation: snet-lamp-flicker 1.15s ease-in-out infinite;
}

.snet-hero-gag__stage {
  position: relative;
  display: block;
  overflow: visible !important;
  min-height: 1.35em;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width, height;
}

.snet-lampgag .snet-hero-gag__text {
  display: block;
  width: max-content;
  max-width: none;
  margin: 0;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
  text-shadow:
    -10px 0 14px rgba(255, 196, 70, 0.7),
    0 0 18px rgba(255, 170, 40, 0.35),
    0 1px 0 rgba(40, 20, 0, 0.25) !important;
}

.snet-lampgag .snet-hero-gag__text.is-leave {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(4px);
  pointer-events: none;
}

.snet-lampgag .snet-hero-gag__text.is-on {
  position: relative;
  opacity: 1;
  filter: blur(0);
}

html[data-theme="day"] .snet-lampgag .snet-hero-gag__text {
  text-shadow:
    -8px 0 12px rgba(255, 186, 40, 0.55),
    0 0 10px rgba(255, 220, 120, 0.7),
    0 1px 0 #fff !important;
}

@keyframes snet-lamp-flicker {
  0%, 100% { opacity: 1; stroke: #fff4b0; }
  18% { opacity: 0.72; stroke: #ffe07a; }
  32% { opacity: 1; }
  61% { opacity: 0.8; }
  73% { opacity: 1; }
}

@keyframes snet-lamp-breathe {
  0%, 100% { opacity: 0.38; transform: scale(1); }
  50% { opacity: 0.62; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .snet-lamp__filament,
  .snet-lamp__aura,
  .snet-lamp__bloom,
  .snet-hero-gag__stage {
    animation: none !important;
    transition: none !important;
  }
}
