/* Light Up A Life — drop-in stylesheet (tokens + kit). Generated from the design system. */
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
body {
  margin: 0;
}
:root {
  --lual-red: #bc2d29;
  --lual-red-dark: #86241f;
  --lual-red-deep: #5e1714;
  --lual-gold: #f2b544;
  --lual-gold-soft: #fde9b8;
  --lual-flame: #ffc93d;
  --lual-flame-core: #fff6d1;
  --lual-ember: #ff7b1c;
  --lual-night: #0d1838;
  --lual-light-white: #ffffff;
  --lual-night-2: #1b2b5e;
  --lual-on-night: #f7f1e6;
  --lual-on-night-muted: #b9c1dc;
  --lual-pine: #1f5040;
  --lual-pine-light: #2f6d55;
  --lual-pine-dark: #123327;
  --lual-ink: #1b1a1a;
  --lual-muted: #5c5a58;
  --lual-paper: #fbf7f2;
  --lual-surface: #ffffff;
  --lual-line: #e8e0d6;
  --lual-candle-red: #c23b30;
  --lual-candle-cream: #f1dfbd;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-card:
    0 1px 2px rgba(27, 26, 26, 0.06), 0 6px 18px rgba(27, 26, 26, 0.06);
  --shadow-lift:
    0 4px 10px rgba(27, 26, 26, 0.08), 0 18px 40px rgba(27, 26, 26, 0.12);
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
}

.lual,
.lual *,
.lual *::before,
.lual *::after {
  box-sizing: border-box;
}
.lual {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--lual-ink);
  -webkit-font-smoothing: antialiased;
}
.lual h1,
.lual h2,
.lual h3,
.lual p {
  margin: 0;
}
.lual h1,
.lual h2,
.lual h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
}
.lual a {
  color: inherit;
}
.lual :focus-visible {
  outline: 3px solid var(--lual-gold);
  outline-offset: 2px;
}
.lual-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Night sky ---------- */
.lual-sky {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--lual-night);
  color: var(--lual-on-night);
  background-size: cover;
  background-image: url("../../images/lual/bgv2.png");
  background-position: center;
}
.lual-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      65% 70% at 72% 32%,
      rgba(242, 181, 68, 0.2),
      transparent 70%
    ),
    radial-gradient(130% 55% at 50% 100%, var(--lual-night-2), transparent 70%);
}
.lual-sky::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: var(--lual-night);
  opacity: 0.5;
}
/* Lights twinkling in the sky (replaces snow) */
.lual-skylights {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* background: url(./bg_sky.png); */
}
.lual-skylights i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--z);
  height: var(--z);
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 6px 1px var(--c);
  animation: lual-sky var(--t, 4s) ease-in-out var(--d, 0s) infinite;
}
.lual-skylights i.is-glint {
  border-radius: 0;
  box-shadow: none;
  background: radial-gradient(circle, var(--c) 0 10%, transparent 34%);
}
.lual-skylights i.is-glint::before,
.lual-skylights i.is-glint::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
}
.lual-skylights i.is-glint::after {
  transform: rotate(90deg);
}
@keyframes lual-sky {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.55);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.page-sponsor-a-light .post_banner.lual-sponsor-banner {
  min-height: 376px;
  height: 376px;
  background: url("../../images/lual/bgv2.png") !important;
  background-size: cover !important;
}

