/* GadgetScout "Neon" look (November 2026).
   Loaded only when the site look is set to neon; the classic look never loads this file.
   Every class starts nx- and every custom property --nx-, so nothing here can collide with the
   classic stylesheet or with markup inside articles. */

@font-face { font-family: "Anybody"; src: url("../fonts/anybody-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
html.nx {
  --nx-font-display: "Anybody", "Arial Black", system-ui, sans-serif;
  --nx-font-text: "Figtree", "Segoe UI", system-ui, sans-serif;
  --nx-gutter: clamp(16px, 4vw, 40px);
  --nx-radius: 20px;
  --nx-radius-sm: 12px;
  --nx-ease: cubic-bezier(.2, .7, .2, 1);
  --nx-photo: #fff;                       /* Amazon product photos always sit on plain white, untouched */
  --nx-fs-hero: clamp(2.9rem, 1rem + 6.2vw, 6.4rem);
  --nx-fs-h1: clamp(2rem, 1.2rem + 2.7vw, 3.6rem);
  --nx-fs-h2: clamp(1.65rem, 1.2rem + 1.5vw, 2.6rem);
  --nx-head-h: 72px;
  --nx-page: #0d0822; --nx-page-ink: #f5f1ff; --nx-page-mute: #b7acdc; --nx-page-line: rgba(183, 160, 255, .2); --nx-page-accent: #22e6ff;
  --nx-band: #160d38; --nx-band-ink: #f5f1ff; --nx-band-mute: #b7acdc; --nx-band-accent: #22e6ff;
  --nx-hot: linear-gradient(115deg, #d91a7c 0%, #6a2cf0 100%); --nx-hot-ink: #fff; --nx-hot-contrast: #1c0220;
  --nx-card: #1a1142; --nx-card-ink: #f5f1ff; --nx-card-mute: #b7acdc; --nx-card-line: rgba(183, 160, 255, .22); --nx-card-accent: #22e6ff;
  --nx-card-border: 1px solid rgba(183, 160, 255, .22); --nx-card-shadow: 0 20px 40px -26px rgba(0, 0, 0, .9);
  --nx-card-hover-shadow: 0 0 0 1px #ff2e97, 0 0 34px -6px rgba(255, 46, 151, .75); --nx-card-hover-shift: 0, -3px;
  --nx-inset: #231856;
  --nx-brand: #ff2e97; --nx-brand-ink: #1c0220;
  --nx-spark: #22e6ff; --nx-spark-ink: #03202a;
  --nx-pick: #22e6ff; --nx-pick-ink: #03202a;
  --nx-buy: #c9ff2f; --nx-buy-ink: #131c00; --nx-buy-border: transparent; --nx-buy-shadow: 0 0 26px -8px rgba(201, 255, 47, .9);
  --nx-finder: #ff2e97; --nx-finder-glow: 0 0 34px rgba(255, 46, 151, .55);
  --nx-field: #150c38;
  --nx-frame-border: 1px solid rgba(255, 255, 255, .16);
  --nx-frame-shadow: 0 0 0 1px rgba(255, 46, 151, .4), 0 0 90px -14px rgba(255, 46, 151, .6), 0 0 140px -30px rgba(34, 230, 255, .45);
  --nx-page-deco: radial-gradient(900px 600px at 6% -8%, rgba(255, 46, 151, .22), transparent 62%), radial-gradient(900px 700px at 100% 18%, rgba(34, 230, 255, .14), transparent 60%);
  --nx-bar: #22e6ff;
  --nx-good: #6dffb0; --nx-bad: #ff7a9c;
}

/* -------------------------------------------------------------------- base */
/* .nx-root marks every piece of neon furniture (top strip, header, footer, dialogs, and the whole of a
   neon-built page). The element rules sit inside :where() so they weigh nothing against the classes below. */
.nx-root, .nx-root *, .nx-root *::before, .nx-root *::after { box-sizing: border-box; }
.nx-root { font: 400 1.0625rem/1.55 var(--nx-font-text); color: var(--nx-page-ink); letter-spacing: 0; -webkit-font-smoothing: antialiased; text-align: left; }
:where(.nx-root) img { max-width: 100%; display: block; }
:where(.nx-root) a { color: inherit; }
:where(.nx-root) :is(button, input, select) { font: inherit; color: inherit; }
:where(.nx-root) :is(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.nx-root) :is(ul, ol) { list-style: none; }
:where(.nx-root) :focus-visible { outline: 3px solid var(--nx-page-accent); outline-offset: 3px; border-radius: 6px; }
:where(.nx-root) [hidden] { display: none !important; }
html.nx { scroll-padding-top: calc(var(--nx-head-h) + 24px); }
/* The backdrop is one fixed layer behind the page. The classic look draws its background picture
   in the same body::before, so this simply takes its place. */
html.nx body { background: var(--nx-page) !important; }
html.nx body::before { content: "" !important; position: fixed; inset: 0; width: auto; height: auto; z-index: -2; pointer-events: none; opacity: 1 !important; background: var(--nx-page-deco), var(--nx-page) !important; }
html.nx body::after { content: none !important; }
/* a page built in the neon look from top to bottom (homepage, library) */
html.nx-native { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.nx-native body { margin: 0; color: var(--nx-page-ink); }
.nx-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nx-wrap { width: min(1280px, 100% - 2 * var(--nx-gutter)); margin-inline: auto; }
.nx-ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nx-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--nx-brand); color: var(--nx-brand-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.nx-skip:focus { top: 12px; }

.nx-display { font-family: var(--nx-font-display); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; line-height: 1; text-wrap: balance; }

/* ----------------------------------------------------------------- buttons */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1.1 var(--nx-font-text); padding: .85em 1.3em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .16s var(--nx-ease), box-shadow .16s var(--nx-ease), background-color .16s;
}
.nx-btn:hover { transform: translateY(-2px); }
.nx-btn:active { transform: translateY(0); }
.nx-btn--brand { background: var(--nx-brand); color: var(--nx-brand-ink); }
.nx-btn--buy { background: var(--nx-buy); color: var(--nx-buy-ink); border-color: var(--nx-buy-border); box-shadow: var(--nx-buy-shadow); }
.nx-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.nx-btn--solid { background: var(--nx-page-ink); color: var(--nx-solid-ink, var(--nx-page)); }
.nx-btn--sm { font-size: .9rem; padding: .65em 1em; }
.nx-btn--block { width: 100%; }
.nx-textlink { color: var(--nx-page-accent); font-weight: 700; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.nx-textlink:hover { text-decoration-thickness: 3px; }

/* A format badge: what kind of article this is */
.nx-pill {
  display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 700; line-height: 1;
  padding: .42em .7em .42em .55em; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--nx-card-ink) 9%, transparent); color: var(--nx-card-ink);
}
.nx-pill .nx-ic { width: 1.05em; height: 1.05em; color: var(--nx-card-accent); }

.nx-chip {
  display: inline-flex; align-items: center; gap: .5em; padding: .55em .95em; border-radius: 999px;
  border: 1.5px solid var(--nx-page-line); background: transparent; color: var(--nx-page-ink);
  font-size: .95rem; font-weight: 600; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.nx-chip b { font-weight: 500; color: var(--nx-page-mute); font-variant-numeric: tabular-nums; }
.nx-chip:hover { border-color: var(--nx-page-ink); }
.nx-chip[aria-pressed="true"], .nx-chip.nx-is-on { background: var(--nx-page-ink); color: var(--nx-page); border-color: var(--nx-page-ink); }
.nx-chip[aria-pressed="true"] b, .nx-chip.nx-is-on b { color: inherit; opacity: .7; }
.nx-chip[disabled] { opacity: .35; cursor: default; }

/* ---------------------------------------------------------------- eventbar */
.nx-eventbar { background: var(--nx-hot); color: var(--nx-hot-ink); font-size: .92rem; font-weight: 600; }
.nx-eventbar a { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; padding: 9px var(--nx-gutter); text-decoration: none; }
.nx-eventbar .nx-count { font-weight: 800; background: var(--nx-hot-ink); color: var(--nx-hot-contrast); padding: 3px 10px; border-radius: 999px; font-size: .82rem; }
.nx-eventbar u { text-underline-offset: .2em; }

/* ------------------------------------------------------------------ header */
.nx-site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--nx-page) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--nx-page-line);
}
.nx-head-row { display: flex; align-items: center; gap: 12px; height: var(--nx-head-h); }
.nx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 12px; }
.nx-logo-mark { width: 40px; height: 40px; color: var(--nx-page-ink); overflow: visible; }
.nx-logo-mark .nx-needle { transform-origin: 21px 21px; transform: rotate(42deg); transition: transform .9s var(--nx-ease); }
.nx-logo:hover .nx-needle { transform: rotate(402deg); }
.nx-logo-word { font-family: var(--nx-font-display); font-weight: 800; font-stretch: 118%; font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; }
.nx-logo-word span { color: var(--nx-finder); }
.nx-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nx-nav-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; color: var(--nx-page-ink);
}
.nx-nav-btn:hover, .nx-nav-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--nx-page-ink) 12%, transparent); }
.nx-nav-btn .nx-ic { width: 1em; height: 1em; transition: transform .2s var(--nx-ease); }
.nx-nav-btn[aria-expanded="true"] .nx-ic { transform: rotate(180deg); }
.nx-nav-btn.nx-is-current { box-shadow: inset 0 -3px 0 var(--nx-finder); border-radius: 8px; }
.nx-head-tools { display: flex; align-items: center; gap: 10px; }
.nx-search-btn {
  display: inline-flex; align-items: center; gap: 10px; min-width: 250px; padding: 10px 12px 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--nx-page-line); background: var(--nx-field); color: var(--nx-page-mute); font-size: .95rem; text-align: left;
}
.nx-search-btn:hover { border-color: var(--nx-page-ink); color: var(--nx-page-ink); }
.nx-search-btn span { flex: 1; }
.nx-root kbd { font: 700 .75rem/1 var(--nx-font-text); padding: 4px 7px; border-radius: 6px; border: 1px solid currentColor; opacity: .75; }
.nx-menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--nx-page-line); background: none; cursor: pointer; align-items: center; justify-content: center; }
.nx-icon-btn { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--nx-page-line); background: none; cursor: pointer; align-items: center; justify-content: center; }

