@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap");

/* romsns.xyz — light archive theme from html/ mock. Prefix nsw- only. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --nsw-page: #f0f4fb;
  --nsw-card: #ffffff;
  --nsw-card2: #e8eef8;
  --nsw-edge: #d0d8ee;
  --nsw-edge2: #a8b8d8;
  --nsw-nsp: #2563eb;
  --nsw-xci: #7c3aed;
  --nsw-ok: #16a34a;
  --nsw-ink: #111827;
  --nsw-ink2: #374151;
  --nsw-ink3: #6b7280;
  --nsw-header: #131925;
  --nsw-header-line: #252d45;
  --nsw-muted: #8899bb;
  --nsw-dim: #6b7a9a;
  --nsw-accent: #5b8cf8;
  --nsw-xci-soft: #a78bfa;
  --nsw-max: 1340px;
  --nsw-header-h: 60px;
  --nsw-font: "Inter", system-ui, sans-serif;
  --nsw-mono: "JetBrains Mono", ui-monospace, monospace;
}

html {
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

html, body {
  min-height: 100%;
  background: var(--nsw-page);
  color: var(--nsw-ink);
}

body {
  margin: 0;
  font-family: var(--nsw-font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.nsw-drawer-open,
body.nsw-search-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: var(--nsw-nsp); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--nsw-nsp);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--nsw-font);
  font-weight: 700;
  color: var(--nsw-ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 1.875rem; line-height: 1.1; }
h2 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.nsw-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 0.75rem;
  background: var(--nsw-nsp);
  color: #fff;
}
.nsw-skip:focus { left: 0; }

.nsw-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nsw-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.nsw-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nsw-mono { font-family: var(--nsw-mono); }

.nsw-wrap {
  width: 100%;
  max-width: var(--nsw-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.nsw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nsw-header-h);
  background: var(--nsw-header);
  border-bottom: 1px solid var(--nsw-header-line);
}

.nsw-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 100%;
  max-width: var(--nsw-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nsw-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nsw-brand:hover { text-decoration: none; }

.nsw-brand__mark { flex-shrink: 0; }

.nsw-brand__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nsw-brand__dot { color: var(--nsw-accent); }
.nsw-brand__tag {
  margin-top: 2px;
  font-family: var(--nsw-mono);
  font-size: 10px;
  color: var(--nsw-dim);
}

.nsw-header__rule {
  width: 1px;
  height: 20px;
  background: var(--nsw-header-line);
  flex-shrink: 0;
}

.nsw-nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.nsw-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--nsw-muted);
  text-decoration: none;
}
.nsw-nav__link:hover { color: #fff; text-decoration: none; }
.nsw-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nsw-header__side {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nsw-header__staff {
  display: none;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
}
.nsw-header__staff a {
  color: var(--nsw-dim);
  text-decoration: none;
}
.nsw-header__staff a:hover,
.nsw-header__staff a.is-active { color: var(--nsw-accent); text-decoration: none; }
.nsw-header__dot { color: var(--nsw-header-line); }

.nsw-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nsw-dim);
  cursor: pointer;
}
.nsw-icon-btn:hover { color: #fff; }

.nsw-menu-btn { display: inline-flex; }

@media (min-width: 1024px) {
  .nsw-nav { display: flex; }
  .nsw-header__staff { display: flex; }
  .nsw-menu-btn { display: none; }
}

/* Search panel */
.nsw-search {
  display: none;
  position: fixed;
  top: var(--nsw-header-h);
  left: 0;
  right: 0;
  z-index: 60;
  background: #1c2438;
  border-bottom: 1px solid var(--nsw-header-line);
  padding: 0.75rem 1.5rem;
}
.nsw-search.is-open { display: block; }
.nsw-search__form {
  max-width: var(--nsw-max);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}
.nsw-search__input {
  flex: 1;
  min-width: 0;
  background: #131925;
  border: 1px solid var(--nsw-header-line);
  color: #fff;
  font-family: var(--nsw-mono);
  font-size: 13px;
  padding: 0.6rem 0.75rem;
}
.nsw-search__input::placeholder { color: var(--nsw-dim); }
.nsw-search__go {
  border: 1px solid rgba(91, 140, 248, 0.4);
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  font-family: var(--nsw-mono);
  font-size: 12px;
  padding: 0 1rem;
  cursor: pointer;
}

/* Drawer */
.nsw-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 10, 24, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.nsw-drawer-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.nsw-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 201;
  width: min(18rem, 88vw);
  height: 100%;
  background: var(--nsw-header);
  border-right: 1px solid var(--nsw-header-line);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}
