/* NexStudio AMXX — dark / gamer / professional */
:root {
  --bg: #07090d;
  --bg2: #0c1118;
  --card: #121821;
  --line: rgba(94, 234, 138, 0.14);
  --line2: rgba(240, 138, 36, 0.18);
  --text: #eef1f5;
  --muted: #8b95a7;
  --green: #5eea8a;
  --green2: #2ecc71;
  --orange: #f08a24;
  --orange2: #ffb347;
  --danger: #ff6b7a;
  --max: 1120px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body.ns-body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  min-height: 100vh;
  line-height: 1.6;
}
.ns-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(240, 138, 36, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 40% at -10% 90%, rgba(94, 234, 138, 0.12), transparent 52%),
    linear-gradient(180deg, #0a0e14 0%, #07090d 40%, #05070a 100%);
}
.ns-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
.ns-header, .ns-main, .ns-footer,
.ns-app-top, .ns-app-shell, .ns-app-foot { position: relative; z-index: 1; }
.ns-wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.ns-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.ns-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}
.ns-logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.ns-logo img { display: block; border-radius: 10px; }
.ns-logo strong { display: block; font-size: 1.05rem; letter-spacing: -0.03em; line-height: 1.1; }
.ns-logo small { color: var(--green); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; }
.ns-nav {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 0.15rem;
}
.ns-nav a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem; font-weight: 600;
  padding: 0.38rem 0.55rem; border-radius: 8px; white-space: nowrap;
}
.ns-nav a:hover, .ns-nav a.on { color: var(--text); background: rgba(255,255,255,0.05); }
.ns-nav-gap { flex: 1 1 auto; min-width: 0.4rem; width: auto; }
.ns-nav > a.ns-btn { flex-shrink: 0; }
.ns-langs { position: relative; display: inline-block; }
.ns-langs summary {
  list-style: none; cursor: pointer; color: var(--muted); font-size: 0.86rem; font-weight: 700;
  padding: 0.38rem 0.65rem; border-radius: 8px; border: 1px solid var(--line);
}
.ns-langs summary::-webkit-details-marker { display: none; }
.ns-langs summary span { font-family: var(--mono); font-size: 0.72rem; margin-left: 0.25rem; color: var(--green); }
.ns-langs-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 140px;
  background: #10151e; border: 1px solid var(--line); border-radius: 12px; padding: 0.35rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.ns-langs-list a {
  display: block; padding: 0.45rem 0.7rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 650;
}
.ns-langs-list a:hover, .ns-langs-list a.on { color: var(--text); background: rgba(94,234,138,0.1); }
.ns-dup {
  margin: 0 0 1.2rem; padding: 1.1rem 1.15rem; border-radius: 16px;
  background: linear-gradient(160deg, rgba(240,138,36,0.16), rgba(255,107,122,0.1));
  border: 1px solid rgba(240,138,36,0.45);
}
.ns-dup strong { display: block; font-size: 1.15rem; margin-bottom: 0.4rem; }
.ns-dup p { margin: 0 0 0.8rem; color: var(--muted); }
.ns-lang {
  font-family: var(--mono); font-size: 0.75rem !important; letter-spacing: 0.04em;
}
.ns-nav-toggle {
  display: none; background: var(--card); border: 1px solid var(--line);
  color: var(--text); border-radius: 10px; padding: 0.4rem 0.7rem; cursor: pointer;
}

.ns-btn, a.ns-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: 0; border-radius: 999px;
  padding: 0.78rem 1.25rem; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; color: #0b120e;
  background: linear-gradient(135deg, var(--green), #3ddc7a);
  box-shadow: 0 10px 28px rgba(46, 204, 113, 0.22);
}
.ns-btn:hover { filter: brightness(1.06); }
.ns-btn-ghost, a.ns-btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}
.ns-btn-orange, a.ns-btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #1a1008; box-shadow: 0 10px 28px rgba(240, 138, 36, 0.28);
}
.ns-btn-sm { padding: 0.42rem 0.9rem !important; font-size: 0.86rem; color: #0b120e !important; background: linear-gradient(135deg, var(--green), #3ddc7a) !important; }
.ns-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.ns-kicker {
  margin: 0 0 0.7rem; color: var(--orange);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.ns-lead { color: var(--muted); font-size: 1.08rem; max-width: 46rem; }
.ns-hero {
  padding: 4.2rem 0 3.2rem;
  position: relative;
}
.ns-mapper-sign {
  position: absolute;
  left: 1.1rem;
  top: 5.4rem;
  z-index: 4;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 1.05rem 0.95rem 1.05rem;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  transform: rotate(-6deg);
  background:
    linear-gradient(165deg, rgba(18, 24, 33, 0.96), rgba(8, 11, 16, 0.94));
  border: 1px solid rgba(240, 138, 36, 0.55);
  box-shadow:
    0 0 0 1px rgba(94, 234, 138, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(240, 138, 36, 0.22);
  animation: nsSignGlow 2.8s ease-in-out infinite;
}
.ns-mapper-sign::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(240,138,36,0.35), transparent 42%, rgba(94,234,138,0.25));
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  mask-composite: exclude;
  padding: 1px;
}
.ns-mapper-sign-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b1220;
  background: linear-gradient(135deg, #ffd36a 0%, #f08a24 55%, #ff6b3d 100%);
  box-shadow: 0 0 0 1px rgba(255, 211, 106, 0.35), 0 8px 22px rgba(240, 138, 36, 0.35);
}
.ns-mapper-sign strong {
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ffe3b8, #5eea8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ns-mapper-sign-tag {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 600;
}
.ns-mapper-sign-go {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ns-mapper-sign:hover {
  transform: rotate(-6deg) translateY(-3px);
  border-color: var(--green);
}
@keyframes nsSignGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(94,234,138,0.12), 0 18px 40px rgba(0,0,0,0.45), 0 0 22px rgba(240,138,36,0.2); }
  50% { box-shadow: 0 0 0 1px rgba(94,234,138,0.22), 0 18px 40px rgba(0,0,0,0.45), 0 0 36px rgba(240,138,36,0.38); }
}
.ns-mapper-sign-dash {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  width: 100%;
  max-width: none;
  padding: 1.2rem 1.1rem 1.15rem;
  transform: rotate(-4deg);
  margin: 0.15rem 0.15rem 0.35rem;
}
.ns-mapper-sign-dash .ns-mapper-sign-soon { font-size: 0.7rem; }
.ns-mapper-sign-dash strong { font-size: 1.18rem; }
.ns-mapper-sign-dash .ns-mapper-sign-tag { font-size: 0.86rem; }
.ns-mapper-sign-dash .ns-mapper-sign-go { font-size: 0.84rem; }
.ns-mapper-sign-dash:hover {
  transform: rotate(-4deg) translateY(-3px);
}
@media (max-width: 1180px) {
  .ns-mapper-sign:not(.ns-mapper-sign-dash) { display: none; }
}
.ns-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; align-items: center;
}
.ns-hero h1 {
  margin: 0 0 0.55rem; font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.045em; line-height: 0.95;
}
.ns-hero h1 span { color: var(--green); }
.ns-hero .ns-sub {
  margin: 0 0 1rem; font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 650; color: #d7dde6;
}
.ns-hero .ns-lead { max-width: 40rem; }

.ns-showcase { padding-top: 0.4rem; }
.ns-slider {
  position: relative;
  margin-top: 1.5rem;
}
.ns-slider-glow {
  position: absolute; inset: 8% 6% auto;
  height: 55%; z-index: 0; pointer-events: none; filter: blur(40px);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(94, 234, 138, 0.28), transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(240, 138, 36, 0.22), transparent 55%);
}
.ns-slider-stage {
  position: relative; z-index: 1;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(94, 234, 138, 0.22);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(18, 28, 24, 0.9), #07090d 70%);
  box-shadow:
    0 0 0 1px rgba(240, 138, 36, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.55);
  aspect-ratio: 16 / 9;
  min-height: 280px;
}
.ns-slide {
  position: absolute; inset: 0;
  margin: 0; opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 7s linear;
  pointer-events: none;
}
.ns-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.ns-slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #05070a;
}
.ns-slider-btn {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(7, 9, 13, 0.62);
  color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; backdrop-filter: blur(10px);
}
.ns-slider-btn:hover {
  background: rgba(94, 234, 138, 0.18);
  border-color: var(--green);
}
.ns-slider-prev { left: 12px; }
.ns-slider-next { right: 12px; }
.ns-slider-progress {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  height: 3px; background: rgba(255,255,255,0.08);
}
.ns-slider-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform-origin: left;
}
.ns-slider.is-playing .ns-slider-progress span {
  animation: nsBar 5.5s linear forwards;
}
@keyframes nsBar {
  from { width: 0; }
  to { width: 100%; }
}
.ns-slider-bar {
  display: grid; gap: 0.85rem;
  margin-top: 1rem;
}
.ns-slider-caption {
  margin: 0; color: #d7dde6; font-weight: 650; font-size: 1.02rem;
}
.ns-slider-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
}
.ns-thumb {
  padding: 0; border: 1px solid transparent;
  border-radius: 12px; overflow: hidden; cursor: pointer;
  background: #0a0e14; opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.ns-thumb img { display: block; width: 100%; height: 72px; object-fit: cover; }
.ns-thumb:hover { opacity: 0.9; }
.ns-thumb.is-active {
  opacity: 1;
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(94, 234, 138, 0.35);
  transform: translateY(-2px);
}

.ns-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.1rem 0 1.4rem; }
.ns-badge {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid var(--line); background: rgba(18, 24, 33, 0.8);
  color: var(--green); border-radius: 999px; padding: 0.28rem 0.7rem;
}
.ns-badge-orange { color: var(--orange); border-color: var(--line2); }
.ns-ai-note {
  margin: 1.25rem 0 0; padding: 0.85rem 1rem;
  border-left: 3px solid var(--green);
  background: rgba(94, 234, 138, 0.06);
  color: #c9d4c8; font-size: 0.95rem; border-radius: 0 10px 10px 0;
}
.ns-hero-visual img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ns-home-srv {
  display: flex; flex-direction: column; gap: 0.45rem;
  text-decoration: none; color: inherit;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #151c26, #0c1118);
  box-shadow: var(--shadow);
  min-height: 11rem;
  justify-content: center;
}
.ns-home-srv:hover { border-color: rgba(94,234,138,0.35); }
.ns-home-srv-brand {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: #5eea8a;
}
.ns-home-srv-name {
  font-size: 1.2rem; letter-spacing: -0.03em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ns-home-srv-meta { color: var(--muted); font-size: 0.9rem; font-family: var(--mono); }
.ns-home-srv-row {
  display: flex; align-items: center; gap: 0.45rem;
  margin-top: 0.35rem; font-weight: 700; font-size: 0.88rem;
}
.ns-home-srv-row em { margin-left: auto; font-style: normal; font-family: var(--mono); }

.ns-section { padding: 3.2rem 0; }
.ns-section h2 {
  margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em;
}
.ns-muted { color: var(--muted); }
.ns-grid-3, .ns-grid-2, .ns-grid-4 {
  display: grid; gap: 1rem; margin-top: 1.4rem;
}
.ns-grid-2 { grid-template-columns: 1fr 1fr; }
.ns-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ns-grid-4 { grid-template-columns: repeat(4, 1fr); }
.ns-grid-4 .ns-card h3 { font-size: 1.05rem; line-height: 1.25; }
.ns-grid-4 .ns-price { font-size: 1.7rem; }
.ns-card {
  background: linear-gradient(180deg, rgba(18,24,33,0.95), rgba(12,17,24,0.9));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.ns-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.ns-tool {
  background: linear-gradient(180deg, rgba(18,24,33,0.95), rgba(12,17,24,0.9));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
}
.ns-tool-ico {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 0.65rem;
  border-radius: 10px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  color: #0b120e;
  background: linear-gradient(135deg, var(--green), var(--orange));
}
.ns-tool h3 { margin: 0 0 0.3rem; font-size: 0.95rem; }
.ns-tool p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.ns-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.ns-num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #0b120e; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--green), var(--orange));
}
.ns-mock img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
}
.ns-mock figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 0.55rem; }