.nx-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--nx-card); color: var(--nx-card-ink); border-bottom: var(--nx-card-border); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
  --nx-page-ink: var(--nx-card-ink); --nx-page-mute: var(--nx-card-mute); --nx-page-line: var(--nx-card-line); --nx-page-accent: var(--nx-card-accent);
  animation: nx-mega-in .22s var(--nx-ease);
}
@keyframes nx-mega-in { from { opacity: 0; transform: translateY(-8px); } }
.nx-mega-inner { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 40px; padding-block: 28px 34px; }
.nx-mega h3 { font-size: .9rem; font-weight: 700; color: var(--nx-card-mute); margin-bottom: 12px; }
.nx-mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 16px; }
.nx-mega-links a, .nx-mega-side a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-weight: 700;
}
.nx-mega-links a:hover, .nx-mega-side a:hover { background: var(--nx-inset); }
.nx-mega-links a b { font-weight: 500; color: var(--nx-card-mute); font-variant-numeric: tabular-nums; font-size: .9rem; }
.nx-mega-links--formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-mega-links--formats a { flex-direction: column; align-items: flex-start; gap: 2px; }
.nx-mega-links--formats a small { font-weight: 400; color: var(--nx-card-mute); font-size: .9rem; }
.nx-mega-side a { flex-direction: column; align-items: flex-start; gap: 2px; }
.nx-mega-side a small { font-weight: 400; color: var(--nx-card-mute); font-size: .88rem; }