.nsw-drawer.is-open { transform: translateX(0); }
.nsw-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem 0 1rem;
  height: var(--nsw-header-h);
  border-bottom: 1px solid var(--nsw-header-line);
}
.nsw-drawer__nav { display: flex; flex-direction: column; padding: 0.5rem 0; }
.nsw-drawer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  color: var(--nsw-muted);
  text-decoration: none;
  font-size: 14px;
}
.nsw-drawer__link:hover,
.nsw-drawer__link.is-active { color: #fff; text-decoration: none; background: rgba(255,255,255,0.06); }

/* Main */
.nsw-main {
  flex: 1;
  padding-top: var(--nsw-header-h);
  min-height: calc(100vh - 280px);
}

.nsw-page { padding: 2.5rem 0 3rem; }

/* Footer */
.nsw-footer {
  margin-top: 5rem;
  background: var(--nsw-header);
  border-top: 1px solid var(--nsw-header-line);
  color: var(--nsw-muted);
}
.nsw-footer a { color: #aabbd4; text-decoration: none; }
.nsw-footer a:hover { color: #fff; text-decoration: none; }

.nsw-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 640px) {
  .nsw-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nsw-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}

.nsw-footer__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nsw-dim);
  margin: 0 0 1.25rem;
}
.nsw-footer__copy {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--nsw-muted);
  margin: 0 0 1.5rem;
}
.nsw-footer__list { list-style: none; margin: 0; padding: 0; }
.nsw-footer__list li { margin: 0 0 0.75rem; }
.nsw-footer__list a { font-size: 13.5px; }
.nsw-footer__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4rem;
}
.nsw-footer__dot--nsp { background: var(--nsw-accent); }
.nsw-footer__dot--xci { background: var(--nsw-xci-soft); }
.nsw-footer__stat { font-size: 13px; margin: 0 0 0.35rem; color: var(--nsw-muted); }
.nsw-footer__stat b { font-weight: 600; }
.nsw-footer__stat--nsp b { color: var(--nsw-accent); }
.nsw-footer__stat--xci b { color: var(--nsw-xci-soft); }
.nsw-footer__stat--all b { color: #fff; }

.nsw-footer__genres { margin-top: 1rem; }
.nsw-footer__genres-label {
  font-family: var(--nsw-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6a88;
  margin: 0 0 0.5rem;
}
.nsw-footer__genre {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 2px 0;
  color: #7a8fb0;
  font-size: 13px;
}
.nsw-footer__genre:hover { color: #fff; }
.nsw-footer__genre span { font-family: var(--nsw-mono); font-size: 11px; color: #4a5878; }

.nsw-status {
  margin-top: 2rem;
  padding: 1rem;
  background: #1c2438;
  border: 1px solid #2a3550;
}
.nsw-status__kicker {
  font-family: var(--nsw-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6a88;
  margin: 0 0 0.75rem;
}
.nsw-status__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 0 0 0.4rem;
  color: var(--nsw-muted);
}
.nsw-status__row b { font-family: var(--nsw-mono); font-weight: 600; }
.nsw-status__row--nsp b { color: var(--nsw-accent); }
.nsw-status__row--xci b { color: var(--nsw-xci-soft); }

.nsw-footer__legal {
  border-top: 1px solid #1e2840;
}
.nsw-footer__legal-inner {
  max-width: var(--nsw-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 640px) {
  .nsw-footer__legal-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.nsw-footer__fine {
  margin: 0;
  font-size: 12px;
  color: #5a6a88;
}
.nsw-footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.nsw-footer__links a { font-size: 12px; color: #5a6a88; }
.nsw-footer__links a:hover { color: #fff; }

/* Crumbs */
.nsw-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--nsw-mono);
  font-size: 11px;
  color: var(--nsw-ink3);
  margin: 0 0 1.5rem;
}
.nsw-crumbs a { color: var(--nsw-ink3); }
.nsw-crumbs a:hover { color: var(--nsw-ink); text-decoration: none; }
.nsw-crumbs [aria-current="page"] { color: var(--nsw-ink); }
.nsw-crumbs__sep { opacity: 0.7; }

/* Eyebrow / lead */
.nsw-kicker {
  font-family: var(--nsw-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
  margin: 0 0 0.35rem;
}
.nsw-kicker--nsp { color: var(--nsw-nsp); }
.nsw-kicker--xci { color: var(--nsw-xci); }
.nsw-countline {
  font-family: var(--nsw-mono);
  font-size: 12px;
  color: var(--nsw-ink3);
  margin: 0.5rem 0 1.5rem;
}
.nsw-lead, .nsw-prose { color: var(--nsw-ink2); font-size: 14px; line-height: 1.7; }
.nsw-prose p { margin: 0 0 0.85rem; }
.nsw-prose strong { color: var(--nsw-ink); }
.nsw-prose ul, .nsw-prose ol { margin: 0 0 0.85rem; padding-left: 1.2rem; }
.nsw-prose li { margin: 0 0 0.4rem; }
.nsw-prose a { color: var(--nsw-nsp); }
.nsw-trust { max-width: 46rem; }
.nsw-trust > .nsw-lead { margin: 0 0 1.5rem; }
.nsw-quote {
  border-left: 2px solid var(--nsw-edge2);
  padding-left: 1rem;
  margin: 0 0 2rem;
  max-width: 42rem;
  color: var(--nsw-ink2);
  font-size: 14px;
}
.nsw-quote--nsp { border-left-color: rgba(37, 99, 235, 0.4); }

/* Hero */
.nsw-hero {
  position: relative;
  overflow: hidden;
}
.nsw-hero__photo {
  position: absolute;
  inset: 0;
  background:
    url("/images/nsw-hero.jpg") center 40% / cover no-repeat,
    #060a18;
}
.nsw-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6,10,24,0.97) 0%, rgba(6,10,24,0.90) 42%, rgba(6,10,24,0.60) 72%, rgba(6,10,24,0.40) 100%);
}
.nsw-hero__inner {
  position: relative;
  padding: 2.25rem 0 2.5rem;
}
.nsw-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .nsw-hero__grid { grid-template-columns: 1fr 380px; gap: 3.5rem; }
}
.nsw-hero__live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 0.75rem;
}
.nsw-hero__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nsw-ok);
  display: inline-block;
}
.nsw-hero h1 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 0.75rem;
}
@media (min-width: 640px) {
  .nsw-hero h1 { font-size: 42px; }
}
.nsw-hero h1 em {
  font-style: normal;
  color: #60a5fa;
}
.nsw-hero__sub {
  max-width: 32rem;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin: 0 0 1.25rem;
}
.nsw-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nsw-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}
.nsw-chip svg { width: 14px; height: 14px; }
.nsw-chip--ok svg { color: #4ade80; }
.nsw-chip--nsp svg { color: #60a5fa; }
.nsw-chip--xci svg { color: #a78bfa; }

.nsw-format-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.nsw-fcard {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  color: inherit;
}
.nsw-fcard:hover { text-decoration: none; box-shadow: 0 16px 40px rgba(0,0,0,0.28); }
.nsw-fcard__visual {
  position: relative;
  min-width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  overflow: hidden;
}
.nsw-fcard__visual--nsp { background: linear-gradient(140deg, #1a3680 0%, #1d4ed8 55%, #4f8ef7 100%); }
.nsw-fcard__visual--xci { background: linear-gradient(140deg, #3b0764 0%, #7c3aed 55%, #a78bfa 100%); }
.nsw-fcard__visual svg { width: 64px; height: 64px; }
.nsw-fcard__body {
  padding: 1rem;
  min-width: 0;
  flex: 1;
  background: rgba(6,10,24,0.75);
  backdrop-filter: blur(8px);
}
.nsw-fcard__top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.nsw-fcard__top svg { margin-left: auto; width: 14px; height: 14px; color: rgba(255,255,255,0.4); }
.nsw-fcard__title { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.nsw-fcard__fact { color: rgba(255,255,255,0.6); font-size: 12px; margin: 0; }
.nsw-fcard__count {
  margin-top: 0.5rem;
  font-family: var(--nsw-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.nsw-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--nsw-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
}
.nsw-badge--sm { padding: 2px 8px; font-size: 11px; }
.nsw-badge--xs { padding: 1px 6px; font-size: 10px; }
.nsw-badge--nsp { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.nsw-badge--xci { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.nsw-badge--on-dark.nsw-badge--nsp {
  background: rgba(37,99,235,0.4);
  color: #93c5fd;
  border-color: rgba(96,165,250,0.3);
}
.nsw-badge--on-dark.nsw-badge--xci {
  background: rgba(109,40,217,0.4);
  color: #c4b5fd;
  border-color: rgba(167,139,250,0.3);
}

.nsw-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(6,10,24,0.55);
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .nsw-stats { grid-template-columns: repeat(4, 1fr); }
}
.nsw-stats__cell {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.nsw-stats__cell:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) {
  .nsw-stats__cell:nth-child(2n) { border-right: 1px solid rgba(255,255,255,0.08); }
  .nsw-stats__cell:last-child { border-right: 0; }
}
.nsw-stats__ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nsw-stats__ico--nsp { background: rgba(37,99,235,0.25); color: #60a5fa; }
.nsw-stats__ico--xci { background: rgba(109,40,217,0.25); color: #c4b5fd; }
.nsw-stats__ico--all { background: rgba(22,163,74,0.22); color: #4ade80; }
.nsw-stats__ico--host { background: rgba(217,119,6,0.22); color: #fbbf24; }
.nsw-stats__num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.nsw-stats__num--nsp { color: #60a5fa; }
.nsw-stats__lab {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
.nsw-stats__sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* Home browse */
.nsw-browse { padding: 2rem 0 3rem; }
.nsw-browse__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.nsw-browse__head h2 { margin: 0; font-size: 20px; }
.nsw-filter {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 16rem;
}
.nsw-filter svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--nsw-ink3);
  pointer-events: none;
}
.nsw-filter input,
.nsw-field__input,
.nsw-field__select,
.nsw-field__textarea,
.nsw-sort {
  width: 100%;
  background: var(--nsw-card);
  border: 1px solid var(--nsw-edge);
  color: var(--nsw-ink);
  font-size: 12px;
  padding: 0.5rem 0.75rem;
  font-family: var(--nsw-mono);
  outline: none;
}
.nsw-filter input { padding-left: 2rem; }
.nsw-filter input:focus,
.nsw-field__input:focus,
.nsw-field__select:focus,
.nsw-field__textarea:focus,
.nsw-sort:focus { border-color: var(--nsw-edge2); }
.nsw-sort { width: auto; appearance: none; padding-right: 1.5rem; }

.nsw-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--nsw-edge);
  margin: 0.75rem 0 1rem;
}
.nsw-tabs__tab {
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--nsw-ink3);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.nsw-tabs__tab:hover { color: var(--nsw-ink); text-decoration: none; border-color: var(--nsw-edge2); }
.nsw-tabs__tab.is-active { color: var(--nsw-ink); border-color: var(--nsw-ink); }
.nsw-tabs__tab.is-active.nsw-tabs__tab--nsp { color: var(--nsw-nsp); border-color: var(--nsw-nsp); }
.nsw-tabs__tab.is-active.nsw-tabs__tab--xci { color: var(--nsw-xci); border-color: var(--nsw-xci); }
.nsw-tabs__n {
  margin-left: 6px;
  font-family: var(--nsw-mono);
  font-size: 10px;
  opacity: 0.55;
}

.nsw-guide {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--nsw-card);
  border: 1px solid var(--nsw-edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 1px 2px rgba(17,24,39,0.04);
}
.nsw-guide p { margin: 0; }
.nsw-guide__title { font-size: 14px; font-weight: 600; color: var(--nsw-ink); }
.nsw-guide__sub { font-size: 13px; color: var(--nsw-ink2); margin-top: 4px; }

/* Buttons */
.nsw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--nsw-font);
}
.nsw-btn:hover { text-decoration: none; }
.nsw-btn--nsp {
  background: var(--nsw-nsp);
  color: #fff;
}
.nsw-btn--nsp:hover { background: #1d4ed8; color: #fff; }
.nsw-btn--ghost {
  background: var(--nsw-card);
  border-color: var(--nsw-edge);
  color: var(--nsw-ink2);
}
.nsw-btn--ghost:hover { border-color: var(--nsw-edge2); color: var(--nsw-ink); }
.nsw-btn--line-nsp {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.35);
  color: var(--nsw-nsp);
  font-family: var(--nsw-mono);
  font-size: 13px;
  font-weight: 600;
}
.nsw-btn--line-nsp:hover { background: rgba(37,99,235,0.16); }
.nsw-btn--line-xci {
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.35);
  color: var(--nsw-xci);
  font-family: var(--nsw-mono);
  font-size: 13px;
  font-weight: 600;
}
.nsw-btn--line-xci:hover { background: rgba(124,58,237,0.16); }
.nsw-btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nsw-dl { min-width: 8.5rem; }
.nsw-dl__face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.nsw-dl__face[hidden] { display: none; }
.nsw-dl__count {
  font-family: var(--nsw-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.nsw-dl--wait { cursor: wait; }
.nsw-dl--go { box-shadow: inset 0 0 0 1px currentColor; }
.nsw-dl__spinner {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: nsw-dl-spin 0.65s linear infinite;
  flex-shrink: 0;
  opacity: 0.7;
}
@keyframes nsw-dl-spin {
  to { transform: rotate(360deg); }
}
.nsw-dl--busy,
.nsw-dl--locked { cursor: wait; pointer-events: none; opacity: 0.92; }

/* Table */
.nsw-table-wrap {
  border: 1px solid var(--nsw-edge);
  overflow: auto;
  background: var(--nsw-card);
  box-shadow: 0 1px 2px rgba(17,24,39,0.04);
}
.nsw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.nsw-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
  border-bottom: 1px solid var(--nsw-edge);
  background: var(--nsw-card2);
  white-space: nowrap;
}
.nsw-table td {
  padding: 1rem;
  vertical-align: middle;
  border-top: 1px solid var(--nsw-edge);
}
.nsw-table tbody tr:hover { background: var(--nsw-card2); }
.nsw-table__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--nsw-ink);
}
.nsw-table__title:hover { color: var(--nsw-nsp); text-decoration: none; }
.nsw-table__excerpt {
  margin: 0.25rem 0 0;
  font-size: 12px;
  color: var(--nsw-ink3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 28rem;
}
.nsw-table__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 12px;
  color: var(--nsw-ink2);
}
.nsw-table__thumb {
  width: 52px;
  height: 70px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--nsw-card2);
}
.nsw-table--compact .nsw-table__thumb { width: 34px; height: 46px; }
.nsw-table__hide-sm { display: none; }
.nsw-table__hide-md { display: none; }
.nsw-table__hide-lg { display: none; }
@media (min-width: 640px) {
  .nsw-table__hide-sm { display: table-cell; }
}
@media (min-width: 768px) {
  .nsw-table__hide-md { display: table-cell; }
}
@media (min-width: 1024px) {
  .nsw-table__hide-lg { display: table-cell; }
}
.nsw-table__get { text-align: right; }

/* Empty */
.nsw-empty {
  border: 1px solid var(--nsw-edge);
  padding: 3.5rem 1rem;
  text-align: center;
  background: var(--nsw-card);
}
.nsw-empty p {
  margin: 0;
  font-family: var(--nsw-mono);
  font-size: 14px;
  color: var(--nsw-ink3);
}
.nsw-empty a,
.nsw-empty button {
  margin-top: 0.75rem;
  background: none;
  border: 0;
  color: var(--nsw-nsp);
  font-family: var(--nsw-mono);
  font-size: 12px;
  cursor: pointer;
}
.nsw-empty a:hover,
.nsw-empty button:hover { text-decoration: underline; }

/* Listing chrome */
.nsw-listing { display: flex; gap: 2rem; }
.nsw-aside {
  display: none;
  width: 11rem;
  flex-shrink: 0;
}
.nsw-aside__sticky { position: sticky; top: 68px; }
.nsw-aside__kicker {
  font-family: var(--nsw-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
  margin: 0 0 0.75rem;
}
.nsw-aside ul { list-style: none; margin: 0; padding: 0; }
.nsw-aside a,
.nsw-aside .nsw-aside__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  font-size: 12px;
  color: var(--nsw-ink3);
  text-decoration: none;
}
.nsw-aside a:hover { color: var(--nsw-ink); background: var(--nsw-card); text-decoration: none; }
.nsw-aside a.is-active,
.nsw-aside .nsw-aside__all.is-active {
  color: var(--nsw-nsp);
  background: rgba(37,99,235,0.08);
}
.nsw-aside .nsw-n { font-family: var(--nsw-mono); font-size: 10px; color: var(--nsw-ink3); }
.nsw-aside__hubs { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--nsw-edge); }
.nsw-maincol { flex: 1; min-width: 0; }
@media (min-width: 1024px) {
  .nsw-aside { display: block; }
}

.nsw-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
@media (min-width: 1024px) {
  .nsw-pills--mobile { display: none; }
}
.nsw-pill {
  padding: 0.35rem 0.75rem;
  font-family: var(--nsw-mono);
  font-size: 12px;
  border: 1px solid var(--nsw-edge);
  color: var(--nsw-ink3);
  text-decoration: none;
}
.nsw-pill:hover { border-color: var(--nsw-edge2); color: var(--nsw-ink); text-decoration: none; }
.nsw-pill.is-active {
  border-color: var(--nsw-nsp);
  color: var(--nsw-nsp);
  background: rgba(37,99,235,0.08);
}

.nsw-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

/* Pagination */
.nsw-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
}
.nsw-pagination__link,
.nsw-pagination__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  width: auto;
  padding: 0 0.4rem;
  height: 32px;
  font-family: var(--nsw-mono);
  font-size: 12px;
  border: 1px solid var(--nsw-edge);
  color: var(--nsw-ink3);
  text-decoration: none;
  background: var(--nsw-card);
}
.nsw-pagination__gap {
  border-style: dashed;
  cursor: pointer;
}
.nsw-pagination__gap:hover { border-color: var(--nsw-edge2); color: var(--nsw-ink); text-decoration: none; }
.nsw-pagination__link:hover { border-color: var(--nsw-edge2); color: var(--nsw-ink); text-decoration: none; }
.nsw-pagination__link.is-current {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.4);
  color: var(--nsw-nsp);
}
.nsw-pagination__range {
  margin-left: 0.75rem;
  font-family: var(--nsw-mono);
  font-size: 12px;
  color: var(--nsw-ink3);
}

/* Format hub */
.nsw-split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .nsw-split { grid-template-columns: 1fr 280px; }
}
.nsw-glow {
  border: 1px solid rgba(37,99,235,0.2);
  background: rgba(37,99,235,0.05);
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
}
.nsw-glow--xci {
  border-color: rgba(124,58,237,0.2);
  background: rgba(124,58,237,0.05);
}
.nsw-glow p { margin: 0; font-size: 14px; color: var(--nsw-ink2); }
.nsw-c-nsp { color: var(--nsw-nsp); }
.nsw-c-xci { color: var(--nsw-xci); }
.nsw-glow strong.nsw-c-nsp { color: var(--nsw-nsp); }
.nsw-glow strong.nsw-c-xci { color: var(--nsw-xci); }
.nsw-h1-xl { font-size: 32px; margin: 0 0 1.25rem; }
@media (min-width: 640px) { .nsw-h1-xl { font-size: 40px; } }
.nsw-h1-xl span.nsw-c-nsp { color: var(--nsw-nsp); }
.nsw-h1-xl span.nsw-c-xci { color: var(--nsw-xci); }

.nsw-ref {
  border: 1px solid var(--nsw-edge);
  padding: 1.25rem;
  background: var(--nsw-card);
  position: sticky;
  top: 68px;
}
.nsw-ref dl { margin: 0; }
.nsw-ref__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  margin: 0 0 0.75rem;
}
.nsw-ref__row dt { color: var(--nsw-ink3); flex-shrink: 0; }
.nsw-ref__row dd { margin: 0; font-family: var(--nsw-mono); color: var(--nsw-ink2); text-align: right; }
.nsw-ref__links { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--nsw-edge); display: flex; flex-direction: column; gap: 0.5rem; }
.nsw-ref__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  font-family: var(--nsw-mono);
  font-size: 12px;
  border: 1px solid var(--nsw-edge);
  color: var(--nsw-ink3);
  text-decoration: none;
}
.nsw-ref__link:hover { text-decoration: none; border-color: var(--nsw-edge2); color: var(--nsw-ink); }
.nsw-ref__link--nsp { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.05); color: var(--nsw-nsp); }
.nsw-ref__link--xci { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.05); color: var(--nsw-xci); }

