/* Más proyectos — launcher de apps (tema NexStudio, no Flex) */
body.ns-mp .ns-main { padding-bottom: 2.2rem; }

.ns-mp-shell {
  width: min(100% - 1.6rem, 1180px);
  margin: 1.15rem auto 2.2rem;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 640px;
  background: rgba(12, 17, 24, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ns-mp-side {
  background: rgba(7, 9, 13, 0.55);
  border-right: 1px solid var(--line);
  padding: 1.15rem 0.9rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ns-mp-side-kicker {
  margin: 0 0.45rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ns-mp-side-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  cursor: pointer;
}
.ns-mp-side-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.ns-mp-side-link.is-on {
  color: var(--text);
  background: rgba(94, 234, 138, 0.12);
  box-shadow: inset 0 0 0 1px rgba(94, 234, 138, 0.18);
}
.ns-mp-side-ico {
  width: 1.35rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--green);
}
.ns-mp-side-ico svg { width: 16px; height: 16px; fill: currentColor; }
.ns-mp-side-sub {
  margin: 0.85rem 0.45rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ns-mp-main { padding: 1.15rem 1.3rem 1.6rem; }
.ns-mp-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
}
.ns-mp-search {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.72);
  border: 1px solid var(--line);
}
.ns-mp-search:focus-within { border-color: rgba(94, 234, 138, 0.45); }
.ns-mp-search svg { flex-shrink: 0; opacity: 0.7; }
.ns-mp-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}
.ns-mp-search input::placeholder { color: var(--muted); }

.ns-mp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
}
.ns-mp-head h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.ns-mp-head-kicker {
  margin: 0 0 0.15rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ns-mp-sort {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}
.ns-mp-sort select {
  background: #0c1118;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
}

.ns-mp-sec {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.ns-mp-sec i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(94, 234, 138, 0.12);
}

.ns-mp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.ns-mp-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding: 1.05rem 0.75rem 0.95rem;
  text-align: center;
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ns-mp-card:hover,
.ns-mp-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 138, 0.42);
  box-shadow: 0 16px 32px rgba(0,0,0,0.28), 0 0 0 1px rgba(94, 234, 138, 0.12);
  outline: none;
}
.ns-mp-ico {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: grid; place-items: center;
  margin-bottom: 0.15rem;
}
.ns-mp-ico img { width: 42px; height: 42px; border-radius: 10px; display: block; }
.ns-mp-ico svg { width: 34px; height: 34px; fill: currentColor; }
.ns-mp-ico--amxx { background: rgba(94, 234, 138, 0.14); color: var(--green); }
.ns-mp-ico--mapper { background: rgba(240, 138, 36, 0.16); color: var(--orange); }
.ns-mp-ico--discord { background: rgba(129, 140, 248, 0.16); color: #9aa6ff; }
.ns-mp-ico--agent { background: rgba(94, 234, 138, 0.1); color: #7cf0c2; box-shadow: inset 0 0 0 1px rgba(94, 234, 138, 0.12); }

.ns-mp-card-name {
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ns-mp-card-meta {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 600;
  min-height: 2em;
}
.ns-mp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ns-mp-badge--ready { background: rgba(94, 234, 138, 0.16); color: var(--green); }
.ns-mp-badge--soon { background: rgba(240, 138, 36, 0.16); color: var(--orange); }
.ns-mp-badge--paused { background: rgba(255, 211, 106, 0.12); color: #ffd36a; }

.ns-mp-empty {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-weight: 650;
  text-align: center;
}

/* Modal Próximamente */
.ns-mp-soon {
  position: fixed; inset: 0; z-index: 90;
  display: none; place-items: center; padding: 1.2rem;
  background: rgba(4, 7, 11, 0.78);
  backdrop-filter: blur(10px);
}
.ns-mp-soon.is-on { display: grid; }
.ns-mp-soon-card {
  position: relative;
  width: min(100%, 34rem);
  padding: 2.1rem 1.6rem 1.35rem;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 138, 36, 0.18), transparent 55%),
    linear-gradient(180deg, #161d28 0%, #0d121a 100%);
  border: 1px solid rgba(240, 138, 36, 0.5);
  box-shadow:
    0 0 0 1px rgba(94, 234, 138, 0.1),
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 48px rgba(240, 138, 36, 0.26);
  overflow: hidden;
}
.ns-mp-soon-card::after {
  content: "";
  position: absolute; inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(94, 234, 138, 0.16), transparent 62%);
  pointer-events: none;
}
.ns-mp-soon-kicker {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffd36a, #f08a24 45%, #5eea8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ns-mp-soon-card h2 {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.ns-mp-soon-lead {
  position: relative;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.ns-mp-soon-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.ns-mp-soon-x {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 0.95rem;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  padding: 0.4rem;
}
.ns-mp-soon-x:hover { color: var(--text); }

@media (max-width: 980px) {
  .ns-mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ns-mp-shell { grid-template-columns: 1fr; }
  .ns-mp-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 0.85rem 0.75rem;
  }
  .ns-mp-side-nav, .ns-mp-side-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .ns-mp-side-link { width: auto; }
  .ns-mp-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .ns-mp-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .ns-mp-card { padding: 0.85rem 0.5rem 0.8rem; }
  .ns-mp-ico { width: 58px; height: 58px; border-radius: 16px; }
}