/* -------------------------------------------------------------------- hero */
.nx-hero { padding-block: clamp(28px, 4.5vw, 64px) clamp(32px, 4vw, 56px); }
.nx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.nx-hero-copy { container-type: inline-size; }
.nx-finder-title { font-family: var(--nx-font-display); font-weight: 800; font-size: clamp(2.6rem, 15.4cqi, 6.2rem); line-height: .92; letter-spacing: -.025em; }
.nx-ft-line { display: block; font-stretch: 125%; white-space: nowrap; }
.nx-ft-field { position: relative; display: block; margin-top: .08em; border-bottom: .07em solid var(--nx-finder); padding-right: 1.05em; }
.nx-ft-field input {
  display: block; width: 100%; padding: .04em 0 .16em; border: 0; outline: 0; background: none; border-radius: 0;
  font: inherit; font-size: var(--nx-fit-size, 1em); font-stretch: var(--nx-fit-w, 125%); letter-spacing: inherit; line-height: 1.1;
  color: var(--nx-finder); caret-color: var(--nx-page-ink);
}
.nx-ft-field input::placeholder { color: var(--nx-finder); opacity: .92; }
.nx-root input[type="search"]::-webkit-search-cancel-button { display: none; }
.nx-ft-field:focus-within { border-bottom-color: var(--nx-page-ink); }
.nx-finder-go {
  position: absolute; right: 0; bottom: .16em; width: .78em; height: .78em; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--nx-finder); color: var(--nx-page); display: grid; place-items: center; transition: transform .16s var(--nx-ease);
}
.nx-finder-go:hover { transform: scale(1.08) rotate(-8deg); }
.nx-finder-go .nx-ic { width: .4em; height: .4em; stroke-width: 2.6; }
.nx-finder-pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px); z-index: 20;
  background: var(--nx-card); color: var(--nx-card-ink); border: var(--nx-card-border); border-radius: var(--nx-radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  font: 400 1rem/1.4 var(--nx-font-text); letter-spacing: 0; padding: 8px; text-align: left;
}
.nx-hero-sub { margin-top: 26px; font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--nx-page-mute); max-width: 34em; }
.nx-hero-sub strong { color: var(--nx-page-ink); font-weight: 700; }
.nx-aisles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 4vw, 52px); }