/* ---------- Tree + star ---------- */
.lual-tree {
  position: relative;
  width: min(74vw, 340px);
  aspect-ratio: 400 / 500;
  margin-inline: auto;
}
.lual-tree svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lual-tree-star {
  transform-box: fill-box;
  transform-origin: center;
}
.lual-tree .t-pine {
  fill: var(--lual-pine);
}
.lual-tree .t-hi {
  fill: var(--lual-pine-light);
}
.lual-tree .t-lo {
  fill: var(--lual-pine-dark);
  opacity: 0.75;
}
.lual-tree .t-trunk {
  fill: #3d2418;
}
.lual-tree .t-photo {
  filter: brightness(0.9) drop-shadow(0 0 18px rgba(242, 181, 68, 0.12));
}
/* Tree lights: glints with light shafts that flare and fade, turning slightly as they shine */
.lual-bulb {
  fill: var(--c, var(--lual-flame));
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-twinkle var(--t, 2.6s) ease-in-out var(--d, 0s) infinite;
}
.lual-bulb .lual-ray.is-diag {
  opacity: 0.6;
}
@keyframes lual-twinkle {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.45) rotate(0deg);
  }
  45% {
    opacity: 1;
    transform: scale(1.1) rotate(var(--rot, 6deg));
  }
  62% {
    opacity: 0.85;
    transform: scale(0.9) rotate(var(--rot, 6deg));
  }
}
/* Candles at the foot of the tree: flames flicker independently, halos breathe */
.lual-flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: lual-flicker var(--t, 1.5s) ease-in-out var(--d, 0s) infinite
    alternate;
}
.lual-cdl-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-halo-breathe 2.8s ease-in-out infinite;
}
.lual-cdl:nth-child(3n) .lual-cdl-halo {
  animation-delay: -1.1s;
}
.lual-cdl:nth-child(3n + 1) .lual-cdl-halo {
  animation-delay: -2s;
}
@keyframes lual-flicker {
  0% {
    transform: scale(1, 1) rotate(-2deg);
  }
  30% {
    transform: scale(0.92, 1.12) rotate(2.5deg);
  }
  60% {
    transform: scale(1.05, 0.9) rotate(-1deg);
  }
  100% {
    transform: scale(0.97, 1.06) rotate(1.5deg);
  }
}
@keyframes lual-halo-breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Your light's shafts: appear on landing, then turn slowly */
.lual-mine-rays {
  fill: #fff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-arrive 0.9s ease-out calc(var(--lual-fall-delay) + 4.95s) both;
}
.lual-mine-rays .is-diag {
  opacity: 0.6;
}
.lual-mine-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation:
    lual-spin 24s linear infinite,
    lual-mine-pulse 2.6s ease-in-out calc(var(--lual-fall-delay) + 5.6s)
      infinite;
}
.lual-star {
  fill: var(--lual-gold);
  stroke: var(--lual-flame-core);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-star 4s ease-in-out infinite;
}
@keyframes lual-star {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
.lual-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-halo 4s ease-in-out infinite;
}
@keyframes lual-halo {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}
.lual-rays {
  stroke: var(--lual-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.45;
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-spin 48s linear infinite;
}
@keyframes lual-spin {
  to {
    transform: rotate(360deg);
  }
}

.lual-fall > * {
  fill: #fff;
  transform-box: view-box;
  animation: lual-fall 5s linear var(--lual-fall-delay) both;
}
.lual-fall .lual-orb-glow {
  fill: url(#lualWhite);
  animation-name: lual-fall, lual-orb-pulse;
  animation-duration: 5s, 1.2s;
  animation-timing-function: linear, ease-in-out;
  animation-delay: var(--lual-fall-delay), 0s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

.lual-fall .lual-trail {
  filter: blur(1px);
}
.lual-fall .t1 {
  animation-delay: calc(var(--lual-fall-delay) + 0.07s);
  fill-opacity: 0.2;
}
.lual-fall .t2 {
  animation-delay: calc(var(--lual-fall-delay) + 0.14s);
  fill-opacity: 0.11;
}
.lual-fall .t3 {
  animation-delay: calc(var(--lual-fall-delay) + 0.21s);
  fill-opacity: 0.05;
}
@keyframes lual-fall {
  0.00% {
    transform: translate(0px, -560px);
    opacity: 0;
  }
  1.39% {
    transform: translate(0.6px, -559.7px);
    opacity: 0.174;
  }
  2.78% {
    transform: translate(2.2px, -558.9px);
    opacity: 0.347;
  }
  4.17% {
    transform: translate(5px, -557.6px);
    opacity: 0.521;
  }
  5.56% {
    transform: translate(8.9px, -555.7px);
    opacity: 0.694;
  }
  6.94% {
    transform: translate(13.7px, -553.4px);
    opacity: 0.868;
  }
  8.33% {
    transform: translate(19.6px, -550.5px);
    opacity: 1;
  }
  9.72% {
    transform: translate(26.3px, -547px);
    opacity: 1;
  }
  11.11% {
    transform: translate(33.8px, -543.1px);
    opacity: 1;
  }
  12.50% {
    transform: translate(42px, -538.7px);
    opacity: 1;
  }
  13.89% {
    transform: translate(50.5px, -533.8px);
    opacity: 1;
  }
  15.28% {
    transform: translate(59.4px, -528.4px);
    opacity: 1;
  }
  16.67% {
    transform: translate(68.1px, -522.5px);
    opacity: 1;
  }
  18.06% {
    transform: translate(76.6px, -516.1px);
    opacity: 1;
  }
  19.44% {
    transform: translate(84.4px, -509.4px);
    opacity: 1;
  }
  20.83% {
    transform: translate(91.2px, -502.1px);
    opacity: 1;
  }
  22.22% {
    transform: translate(96.7px, -494.5px);
    opacity: 1;
  }
  23.61% {
    transform: translate(100.5px, -486.4px);
    opacity: 1;
  }
  25.00% {
    transform: translate(102.3px, -478px);
    opacity: 1;
  }
  26.39% {
    transform: translate(101.9px, -469.2px);
    opacity: 1;
  }
  27.78% {
    transform: translate(99.1px, -460px);
    opacity: 1;
  }
  29.17% {
    transform: translate(93.7px, -450.5px);
    opacity: 1;
  }
  30.56% {
    transform: translate(85.9px, -440.6px);
    opacity: 1;
  }
  31.94% {
    transform: translate(75.7px, -430.4px);
    opacity: 1;
  }
  33.33% {
    transform: translate(63.5px, -420px);
    opacity: 1;
  }
  34.72% {
    transform: translate(49.6px, -409.3px);
    opacity: 1;
  }
  36.11% {
    transform: translate(34.5px, -398.3px);
    opacity: 1;
  }
  37.50% {
    transform: translate(18.8px, -387.2px);
    opacity: 1;
  }
  38.89% {
    transform: translate(3.2px, -375.8px);
    opacity: 1;
  }
  40.28% {
    transform: translate(-11.7px, -364.2px);
    opacity: 1;
  }
  41.67% {
    transform: translate(-25.2px, -352.5px);
    opacity: 1;
  }
  43.06% {
    transform: translate(-36.9px, -340.6px);
    opacity: 1;
  }
  44.44% {
    transform: translate(-46.3px, -328.6px);
    opacity: 1;
  }
  45.83% {
    transform: translate(-53px, -316.5px);
    opacity: 1;
  }
  47.22% {
    transform: translate(-56.9px, -304.4px);
    opacity: 1;
  }
  48.61% {
    transform: translate(-57.9px, -292.2px);
    opacity: 1;
  }
  50.00% {
    transform: translate(-56.3px, -280px);
    opacity: 1;
  }
  51.39% {
    transform: translate(-52.4px, -267.8px);
    opacity: 1;
  }
  52.78% {
    transform: translate(-46.5px, -255.6px);
    opacity: 1;
  }
  54.17% {
    transform: translate(-39.2px, -243.5px);
    opacity: 1;
  }
  55.56% {
    transform: translate(-30.9px, -231.4px);
    opacity: 1;
  }
  56.94% {
    transform: translate(-22.3px, -219.4px);
    opacity: 1;
  }
  58.33% {
    transform: translate(-13.7px, -207.5px);
    opacity: 1;
  }
  59.72% {
    transform: translate(-5.7px, -195.8px);
    opacity: 1;
  }
  61.11% {
    transform: translate(1.4px, -184.2px);
    opacity: 1;
  }
  62.50% {
    transform: translate(7.5px, -172.8px);
    opacity: 1;
  }
  63.89% {
    transform: translate(12.2px, -161.7px);
    opacity: 1;
  }
  65.28% {
    transform: translate(15.7px, -150.7px);
    opacity: 1;
  }
  66.67% {
    transform: translate(17.9px, -140px);
    opacity: 1;
  }
  68.06% {
    transform: translate(19px, -129.6px);
    opacity: 1;
  }
  69.44% {
    transform: translate(19.1px, -119.4px);
    opacity: 1;
  }
  70.83% {
    transform: translate(18.4px, -109.5px);
    opacity: 1;
  }
  72.22% {
    transform: translate(17.1px, -100px);
    opacity: 1;
  }
  73.61% {
    transform: translate(15.4px, -90.8px);
    opacity: 1;
  }
  75.00% {
    transform: translate(13.5px, -82px);
    opacity: 1;
  }
  76.39% {
    transform: translate(11.4px, -73.6px);
    opacity: 1;
  }
  77.78% {
    transform: translate(9.5px, -65.5px);
    opacity: 1;
  }
  79.17% {
    transform: translate(7.6px, -57.9px);
    opacity: 1;
  }
  80.56% {
    transform: translate(5.9px, -50.6px);
    opacity: 1;
  }
  81.94% {
    transform: translate(4.5px, -43.9px);
    opacity: 1;
  }
  83.33% {
    transform: translate(3.3px, -37.5px);
    opacity: 1;
  }
  84.72% {
    transform: translate(2.3px, -31.6px);
    opacity: 1;
  }
  86.11% {
    transform: translate(1.6px, -26.2px);
    opacity: 1;
  }
  87.50% {
    transform: translate(1px, -21.3px);
    opacity: 1;
  }
  88.89% {
    transform: translate(0.6px, -16.9px);
    opacity: 1;
  }
  90.28% {
    transform: translate(0.4px, -13px);
    opacity: 1;
  }
  91.67% {
    transform: translate(0.2px, -9.5px);
    opacity: 1;
  }
  93.06% {
    transform: translate(0.1px, -6.6px);
    opacity: 1;
  }
  94.44% {
    transform: translate(0px, -4.3px);
    opacity: 1;
  }
  95.83% {
    transform: translate(0px, -2.4px);
    opacity: 1;
  }
  97.22% {
    transform: translate(0px, -1.1px);
    opacity: 0;
  }
  98.61% {
    transform: translate(0px, -0.3px);
    opacity: 0;
  }
  100.00% {
    transform: translate(0px, -0px);
    opacity: 0;
  }
}
@keyframes lual-orb-pulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}
.lual-burst {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-burst 1.4s ease-out calc(var(--lual-fall-delay) + 4.95s)
    forwards;
}
@keyframes lual-burst {
  0% {
    opacity: 0.95;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(7);
  }
}
.lual-mine {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-arrive 0.7s ease-out calc(var(--lual-fall-delay) + 4.9s) both;
}
.lual-mine-glow {
  transform-box: fill-box;
  transform-origin: center;
  animation:
    lual-arrive 0.7s ease-out calc(var(--lual-fall-delay) + 4.9s) both,
    lual-mine-pulse 2.6s ease-in-out calc(var(--lual-fall-delay) + 4.6s)
      infinite;
}
.lual-mine-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: lual-ring 2.6s ease-out calc(var(--lual-fall-delay) + 5.8s)
    infinite;
}
@keyframes lual-arrive {
  from {
    opacity: 0;
    transform: scale(2.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes lual-mine-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
@keyframes lual-ring {
  from {
    opacity: 0.9;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(3.4);
  }
}

/* ---------- Star mark (sponsored names) ---------- */
.lual-starmark {
  --size: 40px;
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--size);
  height: var(--size);
}
.lual-starmark::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 243, 196, 0.8),
    rgba(242, 181, 68, 0.28) 42%,
    transparent 70%
  );
  animation: lual-halo 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.7s);
}
.lual-starmark svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lual-starmark .lual-star,
.lual-starmark .lual-rays {
  animation-delay: calc(var(--i, 0) * -0.7s);
}
.lual-starmark .lual-rays {
  stroke-width: 3;
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.lual-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font: 700 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}
.lual-btn:active {
  transform: scale(0.97);
}
.lual-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}
.lual-btn-red {
  background: var(--lual-red);
  color: #fff;
}
.lual-btn-red:hover {
  background: var(--lual-red-dark);
}
.lual-btn-gold {
  background: var(--lual-gold);
  color: var(--lual-ink) !important;
}
.lual-btn-gold:hover {
  box-shadow: 0 0 0 4px rgba(242, 181, 68, 0.3);
}
.lual-btn-ghost {
  background: transparent;
  color: var(--lual-red);
  box-shadow: inset 0 0 0 2px var(--lual-red);
}
.lual-btn-ghost-night {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lual-on-night);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.lual-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- Listing hero ---------- */
.lual-hero {
  padding: 40px 16px 0;
}
.lual-hero-in {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  text-align: center;
}
.lual-hero-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
  animation: lual-up 0.8s ease-out both;
}
.lual-hero h1 {
  font-size: 4rem;
  line-height: 1.04;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.lual-hero h1 em {
  font-style: normal;
  color: var(--lual-gold);
  text-shadow: 0 0 24px rgba(242, 181, 68, 0.55);
}
.lual-hero-copy p {
  font-size: 1.5rem;
  color: var(--lual-on-night-muted);
  max-width: 40ch;
}
.lual-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lual-on-night);
  font-size: 18px;
}
.lual-count .lual-starmark {
  --size: 25px;
}
.lual-hero .lual-tree {
  z-index: 1;
  margin-bottom: 0;
}
.lual-hero {
  padding-bottom: 64px;
}
@media (min-width: 900px) {
  .lual-hero {
    padding-top: 64px;
  }
  .lual-hero-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    text-align: left;
  }
  .lual-hero-copy {
    justify-items: start;
    padding-bottom: 40px;
  }
  .lual-hero .lual-tree {
    width: 380px;
  }
}