.ns-page-hero { padding: 3rem 0 1.2rem; }
.ns-page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; }

.ns-price-toggle {
  display: inline-flex; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.25rem; margin: 1rem 0 1.5rem; gap: 0.2rem;
}
.ns-price-toggle button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700;
  border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer;
}
.ns-price-toggle button.on { background: var(--orange); color: #1a1008; }
.ns-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; align-items: stretch; }
.ns-plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.ns-plan-featured {
  border-color: rgba(240, 138, 36, 0.55);
  box-shadow: 0 0 0 1px rgba(240,138,36,0.25), 0 20px 50px rgba(240,138,36,0.12);
  transform: translateY(-6px);
}
.ns-plan-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--orange);
}
.ns-plan h2 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.ns-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ns-price small { font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.ns-price-alt { color: var(--muted); font-size: 0.88rem; }
.ns-plan ul { margin: 0.4rem 0 1rem; padding: 0; list-style: none; flex: 1; }
.ns-plan li {
  padding: 0.38rem 0 0.38rem 1.3rem; position: relative; color: #d5dbe4; font-size: 0.94rem;
}
.ns-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.ns-year-only { display: none; }
body.show-year .ns-month-only { display: none; }
body.show-year .ns-year-only { display: inline; }

.ns-faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.2rem 1rem; margin-bottom: 0.6rem;
}
.ns-faq summary {
  cursor: pointer; font-weight: 700; padding: 0.9rem 0; list-style: none;
}
.ns-faq summary::-webkit-details-marker { display: none; }
.ns-faq details p { margin: 0 0 1rem; color: var(--muted); }

.ns-form, .ns-legal { max-width: 720px; }
.ns-legal h2 { margin: 2rem 0 0.6rem; font-size: 1.2rem; }
.ns-legal p, .ns-legal li { color: var(--muted); }
.ns-legal ul { padding-left: 1.2rem; }
.ns-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.ns-field label { font-weight: 650; font-size: 0.9rem; }
.ns-field input, .ns-field textarea, .ns-field select {
  font: inherit; color: var(--text); background: #0a0e14;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 0.75rem 0.9rem; outline: none; width: 100%;
}
.ns-field textarea { min-height: 160px; resize: vertical; }
.ns-field input:focus, .ns-field textarea:focus, .ns-field select:focus {
  border-color: rgba(94, 234, 138, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 234, 138, 0.12);
}
.ns-check {
  display: flex; align-items: center; gap: 0.55rem;
  margin: 0.2rem 0 0.55rem; cursor: pointer; font-weight: 650; font-size: 0.92rem;
  user-select: none;
}
.ns-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--green); cursor: pointer; }
.ns-flash { margin: 1rem 0; padding: 0.85rem 1rem; border-radius: 12px; font-weight: 600; }
.ns-flash-ok { background: rgba(94,234,138,0.12); border: 1px solid rgba(94,234,138,0.3); }
.ns-flash-err { background: rgba(255,107,122,0.12); border: 1px solid rgba(255,107,122,0.3); }

.ns-footer {
  margin-top: 3rem; border-top: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.9); padding: 2.4rem 0 1.4rem;
}
.ns-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.8rem;
}
.ns-footer h3 { margin: 0 0 0.6rem; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ns-footer a { display: block; color: #c9d0da; text-decoration: none; font-size: 0.92rem; margin: 0.28rem 0; }
.ns-footer a:hover { color: var(--green); }
.ns-footer p { color: var(--muted); font-size: 0.9rem; }
.ns-logo-foot { margin-bottom: 0.7rem; }
.ns-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: space-between;
  font-size: 0.88rem; color: var(--muted);
}
.ns-footer-copy a { display: inline; color: inherit; }

.ns-cta-band {
  margin: 2rem 0; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(94,234,138,0.1), rgba(240,138,36,0.1));
  border: 1px solid var(--line);
}

code, .ns-mono { font-family: var(--mono); font-size: 0.9em; }
.ns-code {
  background: #0a0e14; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; font-family: var(--mono); font-size: 0.86rem; color: #c8d0da;
}

@media (max-width: 1200px) {
  .ns-price-grid, .ns-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ns-hero-grid, .ns-dl-hero-grid, .ns-grid-3, .ns-grid-4, .ns-price-grid, .ns-footer-grid, .ns-grid-2 {
    grid-template-columns: 1fr;
  }
  .ns-tools { grid-template-columns: 1fr 1fr; }
  .ns-plan-featured { transform: none; }
  .ns-nav-toggle { display: inline-flex; }
  .ns-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: 0.4rem 0 0.8rem;
  }
  .ns-nav.open { display: flex; }
  .ns-header-inner { flex-wrap: wrap; }
  .ns-hero { padding-top: 2.4rem; }
  .ns-slider-stage { aspect-ratio: 4 / 3; border-radius: 16px; }
  .ns-slider-thumbs { grid-template-columns: repeat(4, 1fr); }
  .ns-thumb img { height: 52px; }
  .ns-slider-btn { width: 38px; height: 38px; font-size: 1.35rem; }
}
@media (max-width: 560px) {
  .ns-tools { grid-template-columns: 1fr; }
}

.ns-auth-or {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 1.1rem 0 0.85rem; color: var(--muted); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.ns-auth-or::before, .ns-auth-or::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}
.ns-google-btn, a.ns-google-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  width: auto; max-width: 100%; box-sizing: border-box;
  padding: 0.72rem 1.15rem; border-radius: 12px;
  background: #ffffff !important; color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  border: 1px solid #dadce0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); font-weight: 700; text-decoration: none;
}
.ns-form > .ns-google-btn, .ns-form > a.ns-google-btn { width: 100%; display: flex; }
.ns-google-btn:hover { filter: brightness(0.97); background: #f8f9fa !important; }
.ns-google-btn.is-off, a.ns-google-btn.is-off {
  opacity: 0.45; pointer-events: none; cursor: not-allowed; filter: none;
}
.ns-google-btn svg { flex-shrink: 0; }
.ns-google-btn span,
a.ns-google-btn span {
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}
.ns-auth-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.7rem; }
.ns-badge-auth {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: 999px; padding: 0.18rem 0.55rem;
}
.ns-badge-local { background: #2a3140; color: #c5ccd6; }
.ns-badge-google { background: rgba(66,133,244,0.18); color: #8ab4f8; }
.ns-badge-both { background: rgba(94,234,138,0.16); color: var(--green); }
.ns-google-card h3 { margin: 0 0 0.3rem; }
.ns-google-card h4 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.ns-google-steps { color: var(--muted); padding-left: 1.2rem; line-height: 1.55; }
.ns-google-steps li { margin: 0.4rem 0; }
.ns-google-steps code {
  display: inline-block; margin-top: 0.15rem;
  background: #0a0e14; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.15rem 0.45rem; color: #c8d0da;
}
.ns-help { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

.ns-dl-hero { padding: 3.4rem 0 2.2rem; }
.ns-dl-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.2rem; align-items: center;
}
.ns-dl-hero h1 {
  margin: 0 0 0.55rem; font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  letter-spacing: -0.04em; line-height: 1.02;
}
.ns-dl-hero .ns-sub {
  margin: 0 0 0.85rem; font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 650; color: #d7dde6;
}
.ns-dl-ready { color: var(--green); font-weight: 700; margin: 0 0 1rem; }
.ns-dl-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.95rem;
  min-width: min(100%, 22rem);
  margin-top: 0.35rem;
  padding: 1rem 1.35rem 1.15rem;
  border-radius: 18px; text-decoration: none; color: #07140c;
  background: linear-gradient(135deg, #5eea8a 0%, #2ecc71 55%, #f08a24 160%);
  box-shadow: 0 16px 40px rgba(46, 204, 113, 0.28), 0 0 0 1px rgba(94,234,138,0.25);
  isolation: isolate;
}
.ns-dl-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ns-dl-btn.is-off,
span.ns-dl-btn.is-off {
  background: linear-gradient(135deg, #3d4450, #2a3038);
  color: #9aa3b0;
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
  transform: none;
}
.ns-dl-btn.is-off:hover { filter: none; transform: none; }
.ns-dl-btn.is-off .ns-dl-orb {
  animation: none;
  background: rgba(255,255,255,0.08);
  color: #8b95a7;
}
.ns-dl-btn.is-off .ns-dl-orb svg { animation: none; }
.ns-dl-btn.is-off .ns-dl-shine,
.ns-dl-btn.is-off .ns-dl-bar { display: none; }
.ns-btn.is-off, span.ns-btn.is-off {
  background: #3d4450 !important;
  color: #9aa3b0 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  pointer-events: none;
}
.ns-dl-orb {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center; color: #0b120e;
  background: rgba(255,255,255,0.22);
  animation: ns-dl-pulse 1.8s ease-in-out infinite;
}
.ns-dl-orb svg { animation: ns-dl-arrow 1.15s ease-in-out infinite; }
.ns-dl-txt { display: flex; flex-direction: column; gap: 0.12rem; z-index: 1; }
.ns-dl-txt strong { font-size: 1.12rem; letter-spacing: -0.02em; }
.ns-dl-txt small { font-family: var(--mono); font-size: 0.72rem; opacity: 0.78; font-weight: 700; }
.ns-dl-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.38) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: ns-dl-shine 2.8s ease-in-out infinite;
}
.ns-dl-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: rgba(7,20,12,0.18); overflow: hidden;
}
.ns-dl-bar i {
  display: block; height: 100%; width: 0;
  background: #0b120e;
}
.ns-dl-btn.is-busy .ns-dl-bar i { animation: ns-dl-fill 1.6s ease forwards; }
.ns-dl-btn.is-busy .ns-dl-orb { animation: ns-dl-spin 0.9s linear infinite; }
.ns-dl-pick {
  position: fixed; inset: 0; z-index: 80;
  display: none; place-items: center; padding: 1.2rem;
  background: rgba(4, 7, 11, 0.72);
  backdrop-filter: blur(8px);
}
.ns-dl-pick.is-on { display: grid; }
.ns-dl-pick-card {
  width: min(100%, 28rem);
  background: #121821;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.3rem 1.15rem;
}
.ns-dl-pick-card h2 { margin: 0 0 0.35rem; font-size: 1.35rem; letter-spacing: -0.03em; }
.ns-dl-pick-card p { margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.ns-dl-mirrors { display: grid; gap: 0.7rem; }
.ns-dl-mirror {
  display: flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0c1118;
}
.ns-dl-mirror:hover {
  border-color: rgba(94, 234, 138, 0.45);
  background: #141c28;
}
.ns-dl-mirror strong { display: block; font-size: 1.02rem; }
.ns-dl-mirror small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 0.12rem; }
.ns-dl-mirror-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 0.78rem;
  background: rgba(94, 234, 138, 0.14); color: var(--green);
}
.ns-dl-mirror.is-host .ns-dl-mirror-ico {
  background: rgba(240, 138, 36, 0.16); color: var(--orange);
}
.ns-dl-pick-x {
  display: block; width: 100%; margin-top: 0.85rem;
  background: none; border: 0; color: var(--muted);
  cursor: pointer; font: inherit; padding: 0.45rem;
}
.ns-dl-pick-x:hover { color: var(--text); }
.ns-dl-secure {
  margin: 0.75rem 0 0.35rem; font-size: 0.82rem; font-weight: 700;
  color: var(--green); letter-spacing: 0.02em;
}
.ns-dl-stage {
  position: relative; margin: 0;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.ns-dl-stage img { display: block; width: 100%; height: auto; }
.ns-dl-glow {
  position: absolute; inset: 12% 8% auto; height: 50%; z-index: 0; pointer-events: none;
  filter: blur(42px);
  background: radial-gradient(circle, rgba(94,234,138,0.35), rgba(240,138,36,0.18) 60%, transparent 70%);
}
.ns-dl-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.4rem;
}
.ns-dl-gallery figure { margin: 0; }
.ns-dl-gallery img {
  width: 100%; border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ns-dl-gallery figure:hover img { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.38); }
