/* Seasonal chrome only — pointer-events none. Does not change order/print/sync flows.
   Port of App/Kiosk dusk + crescent + bat silhouettes. */

.hw-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  overflow: hidden;
}

.hw-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 200px;
  background:
    radial-gradient(ellipse 70% 90% at 86% -8%, rgba(232, 201, 120, 0.3), transparent 58%),
    linear-gradient(180deg, rgba(18, 32, 24, 0.14) 0%, rgba(13, 84, 43, 0.05) 42%, transparent 100%);
}

.hw-moon {
  position: absolute;
  top: 86px;
  right: 28px;
  left: auto;
  width: 56px;
  height: 56px;
  opacity: 0.78;
  filter: drop-shadow(0 0 12px rgba(232, 201, 120, 0.4));
}

.hw-bat {
  position: absolute;
  opacity: 0.2;
}

.hw-bat--a {
  top: 82px;
  left: 28px;
  width: 40px;
  height: 18px;
  animation: hw-drift 9s ease-in-out infinite;
}

.hw-bat--b {
  top: 98px;
  right: 108px;
  width: 30px;
  height: 13px;
  animation: hw-drift 11s ease-in-out infinite reverse;
}

.navbar {
  background: linear-gradient(180deg, #fbf7ee 0%, #ffffff 72%) !important;
  border-bottom: 1px solid #ead9b6 !important;
  box-shadow: inset 0 -2px 0 rgba(201, 146, 74, 0.55);
}

.footer {
  box-shadow: inset 0 2px 0 rgba(201, 146, 74, 0.5);
}

/* Auth (no site navbar) — same layout as App splash */
body.hw-auth .hw-moon {
  top: 14px;
  left: 50%;
  right: auto;
  width: 44px;
  height: 44px;
  margin-left: -22px;
}

body.hw-auth .hw-sky {
  height: 168px;
}

body.hw-auth .hw-bat--a {
  top: 16px;
  left: 16px;
  width: 32px;
  height: 14px;
}

body.hw-auth .hw-bat--b {
  top: 22px;
  right: 16px;
  width: 24px;
  height: 11px;
}

@keyframes hw-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8px, 5px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hw-bat--a,
  .hw-bat--b {
    animation: none;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hw-moon {
    width: 48px;
    height: 48px;
    right: 18px;
    top: 82px;
  }

  .hw-bat--a {
    left: 16px;
    width: 32px;
    height: 14px;
  }

  .hw-bat--b {
    right: 78px;
    width: 24px;
    height: 11px;
  }
}

/* Phone — sit below the 72px nav; keep off hamburger / logo / account taps */
@media (max-width: 720px) {
  .hw-sky {
    height: 150px;
  }

  .hw-moon {
    top: 78px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .hw-bat--a {
    top: 76px;
    left: 10px;
    width: 24px;
    height: 11px;
  }

  .hw-bat--b {
    top: 82px;
    right: 50px;
    width: 20px;
    height: 9px;
  }

  body.hw-auth .hw-moon {
    top: 10px;
    width: 36px;
    height: 36px;
    margin-left: -18px;
  }

  body.hw-auth .hw-bat--a {
    top: 12px;
    left: 10px;
    width: 22px;
    height: 10px;
  }

  body.hw-auth .hw-bat--b {
    top: 16px;
    right: 10px;
    width: 18px;
    height: 8px;
  }
}

@media (max-width: 380px) {
  .hw-moon {
    width: 28px;
    height: 28px;
    right: 8px;
  }

  .hw-bat--b {
    right: 40px;
  }
}
