/* Fase I */
.nv-search-live-wrap { position: relative; }
.nv-search-suggest {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 6px);
  z-index: 1000;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15,23,42,.15);
  max-height: 360px;
  overflow: auto;
  padding: .35rem;
}
html.nv-dark .nv-search-suggest {
  background: #1e293b;
  border-color: #334155;
}
.nv-search-suggest__item {
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: .5rem .55rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.nv-search-suggest__item:hover { background: #f1f5f9; }
html.nv-dark .nv-search-suggest__item:hover { background: #0f172a; }
.nv-search-suggest__item img,
.nv-search-suggest__ph {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #e2e8f0; flex-shrink: 0;
}
.nv-search-suggest__item strong { display: block; font-size: .9rem; line-height: 1.25; }
.nv-search-suggest__item small { color: #64748b; font-size: .75rem; }
.nv-search-suggest__more {
  display: block;
  text-align: center;
  padding: .65rem;
  font-weight: 700;
  font-size: .85rem;
  color: #5B4DFF;
  text-decoration: none;
}
.nv-search-suggest__empty { padding: .85rem; text-align: center; color: #64748b; }

.nv-related--smart { margin: 2rem 0; }
.nv-related--smart .nv-related__title { margin: 0 0 1rem; font-size: 1.15rem; }
.nv-related__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .nv-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.nv-related__item img { width: 100%; height: auto; border-radius: 10px; display: block; margin-bottom: .4rem; }
.nv-related__item h4 { margin: 0; font-size: .9rem; line-height: 1.3; }
.nv-related__item a { text-decoration: none; color: inherit; }

.nv-mod-bar {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 99980;
}
.nv-mod-bar__btn {
  border: 0;
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 700;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15,23,42,.25);
}
.nv-mod-bar__n {
  display: inline-block;
  margin-left: .35rem;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  padding: 0 .4rem;
  font-size: .75rem;
}
.nv-mod-panel {
  position: fixed;
  bottom: 4rem;
  left: 1rem;
  z-index: 99981;
  width: min(360px, calc(100vw - 2rem));
  max-height: 60vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15,23,42,.2);
}
html.nv-dark .nv-mod-panel { background: #1e293b; border-color: #334155; color: #e2e8f0; }
.nv-mod-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: inherit;
}
.nv-mod-panel header button {
  border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: inherit;
}
.nv-mod-item { padding: .75rem 1rem; border-bottom: 1px solid #f1f5f9; }
.nv-mod-item__meta { margin: 0 0 .35rem; font-size: .8rem; color: #64748b; }
.nv-mod-item__body { margin: 0 0 .5rem; font-size: .9rem; }
.nv-mod-item__actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.nv-mod-item__actions button {
  border: 0;
  border-radius: 8px;
  padding: .35rem .55rem;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  background: #e2e8f0;
}
.nv-mod-item__actions button[data-do=approve] { background: #dcfce7; color: #166534; }
.nv-mod-item__actions button[data-do=spam] { background: #fef3c7; color: #92400e; }
.nv-mod-item__actions button[data-do=trash] { background: #fee2e2; color: #991b1b; }
.nv-mod-empty { padding: 1rem; color: #64748b; }
