/* Neuralignition public sites (gateway + resources): same palette and type as Labs/Portfolio. Dark by default, light via theme.js. */
:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --muted: #8d8d8d;
  --line: rgba(255, 255, 255, 0.08);
  --tile: 260px;
  --focus: #fff;
  --sel-bg: #fff;
  --sel-fg: #000;
  --rule: rgba(255, 255, 255, 0.12);
  --section-title: #f4f4f4;
  --accent-glow: rgba(124, 100, 235, 0.55);
  --count-bg: rgba(255, 255, 255, 0.07);
  --count-fg: #8f8f8f;
  --cat: #8a8a8a;
  --thumb-bg: #141414;
  --thumb-ring: rgba(255, 255, 255, 0.06);
  --thumb-shadow: none;
  --thumb-shadow-hover: none;
  --thumb-inner-ring: rgba(255, 255, 255, 0.07);
  --thumb-hover-filter: brightness(1.12);
  --toggle-border: rgba(255, 255, 255, 0.16);
  --toggle-bg: rgba(255, 255, 255, 0.04);
  --toggle-bg-hover: rgba(255, 255, 255, 0.1);
  --blurb-bg: linear-gradient(to top, rgba(8, 8, 12, 0.95), rgba(8, 8, 12, 0.9) 72%, rgba(8, 8, 12, 0));
  --blurb-fg: #f2f2f5;
  --chip-bg: rgba(255, 255, 255, 0.04);
  --chip-bg-hover: rgba(255, 255, 255, 0.08);
  --chip-ring: rgba(255, 255, 255, 0.08);
  --chip-shadow: none;
  --panel-bg: rgba(255, 255, 255, 0.03);
  --panel-ring: rgba(255, 255, 255, 0.08);
  --bar: #8b74ff;
  --bar-today: #c9bcff;
  --track: rgba(255, 255, 255, 0.07);
  /* Sign in */
  --auth-glow: rgba(98, 78, 196, 0.22);
  --card-ring: linear-gradient(165deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.05) 38%, rgba(150, 120, 255, 0.45));
  --card-shadow: 0 0 90px rgba(120, 96, 230, 0.16), 0 40px 80px rgba(0, 0, 0, 0.55);
  --card-bg: linear-gradient(180deg, rgba(22, 22, 24, 0.96), rgba(8, 8, 10, 0.98));
  --label: #9a9a9a;
  --input-border: #2c2c2c;
  --input-bg: #0b0b0c;
  --input-fg: #fff;
  --btn-bg: #fff;
  --btn-fg: #000;
  --alert-bg: rgba(255, 90, 90, 0.1);
  --alert-fg: #ffb4b4;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f3f5;
  --text: #141418;
  --muted: #62626b;
  --line: rgba(20, 20, 30, 0.08);
  --focus: #141418;
  --sel-bg: #141418;
  --sel-fg: #fff;
  --rule: rgba(20, 20, 30, 0.13);
  --section-title: #141418;
  --accent-glow: rgba(111, 88, 224, 0.32);
  --count-bg: rgba(20, 20, 30, 0.07);
  --count-fg: #5d5d66;
  --cat: #6a6a73;
  --thumb-bg: #e4e4e8;
  --thumb-ring: rgba(20, 20, 30, 0.1);
  --thumb-shadow: 0 1px 2px rgba(20, 20, 40, 0.1), 0 8px 22px rgba(20, 20, 50, 0.12);
  --thumb-shadow-hover: 0 2px 4px rgba(20, 20, 40, 0.12), 0 14px 30px rgba(20, 20, 50, 0.18);
  --thumb-inner-ring: rgba(0, 0, 0, 0.1);
  --thumb-hover-filter: brightness(1.04);
  --toggle-border: rgba(20, 20, 30, 0.16);
  --toggle-bg: #fff;
  --toggle-bg-hover: #ececf0;
  --blurb-bg: linear-gradient(to top, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.93) 72%, rgba(255, 255, 255, 0));
  --blurb-fg: #18181c;
  --chip-bg: #fff;
  --chip-bg-hover: #fafafc;
  --chip-ring: rgba(20, 20, 30, 0.09);
  --chip-shadow: 0 1px 2px rgba(20, 20, 40, 0.06), 0 4px 12px rgba(20, 20, 50, 0.06);
  --panel-bg: #fff;
  --panel-ring: rgba(20, 20, 30, 0.08);
  --bar: #6f58e0;
  --bar-today: #4a35c4;
  --track: rgba(20, 20, 30, 0.07);
  --auth-glow: rgba(124, 100, 235, 0.16);
  --card-ring: linear-gradient(165deg, rgba(20, 20, 30, 0.14), rgba(20, 20, 30, 0.04) 38%, rgba(124, 100, 235, 0.42));
  --card-shadow: 0 0 80px rgba(124, 100, 235, 0.12), 0 30px 60px rgba(30, 24, 70, 0.14);
  --card-bg: linear-gradient(180deg, #ffffff, #fafafc);
  --label: #6a6a73;
  --input-border: #d4d4dc;
  --input-bg: #fff;
  --input-fg: #141418;
  --btn-bg: #141418;
  --btn-fg: #fff;
  --alert-bg: rgba(210, 40, 40, 0.08);
  --alert-fg: #a42323;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--toggle-border);
  border-radius: 999px;
  background: var(--toggle-bg);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--toggle-bg-hover);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.theme-toggle svg {
  display: block;
  flex: 0 0 auto;
}