.nsw-struct th.nsw-c-nsp { color: var(--nsw-nsp); }
.nsw-struct th.nsw-c-xci { color: var(--nsw-xci); }
.nsw-struct td:first-child { font-family: var(--nsw-mono); font-size: 12px; }
.nsw-struct--nsp td:first-child { color: var(--nsw-nsp); }
.nsw-struct--xci td:first-child { color: var(--nsw-xci); }

/* Game */
.nsw-game {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .nsw-game { grid-template-columns: 240px 1fr; }
}
.nsw-cover-col { }
.nsw-cover-sticky { position: sticky; top: 68px; }
.nsw-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #111827;
  border: 1px solid rgba(17,24,39,0.08);
  margin-bottom: 1rem;
}
.nsw-cover--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 2.25rem;
  color: rgba(255,255,255,0.7);
}
.nsw-game__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}
.nsw-game__ids {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  font-family: var(--nsw-mono);
  font-size: 12px;
  color: var(--nsw-ink3);
  margin: 0 0 1.5rem;
}
.nsw-game__ids b { color: var(--nsw-ink2); font-weight: 500; }
.nsw-side-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.nsw-side-actions .nsw-mini {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  font-family: var(--nsw-mono);
  font-size: 11px;
  border: 1px solid var(--nsw-edge);
  color: var(--nsw-ink3);
  text-decoration: none;
}
.nsw-side-actions .nsw-mini:hover { color: var(--nsw-ink); border-color: var(--nsw-edge2); text-decoration: none; }
.nsw-mini-row { display: flex; gap: 0.5rem; }