.ns-dl-gallery figcaption { color: var(--muted); font-size: 0.86rem; margin-top: 0.55rem; }
.ns-dl-tools { margin-top: 1.2rem; }
.ns-dl-log { color: #d7dde6; white-space: pre-wrap; }
.ns-dl-meta { padding-top: 0.4rem; }
@keyframes ns-dl-arrow {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(4px); }
}
@keyframes ns-dl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.28); }
  50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
@keyframes ns-dl-shine {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}
@keyframes ns-dl-fill {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes ns-dl-spin {
  to { transform: rotate(360deg); }
}

.ns-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0b1220;
  background: linear-gradient(135deg, #ffd36a 0%, #f08a24 55%, #ff6b3d 100%);
  box-shadow: 0 0 0 1px rgba(255, 211, 106, 0.35), 0 10px 28px rgba(240, 138, 36, 0.28);
}
@keyframes nsSoonPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 138, 36, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(240, 138, 36, 0); }
}
.ns-mapper-hero { padding-bottom: 2.2rem; }
.ns-pause-sign {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.35rem;
  width: 100%;
  margin: 0 0 0.4rem;
  padding: 1.35rem 1.6rem 1.45rem;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: rotate(-1.2deg);
  background:
    linear-gradient(135deg, rgba(18, 12, 6, 0.92), rgba(12, 17, 24, 0.94)),
    repeating-linear-gradient(-42deg, rgba(255, 211, 106, 0.14) 0 14px, transparent 14px 28px);
  border: 2px solid rgba(255, 211, 106, 0.5);
  box-shadow:
    0 0 0 1px rgba(255, 107, 61, 0.22),
    0 22px 55px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(240, 138, 36, 0.22);
}
.ns-pause-sign::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 211, 106, 0.18), transparent 35%, transparent 65%, rgba(255, 107, 61, 0.16));
  pointer-events: none;
}
.ns-pause-sign-bars {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex-shrink: 0;
}
.ns-pause-sign-bars i {
  display: block;
  width: 0.72rem;
  height: 2.6rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffe9a8, #f08a24 55%, #ff6b3d);
  box-shadow: 0 0 16px rgba(240, 138, 36, 0.45);
}
.ns-pause-sign strong {
  font-size: clamp(2.15rem, 6.4vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  background: linear-gradient(92deg, #fff1c4 0%, #ffd36a 28%, #f08a24 68%, #ff6b3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(240, 138, 36, 0.28));
}
@media (max-width: 640px) {
  .ns-pause-sign {
    flex-direction: column;
    text-align: center;
    padding: 1.15rem 1rem 1.2rem;
    transform: none;
  }
  .ns-pause-sign-bars i { height: 2rem; width: 0.58rem; }
}
.ns-mapper-shot {
  margin: 0; position: relative;
}
.ns-mapper-shot::before {
  content: ""; position: absolute; inset: 8% 4%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(240, 138, 36, 0.28), transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(94, 234, 138, 0.18), transparent 50%);
  filter: blur(28px); z-index: 0; pointer-events: none;
}
.ns-mapper-shot img {
  position: relative; z-index: 1;
  width: 100%; display: block; border-radius: 18px;
  border: 1px solid rgba(94, 234, 138, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
.ns-mapper-lock {
  padding: 1.6rem 1.55rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--line2);
  background:
    linear-gradient(160deg, rgba(240, 138, 36, 0.12), rgba(94, 234, 138, 0.06) 55%, rgba(12, 17, 24, 0.92));
}
.ns-mapper-lock h2 { margin: 0 0 0.45rem; }
.ns-mapper-plans { margin-top: 0.2rem; }
.ns-mapper-plans .ns-price { margin: 0.35rem 0 0.45rem; }

@media (max-width: 960px) {
  .ns-dl-gallery { grid-template-columns: 1fr; }
  .ns-dl-hero { padding-top: 2.2rem; }
}

/* Background music control */
.ns-music {
  position: fixed;
  top: 0.85rem;
  right: 0.9rem;
  z-index: 80;
  display: flex;
  align-items: center;
}
.ns-music-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f4f7fb;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.ns-music-btn:hover {
  background: rgba(10, 14, 22, 0.58);
  border-color: rgba(240,138,36,0.45);
}
.ns-music-btn.is-paused { opacity: 0.92; }
.ns-music-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 14px;
}
.ns-music-wave i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffd36a, #f08a24);
  height: 40%;
  animation: nsMusicBars 0.9s ease-in-out infinite;
}
.ns-music-wave i:nth-child(2) { height: 75%; animation-delay: .15s; }
.ns-music-wave i:nth-child(3) { height: 55%; animation-delay: .3s; }
.ns-music-btn.is-paused .ns-music-wave i {
  animation: none;
  height: 35%;
  opacity: 0.55;
}
@keyframes nsMusicBars {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
@media (max-width: 720px) {
  .ns-music {
    top: 4.15rem;
    right: 0.75rem;
    z-index: 45;
  }
  .ns-music-label { display: none; }
  .ns-music-btn { padding: 0.5rem; }
}

/* CS 1.6 live servers directory */
.ns-srv-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: end;
  margin: 1rem 0 1.2rem;
}
.ns-srv-toolbar .ns-field { margin: 0; min-width: 10rem; flex: 1; }
.ns-srv-toolbar .ns-check { margin: 0 0.4rem 0.55rem; }
.ns-srv-list { display: grid; gap: 0.75rem; }
.ns-srv-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1.1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
}
.ns-srv-card:hover { border-color: rgba(94,234,138,0.35); }
a.ns-srv-card { color: inherit; }
.ns-srv-dot {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}
.ns-srv-dot.on { background: #5eea8a; color: #5eea8a; }
.ns-srv-dot.off { background: #ff6b7a; color: #ff6b7a; }
.ns-srv-dot.wait { background: #f08a24; color: #f08a24; }
.ns-srv-name { margin: 0; font-size: 1.08rem; letter-spacing: -0.02em; }
.ns-srv-meta { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.86rem; }
.ns-srv-addr {
  font-family: var(--mono); font-size: 0.82rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.ns-srv-side { text-align: right; min-width: 7.5rem; }
.ns-srv-bar {
  height: 7px; border-radius: 99px; background: #161c26; overflow: hidden; margin: 0.35rem 0 0.25rem;
}
.ns-srv-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #5eea8a, #f08a24);
}
.ns-badge-vac { color: #8ab4f8; border-color: rgba(138,180,248,0.35); }
.ns-badge-off { color: var(--danger); border-color: rgba(255,107,122,0.35); }
.ns-badge-on { color: var(--green); }
.ns-srv-hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.2rem; align-items: start;
}
.ns-srv-connect {
  font-family: var(--mono); font-size: 0.95rem;
  background: #0a0e14; border: 1px dashed rgba(94,234,138,0.35);
  border-radius: 12px; padding: 0.75rem 0.9rem; margin: 0.8rem 0;
}
.ns-srv-chart {
  width: 100%; height: 120px; display: block;
}
.ns-srv-players { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.ns-srv-players-scroll {
  max-height: 14.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 0.6rem;
  padding-right: 0.3rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(94,234,138,0.45) rgba(255,255,255,0.06);
}
.ns-srv-players-scroll .ns-srv-players { margin: 0; }
.ns-srv-players-scroll::-webkit-scrollbar { width: 8px; }
.ns-srv-players-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}
.ns-srv-players-scroll::-webkit-scrollbar-thumb {
  background: rgba(94,234,138,0.4);
  border-radius: 8px;
}
.ns-srv-players li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem;
  padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
}
.ns-srv-empty {
  padding: 2rem 1.2rem; text-align: center; color: var(--muted);
}
.ns-srv-page { padding-bottom: 0.4rem; }
.ns-trk {
  display: grid;
  grid-template-columns: 132px minmax(0, 1.15fr) minmax(220px, 0.9fr);
  gap: 0;
  background:
    linear-gradient(180deg, rgba(18,24,33,0.96), rgba(10,14,20,0.98));
  border: 1px solid rgba(94,234,138,0.2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  min-height: 214px;
}
.ns-trk-art {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem; padding: 1.1rem 0.8rem;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(240,138,36,0.22), transparent 62%),
    linear-gradient(180deg, #141a24, #0a0e14);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ns-trk-art img { width: 56px; height: 56px; border-radius: 14px; }
.ns-trk-sil { width: 92px; height: 124px; display: block; filter: drop-shadow(0 10px 18px rgba(94,234,138,0.18)); }
.ns-trk-game {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange2); text-align: center; line-height: 1.25;
}
.ns-trk-stats { padding: 1rem 1.15rem 1.05rem; }
.ns-trk-cell-wide { margin-bottom: 0.75rem; }
.ns-trk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.1rem;
}
.ns-trk-lbl {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b95a7;
  margin-bottom: 0.12rem;
}
.ns-trk-val {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.98rem; font-weight: 700; color: #fff; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ns-trk-val.is-on { color: var(--green); }
.ns-trk-val.is-off { color: var(--danger); }
.ns-trk-mono { font-family: var(--mono); font-size: 0.9rem; font-weight: 600; }
.ns-trk-graph {
  padding: 0.85rem 1rem 0.75rem;
  background: linear-gradient(180deg, #0d121a, #0a0e14);
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; min-width: 0;
}
.ns-trk-svg { width: 100%; height: 118px; display: block; margin-top: 0.15rem; }
.ns-trk-empty { margin: 1.4rem 0 0.6rem; font-size: 0.86rem; }
.ns-trk-brand {
  margin: 0.15rem 0 0;
  text-align: right;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--green), var(--orange2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ns-trk-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; margin: 1rem 0 0.35rem;
}
.ns-trk-links, .ns-trk-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
}
.ns-trk-actions form { margin: 0; }
.ns-srv-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ns-srv-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.ns-srv-link:hover { transform: translateY(-1px); }
.ns-srv-link-dc {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(88,101,242,0.28);
}
.ns-srv-link-dc:hover { filter: brightness(1.08); color: #fff; }
.ns-srv-link-static { cursor: default; transform: none; }
.ns-srv-link-web {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}
.ns-srv-link-web:hover { border-color: rgba(94,234,138,0.4); color: var(--text); }
.ns-srv-desc { margin: 0.85rem 0 0.25rem; color: var(--text); font-size: 1.02rem; }
.ns-srv-meta-line { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.88rem; }
.ns-score { padding: 0.7rem 0.7rem 0.85rem; }
.ns-score-title {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.15rem 0.45rem 0.65rem;
}
.ns-score-title h3 { margin: 0; font-size: 1.02rem; }
.ns-score-title span { font-family: var(--mono); color: var(--muted); font-size: 0.92rem; }
.ns-score-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #0b1017;
}
.ns-score-col { min-width: 0; }
.ns-score-col.is-t { border-right: 1px solid rgba(255,255,255,0.08); }
.ns-score-col header {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.62rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ns-score-col header strong {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}
.ns-score-col header em {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.72;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ns-score-col.is-t header {
  background: linear-gradient(90deg, rgba(194,58,58,0.42), rgba(194,58,58,0.08));
  color: #ff9a9a;
}
.ns-score-col.is-ct header {
  background: linear-gradient(90deg, rgba(58,111,194,0.42), rgba(58,111,194,0.08));
  color: #9cbcff;
}
.ns-score-col header span {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: #fff;
  margin-left: auto;
}
.ns-score-table { padding: 0 0 0.35rem; }
.ns-score-th,
.ns-score-tr {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) 3.2rem 4.2rem;
  gap: 0.4rem;
  align-items: center;
  padding: 0.32rem 0.75rem;
  font-size: 0.86rem;
}
.ns-score-th {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ns-score-tr:nth-child(odd) { background: rgba(255,255,255,0.015); }
.ns-score-tr:hover { background: rgba(255,255,255,0.045); }
.ns-score-tr span:nth-child(1),
.ns-score-th span:nth-child(1) { color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.ns-score-tr span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-score-tr span:nth-child(3),
.ns-score-tr span:nth-child(4),
.ns-score-th span:nth-child(3),
.ns-score-th span:nth-child(4) {
  font-family: var(--mono);
  text-align: right;
}
.ns-score-tr span:nth-child(3) { color: #e8eefc; font-weight: 700; }
.ns-score-tr span:nth-child(4) { color: var(--muted); }
.ns-score-col.is-t .ns-score-tr span:nth-child(3) { color: #ffb4b4; }
.ns-score-col.is-ct .ns-score-tr span:nth-child(3) { color: #b4ccff; }
.ns-score-empty { margin: 0.85rem 0.8rem 1rem; font-size: 0.86rem; }
.ns-score-spec {
  margin-top: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: #0c1118;
}
.ns-score-spec header {
  padding: 0.45rem 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ns-score-col .ns-srv-players-scroll,
.ns-score-spec .ns-srv-players-scroll { margin-top: 0; max-height: 20rem; }
@media (max-width: 720px) {
  .ns-score-board { grid-template-columns: 1fr; }
  .ns-score-col.is-t { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
.ns-srv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.ns-srv-split-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ns-srv-split-left .ns-srv-players-scroll { max-height: 11rem; }
.ns-rank-panel { min-height: 100%; }
.ns-rank-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.85rem;
  padding-bottom: 0.95rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ns-rank-hero .ns-trk-lbl { display: block; margin-bottom: 0.25rem; }
.ns-rank-num {
  margin: 0;
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #8bb4ff;
}
.ns-rank-hero.is-top .ns-rank-num { color: #f08a24; }
.ns-rank-hero .ns-muted { margin: 0.4rem 0 0; font-size: 0.86rem; }
.ns-rank-hero .ns-mode-chips { margin: 0; justify-content: flex-end; }
.ns-rank-sub { margin: 0 0 0.45rem; font-size: 0.92rem; }
.ns-rank-list { list-style: none; margin: 0; padding: 0; }
.ns-rank-list li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.42rem 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}
.ns-rank-list li span { font-family: var(--mono); color: var(--muted); }
.ns-rank-list li a,
.ns-rank-list li strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
}
.ns-rank-list li a:hover { color: #5eea8a; }
.ns-rank-list li em { font-style: normal; font-family: var(--mono); color: var(--muted); }
.ns-rank-list li.is-me {
  background: rgba(240,138,36,0.1);
  border-radius: 8px;
  border-bottom-color: transparent;
}
.ns-rank-list li.is-me span,
.ns-rank-list li.is-me em { color: #f08a24; }
.ns-mode-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
}
.ns-mode-chips li {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
@media (max-width: 860px) {
  .ns-srv-split { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .ns-trk { grid-template-columns: 1fr; }
  .ns-trk-art {
    flex-direction: row; justify-content: flex-start; gap: 0.85rem;
    padding: 0.85rem 1rem; border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .ns-trk-graph { border-left: 0; border-top: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 860px) {
  .ns-srv-card, .ns-srv-hero { grid-template-columns: 1fr; }
  .ns-srv-side { text-align: left; }
  .ns-trk-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Chai IA Bot (left floating messenger) —— */
#nsChai {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 90;
  font-family: var(--font);
  color: var(--text);
}
.ns-chai-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(94, 234, 138, 0.35);
  background: linear-gradient(145deg, rgba(18, 24, 33, 0.95), rgba(7, 9, 13, 0.98));
  color: var(--green);
  box-shadow: 0 12px 36px rgba(0,0,0,.45), 0 0 0 1px rgba(240,138,36,.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ns-chai-fab:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(240, 138, 36, 0.55);
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 24px rgba(94,234,138,.18);
}
.ns-chai-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(94, 234, 138, 0.35);
  animation: nsChaiPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes nsChaiPulse {
  0% { transform: scale(0.92); opacity: .7; }
  100% { transform: scale(1.25); opacity: 0; }
}
#nsChai.is-open .ns-chai-fab-pulse { display: none; }

.ns-chai-panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 1.5rem));
  height: min(540px, calc(100vh - 6.5rem));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(14, 18, 26, 0.96), rgba(8, 10, 14, 0.98));
  border: 1px solid rgba(94, 234, 138, 0.22);
  box-shadow: var(--shadow), 0 0 0 1px rgba(240,138,36,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.ns-chai-panel[hidden] { display: none !important; }

.ns-chai-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
  padding: .75rem .85rem;
  background: linear-gradient(90deg, rgba(94,234,138,.12), rgba(240,138,36,.1));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ns-chai-head-left {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  flex: 1 1 auto;
}
.ns-chai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(94,234,138,.12);
  border: 1px solid rgba(94,234,138,.28);
  flex-shrink: 0;
}
.ns-chai-head-left strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.15;
}
.ns-chai-head-left small {
  color: var(--muted);
  font-size: .72rem;
}
.ns-chai-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .4rem;
  max-width: 68%;
  flex: 0 1 auto;
}
.ns-chai-agent {
  border: 1px solid rgba(240,138,36,.4);
  background: rgba(240,138,36,.14);
  color: #ffd9a8;
  font: inherit;
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.2;
  min-height: 30px;
  padding: .4rem .6rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.ns-chai-agent:hover { background: rgba(240,138,36,.24); }
.ns-chai-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.ns-chai-x:hover { color: var(--text); background: rgba(255,255,255,.05); }

.ns-chai-msgs {
  flex: 1;
  overflow-y: auto;
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(94,234,138,.06), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(240,138,36,.05), transparent 45%);
}
.ns-chai-row {
  display: flex;
  margin: .1rem 0;
}
.ns-chai-user { justify-content: flex-end; }
.ns-chai-bot { justify-content: flex-start; }
.ns-chai-bub {
  max-width: 90%;
  padding: .7rem .85rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.5;
  word-break: break-word;
}
.ns-chai-content {
  min-width: 0;
}
.ns-chai-content p {
  margin: 0;
}
.ns-chai-content p + p {
  margin-top: .55rem;
}
.ns-chai-content ul,
.ns-chai-content ol {
  margin: .4rem 0 .15rem 1.2rem;
  padding: 0;
}
.ns-chai-content li {
  padding-left: .15rem;
}
.ns-chai-content li + li {
  margin-top: .25rem;
}
.ns-chai-bot .ns-chai-bub {
  background: rgba(18, 24, 33, 0.95);
  border: 1px solid rgba(94,234,138,.18);
  border-bottom-left-radius: 5px;
  color: var(--text);
}
.ns-chai-user .ns-chai-bub {
  background: linear-gradient(135deg, rgba(94,234,138,.28), rgba(46,204,113,.18));
  border: 1px solid rgba(94,234,138,.35);
  border-bottom-right-radius: 5px;
  color: #eefcf3;
}
.ns-chai-bub p { margin: 0; }
.ns-chai-bub p + p { margin-top: .35rem; }
.ns-chai-bub a {
  color: var(--orange2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ns-chai-img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  border-radius: 10px;
  margin-bottom: .4rem;
  object-fit: cover;
}

.ns-chai-typing .ns-chai-bub {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: .7rem .9rem;
}
.ns-chai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: .5;
  animation: nsChaiDots 1s infinite ease-in-out;
}
.ns-chai-typing span:nth-child(2) { animation-delay: .15s; }
.ns-chai-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes nsChaiDots {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.ns-chai-chips[hidden],
#nsChai.is-pawn .ns-chai-chips,
.ns-chai-panel.is-pawn .ns-chai-chips {
  display: none !important;
}
.ns-chai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .15rem .75rem .55rem;
}
.ns-chai-chips button {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  padding: .28rem .55rem;
  border-radius: 999px;
  cursor: pointer;
}
.ns-chai-chips button:hover {
  color: var(--text);
  border-color: rgba(94,234,138,.35);
  background: rgba(94,234,138,.08);
}

.ns-chai-handoff {
  padding: .65rem .85rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(240,138,36,.06);
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.ns-chai-handoff[hidden] { display: none !important; }
.ns-chai-handoff p {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
}
.ns-chai-handoff input,
.ns-chai-handoff textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(0,0,0,.25);
  color: var(--text);
  font: inherit;
  font-size: .85rem;
  padding: .45rem .6rem;
  resize: vertical;
}
.ns-chai-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}
.ns-chai-ghost {
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  cursor: pointer;
}
.ns-chai-link {
  font-size: .75rem;
  color: var(--orange2);
  margin-left: auto;
}

.ns-chai-emoji {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .15rem;
  padding: .45rem .55rem;
  max-height: 130px;
  overflow-y: auto;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.28);
}
.ns-chai-emoji[hidden] { display: none !important; }
.ns-chai-emoji button {
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1.4;
  cursor: pointer;
  border-radius: 8px;
  padding: .15rem;
}
.ns-chai-emoji button:hover { background: rgba(255,255,255,.08); }

.ns-chai-preview {
  position: relative;
  padding: .4rem .75rem 0;
}
.ns-chai-preview[hidden] { display: none !important; }
.ns-chai-preview img {
  display: block;
  max-height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(94,234,138,.25);
}
.ns-chai-preview button {
  position: absolute;
  top: .2rem;
  left: calc(.75rem + 56px);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.7);
  color: #fff;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1;
}

.ns-chai-input {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .55rem .6rem .7rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(10, 12, 18, 0.85);
}
.ns-chai-input input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  padding: .55rem .85rem;
  outline: none;
}
.ns-chai-input input[type="text"]:focus {
  border-color: rgba(94,234,138,.4);
  box-shadow: 0 0 0 2px rgba(94,234,138,.12);
}
.ns-chai-ico {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
}
.ns-chai-ico:hover { color: var(--green); background: rgba(94,234,138,.08); }
.ns-chai-send {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #5eea8a 0%, #2ecc71 55%, #f08a24 160%);
  color: #07110a;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(94,234,138,.28);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  padding: 0 .55rem;
}
.ns-chai-handoff .ns-chai-send {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: .45rem .85rem;
}
.ns-chai-send:hover { filter: brightness(1.06); }

@media (max-width: 720px) {
  #nsChai {
    left: .65rem;
    bottom: .75rem;
  }
  .ns-chai-panel {
    width: min(100vw - 1.1rem, 360px);
    height: min(72vh, 520px);
    bottom: 66px;
  }
  .ns-chai-head-actions {
    max-width: 70%;
  }
  .ns-chai-agent {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ns-chai-fab {
    width: 52px;
    height: 52px;
  }
}

/* === Chai Pawn + Releases (ns3) === */
#nsChai.is-pawn .ns-chai-panel,
.ns-chai-panel.is-pawn {
  width: min(640px, calc(100vw - 1.2rem));
  height: min(580px, calc(100vh - 5.5rem));
}
.ns-chai-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.ns-chai-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.ns-chai-pawn {
  border: 1px solid rgba(94,234,138,.4);
  background: rgba(94,234,138,.1);
  color: #b8ffd0;
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  padding: .35rem .55rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.ns-chai-pawn.is-on,
.ns-chai-pawn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(94,234,138,.35), rgba(240,138,36,.25));
  border-color: rgba(240,138,36,.55);
  color: #fff;
}
.ns-chai-side {
  width: 204px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ns-chai-side[hidden] { display: none !important; }
.ns-chai-side-h {
  padding: .45rem .5rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
}
.ns-chai-side-h span { min-width: 0; }
.ns-chai-hist-sel,
.ns-chai-side-tools .ns-chai-hist-del {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font: inherit;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  padding: .2rem .4rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.ns-chai-hist-sel:hover,
.ns-chai-side-tools .ns-chai-hist-del:hover { color: var(--text); }
.ns-chai-side-tools {
  padding: .35rem .5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: flex-end;
}
.ns-chai-side-tools[hidden] { display: none !important; }
.ns-chai-hist-pick { display: flex; align-items: flex-start; padding-top: .1rem; }
.ns-chai-hist-pick input { width: auto; margin: 0; accent-color: #5eea8a; cursor: pointer; }
.ns-chai-hist-acts { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.ns-chai-hist-del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: rgba(255,107,122,.14);
  border: 1px solid rgba(255,107,122,.35);
  color: #ffc4cb;
  cursor: pointer;
}
.ns-chai-hist-del:hover { filter: brightness(1.08); }
.ns-chai-side-list {
  flex: 1;
  overflow-y: auto;
  padding: .45rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ns-chai-side-empty {
  margin: .4rem;
  font-size: .72rem;
  color: var(--muted);
}
.ns-chai-hist-row {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .4rem .45rem;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.ns-chai-hist-meta strong {
  display: block;
  font-size: .72rem;
  word-break: break-all;
}
.ns-chai-hist-meta small {
  color: var(--muted);
  font-size: .65rem;
}
.ns-chai-hist-dl,
.ns-chai-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: rgba(94,234,138,.16);
  border: 1px solid rgba(94,234,138,.35);
  color: #c8ffe0;
  text-decoration: none;
}
.ns-chai-dl { margin-top: .45rem; }
.ns-chai-hist-dl:hover,
.ns-chai-dl:hover { filter: brightness(1.08); }
.ns-chai-sma-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 3.4rem;
  height: 36px;
  padding: 0 .85rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 220, 140, .75);
  background: linear-gradient(180deg, #fff1c4 0%, #ffd36a 38%, #f08a24 100%);
  color: #2a1604 !important;
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  box-shadow:
    0 0 0 1px rgba(255, 230, 160, .35),
    0 6px 18px rgba(240, 138, 36, .42),
    inset 0 1px 0 rgba(255,255,255,.65);
  cursor: pointer;
  animation: nsChaiSmaShine 2.2s ease-in-out infinite;
}
.ns-chai-sma-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.ns-chai-sma-btn.is-on {
  border-color: rgba(160, 255, 190, .7);
  background: linear-gradient(180deg, #e8ffd4 0%, #8ef0a8 42%, #2ecc71 100%);
  color: #063214 !important;
  box-shadow:
    0 0 0 1px rgba(180, 255, 200, .35),
    0 6px 18px rgba(46, 204, 113, .35),
    inset 0 1px 0 rgba(255,255,255,.6);
}
@keyframes nsChaiSmaShine {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,230,160,.35), 0 6px 18px rgba(240,138,36,.38), inset 0 1px 0 rgba(255,255,255,.65); }
  50% { box-shadow: 0 0 0 1px rgba(255,240,190,.55), 0 8px 24px rgba(255,200,80,.55), inset 0 1px 0 rgba(255,255,255,.8); }
}
.ns-chai-sma-box {
  position: relative;
  margin: .35rem .7rem .15rem;
  padding: .75rem .85rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(240,138,36,.4);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,210,120,.16), transparent 50%),
    linear-gradient(165deg, rgba(22,18,12,.96), rgba(10,12,16,.96));
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.ns-chai-sma-box[hidden] { display: none !important; }
.ns-chai-sma-box strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  color: #ffe7c2;
  padding-right: 1.6rem;
}
.ns-chai-sma-box p {
  margin: .35rem 0 .7rem;
  font-size: .78rem;
  color: var(--muted, #b8c0cc);
  line-height: 1.4;
}
.ns-chai-sma-box-x {
  position: absolute;
  top: .4rem;
  right: .45rem;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8c8c8;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.ns-chai-sma-box-x:hover { color: #fff; background: rgba(255,255,255,.06); }
.ns-chai-sma-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border: 1px dashed rgba(240,138,36,.55);
  border-radius: 10px;
  background: rgba(240,138,36,.1);
  color: #ffe0b0;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.ns-chai-sma-pick:hover {
  background: rgba(240,138,36,.2);
  border-style: solid;
}
.ns-chai-reset {
  border: 1px solid rgba(255,120,90,.4);
  background: rgba(255,90,70,.12);
  color: #ffc4b8;
  font: inherit;
  font-size: .65rem;
  font-weight: 700;
  padding: .35rem .55rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.ns-chai-reset:hover { background: rgba(255,90,70,.22); }
#nsChai.is-pawn .ns-chai-code { display: none !important; }
.ns-chai-dl {
  cursor: pointer;
  font: inherit;
}
.ns-chai-sma-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem 0;
  font-size: .78rem;
  color: #ffd9a8;
}
.ns-chai-sma-chip[hidden] { display: none !important; }
.ns-chai-sma-chip span {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(240,138,36,.14);
  border: 1px solid rgba(240,138,36,.35);
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ns-chai-sma-chip button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
}
.ns-chai-code {
  margin: .55rem 0;
  padding: .6rem .7rem;
  border-radius: 10px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(94,234,138,.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
  color: #d7ffe8;
}
.ns-chai-auth {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
  align-items: center;
}
.ns-chai-auth .ns-chai-send {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: .4rem .75rem;
  text-decoration: none;
  color: #07110a;
}
.ns-chai-auth .ns-chai-ghost {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 720px) {
  #nsChai.is-pawn .ns-chai-panel,
  .ns-chai-panel.is-pawn {
    width: min(100vw - 1.1rem, 420px);
    height: min(78vh, 560px);
  }
  .ns-chai-side { width: 132px; }
  .ns-chai-pawn { max-width: 5.5rem; overflow: hidden; text-overflow: ellipsis; }
}
.ns-chai-tokens {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-width: 7.6rem;
  padding: .2rem .55rem .2rem .28rem;
  border-radius: 999px;
  border: 1px solid rgba(94,234,138,.45);
  background:
    radial-gradient(circle at 18% 40%, rgba(94,234,138,.22), transparent 55%),
    linear-gradient(135deg, rgba(18,40,28,.92), rgba(12,24,20,.88));
  color: #d8ffe8;
  box-shadow: 0 0 0 1px rgba(94,234,138,.08), 0 6px 18px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  white-space: nowrap;
  animation: nsChaiTokenPulse 2.8s ease-in-out infinite;
}
.ns-chai-tokens[hidden] { display: none !important; }
.ns-chai-token-ring {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 4px rgba(94,234,138,.45));
}
.ns-chai-token-ring-bg { stroke: rgba(255,255,255,.12); }
.ns-chai-token-ring-fg {
  stroke: #5eea8a;
  stroke-linecap: round;
  transition: stroke-dashoffset .45s ease, stroke .25s ease;
}
.ns-chai-token-meta { display: flex; flex-direction: column; line-height: 1.05; }
.ns-chai-token-meta strong {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #b8ffd0;
}
.ns-chai-token-meta small {
  font-size: .58rem;
  font-weight: 650;
  opacity: .88;
  color: rgba(220,255,235,.9);
}
.ns-chai-tokens.is-full .ns-chai-token-ring-fg { stroke: #5eea8a; }
.ns-chai-tokens.is-mid {
  border-color: rgba(240,138,36,.55);
  background:
    radial-gradient(circle at 18% 40%, rgba(240,138,36,.22), transparent 55%),
    linear-gradient(135deg, rgba(40,28,12,.92), rgba(24,16,8,.88));
}
.ns-chai-tokens.is-mid .ns-chai-token-ring-fg { stroke: #f08a24; }
.ns-chai-tokens.is-low {
  border-color: rgba(255,90,90,.55);
  background:
    radial-gradient(circle at 18% 40%, rgba(255,80,80,.2), transparent 55%),
    linear-gradient(135deg, rgba(40,12,12,.92), rgba(20,8,8,.88));
}
.ns-chai-tokens.is-low .ns-chai-token-ring-fg { stroke: #ff6b6b; }
@keyframes nsChaiTokenPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(94,234,138,.08), 0 6px 18px rgba(0,0,0,.28); }
  50% { box-shadow: 0 0 0 1px rgba(94,234,138,.2), 0 8px 22px rgba(94,234,138,.18); }
}
.ns-chai-progress {
  margin: .15rem .75rem .35rem;
  padding: .45rem .55rem .55rem;
  border-radius: 12px;
  border: 1px solid rgba(94,234,138,.2);
  background: rgba(0,0,0,.28);
}
.ns-chai-progress[hidden] { display: none !important; }
.ns-chai-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  font-size: .72rem;
  color: #c8ffe0;
  margin-bottom: .35rem;
}
.ns-chai-progress-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.ns-chai-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #5eea8a, #f08a24);
  transition: width .4s ease;
}
.ns-chai-progress-bar.is-fail { background: #ff6b6b; }
#nsChai.is-busy .ns-chai-send { opacity: .55; }
.ns-release-body p { margin: 0 0 .45rem; }
.ns-release-body ul { margin: .2rem 0 .55rem; padding-left: 1.15rem; }
.ns-release-body li { margin: .15rem 0; }
.ns-release-body h3,
.ns-release-body h4 {
  margin: .55rem 0 .3rem;
  color: var(--text);
  font-size: .95rem;
}
.ns-releases.is-compact .ns-release-card { padding: .85rem .95rem; }
.ns-releases.is-compact .ns-release-title { font-size: .98rem; }
.ns-releases-page { padding-top: .5rem; }

/* SMA gold shine — high specificity so the input bar cannot flatten it */
#nsChai .ns-chai-input .ns-chai-sma-btn {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 3.35rem;
  height: 36px !important;
  padding: 0 .9rem !important;
  border-radius: 999px !important;
  border: 1px solid #ffe7a0 !important;
  background:
    linear-gradient(180deg, #fff8d8 0%, #ffe17a 22%, #f0b429 55%, #d67a12 100%) !important;
  color: #3a2208 !important;
  font: 800 .8rem/1 var(--font, inherit) !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
  box-shadow:
    0 0 0 1px rgba(255, 230, 150, .45),
    0 0 16px rgba(255, 196, 64, .55),
    0 5px 12px rgba(200, 110, 10, .4),
    inset 0 1px 0 rgba(255,255,255,.8),
    inset 0 -2px 3px rgba(140, 70, 0, .28);
  cursor: pointer;
  z-index: 1;
}
#nsChai .ns-chai-input .ns-chai-sma-btn::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 42%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.15) 35%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.15) 65%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg);
  animation: nsChaiSmaSweep 2.1s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
#nsChai .ns-chai-input .ns-chai-sma-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 240, 180, .65),
    0 0 22px rgba(255, 210, 80, .7),
    0 6px 14px rgba(200, 110, 10, .45),
    inset 0 1px 0 rgba(255,255,255,.9);
}
#nsChai .ns-chai-input .ns-chai-sma-btn.is-on,
#nsChai .ns-chai-input .ns-chai-sma-btn[aria-expanded="true"] {
  background:
    linear-gradient(180deg, #fff6c8 0%, #ffd45c 25%, #f0a020 58%, #c86a0c 100%) !important;
  color: #3a2208 !important;
}
@keyframes nsChaiSmaSweep {
  0% { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: translateX(280%) skewX(-18deg); opacity: 1; }
  56%, 100% { transform: translateX(280%) skewX(-18deg); opacity: 0; }
}

#nsChai:not(.is-pawn) .ns-chai-sma-btn,
#nsChai:not(.is-pawn) .ns-chai-sma-box,
#nsChai:not(.is-pawn) .ns-chai-sma-chip,
#nsChai .ns-chai-input .ns-chai-sma-btn[hidden],
#nsChai .ns-chai-sma-box[hidden],
#nsChai .ns-chai-sma-chip[hidden] {
  display: none !important;
}

#nsChai .ns-chai-content a.ns-chai-go {
  display: inline-flex;
  align-items: center;
  margin: .25rem .25rem 0 0;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(94,234,138,.45);
  background: rgba(94,234,138,.16);
  color: #c8ffe0 !important;
  font-weight: 700;
  font-size: .78rem;
  text-decoration: none !important;
  pointer-events: auto !important;
  cursor: pointer;
}
#nsChai .ns-chai-content a.ns-chai-go:hover {
  background: rgba(94,234,138,.28);
}
/* Home updates slider */
#actualizaciones .ns-upd-box{position:relative;max-width:680px;margin:1.1rem 0 0;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(0,0,0,.18));box-shadow:0 16px 40px rgba(0,0,0,.28);overflow:hidden}
#actualizaciones .ns-upd-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}
#actualizaciones .ns-upd-track::-webkit-scrollbar{display:none}
#actualizaciones .ns-upd-card{min-width:100%;scroll-snap-align:start;padding:1.25rem 1.35rem 1.1rem;box-sizing:border-box}
#actualizaciones .ns-upd-meta{display:flex;align-items:center;gap:.7rem;margin-bottom:.55rem}
#actualizaciones .ns-upd-ver{display:inline-flex;align-items:center;padding:.18rem .55rem;border-radius:999px;background:linear-gradient(90deg,#f3c14b,#d4a017);color:#1a1406;font:700 .75rem/1.2 ui-sans-serif,system-ui;letter-spacing:.02em}
#actualizaciones .ns-upd-card time{color:rgba(255,255,255,.55);font-size:.82rem}
#actualizaciones .ns-upd-card h3{margin:0 0 .55rem;font-size:1.15rem}
#actualizaciones .ns-upd-body{color:rgba(255,255,255,.82);font-size:.95rem;line-height:1.45}
#actualizaciones .ns-upd-body ul{margin:.35rem 0 0;padding-left:1.1rem}
#actualizaciones .ns-upd-body li{margin:.22rem 0}
#actualizaciones .ns-upd-nav{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.55rem .8rem .75rem;border-top:1px solid rgba(255,255,255,.06)}
#actualizaciones .ns-upd-arrow{width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:1.3rem;line-height:1;cursor:pointer}
#actualizaciones .ns-upd-arrow:hover{background:rgba(243,193,75,.22)}
#actualizaciones .ns-upd-dots{display:flex;gap:.4rem}
#actualizaciones .ns-upd-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.25);cursor:pointer}
#actualizaciones .ns-upd-dot.is-on{background:#f3c14b;width:18px;border-radius:999px}

/* ns26 chai input */
#nsChai.notranslate,
#nsChai [translate="no"] { }
.ns-chai-input textarea {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  max-height: 96px;
  resize: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  line-height: 1.35;
  padding: .55rem .85rem;
  outline: none;
}
.ns-chai-input textarea:focus {
  border-color: rgba(94,234,138,.45);
}
#nsChai.is-busy .ns-chai-input textarea { caret-color: #5eea8a; }

/* ns29 chai confirm */
.ns-chai-modal {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 8, 12, .58);
  backdrop-filter: blur(10px);
}
.ns-chai-modal[hidden] { display: none !important; }
.ns-chai-modal-card {
  width: min(100%, 320px);
  padding: 1.2rem 1.15rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 150, 170, .28);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 120, 140, .16), transparent 52%),
    linear-gradient(165deg, rgba(32, 16, 22, .98), rgba(10, 12, 16, .98));
  box-shadow: 0 22px 48px rgba(0,0,0,.5);
  text-align: center;
}
.ns-chai-modal-ico {
  width: 44px;
  height: 44px;
  margin: 0 auto .65rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(255, 90, 110, .14);
  border: 1px solid rgba(255, 120, 140, .3);
}
.ns-chai-modal-card strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffe8ec;
}
.ns-chai-modal-card p {
  margin: .45rem 0 1rem;
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(255,255,255,.68);
}
.ns-chai-modal-acts {
  display: flex;
  gap: .5rem;
  justify-content: center;
}
.ns-chai-modal-acts .ns-chai-ghost {
  min-width: 7.2rem;
}
.ns-chai-modal-yes {
  min-width: 7.2rem;
  border: 0;
  border-radius: 999px;
  padding: .48rem .9rem;
  font: inherit;
  font-weight: 800;
  color: #2a0a10;
  cursor: pointer;
  background: linear-gradient(180deg, #ffd0d6 0%, #ff8a9a 42%, #e23d55 100%);
  box-shadow: 0 8px 18px rgba(226, 61, 85, .32);
}
.ns-chai-modal-yes:hover { filter: brightness(1.06); }

/* v1.0.4: slider with 6 shots, feature area, benefits */
.ns-slider-thumbs { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 860px) { .ns-slider-thumbs { grid-template-columns: repeat(3, 1fr); } }
.ns-dl-gallery { align-items: start; }
.ns-dl-gallery img { aspect-ratio: 16 / 10; object-fit: contain; background: #05070a; height: auto; }
.ns-v104 { display: grid; gap: 1.6rem; margin-top: 1.4rem; }
.ns-v104-item {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 1.4rem; align-items: center;
  padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(12, 16, 22, 0.6);
}
.ns-v104-text h3 { margin: 0 0 0.5rem; }
.ns-v104-text p { margin: 0; color: var(--muted); line-height: 1.6; }
.ns-v104-shots { display: grid; gap: 0.9rem; }
.ns-v104-shots.is-pair { grid-template-columns: 1fr 1fr; }
.ns-v104-shots.is-single { grid-template-columns: minmax(0, 320px); justify-content: center; }
.ns-v104-shots figure { margin: 0; }
.ns-v104-shots img {
  display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3); background: #05070a;
}
.ns-v104-shots figcaption { color: var(--muted); font-size: 0.8rem; margin-top: 0.45rem; line-height: 1.4; }
.ns-v104-fix { margin-top: 1rem; }
.ns-benefits { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-top: 1.1rem; }
.ns-benefits-title { color: var(--orange2); font-size: 0.9rem; letter-spacing: 0.04em; margin-right: 0.2rem; }
.ns-benefits-dl { margin: 0.9rem 0 0.4rem; }
@media (max-width: 860px) {
  .ns-v104-item { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ns-v104-shots.is-pair { grid-template-columns: 1fr; }
}

/* v1.0.4 b: gaming monitor frame for the screenshots slider */
.ns-monitor { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.ns-monitor-bezel {
  position: relative; padding: 12px 12px 10px;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #1a1f27 0%, #0c0f14 60%, #090b0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 34px rgba(94, 234, 138, 0.18),
    0 0 70px rgba(240, 138, 36, 0.10),
    0 30px 70px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ns-monitor-bezel::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 20px 20px 8px 8px;
  background: linear-gradient(120deg, rgba(94,234,138,0.55), rgba(240,138,36,0.45) 45%, rgba(94,234,138,0.5) 90%);
  filter: blur(6px); opacity: 0.55;
}
.ns-monitor .ns-slider-stage {
  border-radius: 6px; border: 1px solid #000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
  background: #05070a; aspect-ratio: 16 / 10; min-height: 220px;
}
.ns-monitor .ns-slide img { object-fit: contain; background: radial-gradient(ellipse at 50% 40%, #0b1016, #040507 75%); }
.ns-monitor-chin {
  position: relative; height: 26px; margin: 0 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #0d1015, #07090c);
  border: 1px solid rgba(255,255,255,0.05); border-top: 0; border-radius: 0 0 14px 14px;
}
.ns-monitor-brand { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: #6b7585; font-weight: 700; }
.ns-monitor-brand b { color: var(--green); font-weight: 800; }
.ns-monitor-led {
  position: absolute; right: 18px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
.ns-monitor-stand { display: flex; flex-direction: column; align-items: center; }
.ns-monitor-neck {
  width: 13%; min-width: 70px; height: 46px;
  background: linear-gradient(90deg, #07090c, #1b2029 45%, #0b0e12);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.ns-monitor-base {
  width: 34%; min-width: 170px; height: 12px; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #1c222b, #0a0c10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.6), 0 6px 26px rgba(94, 234, 138, 0.22), 0 0 50px rgba(240,138,36,0.12);
}
.ns-showcase .ns-slider-glow { inset: 4% 4% auto; height: 70%; }
@media (max-width: 860px) {
  .ns-monitor-bezel { padding: 7px 7px 6px; border-radius: 12px 12px 4px 4px; }
  .ns-monitor .ns-slider-stage { aspect-ratio: 4 / 3; border-radius: 4px; }
  .ns-monitor-chin { height: 18px; }
  .ns-monitor-brand { font-size: 0.55rem; }
  .ns-monitor-neck { height: 26px; }
  .ns-monitor-base { height: 8px; }
}

/* Open source bullets */
.ns-v104-bul { margin: 0.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.ns-v104-bul li { position: relative; padding-left: 1.4rem; color: #d7dde6; font-size: 0.93rem; }
.ns-v104-bul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Lightbox */
img.ns-lb-zoom { cursor: zoom-in; }
html.ns-lb-open, html.ns-lb-open body { overflow: hidden; }
.ns-lb {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; align-items: center; justify-content: center;
  padding: 3.2rem 4.2rem 2.6rem;
  background: rgba(3, 5, 8, 0.9); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.2s ease;
}
.ns-lb[hidden] { display: none; }
.ns-lb.is-on { opacity: 1; }
.ns-lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.ns-lb-img {
  display: block; max-width: min(1600px, 100%); max-height: calc(100vh - 8.5rem);
  width: auto; height: auto; object-fit: contain; border-radius: 10px;
  border: 1px solid rgba(94, 234, 138, 0.25);
  box-shadow: 0 0 40px rgba(94, 234, 138, 0.15), 0 30px 80px rgba(0,0,0,0.7);
  background: #05070a;
}
.ns-lb-cap { color: #d7dde6; font-size: 0.92rem; text-align: center; max-width: 60rem; }
.ns-lb-x, .ns-lb-nav {
  position: absolute; border: 1px solid rgba(255,255,255,0.18); background: rgba(10, 14, 20, 0.75);
  color: #fff; cursor: pointer; border-radius: 50%; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.ns-lb-x { top: 14px; right: 16px; width: 44px; height: 44px; font-size: 1.8rem; }
.ns-lb-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 2rem; }
.ns-lb-nav[hidden] { display: none; }
.ns-lb-prev { left: 14px; }
.ns-lb-next { right: 14px; }
.ns-lb-x:hover, .ns-lb-nav:hover { border-color: var(--green); background: rgba(94, 234, 138, 0.16); }
.ns-lb-count { position: absolute; top: 24px; left: 20px; color: #8b95a7; font-size: 0.85rem; letter-spacing: 0.08em; }
@media (max-width: 700px) {
  .ns-lb { padding: 3.6rem 0.6rem 1.2rem; }
  .ns-lb-img { max-height: calc(100vh - 9rem); }
  .ns-lb-nav { top: auto; bottom: 14px; transform: none; width: 44px; height: 44px; }
  .ns-lb-prev { left: calc(50% - 56px); }
  .ns-lb-next { right: calc(50% - 56px); }
  .ns-lb { padding-bottom: 4.6rem; }
}

/* ==========================================================================
   TV / CRT effect for .ns-monitor screens — faithful port of CrossUpload s.php
   (crt_para_web/efecto.css + efecto.js). Classes prefixed ns-crt-, keyframes nsCrt*.
   Values/timings unchanged: glitch 0.52s every 5s (first at 2.8s), power cycle every 15s
   (off 0.52s -> black 0.38s -> on 0.7s). Layers injected by nexstudio.js; pointer-events:none.
   ========================================================================== */
.ns-crt-screen { position: relative; overflow: hidden; border-radius: 6px; background: #070b14; }
.ns-crt-inner { position: relative; z-index: 1; }
@media (max-width: 860px) { .ns-crt-screen { border-radius: 4px; } }
.ns-monitor-led { animation: nsCrtLive 1.6s ease-in-out infinite; }
@keyframes nsCrtLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-monitor-led { animation: none !important; }
}
.ns-crt-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.06;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.4) 2px,
    rgba(0,0,0,0.4) 3px
  );
}
.ns-crt-gloss {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.12) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.03) 100%);
}
/* ========== Efecto TV: se va la senal cada ~5s (archivo + carpeta) ========== */
/* Respaldo: backups/upload.css.before-tv-glitch · di volver al anterior */
.ns-crt-static {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      rgba(0,0,0,0.55) 2px,
      rgba(0,0,0,0.55) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(255,255,255,0.04) 1px,
      transparent 2px
    ),
    radial-gradient(ellipse 120% 80% at 50% 50%, rgba(180,220,255,0.12), transparent 70%);
  mix-blend-mode: screen;
}
.ns-crt-static::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.55;
  animation: nsCrtNoiseMove 0.12s steps(2) infinite;
}
.ns-crt-static::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,255,255,0.18) 45%,
    rgba(0,180,255,0.12) 55%,
    transparent 100%
  );
  opacity: 0.85;
  animation: nsCrtBarSweep 0.45s linear infinite;
}
.ns-crt-screen.ns-crt-glitching .ns-crt-static {
  visibility: visible;
  animation: nsCrtStaticFlash 0.52s ease-in-out forwards;
}
.ns-crt-screen.ns-crt-glitching .ns-crt-inner {
  animation: nsCrtContentGlitch 0.52s ease-in-out;
  filter: contrast(1.4) brightness(1.15) saturate(0.3);
}
.ns-crt-screen.ns-crt-glitching .ns-crt-scan {
  opacity: 0.35;
  animation: nsCrtScanBoost 0.52s linear;
}
.ns-crt-screen.ns-crt-glitching {
  animation: nsCrtScreenShake 0.52s ease-in-out;
}
@keyframes nsCrtStaticFlash {
  0% { opacity: 0; }
  8% { opacity: 0.95; }
  22% { opacity: 0.35; }
  35% { opacity: 1; }
  55% { opacity: 0.5; }
  70% { opacity: 0.92; }
  88% { opacity: 0.4; }
  100% { opacity: 0; }
}
@keyframes nsCrtContentGlitch {
  0%, 100% { transform: translate(0,0) skewX(0); opacity: 1; }
  10% { transform: translate(-3px, 1px) skewX(-1deg); opacity: 0.55; }
  20% { transform: translate(4px, -2px) skewX(1.2deg); opacity: 0.35; }
  35% { transform: translate(-2px, 0) skewX(0.5deg); opacity: 0.7; }
  50% { transform: translate(2px, 1px); opacity: 0.25; }
  65% { transform: translate(-1px, -1px); opacity: 0.6; }
  80% { transform: translate(1px, 0); opacity: 0.85; }
}
@keyframes nsCrtScreenShake {
  0%, 100% { transform: translate(0,0); }
  15% { transform: translate(-1px, 1px); }
  30% { transform: translate(2px, -1px); }
  45% { transform: translate(-2px, 0); }
  60% { transform: translate(1px, 1px); }
  75% { transform: translate(0, -1px); }
}
@keyframes nsCrtNoiseMove {
  0% { transform: translate(0,0); }
  50% { transform: translate(-12px, 8px); }
  100% { transform: translate(8px, -10px); }
}
@keyframes nsCrtBarSweep {
  0% { top: -30%; }
  100% { top: 100%; }
}
@keyframes nsCrtScanBoost {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .ns-crt-static,
  .ns-crt-screen.ns-crt-glitching .ns-crt-inner,
  .ns-crt-screen.ns-crt-glitching {
    animation: none !important;
  }
  .ns-crt-screen.ns-crt-glitching .ns-crt-static {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}


/* ========== Efecto TV 2: apagar / encender cada ~10s ========== */
/* Respaldo con solo efecto 5s: backups/upload.css.before-tv-power */
.ns-crt-power {
  position: absolute;
  inset: 0;
  z-index: 25;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: #000;
}
.ns-crt-power::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%) scaleY(1);
  background: #000;
  box-shadow: 0 0 0 0 rgba(180, 220, 255, 0);
}
.ns-crt-power::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: #cfe8ff;
  box-shadow: 0 0 18px 6px rgba(180, 220, 255, 0.85);
  opacity: 0;
}