/* Show the mode the button switches to. */
.theme-toggle .icon-moon,
.theme-toggle .theme-label-dark,
:root[data-theme="light"] .theme-toggle .icon-sun,
:root[data-theme="light"] .theme-toggle .theme-label-light {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

:root[data-theme="light"] .theme-toggle .theme-label-dark {
  display: inline;
}


/* ---- shared public chrome ------------------------------------------------ */
:root {
  --ns-glow: radial-gradient(1100px 520px at 50% -160px, rgba(124, 100, 235, 0.28), rgba(124, 100, 235, 0) 70%);
  --ns-card: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  --ns-card-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  --ns-ring: rgba(255, 255, 255, 0.09);
  --ns-ring-hover: rgba(160, 140, 255, 0.55);
  --ns-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --ns-cta-bg: #fff;
  --ns-cta-fg: #000;
  --ns-badge-bg: rgba(0, 0, 0, 0.62);
  --ns-badge-fg: #f2f2f5;
  --ns-input: rgba(255, 255, 255, 0.05);
  --ns-strong: #fff;
  --ns-dim: #6f6f78;
}
:root[data-theme="light"] {
  --ns-glow: radial-gradient(1100px 520px at 50% -160px, rgba(111, 88, 224, 0.16), rgba(111, 88, 224, 0) 70%);
  --ns-card: #fff;
  --ns-card-hover: #fff;
  --ns-ring: rgba(20, 20, 30, 0.08);
  --ns-ring-hover: rgba(111, 88, 224, 0.5);
  --ns-shadow: 0 1px 2px rgba(20, 20, 40, 0.06), 0 18px 40px -18px rgba(20, 20, 50, 0.22);
  --ns-cta-bg: #141418;
  --ns-cta-fg: #fff;
  --ns-badge-bg: rgba(255, 255, 255, 0.88);
  --ns-badge-fg: #141418;
  --ns-input: #fff;
  --ns-strong: #141418;
  --ns-dim: #8a8a94;
}
/* topic hues (no inline styles: CSP style-src 'self') */
.t-music { --hue: 268; } .t-ai { --hue: 200; } .t-creative { --hue: 320; } .t-security { --hue: 2; }
.t-network { --hue: 172; } .t-wellness { --hue: 140; } .t-musk { --hue: 28; } .t-productivity { --hue: 48; }
[class*="t-"] { --tint: hsl(var(--hue, 250) 80% 66%); --tint-bg: hsl(var(--hue, 250) 70% 60% / 0.14); --tint-ring: hsl(var(--hue, 250) 70% 62% / 0.38); }
:root[data-theme="light"] [class*="t-"] { --tint: hsl(var(--hue, 250) 62% 38%); --tint-bg: hsl(var(--hue, 250) 70% 50% / 0.1); --tint-ring: hsl(var(--hue, 250) 60% 45% / 0.32); }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-padding-top: 16px; }
:root[data-theme="light"] { color-scheme: light; }
body.ns {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ns-glow), var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--sel-bg); color: var(--sel-fg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; border-radius: 10px; background: var(--ns-cta-bg); color: var(--ns-cta-fg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.ns-top {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 40px 0;
  padding-top: max(20px, env(safe-area-inset-top));
}
.ns-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 16px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; }
.ns-glyph { width: 22px; height: 22px; border-radius: 7px; background: conic-gradient(from 210deg, #8b74ff, #c9bcff, #5ad1ff, #8b74ff); box-shadow: 0 0 18px var(--accent-glow); }
.ns-nav { display: flex; gap: 4px; margin-left: auto; }
.ns-nav a { padding: 7px 12px; border-radius: 999px; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: color 0.15s ease, background-color 0.15s ease; }
.ns-nav a:hover { color: var(--text); background: var(--chip-bg-hover); }
.ns-nav a.is-on { color: var(--text); background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); }
.ns-main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px 48px; }
.ns-eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--muted);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.ns-lede { margin: 14px auto 0; max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ns-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px;
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 18px 40px 26px;
  padding-bottom: max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px;
}
.ns-footlinks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ns-footlinks a { color: var(--muted); text-decoration: none; }
.ns-footlinks a:hover { color: var(--text); }
.ns-labin { display: inline-flex; align-items: center; gap: 5px; opacity: 0.8; }
.ns-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--ns-cta-bg); color: var(--ns-cta-fg); font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ns-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--accent-glow); }
.ns-btn.is-ghost { background: var(--chip-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--chip-ring); }
.ns-btn svg { transition: transform 0.2s ease; }
.ns-btn:hover svg { transform: translate(2px, -2px); }

/* ---- resources ----------------------------------------------------------- */
.rs-hero { max-width: 820px; margin: 0 auto; padding: 46px 0 26px; text-align: center; }
.rs-hero h1, .gw-hero h1 { margin: 0; color: var(--section-title); font-size: clamp(32px, 4vw, 52px); font-weight: 750; letter-spacing: -0.025em; line-height: 1.06; }
.rs-search { display: flex; gap: 8px; max-width: 600px; margin: 24px auto 0; }
.rs-search-box {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px;
  background: var(--ns-input); box-shadow: inset 0 0 0 1px var(--ns-ring); color: var(--muted);
}
.rs-search-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--ns-ring-hover), 0 0 40px -16px var(--accent-glow); }
.rs-search-box input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.rs-search-box input::-webkit-search-cancel-button { filter: grayscale(1); }
.rs-search button { padding: 0 18px; border: 0; border-radius: 14px; background: var(--ns-cta-bg); color: var(--ns-cta-fg); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; }

.rs-filters {
  position: sticky; top: 0; z-index: 4; display: grid; gap: 8px; margin: 0 -40px; padding: 12px 40px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.rs-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.rs-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--muted);
  font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.rs-chip span { padding: 1px 7px; border-radius: 999px; background: var(--count-bg); color: var(--count-fg); font-size: 11px; font-weight: 700; }
.rs-chip:hover { color: var(--text); background: var(--chip-bg-hover); }
.rs-chip.is-on { color: var(--ns-cta-fg); background: var(--ns-cta-bg); box-shadow: none; }
.rs-chip.is-on span { background: rgba(127, 127, 127, 0.22); color: inherit; }
.rs-chip[class*="t-"].is-on { color: var(--text); background: var(--tint-bg); box-shadow: inset 0 0 0 1.5px var(--tint-ring); }
.rs-types .rs-chip { font-size: 12.5px; padding: 6px 11px; }