.nsw-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
}
.nsw-info-table th,
.nsw-info-table td {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--nsw-edge);
  text-align: left;
}
.nsw-info-table thead th {
  width: auto;
  border-top: 0;
  border-bottom: 1px solid var(--nsw-edge);
  background: var(--nsw-card2);
  font-family: var(--nsw-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
  white-space: nowrap;
}
.nsw-info-table thead th:first-child { width: 10rem; }
.nsw-info-table tbody tr:first-child th,
.nsw-info-table tbody tr:first-child td { border-top: 0; }
.nsw-info-table tbody th {
  width: 10rem;
  font-family: var(--nsw-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
}
.nsw-info-table td { font-family: var(--nsw-mono); font-size: 12px; color: var(--nsw-ink2); }

.nsw-related {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .nsw-related { grid-template-columns: repeat(3, 1fr); }
}
.nsw-related__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
  text-decoration: none;
}
.nsw-related__card:hover { border-color: var(--nsw-edge2); text-decoration: none; }
.nsw-related__card img {
  width: 36px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--nsw-card2);
}
.nsw-related__card p { margin: 0; font-size: 14px; font-weight: 500; color: var(--nsw-ink); }
.nsw-related__card small {
  display: block;
  font-family: var(--nsw-mono);
  font-size: 10px;
  color: var(--nsw-ink3);
}