/* The bench: every object is a way in */
.nx-bench-wrap { position: relative; }
.nx-bench { position: relative; aspect-ratio: 3 / 2; border-radius: 28px; border: var(--nx-frame-border); box-shadow: var(--nx-frame-shadow); overflow: hidden; background: var(--nx-band); }
.nx-bench-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s var(--nx-ease); }
.nx-bench-img.nx-is-swapping { opacity: .2; }  /* a seasonal photo fading in or out */
.nx-spot {
  position: absolute; left: calc(var(--nx-x) * 1%); top: calc(var(--nx-y) * 1%); width: calc(var(--nx-w) * 1%); height: calc(var(--nx-h) * 1%);
  border-radius: 14px; outline: 2px solid transparent; outline-offset: -2px; text-decoration: none;
  transition: outline-color .15s, background-color .15s;
}
.nx-spot::after { /* the dot that says "you can press this" */
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(0, 0, 0, .28), 0 0 0 5px rgba(255, 255, 255, .6); transition: opacity .15s, transform .15s;
}
.nx-spot-tag {
  position: absolute; left: 8px; top: 8px; padding: 6px 10px; border-radius: 999px;
  background: var(--nx-pick); color: var(--nx-pick-ink); font-size: .82rem; font-weight: 700; line-height: 1.1; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; pointer-events: none;
}
.nx-spot-tag b { font-weight: 500; opacity: .75; margin-left: .35em; }
.nx-spot.nx-is-right .nx-spot-tag { left: auto; right: 8px; }
.nx-spot.nx-is-low .nx-spot-tag { top: auto; bottom: 8px; }  /* keeps clear of the round badge in the corner */
.nx-spot:hover, .nx-spot:focus-visible, .nx-spot.nx-is-lit { outline-color: var(--nx-pick); background: color-mix(in srgb, var(--nx-pick) 18%, transparent); z-index: 2; }
.nx-spot:hover::after, .nx-spot:focus-visible::after, .nx-spot.nx-is-lit::after { opacity: 0; transform: scale(.4); }
.nx-spot:hover .nx-spot-tag, .nx-spot:focus-visible .nx-spot-tag, .nx-spot.nx-is-lit .nx-spot-tag { opacity: 1; transform: none; }
.nx-seal { position: absolute; right: -30px; top: -42px; width: 128px; height: 128px; z-index: 3; pointer-events: none; }
.nx-seal > svg { width: 100%; height: 100%; overflow: visible; animation: nx-spin 26s linear infinite; }
.nx-seal circle { fill: var(--nx-pick); }
.nx-seal text { font: 800 13.5px var(--nx-font-display); font-stretch: 110%; letter-spacing: .08em; fill: var(--nx-pick-ink); }
.nx-seal .nx-seal-core { position: absolute; inset: 0; display: grid; place-items: center; color: var(--nx-pick-ink); }
.nx-seal .nx-seal-core .nx-ic { width: 34px; height: 34px; stroke-width: 2.2; rotate: 180deg; }
@keyframes nx-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- sections */
.nx-section { padding-block: clamp(36px, 5vw, 72px); }
.nx-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.4vw, 32px); }
.nx-section-title { font-size: var(--nx-fs-h2); }
.nx-section-note { color: var(--nx-page-mute); max-width: 44em; margin-top: 10px; }
.nx-band { background: var(--nx-band); color: var(--nx-band-ink); --nx-page-ink: var(--nx-band-ink); --nx-page-mute: var(--nx-band-mute); --nx-page-accent: var(--nx-band-accent); --nx-page-line: color-mix(in srgb, var(--nx-band-ink) 24%, transparent); --nx-page: var(--nx-band); }
.nx-hot { background: var(--nx-hot); color: var(--nx-hot-ink); --nx-page-ink: var(--nx-hot-ink); --nx-page-mute: color-mix(in srgb, var(--nx-hot-ink) 84%, transparent); --nx-page-accent: var(--nx-hot-ink); --nx-page-line: color-mix(in srgb, var(--nx-hot-ink) 34%, transparent); --nx-solid-ink: var(--nx-hot-contrast); }

/* ------------------------------------------------------------------- cards */
.nx-card, .nx-tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--nx-card); color: var(--nx-card-ink); border: var(--nx-card-border); border-radius: var(--nx-radius); box-shadow: var(--nx-card-shadow);
  text-decoration: none; transition: transform .22s var(--nx-ease), box-shadow .22s var(--nx-ease);
  --nx-page-ink: var(--nx-card-ink); --nx-page-mute: var(--nx-card-mute); --nx-page-accent: var(--nx-card-accent); --nx-page-line: var(--nx-card-line);
}
a.nx-card:hover, a.nx-tile:hover, .nx-tile.nx-is-hover:hover { transform: translate(var(--nx-card-hover-shift)); box-shadow: var(--nx-card-hover-shadow); }
/* the scout's torch: a soft light that follows the pointer across a card */
.nx-torch::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--nx-mx, 50%) var(--nx-my, 50%), color-mix(in srgb, var(--nx-brand) 26%, transparent), transparent 70%);
}
.nx-torch:hover::after { opacity: 1; }
.nx-card-media { position: relative; aspect-ratio: 3 / 2; background: var(--nx-inset); overflow: hidden; }
.nx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--nx-ease); }
a.nx-card:hover .nx-card-media img { transform: scale(1.04); }
.nx-card-media.nx-is-blank { display: grid; place-items: center; background: var(--nx-band); color: var(--nx-band-ink); }
.nx-card-media.nx-is-blank .nx-ic { width: 44px; height: 44px; opacity: .6; }
.nx-card-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 20px; flex: 1; }
.nx-card-meta { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--nx-card-mute); }
.nx-card-meta time { margin-left: auto; white-space: nowrap; }
.nx-card-title { font-weight: 700; font-size: 1.14rem; line-height: 1.24; text-wrap: balance; }
.nx-card-desc { color: var(--nx-card-mute); font-size: .96rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-flag { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--nx-pick); color: var(--nx-pick-ink); font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; }

/* lead story */
.nx-card--lead .nx-card-media { aspect-ratio: 16 / 10; }
.nx-card--lead .nx-card-body { padding: 22px 24px 26px; gap: 12px; }
.nx-card--lead .nx-card-title { font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; }
.nx-card--lead .nx-card-desc { font-size: 1.05rem; -webkit-line-clamp: 3; }
/* compact row */
.nx-card--row { flex-direction: row; align-items: stretch; }
.nx-card--row .nx-card-media { width: 34%; min-width: 108px; aspect-ratio: auto; flex: none; }
.nx-card--row .nx-card-body { padding: 14px 16px; gap: 8px; justify-content: center; }
.nx-card--row .nx-card-title { font-size: 1.03rem; }
.nx-card--row .nx-card-desc { display: none; }
.nx-card--row .nx-flag { position: static; align-self: flex-start; }  /* in a compact row the flag sits with the text, not over the small photo */

