:root {
  --nostr-hub-ink: #06111d;
  --nostr-hub-soft: rgba(6, 17, 29, 0.68);
  --nostr-hub-muted: rgba(6, 17, 29, 0.5);
  --nostr-hub-line: rgba(6, 17, 29, 0.11);
  --nostr-hub-red: #ff1f57;
  --nostr-hub-deep-blue: #12324a;
  --nostr-hub-slate: #314155;
  --nostr-hub-green: #0b3346;
  --nostr-hub-blue: #071b28;
  --nostr-hub-cream: #fffaf3;
  --nostr-hub-paper: #f4f7f8;
  --nostr-hub-night: #04111b;
  --nostr-hub-panel: #ffffff;
  --nostr-font-display: "Montserrat", Arial, sans-serif;
  --nostr-font-text: "Montserrat", Arial, sans-serif;
  --nostr-type-h1: clamp(58px, 5.1vw, 82px);
  --nostr-type-h2: clamp(32px, 2.2vw, 40px);
  --nostr-type-h3: clamp(24px, 1.55vw, 28px);
  --nostr-hub-page-h1: clamp(58px, 6.2vw, 102px);
  --nostr-hub-page-h2: clamp(30px, 3vw, 52px);
  --nostr-hub-page-h3: clamp(21px, 2vw, 30px);
  --nostr-type-lead: clamp(20px, 1.35vw, 22px);
  --nostr-type-body: 18px;
  --nostr-type-small: 14px;
  --nostr-box-title: var(--nostr-type-h3);
  --nostr-box-label: 12px;
  --nostr-box-copy: 14px;
  --nostr-line-tight: 1.08;
  --nostr-line-heading: 1.14;
  --nostr-line-body: 1.78;
  --nostr-letter: 0;
  --nostr-nav-gap: clamp(18px, 2.2vw, 42px);
  --nostr-route-start: #ff1550;
  --nostr-route-people: #d8105c;
  --nostr-route-apps: #b01886;
  --nostr-route-relays: #7727b8;
  --nostr-route-nips: #3747d6;
  --nostr-route-privacy: #1f64d8;
  --nostr-route-wallets: #314155;
  --nostr-route-media: #b72f72;
  --nostr-route-commerce: #24344d;
  --nostr-route-governance: #334155;
  --nostr-route-crays: #ff1550;
  --nostr-route-library: #06111d;
}

body.crays-nostr-hub-body {
  font-family: var(--nostr-font-text);
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    var(--nostr-hub-paper);
  background-size: 96px 96px;
}

.crays-nostr-hub-body :where(h1, h2, h3, h4, h5, h6, p, a, li, span, small, strong, input, button, summary) {
  font-family: var(--nostr-font-text);
  letter-spacing: var(--nostr-letter);
}

.crays-nostr-hub-body .crays-article-shell,
.crays-nostr-hub-body .crays-article-reader-shell {
  width: min(1540px, calc(100% - 56px));
}

.crays-nostr-hub-body .crays-article-header {
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  background: #fff;
  backdrop-filter: none;
}

.crays-nostr-hub-body .crays-article-header__inner {
  width: calc(100% - 28px);
  max-width: none;
  margin: 0 14px;
  min-height: 74px;
  justify-content: flex-start;
  gap: 22px;
  padding: 0;
}

.crays-nostr-hub-body .crays-article-logo {
  flex: 0 0 156px;
  width: 156px;
}

.crays-nostr-hub-body .crays-article-logo img {
  width: 156px;
  max-height: 40px;
  object-fit: contain;
}

.crays-nostr-hub-body .crays-article-site-nav {
  justify-content: flex-start;
  gap: var(--nostr-nav-gap);
  margin-left: 24px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.crays-nostr-hub-body .crays-article-site-nav::-webkit-scrollbar {
  display: none;
}

.crays-nostr-hub-body .crays-article-site-nav a {
  position: relative;
  color: rgba(6, 17, 29, 0.82);
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.crays-nostr-hub-body .crays-article-site-nav a[aria-current="page"] {
  color: var(--nostr-hub-red);
}

.crays-nostr-hub-body .crays-article-site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.crays-nostr-hub-body .crays-article-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.crays-nostr-hub-body .crays-article-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--nostr-hub-red);
  border-radius: 999px;
  color: #06111d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.crays-nostr-hub-body .crays-article-header-cta:hover {
  color: var(--nostr-hub-red);
}

.crays-nostr-hub-body .crays-article-header-language {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #06111d;
  text-decoration: none;
}

.crays-nostr-hub-body .crays-article-header-language svg {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 1499px) {
  :root {
    --nostr-nav-gap: 12px;
  }

  .crays-nostr-hub-body .crays-article-logo {
    flex-basis: 138px;
    width: 138px;
  }

  .crays-nostr-hub-body .crays-article-logo img {
    width: 138px;
    max-height: 38px;
  }

  .crays-nostr-hub-body .crays-article-site-nav a {
    font-size: 12px;
  }

  .crays-nostr-hub-body .crays-article-header-cta {
    min-width: 148px;
  }
}

.crays-nostr-hub-body .crays-article-main {
  padding: 64px 0 78px;
}

.crays-nostr-hub-body .crays-article-layout {
  align-items: start;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  justify-content: stretch;
  gap: clamp(44px, 4vw, 72px);
}

.crays-nostr-hub-body .crays-article-content {
  grid-column: 2;
  width: 100%;
  max-width: none;
  min-width: 0;
  counter-reset: crays-section;
}

.crays-nostr-article-masthead {
  margin: 0 0 38px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 251, 0.86) 100%);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 22px 64px rgba(6, 17, 29, 0.08);
}

.crays-nostr-article-masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.crays-nostr-article-masthead__meta span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(6, 17, 29, 0.66);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.crays-nostr-hub-body .crays-article-content .crays-nostr-article-masthead__title {
  display: block;
  grid-template-columns: none;
  margin: 0;
  max-width: 100%;
  color: var(--nostr-hub-ink);
  font-size: clamp(42px, 3.8vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  counter-increment: none;
}

.crays-nostr-hub-body .crays-article-content .crays-nostr-article-masthead__title::before {
  content: none;
}

.crays-nostr-hub-body .crays-article-content .crays-nostr-article-masthead__deck {
  max-width: 100%;
  margin: 18px 0 0;
  color: rgba(6, 17, 29, 0.68);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 720;
  line-height: 1.5;
}

.crays-nostr-learning-compass {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(220px, 0.55fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: -16px 0 28px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: clamp(14px, 2vw, 20px);
  box-shadow: 0 16px 42px rgba(6, 17, 29, 0.055);
}

.crays-nostr-learning-compass__intro h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-learning-compass__intro p:last-child,
.crays-nostr-learning-compass__task span,
.crays-nostr-learning-compass__actions span {
  color: var(--nostr-hub-soft);
  font-size: var(--nostr-box-copy);
  font-weight: 700;
  line-height: 1.45;
}

.crays-nostr-learning-compass__task {
  display: grid;
  align-content: start;
  gap: 8px;
  border-left: 4px solid rgba(255, 21, 80, 0.7);
  background: #f7fafb;
  padding: 14px 16px;
}

.crays-nostr-learning-compass__task strong {
  color: var(--nostr-hub-red);
  font-size: var(--nostr-box-label);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.crays-nostr-learning-compass__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.crays-nostr-learning-compass__actions a {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  color: var(--nostr-hub-ink);
  padding: 12px;
  text-decoration: none;
}

.crays-nostr-learning-compass__actions a:hover,
.crays-nostr-learning-compass__next a:hover {
  border-color: rgba(255, 21, 80, 0.45);
  background: #fff;
  box-shadow: 0 10px 26px rgba(6, 17, 29, 0.07);
}

.crays-nostr-learning-compass__actions strong {
  color: var(--nostr-hub-red);
  font-size: var(--nostr-box-label);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.crays-nostr-learning-compass__next {
  grid-column: 1 / -1;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fbfcfd;
}

.crays-nostr-learning-compass__next summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 12px 14px;
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-learning-compass__next summary small {
  color: var(--nostr-hub-muted);
  font-size: 12px;
  font-weight: 800;
}

.crays-nostr-learning-compass__next div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  padding: 10px;
}

.crays-nostr-learning-compass__next a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 10px;
  text-decoration: none;
}

.crays-nostr-learning-compass__next a > strong {
  font-size: 13px;
  line-height: 1.2;
}

.crays-nostr-learning-compass__next a > span:not(.crays-nostr-card-badge) {
  grid-column: 2;
  color: var(--nostr-hub-muted);
  font-size: 12px;
  line-height: 1.35;
}

.crays-nostr-start-page {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.03) 1px, transparent 1px),
    #f7f8fb;
  background-size: 96px 96px;
}

.crays-nostr-start-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(3, 7, 12, 0.76) 0%, rgba(3, 7, 12, 0.54) 48%, rgba(3, 7, 12, 0.78) 100%),
    var(--nostr-start-bg);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.crays-nostr-start-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 45%, rgba(255, 31, 87, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(3, 7, 12, 0.18), rgba(3, 7, 12, 0.28) 58%, rgba(3, 7, 12, 0.58));
  opacity: 1;
}

.crays-nostr-start-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--nostr-hub-red), var(--nostr-hub-red) 34%, #071827 34%, #071827 100%);
}

.crays-nostr-start-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.54fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 6vw, 92px) 0;
}

.crays-nostr-start-hero__copy h1 {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: var(--nostr-hub-page-h1);
  font-weight: 900;
  line-height: 0.96;
}

.crays-nostr-start-hero__lead {
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 700;
  line-height: 1.48;
}

.crays-nostr-start-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.crays-nostr-start-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-start-hero__actions a.is-primary {
  border-color: var(--nostr-hub-red);
  background: var(--nostr-hub-red);
  box-shadow: 0 22px 52px rgba(255, 31, 87, 0.24);
}

.crays-nostr-start-hero__actions a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.crays-nostr-start-mental-model {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(3, 7, 12, 0.92), rgba(5, 24, 38, 0.76)),
    var(--nostr-start-visual);
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.crays-nostr-start-mental-model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 31, 87, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  pointer-events: none;
}

.crays-nostr-start-mental-model > .crays-nostr-live-kicker {
  margin: 0 0 clamp(26px, 3vw, 40px);
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-start-mental-model ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: start-model;
}

.crays-nostr-start-mental-model li {
  counter-increment: start-model;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 7px 20px;
  align-items: start;
  min-height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 0;
}

.crays-nostr-start-mental-model li:first-child {
  padding-top: 0;
  border-top: 0;
}

.crays-nostr-start-mental-model li:last-child {
  padding-bottom: 0;
}

.crays-nostr-start-mental-model li::before {
  content: counter(start-model, decimal-leading-zero);
  grid-row: 1 / span 2;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-start-mental-model strong,
.crays-nostr-start-path-card strong,
.crays-nostr-start-world-card strong,
.crays-nostr-start-read-first a strong,
.crays-nostr-start-contribute a strong {
  color: var(--nostr-hub-ink);
  font-weight: 900;
  line-height: 1.16;
}

.crays-nostr-start-mental-model strong {
  grid-column: 2;
  color: #fff;
  font-size: 21px;
  line-height: 1.12;
}

.crays-nostr-start-mental-model span {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.crays-nostr-start-contribute > div > .crays-nostr-live-kicker {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-start-body {
  padding: clamp(42px, 5vw, 72px) 0 84px;
}

.crays-nostr-start-image-band {
  background: #071827;
  padding: clamp(24px, 3.4vw, 42px) 0;
}

.crays-nostr-start-image-band--after-hero {
  margin-top: clamp(30px, 4vw, 58px);
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
}

.crays-nostr-start-image-band--mid {
  margin: clamp(26px, 4vw, 54px) 0 0;
}

.crays-nostr-start-image-band--mid .crays-article-shell {
  width: min(1540px, calc(100vw - 56px));
}

.crays-nostr-start-image-band__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr 1.18fr 0.8fr 0.8fr;
  grid-template-rows: 124px;
  gap: 14px;
  align-items: stretch;
}

.crays-nostr-start-image-band figure {
  position: relative;
  min-height: 124px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #06111d;
}

.crays-nostr-start-image-band figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 12, 0.06), rgba(3, 7, 12, 0.3));
  pointer-events: none;
}

.crays-nostr-start-image-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crays-nostr-start-hero__dock {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(30px, 5vw, 66px);
}

.crays-nostr-start-orientation {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.5fr);
  column-gap: clamp(24px, 4vw, 60px);
  row-gap: clamp(20px, 3vw, 30px);
  align-items: start;
  border: 1px solid var(--nostr-hub-line);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 24px 70px rgba(6, 17, 29, 0.08);
}

.crays-nostr-start-section-head h2,
.crays-nostr-start-orientation h2,
.crays-nostr-start-contribute h2 {
  max-width: 880px;
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-start-orientation .crays-nostr-start-copy > p:not(.crays-nostr-live-kicker),
.crays-nostr-start-orientation .crays-nostr-start-orientation__copy > p:not(.crays-nostr-live-kicker),
.crays-nostr-start-contribute p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--nostr-hub-soft);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 650;
  line-height: 1.62;
}

.crays-nostr-start-search,
.crays-nostr-start-orientation__search {
  display: grid;
  align-self: start;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  padding: 22px;
}