.nsw-vt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0;
  font-size: 12px;
  color: var(--nsw-ok);
}
.nsw-vt svg { width: 16px; height: 16px; }

/* Docs */
.nsw-docs { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .nsw-docs { grid-template-columns: 200px 1fr; }
}
.nsw-toc { position: sticky; top: 68px; }
.nsw-toc ol { list-style: none; margin: 0; padding: 0; }
.nsw-toc a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  font-size: 12px;
  color: var(--nsw-ink3);
  text-decoration: none;
}
.nsw-toc a:hover { color: var(--nsw-ink); background: var(--nsw-card); text-decoration: none; }
.nsw-toc__n { font-family: var(--nsw-mono); font-size: 10px; width: 1rem; color: var(--nsw-ink3); }
.nsw-article { min-width: 0; }
.nsw-article section { margin: 0 0 3rem; }
.nsw-article h2 {
  font-size: 20px;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--nsw-edge);
  margin-bottom: 1rem;
}
.nsw-byline {
  font-family: var(--nsw-mono);
  font-size: 11px;
  color: var(--nsw-ink3);
  margin: 0 0 0.5rem;
}
.nsw-install {
  padding: 1rem;
  margin: 0 0 1rem;
}
.nsw-install--nsp { border: 1px solid rgba(37,99,235,0.2); background: rgba(37,99,235,0.05); }
.nsw-install--xci { border: 1px solid rgba(124,58,237,0.2); background: rgba(124,58,237,0.05); }
.nsw-install h3 { font-size: 14px; margin: 0 0 0.5rem; }
.nsw-install--nsp h3 { color: var(--nsw-nsp); }
.nsw-install--xci h3 { color: var(--nsw-xci); }
.nsw-install ol { margin: 0; padding-left: 1.1rem; color: var(--nsw-ink2); font-size: 14px; }
.nsw-install li { margin: 0 0 0.35rem; }