.nx-front { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.nx-front-lead { grid-column: span 7; display: grid; }
.nx-front-side { grid-column: span 5; display: grid; gap: 14px; grid-auto-rows: 1fr; }
.nx-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* news */
.nx-news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); }
.nx-news .nx-card--lead .nx-card-media { aspect-ratio: 16 / 9; }
.nx-news-list { display: grid; align-content: start; }
.nx-news-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 16px; padding: 14px 4px; text-decoration: none; border-bottom: 1px solid var(--nx-page-line); align-items: baseline; }
.nx-news-item:first-child { padding-top: 0; }
.nx-news-item time { font-size: .86rem; color: var(--nx-page-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nx-news-item span { font-weight: 700; line-height: 1.3; }
.nx-news-item:hover span { text-decoration: underline; text-decoration-color: var(--nx-page-accent); text-decoration-thickness: 3px; text-underline-offset: .2em; }

/* --------------------------------------------------------------- deal band */
.nx-deals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.nx-deals-copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.1vw, 3rem); }
.nx-deals-copy p { margin-top: 16px; max-width: 32em; }
.nx-deals-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.nx-stamp { display: inline-flex; align-items: center; gap: .45em; padding: .5em .85em; border-radius: 999px; background: var(--nx-hot-ink); color: var(--nx-hot-contrast); font-weight: 700; font-size: .9rem; }
.nx-deals-copy .nx-btn { margin-top: 22px; }
.nx-rail-wrap { position: relative; min-width: 0; }
.nx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 6px 12px; margin: -6px -6px -12px; }
.nx-rail::-webkit-scrollbar { display: none; }
.nx-rail > * { scroll-snap-align: start; }
.nx-rail-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.nx-deal { padding: 12px 12px 14px; gap: 10px; }
.nx-photo { position: relative; display: block; background: var(--nx-photo); border-radius: var(--nx-radius-sm); aspect-ratio: 4 / 3; overflow: hidden; }
.nx-photo img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }  /* scaled to fit, never cropped or recoloured */
.nx-deal .nx-photo { aspect-ratio: 4 / 3; }
.nx-deal-badge { align-self: flex-start; font-size: .78rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: var(--nx-inset); color: var(--nx-card-ink); }
.nx-deal-name { font-weight: 700; line-height: 1.25; font-size: .98rem; }
.nx-deal-go { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--nx-card-accent); text-decoration: underline; text-underline-offset: .2em; }

/* ------------------------------------------------------------ product picks */
.nx-pick { padding: 14px 14px 16px; gap: 12px; }
.nx-award { align-self: flex-start; background: var(--nx-pick); color: var(--nx-pick-ink); font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; line-height: 1.15; }
.nx-pick-name { font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.nx-pick-read { font-size: .9rem; color: var(--nx-card-mute); line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-pick-read u { color: var(--nx-card-ink); text-underline-offset: .18em; text-decoration-color: var(--nx-card-accent); text-decoration-thickness: 2px; }
.nx-pick .nx-btn { margin-top: auto; }
.nx-smallprint { font-size: .86rem; color: var(--nx-page-mute); margin-top: 18px; max-width: 70em; }

/* ------------------------------------------------------------ living pages */
.nx-living { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nx-living .nx-card-media { aspect-ratio: 16 / 10; }
.nx-status { display: inline-flex; align-items: center; gap: .5em; font-size: .86rem; font-weight: 700; color: var(--nx-card-ink); }
.nx-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--nx-good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-good) 28%, transparent); }

/* ------------------------------------------------------------- trust band */
.nx-trust { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.nx-trust h2 { font-size: var(--nx-fs-h2); max-width: 15em; }
.nx-trust-lede { margin-top: 18px; font-size: 1.15rem; color: var(--nx-page-mute); max-width: 32em; }
.nx-promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-top: 32px; }
.nx-promise { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
.nx-promise .nx-ic { grid-row: span 2; width: 28px; height: 28px; color: var(--nx-page-accent); margin-top: 2px; }
.nx-promise strong { font-size: 1.08rem; }
.nx-promise p { color: var(--nx-page-mute); font-size: .98rem; grid-column: 2; }
.nx-trust-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.nx-bench-stories h3 { font-family: var(--nx-font-display); font-stretch: 108%; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; margin-bottom: 6px; }
.nx-bench-stories > p { color: var(--nx-page-mute); margin-bottom: 18px; }
.nx-bench-stories .nx-stack { display: grid; gap: 12px; margin-bottom: 18px; }

/* -------------------------------------------------------------- newsletter */
.nx-letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; }
.nx-letter h2 { font-size: var(--nx-fs-h2); }
.nx-letter p { margin-top: 12px; }
.nx-letter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-letter-form input {
  flex: 1 1 220px; min-width: 0; padding: .9em 1.2em; border-radius: 999px; border: 2px solid var(--nx-hot-ink); background: #fff; color: #17132b; font-size: 1rem;
}
.nx-letter-ok { font-weight: 700; font-size: 1.1rem; display: flex; gap: 10px; align-items: center; }