/* ---------- Search panel ---------- */
.lual-search {
  position: relative;
  z-index: 3;
  max-width: 880px;
  margin: -40px auto 0;
  padding: 16px;
  background: var(--lual-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  display: grid;
  gap: 12px;
  animation: lual-up 0.7s ease-out 0.25s both;
}
.lual-wrap {
  padding: 0 16px;
  background: var(--lual-paper);
}
.lual-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  gap: 4px;
  border-radius: var(--radius-sm);
  background: var(--lual-paper);
  border: 1px solid var(--lual-line);
}
.lual-seg {
  margin: 0;
}
.lual-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lual-seg label {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--lual-muted);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  text-align: center;
}
.lual-seg input:checked + label {
  background: var(--lual-surface);
  color: var(--lual-ink);
  box-shadow: var(--shadow-card);
  font-weight: 700;
}
.lual-seg input:focus-visible + label {
  outline: 3px solid var(--lual-gold);
}
.lual-field {
  position: relative;
}
.lual-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: var(--lual-muted);
  pointer-events: none;
}
.lual-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px 0 44px;
  border: 1.5px solid #9a948d;
  border-radius: var(--radius-sm);
  font: 16px var(--font-body);
  color: var(--lual-ink);
  background: var(--lual-surface);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.lual-field input:focus {
  outline: none;
  border-color: var(--lual-red);
  box-shadow: 0 0 0 4px rgba(168, 50, 45, 0.15);
}
.lual-search .lual-btn {
  width: 100%;
}
@media (min-width: 720px) {
  .lual-search {
    grid-template-columns: 300px 1fr auto;
    align-items: center;
    padding: 14px;
  }
  .lual-search .lual-btn {
    width: auto;
    min-height: 52px;
    padding: 0 32px;
  }
}