.crays-nostr-start-search label,
.crays-nostr-start-orientation__search label {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-start-search input,
.crays-nostr-start-orientation__search input {
  min-height: 58px;
  width: 100%;
  border: 1px solid rgba(6, 17, 29, 0.15);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 0 16px;
  font-size: 16px;
  font-weight: 760;
}

.crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline {
  grid-column: 1 / -1;
  margin-top: 0;
  background: #fff;
  box-shadow: none;
}

.crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline > summary {
  grid-template-columns: 88px minmax(0, 1fr) minmax(148px, auto) auto;
  min-height: 68px;
  padding: 14px 16px;
}

.crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline > summary strong {
  font-size: clamp(17px, 1.1vw, 20px);
}

.crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline > summary small {
  font-size: 12px;
}

.crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline[open] .crays-nostr-route-directory__shelves,
.crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline[open] .crays-nostr-route-directory__body {
  max-height: clamp(300px, 42vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.crays-nostr-start-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 50px rgba(6, 17, 29, 0.055);
}

.crays-nostr-start-dock--hero {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.crays-nostr-start-dock section,
.crays-nostr-start-dock > div {
  min-height: 174px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  padding: 18px 20px;
}

.crays-nostr-start-dock section:last-child,
.crays-nostr-start-dock > div:last-child {
  border-right: 0;
}

.crays-nostr-start-dock h2,
.crays-nostr-start-dock h3 {
  margin: 0 0 14px;
  color: var(--nostr-hub-red);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
  letter-spacing: 0;
}

.crays-nostr-start-dock nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.crays-nostr-start-dock a {
  color: rgba(6, 17, 29, 0.74);
  font-size: 14.5px;
  font-weight: 850;
  line-height: 1.28;
  text-decoration: none;
}

.crays-nostr-start-dock a:hover {
  color: var(--nostr-hub-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.crays-nostr-start-directory {
  margin-top: clamp(28px, 4vw, 52px);
}

.crays-nostr-start-directory .crays-nostr-route-directory {
  margin: 0;
  box-shadow: 0 14px 42px rgba(6, 17, 29, 0.045);
}

.crays-nostr-start-path-card,
.crays-nostr-start-world-card,
.crays-nostr-start-read-first a,
.crays-nostr-start-contribute a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
}

.crays-nostr-start-path-card {
  display: grid;
  align-content: space-between;
  min-height: 142px;
  padding: 18px;
}

.crays-nostr-start-path-card span,
.crays-nostr-start-world-card small,
.crays-nostr-start-read-first a span,
.crays-nostr-start-contribute a span {
  color: var(--nostr-hub-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.crays-nostr-start-worlds,
.crays-nostr-start-read-first,
.crays-nostr-start-contribute {
  margin-top: clamp(38px, 5vw, 70px);
}

.crays-nostr-start-worlds--first {
  margin-top: 0;
}

.crays-nostr-start-how {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 72px);
}

.crays-nostr-hub-closeout {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.crays-nostr-start-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.crays-nostr-start-world-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.crays-nostr-start-world-card {
  display: grid;
  gap: 10px;
  min-height: 188px;
  border-width: 0 1px 1px 0;
  border-radius: 0;
  padding: 18px;
}

.crays-nostr-start-world-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px rgba(6, 17, 29, 0.1);
}

.crays-nostr-start-world-card[data-route="start"] span {
  background: var(--nostr-hub-red);
}

.crays-nostr-start-world-card[data-route="people"] span {
  background: #b72f72;
  color: #fff;
}

.crays-nostr-start-world-card[data-route="apps"] span {
  background: #314a78;
}

.crays-nostr-start-world-card[data-route="relays"] span {
  background: #06364f;
}

.crays-nostr-start-world-card[data-route="nips"] span {
  background: #2468d8;
}

.crays-nostr-start-world-card[data-route="privacy"] span {
  background: #071827;
}

.crays-nostr-start-world-card[data-route="wallets"] span {
  background: #314155;
}

.crays-nostr-start-world-card[data-route="media"] span {
  background: #b72f72;
}

.crays-nostr-start-world-card[data-route="commerce"] span {
  background: #24344d;
}

.crays-nostr-start-world-card[data-route="governance"] span {
  background: #314a78;
}

.crays-nostr-start-world-card[data-route="crays"] span {
  background: #ff1f57;
}

.crays-nostr-start-world-card[data-route="library"] span {
  background: #08243a;
}

.crays-nostr-route-hub-landing {
  --hub-accent: var(--nostr-hub-red);
  --hub-deep: #04111b;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.03) 1px, transparent 1px),
    var(--nostr-hub-paper);
  background-size: 96px 96px;
}

.crays-nostr-route-hub-landing[data-route-hub="people"] { --hub-accent: #b72f72; }
.crays-nostr-route-hub-landing[data-route-hub="apps"] { --hub-accent: #314a78; }
.crays-nostr-route-hub-landing[data-route-hub="relays"] { --hub-accent: #06364f; }
.crays-nostr-route-hub-landing[data-route-hub="nips"] { --hub-accent: #2468d8; }
.crays-nostr-route-hub-landing[data-route-hub="privacy"] { --hub-accent: #071827; }
.crays-nostr-route-hub-landing[data-route-hub="wallets"] { --hub-accent: #314155; }
.crays-nostr-route-hub-landing[data-route-hub="media"] { --hub-accent: #b72f72; }
.crays-nostr-route-hub-landing[data-route-hub="commerce"] { --hub-accent: #24344d; }
.crays-nostr-route-hub-landing[data-route-hub="governance"] { --hub-accent: #314a78; }
.crays-nostr-route-hub-landing[data-route-hub="crays"] { --hub-accent: #ff1f57; }
.crays-nostr-route-hub-landing[data-route-hub="library"] { --hub-accent: #08243a; }

.crays-nostr-route-hub-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 17, 27, 0.92) 0%, rgba(4, 17, 27, 0.78) 45%, rgba(4, 17, 27, 0.54) 100%),
    var(--nostr-hero-bg) var(--nostr-hero-bg-position, center) / var(--nostr-hero-bg-size, cover) no-repeat;
}

.crays-nostr-people-hero {
  background:
    linear-gradient(90deg, rgba(4, 17, 27, 0.93) 0%, rgba(4, 17, 27, 0.82) 43%, rgba(4, 17, 27, 0.68) 100%),
    linear-gradient(0deg, rgba(4, 11, 18, 0.34), rgba(4, 11, 18, 0.34)),
    var(--nostr-hero-bg) var(--nostr-hero-bg-position, center) / var(--nostr-hero-bg-size, cover) no-repeat;
}

.crays-nostr-people-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 22%, rgba(4, 11, 18, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(4, 11, 18, 0.18), rgba(4, 11, 18, 0.42));
  z-index: 0;
}

.crays-nostr-people-hero .crays-nostr-route-hub-hero__panel {
  background:
    linear-gradient(135deg, rgba(4, 11, 18, 0.84), rgba(7, 24, 39, 0.74)),
    var(--nostr-hero-panel-bg, none) center / cover no-repeat;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.crays-nostr-route-hub-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--nostr-hub-red), #b72f72, #071827);
}

.crays-nostr-route-hub-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.46fr);
  align-items: center;
  gap: clamp(34px, 6vw, 100px);
  min-height: inherit;
  padding: clamp(70px, 8vw, 112px) 0 clamp(62px, 7vw, 96px);
}

.crays-nostr-route-hub-hero__back {
  display: inline-flex;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.crays-nostr-route-hub-hero__copy h1 {
  max-width: 940px;
  margin: 0;
  color: #fff;
  font-size: var(--nostr-hub-page-h1);
  font-weight: 900;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.crays-nostr-route-hub-hero__copy > p:not(.crays-nostr-live-kicker) {
  max-width: 900px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.45;
  font-weight: 760;
}

.crays-nostr-route-hub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.crays-nostr-route-hub-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-route-hub-hero__actions a:first-child {
  border-color: var(--hub-accent);
  background: var(--hub-accent);
  color: #fff;
}

.crays-nostr-route-hub-hero__panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--nostr-hub-ink);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.crays-nostr-route-hub-hero__panel h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h3);
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-route-hub-hero__panel dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.crays-nostr-route-hub-hero__panel dl div {
  display: grid;
  gap: 4px;
  min-height: 96px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.crays-nostr-route-hub-hero__panel dt {
  color: var(--hub-accent);
  font-size: 18px;
  font-weight: 900;
}

.crays-nostr-route-hub-hero__panel dd {
  margin: 0;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.crays-nostr-route-hub-hero__panel nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crays-nostr-route-hub-hero__panel nav a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--nostr-hub-ink);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-hub-image-band {
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
  padding: clamp(24px, 3vw, 40px) 0;
}

.crays-nostr-route-hub-landing .crays-nostr-hub-image-band,
.crays-nostr-basics-page .crays-nostr-hub-image-band {
  margin: clamp(28px, 4vw, 54px) 0;
  padding: clamp(38px, 4.6vw, 64px) 0;
}

.crays-nostr-hub-image-band__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.15fr 0.9fr 0.9fr;
  grid-auto-rows: 124px;
  gap: 12px;
}

.crays-nostr-hub-image-band figure {
  position: relative;
  min-height: 124px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.crays-nostr-hub-image-band figure.is-wide {
  grid-column: span 1;
}

.crays-nostr-hub-image-band figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 27, 0.08), rgba(4, 17, 27, 0.4));
}

.crays-nostr-hub-image-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crays-nostr-route-hub-landing[data-route-hub="apps"] .crays-nostr-apps-collage,
.crays-nostr-route-hub-landing[data-route-hub="people"] .crays-nostr-people-collage,
.crays-nostr-route-hub-landing[data-route-hub="media"] .crays-nostr-media-collage,
.crays-nostr-route-hub-landing[data-route-hub="crays"] .crays-nostr-crays-collage {
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
  margin: 0;
  padding: clamp(38px, 4.6vw, 64px) 0;
}

.crays-nostr-hub-separator-collage {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.crays-nostr-route-hub-landing[data-route-hub="apps"] .crays-nostr-apps-collage + .crays-nostr-hub-section,
.crays-nostr-route-hub-landing[data-route-hub="people"] .crays-nostr-people-collage + .crays-nostr-hub-section,
.crays-nostr-route-hub-landing[data-route-hub="media"] .crays-nostr-media-collage + .crays-nostr-hub-section,
.crays-nostr-route-hub-landing[data-route-hub="crays"] .crays-nostr-crays-collage + .crays-nostr-hub-section {
  padding-top: clamp(46px, 5vw, 72px);
}

.crays-nostr-apps-collage .crays-nostr-hub-image-band__grid,
.crays-nostr-people-collage .crays-nostr-hub-image-band__grid,
.crays-nostr-media-collage .crays-nostr-hub-image-band__grid,
.crays-nostr-crays-collage .crays-nostr-hub-image-band__grid {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.crays-nostr-apps-collage figure,
.crays-nostr-people-collage figure,
.crays-nostr-media-collage figure,
.crays-nostr-crays-collage figure {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.crays-nostr-route-hub-landing .crays-nostr-route-collage {
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
  margin: 0;
  padding: clamp(38px, 4.6vw, 64px) 0;
}

.crays-nostr-route-hub-landing .crays-nostr-route-collage + .crays-nostr-hub-section {
  padding-top: clamp(46px, 5vw, 72px);
}

.crays-nostr-route-collage .crays-nostr-hub-image-band__grid {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.crays-nostr-route-collage figure {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.crays-nostr-route-hub-landing [id] {
  scroll-margin-top: 112px;
}

.crays-nostr-people-collage figure {
  background: rgba(255, 255, 255, 0.05);
}

.crays-nostr-people-collage figure::after {
  background: linear-gradient(180deg, rgba(4, 17, 27, 0.02), rgba(4, 17, 27, 0.2));
}

.crays-nostr-people-collage img {
  filter: saturate(1.08) contrast(1.03) brightness(1.08);
}

.crays-nostr-hub-section {
  padding: clamp(56px, 6vw, 92px) 0;
}

.crays-nostr-hub-section + .crays-nostr-hub-section {
  padding-top: 0;
}

.crays-nostr-hub-section__head {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin-bottom: 24px;
}

.crays-nostr-hub-section__head h2,
.crays-nostr-hub-signature__copy h2,
.crays-nostr-hub-contribution h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker),
.crays-nostr-hub-signature__copy p,
.crays-nostr-hub-contribution p {
  max-width: 880px;
  margin: 0;
  color: var(--nostr-hub-soft);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.48;
  font-weight: 760;
}

.crays-nostr-hub-path-grid,
.crays-nostr-hub-route-groups,
.crays-nostr-hub-shelf-grid,
.crays-nostr-hub-signature__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-hub-path-card,
.crays-nostr-hub-route-groups section,
.crays-nostr-hub-shelf-card,
.crays-nostr-hub-signature__cards a,
.crays-nostr-hub-contribution nav a {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 168px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 14px 42px rgba(6, 17, 29, 0.045);
}

.crays-nostr-hub-path-card strong,
.crays-nostr-hub-route-groups h3,
.crays-nostr-hub-shelf-card h3,
.crays-nostr-hub-signature__cards strong,
.crays-nostr-hub-contribution nav strong {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.16;
}

.crays-nostr-hub-path-card span:not(.crays-nostr-card-icon),
.crays-nostr-hub-shelf-card p,
.crays-nostr-hub-signature__cards span,
.crays-nostr-hub-contribution nav span {
  color: var(--nostr-hub-soft);
  font-size: 14px;
  font-weight: 740;
  line-height: 1.45;
}

.crays-nostr-hub-route-groups nav,
.crays-nostr-hub-shelf-card nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.crays-nostr-hub-route-groups a,
.crays-nostr-hub-shelf-card nav a {
  color: rgba(6, 17, 29, 0.76);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.crays-nostr-hub-route-groups a:hover,
.crays-nostr-hub-shelf-card nav a:hover {
  color: var(--nostr-hub-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.crays-nostr-hub-guide-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-bottom: 16px;
  border: 1px solid var(--hub-accent);
  border-radius: 999px;
  background: var(--hub-accent);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-hub-signature {
  background: #fff;
}

.crays-nostr-hub-signature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

.crays-nostr-hub-signature__copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 300px;
  border-left: 6px solid var(--hub-accent);
  background: #f6f9fa;
  padding: clamp(24px, 4vw, 48px);
}

.crays-nostr-hub-signature__visual {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #071827;
}

.crays-nostr-hub-signature__visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  opacity: 0.88;
}

.crays-nostr-hub-signature__visual figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(4, 17, 27, 0.82);
  color: #fff;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-hub-signature__tiles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.crays-nostr-hub-signature__tiles a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-height: 190px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  padding: 20px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-hub-signature__tiles a:last-child {
  border-right: 0;
}

.crays-nostr-hub-signature__tiles span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--hub-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-hub-signature__tiles strong {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.crays-nostr-hub-signature__tiles small {
  color: var(--nostr-hub-soft);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.crays-nostr-hub-signature__cards {
  grid-column: 1 / -1;
}

.crays-nostr-hub-signature__cards a {
  min-height: 148px;
  grid-template-columns: 44px minmax(0, 1fr);
}

.crays-nostr-hub-signature__cards a > span:not(.crays-nostr-card-icon),
.crays-nostr-hub-signature__cards a > .crays-nostr-card-media + strong + span {
  grid-column: 2;
}

.crays-nostr-visual-rail {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 2px;
}

.crays-nostr-visual-rail a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 8px 14px 8px 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-visual-rail img,
.crays-nostr-visual-rail span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--nostr-hub-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-hub-contribution {
  background: #071827;
  color: #fff;
}

.crays-nostr-hub-contribution__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.crays-nostr-hub-contribution h2,
.crays-nostr-hub-contribution p {
  color: #fff;
}

.crays-nostr-hub-contribution nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-hub-contribution nav a {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.08);
}

.crays-nostr-hub-contribution nav strong,
.crays-nostr-hub-contribution nav span {
  color: #fff;
}

.crays-nostr-hub-path-card:hover,
.crays-nostr-hub-signature__tiles a:hover,
.crays-nostr-hub-signature__cards a:hover,
.crays-nostr-hub-contribution nav a:hover {
  border-color: var(--hub-accent);
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.09);
  transform: translateY(-1px);
}

.crays-nostr-start-read-first > div,
.crays-nostr-start-contribute nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-start-read-first a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  padding: 14px;
}

.crays-nostr-start-read-first a span:not(.crays-nostr-card-badge) {
  grid-column: 2;
}

.crays-nostr-start-contribute {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 18px 54px rgba(6, 17, 29, 0.06);
}

.crays-nostr-start-contribute a {
  display: grid;
  gap: 14px;
  min-height: 132px;
  padding: 18px;
}

.crays-nostr-start-path-card:hover,
.crays-nostr-start-world-card:hover,
.crays-nostr-start-read-first a:hover,
.crays-nostr-start-contribute a:hover {
  border-color: rgba(255, 21, 80, 0.5);
  background: #fff;
  box-shadow: 0 16px 42px rgba(6, 17, 29, 0.08);
  transform: translateY(-1px);
}

.crays-nostr-basics-page {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.03) 1px, transparent 1px),
    #f7f8fb;
  background-size: 96px 96px;
}

.crays-nostr-basics-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  color: #fff;
  background:
    linear-gradient(105deg, rgba(3, 7, 12, 0.78) 0%, rgba(3, 7, 12, 0.6) 48%, rgba(3, 7, 12, 0.84) 100%),
    var(--nostr-start-bg) center / cover no-repeat;
  background-position: center;
}

.crays-nostr-basics-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 45%, rgba(255, 31, 87, 0.07), transparent 38%),
    linear-gradient(180deg, rgba(3, 7, 12, 0.16), rgba(3, 7, 12, 0.3) 58%, rgba(3, 7, 12, 0.62));
}

.crays-nostr-basics-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--nostr-hub-red), var(--nostr-hub-red) 34%, #071827 34%, #071827 100%);
}

.crays-nostr-basics-hero .crays-article-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.54fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: inherit;
  padding: clamp(70px, 8vw, 112px) 0 clamp(62px, 7vw, 96px);
}

.crays-nostr-basics-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: var(--nostr-hub-page-h1);
  font-weight: 900;
  line-height: 0.96;
}

.crays-nostr-basics-hero .crays-nostr-start-return {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.crays-nostr-basics-hero .crays-nostr-start-return:hover {
  color: #fff;
}

.crays-nostr-basics-hero p:not(.crays-nostr-live-kicker) {
  max-width: 850px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 1.45vw, 25px);
  font-weight: 700;
  line-height: 1.5;
}

.crays-nostr-basics-intro {
  margin-top: 0;
}

.crays-nostr-basics-dock {
  margin-top: 18px;
}

.crays-nostr-basics-first-run,
.crays-nostr-basics-mental-model {
  margin-top: 22px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(6, 17, 29, 0.07);
  padding: clamp(22px, 3.4vw, 38px);
}

.crays-nostr-basics-first-run {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}

.crays-nostr-basics-first-run h2,
.crays-nostr-basics-mental-model h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-basics-first-run p:not(.crays-nostr-live-kicker),
.crays-nostr-basics-mental-model p:not(.crays-nostr-live-kicker) {
  margin: 18px 0 0;
  color: var(--nostr-hub-soft);
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 650;
  line-height: 1.55;
}

.crays-nostr-basics-first-run ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crays-nostr-basics-first-run li,
.crays-nostr-basics-terms a {
  display: grid;
  gap: 9px;
  min-height: 190px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  padding: 18px;
  text-decoration: none;
}

.crays-nostr-basics-first-run li span,
.crays-nostr-basics-terms a::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-basics-first-run li:nth-child(2) span { background: var(--nostr-hub-slate); color: #fff; }
.crays-nostr-basics-first-run li:nth-child(3) span { background: var(--nostr-hub-deep-blue); }
.crays-nostr-basics-first-run li:nth-child(4) span { background: var(--nostr-hub-ink); }

.crays-nostr-basics-first-run strong,
.crays-nostr-basics-terms strong {
  color: var(--nostr-hub-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-basics-first-run small,
.crays-nostr-basics-terms span {
  color: var(--nostr-hub-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.crays-nostr-basics-first-run a {
  align-self: end;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-basics-first-run a:hover,
.crays-nostr-basics-terms a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.crays-nostr-basics-mental-model {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(22px, 3vw, 42px);
}

.crays-nostr-basics-terms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.crays-nostr-basics-terms a {
  min-height: 220px;
  border: 0;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 0;
  background: #fff;
}

.crays-nostr-basics-terms a:last-child {
  border-right: 0;
}

.crays-nostr-basics-terms a::before {
  content: "01";
}

.crays-nostr-basics-terms a:nth-child(2)::before {
  content: "02";
  background: var(--nostr-hub-ink);
}

.crays-nostr-basics-terms a:nth-child(3)::before {
  content: "03";
  background: var(--nostr-hub-deep-blue);
}

.crays-nostr-basics-terms a:nth-child(4)::before {
  content: "04";
  background: var(--nostr-hub-slate);
  color: #fff;
}

.crays-nostr-hub-compass-wrap,
.crays-nostr-hub-context-wrap {
  margin-top: clamp(28px, 4vw, 54px);
}

.crays-nostr-hub-compass-wrap .crays-nostr-learning-compass,
.crays-nostr-hub-context-wrap .crays-nostr-context-actions,
.crays-nostr-basics-compass,
.crays-nostr-basics-contribution {
  margin: 0;
}

.crays-nostr-hub-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(4, 11, 18, 0.96) 0%, rgba(8, 29, 37, 0.82) 54%, rgba(4, 11, 18, 0.94) 100%),
    var(--nostr-hero-bg);
  background-position: var(--nostr-hero-bg-position, center);
  background-size: cover;
}

.crays-nostr-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.crays-nostr-hub-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--nostr-hub-red), #b72f72, #071827);
}

.crays-nostr-hub-hero .crays-article-hero__grid {
  position: relative;
  z-index: 1;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 430px;
  min-height: 510px;
  gap: 64px;
  padding: 64px 0 76px;
}

.crays-nostr-hub-body .crays-article-eyebrow {
  color: #ff315f;
}

.crays-nostr-hub-body .crays-article-hero h1 {
  max-width: 900px;
  font-family: var(--nostr-font-display);
  font-size: var(--nostr-type-h1);
  line-height: var(--nostr-line-tight);
  letter-spacing: var(--nostr-letter);
}

.crays-nostr-hub-body .crays-article-deck {
  max-width: 820px;
  font-size: var(--nostr-type-lead);
  line-height: 1.58;
}

.crays-nostr-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 430px;
}

.crays-nostr-hero-visual figure {
  position: absolute;
  inset: 0 0 74px 42px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.crays-nostr-hero-visual__mark {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 49, 95, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(7, 24, 39, 0.96), rgba(9, 58, 68, 0.88));
}

.crays-nostr-hero-visual__mark span {
  display: grid;
  place-items: center;
  width: clamp(112px, 46%, 178px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: clamp(42px, 7vw, 74px);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.crays-nostr-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--nostr-hero-visual-position, center);
  filter: saturate(1.08) contrast(1.04);
}

.crays-nostr-hero-avatar {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 26px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #fff;
  padding: 7px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.crays-nostr-hero-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
  filter: none;
}

.crays-nostr-hero-signal {
  position: absolute;
  left: 0;
  right: 40px;
  bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 6px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 20px 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.crays-nostr-hero-signal span {
  display: block;
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.crays-nostr-hero-signal strong {
  display: block;
  margin-top: 7px;
  color: var(--nostr-hub-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-hero-signal small {
  display: block;
  margin-top: 8px;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.crays-nostr-area-people .crays-nostr-hero-avatar {
  display: none;
}

.crays-nostr-area-people .crays-nostr-hero-visual figure {
  inset: 0 0 74px 42px;
  border-color: rgba(255, 255, 255, 0.1);
  background: #06111d;
}

.crays-nostr-area-people .crays-nostr-hero-visual img {
  object-fit: cover;
  object-position: center center;
}

.crays-nostr-area-people .crays-nostr-hero-signal {
  left: 30px;
  right: 30px;
  bottom: 18px;
  padding: 14px 16px;
  border-left-width: 5px;
  background: rgba(255, 255, 255, 0.96);
}

.crays-nostr-area-people .crays-nostr-hero-signal strong {
  font-size: 20px;
}

.crays-nostr-area-people .crays-nostr-hero-signal small {
  font-size: 12px;
}

.crays-nostr-area-people .crays-nostr-hero-pins {
  display: none;
}

.crays-nostr-hero-pins {
  position: absolute;
  top: 20px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crays-nostr-hero-pins a {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 11, 18, 0.72);
  padding: 9px 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.crays-nostr-hero-pins a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.crays-nostr-route-board {
  border-bottom: 1px solid var(--nostr-hub-line);
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.03) 1px, transparent 1px),
    #fbfcfd;
  background-size: 96px 96px;
}

.crays-nostr-route-board__inner {
  padding: 38px 0 42px;
}

.crays-nostr-route-board__top {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(360px, 440px);
  gap: clamp(34px, 6vw, 96px);
  align-items: end;
}

.crays-nostr-route-board__intro span {
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.crays-nostr-route-board__intro h2 {
  margin: 7px 0 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-route-board__intro p {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--nostr-hub-soft);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.58;
}

.crays-nostr-archive-finder {
  position: relative;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 24px 70px rgba(6, 17, 29, 0.08);
}

.crays-nostr-archive-finder label,
.crays-nostr-index-tools label {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-archive-finder input,
.crays-nostr-index-tools input {
  width: 100%;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #f7fafb;
  padding: 15px 16px;
  color: var(--nostr-hub-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.crays-nostr-archive-finder input:focus,
.crays-nostr-index-tools input:focus {
  border-color: rgba(243, 18, 72, 0.52);
  outline: 3px solid rgba(243, 18, 72, 0.12);
  background: #fff;
}

.crays-nostr-archive-finder__results {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  right: 0;
  width: min(560px, 100%);
  max-height: 460px;
  overflow: auto;
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(6, 17, 29, 0.18);
}

.crays-nostr-archive-finder__status {
  margin: 0 0 8px;
  border-bottom: 1px solid rgba(6, 17, 29, 0.08);
  padding: 0 2px 8px;
  color: var(--nostr-hub-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.crays-nostr-archive-finder__list {
  display: grid;
  gap: 4px;
}

.crays-nostr-archive-finder__results a {
  display: grid;
  gap: 4px;
  border-radius: 6px;
  padding: 10px 11px;
  color: rgba(6, 17, 29, 0.76);
  line-height: 1.35;
  text-decoration: none;
}

.crays-nostr-archive-finder__results a strong {
  color: var(--nostr-hub-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-archive-finder__results a small {
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-archive-finder__results a em {
  color: var(--nostr-hub-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}

.crays-nostr-archive-finder__results a:hover,
.crays-nostr-archive-finder__results a[aria-selected="true"] {
  background: rgba(243, 18, 72, 0.07);
}

.crays-nostr-route-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 78px rgba(6, 17, 29, 0.08);
  overflow: hidden;
}

.crays-nostr-route-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  min-height: 166px;
  border-right: 1px solid rgba(6, 17, 29, 0.08);
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
  padding: 20px 18px 18px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.crays-nostr-route-card:last-child {
  border-right: 0;
}

.crays-nostr-route-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-route-card strong {
  overflow-wrap: anywhere;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-route-card small {
  color: var(--nostr-hub-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.38;
}

.crays-nostr-route-card:hover,
.crays-nostr-route-card[aria-current="page"] {
  background: #fff;
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
  transform: translateY(-1px);
}

.crays-nostr-route-card[aria-current="page"] span {
  outline: 2px solid rgba(255, 21, 80, 0.24);
  outline-offset: 3px;
}

.crays-nostr-route-card[data-route="start"] span {
  background: var(--nostr-route-start);
}

.crays-nostr-route-card[data-route="people"] span {
  background: var(--nostr-route-people);
}

.crays-nostr-route-card[data-route="apps"] span,
.crays-nostr-card-icon[data-kind="app"] {
  background: var(--nostr-route-apps);
}

.crays-nostr-route-card[data-route="relays"] span {
  background: var(--nostr-route-relays);
}

.crays-nostr-route-card[data-route="nips"] span {
  background: var(--nostr-route-nips);
}

.crays-nostr-route-card[data-route="privacy"] span {
  background: var(--nostr-route-privacy);
}

.crays-nostr-route-card[data-route="wallets"] span {
  background: var(--nostr-route-wallets);
}

.crays-nostr-route-card[data-route="media"] span {
  background: var(--nostr-route-media);
}

.crays-nostr-route-card[data-route="commerce"] span {
  background: var(--nostr-route-commerce);
}

.crays-nostr-route-card[data-route="governance"] span {
  background: var(--nostr-route-governance);
}

.crays-nostr-route-card[data-route="crays"] span {
  background: var(--nostr-route-crays);
}

.crays-nostr-route-card[data-route="library"] span {
  background: var(--nostr-route-library);
}

.crays-nostr-route-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.crays-nostr-route-group {
  border-right: 1px solid rgba(6, 17, 29, 0.08);
  padding: 18px 20px 20px;
}

.crays-nostr-route-group:last-child {
  border-right: 0;
}

.crays-nostr-route-group strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-route-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 12px;
}

.crays-nostr-route-group a {
  color: rgba(6, 17, 29, 0.68);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.crays-nostr-route-group a:hover,
.crays-nostr-route-group a[aria-current="page"] {
  color: var(--nostr-hub-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.crays-nostr-visual-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid var(--nostr-hub-line);
  padding-top: 18px;
}

.crays-nostr-visual-rail a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 74px;
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fafb);
  padding: 10px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-visual-rail img,
.crays-nostr-visual-rail span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  font-size: 10px;
  font-weight: 900;
  box-sizing: border-box;
  object-fit: contain;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(6, 17, 29, 0.08);
}

.crays-nostr-visual-rail img[src*="crays-mark"] {
  padding: 8px;
}

.crays-nostr-visual-rail strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.crays-nostr-visual-rail a:hover {
  border-color: rgba(243, 18, 72, 0.4);
  transform: translateY(-1px);
}

#hub-bring-back,
#apps-full-directory,
#people-full-directory,
.crays-nostr-apps-guide,
.crays-nostr-people-guide,
.crays-nostr-apps-reading-path,
.crays-nostr-people-reading-path,
.crays-nostr-apps-quality,
.crays-nostr-apps-icon-atlas,
.crays-nostr-people-face-atlas,
.crays-nostr-apps-collage,
.crays-nostr-people-collage,
.crays-nostr-media-collage,
.crays-nostr-apps-shelves,
.crays-nostr-people-shelves,
#media-first-paths,
#media-video-room,
#media-article-room,
#media-source-room,
#media-route-shelves,
#media-full-directory,
#crays-project-atlas,
#crays-domain-map,
#crays-nostr-foundation,
#crays-structure,
#crays-vision,
#crays-looking-for,
#crays-full-directory {
  scroll-margin-top: 110px;
}

.crays-nostr-apps-hero-panel {
  overflow: hidden;
  border-color: rgba(255, 42, 92, 0.55);
  border-left: 4px solid var(--nostr-hub-red);
  background:
    linear-gradient(135deg, rgba(4, 17, 27, 0.95), rgba(9, 26, 39, 0.8)),
    var(--nostr-hero-panel-bg) center / cover;
  color: #fff;
}

.crays-nostr-apps-hero-panel .crays-nostr-live-kicker {
  color: var(--nostr-hub-red);
}

.crays-nostr-apps-hero-panel ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crays-nostr-apps-hero-panel li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.crays-nostr-apps-hero-panel li:first-child {
  border-top: 0;
  padding-top: 0;
}

.crays-nostr-apps-hero-panel li span {
  grid-row: 1 / span 2;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-apps-hero-panel li strong {
  display: block;
  color: #fff;
  font-size: clamp(19px, 1.45vw, 25px);
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-apps-hero-panel li small {
  display: block;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.38;
}

.crays-nostr-apps-hero-panel nav {
  padding-top: 6px;
}

.crays-nostr-apps-hero-panel nav a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.crays-nostr-apps-hero-panel nav a:hover {
  border-color: rgba(255, 42, 92, 0.72);
  background: rgba(255, 42, 92, 0.16);
}

.crays-nostr-apps-command {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 62px rgba(6, 17, 29, 0.12);
  overflow: hidden;
}

.crays-nostr-apps-command__copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 48px);
}

.crays-nostr-apps-command__copy h2,
.crays-nostr-apps-quality__copy h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 0.98;
}

.crays-nostr-apps-command__copy p:not(.crays-nostr-live-kicker),
.crays-nostr-apps-quality__copy p {
  margin: 0;
  max-width: 850px;
  color: var(--nostr-hub-soft);
  font-size: var(--nostr-type-lead);
  font-weight: 760;
  line-height: 1.52;
}

.crays-nostr-apps-command__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.crays-nostr-apps-command__stats span {
  display: grid;
  gap: 4px;
  min-height: 84px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  padding: 14px;
}

.crays-nostr-apps-command__stats strong {
  color: var(--nostr-hub-red);
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 900;
  line-height: 0.95;
}

.crays-nostr-apps-command__stats small {
  color: rgba(6, 17, 29, 0.64);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.crays-nostr-apps-command__image {
  position: relative;
  min-height: 360px;
  margin: 0;
  background: #06111d;
  overflow: hidden;
}

.crays-nostr-apps-command__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 17, 29, 0.08), rgba(6, 17, 29, 0.68)),
    linear-gradient(90deg, rgba(243, 18, 72, 0.24), rgba(3, 71, 103, 0.15));
  pointer-events: none;
}

.crays-nostr-apps-command__image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.crays-nostr-apps-command__image figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--nostr-hub-ink);
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-apps-guide {
  background: #fff;
}

.crays-nostr-apps-guide__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.55fr);
  gap: clamp(18px, 2.5vw, 30px);
  align-items: stretch;
  margin-bottom: 22px;
}

.crays-nostr-apps-guide__intro .crays-nostr-hub-section__head {
  align-content: center;
  margin-bottom: 0;
}

.crays-nostr-apps-guide__image {
  border-radius: 8px;
  min-height: 282px;
  overflow: hidden;
}

.crays-nostr-apps-guide__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 282px;
  object-fit: cover;
}

.crays-nostr-apps-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.crays-nostr-apps-guide__grid a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 10px 13px;
  min-height: 164px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  padding: 18px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-apps-guide__grid a:nth-child(4n) {
  border-right: 0;
}

.crays-nostr-apps-guide__grid a:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.crays-nostr-apps-guide__grid img {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(6, 17, 29, 0.08);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 7px;
}

.crays-nostr-apps-guide__grid a > .crays-nostr-card-icon {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(6, 17, 29, 0.08);
  border-radius: 8px;
  background: #06111d;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.crays-nostr-apps-guide__grid strong {
  min-width: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.14;
}

.crays-nostr-apps-guide__grid span {
  min-width: 0;
  color: rgba(6, 17, 29, 0.68);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.38;
}

.crays-nostr-apps-guide__grid a:hover {
  background: #f8fafb;
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-apps-reading-path {
  background: #fff;
}

.crays-nostr-apps-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.06);
}

.crays-nostr-apps-reading-grid a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 13px;
  min-height: 190px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  padding: 20px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-apps-reading-grid a:nth-child(3n) {
  border-right: 0;
}

.crays-nostr-apps-reading-grid a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.crays-nostr-apps-reading-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-apps-reading-grid strong {
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.13;
}

.crays-nostr-apps-reading-grid small {
  color: rgba(6, 17, 29, 0.68);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.42;
}

.crays-nostr-apps-reading-grid a:hover {
  background: #f8fafb;
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-apps-quality {
  background: #06111d;
  color: #fff;
}

.crays-nostr-apps-quality__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.crays-nostr-apps-quality__copy {
  display: grid;
  align-content: center;
  gap: 16px;
  border-left: 6px solid var(--nostr-hub-red);
  background: linear-gradient(160deg, rgba(243, 18, 72, 0.18), rgba(6, 17, 29, 0));
  padding: clamp(24px, 4vw, 42px);
}

.crays-nostr-apps-quality__copy h2,
.crays-nostr-apps-quality__copy p,
.crays-nostr-apps-quality__copy .crays-nostr-live-kicker {
  color: #fff;
}

.crays-nostr-apps-quality__checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.crays-nostr-apps-quality__checks a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-height: 228px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px;
  color: #fff;
  text-decoration: none;
}

.crays-nostr-apps-quality__checks a:last-child {
  border-right: 0;
}

.crays-nostr-apps-quality__checks span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-apps-quality__checks strong {
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.14;
}

.crays-nostr-apps-quality__checks small {
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.38;
}

.crays-nostr-apps-quality__checks a:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-apps-icon-atlas {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 17, 29, 0.03) 1px, transparent 1px),
    #f4f7f8;
  background-size: 96px 96px;
}

.crays-nostr-apps-ecosystem-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.crays-nostr-apps-ecosystem-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  padding: 8px 12px;
  color: var(--nostr-hub-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(6, 17, 29, 0.04);
}

.crays-nostr-apps-ecosystem-nav a:hover {
  border-color: rgba(243, 18, 72, 0.42);
  color: var(--nostr-hub-red);
}

.crays-nostr-apps-ecosystem-map {
  display: grid;
  gap: clamp(26px, 3vw, 40px);
  margin-top: clamp(26px, 4vw, 46px);
}

.crays-nostr-apps-ecosystem-group {
  border-top: 3px solid var(--nostr-hub-red);
  padding-top: 18px;
  scroll-margin-top: 128px;
}

.crays-nostr-apps-ecosystem-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.crays-nostr-apps-ecosystem-group__head p {
  margin: 0 0 8px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.crays-nostr-apps-ecosystem-group__head h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.crays-nostr-apps-ecosystem-group__head span {
  display: block;
  max-width: 760px;
  margin-top: 9px;
  color: rgba(6, 17, 29, 0.68);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.42;
}

.crays-nostr-apps-ecosystem-group__head > strong {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 40px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-apps-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 12px;
  margin-top: 0;
}

.crays-nostr-apps-icon-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  overflow: hidden;
  min-height: 72px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(6, 17, 29, 0.045);
}

.crays-nostr-apps-icon-card img,
.crays-nostr-apps-icon-card .crays-nostr-apps-icon-fallback {
  grid-column: 1;
  grid-row: 1;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  border: 1px solid rgba(6, 17, 29, 0.08);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-red);
  object-fit: contain;
  padding: 6px;
}

.crays-nostr-apps-icon-card img {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 1;
  transition: opacity 0.16s ease;
}

.crays-nostr-apps-icon-card img.is-loaded {
  opacity: 1;
}

.crays-nostr-apps-icon-card img[hidden] {
  display: none;
}

.crays-nostr-apps-icon-card .crays-nostr-apps-icon-fallback {
  display: grid;
  z-index: 0;
  place-items: center;
  background: rgba(243, 18, 72, 0.08);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-apps-icon-card strong {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  color: var(--nostr-hub-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.crays-nostr-apps-icon-card:hover {
  border-color: rgba(243, 18, 72, 0.42);
  box-shadow: 0 16px 36px rgba(6, 17, 29, 0.08);
  transform: translateY(-1px);
}

.crays-nostr-crays-ecosystem .crays-nostr-route-hub-hero {
  min-height: clamp(720px, 82vh, 900px);
}

.crays-nostr-crays-hero .crays-nostr-route-hub-hero__copy > p:not(.crays-nostr-live-kicker) {
  max-width: 980px;
}

.crays-nostr-crays-hero-panel li strong {
  max-width: 30ch;
}

.crays-nostr-crays-symbol {
  --crays-symbol-accent: #f31248;
  --crays-symbol-bg: rgba(243, 18, 72, 0.08);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--crays-symbol-accent) 24%, transparent);
  border-radius: 8px;
  background: var(--crays-symbol-bg);
  color: var(--crays-symbol-accent);
}

.crays-nostr-crays-symbol svg {
  width: 24px;
  height: 24px;
}

.crays-nostr-crays-symbol svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crays-nostr-crays-symbol[data-tone="signal"] { --crays-symbol-accent: #0077ff; --crays-symbol-bg: rgba(0, 119, 255, 0.09); }
.crays-nostr-crays-symbol[data-tone="rose"] { --crays-symbol-accent: #f31248; --crays-symbol-bg: rgba(243, 18, 72, 0.09); }
.crays-nostr-crays-symbol[data-tone="blue"] { --crays-symbol-accent: #2358ff; --crays-symbol-bg: rgba(35, 88, 255, 0.09); }
.crays-nostr-crays-symbol[data-tone="teal"] { --crays-symbol-accent: #008c8c; --crays-symbol-bg: rgba(0, 140, 140, 0.1); }
.crays-nostr-crays-symbol[data-tone="gold"] { --crays-symbol-accent: #a36a00; --crays-symbol-bg: rgba(197, 133, 11, 0.12); }
.crays-nostr-crays-symbol[data-tone="violet"] { --crays-symbol-accent: #6b45d8; --crays-symbol-bg: rgba(107, 69, 216, 0.1); }
.crays-nostr-crays-symbol[data-tone="coffee"] { --crays-symbol-accent: #7d4a25; --crays-symbol-bg: rgba(125, 74, 37, 0.1); }
.crays-nostr-crays-symbol[data-tone="cyan"] { --crays-symbol-accent: #0087b8; --crays-symbol-bg: rgba(0, 135, 184, 0.1); }
.crays-nostr-crays-symbol[data-tone="slate"] { --crays-symbol-accent: #334155; --crays-symbol-bg: rgba(51, 65, 85, 0.09); }
.crays-nostr-crays-symbol[data-tone="indigo"] { --crays-symbol-accent: #4f46e5; --crays-symbol-bg: rgba(79, 70, 229, 0.09); }
.crays-nostr-crays-symbol[data-tone="green"] { --crays-symbol-accent: #138a4a; --crays-symbol-bg: rgba(19, 138, 74, 0.1); }
.crays-nostr-crays-symbol[data-tone="steel"] { --crays-symbol-accent: #475569; --crays-symbol-bg: rgba(71, 85, 105, 0.1); }
.crays-nostr-crays-symbol[data-tone="sun"] { --crays-symbol-accent: #b45309; --crays-symbol-bg: rgba(251, 191, 36, 0.16); }
.crays-nostr-crays-symbol[data-tone="magenta"] { --crays-symbol-accent: #c026d3; --crays-symbol-bg: rgba(192, 38, 211, 0.1); }
.crays-nostr-crays-symbol[data-tone="amber"] { --crays-symbol-accent: #d97706; --crays-symbol-bg: rgba(217, 119, 6, 0.12); }
.crays-nostr-crays-symbol[data-tone="pink"] { --crays-symbol-accent: #db2777; --crays-symbol-bg: rgba(219, 39, 119, 0.1); }
.crays-nostr-crays-symbol[data-tone="electric"] { --crays-symbol-accent: #2563eb; --crays-symbol-bg: rgba(37, 99, 235, 0.1); }
.crays-nostr-crays-symbol[data-tone="mint"] { --crays-symbol-accent: #0f766e; --crays-symbol-bg: rgba(15, 118, 110, 0.1); }
.crays-nostr-crays-symbol[data-tone="orange"] { --crays-symbol-accent: #ea580c; --crays-symbol-bg: rgba(234, 88, 12, 0.1); }
.crays-nostr-crays-symbol[data-tone="navy"] { --crays-symbol-accent: #0f172a; --crays-symbol-bg: rgba(15, 23, 42, 0.08); }
.crays-nostr-crays-symbol[data-tone="bitcoin"] { --crays-symbol-accent: #f7931a; --crays-symbol-bg: rgba(247, 147, 26, 0.14); }
.crays-nostr-crays-symbol[data-tone="purple"] { --crays-symbol-accent: #7e22ce; --crays-symbol-bg: rgba(126, 34, 206, 0.1); }
.crays-nostr-crays-symbol[data-tone="aqua"] { --crays-symbol-accent: #0891b2; --crays-symbol-bg: rgba(8, 145, 178, 0.1); }
.crays-nostr-crays-symbol[data-tone="lime"] { --crays-symbol-accent: #4d7c0f; --crays-symbol-bg: rgba(77, 124, 15, 0.11); }
.crays-nostr-crays-symbol[data-tone="claret"] { --crays-symbol-accent: #be123c; --crays-symbol-bg: rgba(190, 18, 60, 0.09); }
.crays-nostr-crays-symbol[data-tone="sea"] { --crays-symbol-accent: #0e7490; --crays-symbol-bg: rgba(14, 116, 144, 0.1); }
.crays-nostr-crays-symbol[data-tone="plum"] { --crays-symbol-accent: #86198f; --crays-symbol-bg: rgba(134, 25, 143, 0.1); }
.crays-nostr-crays-symbol[data-tone="graphite"] { --crays-symbol-accent: #1f2937; --crays-symbol-bg: rgba(31, 41, 55, 0.09); }
.crays-nostr-crays-symbol[data-tone="emerald"] { --crays-symbol-accent: #047857; --crays-symbol-bg: rgba(4, 120, 87, 0.1); }
.crays-nostr-crays-symbol[data-tone="coral"] { --crays-symbol-accent: #e11d48; --crays-symbol-bg: rgba(225, 29, 72, 0.09); }
.crays-nostr-crays-symbol[data-tone="yellow"] { --crays-symbol-accent: #ca8a04; --crays-symbol-bg: rgba(202, 138, 4, 0.12); }
.crays-nostr-crays-symbol[data-tone="black"] { --crays-symbol-accent: #020617; --crays-symbol-bg: rgba(2, 6, 23, 0.08); }
.crays-nostr-crays-symbol[data-tone="fingerprint"] { --crays-symbol-accent: #f31248; --crays-symbol-bg: rgba(243, 18, 72, 0.1); }
.crays-nostr-crays-symbol[data-tone="palm"] { --crays-symbol-accent: #0f8f8a; --crays-symbol-bg: rgba(15, 143, 138, 0.12); }
.crays-nostr-crays-symbol[data-tone="phone"] { --crays-symbol-accent: #d97706; --crays-symbol-bg: rgba(217, 119, 6, 0.12); }
.crays-nostr-crays-symbol[data-tone="capital"] { --crays-symbol-accent: #214763; --crays-symbol-bg: rgba(33, 71, 99, 0.1); }
.crays-nostr-crays-symbol[data-tone="cube"] { --crays-symbol-accent: #8b35c9; --crays-symbol-bg: rgba(139, 53, 201, 0.11); }
.crays-nostr-crays-symbol[data-tone="people"] { --crays-symbol-accent: #f36f21; --crays-symbol-bg: rgba(243, 111, 33, 0.13); }
.crays-nostr-crays-symbol[data-tone="trust"] { --crays-symbol-accent: #1f8a5b; --crays-symbol-bg: rgba(31, 138, 91, 0.11); }
.crays-nostr-crays-symbol[data-tone="antenna"] { --crays-symbol-accent: #526278; --crays-symbol-bg: rgba(82, 98, 120, 0.11); }

.crays-nostr-crays-intro .crays-nostr-apps-guide__image img,
.crays-nostr-crays-project-page .crays-nostr-apps-guide__image img {
  filter: saturate(1.04) contrast(1.03);
}

.crays-nostr-crays-intro .crays-nostr-apps-guide__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a {
  grid-column: span 3;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 17, 29, 0.055);
}

.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1),
.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) {
  grid-column: span 6;
  background: #06111d;
  color: #fff;
}

.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1) strong,
.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) strong,
.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1) span:not(.crays-nostr-crays-symbol),
.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) span:not(.crays-nostr-crays-symbol) {
  color: #fff;
}

.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1) span:not(.crays-nostr-crays-symbol),
.crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) span:not(.crays-nostr-crays-symbol) {
  color: rgba(255, 255, 255, 0.72);
}

.crays-nostr-crays-guide-grid a {
  min-height: 184px;
}

.crays-nostr-apps-guide__grid a > .crays-nostr-crays-symbol {
  grid-row: 1 / 3;
}

.crays-nostr-crays-guide-grid strong {
  font-size: clamp(20px, 1.35vw, 28px);
}

.crays-nostr-crays-domain-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.crays-nostr-crays-domain-card {
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  min-height: 126px;
  padding: 13px;
}

.crays-nostr-crays-domain-card img,
.crays-nostr-crays-domain-card .crays-nostr-crays-symbol {
  width: 46px;
  height: 46px;
}

.crays-nostr-crays-domain-card strong {
  align-self: end;
  font-size: 15px;
}

.crays-nostr-crays-domain-card small {
  grid-column: 2;
  color: rgba(6, 17, 29, 0.62);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.34;
}

.crays-nostr-crays-project-atlas {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    #07131f;
  background-size: 96px 96px;
  color: #fff;
}

.crays-nostr-crays-project-atlas .crays-nostr-hub-section__head h2,
.crays-nostr-crays-project-atlas .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker) {
  color: #fff;
}

.crays-nostr-crays-project-atlas .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  box-shadow: none;
}

.crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card strong {
  color: #fff;
}

.crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card small {
  color: rgba(255, 255, 255, 0.66);
}

.crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-crays-foundation,
.crays-nostr-crays-proof {
  background: #fff;
}

.crays-nostr-crays-foundation {
  background: #07131f;
  color: #fff;
}

.crays-nostr-crays-foundation .crays-nostr-hub-section__head h2,
.crays-nostr-crays-foundation .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker) {
  color: #fff;
}

.crays-nostr-crays-foundation .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.crays-nostr-crays-foundation .crays-nostr-apps-reading-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 10px;
}

.crays-nostr-crays-foundation .crays-nostr-apps-reading-grid a {
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.crays-nostr-crays-foundation .crays-nostr-apps-reading-grid span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}

.crays-nostr-crays-foundation .crays-nostr-apps-reading-grid strong {
  color: #fff;
}

.crays-nostr-crays-foundation .crays-nostr-apps-reading-grid small {
  color: rgba(255, 255, 255, 0.68);
}

.crays-nostr-crays-reported {
  background: #fff;
}

.crays-nostr-crays-report-body {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin-top: 22px;
}

.crays-nostr-crays-report-body p {
  margin: 0;
  color: rgba(6, 17, 29, 0.76);
  font-size: clamp(17px, 1.12vw, 20px);
  font-weight: 650;
  line-height: 1.62;
}

.crays-nostr-crays-report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.crays-nostr-crays-report-links a {
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 999px;
  background: #f8fafb;
  color: var(--nostr-hub-red);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.crays-nostr-crays-report-links a:hover {
  border-color: rgba(243, 18, 72, 0.28);
  background: #fff;
}

.crays-nostr-crays-structure,
.crays-nostr-crays-nostr-role,
.crays-nostr-crays-next {
  background: #fff;
}

.crays-nostr-crays-structure {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    #f8fafb;
  background-size: 96px 96px;
}

.crays-nostr-crays-structure .crays-nostr-apps-guide__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.crays-nostr-crays-structure .crays-nostr-apps-guide__grid a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-left: 4px solid var(--crays-symbol-accent, var(--nostr-hub-red));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(6, 17, 29, 0.045);
}

.crays-nostr-crays-structure .crays-nostr-apps-guide__grid a:nth-child(2),
.crays-nostr-crays-structure .crays-nostr-apps-guide__grid a:nth-child(5) {
  transform: translateY(18px);
}

.crays-nostr-crays-vision {
  background: #fff;
}

.crays-nostr-crays-vision .crays-nostr-apps-reading-grid {
  position: relative;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.crays-nostr-crays-vision .crays-nostr-apps-reading-grid::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 42px;
  height: 2px;
  background: rgba(6, 17, 29, 0.12);
}

.crays-nostr-crays-vision .crays-nostr-apps-reading-grid a {
  position: relative;
  min-height: 230px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(6, 17, 29, 0.05);
}

.crays-nostr-crays-vision .crays-nostr-apps-reading-grid a:nth-child(even) {
  margin-top: 34px;
}

.crays-nostr-crays-seeking {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    #f4f7f8;
  background-size: 96px 96px;
}

.crays-nostr-crays-seeking-grid,
.crays-nostr-crays-next-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crays-nostr-crays-seeking-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.crays-nostr-crays-seeking-grid a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(6, 17, 29, 0.055);
}

.crays-nostr-crays-seeking-grid a:nth-child(1) { grid-column: span 5; }
.crays-nostr-crays-seeking-grid a:nth-child(2) { grid-column: span 4; }
.crays-nostr-crays-seeking-grid a:nth-child(3) { grid-column: span 3; }
.crays-nostr-crays-seeking-grid a:nth-child(4) { grid-column: span 4; background: #06111d; color: #fff; }
.crays-nostr-crays-seeking-grid a:nth-child(5) { grid-column: span 5; }
.crays-nostr-crays-seeking-grid a:nth-child(6) { grid-column: span 3; }

.crays-nostr-crays-seeking-grid a:nth-child(4) strong,
.crays-nostr-crays-seeking-grid a:nth-child(4) small {
  color: #fff;
}

.crays-nostr-crays-seeking-grid a:nth-child(4) small {
  color: rgba(255, 255, 255, 0.72);
}

.crays-nostr-crays-seeking-grid a,
.crays-nostr-crays-next-grid a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  min-height: 214px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 20px;
  text-decoration: none;
}

.crays-nostr-crays-seeking-grid a:nth-child(3n),
.crays-nostr-crays-next-grid a:nth-child(3n) {
  border-right: 0;
}

.crays-nostr-crays-seeking-grid a:nth-child(3n) {
  border-right: 1px solid rgba(6, 17, 29, 0.1);
}

.crays-nostr-crays-seeking-grid a:nth-last-child(-n + 3),
.crays-nostr-crays-next-grid a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.crays-nostr-crays-seeking-grid a:nth-last-child(-n + 3) {
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
}

.crays-nostr-crays-seeking-grid span,
.crays-nostr-crays-next-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-crays-seeking-grid strong,
.crays-nostr-crays-next-grid strong {
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.13;
}

.crays-nostr-crays-seeking-grid small,
.crays-nostr-crays-next-grid small {
  color: rgba(6, 17, 29, 0.68);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.42;
}

.crays-nostr-crays-seeking-grid a:hover,
.crays-nostr-crays-next-grid a:hover {
  background: #f8fafb;
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-crays-seeking-grid a:nth-child(4):hover {
  background: #06111d;
}

.crays-nostr-crays-proof .crays-nostr-apps-reading-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 12px;
}

.crays-nostr-crays-proof .crays-nostr-apps-reading-grid a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(6, 17, 29, 0.05);
}

.crays-nostr-crays-proof .crays-nostr-apps-reading-grid a:nth-child(1) {
  grid-row: span 2;
  background: #f8fafb;
}

.crays-nostr-crays-project-page .crays-nostr-apps-reading-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crays-nostr-crays-project-page .crays-nostr-apps-shelf-grid {
  border-radius: 8px;
  overflow: hidden;
}

.crays-nostr-crays-collage img {
  filter: saturate(1.08) contrast(1.04) brightness(1.03);
}

.crays-nostr-crays-directory details {
  margin-top: 18px;
}

.crays-nostr-crays-directory .crays-nostr-route-directory__shelf div {
  gap: 10px 18px;
}

.crays-nostr-people-face-card img {
  object-fit: cover;
  padding: 0;
  opacity: 1;
}

.crays-nostr-people-guide__image img {
  object-position: center;
}

.crays-nostr-people-creator-voices,
.crays-nostr-people-voice-atlas,
.crays-nostr-person-related {
  background: #fff;
}

.crays-nostr-people-creator-voices {
  border-top: 1px solid rgba(6, 17, 29, 0.08);
}

.crays-nostr-people-creator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.crays-nostr-people-feature-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  min-height: 325px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(6, 17, 29, 0.06);
}

.crays-nostr-people-feature-card:hover {
  border-color: rgba(243, 18, 72, 0.34);
  transform: translateY(-2px);
}

.crays-nostr-people-feature-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.crays-nostr-people-feature-card__avatar,
.crays-nostr-person-avatar {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, #f7f9fb, #dfe6ed);
  color: var(--nostr-hub-red);
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-people-feature-card__avatar::before,
.crays-nostr-person-avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--nostr-hub-red);
  font-weight: 900;
}

.crays-nostr-people-feature-card__avatar {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  font-size: 18px;
}

.crays-nostr-people-feature-card__avatar img,
.crays-nostr-person-avatar img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crays-nostr-funding-logo-avatar {
  background: #fff;
}

.crays-nostr-funding-logo-avatar img {
  object-fit: contain;
  padding: 7px;
}

.crays-nostr-people-feature-card__meta {
  min-width: 0;
}

.crays-nostr-people-feature-card__meta span,
.crays-nostr-person-profile-card span {
  display: block;
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-people-feature-card__meta strong,
.crays-nostr-people-feature-card h3 {
  color: var(--nostr-hub-ink);
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-people-feature-card__meta strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.crays-nostr-people-feature-card h3 {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 29px);
}

.crays-nostr-people-feature-card p {
  margin: 0;
  color: rgba(6, 17, 29, 0.68);
  font-size: var(--nostr-box-copy);
  font-weight: 740;
  line-height: 1.45;
}

.crays-nostr-people-feature-card small {
  color: rgba(6, 17, 29, 0.56);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.28;
  text-transform: uppercase;
}

.crays-nostr-people-feature-card em {
  align-self: end;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.crays-nostr-funding-card {
  min-height: 382px;
}

.crays-nostr-capital-logo-frame {
  background: #fff;
  border: 1px solid rgba(6, 17, 29, 0.1);
}

.crays-nostr-capital-logo-frame img {
  object-fit: contain;
  padding: clamp(16px, 3vw, 34px);
}

.crays-nostr-capital-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 32px;
}

.crays-nostr-capital-facts div {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: 15px 16px;
  box-shadow: 0 12px 30px rgba(6, 17, 29, 0.05);
}

.crays-nostr-capital-facts span {
  display: block;
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-capital-facts strong {
  display: block;
  margin-top: 6px;
  color: var(--nostr-hub-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-capital-source-list li span {
  display: block;
  margin-top: 6px;
  color: rgba(6, 17, 29, 0.64);
  font-weight: 740;
  line-height: 1.42;
}

.crays-nostr-people-section-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  border: 1px solid rgba(243, 18, 72, 0.35);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(6, 17, 29, 0.06);
}

.crays-nostr-people-section-link strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.06;
}

.crays-nostr-people-section-link span {
  display: block;
  margin-top: 6px;
  color: rgba(6, 17, 29, 0.66);
  font-size: var(--nostr-box-copy);
  font-weight: 740;
  line-height: 1.42;
}

.crays-nostr-people-section-link::after {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--nostr-hub-red);
  color: #fff;
  content: "->";
  font-size: 16px;
  font-weight: 900;
}

.crays-nostr-person-profile-hero .crays-article-hero__grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.48fr);
}

.crays-nostr-person-profile-card {
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 5px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: rgba(6, 17, 29, 0.82);
  color: #fff;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 28px 78px rgba(6, 17, 29, 0.32);
}

.crays-nostr-person-avatar {
  width: 96px;
  height: 96px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
}

.crays-nostr-person-profile-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-person-profile-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.48;
}

.crays-nostr-person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crays-nostr-person-links a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-person-links a:hover {
  border-color: rgba(243, 18, 72, 0.72);
  background: rgba(243, 18, 72, 0.16);
}

.crays-nostr-person-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.crays-nostr-person-fact-grid article {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.crays-nostr-person-fact-grid span {
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-person-fact-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-people-voice-atlas {
  padding-top: clamp(64px, 8vw, 112px);
}

.crays-nostr-people-voice-group {
  margin-top: 36px;
}

.crays-nostr-people-voice-group h2 {
  margin: 0 0 18px;
  color: var(--nostr-hub-ink);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900;
  line-height: 0.98;
}

.crays-nostr-people-voice-group .crays-nostr-people-creator-grid {
  margin-top: 0;
}

.crays-nostr-apps-shelves {
  background: #fff;
}

.crays-nostr-apps-shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.06);
}

.crays-nostr-apps-shelf-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 315px;
  border: 0;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 0;
  background: #fff;
  padding: 18px;
  box-shadow: none;
}

.crays-nostr-apps-shelf-card:last-child {
  border-right: 0;
}

.crays-nostr-apps-shelf-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.crays-nostr-apps-shelf-card__top span {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-apps-shelf-card__top small {
  color: rgba(6, 17, 29, 0.28);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-apps-shelf-card h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.14;
}

.crays-nostr-apps-shelf-card p,
.crays-nostr-apps-shelf-card > strong {
  margin: 0;
  color: rgba(6, 17, 29, 0.68);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.38;
}

.crays-nostr-apps-shelf-card > strong {
  color: var(--nostr-hub-red);
  font-size: var(--nostr-box-label);
  text-transform: uppercase;
}

.crays-nostr-apps-shelf-card nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
  margin-top: 4px;
}

.crays-nostr-apps-shelf-card nav a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 999px;
  background: #f8fafb;
  color: rgba(6, 17, 29, 0.72);
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.crays-nostr-apps-shelf-card nav a:hover {
  border-color: rgba(243, 18, 72, 0.32);
  color: var(--nostr-hub-red);
}

.crays-nostr-apps-full-directory {
  background: #f8fafb;
}

.crays-nostr-route-hub-landing[data-route-hub="media"] .crays-nostr-hub-section {
  background: #fff;
}

.crays-nostr-route-hub-landing[data-route-hub="media"] {
  max-width: 100vw;
  overflow-x: hidden;
}

.crays-nostr-media-hero {
  background-position: center;
}

.crays-nostr-media-hero .crays-nostr-route-hub-hero__copy p:not(.crays-nostr-live-kicker) {
  max-width: 920px;
}

.crays-nostr-media-guide__image img {
  object-position: center;
}

.crays-nostr-media-video-grid,
.crays-nostr-media-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.crays-nostr-media-video-card,
.crays-nostr-media-article-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  box-shadow: 0 16px 40px rgba(6, 17, 29, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.crays-nostr-media-video-card {
  display: flex;
  flex-direction: column;
  background: #16212b;
  color: #fff;
}

.crays-nostr-media-video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111a22;
}

.crays-nostr-media-video-card__media::after {
  content: "Video";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(18, 26, 34, 0.8);
  padding: 0 11px;
  color: #ff3b69;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.crays-nostr-media-video-card__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.crays-nostr-media-video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 16px 18px;
  background:
    linear-gradient(180deg, rgba(255, 31, 87, 0.045), transparent 52%),
    #16212b;
}

.crays-nostr-media-article-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  text-decoration: none;
}

.crays-nostr-media-article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.crays-nostr-media-article-card img.is-source-icon,
.crays-nostr-article-atlas-card > img.is-source-icon {
  object-fit: contain;
  padding: clamp(46px, 5vw, 78px);
  background:
    linear-gradient(135deg, rgba(243, 18, 72, 0.08), transparent 48%),
    #f7f9fb;
}

.crays-nostr-media-video-card span,
.crays-nostr-media-article-card span {
  color: #ff3b69;
  font-size: var(--nostr-box-label);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.crays-nostr-media-article-card span {
  margin: 16px 16px 0;
}

.crays-nostr-media-video-card strong,
.crays-nostr-media-article-card strong {
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-media-video-card strong {
  margin-top: 9px;
  color: #f7f9fb;
}

.crays-nostr-media-article-card strong {
  margin: 8px 16px 0;
}

.crays-nostr-media-video-card small,
.crays-nostr-media-article-card small {
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.42;
}

.crays-nostr-media-video-card small {
  margin-top: 9px;
  color: rgba(226, 233, 240, 0.86);
}

.crays-nostr-media-video-card__body a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  color: #ff3b69;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.crays-nostr-media-article-card small {
  margin: 9px 16px 18px;
  color: rgba(6, 17, 29, 0.68);
}

.crays-nostr-media-video-card:hover,
.crays-nostr-media-article-card:hover {
  border-color: rgba(243, 18, 72, 0.38);
  box-shadow: 0 22px 52px rgba(6, 17, 29, 0.12);
  transform: translateY(-2px);
}

.crays-nostr-media-video-card:hover {
  box-shadow: 0 26px 60px rgba(255, 31, 87, 0.1), 0 22px 52px rgba(6, 17, 29, 0.2);
}

.crays-nostr-media-section-head {
  display: block;
}

.crays-nostr-media-section-head > div {
  min-width: 0;
}

.crays-nostr-media-section-footer {
  display: block;
  margin-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid rgba(6, 17, 29, 0.14);
  padding-top: 16px;
}

.crays-nostr-media-section-footer a {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-areas:
    "title arrow"
    "copy arrow";
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  column-gap: clamp(18px, 4vw, 42px);
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  box-shadow: none;
  transition: color 0.18s ease;
}

.crays-nostr-media-section-footer a::after {
  content: "\2192";
  display: grid;
  grid-area: arrow;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(243, 18, 72, 0.35);
  border-radius: 999px;
  color: var(--nostr-hub-red);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.crays-nostr-media-section-footer span {
  display: block;
  grid-area: title;
  color: var(--nostr-hub-ink);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.14;
}

.crays-nostr-media-section-footer small {
  display: block;
  grid-area: copy;
  max-width: 720px;
  margin-top: 6px;
  color: rgba(6, 17, 29, 0.62);
  font-size: 14px;
  font-weight: 740;
  line-height: 1.48;
}

.crays-nostr-media-section-footer a:hover {
  color: var(--nostr-hub-red);
}

.crays-nostr-media-section-footer a:hover::after {
  border-color: var(--nostr-hub-red);
  background: var(--nostr-hub-red);
  color: #fff;
  transform: translateX(3px);
}

.crays-nostr-media-atlas-page {
  --crays-atlas-sticky-top: 74px;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    var(--nostr-hub-paper);
  background-size: 96px 96px;
}

.crays-nostr-media-atlas-hero {
  background:
    linear-gradient(180deg, rgba(4, 17, 27, 0.94), rgba(4, 17, 27, 0.9)),
    url("/assets/stock-lifestyle/crays-home-03-open-air-hospitality-terrace-with-music-and-lifestyle-energy.webp") center / cover;
  color: #fff;
  padding: clamp(76px, 8vw, 128px) 0 clamp(58px, 6vw, 88px);
}

.crays-nostr-media-atlas-hero--articles {
  background:
    linear-gradient(180deg, rgba(4, 17, 27, 0.93), rgba(4, 17, 27, 0.9)),
    url("/assets/stock-lifestyle/crays-contact-office-lounge-business-team.jpg") center / cover;
}

.crays-nostr-media-atlas-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.42fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: end;
}

.crays-nostr-media-atlas-hero h1 {
  max-width: 980px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(44px, 4.8vw, 78px);
  font-weight: 900;
  line-height: 0.98;
}

.crays-nostr-media-atlas-hero p:not(.crays-nostr-live-kicker) {
  max-width: 850px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 760;
  line-height: 1.48;
}

.crays-nostr-media-atlas-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.crays-nostr-media-atlas-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-media-atlas-actions a:first-child {
  border-color: var(--nostr-hub-red);
  background: var(--nostr-hub-red);
}

.crays-nostr-media-atlas-note {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 5px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: rgba(4, 17, 27, 0.68);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.crays-nostr-media-atlas-note span {
  display: block;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-media-atlas-note strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 900;
  line-height: 1.1;
}

.crays-nostr-media-atlas-note p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.55;
}

.crays-nostr-media-atlas-nav {
  position: sticky;
  top: var(--crays-atlas-sticky-top);
  z-index: 10;
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.crays-nostr-media-atlas-nav .crays-article-shell {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.crays-nostr-media-atlas-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(6, 17, 29, 0.11);
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 17, 29, 0.05);
}

.crays-nostr-media-atlas-nav a:first-child {
  border-left: 1px solid rgba(6, 17, 29, 0.11);
}

.crays-nostr-media-atlas-nav span {
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.crays-nostr-media-atlas-nav strong {
  max-width: 220px;
  color: rgba(6, 17, 29, 0.78);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.crays-nostr-media-atlas-nav a:hover {
  border-color: rgba(243, 18, 72, 0.34);
  color: var(--nostr-hub-red);
}

.crays-nostr-media-topic {
  scroll-margin-top: calc(var(--crays-atlas-sticky-top) + 74px);
  padding: clamp(58px, 6vw, 90px) 0;
}

.crays-nostr-media-topic:nth-of-type(odd) {
  background: #fff;
}

.crays-nostr-youtube-grid,
.crays-nostr-article-atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.crays-nostr-youtube-card,
.crays-nostr-article-atlas-card {
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(6, 17, 29, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.crays-nostr-youtube-card {
  display: flex;
  flex-direction: column;
  background: #16212b;
  color: #fff;
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.16);
}

.crays-nostr-youtube-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #04111b;
}

.crays-nostr-youtube-card__media img,
.crays-nostr-article-atlas-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}

.crays-nostr-youtube-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 17, 27, 0.04), rgba(4, 17, 27, 0.54)),
    linear-gradient(90deg, rgba(243, 18, 72, 0.12), transparent 48%);
}

.crays-nostr-youtube-card__play {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(4, 17, 27, 0.72);
  padding: 0 12px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-youtube-card__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-right: 6px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.crays-nostr-youtube-card__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 5px;
  background: rgba(4, 17, 27, 0.86);
  padding: 0 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-youtube-card__body,
.crays-nostr-article-atlas-card {
  padding: 18px;
}

.crays-nostr-youtube-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 31, 87, 0.045), transparent 54%),
    #16212b;
}

.crays-nostr-article-atlas-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.crays-nostr-youtube-card__body span,
.crays-nostr-article-atlas-card span {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.crays-nostr-article-atlas-card span,
.crays-nostr-article-atlas-card h3,
.crays-nostr-article-atlas-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.crays-nostr-article-atlas-card span {
  margin-top: 18px;
}

.crays-nostr-youtube-card h3,
.crays-nostr-article-atlas-card h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-youtube-card h3 {
  color: #f7f9fb;
}

.crays-nostr-youtube-card p,
.crays-nostr-article-atlas-card p {
  margin: 10px 0 0;
  color: rgba(6, 17, 29, 0.68);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.crays-nostr-youtube-card p {
  color: rgba(226, 233, 240, 0.86);
}

.crays-nostr-article-atlas-card p {
  margin-bottom: 20px;
}

.crays-nostr-youtube-card small {
  display: block;
  margin-top: 14px;
  color: rgba(226, 233, 240, 0.58);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-youtube-card:hover,
.crays-nostr-article-atlas-card:hover {
  border-color: rgba(243, 18, 72, 0.36);
  box-shadow: 0 22px 54px rgba(6, 17, 29, 0.12);
  transform: translateY(-2px);
}

.crays-nostr-youtube-card:hover {
  box-shadow: 0 26px 62px rgba(6, 17, 29, 0.2), 0 18px 54px rgba(255, 31, 87, 0.08);
}

.crays-nostr-media-atlas-page .crays-nostr-media-collage {
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
  margin: 0;
  padding: clamp(38px, 4.6vw, 64px) 0;
}

.crays-nostr-media-atlas-page .crays-nostr-media-collage .crays-nostr-hub-image-band__grid {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.crays-nostr-media-atlas-page .crays-nostr-media-collage figure {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.crays-nostr-media-atlas-page .crays-nostr-media-atlas-route-collage {
  margin-top: clamp(18px, 3vw, 34px);
}

.crays-nostr-media-atlas-page .crays-nostr-media-atlas-closeout-collage {
  margin-top: clamp(28px, 4vw, 54px);
}

.crays-nostr-media-atlas-page .crays-nostr-start-how {
  margin-top: clamp(52px, 6vw, 88px);
  margin-bottom: clamp(32px, 4.5vw, 62px);
}

.crays-nostr-media-atlas-page .crays-nostr-hub-context-wrap {
  margin-top: clamp(48px, 5vw, 72px);
  margin-bottom: clamp(56px, 6vw, 84px);
}

.crays-nostr-article-atlas-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    #04111b;
  background-size: 34px 34px;
}

.crays-nostr-article-atlas-icon img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.crays-nostr-media-atlas-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04111b;
  padding: 34px 0;
}

.crays-nostr-media-atlas-footer .crays-article-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.crays-nostr-media-atlas-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-media-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.06);
}

.crays-nostr-media-source-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 220px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  padding: 20px;
}

.crays-nostr-media-source-grid article:last-child {
  border-right: 0;
}

.crays-nostr-media-source-grid h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.14;
}

.crays-nostr-media-source-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crays-nostr-media-source-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 999px;
  background: #f8fafb;
  color: rgba(6, 17, 29, 0.74);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.crays-nostr-media-source-grid a:hover {
  border-color: rgba(243, 18, 72, 0.32);
  color: var(--nostr-hub-red);
}

.crays-nostr-media-shelf-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.crays-nostr-media-shelf-card:nth-child(3n) {
  border-right: 0;
}

.crays-nostr-media-shelf-card:nth-child(-n + 3) {
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
}

.crays-nostr-media-full-directory {
  background: #f8fafb;
}

.crays-nostr-route-directory {
  margin-top: 18px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
  box-shadow: 0 18px 52px rgba(6, 17, 29, 0.08);
  overflow: hidden;
}

.crays-nostr-route-directory > summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(180px, auto) auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.crays-nostr-route-directory > summary::-webkit-details-marker {
  display: none;
}

.crays-nostr-route-directory > summary:hover,
.crays-nostr-route-directory > summary:focus-visible {
  background: rgba(243, 18, 72, 0.045);
}

.crays-nostr-route-directory > summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(243, 18, 72, 0.16);
}

.crays-nostr-route-directory__eyebrow {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border-radius: 8px;
  background: var(--nostr-hub-red);
  padding: 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-route-directory > summary > .crays-nostr-route-directory__eyebrow {
  color: var(--nostr-hub-red);
  background: rgba(243, 18, 72, 0.08);
  box-shadow: inset 0 0 0 1px rgba(243, 18, 72, 0.18);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-route-directory > summary strong {
  color: var(--nostr-hub-ink);
  font-size: clamp(18px, 1.25vw, 21px);
  font-weight: 900;
  line-height: 1.16;
}

.crays-nostr-route-directory > summary small {
  display: grid;
  justify-items: end;
  gap: 3px;
  color: var(--nostr-hub-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.22;
}

.crays-nostr-route-directory > summary small b,
.crays-nostr-route-directory > summary small em {
  display: block;
  font: inherit;
  font-style: normal;
}

.crays-nostr-route-directory > summary small b {
  color: var(--nostr-hub-ink);
  font-weight: 900;
}

.crays-nostr-route-directory > summary small em {
  max-width: 260px;
  color: rgba(6, 17, 29, 0.58);
  text-align: right;
}

.crays-nostr-route-directory__action,
.crays-nostr-route-directory__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(243, 18, 72, 0.28);
  border-radius: 999px;
  background: #fff;
  padding: 10px 13px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.crays-nostr-route-directory__action::after,
.crays-nostr-route-directory__toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.crays-nostr-route-directory[open] .crays-nostr-route-directory__action::after,
.crays-nostr-route-directory[open] .crays-nostr-route-directory__toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.crays-nostr-route-directory__action [data-close-label],
.crays-nostr-route-directory[open] .crays-nostr-route-directory__action [data-open-label] {
  display: none;
}

.crays-nostr-route-directory[open] .crays-nostr-route-directory__action [data-close-label] {
  display: inline;
}

.crays-nostr-route-directory__shelves,
.crays-nostr-route-directory__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  background: #f8fafb;
  padding: 18px;
}

.crays-nostr-route-directory__shelf h3 {
  margin: 0 0 10px;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-route-directory__shelf div {
  columns: 2 160px;
  column-gap: 16px;
}

.crays-nostr-route-directory__shelf a {
  display: block;
  break-inside: avoid;
  margin-bottom: 8px;
  color: rgba(6, 17, 29, 0.72);
  font-size: var(--nostr-box-copy);
  font-weight: 700;
  line-height: 1.32;
  text-decoration: none;
}

.crays-nostr-route-directory__shelf a:hover,
.crays-nostr-route-directory__shelf a[aria-current="page"] {
  color: var(--nostr-hub-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.crays-nostr-global-atlas {
  margin-top: 22px;
  border-top: 1px solid var(--nostr-hub-line);
  padding-top: 18px;
}

.crays-nostr-library-atlas {
  margin-top: 28px;
}

.crays-nostr-library-atlas .crays-nostr-global-atlas {
  margin-top: 0;
}

.crays-nostr-library-hero .crays-nostr-route-hub-hero__copy {
  max-width: 850px;
}

.crays-nostr-library-hero-panel {
  overflow: hidden;
  border-color: rgba(255, 42, 92, 0.58);
  border-left: 4px solid var(--nostr-hub-red);
  background:
    linear-gradient(135deg, rgba(3, 14, 24, 0.96), rgba(8, 26, 39, 0.84)),
    var(--nostr-hero-panel-bg, none) center / cover,
    rgba(4, 17, 27, 0.86);
  color: #fff;
  padding: 34px 34px 30px;
}

.crays-nostr-library-hero-panel .crays-nostr-live-kicker {
  color: var(--nostr-hub-red);
}

.crays-nostr-library-hero-panel ol {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.crays-nostr-library-hero-panel li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 0;
}

.crays-nostr-library-hero-panel li:first-child {
  border-top: 0;
}

.crays-nostr-library-hero-panel li span {
  grid-row: 1 / span 2;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-library-hero-panel li strong {
  display: block;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 900;
  line-height: 1.06;
}

.crays-nostr-library-hero-panel li small {
  display: block;
  max-width: 320px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.28;
}

.crays-nostr-library-collage {
  background: var(--nostr-hub-ink);
}

.crays-nostr-library-collage + .crays-nostr-hub-section {
  padding-top: clamp(46px, 5vw, 72px);
}

.crays-nostr-library-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 22px 60px rgba(6, 17, 29, 0.08);
}

.crays-nostr-library-search-copy h2,
.crays-nostr-library-routes h2,
.crays-nostr-library-tools h2,
.crays-nostr-library-wiki h2,
.crays-nostr-library-directory-section h2 {
  max-width: 940px;
}

.crays-nostr-library-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.crays-nostr-library-stats span {
  display: grid;
  align-content: center;
  min-height: 82px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  padding: 14px;
}

.crays-nostr-library-stats strong {
  color: var(--nostr-hub-red);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  line-height: 0.96;
}

.crays-nostr-library-stats small {
  margin-top: 5px;
  color: rgba(6, 17, 29, 0.68);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.crays-nostr-library-finder {
  position: relative;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  padding: clamp(18px, 2.4vw, 28px);
}

.crays-nostr-library-finder label,
.crays-nostr-library-index-tools label {
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-library-finder input,
.crays-nostr-library-index-tools input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 0 16px;
  font: 800 15px/1.2 Montserrat, sans-serif;
}

.crays-nostr-library-finder input:focus,
.crays-nostr-library-index-tools input:focus {
  outline: 3px solid rgba(243, 18, 72, 0.18);
  border-color: rgba(243, 18, 72, 0.42);
}

.crays-nostr-library-finder > a {
  justify-self: start;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-library-finder > a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.crays-nostr-library-finder__results {
  position: absolute;
  z-index: 20;
  top: calc(100% - 8px);
  left: 18px;
  right: 18px;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(6, 17, 29, 0.22);
}

.crays-nostr-library-finder__results p {
  margin: 0;
  border-bottom: 1px solid rgba(6, 17, 29, 0.08);
  padding: 12px 14px;
  color: rgba(6, 17, 29, 0.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-library-finder__results [data-nostr-finder-list] {
  display: grid;
  max-height: 430px;
  overflow: auto;
}

.crays-nostr-library-finder__results a {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid rgba(6, 17, 29, 0.08);
  padding: 12px 14px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-library-finder__results a:hover,
.crays-nostr-library-finder__results a[aria-selected="true"] {
  background: rgba(243, 18, 72, 0.055);
}

.crays-nostr-library-finder__results strong {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.18;
}

.crays-nostr-library-finder__results small,
.crays-nostr-library-finder__results em {
  color: rgba(6, 17, 29, 0.62);
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  line-height: 1.28;
}

.crays-nostr-library-route-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.07);
}

.crays-nostr-library-route-card {
  display: grid;
  align-content: start;
  min-height: 230px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  padding: 20px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.crays-nostr-library-route-card:nth-child(4n) {
  border-right: 0;
}

.crays-nostr-library-route-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.crays-nostr-library-route-card:hover {
  background: #f8fafb;
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-library-route-card__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-library-route-card[data-route="apps"] .crays-nostr-library-route-card__number,
.crays-nostr-library-route-card[data-route="nips"] .crays-nostr-library-route-card__number {
  background: #3157a3;
}

.crays-nostr-library-route-card[data-route="crays"] .crays-nostr-library-route-card__number,
.crays-nostr-library-route-card[data-route="library"] .crays-nostr-library-route-card__number {
  background: var(--nostr-hub-red);
}

.crays-nostr-library-route-card[data-route="people"] .crays-nostr-library-route-card__number,
.crays-nostr-library-route-card[data-route="media"] .crays-nostr-library-route-card__number {
  background: #bd2d77;
}

.crays-nostr-library-route-card strong {
  margin-top: 22px;
  font-size: clamp(19px, 1.45vw, 24px);
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-library-route-card small {
  margin-top: 6px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-library-route-card p {
  margin: 16px 0 0;
  color: rgba(6, 17, 29, 0.64);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.38;
}

.crays-nostr-library-review-strip {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(243, 18, 72, 0.16);
  border-radius: 8px;
  background: rgba(243, 18, 72, 0.045);
  padding: 18px 20px;
}

.crays-nostr-library-review-strip strong {
  color: var(--nostr-hub-ink);
  font-size: 18px;
  font-weight: 900;
}

.crays-nostr-library-review-strip span {
  color: rgba(6, 17, 29, 0.66);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.crays-nostr-library-review-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(243, 18, 72, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--nostr-hub-red);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.crays-nostr-library-tool-grid,
.crays-nostr-library-wiki-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 17, 29, 0.06);
}

.crays-nostr-library-tool-card,
.crays-nostr-library-wiki-grid article {
  display: grid;
  align-content: start;
  min-height: 210px;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  padding: 22px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-library-tool-card:nth-child(3n),
.crays-nostr-library-wiki-grid article:nth-child(3n) {
  border-right: 0;
}

.crays-nostr-library-tool-card:nth-last-child(-n + 3),
.crays-nostr-library-wiki-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.crays-nostr-library-tool-card span,
.crays-nostr-library-wiki-grid article span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-library-tool-card strong,
.crays-nostr-library-wiki-grid h3 {
  margin: 20px 0 0;
  color: var(--nostr-hub-ink);
  font-size: clamp(21px, 1.7vw, 30px);
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-library-tool-card small,
.crays-nostr-library-wiki-grid p {
  margin: 14px 0 0;
  color: rgba(6, 17, 29, 0.66);
  font-size: var(--nostr-box-copy);
  font-weight: 760;
  line-height: 1.38;
}

.crays-nostr-library-tool-card:hover {
  background: #f8fafb;
  box-shadow: inset 0 4px 0 var(--nostr-hub-red);
}

.crays-nostr-library-link-clouds {
  margin-top: 18px;
}

.crays-nostr-library-directory-section {
  background: #fff;
}

.crays-nostr-library-master-directory {
  margin-top: 28px;
}

.crays-nostr-library-all-pages {
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  background: #f8fafb;
  padding: 18px;
}

.crays-nostr-library-index-tools {
  display: grid;
  grid-template-columns: minmax(160px, auto) minmax(260px, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.crays-nostr-library-all-routes {
  margin-top: 0;
}

.crays-nostr-library-all-routes .crays-nostr-atlas-route > summary {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}

.crays-nostr-library-all-routes .crays-nostr-atlas-route > summary .crays-nostr-atlas-thumb {
  display: none;
}

.crays-nostr-library-archive-route .crays-nostr-atlas-shelves {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crays-nostr-library-archive-route .crays-nostr-route-directory__shelf {
  min-width: 0;
}

.crays-nostr-library-archive-route .crays-nostr-route-directory__shelf h3 span {
  color: rgba(6, 17, 29, 0.42);
}

.crays-nostr-library-archive-route .crays-nostr-route-directory__shelf div {
  columns: 2 180px;
}

.crays-nostr-library-contribution {
  margin-top: clamp(38px, 5vw, 70px);
}

.crays-nostr-global-atlas > summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  padding: 18px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.crays-nostr-global-atlas > summary::-webkit-details-marker,
.crays-nostr-atlas-route > summary::-webkit-details-marker {
  display: none;
}

.crays-nostr-global-atlas > summary span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-red);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-global-atlas > summary strong {
  min-width: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.16;
}

.crays-nostr-global-atlas > summary small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 750;
}

.crays-nostr-atlas-routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}

.crays-nostr-atlas-route {
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: #f8fafb;
  overflow: hidden;
}

.crays-nostr-atlas-route > summary {
  display: grid;
  grid-template-columns: 38px 66px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.crays-nostr-atlas-route > summary span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-atlas-route[data-route="people"] > summary span {
  background: var(--nostr-hub-slate);
  color: #fff;
}

.crays-nostr-atlas-route[data-route="apps"] > summary span {
  background: var(--nostr-hub-deep-blue);
}

.crays-nostr-atlas-route[data-route="relays"] > summary span {
  background: var(--nostr-hub-green);
}

.crays-nostr-atlas-route[data-route="crays"] > summary span {
  background: var(--nostr-hub-red);
}

.crays-nostr-atlas-thumb {
  display: block;
  width: 66px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(6, 17, 29, 0.08);
}

.crays-nostr-atlas-route > summary strong {
  min-width: 0;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.crays-nostr-atlas-route > summary strong em {
  display: block;
  margin-top: 4px;
  color: var(--nostr-hub-muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.28;
}

.crays-nostr-atlas-route > summary small {
  color: var(--nostr-hub-muted);
  font-size: 14px;
  font-weight: 800;
}

.crays-nostr-atlas-shelves {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--nostr-hub-line);
  background: #fff;
  padding: 14px;
}

.crays-nostr-atlas-shelf h3 {
  margin: 0 0 8px;
  color: var(--nostr-hub-red);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-atlas-shelf div {
  columns: 2 180px;
  column-gap: 16px;
}

.crays-nostr-atlas-shelf a {
  display: block;
  break-inside: avoid;
  margin-bottom: 7px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.34;
  text-decoration: none;
}

.crays-nostr-atlas-shelf a:hover,
.crays-nostr-atlas-shelf a[aria-current="page"] {
  color: var(--nostr-hub-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.crays-nostr-hub-body .crays-article-toc {
  grid-column: 1;
  position: sticky;
  top: 102px;
  width: 100%;
  border: 1px solid rgba(6, 17, 29, 0.09);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 16px 0 10px;
  box-shadow: 0 18px 42px rgba(6, 17, 29, 0.06);
  backdrop-filter: blur(14px);
  max-height: none;
  overflow-y: visible;
}

.crays-nostr-hub-body .crays-article-toc p {
  margin: 0 0 10px;
  padding: 0 16px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.crays-nostr-hub-body .crays-article-toc a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  padding: 13px 16px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.crays-nostr-hub-body .crays-article-toc a span {
  color: rgba(6, 17, 29, 0.38);
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-hub-body .crays-article-toc a:hover {
  background: rgba(255, 21, 80, 0.045);
  color: var(--nostr-hub-red);
}

.crays-nostr-hub-body .crays-article-toc a.is-active,
.crays-nostr-hub-body .crays-article-toc a[aria-current="location"] {
  background: rgba(255, 21, 80, 0.075);
  box-shadow: inset 4px 0 0 var(--nostr-hub-red);
  color: var(--nostr-hub-ink);
}

.crays-nostr-hub-body .crays-article-toc a.is-active span,
.crays-nostr-hub-body .crays-article-toc a[aria-current="location"] span {
  color: var(--nostr-hub-red);
}

.crays-nostr-hub-body .crays-article-content > p:first-child,
.crays-nostr-hub-body .crays-nostr-article-masthead + p {
  color: var(--nostr-hub-ink);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.6;
}

.crays-nostr-hub-body .crays-article-content code,
.crays-nostr-hub-body .crays-nostr-reader-note code,
.crays-nostr-hub-body .crays-article-content a,
.crays-nostr-hub-body .crays-article-content p,
.crays-nostr-hub-body .crays-article-content li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.crays-nostr-reader-note {
  margin: 30px 0 8px;
  border-left: 5px solid var(--nostr-hub-red);
  border-radius: 0 8px 8px 0;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 18px 42px rgba(6, 17, 29, 0.06);
}

.crays-nostr-reader-note strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-reader-note span {
  display: block;
  margin-top: 8px;
  color: var(--nostr-hub-soft);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.crays-nostr-stock-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 840px;
  margin: 26px 0 10px;
}

.crays-nostr-stock-scenes[data-count="1"] {
  max-width: 420px;
  grid-template-columns: minmax(0, 1fr);
}

.crays-nostr-stock-scenes[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crays-nostr-stock-scenes figure {
  position: relative;
  min-height: 0;
  height: clamp(138px, 13vw, 184px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  box-shadow: 0 18px 44px rgba(6, 17, 29, 0.12);
}

.crays-nostr-stock-scenes figure:first-child {
  min-height: 0;
}

.crays-nostr-stock-scenes[data-count="1"] figure:first-child,
.crays-nostr-stock-scenes[data-count="2"] figure:first-child {
  min-height: 0;
}

.crays-nostr-stock-scenes figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(4, 17, 27, 0.78) 100%),
    linear-gradient(90deg, rgba(243, 18, 72, 0.18), transparent 46%);
}

.crays-nostr-stock-scenes img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.04);
}

.crays-nostr-stock-scenes figcaption {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(4, 17, 27, 0.78);
  color: #fff;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.28;
  backdrop-filter: blur(10px);
}

.crays-nostr-hub-body .crays-article-content p {
  color: var(--nostr-hub-soft);
  font-size: var(--nostr-type-body);
  font-weight: 560;
  line-height: var(--nostr-line-body);
}

.crays-nostr-hub-body .crays-article-content p a {
  color: var(--nostr-hub-ink);
  font-weight: 850;
  text-decoration-color: rgba(243, 18, 72, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.crays-nostr-hub-body .crays-article-content p a:hover {
  color: var(--nostr-hub-red);
}

.crays-nostr-hub-body .crays-article-content h2 {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 58px;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-type-h2);
  line-height: var(--nostr-line-heading);
  counter-increment: crays-section;
}

.crays-nostr-hub-body .crays-article-content h2::before {
  content: counter(crays-section, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-hub-body .crays-article-content h3 {
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-type-h3);
  line-height: var(--nostr-line-heading);
}

.crays-nostr-hub-body .crays-article-list {
  border-left: 3px solid rgba(8, 182, 201, 0.5);
  background: rgba(255, 255, 255, 0.66);
  padding: 14px 0 14px 24px;
}

.crays-nostr-hub-body .crays-article-list li {
  font-size: 17px;
  font-weight: 650;
}

.crays-nostr-hub-body .crays-nostr-source-list li {
  display: block;
}

.crays-nostr-hub-body .crays-nostr-source-list a {
  display: inline-block;
  line-height: 1.4;
}

.crays-nostr-hub-body .crays-nostr-source-list span {
  display: block;
  margin-top: 6px;
  color: rgba(6, 17, 29, 0.68);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.crays-nostr-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 0;
}

.crays-nostr-hub-mini-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
  min-height: 132px;
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: var(--nostr-hub-panel);
  padding: 18px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(6, 17, 29, 0.04);
}

.crays-nostr-card-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-card-icon img,
.crays-nostr-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crays-nostr-card-media {
  grid-row: 1 / span 2;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  object-fit: contain;
  padding: 5px;
  box-shadow: inset 0 0 0 1px rgba(6, 17, 29, 0.08);
}

.crays-nostr-card-media[src*="crays-mark"] {
  padding: 8px;
}

.crays-nostr-hub-mini-card[data-card-kind="app"] .crays-nostr-card-icon {
  background: var(--nostr-hub-deep-blue);
}

.crays-nostr-hub-mini-card[data-card-kind="protocol"] .crays-nostr-card-icon {
  background: var(--nostr-hub-ink);
}

.crays-nostr-hub-mini-card[data-card-kind="crays"] .crays-nostr-card-icon {
  background: var(--nostr-hub-red);
}

.crays-nostr-hub-mini-card[data-card-kind="people"] .crays-nostr-card-icon {
  background: var(--nostr-hub-slate);
  color: #fff;
}

.crays-nostr-hub-mini-card[data-card-kind="people"] {
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 118px;
}

.crays-nostr-hub-mini-card[data-card-kind="people"] .crays-nostr-card-media {
  width: 54px;
  height: 54px;
  padding: 0;
  object-fit: cover;
}

.crays-nostr-hub-mini-card strong {
  min-width: 0;
  color: var(--nostr-hub-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.crays-nostr-hub-mini-card > span:last-child {
  min-width: 0;
  color: var(--nostr-hub-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.52;
}

a.crays-nostr-hub-mini-card:hover {
  border-color: rgba(243, 18, 72, 0.42);
  transform: translateY(-2px);
}

.crays-nostr-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.crays-nostr-source-card {
  border: 1px solid var(--nostr-hub-line);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: 17px 18px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-source-card strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-source-card span {
  display: block;
  margin-top: 7px;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.crays-nostr-source-card:hover {
  border-color: rgba(243, 18, 72, 0.42);
}

.crays-nostr-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 8px;
}

.crays-nostr-video-card {
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(6, 17, 29, 0.08);
}

.crays-nostr-video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #06111d;
}

.crays-nostr-video-card__media iframe,
.crays-nostr-video-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.crays-nostr-video-card__fallback {
  display: grid;
  place-items: center;
  padding: 22px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.crays-nostr-video-card__body {
  padding: 18px 18px 20px;
}

.crays-nostr-video-card__body span {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(243, 18, 72, 0.08);
  padding: 0 10px;
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-video-card__body h3 {
  margin: 12px 0 8px;
  color: var(--nostr-hub-ink);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
}

.crays-nostr-video-card__body p {
  margin: 0;
  color: var(--nostr-hub-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
}

.crays-nostr-video-card__body small {
  display: block;
  margin-top: 14px;
  color: rgba(6, 17, 29, 0.52);
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-video-card__body a {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--nostr-hub-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.crays-nostr-related {
  margin-top: 72px;
  border-top: 1px solid var(--nostr-hub-line);
  padding-top: 30px;
}

.crays-nostr-related h2 {
  margin-top: 0;
}

.crays-nostr-related__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.crays-nostr-related__links a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  border: 1px solid var(--nostr-hub-line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-related__links .crays-nostr-card-icon {
  width: 38px;
  height: 38px;
  font-size: 11px;
}

.crays-nostr-related__links .crays-nostr-card-media {
  width: 38px;
  height: 38px;
}

.crays-nostr-related__links strong {
  min-width: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.crays-nostr-related__links small {
  color: var(--nostr-hub-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.crays-nostr-related__links a:hover {
  border-color: rgba(243, 18, 72, 0.42);
}

.crays-nostr-index-tools {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.crays-nostr-archive-index {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.crays-nostr-index-shelf {
  border-top: 1px solid var(--nostr-hub-line);
  padding-top: 18px;
}

.crays-nostr-index-shelf h3 {
  margin: 0 0 12px;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-index-shelf div {
  columns: 2 240px;
  column-gap: 22px;
}

.crays-nostr-index-shelf a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  break-inside: avoid;
  margin: 0 0 8px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
  text-decoration: none;
}

.crays-nostr-index-shelf a span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(6, 17, 29, 0.08);
  color: var(--nostr-hub-ink);
  font-size: 9px;
  font-weight: 900;
}

.crays-nostr-index-shelf a:hover {
  color: var(--nostr-hub-red);
}

.crays-nostr-term {
  border-top: 1px solid var(--nostr-hub-line);
  padding: 18px 0;
}

.crays-nostr-term strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 17px;
  font-weight: 900;
}

.crays-nostr-term span {
  display: block;
  margin-top: 7px;
  color: var(--nostr-hub-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.crays-nostr-hub-body .legal-footer {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgb(217, 226, 243);
  background:
    radial-gradient(circle at 20% 120%, rgba(30, 136, 229, 0.35), transparent 55%),
    radial-gradient(circle at 95% 10%, rgba(243, 18, 72, 0.16), transparent 48%),
    linear-gradient(rgb(3, 19, 33) 0%, rgb(6, 27, 46) 100%);
}

.crays-nostr-hub-body .legal-footer-inner {
  width: min(1540px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 52px 0 26px;
}

.crays-nostr-hub-body .legal-footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 20px;
}

.crays-nostr-hub-body .legal-footer-logo-link {
  display: inline-flex;
  width: 148px;
  height: 37px;
  align-items: center;
}

.crays-nostr-hub-body .legal-footer-logo {
  display: block;
  width: 148px;
  height: 37px;
  object-fit: contain;
}

.crays-nostr-hub-body .legal-footer-tagline {
  margin: 8px 0 0;
  color: rgb(143, 163, 189);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.crays-nostr-hub-body .legal-footer-social {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 0 2px;
}

.crays-nostr-hub-body .legal-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0;
  line-height: 0;
}

.crays-nostr-hub-body .legal-footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
}

.crays-nostr-hub-body .legal-footer-social img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.crays-nostr-hub-body .legal-footer-main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 10px 0 12px;
}

.crays-nostr-hub-body .legal-footer-main-nav a {
  color: rgb(217, 226, 243);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.crays-nostr-hub-body .legal-footer-main-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crays-nostr-hub-body .legal-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 0;
}

.crays-nostr-hub-body .legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.crays-nostr-hub-body .legal-footer-links a {
  color: rgb(217, 226, 243);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.crays-nostr-hub-body .legal-footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crays-nostr-hub-body .legal-footer-copy {
  color: rgba(217, 226, 243, 0.76);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.crays-nostr-hub-body .crays-consent-footer-slot {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 8px 0 0;
}

.crays-nostr-hub-body .crays-consent-footer-button {
  border: 0;
  background: transparent;
  color: rgba(246, 248, 251, 0.72);
  padding: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.crays-nostr-hub-body .crays-consent-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(480px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #07131f;
  color: #fff;
  padding: 20px 18px 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.crays-nostr-hub-body .crays-consent-panel:not(.is-open) {
  display: none;
}

.crays-nostr-hub-body .crays-consent-kicker {
  margin: 0 0 8px;
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-hub-body .crays-consent-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.18;
}

.crays-nostr-hub-body .crays-consent-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.48;
}

.crays-nostr-hub-body .crays-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.crays-nostr-hub-body .crays-consent-button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 14px;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.crays-nostr-hub-body .crays-consent-button-primary {
  border-color: #fff;
  background: #fff;
  color: #07131f;
}

.crays-nostr-hub-body .crays-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.crays-nostr-hub-body .crays-consent-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.crays-nostr-live-surface,
.crays-nostr-community-panel,
.crays-nostr-community-os {
  margin: 46px 0;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(6, 17, 29, 0.08);
  padding: clamp(22px, 3vw, 34px);
}

.crays-nostr-live-kicker {
  margin: 0 0 8px;
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-live-surface h2,
.crays-nostr-community-panel h2,
.crays-nostr-community-os h2 {
  margin-top: 0;
}

.crays-nostr-live-surface > div:first-child p:last-child,
.crays-nostr-community-panel > header p:last-child,
.crays-nostr-community-os__intro p:last-child {
  max-width: 880px;
  color: var(--nostr-hub-soft);
  font-size: 16px;
  line-height: 1.55;
}

.crays-nostr-community-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.crays-nostr-community-actions a {
  min-height: 132px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 21, 80, 0.08), rgba(29, 181, 200, 0.08)),
    #fff;
  color: var(--nostr-hub-ink);
  padding: 18px;
  text-decoration: none;
}

.crays-nostr-community-actions strong,
.crays-nostr-pill-grid strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-community-actions span,
.crays-nostr-pill-grid span {
  display: block;
  margin-top: 7px;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  line-height: 1.45;
}

.crays-nostr-community-feed-model {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.crays-nostr-community-feed-model h3 {
  margin: 0 0 12px;
  color: var(--nostr-hub-ink);
  font-size: 22px;
  line-height: 1.18;
}

.crays-nostr-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.crays-nostr-pill-grid div {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.crays-nostr-quick-composer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  border-top: 1px solid rgba(6, 17, 29, 0.1);
  padding-top: 22px;
}

.crays-nostr-auth-grid,
.crays-nostr-auth-actions,
.crays-nostr-review-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.crays-nostr-auth-grid button,
.crays-nostr-auth-actions button,
.crays-nostr-review-tools button,
.crays-nostr-review-form button,
.crays-nostr-inline-form button,
.crays-nostr-mini-form button,
.crays-nostr-quick-composer button {
  min-height: 42px;
  border: 1px solid var(--nostr-hub-ink);
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.crays-nostr-auth-grid button:nth-child(2),
.crays-nostr-review-tools button,
.crays-nostr-inline-form button {
  border-color: rgba(6, 17, 29, 0.18);
  background: #fff;
  color: var(--nostr-hub-ink);
}

.crays-nostr-session-card,
.crays-nostr-local-queue {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  padding: 16px;
}

.crays-nostr-session-card strong,
.crays-nostr-local-queue strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 15px;
  line-height: 1.3;
}

.crays-nostr-session-card span,
.crays-nostr-local-queue span {
  display: block;
  margin-top: 4px;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  line-height: 1.45;
}

.crays-nostr-inline-form {
  margin: 16px 0;
}

.crays-nostr-inline-form label,
.crays-nostr-review-form label,
.crays-nostr-mini-form label,
.crays-nostr-quick-composer label {
  display: grid;
  gap: 7px;
  color: var(--nostr-hub-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.crays-nostr-inline-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.crays-nostr-review-form,
.crays-nostr-project-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.crays-nostr-project-form label:nth-last-of-type(-n + 3),
.crays-nostr-review-form label:has(textarea),
.crays-nostr-review-form label:has(input[name="target_path"]) {
  grid-column: 1 / -1;
}

.crays-nostr-review-form input,
.crays-nostr-review-form select,
.crays-nostr-review-form textarea,
.crays-nostr-inline-form input,
.crays-nostr-mini-form input,
.crays-nostr-mini-form textarea,
.crays-nostr-quick-composer input,
.crays-nostr-quick-composer select,
.crays-nostr-quick-composer textarea {
  width: 100%;
  border: 1px solid rgba(6, 17, 29, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.crays-nostr-review-form textarea,
.crays-nostr-mini-form textarea,
.crays-nostr-quick-composer textarea {
  resize: vertical;
}

.crays-nostr-quick-composer label:has(textarea),
.crays-nostr-quick-composer button,
.crays-nostr-quick-composer output {
  grid-column: 1 / -1;
}

.crays-nostr-check {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: center;
  gap: 9px !important;
  text-transform: none !important;
}

.crays-nostr-check input {
  width: 18px;
  height: 18px;
}

.crays-nostr-review-form output,
.crays-nostr-mini-form output {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  line-height: 1.45;
}

.crays-nostr-event-preview {
  max-height: 280px;
  overflow: auto;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #06111d;
  color: #f4f7f8;
  padding: 16px;
  white-space: pre-wrap;
}

.crays-nostr-community-panel__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.crays-nostr-community-panel__grid article {
  border-top: 3px solid var(--nostr-hub-red);
  background: #fff;
  padding: 18px;
}

.crays-nostr-community-panel__grid article p {
  margin: 0 0 12px;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  line-height: 1.45;
}

.crays-nostr-community-panel__grid h3 {
  margin-top: 0;
  color: var(--nostr-hub-ink);
  font-size: 20px;
  line-height: 1.2;
}

.crays-nostr-mini-form {
  display: grid;
  gap: 12px;
}

.crays-nostr-community-panel__grid a {
  display: block;
  margin: 0 0 9px;
  color: var(--nostr-hub-red);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-local-queue {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.crays-nostr-queue-item {
  border-left: 3px solid var(--nostr-hub-red);
  background: #fff;
  padding: 12px 14px;
}

.crays-nostr-queue-item code {
  display: block;
  margin-top: 8px;
  color: var(--nostr-hub-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.crays-nostr-product-shell {
  margin: 46px 0;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #f6f9fb;
  box-shadow: 0 26px 70px rgba(6, 17, 29, 0.12);
  overflow: hidden;
}

.crays-nostr-product-first {
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  background:
    linear-gradient(180deg, rgba(6, 17, 29, 0.04), rgba(255, 255, 255, 0)),
    #f3f7f9;
  padding: 22px 0 30px;
}

.crays-nostr-product-first .crays-nostr-product-shell {
  margin: 0;
}

.crays-nostr-product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  background: #07131f;
}

.crays-nostr-product-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.crays-nostr-product-nav a[aria-current="page"],
.crays-nostr-product-nav a:hover {
  background: #fff;
  color: var(--nostr-hub-ink);
}

.crays-nostr-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 21, 80, 0.08), rgba(29, 181, 200, 0.1)),
    #fff;
}

.crays-nostr-product-hero h1,
.crays-nostr-product-hero h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h1);
  font-weight: 900;
  line-height: 0.96;
}

.crays-nostr-product-hero p:last-child {
  max-width: 760px;
  color: var(--nostr-hub-soft);
  font-size: 17px;
  line-height: 1.55;
}

.crays-nostr-product-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: start;
}

.crays-nostr-product-metrics div {
  min-height: 128px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 17px;
}

.crays-nostr-product-metrics strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 36px;
  font-weight: 900;
  line-height: 0.95;
}

.crays-nostr-product-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-product-metrics small {
  display: block;
  margin-top: 7px;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  line-height: 1.35;
}

.crays-nostr-product-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 300px;
  gap: 1px;
  background: rgba(6, 17, 29, 0.12);
}

.crays-nostr-product-sidebar,
.crays-nostr-product-main,
.crays-nostr-product-right {
  background: #fff;
  padding: 22px;
}

.crays-nostr-product-sidebar h3,
.crays-nostr-product-right h3 {
  margin: 0 0 13px;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  line-height: 1.15;
}

.crays-nostr-product-sidebar ul {
  margin: 0;
  padding-left: 18px;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  line-height: 1.45;
}

.crays-nostr-product-actions {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
}

.crays-nostr-product-actions a,
.crays-nostr-product-community-list a {
  display: block;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  color: var(--nostr-hub-ink);
  padding: 13px;
  text-decoration: none;
}

.crays-nostr-product-actions strong,
.crays-nostr-product-community-list strong,
.crays-nostr-product-pipeline strong {
  display: block;
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-product-actions span,
.crays-nostr-product-community-list span,
.crays-nostr-product-community-list small,
.crays-nostr-product-pipeline span {
  display: block;
  margin-top: 5px;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  line-height: 1.35;
}

.crays-nostr-product-composer {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #07131f;
  color: #fff;
  padding: 18px;
}

.crays-nostr-product-composer strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-product-composer span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.crays-nostr-product-composer form {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 10px;
}

.crays-nostr-product-composer textarea,
.crays-nostr-product-composer button,
.crays-nostr-product-composer output {
  grid-column: 1 / -1;
}

.crays-nostr-product-composer input,
.crays-nostr-product-composer select,
.crays-nostr-product-composer textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px;
  font: inherit;
  font-size: 14px;
}

.crays-nostr-product-composer input::placeholder,
.crays-nostr-product-composer textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.crays-nostr-product-composer button {
  min-height: 42px;
  border: 1px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: #07131f;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.crays-nostr-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.crays-nostr-product-feed-tools {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.crays-nostr-product-feed-tools label {
  color: var(--nostr-hub-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-product-feed-tools input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 0 13px;
  font: inherit;
  font-size: 14px;
}

.crays-nostr-product-tabs button {
  min-height: 34px;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.crays-nostr-product-tabs button[aria-pressed="true"] {
  border-color: var(--nostr-hub-ink);
  background: var(--nostr-hub-ink);
  color: #fff;
}

.crays-nostr-product-feed {
  display: grid;
  gap: 12px;
}

.crays-nostr-product-feed-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.crays-nostr-product-feed-card[hidden] {
  display: none;
}

.crays-nostr-product-feed-votes {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  border-right: 1px solid rgba(6, 17, 29, 0.08);
  background: #f6f8f9;
  padding: 14px 8px;
}

.crays-nostr-product-feed-votes button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.crays-nostr-product-feed-votes strong {
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-product-feed-body {
  padding: 16px;
}

.crays-nostr-product-feed-body header,
.crays-nostr-product-feed-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.crays-nostr-product-feed-body header span {
  color: var(--nostr-hub-red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-product-feed-card h3 {
  margin: 9px 0 7px;
  color: var(--nostr-hub-ink);
  font-size: 19px;
  line-height: 1.18;
}

.crays-nostr-product-feed-card p {
  margin: 0 0 12px;
  color: var(--nostr-hub-soft);
  font-size: 14px;
  line-height: 1.45;
}

.crays-nostr-product-feed-card footer strong,
.crays-nostr-product-feed-card footer small,
.crays-nostr-product-feed-card footer a {
  color: var(--nostr-hub-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.crays-nostr-product-feed-card footer a {
  color: var(--nostr-hub-red);
}

.crays-nostr-product-community-list,
.crays-nostr-product-pipeline {
  display: grid;
  gap: 9px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.crays-nostr-product-pipeline div {
  border-left: 3px solid var(--nostr-hub-red);
  background: #f7fafb;
  padding: 11px 12px;
}

.crays-nostr-product-pipeline small {
  display: block;
  margin-top: 4px;
  color: var(--nostr-hub-muted);
  font-size: 11px;
  line-height: 1.35;
}

.crays-nostr-page-community-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: center;
  margin: 48px 0;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 21, 80, 0.08), rgba(29, 181, 200, 0.08)),
    #fff;
  box-shadow: 0 20px 52px rgba(6, 17, 29, 0.08);
  padding: clamp(20px, 3vw, 28px);
}

.crays-nostr-page-community-entry h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-page-community-entry p:last-child {
  max-width: 760px;
  color: var(--nostr-hub-soft);
  font-size: 15px;
  line-height: 1.5;
}

.crays-nostr-page-community-entry nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.crays-nostr-page-community-entry nav a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.crays-nostr-page-community-entry nav a:last-child {
  grid-column: 1 / -1;
  background: var(--nostr-hub-ink);
  color: #fff;
}

.crays-nostr-hub-contribution {
  margin: 58px 0;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 24px 70px rgba(6, 17, 29, 0.08);
}

.crays-nostr-hub-contribution__head {
  max-width: 860px;
  margin-bottom: 24px;
}

.crays-nostr-hub-contribution__head h2 {
  margin: 7px 0 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-hub-contribution__head p:last-child {
  max-width: 760px;
  margin: 13px 0 0;
  color: var(--nostr-hub-soft);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.crays-nostr-hub-contribution__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(320px, 1.08fr) minmax(220px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.crays-nostr-hub-contribution__actions,
.crays-nostr-hub-contribution__composer,
.crays-nostr-hub-contribution__paths {
  border: 1px solid rgba(6, 17, 29, 0.09);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 16px;
}

.crays-nostr-hub-contribution__actions h3,
.crays-nostr-hub-contribution__paths h3 {
  margin: 0 0 12px;
  color: var(--nostr-hub-ink);
  font-size: 15px;
  font-weight: 900;
}

.crays-nostr-hub-contribution__actions {
  display: grid;
  gap: 10px;
}

.crays-nostr-hub-contribution__actions a {
  display: grid;
  gap: 4px;
  min-height: 74px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 13px 14px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-hub-contribution__actions a:hover,
.crays-nostr-hub-contribution__paths a:hover {
  border-color: rgba(243, 18, 72, 0.34);
  box-shadow: 0 12px 28px rgba(6, 17, 29, 0.08);
}

.crays-nostr-hub-contribution__actions strong,
.crays-nostr-hub-contribution__paths strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-hub-contribution__actions span,
.crays-nostr-hub-contribution__paths span {
  color: var(--nostr-hub-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.crays-nostr-hub-contribution__composer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-hub-contribution__composer label {
  display: grid;
  gap: 7px;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  font-weight: 900;
}

.crays-nostr-hub-contribution__composer label:has(textarea),
.crays-nostr-hub-contribution__composer button,
.crays-nostr-hub-contribution__composer output {
  grid-column: 1 / -1;
}

.crays-nostr-hub-contribution__composer input,
.crays-nostr-hub-contribution__composer select,
.crays-nostr-hub-contribution__composer textarea {
  width: 100%;
  border: 1px solid rgba(6, 17, 29, 0.13);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.crays-nostr-hub-contribution__composer textarea {
  min-height: 132px;
  resize: vertical;
}

.crays-nostr-hub-contribution__composer button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.crays-nostr-hub-contribution__composer output {
  min-height: 18px;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  font-weight: 800;
}

.crays-nostr-hub-contribution__paths {
  display: grid;
  gap: 9px;
}

.crays-nostr-hub-contribution__paths a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  color: var(--nostr-hub-ink);
  text-decoration: none;
}

.crays-nostr-hub-contribution__paths a > span:not(.crays-nostr-card-badge) {
  grid-column: 2;
}

.crays-nostr-hub-contribution .crays-nostr-local-queue {
  margin-top: 16px;
}

.crays-nostr-next-steps {
  width: min(1540px, calc(100% - 56px));
  margin: 28px auto 34px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 20px 58px rgba(6, 17, 29, 0.08);
}

.crays-nostr-next-steps__head {
  max-width: 820px;
}

.crays-nostr-next-steps__head h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-next-steps__head p:last-child {
  margin: 12px 0 0;
  color: var(--nostr-hub-soft);
  font-size: 16px;
  line-height: 1.5;
}

.crays-nostr-next-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.crays-nostr-next-step-card {
  min-height: 134px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #f7fafb;
  color: var(--nostr-hub-ink);
  padding: 16px;
  text-decoration: none;
}

.crays-nostr-next-step-card:hover {
  border-color: rgba(255, 21, 80, 0.45);
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 17, 29, 0.08);
}

.crays-nostr-next-step-card span {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.crays-nostr-next-step-card strong {
  color: var(--nostr-hub-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-next-steps__paths {
  margin-top: 16px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fbfcfd;
}

.crays-nostr-next-steps__paths summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-next-steps__paths summary small {
  color: var(--nostr-hub-muted);
  font-size: 12px;
  font-weight: 800;
}

.crays-nostr-next-steps__paths div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  padding: 14px;
}

.crays-nostr-next-steps__paths a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 10px;
  text-decoration: none;
}

.crays-nostr-next-steps__paths a > strong {
  font-size: 13px;
  line-height: 1.2;
}

.crays-nostr-next-steps__paths a > span:not(.crays-nostr-card-badge) {
  grid-column: 2;
  color: var(--nostr-hub-muted);
  font-size: 12px;
  line-height: 1.35;
}

.crays-nostr-context-actions {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 24px 0 34px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 16px 42px rgba(6, 17, 29, 0.06);
}

.crays-nostr-context-actions h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-box-title);
  font-weight: 900;
  line-height: 1.12;
}

.crays-nostr-context-actions p:last-child {
  margin: 8px 0 0;
  color: var(--nostr-hub-soft);
  font-size: var(--nostr-box-copy);
  font-weight: 700;
  line-height: 1.5;
}

.crays-nostr-context-actions__lanes {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.crays-nostr-context-actions__lanes > div {
  min-width: 0;
}

.crays-nostr-context-actions__lanes h4 {
  margin: 0 0 8px;
  color: rgba(6, 17, 29, 0.62);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-context-actions nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.crays-nostr-context-actions nav a {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  color: var(--nostr-hub-ink);
  padding: 13px;
  text-decoration: none;
}

.crays-nostr-context-actions nav a:hover {
  border-color: rgba(255, 21, 80, 0.42);
  background: #fff;
}

.crays-nostr-context-actions nav strong {
  color: var(--nostr-hub-red);
  font-size: var(--nostr-box-label);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.crays-nostr-context-actions nav span {
  color: var(--nostr-hub-soft);
  font-size: var(--nostr-box-copy);
  font-weight: 700;
  line-height: 1.42;
}

.crays-nostr-context-actions nav a[data-contribution-action="source"],
.crays-nostr-context-actions nav a[href*="type=source"] {
  grid-column: 2;
  grid-row: 2;
}

.crays-nostr-context-actions nav a[data-contribution-action="correction"],
.crays-nostr-context-actions nav a[href*="type=correction"] {
  grid-column: 1;
  grid-row: 2;
}

.crays-nostr-context-actions nav[aria-label="Core contribution actions"] a[data-contribution-action="relation"] {
  grid-column: 1 / -1;
}

.crays-nostr-page-community-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  grid-column: 1 / -1;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  border-bottom: 1px solid rgba(6, 17, 29, 0.08);
  padding: 12px 0;
}

.crays-nostr-page-community-summary span,
.crays-nostr-page-community-summary button {
  display: grid;
  align-content: center;
  min-height: 54px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--nostr-hub-soft);
  padding: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.crays-nostr-page-community-summary strong {
  color: var(--nostr-hub-ink);
  font-size: 19px;
  line-height: 1;
}

.crays-nostr-page-community-summary button {
  cursor: pointer;
  color: var(--nostr-hub-red);
  text-transform: uppercase;
}

.crays-nostr-drawer[hidden] {
  display: none;
}

.crays-nostr-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.crays-nostr-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 29, 0.42);
}

.crays-nostr-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(620px, 100%);
  height: 100%;
  overflow: auto;
  background: #fff;
  border-left: 1px solid rgba(6, 17, 29, 0.14);
  box-shadow: -30px 0 80px rgba(6, 17, 29, 0.22);
}

.crays-nostr-drawer__close {
  position: sticky;
  top: 14px;
  justify-self: end;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin: 14px 16px 0 0;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  cursor: pointer;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.crays-nostr-contribution-form-shell,
.crays-nostr-inline-product-form {
  padding: clamp(22px, 4vw, 38px);
}

.crays-nostr-contribution-form-shell h2,
.crays-nostr-inline-product-form h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-contribution-form-shell > p,
.crays-nostr-inline-product-form > p {
  color: var(--nostr-hub-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.crays-nostr-signer-note {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  border: 1px solid rgba(255, 21, 80, 0.25);
  border-left: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff7fa;
  padding: 12px 14px;
}

.crays-nostr-signer-note strong {
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
}

.crays-nostr-signer-note span {
  color: var(--nostr-hub-soft);
  font-size: 13px;
  font-weight: 800;
}

.crays-nostr-contribution-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.crays-nostr-contribution-form label {
  display: grid;
  gap: 7px;
  color: var(--nostr-hub-soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-contribution-form label:has(textarea),
.crays-nostr-contribution-form .crays-nostr-checkline,
.crays-nostr-contribution-actions,
.crays-nostr-form-status {
  grid-column: 1 / -1;
}

.crays-nostr-contribution-form input,
.crays-nostr-contribution-form textarea,
.crays-nostr-contribution-form select {
  width: 100%;
  border: 1px solid rgba(6, 17, 29, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink);
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.crays-nostr-contribution-form textarea {
  min-height: 118px;
  resize: vertical;
}

.crays-nostr-checkline {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 10px 12px;
}

.crays-nostr-checkline input {
  width: auto;
}

.crays-nostr-contribution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.crays-nostr-contribution-actions button,
.crays-nostr-board-head button,
.crays-nostr-moderation-actions button {
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 8px;
  background: var(--nostr-hub-ink);
  color: #fff;
  cursor: pointer;
  padding: 12px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.crays-nostr-contribution-actions button + button,
.crays-nostr-board-head button + button,
.crays-nostr-moderation-actions button + button {
  background: #fff;
  color: var(--nostr-hub-ink);
}

.crays-nostr-form-status {
  margin: 0;
  color: var(--nostr-hub-muted);
  font-size: 12px;
  font-weight: 800;
}

.crays-nostr-product-surface {
  margin: 22px 0 30px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(6, 17, 29, 0.06);
}

.crays-nostr-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  padding: clamp(16px, 2.4vw, 24px);
}

.crays-nostr-board-head h2 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(16px, 2.4vw, 24px);
}

.crays-nostr-product-object-card,
.crays-nostr-moderation-item {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  color: var(--nostr-hub-ink);
  padding: 15px;
}

.crays-nostr-product-object-card h3,
.crays-nostr-moderation-item h3 {
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  line-height: 1.1;
}

.crays-nostr-product-object-card p,
.crays-nostr-moderation-item p {
  margin: 0;
  color: var(--nostr-hub-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.42;
}

.crays-nostr-product-object-card a {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.crays-nostr-status-pill {
  justify-self: start;
  border: 1px solid rgba(255, 21, 80, 0.32);
  border-radius: 999px;
  background: #fff;
  color: var(--nostr-hub-red) !important;
  padding: 5px 9px;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase;
}

.crays-nostr-moderation-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin: 12px clamp(16px, 2.4vw, 24px);
}

.crays-nostr-moderation-item.is-reviewed {
  opacity: 0.68;
}

.crays-nostr-moderation-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.crays-nostr-empty-state {
  margin: 0;
  padding: clamp(16px, 2.4vw, 24px);
  color: var(--nostr-hub-muted);
  font-size: 14px;
  font-weight: 800;
}

.crays-nostr-thread-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 210px;
  gap: 0;
  margin: 46px 0;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 17, 29, 0.07);
  overflow: hidden;
}

.crays-nostr-thread-votes {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 5px;
  border-right: 1px solid rgba(6, 17, 29, 0.08);
  background: #f6f8f9;
  padding: 14px 8px;
}

.crays-nostr-thread-votes button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(6, 17, 29, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--nostr-hub-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.crays-nostr-thread-votes strong {
  color: var(--nostr-hub-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.crays-nostr-thread-main {
  padding: 18px 18px 16px;
}

.crays-nostr-thread-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 7px;
  color: var(--nostr-hub-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.crays-nostr-thread-meta a {
  color: var(--nostr-hub-ink);
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-thread-meta span::before {
  content: "/";
  margin-right: 8px;
  color: rgba(6, 17, 29, 0.26);
}

.crays-nostr-thread-card h3 {
  margin: 0 0 7px;
  color: var(--nostr-hub-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.crays-nostr-thread-card p {
  margin: 0 0 12px;
  color: var(--nostr-hub-soft);
  font-size: 14px;
  line-height: 1.45;
}

.crays-nostr-thread-composer {
  display: block;
  border: 1px solid rgba(6, 17, 29, 0.13);
  border-radius: 8px;
  background: #f7fafb;
  color: var(--nostr-hub-soft);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.crays-nostr-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.crays-nostr-thread-actions a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--nostr-hub-muted);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.crays-nostr-thread-actions a:hover {
  border-color: rgba(6, 17, 29, 0.12);
  background: #f2f5f6;
  color: var(--nostr-hub-ink);
}

.crays-nostr-thread-side {
  display: grid;
  align-content: start;
  gap: 7px;
  border-left: 1px solid rgba(6, 17, 29, 0.08);
  background: #fbfcfd;
  padding: 18px;
}

.crays-nostr-thread-side strong {
  color: var(--nostr-hub-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.crays-nostr-thread-side span {
  color: var(--nostr-hub-soft);
  font-size: 12px;
  line-height: 1.4;
}

.crays-nostr-thread-side a {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  :root {
    --nostr-nav-gap: 15px;
  }

  .crays-nostr-hub-body .crays-article-header__inner {
    width: min(100% - 24px, 1180px);
    margin: 0 12px;
    gap: 14px;
  }

  .crays-nostr-hub-body .crays-article-logo {
    flex-basis: 132px;
    width: 132px;
  }

  .crays-nostr-hub-body .crays-article-logo img {
    width: 132px;
  }

  .crays-nostr-hub-body .crays-article-site-nav {
    margin-left: 6px;
  }

  .crays-nostr-hub-body .crays-article-site-nav a {
    font-size: 11px;
  }

  .crays-nostr-hub-body .crays-article-header-cta {
    min-width: 0;
    padding: 0 14px;
    font-size: 10.5px;
  }

  .crays-nostr-route-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .crays-nostr-route-card,
  .crays-nostr-route-card:last-child {
    border: 1px solid rgba(6, 17, 29, 0.1);
    border-radius: 8px;
  }

  .crays-nostr-hub-hero .crays-article-hero__grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 38px;
  }

  .crays-nostr-start-hero__grid,
  .crays-nostr-basics-hero .crays-article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .crays-nostr-start-mental-model ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-start-dock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crays-nostr-start-world-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crays-nostr-route-hub-hero__grid,
  .crays-nostr-hub-signature__grid,
  .crays-nostr-apps-command,
  .crays-nostr-apps-guide__intro,
  .crays-nostr-apps-quality__grid,
  .crays-nostr-hub-contribution__grid,
  .crays-nostr-basics-first-run,
  .crays-nostr-basics-mental-model {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-hub-path-grid,
  .crays-nostr-hub-route-groups,
  .crays-nostr-hub-shelf-grid,
  .crays-nostr-hub-signature__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-hub-signature__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-apps-guide__grid,
  .crays-nostr-apps-reading-grid,
  .crays-nostr-apps-shelf-grid,
  .crays-nostr-media-video-grid,
  .crays-nostr-media-article-grid,
  .crays-nostr-media-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-apps-guide__grid a:nth-child(4n) {
    border-right: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-guide__grid a:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-apps-guide__grid a:nth-last-child(-n + 4) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-guide__grid a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .crays-nostr-apps-shelf-card {
    border-right: 1px solid rgba(6, 17, 29, 0.1);
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-shelf-card:nth-child(2n),
  .crays-nostr-apps-shelf-card:last-child {
    border-right: 0;
  }

  .crays-nostr-apps-shelf-card:last-child {
    border-bottom: 0;
  }

  .crays-nostr-apps-reading-grid a:nth-child(3n) {
    border-right: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-reading-grid a:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-apps-reading-grid a:nth-last-child(-n + 3) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-reading-grid a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .crays-nostr-hub-signature__tiles a:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-basics-terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-basics-terms a:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-basics-terms a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }
}

@media (max-width: 980px) {
  .crays-nostr-hub-body .crays-article-header-actions {
    display: none;
  }

  .crays-nostr-hub-hero .crays-article-hero__grid,
  .crays-nostr-start-orientation,
  .crays-nostr-start-contribute,
  .crays-nostr-route-board__top,
  .crays-nostr-learning-compass,
  .crays-nostr-learning-compass__actions,
  .crays-nostr-context-actions__lanes,
  .crays-nostr-hub-body .crays-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-hub-body .crays-article-content,
  .crays-nostr-hub-body .crays-article-toc {
    grid-column: auto;
  }

  .crays-nostr-hero-visual {
    min-height: 360px;
  }

  .crays-nostr-route-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-route-group,
  .crays-nostr-route-group:last-child {
    border-right: 0;
    border-top: 1px solid rgba(6, 17, 29, 0.08);
  }

  .crays-nostr-route-group:first-child {
    border-top: 0;
  }

  .crays-nostr-atlas-routes {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-route-directory__shelves,
  .crays-nostr-route-directory__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-hub-body .crays-article-toc {
    order: -1;
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 18px;
    max-height: none;
    overflow: visible;
    border-top: 4px solid var(--nostr-hub-red);
    background: #fff;
    padding: 16px 18px;
  }

  .crays-nostr-hub-body .crays-article-toc p {
    grid-column: 1 / -1;
  }

  .crays-nostr-learning-compass {
    margin-top: -12px;
  }

  .crays-nostr-learning-compass__next {
    grid-column: auto;
  }

  .crays-nostr-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-stock-scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-stock-scenes figure:first-child {
    grid-column: auto;
  }

  .crays-nostr-start-dock {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-start-dock section,
  .crays-nostr-start-dock section:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-start-dock section:last-child {
    border-bottom: 0;
  }

  .crays-nostr-start-world-grid,
  .crays-nostr-start-contribute nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-start-image-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 118px;
  }

  .crays-nostr-start-image-band figure.is-wide,
  .crays-nostr-start-image-band figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .crays-nostr-route-hub-hero {
    min-height: calc(100svh - 64px);
  }

  .crays-nostr-route-hub-hero__grid {
    padding: 54px 0 46px;
  }

  .crays-nostr-route-hub-hero__panel dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-apps-command__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-apps-quality__checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-apps-quality__checks a:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-apps-quality__checks a:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .crays-nostr-hub-image-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
  }

  .crays-nostr-hub-contribution nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-media-source-grid article:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-media-source-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }
}

@media (max-width: 720px) {
  :root {
    --nostr-type-h1: clamp(38px, 11vw, 50px);
    --nostr-type-h2: 29px;
    --nostr-type-h3: 22px;
    --nostr-hub-page-h1: clamp(44px, 13vw, 64px);
    --nostr-hub-page-h2: clamp(30px, 10vw, 44px);
    --nostr-hub-page-h3: clamp(23px, 8vw, 30px);
    --nostr-type-lead: 16px;
    --nostr-type-body: 16px;
    --nostr-line-body: 1.74;
    --nostr-nav-gap: 18px;
  }

  .crays-nostr-hub-body .crays-article-shell,
  .crays-nostr-hub-body .crays-article-reader-shell {
    width: min(100% - 32px, 1160px);
  }

  .crays-nostr-hub-body .crays-article-header__inner {
    width: calc(100% - 24px);
    margin: 0 12px;
    min-height: 0;
    flex-wrap: wrap;
    row-gap: 0;
    overflow: visible;
    padding-top: 8px;
  }

  .crays-nostr-hub-body .crays-article-logo {
    flex-basis: 116px;
    width: 116px;
  }

  .crays-nostr-hub-body .crays-article-logo img {
    width: 116px;
  }

  .crays-nostr-hub-body .crays-article-main {
    padding: 42px 0 58px;
  }

  .crays-nostr-hub-body .crays-article-site-nav {
    order: 3;
    flex: 1 1 auto;
    min-width: 0;
    flex-basis: 100%;
    max-width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    row-gap: 2px;
    overflow-x: visible;
    scrollbar-width: none;
  }

  .crays-nostr-hub-body .crays-article-site-nav::-webkit-scrollbar {
    display: none;
  }

  .crays-nostr-hub-body .crays-article-site-nav a {
    flex: 0 0 auto;
    min-height: 42px;
    font-size: 11px;
    white-space: nowrap;
  }

  .crays-nostr-hub-body .crays-article-site-nav a[aria-current="page"]::after {
    bottom: 7px;
  }

  .crays-nostr-hub-body .crays-article-header-actions {
    margin-left: auto;
  }

  .crays-nostr-hub-hero .crays-article-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 44px 0 56px;
    gap: 28px;
  }

  .crays-nostr-hub-body .crays-article-hero__copy,
  .crays-nostr-hub-body .crays-article-deck,
  .crays-nostr-hero-visual,
  .crays-nostr-hero-signal {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .crays-nostr-start-hero__grid {
    min-height: calc(100svh - 64px);
    padding: 42px 0;
  }

  .crays-nostr-start-hero__copy h1 {
    font-size: var(--nostr-hub-page-h1);
  }

  .crays-nostr-start-hero__lead {
    font-size: 17px;
    line-height: 1.58;
  }

  .crays-nostr-start-hero__actions a {
    width: 100%;
  }

  .crays-nostr-media-video-grid,
  .crays-nostr-media-article-grid,
  .crays-nostr-media-source-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-crays-project-page .crays-nostr-apps-reading-grid,
  .crays-nostr-crays-seeking-grid,
  .crays-nostr-crays-next-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-crays-seeking-grid a,
  .crays-nostr-crays-seeking-grid a:nth-child(3n),
  .crays-nostr-crays-seeking-grid a:nth-last-child(-n + 3),
  .crays-nostr-crays-next-grid a,
  .crays-nostr-crays-next-grid a:nth-child(3n),
  .crays-nostr-crays-next-grid a:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-crays-seeking-grid a:last-child,
  .crays-nostr-crays-next-grid a:last-child {
    border-bottom: 0;
  }

  .crays-nostr-media-source-grid article,
  .crays-nostr-media-source-grid article:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-media-source-grid article:last-child {
    border-bottom: 0;
  }

  .crays-nostr-start-mental-model ol,
  .crays-nostr-start-world-grid,
  .crays-nostr-start-contribute nav,
  .crays-nostr-basics-first-run ol,
  .crays-nostr-basics-terms {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-start-hero__dock {
    padding-bottom: 30px;
  }

  .crays-nostr-start-image-band {
    padding: 22px 0;
  }

  .crays-nostr-start-image-band--mid {
    margin-top: 30px;
  }

  .crays-nostr-start-image-band__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .crays-nostr-start-orientation,
  .crays-nostr-start-contribute,
  .crays-nostr-basics-first-run,
  .crays-nostr-basics-mental-model {
    padding: 20px;
  }

  .crays-nostr-start-world-card,
  .crays-nostr-start-contribute a,
  .crays-nostr-basics-first-run li,
  .crays-nostr-basics-terms a {
    min-height: 0;
  }

  .crays-nostr-basics-terms a,
  .crays-nostr-basics-terms a:nth-child(2n),
  .crays-nostr-basics-terms a:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-basics-terms a:last-child {
    border-bottom: 0;
  }

  .crays-nostr-route-hub-hero__copy h1 {
    font-size: var(--nostr-hub-page-h1);
  }

  .crays-nostr-people-hero .crays-nostr-route-hub-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.5vw, 52px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .crays-nostr-people-hero .crays-nostr-route-hub-hero__grid {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  .crays-nostr-people-hero .crays-nostr-route-hub-hero__copy,
  .crays-nostr-people-hero .crays-nostr-route-hub-hero__panel {
    max-width: 100%;
    min-width: 0;
  }

  .crays-nostr-people-hero .crays-nostr-route-hub-hero__copy > p:not(.crays-nostr-live-kicker) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .crays-nostr-media-hero .crays-nostr-route-hub-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 52px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .crays-nostr-media-hero .crays-nostr-route-hub-hero__grid {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    margin-right: auto;
    margin-left: auto;
  }

  .crays-nostr-media-hero .crays-nostr-route-hub-hero__copy > p:not(.crays-nostr-live-kicker) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .crays-nostr-route-hub-hero__copy > p:not(.crays-nostr-live-kicker),
  .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker),
  .crays-nostr-hub-signature__copy p,
  .crays-nostr-hub-contribution p {
    font-size: 17px;
    line-height: 1.58;
  }

  .crays-nostr-route-hub-hero__actions a,
  .crays-nostr-hub-guide-link {
    width: 100%;
  }

  .crays-nostr-hub-section {
    padding: 42px 0;
  }

  .crays-nostr-hub-path-grid,
  .crays-nostr-hub-route-groups,
  .crays-nostr-hub-shelf-grid,
  .crays-nostr-hub-signature__cards,
  .crays-nostr-apps-guide__grid,
  .crays-nostr-apps-reading-grid,
  .crays-nostr-apps-shelf-grid,
  .crays-nostr-hub-signature__tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-apps-command__copy,
  .crays-nostr-apps-quality__copy {
    padding: 20px;
  }

  .crays-nostr-apps-command__copy h2,
  .crays-nostr-apps-quality__copy h2 {
    line-height: 1.03;
  }

  .crays-nostr-apps-command__stats,
  .crays-nostr-apps-quality__checks {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-apps-command__image,
  .crays-nostr-apps-command__image img,
  .crays-nostr-apps-guide__image,
  .crays-nostr-apps-guide__image img {
    min-height: 250px;
  }

  .crays-nostr-apps-guide__grid a,
  .crays-nostr-apps-guide__grid a:nth-child(2n),
  .crays-nostr-apps-guide__grid a:nth-child(4n),
  .crays-nostr-apps-guide__grid a:nth-last-child(-n + 2),
  .crays-nostr-apps-guide__grid a:nth-last-child(-n + 4) {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-guide__grid a:last-child {
    border-bottom: 0;
  }

  .crays-nostr-apps-reading-grid a,
  .crays-nostr-apps-reading-grid a:nth-child(2n),
  .crays-nostr-apps-reading-grid a:nth-child(3n),
  .crays-nostr-apps-reading-grid a:nth-last-child(-n + 2),
  .crays-nostr-apps-reading-grid a:nth-last-child(-n + 3) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-reading-grid a:last-child {
    border-bottom: 0;
  }

  .crays-nostr-apps-shelf-card,
  .crays-nostr-apps-shelf-card:nth-child(2n),
  .crays-nostr-apps-shelf-card:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-apps-shelf-card:last-child {
    border-bottom: 0;
  }

  .crays-nostr-apps-quality__checks a,
  .crays-nostr-apps-quality__checks a:nth-child(2n),
  .crays-nostr-apps-quality__checks a:nth-child(-n + 2),
  .crays-nostr-apps-quality__checks a:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .crays-nostr-apps-quality__checks a:last-child {
    border-bottom: 0;
  }

  .crays-nostr-apps-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .crays-nostr-apps-ecosystem-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .crays-nostr-apps-ecosystem-nav a {
    justify-content: center;
    min-height: 40px;
    padding: 8px;
    text-align: center;
  }

  .crays-nostr-apps-ecosystem-map {
    gap: 32px;
  }

  .crays-nostr-apps-ecosystem-group__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .crays-nostr-apps-ecosystem-group__head > strong {
    justify-self: start;
    min-width: 42px;
    height: 34px;
  }

  .crays-nostr-apps-icon-card {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 62px;
    padding: 8px;
  }

  .crays-nostr-apps-icon-card img,
  .crays-nostr-apps-icon-card .crays-nostr-apps-icon-fallback {
    width: 36px;
    height: 36px;
  }

  .crays-nostr-hub-signature__tiles a,
  .crays-nostr-hub-signature__tiles a:nth-child(2n),
  .crays-nostr-hub-signature__tiles a:last-child {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-hub-signature__tiles a:last-child {
    border-bottom: 0;
  }

  .crays-nostr-hub-image-band__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .crays-nostr-hub-signature__copy,
  .crays-nostr-route-hub-hero__panel,
  .crays-nostr-hub-path-card,
  .crays-nostr-hub-route-groups section,
  .crays-nostr-hub-shelf-card,
  .crays-nostr-hub-signature__cards a,
  .crays-nostr-hub-contribution nav a {
    min-height: 0;
  }

  .crays-nostr-media-hero .crays-nostr-route-hub-hero__panel {
    width: 100%;
    max-width: 100%;
    padding: 22px;
  }

  .crays-nostr-media-hero .crays-nostr-apps-hero-panel li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .crays-nostr-media-hero .crays-nostr-apps-hero-panel li span {
    grid-row: auto;
  }

  .crays-nostr-media-hero .crays-nostr-apps-hero-panel li strong {
    font-size: clamp(19px, 6vw, 23px);
  }

  .crays-nostr-media-hero .crays-nostr-apps-hero-panel li small {
    max-width: none;
    overflow-wrap: anywhere;
  }

  .crays-nostr-hub-body .crays-article-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 11vw, 50px);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .crays-nostr-hub-body .crays-article-deck {
    font-size: var(--nostr-type-lead);
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .crays-nostr-hero-visual {
    width: 100%;
    max-width: 100%;
    min-height: 310px;
  }

  .crays-nostr-hero-visual figure {
    inset: 0 0 76px 0;
  }

  .crays-nostr-hero-signal {
    left: 0;
    right: 0;
    bottom: 20px;
  }

  .crays-nostr-hero-pins {
    top: 14px;
  }

  .crays-nostr-hero-avatar {
    top: 16px;
    right: 18px;
    width: 56px;
    height: 56px;
    padding: 6px;
  }

  .crays-nostr-route-cards,
  .crays-nostr-visual-rail,
  .crays-nostr-hub-grid,
  .crays-nostr-source-grid,
  .crays-nostr-stock-scenes,
  .crays-nostr-related__links,
  .crays-nostr-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-review-form,
  .crays-nostr-project-form,
  .crays-nostr-quick-composer,
  .crays-nostr-community-actions,
  .crays-nostr-community-feed-model,
  .crays-nostr-pill-grid,
  .crays-nostr-community-panel__grid,
  .crays-nostr-product-hero,
  .crays-nostr-product-layout,
  .crays-nostr-product-composer form,
  .crays-nostr-product-feed-card,
  .crays-nostr-page-community-entry,
  .crays-nostr-page-community-entry nav,
  .crays-nostr-hub-contribution__grid,
  .crays-nostr-hub-contribution__composer,
  .crays-nostr-learning-compass,
  .crays-nostr-learning-compass__actions,
  .crays-nostr-learning-compass__next div,
  .crays-nostr-next-steps__grid,
  .crays-nostr-next-steps__paths div,
  .crays-nostr-context-actions,
  .crays-nostr-context-actions__lanes,
  .crays-nostr-context-actions nav,
  .crays-nostr-page-community-summary,
  .crays-nostr-contribution-form,
  .crays-nostr-object-grid,
  .crays-nostr-moderation-item,
  .crays-nostr-thread-card,
  .crays-nostr-inline-form > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-auth-grid button,
  .crays-nostr-auth-actions button,
  .crays-nostr-review-tools button,
  .crays-nostr-review-form button,
  .crays-nostr-inline-form button,
  .crays-nostr-mini-form button,
  .crays-nostr-quick-composer button,
  .crays-nostr-product-composer button {
    width: 100%;
  }

  .crays-nostr-product-nav a {
    flex: 1 1 140px;
    justify-content: center;
  }

  .crays-nostr-product-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-product-composer textarea,
  .crays-nostr-product-composer button,
  .crays-nostr-product-composer output,
  .crays-nostr-hub-contribution__composer label:has(textarea),
  .crays-nostr-hub-contribution__composer button,
  .crays-nostr-hub-contribution__composer output,
  .crays-nostr-page-community-entry nav a:last-child,
  .crays-nostr-context-actions nav a[data-contribution-action="source"],
  .crays-nostr-context-actions nav a[href*="type=source"],
  .crays-nostr-context-actions nav a[data-contribution-action="correction"],
  .crays-nostr-context-actions nav a[href*="type=correction"],
  .crays-nostr-context-actions nav[aria-label="Core contribution actions"] a[data-contribution-action="relation"] {
    grid-column: auto;
    grid-row: auto;
  }

  .crays-nostr-contribution-actions,
  .crays-nostr-moderation-actions {
    width: 100%;
  }

  .crays-nostr-contribution-actions button,
  .crays-nostr-board-head button,
  .crays-nostr-moderation-actions button {
    width: 100%;
  }

  .crays-nostr-drawer__panel {
    width: min(100%, 520px);
  }

  .crays-nostr-contribution-form-shell,
  .crays-nostr-inline-product-form {
    padding: 22px;
  }

  .crays-nostr-product-community-list,
  .crays-nostr-product-pipeline {
    max-height: none;
    overflow: visible;
  }

  .crays-nostr-product-feed-votes,
  .crays-nostr-thread-votes {
    grid-template-columns: auto auto auto;
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 17, 29, 0.08);
    padding: 12px 14px;
  }

  .crays-nostr-thread-side {
    border-left: 0;
    border-top: 1px solid rgba(6, 17, 29, 0.08);
  }

  .crays-nostr-stock-scenes figure,
  .crays-nostr-stock-scenes figure:first-child {
    grid-column: auto;
    height: 180px;
    min-height: 0;
  }

  .crays-nostr-route-board__inner {
    padding: 24px 0 28px;
  }

  .crays-nostr-route-directory > summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .crays-nostr-route-directory__shelf div {
    columns: 1;
  }

  .crays-nostr-article-masthead {
    padding: 22px;
  }

  .crays-nostr-hub-body .crays-article-content .crays-nostr-article-masthead__title {
    font-size: clamp(34px, 10vw, 44px);
    overflow-wrap: anywhere;
  }

  .crays-nostr-hub-body .crays-article-content .crays-nostr-article-masthead__deck {
    font-size: 16px;
  }

  .crays-nostr-hub-body .crays-article-content > p:first-child,
  .crays-nostr-hub-body .crays-nostr-article-masthead + p {
    font-size: 19px;
    line-height: 1.5;
  }

  .crays-nostr-hub-body .crays-article-content p {
    font-size: var(--nostr-type-body);
  }

  .crays-nostr-hub-body .crays-article-content h2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    font-size: var(--nostr-type-h2);
  }

  .crays-nostr-hub-body .crays-article-content h2::before {
    width: 38px;
    height: 38px;
  }

  .crays-nostr-index-shelf div {
    columns: 1;
  }

  .crays-nostr-global-atlas > summary {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .crays-nostr-atlas-route > summary {
    grid-template-columns: 34px 52px minmax(0, 1fr);
  }

  .crays-nostr-atlas-thumb {
    width: 52px;
    height: 40px;
  }

  .crays-nostr-global-atlas > summary small {
    grid-column: 2;
  }

  .crays-nostr-atlas-route > summary small {
    grid-column: 3;
  }

  .crays-nostr-atlas-shelf div {
    columns: 1;
  }

  .crays-nostr-hub-body .legal-footer-inner {
    width: min(100% - 32px, 1540px);
    padding: 42px 0 24px;
  }

  .crays-nostr-hub-body .legal-footer-top,
  .crays-nostr-hub-body .legal-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .crays-nostr-hub-body .legal-footer-social {
    flex-direction: row;
  }

  .crays-nostr-hub-body .legal-footer-main-nav {
    gap: 9px 16px;
  }

  .crays-nostr-hub-body .crays-consent-footer-slot {
    justify-content: flex-start;
  }
}

.crays-nostr-context-actions.crays-nostr-context-actions--start-style {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  margin-top: clamp(38px, 5vw, 70px);
  margin-bottom: clamp(38px, 5vw, 70px);
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-top: 4px solid var(--nostr-hub-red);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 18px 54px rgba(6, 17, 29, 0.06);
}

.crays-nostr-context-actions--start-style .crays-nostr-page-community-summary,
.crays-nostr-context-actions--start-style .crays-nostr-context-actions__lanes h4 {
  display: none;
}

.crays-nostr-context-actions--start-style > div > .crays-nostr-live-kicker {
  color: var(--nostr-hub-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-context-actions--start-style h2,
.crays-nostr-context-actions--start-style h3 {
  max-width: 880px;
  margin: 0;
  color: var(--nostr-hub-ink);
  font-size: var(--nostr-hub-page-h2);
  font-weight: 900;
  line-height: 1.03;
}

.crays-nostr-context-actions--start-style > div > p:last-child {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--nostr-hub-soft);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 650;
  line-height: 1.62;
}

.crays-nostr-context-actions--start-style nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-context-actions--start-style nav a {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 132px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  padding: 18px;
  text-decoration: none;
}

.crays-nostr-context-actions--start-style nav a:hover {
  border-color: rgba(255, 21, 80, 0.5);
  background: #fff;
  box-shadow: 0 16px 42px rgba(6, 17, 29, 0.08);
  transform: translateY(-1px);
}

.crays-nostr-context-actions--start-style nav strong {
  color: var(--nostr-hub-ink);
  font-size: inherit;
  font-weight: 900;
  line-height: 1.16;
  text-transform: none;
}

.crays-nostr-context-actions--start-style nav span {
  color: var(--nostr-hub-soft);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.crays-nostr-page-closeout {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.035) 1px, transparent 1px),
    #f7f9fb;
  background-size: 96px 96px;
}

.crays-nostr-page-closeout .crays-article-shell {
  width: min(100%, 1560px);
}

.crays-nostr-page-closeout .crays-nostr-page-closeout-collage {
  margin: 0;
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
  padding: clamp(42px, 4.8vw, 72px) 0;
}

.crays-nostr-page-closeout-collage {
  margin: 0;
  background: linear-gradient(180deg, #04111b 0%, #071827 100%);
  padding: clamp(42px, 4.8vw, 72px) 0;
}

.crays-nostr-page-closeout-collage .crays-nostr-hub-image-band__grid {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.crays-nostr-page-closeout-collage .crays-nostr-hub-image-band__grid figure {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.crays-nostr-page-closeout .crays-nostr-page-closeout-collage + .crays-article-shell,
.crays-nostr-page-closeout .crays-nostr-page-closeout-collage + .crays-article-shell.crays-nostr-hub-context-wrap {
  margin-top: clamp(42px, 5vw, 78px);
}

.crays-nostr-page-closeout-collage + .crays-article-shell,
.crays-nostr-page-closeout-collage + .crays-article-shell.crays-nostr-hub-context-wrap,
.crays-nostr-page-closeout-collage + .crays-nostr-context-actions {
  margin-top: clamp(42px, 5vw, 78px);
}

.crays-nostr-page-closeout .crays-nostr-page-closeout-collage--contribution {
  margin-top: clamp(42px, 5vw, 76px);
}

.crays-nostr-page-closeout .crays-nostr-hub-image-band__grid {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.crays-nostr-page-closeout .crays-nostr-hub-image-band__grid figure {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.crays-nostr-page-closeout .crays-nostr-start-how {
  margin-top: 0;
  margin-bottom: 0;
}

.crays-nostr-page-closeout .crays-nostr-start-dock {
  margin-top: 16px;
}

.crays-nostr-page-closeout .crays-nostr-start-dock a {
  text-wrap: balance;
}

.crays-nostr-page-closeout .crays-nostr-route-directory {
  width: 100%;
  margin-top: clamp(22px, 3vw, 34px);
}

.crays-nostr-page-closeout .crays-nostr-route-directory summary {
  grid-template-columns: auto minmax(180px, 1fr) minmax(180px, auto) auto;
}

.crays-nostr-page-closeout .crays-nostr-route-directory__body {
  max-height: min(52vh, 620px);
  overflow: auto;
  overscroll-behavior: contain;
}

.crays-nostr-page-closeout .crays-nostr-hub-context-wrap {
  margin-bottom: clamp(52px, 6vw, 88px);
}

.crays-nostr-page-closeout .crays-nostr-context-actions.crays-nostr-context-actions--start-style {
  margin-top: 0;
  margin-bottom: 0;
}

.crays-nostr-page-closeout + .legal-footer,
.crays-nostr-hub-body .crays-nostr-page-closeout + .legal-footer {
  margin-top: 0;
}

.crays-nostr-page-closeout + .legal-footer .legal-footer-inner,
.crays-nostr-hub-body .crays-nostr-page-closeout + .legal-footer .legal-footer-inner {
  padding-top: clamp(52px, 6vw, 82px);
}

.crays-nostr-page-closeout .crays-nostr-route-directory:not([open]) + .crays-nostr-start-dock {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .crays-nostr-context-actions.crays-nostr-context-actions--start-style {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-page-closeout .crays-nostr-route-directory summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .crays-nostr-page-closeout .crays-nostr-route-directory summary strong,
  .crays-nostr-page-closeout .crays-nostr-route-directory summary small {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .crays-nostr-context-actions--start-style nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-page-closeout .crays-nostr-page-closeout-collage {
    padding: 30px 0;
  }

  .crays-nostr-page-closeout-collage {
    padding: 30px 0;
  }

  .crays-nostr-page-closeout .crays-nostr-hub-image-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .crays-nostr-page-closeout-collage .crays-nostr-hub-image-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .crays-nostr-page-closeout .crays-nostr-hub-image-band__grid figure:nth-child(n + 5) {
    display: none;
  }

  .crays-nostr-page-closeout-collage .crays-nostr-hub-image-band__grid figure:nth-child(n + 5) {
    display: none;
  }

  .crays-nostr-page-closeout .crays-nostr-page-closeout-collage + .crays-article-shell,
  .crays-nostr-page-closeout .crays-nostr-page-closeout-collage + .crays-article-shell.crays-nostr-hub-context-wrap {
    margin-top: 30px;
  }

  .crays-nostr-page-closeout-collage + .crays-article-shell,
  .crays-nostr-page-closeout-collage + .crays-article-shell.crays-nostr-hub-context-wrap,
  .crays-nostr-page-closeout-collage + .crays-nostr-context-actions {
    margin-top: 30px;
  }

  .crays-nostr-page-closeout .crays-nostr-page-closeout-collage--contribution {
    margin-top: 32px;
  }

  .crays-nostr-page-closeout .crays-nostr-route-directory__body {
    max-height: 56vh;
  }
}

@media (max-width: 1120px) {
  .crays-nostr-library-search-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-library-route-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crays-nostr-library-route-card:nth-child(4n) {
    border-right: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-library-route-card:nth-child(3n) {
    border-right: 0;
  }

  .crays-nostr-library-route-card:nth-last-child(-n + 4) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }
}

@media (max-width: 900px) {
  .crays-nostr-library-stats,
  .crays-nostr-library-route-matrix,
  .crays-nostr-library-tool-grid,
  .crays-nostr-library-wiki-grid,
  .crays-nostr-library-archive-route .crays-nostr-atlas-shelves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-library-route-card:nth-child(3n),
  .crays-nostr-library-tool-card:nth-child(3n),
  .crays-nostr-library-wiki-grid article:nth-child(3n) {
    border-right: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-library-route-card:nth-child(2n),
  .crays-nostr-library-tool-card:nth-child(2n),
  .crays-nostr-library-wiki-grid article:nth-child(2n) {
    border-right: 0;
  }

  .crays-nostr-library-review-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .crays-nostr-library-hero-panel li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .crays-nostr-library-stats,
  .crays-nostr-library-route-matrix,
  .crays-nostr-library-tool-grid,
  .crays-nostr-library-wiki-grid,
  .crays-nostr-library-index-tools,
  .crays-nostr-library-archive-route .crays-nostr-atlas-shelves {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-library-route-card,
  .crays-nostr-library-tool-card,
  .crays-nostr-library-wiki-grid article {
    min-height: auto;
    border-right: 0 !important;
  }

  .crays-nostr-library-route-card:nth-last-child(-n + 4),
  .crays-nostr-library-tool-card:nth-last-child(-n + 3),
  .crays-nostr-library-wiki-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-library-route-card:last-child,
  .crays-nostr-library-tool-card:last-child,
  .crays-nostr-library-wiki-grid article:last-child {
    border-bottom: 0;
  }

  .crays-nostr-library-finder__results {
    left: 10px;
    right: 10px;
  }

  .crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline > summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline > summary small {
    justify-items: start;
  }

  .crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline > summary small em {
    max-width: none;
    text-align: left;
  }

  .crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline .crays-nostr-route-directory__action,
  .crays-nostr-start-orientation > .crays-nostr-route-directory--start-inline .crays-nostr-route-directory__toggle {
    justify-self: start;
  }
}

@media (max-width: 1180px) {
  .crays-nostr-people-creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-person-profile-hero .crays-article-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-media-atlas-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-youtube-grid,
  .crays-nostr-article-atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-media-atlas-nav .crays-article-shell {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .crays-nostr-people-creator-grid,
  .crays-nostr-person-fact-grid,
  .crays-nostr-capital-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-people-feature-card {
    min-height: auto;
  }

  .crays-nostr-people-section-link {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-people-section-link::after {
    width: 42px;
    height: 42px;
  }

  .crays-nostr-person-profile-card {
    padding: 22px;
  }

  .crays-nostr-media-section-head {
    display: block;
  }

  .crays-nostr-media-section-footer a {
    align-items: start;
    grid-template-areas:
      "title"
      "copy"
      "arrow";
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .crays-nostr-media-section-footer a::after {
    margin-top: 10px;
  }

  .crays-nostr-media-atlas-hero {
    padding: 70px 0 62px;
  }

  .crays-nostr-media-atlas-hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .crays-nostr-media-atlas-hero p:not(.crays-nostr-live-kicker) {
    font-size: 17px;
  }

  .crays-nostr-media-atlas-actions a {
    width: 100%;
  }

  .crays-nostr-media-atlas-nav {
    position: static;
  }

  .crays-nostr-media-atlas-nav .crays-article-shell,
  .crays-nostr-youtube-grid,
  .crays-nostr-article-atlas-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .crays-nostr-media-atlas-nav a {
    min-height: 64px;
    border-left: 1px solid rgba(6, 17, 29, 0.09);
  }

  .crays-nostr-media-topic {
    padding: 58px 0;
  }

  .crays-nostr-youtube-card h3,
  .crays-nostr-article-atlas-card h3 {
    font-size: 19px;
  }
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] {
  position: sticky;
  top: 74px;
  z-index: 18;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.025) 1px, transparent 1px),
    #fbfcfd;
  background-size: 96px 96px;
  box-shadow: 0 12px 34px rgba(6, 17, 29, 0.08);
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-board__inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) minmax(220px, max-content);
  gap: 12px;
  align-items: center;
  padding: 14px 0 16px;
}

body.crays-nostr-area-apps .crays-nostr-parent-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(243, 18, 72, 0.38);
  border-radius: 999px;
  background: var(--nostr-hub-red);
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body.crays-nostr-area-apps .crays-nostr-parent-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

body.crays-nostr-area-apps .crays-nostr-parent-link:hover,
body.crays-nostr-area-apps .crays-nostr-parent-link:focus-visible {
  background: #06111d;
  color: #fff;
  outline: none;
}

body.crays-nostr-area-apps .crays-nostr-parent-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(243, 18, 72, 0.18);
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-board__top,
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-cards,
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-visual-rail {
  display: none;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-groups {
  display: block;
  min-width: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group {
  display: none;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child strong {
  flex: 0 0 auto;
  color: var(--nostr-hub-ink);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  min-width: 0;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a {
  display: none;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px 11px;
  color: rgba(6, 17, 29, 0.74);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a:nth-of-type(1),
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a:nth-of-type(2),
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a:nth-of-type(3),
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a:nth-of-type(7),
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a:nth-of-type(8) {
  display: inline-flex;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a:hover,
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a[aria-current="page"] {
  border-color: rgba(243, 18, 72, 0.34);
  background: #fff;
  color: var(--nostr-hub-red);
  text-decoration: none;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory {
  min-width: 220px;
  margin-top: 0;
  box-shadow: none;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory > summary {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px 8px 12px;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory > summary > .crays-nostr-route-directory__eyebrow,
body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory > summary small {
  display: none;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory > summary strong {
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory__action {
  padding: 8px 10px;
  font-size: 11px;
}

body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory__shelves {
  max-height: min(68vh, 620px);
  overflow: auto;
}

body.crays-nostr-area-apps .crays-article-main {
  padding-top: clamp(28px, 3vw, 42px);
}

@media (max-width: 980px) {
  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] {
    top: 83px;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-board__inner {
    grid-template-columns: minmax(0, 1fr) minmax(190px, max-content);
    grid-template-areas:
      "parent directory"
      "groups groups";
    gap: 10px;
    padding: 12px 0 14px;
  }

  body.crays-nostr-area-apps .crays-nostr-parent-link {
    grid-area: parent;
    justify-self: start;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-groups {
    grid-area: groups;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory {
    grid-area: directory;
    min-width: 0;
    width: auto;
    justify-self: end;
  }

  body.crays-nostr-area-apps .crays-article-content {
    order: 1;
  }

  body.crays-nostr-area-apps .crays-article-toc {
    order: 2;
  }
}

@media (max-width: 560px) {
  body.crays-nostr-area-apps .crays-nostr-route-board--article-nav[data-nostr-route="apps"] .crays-nostr-route-board__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "parent"
      "directory"
      "groups";
  }

  body.crays-nostr-area-apps .crays-nostr-parent-link {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 12px;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-group:first-child a {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 12px;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board--article-nav[data-nostr-route="apps"] .crays-nostr-route-directory {
    width: 100%;
    justify-self: stretch;
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory > summary strong {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-board__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "parent"
      "groups"
      "directory";
  }

  body.crays-nostr-area-apps .crays-nostr-route-board[data-nostr-route="apps"] .crays-nostr-route-directory {
    width: 100%;
    justify-self: stretch;
  }
}

.crays-nostr-route-board--article-nav {
  position: sticky;
  top: 74px;
  z-index: 18;
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(6, 17, 29, 0.025) 1px, transparent 1px),
    #fbfcfd;
  background-size: 96px 96px;
  box-shadow: 0 12px 34px rgba(6, 17, 29, 0.08);
}

.crays-nostr-route-board--article-nav .crays-nostr-route-board__inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) minmax(220px, max-content);
  gap: 12px;
  align-items: center;
  padding: 14px 0 16px;
}

.crays-nostr-route-board--article-nav .crays-nostr-parent-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(243, 18, 72, 0.38);
  border-radius: 999px;
  background: var(--nostr-hub-red);
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.crays-nostr-route-board--article-nav .crays-nostr-parent-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.crays-nostr-route-board--article-nav .crays-nostr-parent-link:hover,
.crays-nostr-route-board--article-nav .crays-nostr-parent-link:focus-visible {
  background: #06111d;
  color: #fff;
  outline: none;
}

.crays-nostr-route-board--article-nav .crays-nostr-parent-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(243, 18, 72, 0.18);
}

.crays-nostr-route-board--article-nav .crays-nostr-route-board__top,
.crays-nostr-route-board--article-nav .crays-nostr-route-cards,
.crays-nostr-route-board--article-nav .crays-nostr-visual-rail {
  display: none;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-groups {
  display: block;
  min-width: 0;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-group {
  display: none;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child strong {
  flex: 0 0 auto;
  color: var(--nostr-hub-ink);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  min-width: 0;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child a {
  display: none;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px 11px;
  color: rgba(6, 17, 29, 0.74);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.crays-nostr-route-board--article-nav:not([data-nostr-route="apps"]) .crays-nostr-route-group:first-child a:nth-of-type(1),
.crays-nostr-route-board--article-nav:not([data-nostr-route="apps"]) .crays-nostr-route-group:first-child a:nth-of-type(2),
.crays-nostr-route-board--article-nav:not([data-nostr-route="apps"]) .crays-nostr-route-group:first-child a:nth-of-type(3),
.crays-nostr-route-board--article-nav:not([data-nostr-route="apps"]) .crays-nostr-route-group:first-child a:nth-of-type(4),
.crays-nostr-route-board--article-nav:not([data-nostr-route="apps"]) .crays-nostr-route-group:first-child a:nth-of-type(5),
.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child a[aria-current="page"] {
  display: inline-flex;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child a:hover,
.crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child a[aria-current="page"] {
  border-color: rgba(243, 18, 72, 0.34);
  background: #fff;
  color: var(--nostr-hub-red);
  text-decoration: none;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-directory {
  min-width: 220px;
  margin-top: 0;
  box-shadow: none;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-directory > summary {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px 8px 12px;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-directory > summary > .crays-nostr-route-directory__eyebrow,
.crays-nostr-route-board--article-nav .crays-nostr-route-directory > summary small {
  display: none;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-directory > summary strong {
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-directory__action {
  padding: 8px 10px;
  font-size: 11px;
}

.crays-nostr-route-board--article-nav .crays-nostr-route-directory__shelves {
  max-height: min(68vh, 620px);
  overflow: auto;
}

.crays-nostr-route-board--article-nav + .crays-article-main {
  padding-top: clamp(28px, 3vw, 42px);
}

@media (max-width: 980px) {
  .crays-nostr-route-board--article-nav {
    top: 83px;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-board__inner {
    grid-template-columns: minmax(0, 1fr) minmax(190px, max-content);
    grid-template-areas:
      "parent directory"
      "groups groups";
    gap: 10px;
    padding: 12px 0 14px;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-parent-link {
    grid-area: parent;
    justify-self: start;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-groups {
    grid-area: groups;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-directory {
    grid-area: directory;
    min-width: 0;
    width: auto;
    justify-self: end;
  }

  .crays-nostr-route-board--article-nav + .crays-article-main .crays-article-content {
    order: 1;
  }

  .crays-nostr-route-board--article-nav + .crays-article-main .crays-article-toc {
    order: 2;
  }
}

@media (max-width: 560px) {
  .crays-nostr-route-board--article-nav .crays-nostr-route-board__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "parent"
      "directory"
      "groups";
  }

  .crays-nostr-route-board--article-nav .crays-nostr-parent-link {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-group:first-child a {
    min-height: 32px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-directory > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-directory {
    width: 100%;
    justify-self: stretch;
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-directory > summary strong {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .crays-nostr-route-board--article-nav .crays-nostr-route-board__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "parent"
      "groups"
      "directory";
  }

  .crays-nostr-route-board--article-nav .crays-nostr-route-directory {
    width: 100%;
    justify-self: stretch;
  }
}

.crays-nostr-nip-dossier-atlas {
  background: #fff;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  border-bottom: 1px solid rgba(6, 17, 29, 0.08);
}

.crays-nostr-nip-dossier-lede {
  max-width: 940px;
  margin: 0 0 22px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.crays-nostr-nip-dossier-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.crays-nostr-nip-dossier-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #06111d;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.crays-nostr-nip-dossier-nav a span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 31, 87, 0.1);
  color: #ff1f57;
  font-size: 11px;
}

.crays-nostr-nip-dossier-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0 30px;
  border: 1px solid rgba(255, 31, 87, 0.2);
  border-left: 4px solid #ff1f57;
  border-radius: 8px;
  background: #fff8fa;
  padding: 18px 20px;
}

.crays-nostr-nip-dossier-note strong {
  color: #06111d;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.crays-nostr-nip-dossier-note span {
  color: rgba(6, 17, 29, 0.72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.crays-nostr-nip-dossier-group {
  margin-top: 38px;
}

.crays-nostr-nip-dossier-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: end;
  margin-bottom: 16px;
}

.crays-nostr-nip-dossier-group__head .crays-nostr-live-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.crays-nostr-nip-dossier-group__head h3 {
  margin: 0;
  color: #06111d;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.08;
}

.crays-nostr-nip-dossier-group__head > span {
  color: rgba(6, 17, 29, 0.55);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.crays-nostr-nip-dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.crays-nostr-nip-dossier-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(176px, 1fr) auto auto;
  min-height: 438px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-left: 4px solid #ff1f57;
  border-radius: 8px;
  background: #fff;
  color: #06111d;
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(6, 17, 29, 0.065);
}

.crays-nostr-nip-dossier-card.is-core {
  border-left-color: #12324a;
}

.crays-nostr-nip-dossier-card.is-unrecommended {
  border-left-color: #8b2434;
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.crays-nostr-nip-dossier-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.crays-nostr-nip-dossier-card__code {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 31, 87, 0.24);
  border-radius: 999px;
  background: rgba(255, 31, 87, 0.08);
  color: #ff1f57;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.crays-nostr-nip-dossier-card__top small {
  color: rgba(6, 17, 29, 0.5);
  font-size: 10px;
  font-weight: 950;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
}

.crays-nostr-nip-dossier-card h3 {
  min-width: 0;
  margin: 0;
  color: #06111d;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.crays-nostr-nip-dossier-card > small {
  display: block;
  margin-top: 10px;
  color: rgba(6, 17, 29, 0.48);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-nip-dossier-card p {
  margin: 16px 0 18px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.62;
}

.crays-nostr-nip-dossier-card__signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.crays-nostr-nip-dossier-card__signals span {
  display: flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(6, 17, 29, 0.09);
  border-radius: 8px;
  background: rgba(6, 17, 29, 0.025);
  color: rgba(6, 17, 29, 0.66);
  padding: 9px 10px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.crays-nostr-nip-dossier-card em {
  align-self: end;
  color: #ff1f57;
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.crays-nostr-nip-dossier-card:hover {
  border-color: rgba(255, 31, 87, 0.36);
  transform: translateY(-2px);
}

.crays-nostr-nip-standards-atlas {
  background: #fff;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
  border-bottom: 1px solid rgba(6, 17, 29, 0.08);
}

.crays-nostr-nip-atlas-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 18px;
}

.crays-nostr-nip-atlas-stats span {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #f7fafb;
  color: rgba(6, 17, 29, 0.64);
  padding: 15px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.crays-nostr-nip-atlas-stats strong {
  color: #06111d;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.crays-nostr-nip-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.crays-nostr-nip-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #06111d;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.crays-nostr-nip-category-nav a span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 31, 87, 0.1);
  color: #ff1f57;
  font-size: 11px;
}

.crays-nostr-nip-atlas-note {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0 26px;
  border: 1px solid rgba(255, 31, 87, 0.2);
  border-left: 4px solid #ff1f57;
  border-radius: 8px;
  background: #fff8fa;
  padding: 18px 20px;
}

.crays-nostr-nip-atlas-note strong {
  color: #06111d;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.crays-nostr-nip-atlas-note span {
  color: rgba(6, 17, 29, 0.72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
}

.crays-nostr-nip-atlas-note code {
  color: #06111d;
  font-size: 13px;
  font-weight: 800;
}

.crays-nostr-nip-category-group {
  margin-top: 34px;
}

.crays-nostr-nip-category-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: end;
  margin-bottom: 14px;
}

.crays-nostr-nip-category-group__head .crays-nostr-live-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.crays-nostr-nip-category-group__head h3 {
  margin: 0;
  color: #06111d;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.08;
}

.crays-nostr-nip-category-group__head > span {
  color: rgba(6, 17, 29, 0.55);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.crays-nostr-nip-atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-nip-atlas-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(104px, 1fr) auto;
  min-height: 294px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-left: 4px solid #ff1f57;
  border-radius: 8px;
  background: #fff;
  color: #06111d;
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 16px 44px rgba(6, 17, 29, 0.06);
}

.crays-nostr-nip-atlas-card.is-core {
  border-left-color: #12324a;
}

.crays-nostr-nip-atlas-card.is-unrecommended {
  border-left-color: #8b2434;
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.crays-nostr-nip-atlas-card__code {
  justify-self: start;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 31, 87, 0.24);
  border-radius: 999px;
  background: rgba(255, 31, 87, 0.08);
  color: #ff1f57;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.crays-nostr-nip-atlas-card strong {
  min-width: 0;
  color: #06111d;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.crays-nostr-nip-atlas-card small {
  display: block;
  margin-top: 8px;
  color: rgba(6, 17, 29, 0.48);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-nip-atlas-card p {
  margin: 15px 0 16px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.crays-nostr-nip-atlas-card__meta {
  align-self: end;
  color: rgba(6, 17, 29, 0.54);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.crays-nostr-nip-atlas-card:hover {
  border-color: rgba(255, 31, 87, 0.36);
  transform: translateY(-2px);
}

.crays-nostr-nip-fact-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 34px;
}

.crays-nostr-nip-fact-band span {
  display: flex;
  min-width: 0;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: rgba(6, 17, 29, 0.7);
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.crays-nostr-nip-fact-band strong {
  color: rgba(255, 31, 87, 0.92);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.crays-nostr-nip-source-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 30px;
}

.crays-nostr-nip-source-map span,
.crays-nostr-nip-implementation-grid section {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 14px 15px;
  color: rgba(6, 17, 29, 0.72);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.crays-nostr-nip-source-map span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.crays-nostr-nip-source-map b {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #06111d;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.crays-nostr-nip-implementation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 30px;
}

.crays-nostr-nip-implementation-grid strong {
  display: block;
  color: #06111d;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
}

.crays-nostr-nip-implementation-grid span {
  display: block;
  margin-top: 7px;
  color: rgba(6, 17, 29, 0.68);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.crays-nostr-nip-token-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 30px;
}

.crays-nostr-nip-token-strip span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 31, 87, 0.18);
  border-radius: 999px;
  background: rgba(255, 31, 87, 0.055);
  color: #06111d;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.crays-nostr-nip-history-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 22px;
}

.crays-nostr-nip-history-band span,
.crays-nostr-nip-history-band a {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: rgba(6, 17, 29, 0.72);
  padding: 14px 15px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.crays-nostr-nip-history-band strong {
  color: rgba(255, 31, 87, 0.92);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.crays-nostr-nip-history-band a {
  border-color: rgba(255, 31, 87, 0.34);
  color: #ff1f57;
  font-weight: 950;
}

.crays-nostr-nip-contributor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
}

.crays-nostr-nip-contributor-grid span {
  display: flex;
  min-width: 0;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(6, 17, 29, 0.025);
  padding: 13px 14px;
}

.crays-nostr-nip-contributor-grid strong {
  color: #06111d;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.crays-nostr-nip-contributor-grid small {
  color: rgba(6, 17, 29, 0.62);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.crays-nostr-nip-pr-list {
  display: grid;
  gap: 8px;
  margin: 0 0 30px;
}

.crays-nostr-nip-pr-list a {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  color: rgba(6, 17, 29, 0.74);
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.crays-nostr-nip-pr-list strong {
  color: #ff1f57;
  font-weight: 950;
}

.crays-nostr-nip-pr-list small {
  color: rgba(6, 17, 29, 0.48);
  font-size: 11px;
  font-weight: 850;
  text-align: right;
}

@media (max-width: 1180px) {
  .crays-nostr-nip-atlas-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crays-nostr-nip-dossier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-nip-atlas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .crays-nostr-nip-atlas-stats,
  .crays-nostr-nip-dossier-card__signals,
  .crays-nostr-nip-fact-band,
  .crays-nostr-nip-source-map,
  .crays-nostr-nip-implementation-grid,
  .crays-nostr-nip-history-band,
  .crays-nostr-nip-contributor-grid {
    grid-template-columns: 1fr;
  }

  .crays-nostr-nip-pr-list a {
    grid-template-columns: 1fr;
  }

  .crays-nostr-nip-pr-list small {
    text-align: left;
  }

  .crays-nostr-nip-atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-nip-atlas-note {
    grid-template-columns: 1fr;
  }

  .crays-nostr-nip-dossier-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .crays-nostr-nip-dossier-grid,
  .crays-nostr-nip-atlas-grid,
  .crays-nostr-nip-atlas-stats {
    grid-template-columns: 1fr;
  }

  .crays-nostr-nip-dossier-card,
  .crays-nostr-nip-atlas-card {
    min-height: 0;
  }

  .crays-nostr-nip-dossier-group__head,
  .crays-nostr-nip-category-group__head {
    grid-template-columns: 1fr;
  }
}

.crays-nostr-basics-hero--focused .crays-nostr-basics-hero__copy {
  max-width: 760px;
}

.crays-nostr-basics-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 34px;
}

.crays-nostr-basics-card {
  min-height: 310px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(7, 18, 31, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--nostr-hub-ink, #06111d);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(7, 18, 31, 0.06);
}

.crays-nostr-basics-card:hover {
  border-color: #ff1f57;
  transform: translateY(-2px);
}

.crays-nostr-basics-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f7fa;
  border: 1px solid rgba(7, 18, 31, 0.08);
  padding: 7px;
}

.crays-nostr-basics-card > span {
  color: #ff1f57;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.crays-nostr-basics-card strong {
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.crays-nostr-basics-card small {
  color: rgba(7, 18, 31, 0.66);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.48;
}

.crays-nostr-start-mental-model li a {
  grid-column: 2;
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.crays-nostr-start-mental-model li a strong,
.crays-nostr-start-mental-model li a span {
  grid-column: 1;
}

.crays-nostr-start-mental-model li a:hover strong {
  color: #ff1f57;
}

.crays-nostr-basics-primitives {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  margin: 0 0 clamp(34px, 4vw, 58px);
}

.crays-nostr-basics-primitives > header {
  max-width: 980px;
}

.crays-nostr-basics-primitives > header h2 {
  max-width: 820px;
  margin: 0;
  color: #06111d;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.crays-nostr-basics-primitives > header p:not(.crays-nostr-live-kicker) {
  max-width: 900px;
  margin: 18px 0 0;
  color: rgba(6, 17, 29, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 780;
  line-height: 1.55;
}

.crays-nostr-basics-primitives__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-basics-primitives--hub .crays-nostr-basics-primitives__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crays-nostr-basics-primitive-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 260px;
  border: 1px solid rgba(7, 18, 31, 0.11);
  border-left: 4px solid #ff1f57;
  border-radius: 8px;
  background: #fff;
  padding: clamp(18px, 1.8vw, 24px);
  color: #06111d;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(7, 18, 31, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.crays-nostr-basics-primitive-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 31, 87, 0.75);
  box-shadow: 0 24px 58px rgba(7, 18, 31, 0.095);
}

.crays-nostr-basics-primitive-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ff1f57;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.crays-nostr-basics-primitive-card h3 {
  margin: 0;
  color: #06111d;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  font-weight: 950;
  line-height: 1.02;
}

.crays-nostr-basics-primitive-card p {
  margin: 0;
  color: rgba(6, 17, 29, 0.72);
  font-size: 0.94rem;
  font-weight: 730;
  line-height: 1.48;
}

.crays-nostr-basics-primitive-card strong {
  align-self: end;
  color: #ff1f57;
  font-size: 0.84rem;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.crays-nostr-basics-primitives article {
  scroll-margin-top: 118px;
  min-height: 520px;
  border: 1px solid rgba(7, 18, 31, 0.11);
  border-left: 4px solid #ff1f57;
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 2.4vw, 34px);
  box-shadow: 0 22px 50px rgba(7, 18, 31, 0.06);
}

.crays-nostr-basics-primitives article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #ff1f57;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.crays-nostr-basics-primitives h3 {
  margin: 18px 0 14px;
  color: #06111d;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.crays-nostr-basics-primitives p {
  margin: 0 0 14px;
  color: rgba(6, 17, 29, 0.74);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.58;
}

.crays-nostr-basics-primitives p:last-child {
  margin-bottom: 0;
}

.crays-nostr-basics-primitives a {
  color: #ff1f57;
  font-weight: 920;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.crays-nostr-basics-primitives .crays-nostr-basics-primitive-card {
  color: #06111d;
  text-decoration: none;
}

.crays-nostr-basics-primitives code {
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 6px;
  background: rgba(6, 17, 29, 0.045);
  padding: 1px 6px;
  color: #06111d;
  font-size: 0.92em;
  font-weight: 900;
}

.crays-nostr-basics-source-grid .crays-nostr-source-card {
  min-height: 170px;
}

.crays-nostr-basics-source-grid .crays-nostr-source-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 7px;
  border: 1px solid rgba(7, 18, 31, 0.08);
  background: #fff;
  padding: 5px;
}

@media (max-width: 980px) {
  .crays-nostr-basics-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-basics-primitives__grid {
    grid-template-columns: 1fr;
  }

  .crays-nostr-basics-primitives--hub .crays-nostr-basics-primitives__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-basics-primitives article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .crays-nostr-basics-map {
    grid-template-columns: 1fr;
  }

  .crays-nostr-basics-card {
    min-height: 0;
  }

  .crays-nostr-basics-primitives--hub .crays-nostr-basics-primitives__grid {
    grid-template-columns: 1fr;
  }
}


/* NIP Wissenslexikon */
.crays-nostr-lexicon-topic-grid,
.crays-nostr-lexicon-nip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(4, 11, 18, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}
.crays-nostr-lexicon-topic-card,
.crays-nostr-lexicon-nip-card {
  display: block;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border-right: 1px solid rgba(4, 11, 18, 0.1);
  border-bottom: 1px solid rgba(4, 11, 18, 0.1);
  color: #06111f;
  text-decoration: none;
}
.crays-nostr-lexicon-topic-card span,
.crays-nostr-lexicon-nip-card > a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 26, 91, 0.24);
  background: rgba(255, 26, 91, 0.08);
  padding: 0.35rem 0.65rem;
  color: #ff1a5b;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.crays-nostr-lexicon-topic-card strong,
.crays-nostr-lexicon-nip-card h3 {
  display: block;
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}
.crays-nostr-lexicon-topic-card p,
.crays-nostr-lexicon-nip-card p {
  margin: 0 0 0.75rem;
  color: #435060;
  font-weight: 700;
  line-height: 1.45;
}
.crays-nostr-lexicon-content {
  max-width: 820px;
}
.crays-nostr-lexicon-content section,
.crays-nostr-lexicon-content .crays-nostr-article-masthead {
  max-width: 820px;
}
.crays-nostr-lexicon-content .crays-nostr-lexicon-nip-grid {
  max-width: 100%;
}
.crays-nostr-lexicon-deep-nip {
  margin: 1.2rem 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(4, 11, 18, 0.12);
}
.crays-nostr-lexicon-deep-nip h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1;
}
.crays-nostr-lexicon-content code {
  border-radius: 5px;
  background: rgba(4, 11, 18, 0.06);
  padding: 0.08rem 0.25rem;
  font-size: 0.9em;
}

body.crays-nostr-area-nips .crays-article-main .crays-article-reader-shell {
  width: min(1540px, calc(100% - 56px));
  margin-inline: auto;
}

body.crays-nostr-area-nips .crays-article-main .crays-article-layout,
body.crays-nostr-area-nips .crays-article-main .crays-nostr-nip-article-layout {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  justify-content: stretch;
  gap: clamp(44px, 4vw, 72px);
}

body.crays-nostr-area-nips .crays-article-content {
  width: 100%;
  max-width: none;
}

body.crays-nostr-area-nips .crays-article-content section,
body.crays-nostr-area-nips .crays-nostr-article-masthead,
body.crays-nostr-area-nips .crays-nostr-nip-fact-band,
body.crays-nostr-area-nips .crays-nostr-nip-editorial-depth {
  max-width: none;
}

body.crays-nostr-area-nips .crays-nostr-nip-fact-band,
body.crays-nostr-area-nips .crays-nostr-source-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.crays-nostr-area-nips .crays-nostr-route-board--article-nav .crays-nostr-route-board__inner {
  width: min(1540px, calc(100% - 56px));
  margin-inline: auto;
}

body.crays-nostr-area-nips .crays-nostr-route-board--article-nav + .crays-article-main {
  padding-top: clamp(44px, 5vw, 72px);
}

body.crays-nostr-area-nips .crays-nostr-lexicon-topic-card span,
body.crays-nostr-area-nips .crays-nostr-lexicon-nip-card > a {
  text-transform: none;
}

body.crays-nostr-area-nips .crays-nostr-article-masthead__meta span {
  text-transform: none;
}

@media (max-width: 980px) {
  body.crays-nostr-area-nips .crays-article-main .crays-article-layout,
  body.crays-nostr-area-nips .crays-article-main .crays-nostr-nip-article-layout {
    grid-template-columns: 1fr;
  }

  body.crays-nostr-area-nips .crays-article-content {
    grid-column: 1;
    order: 1;
  }

  body.crays-nostr-area-nips .crays-article-toc {
    order: 2;
  }
}

@media (max-width: 720px) {
  body.crays-nostr-area-nips .crays-nostr-nip-fact-band,
  body.crays-nostr-area-nips .crays-nostr-source-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .crays-nostr-lexicon-topic-grid,
  .crays-nostr-lexicon-nip-grid {
    grid-template-columns: 1fr;
  }
}

/* Crays hub final composition overrides */
.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a {
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
}

.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(1) { grid-column: span 5; }
.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(2) { grid-column: span 4; }
.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(3) { grid-column: span 3; }
.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(4) { grid-column: span 4; }
.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(5) { grid-column: span 5; }
.crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(6) { grid-column: span 3; }

@media (max-width: 1180px) {
  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) {
    grid-column: span 3;
  }

  .crays-nostr-crays-ecosystem .crays-nostr-crays-foundation .crays-nostr-apps-reading-grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-vision .crays-nostr-apps-reading-grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-structure .crays-nostr-apps-guide__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(1),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(2),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(3),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(4),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(5),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(6) {
    grid-column: span 3;
  }
}

@media (max-width: 780px) {
  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-foundation .crays-nostr-apps-reading-grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-vision .crays-nostr-apps-reading-grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-structure .crays-nostr-apps-guide__grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-proof .crays-nostr-apps-reading-grid {
    grid-template-columns: 1fr;
  }

  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a,
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(1),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(2),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(3),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(4),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(5),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-seeking-grid a:nth-child(6) {
    grid-column: auto;
  }

  .crays-nostr-crays-ecosystem .crays-nostr-crays-vision .crays-nostr-apps-reading-grid::before {
    display: none;
  }

  .crays-nostr-crays-ecosystem .crays-nostr-crays-vision .crays-nostr-apps-reading-grid a:nth-child(even),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-structure .crays-nostr-apps-guide__grid a:nth-child(2),
  .crays-nostr-crays-ecosystem .crays-nostr-crays-structure .crays-nostr-apps-guide__grid a:nth-child(5) {
    margin-top: 0;
    transform: none;
  }
}


/* Crays quality reset 2026-06-21 */
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-route-hub-hero {
  min-height: calc(100svh - 84px);
}

@supports not (height: 100svh) {
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-route-hub-hero {
    min-height: calc(100vh - 84px);
  }
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-foundation,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-proof {
  background: #f7f9f8;
  color: #06111d;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas {
  background:
    linear-gradient(90deg, rgba(6, 17, 29, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f9fbfb 0%, #edf4f2 100%);
  background-size: 96px 96px, auto;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head h2,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker),
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-foundation .crays-nostr-hub-section__head h2,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-foundation .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker) {
  color: #06111d;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-foundation .crays-nostr-apps-reading-grid a,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-proof .crays-nostr-apps-reading-grid a {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(6, 17, 29, 0.1);
  color: #06111d;
  box-shadow: 0 16px 42px rgba(6, 17, 29, 0.07);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1),
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4),
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-seeking-grid a:nth-child(4) {
  background: linear-gradient(135deg, #ffffff 0%, #eef7f4 100%);
  color: #06111d;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1) strong,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) strong,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(1) span:not(.crays-nostr-crays-symbol),
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-intro .crays-nostr-apps-guide__grid a:nth-child(4) span:not(.crays-nostr-crays-symbol),
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-seeking-grid a:nth-child(4) strong,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-seeking-grid a:nth-child(4) small {
  color: #06111d;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-hub-image-band.crays-nostr-crays-collage {
  background: #fff;
  border-block: 1px solid rgba(6, 17, 29, 0.08);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-vision {
  background: #fbf6f0;
}

body.crays-nostr-crays-article-body .crays-article-hero {
  min-height: clamp(460px, 56svh, 650px);
}

body.crays-nostr-crays-article-body .crays-article-hero__grid {
  min-height: clamp(460px, 56svh, 650px);
  padding: clamp(76px, 8vw, 116px) 0 clamp(38px, 5vw, 62px);
  align-items: end;
}

@supports not (height: 100svh) {
  body.crays-nostr-crays-article-body .crays-article-hero {
    min-height: clamp(460px, 56vh, 650px);
  }

  body.crays-nostr-crays-article-body .crays-article-hero__grid {
    min-height: clamp(460px, 56vh, 650px);
  }
}

body.crays-nostr-crays-article-body .crays-article-main {
  padding-top: clamp(54px, 6vw, 88px);
}

body.crays-nostr-crays-article-body .crays-article-reader-shell {
  width: min(1440px, calc(100% - 56px));
}

body.crays-nostr-crays-article-body .crays-article-layout {
  grid-template-columns: minmax(240px, 300px) minmax(0, 860px);
  gap: clamp(42px, 5vw, 86px);
  justify-content: center;
}

.crays-nostr-crays-article-strip {
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.crays-nostr-crays-article-strip .crays-article-reader-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.crays-nostr-crays-article-strip nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.crays-nostr-crays-article-strip nav a {
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 999px;
  padding: 0.48rem 0.76rem;
  color: #06111d;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-crays-article-figure {
  margin: clamp(32px, 5vw, 56px) 0;
}

.crays-nostr-crays-article-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.crays-nostr-crays-article-figure figcaption {
  margin-top: 0.75rem;
  color: rgba(6, 17, 29, 0.62);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
}

.crays-nostr-crays-editorial-deep {
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: clamp(28px, 4vw, 46px);
  border-top: 1px solid rgba(6, 17, 29, 0.12);
}

.crays-nostr-crays-editorial-deep h2 {
  max-width: 860px;
}

.crays-nostr-crays-editorial-deep p + p {
  margin-top: 1rem;
}

.crays-nostr-crays-field-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 34px);
  margin: clamp(30px, 5vw, 54px) 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(6, 17, 29, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #eef7f4 100%);
}

.crays-nostr-crays-field-note strong,
.crays-nostr-crays-field-note span {
  display: block;
}

.crays-nostr-crays-field-note strong {
  color: #06111d;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.08;
  font-weight: 900;
}

.crays-nostr-crays-field-note span {
  color: rgba(6, 17, 29, 0.68);
  font-weight: 800;
  line-height: 1.5;
}

.crays-nostr-crays-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.crays-nostr-crays-source-list li a {
  display: block;
  min-height: 100%;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  color: #06111d;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-crays-next-articles {
  padding: clamp(58px, 7vw, 96px) 0;
  background: #f7f9f8;
  border-top: 1px solid rgba(6, 17, 29, 0.08);
}

.crays-nostr-crays-next-articles h2 {
  max-width: 820px;
  margin: 0 0 1.5rem;
  color: #06111d;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  font-weight: 900;
}

.crays-nostr-crays-next-articles nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.crays-nostr-crays-next-articles nav a {
  display: block;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background: #fff;
  color: #06111d;
  text-decoration: none;
}

.crays-nostr-crays-next-articles nav strong,
.crays-nostr-crays-next-articles nav span {
  display: block;
}

.crays-nostr-crays-next-articles nav strong {
  margin-bottom: 0.55rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.05;
  font-weight: 900;
}

.crays-nostr-crays-next-articles nav span {
  color: rgba(6, 17, 29, 0.68);
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 960px) {
  body.crays-nostr-crays-article-body .crays-article-layout,
  .crays-nostr-crays-next-articles nav,
  .crays-nostr-crays-source-list,
  .crays-nostr-crays-field-note {
    grid-template-columns: 1fr;
  }

  .crays-nostr-crays-article-strip .crays-article-reader-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .crays-nostr-crays-article-strip nav {
    justify-content: flex-start;
  }
}

/* Crays hub editorial map refresh */
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-layer-map {
  background: #fff;
  color: #06111d;
  padding-block: clamp(58px, 7vw, 96px);
}

.crays-nostr-crays-layer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: start;
}

.crays-nostr-crays-layer-copy {
  position: sticky;
  top: 118px;
}

.crays-nostr-crays-layer-copy h2 {
  max-width: 560px;
  margin: 0;
  color: #06111d;
  font-size: clamp(2.5rem, 5.1vw, 5.7rem);
  font-weight: 900;
  line-height: 0.94;
}

.crays-nostr-crays-layer-copy p:not(.crays-nostr-live-kicker) {
  max-width: 520px;
  margin: 1.25rem 0 0;
  color: rgba(6, 17, 29, 0.7);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 800;
  line-height: 1.52;
}

.crays-nostr-crays-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(6, 17, 29, 0.12);
  border-bottom: 1px solid rgba(6, 17, 29, 0.12);
}

.crays-nostr-crays-layer-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0.45rem 1.1rem;
  min-height: 190px;
  padding: clamp(22px, 2.5vw, 34px) clamp(18px, 2vw, 26px);
  border-right: 1px solid rgba(6, 17, 29, 0.12);
  color: #06111d;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.crays-nostr-crays-layer-card:nth-child(4n) {
  border-right: 0;
}

.crays-nostr-crays-layer-card:nth-child(n+5) {
  border-top: 1px solid rgba(6, 17, 29, 0.12);
}

.crays-nostr-crays-layer-card:hover {
  background: #f7f9f8;
  transform: translateY(-2px);
}

.crays-nostr-crays-layer-card .crays-nostr-crays-symbol {
  grid-row: 1 / 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.crays-nostr-crays-layer-card .crays-nostr-crays-symbol svg {
  width: 36px;
  height: 36px;
}

.crays-nostr-crays-layer-card .crays-nostr-crays-symbol svg * {
  stroke-width: 1.65;
}

.crays-nostr-crays-layer-card strong,
.crays-nostr-crays-layer-card small,
.crays-nostr-crays-layer-card em {
  display: block;
  min-width: 0;
}

.crays-nostr-crays-layer-card strong {
  color: #06111d;
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  font-weight: 900;
  line-height: 1.08;
}

.crays-nostr-crays-layer-card small {
  color: rgba(6, 17, 29, 0.62);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.38;
}

.crays-nostr-crays-layer-card em {
  margin-top: 0.15rem;
  color: var(--nostr-hub-red);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.crays-nostr-crays-layer-card em::after {
  content: " ->";
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-hub-image-band.crays-nostr-crays-collage {
  background: #f7faf9;
  border-block: 1px solid rgba(6, 17, 29, 0.08);
  padding: clamp(24px, 3vw, 38px) 0;
}

.crays-nostr-crays-collage .crays-nostr-hub-image-band__grid {
  grid-template-columns: 1.12fr 0.72fr 1.04fr 0.92fr 0.78fr;
  gap: 12px;
}

.crays-nostr-crays-collage .crays-nostr-hub-image-band__grid figure {
  min-height: clamp(106px, 10vw, 164px);
  border: 1px solid rgba(6, 17, 29, 0.08);
  box-shadow: 0 18px 42px rgba(6, 17, 29, 0.1);
}

.crays-nostr-crays-collage .crays-nostr-hub-image-band__grid figure:nth-child(2) {
  transform: translateY(-10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head {
  max-width: 760px;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 56px rgba(6, 17, 29, 0.08);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  grid-template-rows: auto auto;
  align-items: start;
  min-height: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 0;
  border-right: 1px solid rgba(6, 17, 29, 0.1);
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card:nth-child(3n) {
  border-right: 0;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card::after {
  content: "->";
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  color: var(--nostr-hub-red);
  font-size: 0.95rem;
  font-weight: 900;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card img,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card .crays-nostr-crays-symbol {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card strong {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: block;
  min-width: 0;
  color: #06111d;
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  font-weight: 900;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card small {
  grid-column: 2;
  grid-row: 2;
  display: block;
  min-width: 0;
  margin-top: 0.45rem;
  color: rgba(6, 17, 29, 0.62);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.34;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card:hover {
  background: #f7f9f8;
  box-shadow: inset 0 3px 0 var(--nostr-hub-red);
  transform: none;
}

@media (max-width: 1180px) {
  .crays-nostr-crays-layer-shell {
    grid-template-columns: 1fr;
  }

  .crays-nostr-crays-layer-copy {
    position: static;
  }

  .crays-nostr-crays-layer-grid,
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crays-nostr-crays-layer-card:nth-child(4n),
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card:nth-child(3n) {
    border-right: 1px solid rgba(6, 17, 29, 0.1);
  }

  .crays-nostr-crays-layer-card:nth-child(2n),
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .crays-nostr-crays-layer-grid,
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-grid,
  .crays-nostr-crays-collage .crays-nostr-hub-image-band__grid {
    grid-template-columns: 1fr;
  }

  .crays-nostr-crays-layer-card,
  .crays-nostr-crays-layer-card:nth-child(2n),
  .crays-nostr-crays-layer-card:nth-child(4n),
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card,
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card:nth-child(2n),
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-domain-card:nth-child(3n) {
    border-right: 0;
  }

  .crays-nostr-crays-layer-card {
    min-height: 0;
  }

  .crays-nostr-crays-collage .crays-nostr-hub-image-band__grid figure:nth-child(2) {
    transform: none;
  }
}

/* Crays hub closer to the approved editorial mockup */
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-hero .crays-nostr-route-hub-hero__copy h1 {
  max-width: 790px;
  font-size: clamp(3.35rem, 5.4vw, 6.7rem);
  line-height: 0.93;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-hero .crays-nostr-route-hub-hero__copy > p:not(.crays-nostr-live-kicker) {
  max-width: 790px;
  font-size: clamp(1.05rem, 1.55vw, 1.58rem);
  line-height: 1.35;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-layer-map {
  padding-block: clamp(40px, 5.6vw, 74px);
}

.crays-nostr-crays-layer-shell {
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1.46fr);
  gap: clamp(36px, 5vw, 78px);
}

.crays-nostr-crays-layer-copy {
  position: static;
}

.crays-nostr-crays-layer-copy h2 {
  max-width: 430px;
  font-size: clamp(2.1rem, 3.3vw, 3.65rem);
  line-height: 0.96;
}

.crays-nostr-crays-layer-copy p:not(.crays-nostr-live-kicker) {
  max-width: 430px;
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.5;
}

.crays-nostr-crays-layer-card {
  min-height: 154px;
  padding: clamp(18px, 2vw, 24px) clamp(16px, 1.8vw, 22px);
}

.crays-nostr-crays-layer-card strong {
  font-size: clamp(0.95rem, 1vw, 1.08rem);
}

.crays-nostr-crays-layer-card small {
  font-size: 0.74rem;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas {
  background: #fff;
  padding-block: clamp(46px, 6vw, 78px);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas > .crays-article-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head {
  align-self: start;
  max-width: 330px;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head h2 {
  font-size: clamp(1.85rem, 2.6vw, 3rem);
  line-height: 0.98;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head p:not(.crays-nostr-live-kicker) {
  color: rgba(6, 17, 29, 0.68);
  font-size: 0.95rem;
  line-height: 1.48;
}

.crays-nostr-crays-atlas-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--nostr-hub-red);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.crays-nostr-crays-atlas-link::after {
  content: "->";
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-self: start;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card:nth-child(2n),
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card:nth-child(3n) {
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  min-height: 74px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card:nth-last-child(-n+2) {
  border-bottom: 0;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card img,
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card .crays-nostr-crays-symbol {
  width: 34px;
  height: 34px;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card .crays-nostr-crays-symbol svg {
  width: 19px;
  height: 19px;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card strong {
  font-size: 0.88rem;
  line-height: 1.08;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card small {
  margin-top: 0.24rem;
  color: rgba(6, 17, 29, 0.58);
  font-size: 0.66rem;
  line-height: 1.28;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-divider {
  grid-column: 1 / -1;
  height: 1px;
  margin: 0.18rem 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 31, 91, 0.2) 8%, #ff1f5b 50%, rgba(255, 31, 91, 0.2) 92%, transparent 100%);
  pointer-events: none;
}

.crays-nostr-crays-atlas-image {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-height: 330px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  align-self: stretch;
}

.crays-nostr-crays-atlas-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1180px) {
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas > .crays-article-shell {
    grid-template-columns: 1fr;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-hub-section__head {
    max-width: 680px;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-grid,
  .crays-nostr-crays-atlas-image {
    grid-column: auto;
    grid-row: auto;
  }

  .crays-nostr-crays-atlas-image {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-hero .crays-nostr-route-hub-hero__copy h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .crays-nostr-crays-layer-shell,
  .crays-nostr-crays-layer-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .crays-nostr-crays-layer-card,
  .crays-nostr-crays-layer-card:nth-child(2n),
  .crays-nostr-crays-layer-card:nth-child(4n) {
    border-right: 0;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-grid {
    grid-template-columns: 1fr;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(6, 17, 29, 0.1);
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-project-atlas .crays-nostr-crays-domain-card:last-child {
    border-bottom: 0;
  }
}

/* Crays hub rail strip and collage repair */
body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues {
  border-block: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    #06111d;
  padding: clamp(26px, 4vw, 44px) 0;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues .crays-nostr-hub-image-band__grid {
  grid-template-columns: 1.18fr 0.95fr 1.25fr 1fr 1.05fr;
  gap: clamp(10px, 1.2vw, 16px);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues figure {
  min-height: clamp(94px, 8vw, 136px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues img {
  filter: saturate(1.05) contrast(1.03);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-strip {
  border-block: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 31, 91, 0.14), transparent 34%),
    linear-gradient(135deg, #06111d 0%, #0a2030 58%, #071520 100%);
  color: #fff;
  overflow: hidden;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  padding-block: clamp(28px, 4.2vw, 48px);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-copy {
  align-self: center;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-copy .crays-nostr-live-kicker {
  color: #ff1f5b;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-copy h2 {
  max-width: 460px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  line-height: 0.94;
  letter-spacing: 0;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-copy p:not(.crays-nostr-live-kicker) {
  max-width: 520px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  font-weight: 800;
  line-height: 1.38;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.18rem 1rem;
  align-content: center;
  min-height: 126px;
  padding: clamp(16px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card .crays-nostr-crays-symbol {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card .crays-nostr-crays-symbol svg {
  width: 24px;
  height: 24px;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card strong {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.08;
}

body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.32;
}

@media (max-width: 1180px) {
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-shell {
    grid-template-columns: 1fr;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-grid {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 900px) {
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues .crays-nostr-hub-image-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues figure:first-child {
    grid-column: 1 / -1;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) #crays-collage-technology-venues .crays-nostr-hub-image-band__grid,
  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-grid {
    grid-template-columns: 1fr;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-grid {
    border-left: 0;
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  body.crays-nostr-crays-ecosystem:not(.crays-nostr-crays-article-body) .crays-nostr-crays-rail-card:last-child {
    border-bottom: 0;
  }
}