/* Apagado CRT: colapsa a línea horizontal y se apaga */
.ns-crt-screen.ns-crt-powering-off .ns-crt-power {
  visibility: visible;
  opacity: 1;
  background: transparent;
}
.ns-crt-screen.ns-crt-powering-off .ns-crt-power::before {
  animation: nsCrtCrtOff 0.52s ease-in forwards;
}
.ns-crt-screen.ns-crt-powering-off .ns-crt-inner,
.ns-crt-screen.ns-crt-powering-off .ns-crt-scan,
.ns-crt-screen.ns-crt-powering-off .ns-crt-gloss,
.ns-crt-screen.ns-crt-powering-off .ns-crt-static {
  animation: nsCrtFadeOutQuick 0.35s ease-in forwards;
}
.ns-crt-screen.ns-crt-powering-off {
  animation: nsCrtDimFrame 0.52s ease-in forwards;
}

/* Pantalla en negro total */
.ns-crt-screen.ns-crt-powered-off .ns-crt-power {
  visibility: visible;
  opacity: 1;
  background: #000;
}
.ns-crt-screen.ns-crt-powered-off .ns-crt-inner,
.ns-crt-screen.ns-crt-powered-off .ns-crt-scan,
.ns-crt-screen.ns-crt-powered-off .ns-crt-gloss {
  opacity: 0 !important;
  visibility: hidden;
}

