/* NexStudio Agent: recuadro de cuenta + página /NexStudio-Agent + fila dual en portada. */
.ns-cd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: min(1100px, 100%);
  margin: 0 auto 1.6rem;
  align-items: stretch;
}
.ns-cd-row .ns-cd {
  margin: 0;
  max-width: none;
  height: 100%;
  box-sizing: border-box;
}
/* En escritorio amplio deja hueco al cartel Mapper (igual que el cd suelto). */
@media (min-width: 1181px) {
  .ns-hero .ns-cd-row { max-width: min(1100px, calc(100vw - 460px)); }
}
@media (max-width: 900px) {
  .ns-cd-row { grid-template-columns: 1fr; max-width: 980px; }
}
.ns-cd--agent .ns-cd-title { margin-bottom: .3rem; }
.ns-cd--agent .ns-cd-lead { margin: 0 auto .85rem; max-width: 640px; font-size: .98rem; line-height: 1.45; color: rgba(255, 240, 210, .9); }
.ns-cd--agent .ns-cd-cell { min-width: 4.9rem; }
.ns-cd--agent .ns-cd-soon { margin: .2rem 0 0; font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 800; color: #ffd56a; text-shadow: 0 0 16px rgba(255, 196, 64, .6); }
.ns-cd--agent .ns-cd-cta { display: inline-flex; }
.ns-cd--agent .ns-cd-kicker .ns-cd-dot { background: #22d3a6; box-shadow: 0 0 10px #22d3a6; }
.ns-cd-row .ns-cd--dbot .ns-cd-cell,
.ns-cd-row .ns-cd--agent .ns-cd-cell { min-width: 3.6rem; }
.ns-cd-row .ns-cd-cell strong { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.ns-cd-row .ns-cd-sep { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
.ns-agent-about { padding-top: 2.2rem; }
.ns-agent-hero { text-align: center; }
.ns-agent-hero .ns-sub, .ns-agent-hero .ns-lead { margin-left: auto; margin-right: auto; max-width: 760px; }
.ns-agent-hero .ns-actions { justify-content: center; }
.ns-agent-mark { display: inline-flex; align-items: center; justify-content: center; width: 4.2rem; height: 4.2rem; margin: 0 auto .6rem;
  border-radius: 18px; background: linear-gradient(135deg, #22d3a6, #0f9f7a); box-shadow: 0 0 26px rgba(34, 211, 166, .45); }
.ns-agent-mark svg { width: 2.4rem; height: 2.4rem; fill: #fff; }
.ns-agent-note { margin-top: 1rem; font-size: .9rem; color: var(--muted, rgba(230, 236, 245, .7)); }
@media (max-width: 560px) {
  .ns-cd--agent .ns-cd-cell { min-width: 0; }
  .ns-cd--agent .ns-cd-lead { font-size: .9rem; }
  .ns-cd-row .ns-cd-cell strong { font-size: clamp(1.35rem, 6vw, 2rem); }
}
/* Halloween: las calabazas laterales del .ns-cd-live no caben bien en tarjetas estrechas. */
body.theme-halloween .ns-cd-row .ns-cd-live::before,
body.theme-halloween .ns-cd-row .ns-cd-live::after { display: none; }

/* Estado «En pausa» (Discord Bot): sin reloj; etiqueta + fecha prevista. */
.ns-cd.is-paused .ns-cd-clock { display: none !important; }
.ns-cd.is-paused .ns-cd-paused-label {
  margin: .55rem 0 .15rem;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #ffd56a;
  text-shadow: 0 0 16px rgba(255, 196, 64, .55);
}
.ns-cd.is-paused .ns-cd-planned { margin-top: .35rem; }
.ns-cd.is-paused .ns-cd-dot { background: #f0a020; box-shadow: 0 0 10px #f0a020; animation: none; opacity: .85; }

/* Portada: una sola tarjeta (Agent), centrada y proporcionada (pedido Daniel 2026-11-11). */
.ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) {
  max-width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1181px) {
  .ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) {
    max-width: min(760px, calc(100vw - 460px));
  }
}
.ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) .ns-cd-cell {
  min-width: 4.9rem;
}
.ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) .ns-cd-cell strong {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) .ns-cd-sep {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}
@media (max-width: 560px) {
  .ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) .ns-cd-cell { min-width: 0; }
  .ns-hero .ns-cd.ns-cd--agent:not(.ns-cd--page) .ns-cd-cell strong { font-size: clamp(1.45rem, 7vw, 2.1rem); }
}