.rs-section { margin-top: 34px; }
.rs-sechead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.rs-sechead h2 { margin: 0; color: var(--section-title); font-size: 22px; font-weight: 720; letter-spacing: -0.01em; }
.rs-sechead p { margin: 0; color: var(--muted); font-size: 14px; }
.rs-rss { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.rs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.rs-featured { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.rs-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 18px;
  overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.rs-strip .rs-card { scroll-snap-align: start; }
.rs-strip .rs-blurb, .rs-strip .rs-related { display: none; }

.rs-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 16px;
  background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.rs-card:hover { transform: translateY(-2px); background: var(--ns-card-hover); box-shadow: inset 0 0 0 1px var(--ns-ring-hover), 0 0 50px -24px var(--accent-glow), var(--ns-shadow); }
.rs-card.is-featured { box-shadow: inset 0 0 0 1px var(--tint-ring), var(--ns-shadow); }
.rs-media { position: relative; aspect-ratio: 16 / 9; margin: 8px 8px 0; border-radius: 10px; overflow: hidden; background: var(--thumb-bg); box-shadow: inset 0 0 0 1px var(--thumb-inner-ring); }
.rs-poster { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; }
.rs-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.3s ease; }
.rs-card:hover .rs-poster img { transform: scale(1.03); filter: var(--thumb-hover-filter); }
.rs-noart {
  display: grid; place-items: center; width: 100%; height: 100%; color: var(--tint); font-size: 52px; font-weight: 800;
  background: radial-gradient(120% 120% at 20% 0%, var(--tint-bg), transparent 60%), var(--thumb-bg);
}
.rs-playbtn {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: rgba(0, 0, 0, 0.62); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 10px 30px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform 0.18s ease, background-color 0.18s ease;
}
.rs-playbtn svg { margin-left: 3px; }
.rs-poster:hover .rs-playbtn, .rs-poster:focus-visible .rs-playbtn { transform: scale(1.08); background: rgba(124, 100, 235, 0.92); }
.rs-frame { display: block; width: 100%; height: 100%; border: 0; }
.rs-type {
  position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--ns-badge-bg); color: var(--ns-badge-fg);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; pointer-events: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.is-playing .rs-type { display: none; }
.rs-body { display: flex; flex: 1; flex-direction: column; padding: 13px 16px 16px; }
.rs-meta { display: flex; justify-content: space-between; gap: 10px; margin: 0; color: var(--cat); font-size: 12px; font-weight: 600; }
.rs-src { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-meta time { flex: 0 0 auto; color: var(--ns-dim); font-weight: 500; }
.rs-title { margin: 6px 0 0; font-size: 16.5px; font-weight: 700; line-height: 1.32; letter-spacing: -0.005em; }
.rs-title a { text-decoration: none; }
.rs-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rs-blurb { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.rs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.rs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rs-tag { padding: 3px 9px; border-radius: 999px; background: var(--tint-bg); color: var(--tint); font-size: 11.5px; font-weight: 700; text-decoration: none; }
.rs-tag:hover { box-shadow: inset 0 0 0 1px var(--tint-ring); }
.rs-ext { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; }
.rs-ext:hover { color: var(--text); }
.rs-related { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.rs-related span { color: var(--ns-dim); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 10.5px; }
.rs-related a { color: var(--tint); font-weight: 650; text-decoration: none; }
.rs-related a:hover { text-decoration: underline; }
.rs-count { font-variant-numeric: tabular-nums; }
.rs-empty { margin: 30px 0; color: var(--muted); text-align: center; }

.rs-topic {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; margin-top: 26px; padding: 22px 24px; border-radius: 16px;
  background: radial-gradient(120% 160% at 0% 0%, var(--tint-bg), transparent 55%), var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring);
}
.rs-topic h2 { margin: 2px 0 0; font-size: 26px; font-weight: 750; letter-spacing: -0.015em; }
.rs-topic p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.rs-topic-k { margin: 0 !important; color: var(--tint) !important; font-size: 11px !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.rs-lab { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; max-width: 640px; }
.rs-lab .rs-topic-k { flex-basis: 100%; }
.rs-labapp { display: grid; gap: 2px; min-width: 180px; padding: 10px 14px; border-radius: 12px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); text-decoration: none; }
.rs-labapp:hover { box-shadow: inset 0 0 0 1px var(--tint-ring); }
.rs-labapp b { font-size: 14px; }
.rs-labapp span { color: var(--muted); font-size: 12.5px; }
.rs-labapp em, .rs-labcard em { display: inline-flex; align-items: center; gap: 4px; color: var(--tint); font-size: 12px; font-style: normal; font-weight: 700; }
.rs-labgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.rs-labcard {
  display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px; text-decoration: none;
  background: radial-gradient(120% 140% at 0% 0%, var(--tint-bg), transparent 60%), var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rs-labcard:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--tint-ring), var(--ns-shadow); }
.rs-labcard b { font-size: 20px; font-weight: 750; }
.rs-labcard span:not(.rs-topic-k) { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---- gateway -------------------------------------------------------------- */
.gw-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 40px; padding: 44px 0 30px; }
.gw-hero h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; }
.gw-hero h1 em { font-style: normal; background: linear-gradient(100deg, #b6a6ff, #8b74ff 40%, #5ad1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .gw-hero h1 em { background: linear-gradient(100deg, #5a40d8, #6f58e0 40%, #1677b8); -webkit-background-clip: text; background-clip: text; }
.gw-hero .ns-lede { margin: 18px 0 0; max-width: 560px; }
.gw-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gw-words { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.gw-words li { padding: 4px 11px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.gw-orb { position: relative; aspect-ratio: 1; width: min(100%, 400px); justify-self: center; }
.gw-orb::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: conic-gradient(from 210deg, #8b74ff, #c9bcff, #5ad1ff, #ff8fd0, #8b74ff); filter: blur(46px); opacity: 0.55;
  animation: gw-spin 18s linear infinite;
}
.gw-orb::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 45%), radial-gradient(circle, var(--bg) 55%, transparent 56%); box-shadow: inset 0 0 0 1px var(--ns-ring); }
.gw-orb ul { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 1; }
.gw-orb li { position: absolute; padding: 7px 13px; border-radius: 999px; background: var(--ns-badge-bg); color: var(--ns-badge-fg); box-shadow: inset 0 0 0 1px var(--ns-ring); font-size: 12.5px; font-weight: 700; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.gw-orb li:nth-child(1) { left: 50%; top: 4%; transform: translateX(-50%); }
.gw-orb li:nth-child(2) { right: -2%; top: 32%; }
.gw-orb li:nth-child(3) { right: 6%; bottom: 12%; }
.gw-orb li:nth-child(4) { left: 4%; bottom: 12%; }
.gw-orb li:nth-child(5) { left: -2%; top: 32%; }
.gw-orb b { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; color: var(--ns-strong); font-size: 15px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
@keyframes gw-spin { to { transform: rotate(360deg); } }
.gw-pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.gw-pillar { padding: 16px 16px 18px; border-radius: 14px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); text-decoration: none; transition: box-shadow 0.18s ease, transform 0.18s ease; }
a.gw-pillar:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ns-ring-hover); }
.gw-pillar b { display: block; font-size: 15px; }
.gw-pillar span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.gw-section { margin-top: 38px; }
.gw-latest { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gw-latest .rs-blurb, .gw-latest .rs-related { display: none; }
.gw-latest .rs-title { font-size: 14.5px; }
.gw-latest .rs-body { padding: 11px 13px 13px; }
.gw-apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.gw-app { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.gw-app:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ns-ring-hover), var(--ns-shadow); }
.gw-app img, .gw-app .gw-noshot { flex: 0 0 auto; width: 132px; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; object-fit: cover; background: var(--thumb-bg); box-shadow: inset 0 0 0 1px var(--thumb-inner-ring); }
.gw-noshot { display: grid; place-items: center; color: var(--muted); font-size: 26px; font-weight: 800; }
.gw-app div { min-width: 0; }
.gw-app small { display: block; color: var(--cat); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.gw-app b { display: block; margin-top: 2px; font-size: 17px; }
.gw-app span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gw-app em { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 11.5px; font-style: normal; font-weight: 700; }
.gw-topics { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1280px) {
  .gw-latest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gw-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gw-hero { grid-template-columns: 1fr; gap: 10px; padding-top: 30px; text-align: left; }
  .gw-orb { width: min(62vw, 240px); margin-top: 22px; }
  .gw-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ns-top { flex-wrap: wrap; gap: 10px; padding: 14px 18px 0; padding-top: max(14px, env(safe-area-inset-top)); }
  .ns-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .ns-top .theme-toggle { margin-left: auto; }
  .ns-main { padding: 0 18px 30px; }
  .rs-hero { padding: 26px 0 18px; }
  .ns-lede { font-size: 15.5px; }
  .rs-filters { margin: 0 -18px; padding: 10px 18px; }
  .rs-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .rs-chips::-webkit-scrollbar { display: none; }
  .rs-grid, .rs-featured { grid-template-columns: 1fr; gap: 16px; }
  .rs-strip { grid-auto-columns: 78%; }
  .rs-topic { padding: 18px; }
  .gw-latest { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 12px; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; }
  .gw-latest::-webkit-scrollbar { display: none; }
  .gw-latest .rs-card { scroll-snap-align: start; }
  .gw-latest .rs-card:hover { transform: none; }
  .gw-pillars { grid-template-columns: 1fr 1fr; }
  .gw-pillar:last-child { grid-column: 1 / -1; }
  .gw-hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .gw-app img, .gw-app .gw-noshot { width: 104px; }
  .ns-foot { padding: 16px 18px 22px; }
}
@media (max-width: 420px) {
  .rs-search button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rs-card:hover, a.gw-app:hover, .ns-btn:hover { transform: none; }
}

.gw-center { justify-content: center; }
.gw-section-sm { margin-top: 18px; }

/* p12: search + What's new */
.gw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gw-find { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: start; margin-top: 6px; }
.gw-search { max-width: none; margin: 0; }
.gw-count { margin: 10px 2px 0; color: var(--muted); font-size: 13.5px; }
.gw-count kbd { padding: 1px 6px; border-radius: 5px; font: inherit; font-size: 12px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); }
.gw-results { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; max-height: 452px; overflow: auto; }
.gw-results[hidden] { display: none; }
.gw-hit { display: flex; align-items: center; gap: 8px; border-radius: 12px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); }
.gw-hit-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--text); text-decoration: none; }
.gw-hit-main:hover, .gw-hit-main:focus-visible { background: var(--chip-bg-hover); outline: none; }
.gw-hit-main:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
.gw-hit img, .gw-hit-noimg { flex: none; width: 96px; height: 54px; border-radius: 7px; object-fit: cover; background: var(--thumb-bg); }
.gw-hit-noimg { display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.gw-hit-main > span { display: grid; gap: 1px; min-width: 0; }
.gw-hit small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-hit b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-hit em { color: var(--muted); font-size: 12.5px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-hit.is-app small { color: var(--bar-today); }
.gw-hit-play { flex: none; margin-right: 10px; padding: 7px 14px; border-radius: 999px; background: var(--ns-cta-bg); color: var(--ns-cta-fg); font-size: 13px; font-weight: 700; text-decoration: none; }
.gw-news { padding: 16px 18px; border-radius: 16px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); }
.gw-news h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--section-title); font-size: 17px; font-weight: 720; }
.gw-feed { list-style: none; margin: 0; padding: 0; display: grid; }
.gw-feed li + li { border-top: 1px solid var(--line); }
.gw-feed a { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 9px 4px; color: var(--text); text-decoration: none; border-radius: 8px; }
.gw-feed a:hover, .gw-feed a:focus-visible { background: var(--chip-bg-hover); }
.gw-feed a:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.gw-feed time { color: var(--muted); font-size: 12.5px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.gw-feed span { display: grid; gap: 1px; min-width: 0; }
.gw-feed small { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.gw-feed .is-build small { color: #5ad1ff; }
.gw-feed .is-app small { color: var(--bar-today); }
.gw-feed .is-res small { color: #8ff0b8; }
:root[data-theme="light"] .gw-feed .is-build small { color: #0b6e99; }
:root[data-theme="light"] .gw-feed .is-app small { color: #5b3fd6; }
:root[data-theme="light"] .gw-feed .is-res small { color: #127a3e; }
.gw-feed b { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-feed em { color: var(--muted); font-size: 12.5px; font-style: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .gw-find { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 520px) { .gw-hit img, .gw-hit-noimg { width: 72px; height: 41px; } .gw-feed a { grid-template-columns: 1fr; gap: 2px; } .gw-search button { padding: 0 14px; } }

/* tie-in (Oct 2026): shared bar/footer come from ni.css; feed link + signed-in search extras */
.gw-news h2 .gw-feedlink { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 650; text-decoration: none; box-shadow: inset 0 0 0 1px var(--chip-ring); }
.gw-news h2 .gw-feedlink:hover { color: var(--text); background: var(--chip-bg-hover); }
.gw-hit.is-lab small, .gw-hit.is-hid small { color: var(--ni-accent-soft); }
.gw-hit-edit { flex: none; margin-right: 10px; }
.gw-hit-play + .gw-hit-edit { margin-left: -2px; }
#find { scroll-margin-top: 90px; }

/* a11y (tie-in): light-mode card dates were below 4.5:1 */
:root[data-theme="light"] .rs-meta time { color: #5c5c66; }
:root[data-theme="light"] .t-network[class*="t-"], :root[data-theme="light"] .t-productivity[class*="t-"], :root[data-theme="light"] .t-wellness[class*="t-"], :root[data-theme="light"] .t-musk[class*="t-"] { --tint: hsl(var(--hue) 75% 27%); }

/* ===================== cool features (Oct 2026) ===================== */
.cool-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 14px; }
.cool-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--section-title); font-size: 22px; font-weight: 720; letter-spacing: -0.01em; }
.cool-head h2 svg { color: var(--bar-today); }
.cool-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.cool-empty { margin: 30px 0; color: var(--muted); text-align: center; }

/* portfolio tiles with hover clips + reactions */
.cool-apps { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cool-tile { display: flex; flex-direction: column; border-radius: 16px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cool-tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ns-ring-hover), 0 0 50px -24px var(--accent-glow), var(--ns-shadow); }
.cool-apps .gw-app { flex: 1; flex-direction: column; align-items: stretch; gap: 12px; padding: 10px 10px 4px; background: none; box-shadow: none; }
.cool-apps .gw-app:hover { transform: none; box-shadow: none; }
.cool-apps .gw-app > img, .cool-apps .gw-app > .gw-noshot { width: 100%; }
.gw-app .cool-media { display: block; flex: none; width: 100%; aspect-ratio: 16 / 9; margin: 0; border-radius: 10px; overflow: hidden; background: var(--thumb-bg); box-shadow: inset 0 0 0 1px var(--thumb-inner-ring); -webkit-line-clamp: unset; }
.gw-app .cool-media img, .gw-app .cool-media .gw-noshot { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-fit: cover; }
.cool-apps .gw-app div { padding: 0 4px; }
.cool-tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 4px 14px 12px; }
.cool-tile-foot a { color: var(--muted); font-size: 12.5px; font-weight: 650; text-decoration: none; }
.cool-tile-foot a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cool-tile-foot:empty { display: none; }

/* today: daily pick + try it now */
.cool-today { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
.cool-today.is-one { grid-template-columns: 1fr; }
.cool-daily-grid { display: grid; gap: 14px; }
.cool-pick { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 12px; border-radius: 16px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); }
.cool-pick-media { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--thumb-bg); box-shadow: inset 0 0 0 1px var(--thumb-inner-ring); }
.cool-pick-media img, .cool-pick-media .cool-media, .cool-pick-media .rs-noart { display: block; width: 100%; height: 100%; object-fit: cover; }
.cool-pick-media .rs-noart { display: grid; place-items: center; color: var(--muted); font-size: 30px; font-weight: 800; }
.cool-pick-body { display: flex; flex-direction: column; min-width: 0; }
.cool-pick-body small { color: var(--cat); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cool-pick.is-app small { color: var(--bar-today); }
.cool-pick-body h3 { margin: 4px 0 0; font-size: 18px; line-height: 1.25; }
.cool-pick.is-res h3 { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cool-pick-body h3 a { text-decoration: none; }
.cool-pick-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cool-why { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cool-pick-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 10px; }
.cool-pick-cta .ns-btn { padding: 8px 14px; font-size: 13.5px; }

.cool-embed { border-radius: 18px; padding: 10px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); }
.cool-embed-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 2px 10px; }
.cool-embed-tabs[hidden] { display: none; }
.cool-embed-tab { padding: 6px 13px; border: 0; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--muted); font: 650 13px/1.2 inherit; font-family: inherit; cursor: pointer; }
.cool-embed-tab:hover { color: var(--text); background: var(--chip-bg-hover); }
.cool-embed-tab[aria-pressed="true"] { color: var(--ns-cta-fg); background: var(--ns-cta-bg); box-shadow: none; }
.cool-embed-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--thumb-inner-ring); }
.cool-embed-stage:fullscreen { border-radius: 0; aspect-ratio: auto; }
.cool-embed-poster { position: absolute; inset: 0; }
.cool-embed-poster[hidden] { display: none; }
.cool-embed-poster img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.4) blur(2px); transform: scale(1.03); transition: filter 0.25s ease, transform 0.6s ease; }
.cool-embed-poster:hover img { filter: saturate(1) brightness(0.5) blur(1px); transform: scale(1.05); }
.cool-embed-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: radial-gradient(ellipse 46% 50% at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15)); color: #fff; font-family: inherit; cursor: pointer; }
.cool-embed-play { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(124, 100, 235, 0.92); box-shadow: 0 0 0 8px rgba(124, 100, 235, 0.22), 0 20px 50px -10px rgba(0, 0, 0, 0.7); transition: transform 0.2s ease; }
.cool-embed-play svg { margin-left: 4px; }
.cool-embed-load:hover .cool-embed-play, .cool-embed-load:focus-visible .cool-embed-play { transform: scale(1.08); }
.cool-embed-load:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 12px; }
.cool-embed-label { font-size: 19px; font-weight: 650; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.cool-embed-load small { color: rgba(255, 255, 255, 0.86); font-size: 12.5px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.cool-embed-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.cool-embed-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 4px 2px; }
.cool-embed-name { display: grid; font-size: 15px; font-weight: 700; }
.cool-embed-name small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.cool-embed-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.cool-ibtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--text); font: 650 13px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.cool-ibtn:hover { background: var(--chip-bg-hover); }
.cool-ibtn[disabled] { opacity: 0.45; cursor: default; }
.cool-ibtn[hidden] { display: none; }
.cool-embed :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cool-embed.is-live { box-shadow: inset 0 0 0 1px var(--ns-ring-hover), 0 0 70px -26px var(--accent-glow), var(--ns-shadow); }

