/* NEW FEATURES hologram: a projected glass card with a cyan edge, scan line and soft beam. House accents stay subtle:
   tab #e6f8f4 with a #44fbdf outline, lime chips #e6fbb0. */
.nf-overlay { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(ellipse at 50% 60%, rgba(68, 251, 223, .16), rgba(10, 22, 28, .62) 70%);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: nf-fade .3s ease both; }
.nf-overlay.nf-out { animation: nf-fade .25s ease reverse both; }
.nf-holo { position: relative; z-index: 1; width: min(640px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 20px;
  padding: 26px 24px 18px; color: #0d2a2f;
  background: linear-gradient(160deg, rgba(240, 255, 252, .93), rgba(230, 248, 244, .86));
  border: 1px solid #44fbdf;
  box-shadow: 0 0 0 1px rgba(68, 251, 223, .35), 0 0 28px rgba(68, 251, 223, .45), 0 0 80px rgba(68, 251, 223, .22), inset 0 0 40px rgba(68, 251, 223, .14), 0 30px 60px rgba(0, 0, 0, .35);
  animation: nf-rise .55s cubic-bezier(.2, .9, .25, 1.1) both, nf-flicker 5s 1s infinite; transform-origin: 50% 100%; }
.nf-holo::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgba(68, 251, 223, .07) 0 1px, transparent 1px 4px); }
.nf-scan { position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(68, 251, 223, .28), transparent); animation: nf-scan 3.4s linear infinite; }
.nf-beam { position: fixed; bottom: 0; left: 50%; width: min(520px, 80vw); height: 34vh; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(0deg, rgba(68, 251, 223, .35), transparent); clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0); filter: blur(10px); opacity: .55; }
.nf-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid #44fbdf; background: #e6f8f4; color: #0d2a2f; box-shadow: 0 0 12px rgba(68, 251, 223, .5); z-index: 2; }
.nf-x:hover, .nf-x:focus-visible { background: #fff; box-shadow: 0 0 18px rgba(68, 251, 223, .9); outline: none; }
.nf-x svg { width: 18px; height: 18px; }
.nf-head { position: relative; padding-right: 40px; }
.nf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 700 12px/1.4 Oswald, Inter, sans-serif; letter-spacing: .16em;
  background: #e6fbb0; color: #24310a; border: 1px solid rgba(36, 49, 10, .15); text-shadow: 0 0 8px rgba(255, 255, 255, .9); }
.nf-badge svg { width: 14px; height: 14px; }
.nf-head h2 { margin: 12px 0 4px; font-size: 22px; line-height: 1.25; text-shadow: 0 0 14px rgba(68, 251, 223, .55); }
.nf-head p { margin: 0 0 14px; opacity: .72; font-size: 14px; }
.nf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; }
.nf-list li { animation: nf-in .45s calc(.25s + var(--i) * .06s) ease both; }
.nf-item { display: grid; grid-template-columns: 38px 1fr auto 18px; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 14px; color: inherit; text-decoration: none;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(68, 251, 223, .55); transition: background .15s, box-shadow .15s, transform .15s; }
.nf-item:hover, .nf-item:focus-visible { background: #e6f8f4; border-color: #44fbdf; box-shadow: 0 0 16px rgba(68, 251, 223, .5); transform: translateX(3px); outline: none; }
.nf-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e6f8f4; border: 1px solid #44fbdf; box-shadow: inset 0 0 10px rgba(68, 251, 223, .35); }
.nf-ico svg { width: 19px; height: 19px; }
.nf-body { display: grid; gap: 2px; min-width: 0; }
.nf-body b { font-size: 14.5px; }
.nf-body small { font-size: 12.5px; opacity: .75; line-height: 1.35; }
.nf-body em { font-style: normal; font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; width: fit-content; margin-top: 3px; padding: 1px 8px; border-radius: 999px; background: #e6fbb0; color: #24310a; }
.nf-body em svg { width: 11px; height: 11px; }
.nf-when { font-size: 11.5px; opacity: .6; white-space: nowrap; }
.nf-go svg { width: 16px; height: 16px; opacity: .55; }
.nf-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 12.5px; opacity: .9; flex-wrap: wrap; }
.nf-foot span { opacity: .7; }
[data-theme="dark"] .nf-holo { color: #dffdf8; background: linear-gradient(160deg, rgba(12, 40, 44, .92), rgba(8, 28, 32, .88)); }
[data-theme="dark"] .nf-item { background: rgba(68, 251, 223, .06); }
[data-theme="dark"] .nf-item:hover, [data-theme="dark"] .nf-ico, [data-theme="dark"] .nf-x { background: rgba(68, 251, 223, .14); color: #dffdf8; }
@media (max-width: 600px) {
  .nf-holo { padding: 22px 14px 14px; border-radius: 16px; }
  .nf-head h2 { font-size: 18px; }
  .nf-item { grid-template-columns: 34px 1fr 16px; }
  .nf-when { display: none; }
}
@keyframes nf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nf-rise { from { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(40px) scale(.92); filter: blur(6px) brightness(1.6); } to { opacity: 1; transform: none; filter: none; } }
@keyframes nf-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes nf-scan { from { transform: translateY(-80px); } to { transform: translateY(900px); } }
@keyframes nf-flicker { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .82; } 98% { opacity: 1; } 99% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .nf-overlay, .nf-holo, .nf-list li, .nf-scan { animation: none !important; } .nf-scan { display: none; } }