/* Encendido CRT: punto → línea → imagen */
.ns-crt-screen.ns-crt-powering-on .ns-crt-power {
  visibility: visible;
  opacity: 1;
  background: #000;
  animation: nsCrtPowerBgOut 0.7s ease-out forwards;
}
.ns-crt-screen.ns-crt-powering-on .ns-crt-power::after {
  opacity: 1;
  animation: nsCrtCrtDot 0.7s ease-out forwards;
}
.ns-crt-screen.ns-crt-powering-on .ns-crt-power::before {
  animation: nsCrtCrtOn 0.7s ease-out forwards;
}
.ns-crt-screen.ns-crt-powering-on .ns-crt-inner {
  animation: nsCrtFadeInContent 0.7s ease-out forwards;
  visibility: visible;
  opacity: 0;
}
.ns-crt-screen.ns-crt-powering-on .ns-crt-scan,
.ns-crt-screen.ns-crt-powering-on .ns-crt-gloss {
  animation: nsCrtFadeInContent 0.7s ease-out 0.15s forwards;
  opacity: 0;
}

@keyframes nsCrtCrtOff {
  0% {
    transform: translate(-50%, -50%) scaleY(1) scaleX(1);
    background: rgba(200, 230, 255, 0.15);
    box-shadow: 0 0 40px 10px rgba(140, 200, 255, 0.25);
    opacity: 1;
  }
  45% {
    transform: translate(-50%, -50%) scaleY(0.04) scaleX(1.02);
    background: #e8f4ff;
    box-shadow: 0 0 24px 4px rgba(200, 230, 255, 0.75);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scaleY(0.012) scaleX(0.55);
    background: #fff;
    box-shadow: 0 0 16px 2px rgba(255, 255, 255, 0.9);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scaleY(0.004) scaleX(0.02);
    background: #9ecbff;
    box-shadow: 0 0 0 0 transparent;
    opacity: 0;
  }
}
@keyframes nsCrtCrtOn {
  0% {
    transform: translate(-50%, -50%) scaleY(0.004) scaleX(0.02);
    background: #9ecbff;
    opacity: 0.9;
  }
  25% {
    transform: translate(-50%, -50%) scaleY(0.015) scaleX(0.7);
    background: #e8f4ff;
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scaleY(0.05) scaleX(1.02);
    background: rgba(200, 230, 255, 0.35);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scaleY(1) scaleX(1);
    background: transparent;
    opacity: 0;
  }
}
@keyframes nsCrtCrtDot {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  12% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
  35% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  55% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}