/* ---------- Results ---------- */
.lual-results {
  background: var(--lual-paper);
  padding: 32px 16px 48px;
}
.lual-results-head {
  max-width: 1120px;
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  justify-content: space-between;
}
.lual-results-head h2 {
  font-size: 22px;
  font-weight: 800;
}
.lual-results-head p {
  color: var(--lual-muted);
  font-size: 14px;
}
.lual-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}
@media (min-width: 640px) {
  .lual-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .lual-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px;
  }
}
.lual-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.lual-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 250px;
  padding: 10px 10px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--lual-surface);
  border: 1px solid var(--lual-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  animation: lual-up 0.6s ease-out both;
  animation-delay: calc(var(--i, 0) * 70ms + 0.2s);
}
.lual-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--lual-gold);
}
.lual-card:hover .lual-avatar {
  box-shadow:
    0 0 0 3px var(--lual-gold-soft),
    0 0 22px rgba(242, 181, 68, 0.55);
}
.lual-avatar {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  height: 160px;
  border-radius: calc(var(--radius-md) - 4px);
  background:
    linear-gradient(180deg, rgba(38, 5, 12, 0.04), rgba(38, 5, 12, 0.5)),
    url("https://lightupalife.ie/wp-content/uploads/2021/09/sponsor-a-light_visual-1-1.jpg")
      center / cover;
  display: grid;
  place-items: center;
  transition: box-shadow 0.25s ease;
}
.lual-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 4, 13, 0.42));
  pointer-events: none;
}
.lual-avatar .lual-starmark {
  --size: 62px;
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(255, 223, 112, 0.75));
}
.lual-avatar.has-photo {
  overflow: visible;
}
.lual-avatar.has-photo img {
  border-radius: 50%;
}
.lual-avatar.has-photo .lual-starmark {
  --size: 22px;
  position: absolute;
  right: -6px;
  bottom: -4px;
}
.lual-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lual-card-txt {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
  padding-left: 6px;
}
.lual-card-name {
  font: 800 22px/1.2 var(--font-display);
  overflow-wrap: anywhere;
}
.lual-card-by {
  font-size: 16px;
  color: var(--lual-muted);
}
.lual-card-go {
  align-self: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--lual-red);
  background: var(--lual-paper);
  box-shadow: 0 2px 8px rgba(27, 26, 26, 0.1);
  transition:
    transform 0.2s ease,
    background-color 0.2s;
}
.lual-card-go svg {
  width: 18px;
  height: 18px;
}
.lual-card:hover .lual-card-go {
  transform: translateX(3px);
  background: var(--lual-gold-soft);
}