/* Forms */
.nsw-form-page { max-width: 700px; }
.nsw-form {
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
  padding: 1.5rem;
}
.nsw-field { margin: 0 0 1.25rem; }
.nsw-field__label {
  display: block;
  font-family: var(--nsw-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
  margin: 0 0 0.4rem;
}
.nsw-field__hint {
  margin: 0.25rem 0 0;
  font-family: var(--nsw-mono);
  font-size: 10px;
  color: var(--nsw-ink3);
}
.nsw-field__textarea { resize: vertical; min-height: 6rem; font-family: var(--nsw-font); }
.nsw-field--error .nsw-field__input,
.nsw-field--error .nsw-field__textarea { border-color: #b91c1c; }
.nsw-req { color: var(--nsw-nsp); }
.nsw-form-error {
  margin: 0 0 1rem;
  padding: 0.75rem;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card2);
  font-size: 13px;
}
.nsw-rules {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
  font-family: var(--nsw-mono);
  font-size: 12px;
  color: var(--nsw-ink3);
}
.nsw-rules p { margin: 0 0 0.35rem; }
.nsw-rules .nsw-rules__t { color: var(--nsw-ink2); font-weight: 500; margin-bottom: 0.5rem; }
.nsw-success { max-width: 600px; margin: 0 auto; padding: 5rem 0; text-align: center; }
.nsw-success svg { width: 48px; height: 48px; color: var(--nsw-ok); margin: 0 auto 1.25rem; }

/* 404 */
.nsw-404 {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.nsw-404__host {
  font-family: var(--nsw-mono);
  font-size: 12px;
  color: var(--nsw-nsp);
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.nsw-404__num {
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: #dbeafe;
  user-select: none;
}
@media (min-width: 640px) { .nsw-404__num { font-size: 160px; } }
.nsw-404 h1 { font-size: 22px; margin: -0.5rem 0 0.75rem; }
.nsw-404 p { color: var(--nsw-ink2); max-width: 26rem; margin: 0 auto 2.5rem; }

/* Notes / FAQ */
.nsw-note {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
}
.nsw-note__label {
  font-family: var(--nsw-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
  margin: 0 0 0.35rem;
}
.nsw-note__text { margin: 0; font-size: 14px; color: var(--nsw-ink2); }

.nsw-faq { border: 1px solid var(--nsw-edge); background: var(--nsw-card); }
.nsw-faq__row + .nsw-faq__row { border-top: 1px solid var(--nsw-edge); }
.nsw-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--nsw-ink);
  cursor: pointer;
  font-family: var(--nsw-font);
}
.nsw-faq__q:hover { background: var(--nsw-card2); }
.nsw-faq__sign {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
}
.nsw-faq__sign::before,
.nsw-faq__sign::after {
  content: "";
  position: absolute;
  background: var(--nsw-ink3);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nsw-faq__sign::before { width: 10px; height: 1.5px; }
.nsw-faq__sign::after { width: 1.5px; height: 10px; }
.nsw-faq__row.is-open .nsw-faq__sign::after { display: none; }
.nsw-faq__a {
  display: none;
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 14px;
  color: var(--nsw-ink2);
  line-height: 1.7;
  background: var(--nsw-card);
  max-width: 46rem;
}
.nsw-faq__row.is-open .nsw-faq__a { display: block; }

.nsw-section { margin: 2rem 0 0; }

/* Modules */
.aic-counter {
  margin: 0.75rem 0;
  font-family: var(--nsw-mono);
  font-size: 12px;
  color: var(--nsw-ink3);
}
.aic-counter-value { color: var(--nsw-ink); font-weight: 600; }

.aic-rating { margin: 2rem 0; }
.aic-rating-summary { margin: 0 0 0.5rem; }
.aic-rating-value { font-weight: 700; }
.aic-rating-star {
  border: 0;
  background: none;
  color: var(--nsw-edge2);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 2px;
}
.aic-rating-star--on { color: #d97706; }

.aic-comments, .aic-comment-form-wrap { margin-top: 2.5rem; }
.aic-comments-title { font-size: 17px; }
.aic-comments-empty, .aic-comment, .aic-comment-form { color: var(--nsw-ink2); font-size: 14px; }
.aic-comment-list { list-style: none; margin: 0; padding: 0; }
.aic-comment {
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
  padding: 1rem;
  margin: 0 0 0.75rem;
}
.aic-comment-form input,
.aic-comment-form textarea {
  width: 100%;
  background: var(--nsw-card);
  border: 1px solid var(--nsw-edge);
  padding: 0.5rem 0.75rem;
  font-family: var(--nsw-font);
  margin: 0 0 0.75rem;
}
.aic-comment-form button,
.aic-comment-dialog-close {
  display: inline-flex;
  padding: 0.55rem 1rem;
  background: var(--nsw-nsp);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 13px;
}
.aic-comment-decoy { position: absolute; left: -9999px; }

.aic-share {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nsw-edge);
}
.aic-share-heading {
  font-family: var(--nsw-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nsw-ink3);
}
.aic-share-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.aic-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
  color: var(--nsw-ink2);
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}
.aic-share-btn:hover { border-color: var(--nsw-edge2); color: var(--nsw-ink); text-decoration: none; }

.nsw-docs-cover {
  margin: 0 0 1.5rem;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card2);
  overflow: hidden;
}
.nsw-docs-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.nsw-slides {
  margin-top: 2rem;
}
.nsw-slides__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.nsw-slides__head h2 { margin: 0; }
.nsw-slides__sub {
  margin: 0.35rem 0 0;
  font-size: 13px;
  color: var(--nsw-ink2);
}
.nsw-slides__nav { display: flex; gap: 0.4rem; }
.nsw-slides__btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--nsw-edge);
  background: var(--nsw-card);
  color: var(--nsw-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nsw-slides__btn[data-slides="prev"] svg { transform: rotate(180deg); }
.nsw-slides__btn:hover { border-color: var(--nsw-edge2); }
.nsw-slides__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.nsw-slides__track:focus-visible {
  outline: 2px solid var(--nsw-nsp);
  outline-offset: 2px;
}
.nsw-slide {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--nsw-card);
  border: 1px solid var(--nsw-edge);
  text-decoration: none;
  color: var(--nsw-ink);
  box-shadow: 0 1px 2px rgba(17,24,39,0.04);
}
.nsw-slide:hover { text-decoration: none; border-color: var(--nsw-edge2); }
.nsw-slide__img,
.nsw-slide__ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--nsw-card2);
}
.nsw-slide__title {
  display: block;
  padding: 0.7rem 0.8rem 0.85rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 389px) {
  .nsw-wrap, .nsw-header__inner { padding-left: 1rem; padding-right: 1rem; }
  .nsw-hero h1 { font-size: 26px; }
  .nsw-slides__nav { display: none; }
}