/* ------------------------------------------------------------------ footer */
.nx-site-foot { border-top: 1px solid var(--nx-page-line); padding-block: 48px 120px; margin-top: clamp(36px, 5vw, 72px); font-size: .96rem; }
.nx-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.nx-site-foot h3 { font-size: .9rem; color: var(--nx-page-mute); font-weight: 700; margin-bottom: 12px; }
.nx-site-foot li { margin-bottom: 8px; }
.nx-site-foot a { text-decoration: none; }
.nx-site-foot a:hover { text-decoration: underline; text-underline-offset: .2em; }
.nx-foot-about p { color: var(--nx-page-mute); margin-top: 14px; max-width: 30em; }
.nx-foot-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--nx-page-line); color: var(--nx-page-mute); font-size: .88rem; display: grid; gap: 8px; }

/* ----------------------------------------------------------------- library */
.nx-lib-head { padding-block: clamp(28px, 4vw, 56px) 20px; }
.nx-lib-head h1 { font-size: var(--nx-fs-h1); }
.nx-lib-head p { color: var(--nx-page-mute); margin-top: 12px; font-size: 1.15rem; max-width: 40em; }
.nx-filters { padding-block: 6px 18px; border-bottom: 1px solid var(--nx-page-line); }
.nx-filter-top { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nx-lib-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.nx-lib-search .nx-ic { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--nx-page-mute); }
.nx-lib-search input { width: 100%; padding: .72em 1em .72em 2.8em; border-radius: 999px; border: 1.5px solid var(--nx-page-line); background: var(--nx-field); color: var(--nx-page-ink); }
.nx-lib-search input::placeholder { color: var(--nx-page-mute); }
.nx-lib-search input:focus { outline: 0; border-color: var(--nx-page-ink); }
.nx-filter-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nx-select { padding: .7em 2.4em .7em 1.1em; border-radius: 999px; border: 1.5px solid var(--nx-page-line); background: var(--nx-field); color: var(--nx-page-ink); font-weight: 600; cursor: pointer; }
.nx-viewtoggle { display: inline-flex; border: 1.5px solid var(--nx-page-line); border-radius: 999px; padding: 3px; }
.nx-viewtoggle button { width: 38px; height: 34px; border: 0; border-radius: 999px; background: none; cursor: pointer; display: grid; place-items: center; color: var(--nx-page-mute); }
.nx-viewtoggle button[aria-pressed="true"] { background: var(--nx-page-ink); color: var(--nx-page); }
.nx-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 2px; align-items: center; }
.nx-filter-label { font-size: .95rem; font-weight: 700; color: var(--nx-page-mute); white-space: nowrap; min-width: 3.6em; }
.nx-lib-status { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 22px 18px; color: var(--nx-page-mute); }
.nx-lib-status strong { color: var(--nx-page-ink); }
.nx-lib-status button { background: none; border: 0; padding: 0; cursor: pointer; }
.nx-lib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nx-lib-grid .nx-card--feature { grid-column: span 2; grid-row: span 2; }
.nx-lib-grid .nx-card--feature .nx-card-media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.nx-lib-grid .nx-card--feature .nx-card-body { flex: none; }
.nx-lib-grid .nx-card--feature .nx-card-title { font-weight: 800; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.08; letter-spacing: -.02em; }
.nx-lib-grid .nx-card--feature .nx-card-desc { -webkit-line-clamp: 3; font-size: 1.05rem; }
.nx-lib-grid.nx-is-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.nx-lib-grid.nx-is-list .nx-card { flex-direction: row; grid-column: auto; grid-row: auto; }
.nx-lib-grid.nx-is-list .nx-card .nx-card-media { width: 150px; min-height: 0; aspect-ratio: auto; flex: none; }
.nx-lib-grid.nx-is-list .nx-card .nx-card-body { padding: 14px 16px; gap: 6px; }
.nx-lib-grid.nx-is-list .nx-card .nx-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.nx-lib-grid.nx-is-list .nx-card .nx-card-desc { -webkit-line-clamp: 1; font-size: .92rem; }
.nx-lib-more { display: grid; justify-items: center; gap: 10px; padding-top: 32px; color: var(--nx-page-mute); }
.nx-empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; border: 2px dashed var(--nx-page-line); border-radius: var(--nx-radius); }
.nx-empty h2 { font-size: 1.6rem; margin-bottom: 10px; }
.nx-empty p { color: var(--nx-page-mute); margin-bottom: 20px; }
.nx-empty .nx-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------- search dialog */
dialog.nx-dialog { border: 0; padding: 0; color: var(--nx-page-ink); background: none; max-width: none; max-height: none; }
dialog.nx-dialog::backdrop { background: rgba(8, 4, 24, .62); backdrop-filter: blur(6px); }
.nx-palette { width: min(720px, 100vw - 24px); margin: 9vh auto auto; }
.nx-palette-box { background: var(--nx-card); color: var(--nx-card-ink); border: var(--nx-card-border); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7); --nx-page-ink: var(--nx-card-ink); --nx-page-mute: var(--nx-card-mute); --nx-page-line: var(--nx-card-line); --nx-page-accent: var(--nx-card-accent); }
.nx-palette-in { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--nx-card-line); }
.nx-palette-in .nx-ic { width: 1.4em; height: 1.4em; color: var(--nx-card-mute); }
.nx-palette-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1.25rem; font-weight: 600; }
.nx-palette-in input::placeholder { color: var(--nx-card-mute); font-weight: 400; }
.nx-palette-list { max-height: min(60vh, 520px); overflow-y: auto; padding: 8px; }
.nx-pal-group { font-size: .82rem; font-weight: 700; color: var(--nx-card-mute); padding: 12px 12px 6px; }
.nx-hit { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 12px; text-decoration: none; }
.nx-hit img, .nx-hit .nx-hit-blank { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--nx-inset); }
.nx-hit strong { display: block; line-height: 1.25; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-hit small { color: var(--nx-card-mute); font-size: .84rem; }
.nx-hit mark { background: none; color: var(--nx-card-accent); font-weight: 800; }
.nx-hit:hover, .nx-hit.nx-is-active { background: var(--nx-inset); }
.nx-pal-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 12px; }
.nx-pal-foot { display: flex; gap: 16px; justify-content: space-between; padding: 10px 20px; border-top: 1px solid var(--nx-card-line); font-size: .82rem; color: var(--nx-card-mute); }
.nx-pal-foot span { display: inline-flex; gap: 6px; align-items: center; }
.nx-pal-none { padding: 28px 16px; text-align: center; color: var(--nx-card-mute); }
.nx-pal-none strong { display: block; color: var(--nx-card-ink); font-size: 1.1rem; margin-bottom: 4px; }