.lual-empty {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.lual-empty .lual-starmark {
  --size: 64px;
  margin-bottom: 8px;
}

/* Mobile sticky sponsor bar */
.lual-sticky {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 24, 56, 0.94);
  backdrop-filter: blur(8px);
  color: var(--lual-on-night);
}
.lual-sticky p {
  font-size: 14px;
  line-height: 1.3;
}
.lual-sticky .lual-btn {
  margin-left: auto;
  flex: none;
  min-height: 44px;
  padding: 0 18px;
}
@media (min-width: 900px) {
  .lual-sticky {
    display: none;
  }
}

/* ---------- Individual light page ---------- */
.lual-lp {
  min-height: 100%;
  padding-bottom: 32px;
  --lual-fall-delay: -0.5s;
  --lual-reveal-delay: 4.2s;
}
.lual-lp-top.lual-lp-delayed {
  animation: lual-content-reveal 0.8s ease-out var(--lual-reveal-delay) both;
}
.lual-lp-head.lual-lp-delayed {
  animation-delay: var(--lual-reveal-delay);
}
.lual-lp .lual-lp-caption {
  animation-delay: calc(var(--lual-reveal-delay) + 0.3s);
}
.lual-lp .lual-replay.lual-lp-delayed {
  animation-delay: calc(var(--lual-reveal-delay) + 0.5s);
}
.lual-lp-side.lual-lp-delayed .lual-msg {
  animation-delay: calc(var(--lual-reveal-delay) + 1.2s);
}
.lual-lp-side.lual-lp-delayed .lual-sharebar {
  animation-delay: calc(var(--lual-reveal-delay) + 1.5s);
}
.lual-lp-side.lual-lp-delayed .lual-cta {
  animation-delay: calc(var(--lual-reveal-delay) + 1.8s);
}
.lual-lp-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lual-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px 0 8px;
  border-radius: var(--radius-pill);
  color: var(--lual-on-night);
  text-decoration: none;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
}
.lual-back svg {
  width: 20px;
  height: 20px;
}
.lual-lp-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.lual-lp-head {
  text-align: center;
  display: grid;
  gap: 8px;
  animation: lual-up 0.8s ease-out both;
}
.lual-eyebrow {
  font: 700 13px/16px var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lual-gold);
}
.lual-lp-name {
  font: 800 clamp(36px, 10vw, 60px) / 1.04 var(--font-display);
  color: #fff;
  letter-spacing: -0.01em;
}
.lual-lp .lual-tree {
  width: min(70vw, 300px);
  margin-top: 8px;
  margin-bottom: 22px;
  z-index: 1;
}
.lual-lp-head .lual-starmark {
  --size: 44px;
  justify-self: center;
  margin-bottom: 4px;
}
.lual-replay {
  display: block;
  margin: 5px auto 16px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lual-on-night);
  font: 500 14px var(--font-body);
  cursor: pointer;
  animation: lual-fade 0.6s ease-out 8.4s both;
}
.lual-replay:hover {
  background: rgba(255, 255, 255, 0.16);
}
.lual-lp-caption {
  text-align: center;
  font-size: 14px;
  color: var(--lual-on-night-muted);
  margin: 4px 0 16px;
  animation: lual-fade 0.8s ease-out 8.2s both;
}
.lual-lp-caption strong {
  color: var(--lual-gold);
  font-weight: 700;
}
.lual-lp-side {
  display: grid;
  gap: 16px;
  align-content: start;
}
@media (min-width: 900px) {
  .lual-lp-in {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 56px;
    align-items: start;
  }
  .lual-lp-scene {
    grid-row: 1 / span 2;
    grid-column: 1;
  }
  .lual-lp-head {
    text-align: left;
    padding-top: 32px;
    grid-column: 2;
  }
  .lual-lp-side {
    grid-column: 2;
  }
  /* Desktop: the tree fills its column, capped so tree + candles + caption fit the window height */
  .lual-lp .lual-tree {
    width: min(100%, 600px, calc((100vh - 240px) * 0.8));
    margin-top: 24px;
    margin-bottom: 30px;
  }
  .lual-lp-scene {
    position: sticky;
    top: 16px;
  }
  .lual-lp-head .lual-starmark {
    justify-self: start;
  }
  .lual-lp-scene {
    animation: lual-tree-settle 1.1s ease-in-out var(--lual-reveal-delay) both;
  }
}

