*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body.nf {
  min-height: 100%;
  height: 100%;
  background: #fcfaf5;
  color: #1c1c1c;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.nf-page {
  width: 100%;
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  padding: 4px 16px calc(24px + env(safe-area-inset-bottom));
}

.nf-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: 52px;
  margin-bottom: 8px;
}

.nf-back {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #1c1c1c;
  text-decoration: none;
}

.nf-head h1 {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.nf-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 16px;
  scrollbar-width: none;
}

.nf-tabs::-webkit-scrollbar { display: none; }

.nf-tab {
  flex-shrink: 0;
  border: 0;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nf-tab.is-on { background: #efeae2; }

.nf-list { display: grid; gap: 10px; }

.nf-item {
  display: grid;
  grid-template-columns: 44px 1fr 10px;
  gap: 12px;
  align-items: center;
  background: #f3eee6;
  border-radius: 18px;
  padding: 14px 14px;
  text-decoration: none;
  color: inherit;
}

.nf-ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #e7f6ec;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.nf-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-ava.is-wallet { color: #1f7a3d; }

.nf-txt { min-width: 0; }

.nf-txt p {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.nf-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #6a6a6a;
}

.nf-meta b {
  color: #1c1c1c;
  font-weight: 700;
}

.nf-unread {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #de6a24;
  justify-self: end;
}

.nf-empty {
  text-align: center;
  color: #8b8b8b;
  padding: 48px 12px;
  font-size: 14px;
}