@keyframes nsCrtPowerBgOut {
  0%, 45% { background: #000; opacity: 1; }
  100% { background: transparent; opacity: 0; visibility: hidden; }
}
@keyframes nsCrtFadeOutQuick {
  0% { opacity: 1; filter: brightness(1); }
  100% { opacity: 0; filter: brightness(2.2); }
}
@keyframes nsCrtFadeInContent {
  0% { opacity: 0; filter: brightness(2.5) contrast(1.3); }
  40% { opacity: 0.55; filter: brightness(1.4); }
  100% { opacity: 1; filter: none; }
}
@keyframes nsCrtDimFrame {
  0% { filter: brightness(1); }
  100% { filter: brightness(0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .ns-crt-power,
  .ns-crt-screen.ns-crt-powering-off .ns-crt-inner,
  .ns-crt-screen.ns-crt-powering-on .ns-crt-inner {
    animation: none !important;
  }
  .ns-crt-screen.ns-crt-powering-off .ns-crt-power,
  .ns-crt-screen.ns-crt-powered-off .ns-crt-power,
  .ns-crt-screen.ns-crt-powering-on .ns-crt-power {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}
/* Forum CTA on changelog cards (home slider + /actualizaciones) */
.ns-upd-forum-wrap,
.ns-release-body .ns-upd-forum-wrap {
  margin: 1rem 0 0.15rem;
}
a.ns-upd-forum-btn {
  --ns-forum-gold-a: #fff1c4;
  --ns-forum-gold-b: #ffd36a;
  --ns-forum-gold-c: #f08a24;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 100%;
  padding: .72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 120, .55);
  background: linear-gradient(180deg, var(--ns-forum-gold-a) 0%, var(--ns-forum-gold-b) 42%, var(--ns-forum-gold-c) 100%);
  color: #1a1406 !important;
  font: 700 .92rem/1.2 Outfit, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow:
    0 0 0 1px rgba(255, 210, 120, .18),
    0 0 22px rgba(240, 138, 36, .45),
    0 8px 22px rgba(0, 0, 0, .35);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}
a.ns-upd-forum-btn:hover,
a.ns-upd-forum-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(255, 220, 140, .35),
    0 0 34px rgba(240, 138, 36, .7),
    0 12px 28px rgba(0, 0, 0, .4);
  outline: none;
}
a.ns-upd-forum-btn:active {
  transform: translateY(0);
  filter: brightness(.98);
}
.ns-upd-forum-btn__ico {
  flex: 0 0 auto;
  font-size: 1.05rem;
  line-height: 1;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35));
}
.ns-upd-forum-btn__txt {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ns-upd-forum-btn__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,.12) 38%,
    rgba(255,255,255,.72) 50%,
    rgba(255,255,255,.12) 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: ns-upd-forum-shine 3.8s ease-in-out infinite;
}
@keyframes ns-upd-forum-shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@media (max-width: 520px) {
  a.ns-upd-forum-btn {
    width: 100%;
    justify-content: center;
    padding: .78rem 1rem;
    font-size: .88rem;
    box-sizing: border-box;
  }
  .ns-upd-forum-btn__txt { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-upd-forum-btn__shine { animation: none; opacity: .2; transform: none; }
  a.ns-upd-forum-btn,
  a.ns-upd-forum-btn:hover,
  a.ns-upd-forum-btn:focus-visible {
    transition: none;
    transform: none;
  }
}
/* Home showcase: YouTube tutorial inside the same monitor frame */
.ns-slider--video { max-width: 1080px; margin: 0 auto; }
.ns-slider--video .ns-slider-bar { display: none; }
.ns-monitor--video .ns-slider-stage,
.ns-monitor--video .ns-video-stage {
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #05070a;
  position: relative;
  width: 100%;
}
.ns-monitor-bezel--video .ns-crt-screen,
.ns-monitor-bezel--video .ns-crt-inner {
  display: block;
  width: 100%;
}
.ns-home-yt {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 180px;
  border: 0;
  background: #000;
}
/* Keep CRT overlays from stealing clicks on YouTube controls */
.ns-monitor-bezel--video .ns-crt-scan,
.ns-monitor-bezel--video .ns-crt-gloss,
.ns-monitor-bezel--video .ns-crt-static,
.ns-monitor-bezel--video .ns-crt-power {
  pointer-events: none !important;
}
@media (max-width: 860px) {
  .ns-monitor--video .ns-slider-stage,
  .ns-monitor--video .ns-video-stage {
    aspect-ratio: 16 / 9;
  }
}

/* MIT license page */
.ns-license-scope {
  margin: 0 0 1.35rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(243,193,75,0.28);
  background: rgba(243,193,75,0.08);
  color: var(--text, #f2f4f7) !important;
  font-weight: 600;
  line-height: 1.45;
}
.ns-license-body {
  margin: 0 0 1.5rem;
}
.ns-license-body .ns-license-name {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text, #f2f4f7);
}
.ns-license-body .ns-license-copy {
  font-weight: 700;
  color: var(--text, #f2f4f7) !important;
}
.ns-license-body p {
  margin: 0 0 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ns-license-body .ns-license-warranty {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: #c9d0da !important;
}
.ns-license-note {
  margin: 1.6rem 0 0;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(8,10,14,0.55);
}
.ns-license-note > p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.ns-license-en {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  padding: 0.15rem 0.85rem 0.15rem;
}
.ns-license-en summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0;
  font-weight: 700;
  color: var(--orange, #f08a24);
  font-size: 0.92rem;
}
.ns-license-en summary::-webkit-details-marker { display: none; }
.ns-license-en summary::before {
  content: "▸ ";
  color: var(--muted);
}
.ns-license-en[open] summary::before { content: "▾ "; }
.ns-license-en[open] { padding-bottom: 0.85rem; }
.ns-license-en .ns-license-body { margin: 0.35rem 0 0; }
.ns-license-en .ns-license-name { font-size: 1.1rem; }
@media (max-width: 480px) {
  .ns-license-scope { padding: 0.8rem 0.85rem; }
  .ns-license-body .ns-license-warranty { font-size: 0.88rem; }
}
/* Licencias hub page (licencias.php) */
.ns-lic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0.4rem 0 1.4rem;
}
.ns-lic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}
.ns-lic-card-mit {
  border-color: rgba(120,230,170,0.32);
  background: linear-gradient(140deg, rgba(120,230,170,0.16), rgba(120,180,255,0.12) 60%, rgba(12,14,20,0.6));
}
.ns-lic-card-eula {
  border-color: rgba(243,170,75,0.34);
  background: linear-gradient(140deg, rgba(243,170,75,0.18), rgba(255,120,180,0.1) 60%, rgba(12,14,20,0.6));
}
.ns-lic-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #141018;
}
.ns-lic-card-mit .ns-lic-ico { background: linear-gradient(135deg, #a8ffce, #8ec5ff); }
.ns-lic-card-eula .ns-lic-ico { background: linear-gradient(135deg, #ffd27a, #ff9ec8); }
.ns-lic-card h2 {
  margin: 0.2rem 0 0;
  font-size: 1.45rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text, #f2f4f7);
  overflow-wrap: anywhere;
}
.ns-lic-card p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.ns-lic-card .ns-lic-btn { margin-top: 0.5rem; max-width: 100%; white-space: normal; text-align: center; }
.ns-lic-help {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .ns-lic-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ns-lic-card { padding: 1.3rem 1.1rem 1.2rem; }
  .ns-lic-card h2 { font-size: 1.25rem; }
  .ns-lic-card p { font-size: 1rem; }
  .ns-lic-card .ns-lic-btn { width: 100%; }
}