@keyframes lual-tree-settle {
  from {
    transform: translateX(45%);
  }
  to {
    transform: translateX(0);
  }
}

.lual-msg {
  background: var(--lual-surface);
  color: var(--lual-ink);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lift);
  animation: lual-up 0.8s ease-out 1.2s both;
}
.lual-msg-in {
  border: 1.5px solid var(--lual-gold);
  border-radius: calc(var(--radius-lg) - 6px);
  padding: 24px 20px;
  text-align: center;
  display: grid;
  gap: 12px;
}
.lual-msg-photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(420px, 60vh);
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius-md);
}
.lual-msg-text {
  font: 700 22px/1.4 var(--font-display);
}
.lual-msg-from {
  font-size: 15px;
  color: var(--lual-muted);
}
.lual-msg-from::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 0 auto 10px;
  background: var(--lual-gold);
  border-radius: 2px;
}

.lual-sharebar {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--lual-gold);
  color: var(--lual-ink);
  animation: lual-up 0.8s ease-out 1.5s both;
}
.lual-sharebar-t {
  font: 800 18px/1.2 var(--font-display);
  text-align: center;
}
.lual-sharebar-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.lual-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: rgba(27, 26, 26, 0.1);
  color: var(--lual-ink);
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s;
}
.lual-icon-btn:hover {
  background: rgba(27, 26, 26, 0.18);
  transform: translateY(-2px);
}
.lual-icon-btn svg {
  width: 22px;
  height: 22px;
}
.lual-sharebar .lual-btn {
  width: 100%;
  background: var(--lual-ink);
  color: #fff;
}
.lual-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 20;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--lual-ink);
  color: #fff;
  font-size: 14px;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.lual-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.lual-cta {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--lual-on-night);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  animation: lual-up 0.8s ease-out 1.8s both;
}
.lual-cta h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.lual-cta p {
  color: var(--lual-on-night-muted);
  font-size: 15px;
}
.lual-cta .lual-btn {
  justify-self: center;
}

/* ---------- Shared motion ---------- */
@keyframes lual-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lual-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes lual-content-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lual *,
  .lual *::before,
  .lual *::after {
    animation: none !important;
    transition: none !important;
  }
  .lual-lp-delayed {
    opacity: 1;
  }
  .lual-fall,
  .lual-burst,
  .lual-replay,
  .lual-mine-ring {
    display: none;
  }
  .lual-skylights i {
    opacity: 0.6;
  }
}

body {
  margin: 0;
}
.lual-tree-star {
  transform: translate(3px, 30px);
}