.nx-drawer { width: min(420px, 100vw); height: 100dvh; margin: 0 0 0 auto; }
.nx-drawer-box { height: 100%; overflow-y: auto; background: var(--nx-card); color: var(--nx-card-ink); padding: 18px 20px 40px; --nx-page-ink: var(--nx-card-ink); --nx-page-mute: var(--nx-card-mute); --nx-page-line: var(--nx-card-line); }
.nx-drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.nx-drawer h3 { font-size: .86rem; color: var(--nx-card-mute); margin: 22px 0 8px; }
.nx-drawer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.nx-drawer-links a { display: flex; justify-content: space-between; gap: 8px; padding: 11px 10px; border-radius: 10px; text-decoration: none; font-weight: 700; background: var(--nx-inset); font-size: .95rem; }
.nx-drawer-links a b { font-weight: 500; color: var(--nx-card-mute); }

.nx-toast {
  position: fixed; left: 50%; bottom: 78px; translate: -50% 20px; z-index: 90; max-width: min(520px, 100vw - 32px);
  background: #15121f; color: #fff; padding: 12px 18px; border-radius: 14px; font-size: .92rem; line-height: 1.35; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s var(--nx-ease); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7);
}
.nx-toast.nx-is-on { opacity: 1; translate: -50% 0; }

/* ------------------------------------------------------------------ motion */
/* Page-load moment: the headline stretches out to full width, then the bench is "scanned" once. */
@keyframes nx-stretch { from { font-stretch: 50%; opacity: 0; } 30% { opacity: 1; } }
@keyframes nx-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: no-preference) {
  .nx-is-booting .nx-ft-line { animation: nx-stretch 1s var(--nx-ease) both; }
  .nx-is-booting .nx-ft-field, .nx-is-booting .nx-hero-sub, .nx-is-booting .nx-aisles { animation: nx-rise .7s var(--nx-ease) both; animation-delay: .35s; }
  .nx-is-booting .nx-hero-sub { animation-delay: .5s; }
  .nx-is-booting .nx-aisles { animation-delay: .62s; }
  .nx-is-booting .nx-bench-wrap { animation: nx-rise .9s var(--nx-ease) both; animation-delay: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  html.nx-native { scroll-behavior: auto; }
  .nx-root, .nx-root *, .nx-root *::before, .nx-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .nx-seal > svg { animation: none; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nx-search-btn { min-width: 0; }
  .nx-search-btn span, .nx-search-btn kbd { display: none; }
  .nx-search-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .nx-living { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-lib-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  html.nx { --nx-head-h: 64px; }
  .nx-nav, .nx-head-tools .nx-btn { display: none; }
  .nx-menu-btn { display: inline-flex; }
  .nx-head-tools { margin-left: auto; }
  .nx-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .nx-bench-wrap { order: -1; }
  .nx-seal { width: 84px; height: 84px; right: -6px; top: -14px; }
  .nx-aisles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--nx-gutter)); padding-inline: var(--nx-gutter); }
  .nx-aisles::-webkit-scrollbar { display: none; }
  .nx-front-lead, .nx-front-side { grid-column: 1 / -1; }
  .nx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-news, .nx-deals, .nx-trust, .nx-letter { grid-template-columns: minmax(0, 1fr); }
  .nx-rail { grid-auto-columns: 200px; }
  .nx-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-lib-grid.nx-is-list { grid-template-columns: minmax(0, 1fr); }
  .nx-filter-tools { margin-left: 0; }
  .nx-filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--nx-gutter)); padding-inline: var(--nx-gutter); }
  .nx-filter-row::-webkit-scrollbar { display: none; }
}
@media (max-width: 620px) {
  .nx-root { font-size: 1rem; }
  .nx-logo-word { font-size: 1.12rem; }
  .nx-logo-mark { width: 34px; height: 34px; }
  .nx-eventbar .nx-extra { display: none; }
  .nx-hero { padding-top: 18px; }
  .nx-bench { border-radius: 20px; }
  .nx-spot-tag { font-size: .72rem; padding: 5px 8px; }
  .nx-spot::after { width: 9px; height: 9px; margin: -4.5px; }
  .nx-grid-4, .nx-grid-3, .nx-living { grid-template-columns: minmax(0, 1fr); }
  .nx-picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .nx-picks-grid .nx-pick { padding: 10px 10px 12px; }
  .nx-picks-grid .nx-pick-name { font-size: 1rem; }
  .nx-picks-grid .nx-pick-read { display: none; }
  .nx-promises { grid-template-columns: minmax(0, 1fr); }
  .nx-foot-grid { grid-template-columns: minmax(0, 1fr); }
  .nx-lib-grid { grid-template-columns: minmax(0, 1fr); }
  .nx-lib-grid .nx-card--feature { grid-column: auto; grid-row: auto; }
  .nx-lib-grid .nx-card--feature .nx-card-media { aspect-ratio: 3 / 2; min-height: 0; }
  .nx-lib-grid.nx-is-list .nx-card .nx-card-media { width: 112px; }
  .nx-lib-grid.nx-is-list .nx-card .nx-card-desc { display: none; }
  .nx-toast { bottom: 64px; }
}