/* collections */
.cool-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cool-cols.is-page { margin-top: 10px; }
.cool-col { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); color: var(--text); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cool-col:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ns-ring-hover), 0 0 50px -24px var(--accent-glow), var(--ns-shadow); }
.cool-col:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cool-col-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 9; margin: 8px 8px 0; border-radius: 10px; overflow: hidden; background: var(--thumb-bg); }
.cool-col-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cool-col-mosaic.n1 img { grid-column: 1 / -1; grid-row: 1 / -1; }
.cool-col-mosaic.n2 img { grid-row: 1 / -1; }
.cool-col-mosaic.n3 img:first-child { grid-row: 1 / -1; }
.cool-col-body { display: grid; gap: 4px; padding: 12px 14px 16px; }
.cool-col-body small { color: var(--cat); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cool-col-body b { font-size: 16.5px; line-height: 1.25; }
.cool-col-body span { color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cool-crumbs { margin-top: 22px; }
.cool-col-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 22px 0 6px; }
.cool-col-hero h1 { margin: 0; color: var(--section-title); font-size: clamp(30px, 3.8vw, 48px); font-weight: 750; letter-spacing: -0.025em; line-height: 1.06; }
.cool-col-hero .ns-lede { margin: 14px 0 0; max-width: 680px; }
.cool-share { margin: 18px 0 0; }
.cool-col-qr { display: grid; justify-items: center; gap: 8px; padding: 12px; border-radius: 16px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); color: var(--muted); font-size: 12.5px; }
.ni-qr { display: block; border-radius: 8px; }
.cool-resgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cool-resgrid .rs-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ask + explore more */
.cool-ask-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.cool-ask { padding: 18px; border-radius: 18px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); }
.cool-ask-form { display: flex; gap: 8px; }
.cool-ask-box { position: relative; flex: 1; display: flex; align-items: center; }
.cool-ask-box svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.cool-ask-box input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 0; border-radius: 999px; background: var(--ns-input); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--text); font: 15.5px inherit; font-family: inherit; }
.cool-ask-box input::placeholder { color: var(--muted); }
.cool-ask-box input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bar); }
.cool-ask-form button { height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ns-cta-bg); color: var(--ns-cta-fg); font: 700 15px inherit; font-family: inherit; cursor: pointer; }
.cool-ask-form button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cool-ask-form button[disabled] { opacity: 0.6; cursor: progress; }
.cool-suggs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.cool-sugg { padding: 6px 12px; border: 0; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--text); font: 600 12.5px/1.3 inherit; font-family: inherit; text-align: left; cursor: pointer; }
.cool-sugg:hover { background: var(--chip-bg-hover); }
.cool-sugg:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cool-ask-out:empty { display: none; }
.cool-ask-out { margin-top: 14px; }
.cool-answer { padding: 14px 16px; border-radius: 14px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring); animation: cool-fade 0.25s ease; }
@keyframes cool-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cool-ans-lead { margin: 0; font-size: 15.5px; line-height: 1.5; }
.cool-answer ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cool-answer li + li { margin-top: 3px; }
.cool-ans-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.cool-ans-links a { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 11px 5px 6px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cool-ans-links a:hover { background: var(--chip-bg-hover); }
.cool-ans-links small { padding: 2px 7px; border-radius: 999px; background: var(--tint-bg, rgba(139, 116, 255, 0.18)); color: var(--bar-today); font-size: 10.5px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.cool-ask-wait, .cool-ask-err { margin: 0; color: var(--muted); font-size: 14px; }
.cool-ask-err { color: #ff9b9b; }
:root[data-theme="light"] .cool-ask-err { color: #b42323; }
.cool-ask-note { margin: 12px 2px 0; color: var(--muted); font-size: 12px; }
.cool-ask.is-big { max-width: 820px; margin: 0 auto; }
.cool-ask-page { margin-bottom: 30px; }
.cool-more { display: grid; gap: 10px; }
.cool-more-card { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring); color: var(--text); text-decoration: none; transition: box-shadow 0.18s ease; }
.cool-more-card:hover { box-shadow: inset 0 0 0 1px var(--ns-ring-hover), 0 0 40px -24px var(--accent-glow); }
.cool-more-card svg { grid-row: span 2; color: var(--bar-today); }
.cool-more-card b { font-size: 15px; }
.cool-more-card span { color: var(--muted); font-size: 13px; }

/* timeline */
.tl-hero { padding-bottom: 12px; }
.tl-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 26px; }
.tl-filter[hidden] { display: none; }
.tl-filter button { padding: 7px 13px; border: 0; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--muted); font: 650 13px/1.2 inherit; font-family: inherit; cursor: pointer; }
.tl-filter button span { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--count-bg); color: var(--count-fg); font-size: 11px; }
.tl-filter button[aria-pressed="true"] { color: var(--ns-cta-fg); background: var(--ns-cta-bg); box-shadow: none; }
.tl-filter button[aria-pressed="true"] span { background: rgba(127, 127, 127, 0.25); color: inherit; }
.tl-filter button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tl { list-style: none; max-width: 860px; margin: 0 auto; padding: 0; }
.tl-day[hidden], .tl-it[hidden] { display: none; }
.tl-day h2 { position: sticky; top: calc(var(--ni-bar-h, 64px) + 1px); z-index: 2; margin: 0; padding: 10px 0 10px 34px; background: var(--bg); color: var(--section-title); font-size: 15px; font-weight: 720; letter-spacing: 0.01em; }
.tl-items { list-style: none; margin: 0 0 18px; padding: 0 0 0 34px; border-left: 2px solid var(--line); margin-left: 10px; }
.tl-it { position: relative; margin: 0 0 12px; }
.tl-dot { position: absolute; left: -44px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--bar); }
.tl-it.is-deploy .tl-dot { box-shadow: inset 0 0 0 3px #5ad1ff; }
.tl-it.is-portfolio .tl-dot { box-shadow: inset 0 0 0 3px #ff8fd0; }
.tl-it.is-library .tl-dot { box-shadow: inset 0 0 0 3px #6ee7a8; }
.tl-it.is-note .tl-dot { box-shadow: inset 0 0 0 3px #ffd166; }
.tl-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring); }
.tl-card > div:only-child { grid-column: 1 / -1; }
.tl-card > img { width: 128px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--thumb-bg); }
.tl-card small { color: var(--bar-today); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.tl-it.is-deploy small { color: #5ad1ff; }
.tl-it.is-portfolio small { color: #ff8fd0; }
.tl-it.is-library small { color: #8ff0b8; }
.tl-it.is-note small { color: #ffd166; }
:root[data-theme="light"] .tl-it.is-build small { color: #5b3fd6; }
:root[data-theme="light"] .tl-it.is-deploy small { color: #0b6e99; }
:root[data-theme="light"] .tl-it.is-portfolio small { color: #a3236b; }
:root[data-theme="light"] .tl-it.is-library small { color: #127a3e; }
:root[data-theme="light"] .tl-it.is-note small { color: #8a5a00; }
:root[data-theme="light"] .tl-it.is-deploy .tl-dot { box-shadow: inset 0 0 0 3px #0b6e99; }
:root[data-theme="light"] .tl-it.is-portfolio .tl-dot { box-shadow: inset 0 0 0 3px #a3236b; }
:root[data-theme="light"] .tl-it.is-library .tl-dot { box-shadow: inset 0 0 0 3px #127a3e; }
.tl-card b { display: block; margin-top: 2px; font-size: 15.5px; line-height: 1.35; }
.tl-card b a { text-decoration: none; }
.tl-card b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tl-card p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.tl-card .tl-src { margin-top: 6px; font-size: 11.5px; }
.tl-note { padding: 6px 10px; border-radius: 8px; background: var(--chip-bg); color: var(--text) !important; }
.tl-note span { margin-right: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tl-card details { margin-top: 8px; }
.tl-card summary { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--text); font-size: 12.5px; font-weight: 650; cursor: pointer; list-style: none; }
.tl-card summary::-webkit-details-marker { display: none; }
.tl-card summary::before { content: "+"; font-weight: 800; }
.tl-card details[open] summary::before { content: "–"; }
.tl-card summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tl-sub { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.tl-sub .tl-it { margin: 0; }
.tl-sub .tl-dot { display: none; }
.tl-sub .tl-card { padding: 8px 12px; background: var(--chip-bg); box-shadow: none; }
.tl-sub .tl-src { display: none; }
.tl-end { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 860px; margin: 8px auto 40px; color: var(--muted); font-size: 14px; }

/* follow */
.cool-follow { max-width: 1040px; margin: 0 auto 40px; }
.cool-follow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cool-follow-card { padding: 20px; border-radius: 18px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); }
.cool-follow-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--section-title); font-size: 18px; }
.cool-sub label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 650; }
.cool-sub-row { display: flex; gap: 8px; }
.cool-sub-row input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ns-input); box-shadow: inset 0 0 0 1px var(--chip-ring); color: var(--text); font: 15px inherit; font-family: inherit; }
.cool-sub-row input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bar); }
.cool-sub-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cool-sub-note b { color: var(--text); }
.cool-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cool-feeds { display: grid; gap: 8px; }
.cool-feed { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--ns-card); box-shadow: inset 0 0 0 1px var(--ns-ring); color: var(--text); text-decoration: none; }
.cool-feed:hover { box-shadow: inset 0 0 0 1px var(--ns-ring-hover); }
.cool-feed svg { grid-row: span 2; color: #ff9d42; }
.cool-feed span { color: var(--muted); font-size: 13px; }
.cool-privacy { margin-top: 22px; padding: 18px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--panel-ring); }
.cool-privacy h2 { margin: 0 0 8px; font-size: 16px; }
.cool-privacy ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 1100px) { .cool-today { grid-template-columns: 1fr; } .cool-ask-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .cool-pick { grid-template-columns: 1fr; }
  .cool-col-hero { grid-template-columns: 1fr; }
  .cool-col-qr { display: none; }
  .cool-follow-grid { grid-template-columns: 1fr; }
  .cool-ask-form button { padding: 0 16px; }
  .cool-embed-label { font-size: 16px; }
  .cool-embed-play { width: 58px; height: 58px; }
  .tl-items { padding-left: 24px; margin-left: 6px; }
  .tl-dot { left: -32px; }
  .tl-day h2 { padding-left: 24px; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-card > img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .cool-cols { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cool-cols.is-page { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; margin: 10px 0 0; padding: 0; }
  .cool-col { scroll-snap-align: start; }
}
@media (max-width: 420px) { .cool-sub-row { flex-direction: column; } .cool-sub-row .ns-btn { justify-content: center; } }

/* showcase */
.sc-page { overflow: hidden; }
.sc-page .ns-main { max-width: none; padding: 0; }
.sc { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; background: radial-gradient(ellipse at 70% 20%, rgba(124, 100, 235, 0.22), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(90, 209, 255, 0.12), transparent 50%), var(--bg); outline: none; }
.sc.is-idle, .sc.is-idle * { cursor: none !important; }
.sc-slides { position: absolute; inset: 0; }
.sc .sc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.015); transition: opacity 0.7s ease, transform 1.2s ease, visibility 0s 0.7s; }
.sc .sc-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.7s ease, transform 1.2s ease, visibility 0s; }
.sc-slide { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: clamp(40px, 7vh, 96px) clamp(28px, 5vw, 96px) clamp(80px, 11vh, 120px); box-sizing: border-box; }
.sc-slide.is-intro, .sc-slide.is-outro, .sc-slide.is-lib { grid-template-columns: 1fr; }
.sc-media { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(12px, 1.4vw, 22px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--ns-ring), 0 40px 120px -30px rgba(0, 0, 0, 0.8), 0 0 140px -40px var(--accent-glow); }
.sc-media video, .sc-media img, .sc-media .gw-noshot { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-text h2, .sc-intro h1, .sc-intro h2 { margin: 6px 0 0; color: var(--section-title); font-size: clamp(34px, 4.4vw, 84px); font-weight: 760; letter-spacing: -0.03em; line-height: 1.02; }
.sc-intro h1 em { font-style: normal; background: linear-gradient(100deg, #b6a6ff, #8b74ff 40%, #5ad1ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .sc-intro h1 em { background: linear-gradient(100deg, #5a40d8, #6f58e0 40%, #1677b8); -webkit-background-clip: text; background-clip: text; }
.sc .ns-eyebrow { font-size: clamp(12px, 1vw, 16px); }
.sc-lede { margin: clamp(10px, 1.6vh, 20px) 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(16px, 1.45vw, 26px); line-height: 1.45; }
.sc-hl { margin: clamp(12px, 2vh, 26px) 0 0; padding: 0; list-style: none; display: grid; gap: clamp(6px, 1vh, 12px); }
.sc-hl li { position: relative; padding-left: 28px; font-size: clamp(14px, 1.15vw, 21px); line-height: 1.4; }
.sc-hl li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #8b74ff, #5ad1ff); transform: rotate(45deg); }
.sc-qr { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(16px, 3vh, 36px); padding: 10px 18px 10px 10px; border-radius: 16px; background: var(--panel-bg); box-shadow: inset 0 0 0 1px var(--panel-ring); color: var(--muted); font-size: clamp(12px, 0.95vw, 16px); }
.sc-qr b { display: block; color: var(--text); font-size: clamp(14px, 1.1vw, 19px); }
.sc-qr.is-big .ni-qr { width: clamp(140px, 14vw, 220px); height: auto; }
.sc-intro { display: grid; justify-items: center; text-align: center; }
.sc-intro .sc-lede { margin-inline: auto; }
.sc-glyph { width: clamp(56px, 6vw, 96px); height: clamp(56px, 6vw, 96px); border-radius: 26%; margin-bottom: 18px; animation: sc-float 6s ease-in-out infinite; }
@keyframes sc-float { 50% { transform: translateY(-8px) rotate(4deg); } }
.sc-wide { max-width: 1500px; width: 100%; margin: 0 auto; }
.sc-lib { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1vw, 18px); margin: clamp(16px, 3vh, 34px) 0 0; padding: 0; list-style: none; }
.sc-lib li { display: grid; gap: 8px; color: var(--muted); font-size: clamp(12px, 0.95vw, 16px); line-height: 1.35; }
.sc-lib img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px var(--ns-ring); }
.sc-progress { position: absolute; z-index: 5; top: 14px; left: clamp(28px, 5vw, 96px); right: clamp(28px, 5vw, 96px); display: flex; gap: 6px; }
.sc-progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(127, 127, 127, 0.28); overflow: hidden; }
.sc-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #8b74ff, #5ad1ff); }
.sc-progress .is-done i { width: 100% !important; transition: none !important; }
.sc-controls { position: absolute; z-index: 5; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--ni-menu-bg, #0b0b0e); box-shadow: inset 0 0 0 1px var(--ns-ring), var(--ns-shadow); transform: translateX(-50%); transition: opacity 0.3s ease, transform 0.3s ease; }
.sc-controls button, .sc-exit { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text); font: 600 26px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.sc-controls button:hover, .sc-exit:hover { background: var(--chip-bg-hover); }
.sc-controls :focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.sc-pause { display: block; width: 14px; height: 16px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.sc.is-paused .sc-pause { width: 0; height: 0; border: 0; border-left: 14px solid currentColor; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.sc-count { min-width: 56px; color: var(--muted); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.sc-hint, .sc-paused { position: absolute; z-index: 5; left: 0; right: 0; bottom: 78px; margin: 0; color: var(--muted); font-size: 12.5px; text-align: center; transition: opacity 0.3s ease; }
.sc-paused { bottom: 82px; color: var(--text); font-size: 14px; font-weight: 650; }
.sc-paused[hidden] { display: none; }
.sc.is-paused .sc-hint { opacity: 0; }
.sc.is-idle .sc-controls { opacity: 0; transform: translate(-50%, 10px); pointer-events: none; }
.sc.is-idle .sc-hint { opacity: 0; }
/* No-JS fallback: stack every slide (slide 1 is server-rendered .is-on, so the JS layout applies from first paint: no layout shift). */
@media (scripting: none) {
  .sc { height: auto; overflow: visible; }
  .sc .sc-slide { position: relative; inset: auto; min-height: 80vh; opacity: 1; visibility: visible; transform: none; }
  .sc .sc-controls, .sc .sc-hint, .sc .sc-progress { display: none; }
  .sc-media .sc-video { display: none; }
}
.is-tv .sc-hint, .is-tv .sc-controls { display: none; }
@media (max-width: 900px) {
  .sc-slide { grid-template-columns: 1fr; align-content: center; gap: 18px; padding: 44px 20px 110px; overflow-y: auto; }
  .sc-hl li:nth-child(n+3) { display: none; }
  .sc-qr { display: none; }
  .sc-lib { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-lib li:nth-child(n+4) { display: none; }
  .sc-slide.is-outro .sc-qr { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .sc .sc-slide, .sc .sc-slide.is-on { transform: none; transition: none; }
}
.sc-paused .sc-t { display: none; }
@media (hover: none) { .sc-paused .sc-k { display: none; } .sc-paused .sc-t { display: inline; } }
.cool-asksec.is-noask .cool-ask-grid { grid-template-columns: 1fr; }
.cool-asksec.is-noask .cool-more { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