/* ------------------------------------------------- additions for the live site */
/* The page's real <h1> keeps the classic homepage's words; the big headline above it is the search box. */
.nx-hero-h1 { margin-top: 26px; font: 700 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.25 var(--nx-font-text); color: var(--nx-page-ink); }
.nx-hero-h1 + .nx-hero-sub { margin-top: 8px; }
.nx-nav a.nx-nav-btn { white-space: nowrap; }
.nx-mega h3.nx-mega-gap { margin-top: 22px; }
.nx-mega-cats { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nx-mega-cats a { padding: 6px 12px; border-radius: 999px; background: var(--nx-inset); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.nx-mega-cats a:hover { background: color-mix(in srgb, var(--nx-card-ink) 18%, var(--nx-inset)); }
.nx-mega { max-height: calc(100dvh - var(--nx-head-h) - 40px); overflow-y: auto; }
.nx-hit--all { grid-template-columns: minmax(0, 1fr); }
.nx-hit--all strong { white-space: normal; }
.nx-shelf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: clamp(20px, 2.4vw, 32px); }
.nx-shelf .nx-filter-label { margin-right: 4px; }
.nx-front-more { margin-top: 20px; }
.nx-card--text .nx-card-body { padding: 14px 16px; gap: 8px; }
.nx-news-pref { padding-top: 18px; }
.nx-letter-form { position: relative; }
.nx-letter-msg { flex-basis: 100%; min-height: 1.3em; font-size: .92rem; font-weight: 600; }
.nx-drawer .nx-drawer-search { width: 100%; height: auto; min-width: 0; padding: 12px 16px; justify-content: flex-start; }
.nx-drawer .nx-drawer-search span { display: inline; }
.nx-drawer-main { margin-top: 14px; }
.nx-drawer-cats { margin-top: 22px; }
.nx-drawer-cats summary { cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--nx-card-mute); margin-bottom: 8px; }
.nx-palette-in input { font-size: 1.15rem !important; }
.nx-lib-search input, .nx-letter-form input { font-size: 1rem !important; }

/* Pages that keep their classic body: the neon header and footer wrap around it. */
html.nx:not(.nx-native) main.container { padding-top: 6px; }
html.nx .nx-site-foot { background: transparent; color: var(--nx-page-ink); }
html.nx .nx-site-foot .nx-disclosure-footer { color: var(--nx-page-mute); font-size: .88rem; max-width: none; margin: 0; opacity: 1; }
/* the round badge spins, and a spinning square's corners reach past its box: keep them from widening the page */
.nx-hero { overflow-x: clip; }

/* The Christmas sections are written into the homepage a few days early; they stay out of sight until
   the Christmas files arrive on 1 December and switch them on. */
.nx-xgifts, .nx-xadvent { display: none; }

/* The suggestions under the headline search have to sit above everything that comes after them.
   The lines below the search get a layer of their own from the page-load animation, and without
   this they painted straight over the suggestions. */
.nx-hero-copy { position: relative; z-index: 3; }
.nx-ft-field { z-index: 2; }
/* on a phone a search suggestion's title gets two lines instead of being cut off after a few words */
@media (max-width: 620px) {
  .nx-hit { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .nx-hit.nx-hit--all { grid-template-columns: minmax(0, 1fr); }
  .nx-hit img, .nx-hit .nx-hit-blank { width: 56px; height: 40px; }
  .nx-hit strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .95rem; }
}
