/* Central Hub portal cards, 2026-10: additive layer over existing layout. */
.systems-grid { align-items: stretch; gap: clamp(14px, 2vw, 22px); }
.systems-grid > .system-card {
  --portal-accent: 111,186,255;
  display: flex; flex-direction: column; min-width: 0;
  padding: 0; overflow: hidden; isolation: isolate;
  border: 2px solid rgba(var(--portal-accent), .54);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(10,23,42,.98), rgba(5,9,19,.98));
  box-shadow: inset 0 0 0 1px rgba(var(--portal-accent),.13),
    0 16px 35px rgba(0,0,0,.24), 0 0 20px rgba(var(--portal-accent),.075);
}
.systems-grid > .system-card--books { --portal-accent: 225,181,106; }
.systems-grid > .system-card--research { --portal-accent: 255,171,102; }
.systems-grid > .system-card--coreui { --portal-accent: 127,157,255; }
.systems-grid > .system-card--quantum { --portal-accent: 99,220,222; }
.systems-grid > .system-card--control { --portal-accent: 160,177,255; }
.systems-grid > .system-card--os { --portal-accent: 180,158,255; }
.systems-grid > .system-card--last-sector { --portal-accent: 243,117,98; }
.systems-grid > .system-card[data-primary-url]:is(:hover,:focus-visible,:focus-within) {
  border-color: rgba(var(--portal-accent),.95);
  box-shadow: inset 0 0 0 1px rgba(var(--portal-accent),.35),
    0 20px 44px rgba(0,0,0,.32), 0 0 24px rgba(var(--portal-accent),.20);
}
.system-card-banner {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(126px, 15vw, 196px); padding: 18px 20px;
  background-color: #0b1728;
  background-image: linear-gradient(180deg,rgba(3,8,18,.16),rgba(3,8,18,.77)),
    var(--portal-image, radial-gradient(ellipse at 65% 30%, rgba(var(--portal-accent),.36), #071020 72%));
  background-size: cover; background-position: center;
  border-bottom: 2px solid rgba(var(--portal-accent),.58);
}
.system-card-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg,transparent 53%,rgba(var(--portal-accent),.07) 54%,transparent 55%),
    repeating-linear-gradient(90deg,transparent 0 35px,rgba(var(--portal-accent),.055) 36px,transparent 37px);
}
.system-card--game { --portal-image: url("assets/banner.webp"); }
.system-card--books { --portal-image: url("assets/books_lore_banner.webp"); }
.system-card--research { --portal-image: url("assets/ember_origins.webp"); }
.system-card--coreui { --portal-image: linear-gradient(130deg,#0a1d42,#243f7a 45%,#08162e 80%); }
.system-card--quantum { --portal-image: radial-gradient(ellipse at 72% 30%,#16676a,#09182c 65%); }
.system-card--control { --portal-image: radial-gradient(ellipse at 70% 25%,#354787,#0a1128 70%); }
.system-card--os { --portal-image: radial-gradient(ellipse at 72% 25%,#4b3376,#0b1025 70%); }
.system-card--last-sector { --portal-image: radial-gradient(circle at 70% 34%,#8e3e36 0,#2a1829 42%,#090c1b 76%); }
.system-card-banner .system-card-meta {
  position: relative; z-index: 1; margin: 0; align-items: flex-start; gap: 8px;
  color: #e7f2ff; font-size: 9px; font-weight: 600; text-shadow: 0 1px 8px black;
}
.system-card-banner .system-card-meta span:last-child {
  flex: 0 0 auto; padding: 5px 8px; border-radius: 999px;
  border: 1px solid rgba(var(--portal-accent),.72);
  background: rgba(2,7,19,.7); color: #fff;
}
.system-card-banner h3 {
  position: relative; z-index: 1; margin: 15px 0 0; max-width: 100%;
  font-size: clamp(15px,1.65vw,21px); overflow-wrap: anywhere;
  text-shadow: 0 3px 16px rgba(0,0,0,.85);
}
.system-card-body {
  display: flex; flex-direction: column; flex: 1; min-width: 0;
  gap: 15px; padding: 20px;
}
.systems-grid .system-card-body > p {
  margin: 0; min-height: 0; font-size: 15px; line-height: 1.6;
}
.systems-grid .system-card-tags { margin-top: auto; padding-top: 4px; }
.systems-grid .system-card-tags span { font-size: 9px; letter-spacing: .09em; }
.systems-grid .system-card-links {
  margin-top: 0; padding-top: 15px; border-top: 1px solid rgba(var(--portal-accent),.21);
}
.systems-grid .system-card-links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 9px 13px; border: 1px solid rgba(var(--portal-accent),.44);
  border-radius: 9px; color: #eff8ff; background: rgba(var(--portal-accent),.11);
  font-size: 10px; letter-spacing: .08em;
}
.systems-grid .system-card-links a:is(:hover,:focus-visible) {
  background: rgba(var(--portal-accent),.24); border-color: rgba(var(--portal-accent),.88);
  color: #fff;
}
.systems-grid .system-card--last-sector {
  grid-column: span 4; cursor: default; border-style: dashed;
}
.system-card--last-sector .system-card-banner h3 { color: #fff; }
.system-card--last-sector .system-card-tags { margin-top: 0; }
.system-card-pending {
  display: inline-flex; align-items: center; padding: 9px 12px;
  border: 1px solid rgba(var(--portal-accent),.35); border-radius: 9px;
  color: #f7c4ba; font: 600 10px 'JetBrains Mono',monospace;
  letter-spacing: .1em; text-transform: uppercase;
}
/* Responsive rules intentionally placed last to override older compact-news styles. */
@media (max-width: 1080px) {
  .systems-grid > .system-card--last-sector { grid-column: auto; }
}
@media (max-width: 820px) {
  .systems-overview, .studio-news, .studio-trajectory,
  .studio-main-panel { padding-left: 16px; padding-right: 16px; }
  .systems-shell { padding: 20px 14px; overflow: visible; }
  .systems-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .systems-grid > .system-card, .systems-grid > .system-card--wide,
  .systems-grid > .system-card--last-sector { grid-column: 1; width: 100%; }
  .system-card-banner { min-height: 160px; padding: 18px; }
  .system-card-body { padding: 18px; }
  .social-dock { left: auto; right: 0; top: auto; bottom: 76px; transform: none;
    flex-direction: row; border-left: 1px solid rgba(111,186,255,.20);
    border-right: 0; border-radius: 14px 0 0 14px;
    opacity: 1; z-index: 90; }
  .social-dock::before { display: none; }
  .social-dock:is(:hover,:focus-within) { opacity: 1; }
  .studio-news-lines--compact { grid-template-columns: minmax(0,1fr); }
  .studio-news-lines--compact .studio-news-line { min-width: 0; min-height: 0; }
  .studio-news-top { flex-wrap: wrap; gap: 7px; }
  .studio-news-route, .studio-news-main, .studio-news-stamp { min-width: 0; overflow-wrap: anywhere; }
  .studio-news-frame { min-width: 0; }
  .main-view-tab { overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
  .social-dock { bottom: 64px; padding: 5px 7px; }
  .social-link { width: 28px; height: 28px; }
  .social-link svg { width: 15px; height: 15px; }
  .systems-grid .system-card-banner { min-height: 146px; }
  .systems-grid .system-card-banner .system-card-meta { flex-direction: row; }
  .systems-grid .system-card-body > p { font-size: 14px; }
  .systems-grid .system-card-links { gap: 8px; }
  .systems-grid .system-card-links a { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .systems-grid > .system-card[data-primary-url] { transition: none; }
}
/* Featured / Registry hierarchy. Only the #systems panel is affected. */
.systems-project-matrix { position: relative; min-width: 0; }
.systems-featured-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin: 28px 0 18px;
}
.systems-featured-title, .project-registry-header h3 {
  margin: 8px 0; color: #f3f9ff; font: 700 clamp(18px,2.4vw,27px) 'Syncopate',sans-serif;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.35;
}
.systems-featured-head p, .project-registry-header p {
  color: rgba(207,221,239,.72); font-size: 14px; line-height: 1.55;
}
.systems-featured-counter {
  display: inline-flex; padding: 8px 12px; flex: 0 0 auto;
  color: #a8d6ff; font: 600 10px 'JetBrains Mono',monospace;
  letter-spacing: .14em; border: 1px solid rgba(111,186,255,.36);
  background: rgba(111,186,255,.07); border-radius: 10px;
}
.systems-featured-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch; gap: 22px;
}
.systems-featured-grid > .system-card,
.systems-featured-grid > .system-card--last-sector {
  grid-column: auto; min-width: 0; min-height: 365px;
  position: relative;
}
/* All four Featured portal headers share one actual height at each breakpoint.
   Different image fits may be chosen per project, but must not change the frame. */
.systems-featured-grid .system-card-banner {
  height: clamp(185px, 20vw, 260px);
  min-height: 0;
  box-sizing: border-box;
}
.systems-featured-grid .system-card-banner-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.systems-featured-grid .system-card--last-sector .system-card-banner {
  background-color: #110e1c;
  background-image: radial-gradient(ellipse at center, #203453 0%, #110e1c 78%);
}
.systems-featured-grid .system-card--last-sector .system-card-banner-art {
  /* Fill the portal: the cinematic artwork and central logotype stay prominent. */
  object-fit: cover;
  object-position: center;
}
.systems-featured-grid .system-card--last-sector .system-card-banner::after {
  background: linear-gradient(180deg,rgba(4,9,20,.35),transparent 26%,transparent 68%,rgba(4,9,20,.55));
}
.systems-featured-grid .system-card--last-sector .system-card-banner h3 {
  font-size: 11px;
  line-height: 1.35;
  margin-top: 8px;
  letter-spacing: .09em;
  color: #ffe0d8;
}
.systems-featured-grid .system-card-banner::after {
  background: linear-gradient(180deg,rgba(4,9,20,.25),rgba(4,9,20,.86)),
    linear-gradient(125deg,transparent 35%,rgba(var(--portal-accent),.11));
}
.systems-featured-grid .system-card-banner h3 {
  font-size: clamp(18px,2vw,24px); max-width: 27ch; margin-top: 28px;
}
.systems-featured-grid .system-card--game,
.systems-featured-grid .system-card--books {
  --portal-image: radial-gradient(circle at 70% 28%,rgba(var(--portal-accent),.22),#0b1328 72%);
}
.systems-featured-grid .system-card-body > p { font-size: 15px; }
.systems-featured-grid .system-card-entry-hit {
  position: absolute; inset: 0; z-index: 2;
  display: block; border-radius: inherit;
}
.systems-featured-grid .system-card-entry-hit:focus-visible {
  outline: 3px solid #a1dbff; outline-offset: -5px;
}
.systems-featured-grid .system-card-links,
.systems-featured-grid .system-card-links a {
  position: relative; z-index: 3;
}
.systems-featured-grid .system-card-links a { flex: 1 1 auto; }
.systems-featured-grid .system-card--coming-soon {
  border-style: dashed; cursor: default;
}
.systems-featured-grid .system-card-pending { margin-top: auto; }

/* A searchable log frame, not another wall of portal cards. */
.project-registry {
  margin-top: 32px; min-width: 0; overflow: hidden;
  border: 1px solid rgba(111,186,255,.36); border-radius: 21px;
  background: linear-gradient(160deg,rgba(6,17,33,.97),rgba(3,8,19,.99));
  box-shadow: inset 0 1px 0 rgba(111,186,255,.16),0 18px 52px rgba(0,0,0,.26);
}
.project-registry-header {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px; padding: 24px;
  background: linear-gradient(95deg,rgba(111,186,255,.085),transparent 75%);
  border-bottom: 1px solid rgba(111,186,255,.24);
}
.project-registry-header h3 { font-size: clamp(17px,2vw,23px); }
.project-registry-tools {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 6px; width: min(100%,320px);
}
.project-registry-tools label, .project-registry-tools output {
  font: 600 10px 'JetBrains Mono',monospace; letter-spacing: .08em;
  color: #acc9e7;
}
.project-registry-tools input {
  width: 100%; min-width: 0; min-height: 44px;
  background: #071428; color: #fff;
  border: 1px solid rgba(111,186,255,.4); border-radius: 10px;
  padding: 10px 14px; font: 12px 'JetBrains Mono',monospace;
}
.project-registry-tools input:focus-visible {
  outline: 2px solid #83c9ff; outline-offset: 2px;
}
.project-registry-columns, .project-registry-row {
  display: grid;
  grid-template-columns: 28px minmax(0,calc(33.333% - 50px)) minmax(0,1fr) 72px 86px minmax(66px,auto);
  gap: 8px; align-items: center; min-width: 0;
}
.project-registry-columns {
  padding: 10px 14px; color: #7599bb;
  font: 600 9px 'JetBrains Mono',monospace; letter-spacing: .13em;
  text-transform: uppercase; border-bottom: 1px solid rgba(111,186,255,.15);
}
.project-registry-list {
  /* Query container lets a row derive its height from its one-third artwork width. */
  container-type: inline-size;
  max-height: min(560px,58svh); overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; scrollbar-color: #345b7d #071222;
}
/* Uniform registry bands: native-aspect WebP art spans the left third.
   Row height follows the original art's ~4:1 VISIBLE shape on desktop;
   tablet and narrow mobile rows retain room for a stacked detail column. */
.project-registry-row {
  /* The E.M.B.E.R. artwork sets the tallest visible alpha bounds of the five
     originals. Its 1/3-width source fits at roughly 9.6cqi, with 2px safety
     for antialiased top/bottom edges. Preserve the same band for all projects. */
  --registry-band-height: 75px;
  --registry-band-height: clamp(75px, calc(9.6cqi + 2px), 165px);
  --registry-art-width: 157.5%;
  --registry-art-left: -29.5%;
  --registry-art-scale-y: 1;
  --registry-art-top: 50%;
  --registry-seam-rgb: 128, 191, 249;
  position: relative; isolation: isolate; overflow: hidden;
  box-sizing: border-box;
  height: var(--registry-band-height); min-height: var(--registry-band-height);
  padding: 0 14px; border-bottom: 0;
  background: linear-gradient(90deg,#092a58,#091f43 36%,#06162e 70%,#051225);
  transition: background .2s;
}
.project-registry-row:hover,.project-registry-row:focus-within {
  background: linear-gradient(90deg,#104178,#0b2a53 36%,#08203e 70%,#07162c);
}
/* The separator grows out of the torn banner at its lower-right edge.
   Unlike a full-width border it NEVER runs under the artwork. The line
   inherits each project's accent color and fades into the right-hand band. */
.project-registry-row::after {
  content: '';
  position: absolute; z-index: 1; pointer-events: none;
  left: calc(33.333% - 18px); right: 0; bottom: 3px; height: 1px;
  background: linear-gradient(90deg,
    rgba(var(--registry-seam-rgb), .83) 0%,
    rgba(var(--registry-seam-rgb), .35) 23%,
    rgba(var(--registry-seam-rgb), .13) 62%,
    rgba(var(--registry-seam-rgb), 0) 100%);
  opacity: .92;
}
.project-registry-row:hover::after,
.project-registry-row:focus-within::after { opacity: 1; }
.project-registry-row:last-child::after { display: none; }
/* The originals have different visible aspect ratios and alpha padding.
   Map their visible footprints into a uniform left-third banner without
   changing source files or hiding their original torn transparent edge. */
.project-registry-row[data-project-id="research"] {
  --registry-seam-rgb: 202, 172, 128;
  --registry-art-width: 113%;
  --registry-art-left: 0%;
}
.project-registry-row[data-project-id="quantum"] {
  --registry-seam-rgb: 36, 225, 236;
  --registry-art-width: 194%;
  --registry-art-left: -47%;
  --registry-art-scale-y: 1.267;
  --registry-art-top: 47%;
}
.project-registry-row[data-project-id="control"] {
  --registry-seam-rgb: 181, 106, 255;
  --registry-art-width: 157.5%;
  --registry-art-left: -30%;
  --registry-art-scale-y: 1.310;
}
.project-registry-row[data-project-id="os"] {
  --registry-seam-rgb: 174, 134, 255;
  --registry-art-width: 160.8%;
  --registry-art-left: -31.5%;
  --registry-art-scale-y: 1.088;
}
.project-registry-row[data-project-id="quantum-builder"] {
  --registry-seam-rgb: 227, 92, 248;
  --registry-art-width: 149.4%;
  --registry-art-left: -23.2%;
  --registry-art-scale-y: 1.191;
}
.project-registry-media {
  position: absolute; left: 0; top: 0; z-index: 0;
  display: block; width: 33.333%; height: 100%; min-width: 0;
  overflow: hidden; border: 0; border-radius: 0;
  background: transparent; color: #fff; text-decoration: none;
}
.project-registry-media-art {
  position: absolute; pointer-events: none; max-width: none;
  width: var(--registry-art-width); height: auto;
  left: var(--registry-art-left); top: var(--registry-art-top);
  transform: translateY(-50%) scaleY(var(--registry-art-scale-y));
  object-fit: contain;
}
.project-registry-media-label {
  position: absolute; z-index: 2; top: 50%; left: 43%; right: 5px;
  transform: translateY(-50%); color: #f6fbff;
  font: 700 9px/1.25 'JetBrains Mono',monospace;
  letter-spacing: .025em;
  text-shadow: 0 2px 12px #020716,0 0 4px #020716;
  overflow-wrap: anywhere;
}
/* Research's original artwork is intentionally text-free. Complete its
   banner title through the same overlay used by all Quantum projects. */
.project-registry-row[data-project-id="research"] .project-registry-media-label {
  font-size: 8.5px; letter-spacing: 0;
}
.project-registry-media:focus-visible { outline: 2px solid #a5efff; outline-offset: -3px; }


.project-registry-number {
  position: relative; z-index: 2; color: #77baff;
  font: 700 11px 'JetBrains Mono',monospace;
}
/* The wrappers keep the legacy desktop grid unchanged, but let mobile use
   one cohesive right-hand column rather than four disconnected grid rows. */
.project-registry-details, .project-registry-meta { display: contents; }
.project-registry-info { grid-column: 3; position: relative; z-index: 2; min-width: 0; }
/* The banner is the ONLY visual title. Preserve a screen-reader-accessible
   heading for every project without creating a hidden keyboard tab stop. */
.project-registry-name {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.project-registry-description {
  margin: 0; color: #c5d5e8; font: 13px/1.5 'Spectral',Georgia,serif;
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; overflow: hidden;
}
.project-registry-kind,.project-registry-state {
  position: relative; z-index: 2; min-width: 0;
  font: 600 10px/1.55 'JetBrains Mono',monospace;
  color: #a9c2d9; overflow-wrap: anywhere;
}
.project-registry-state { color: #d7b989; }
.project-registry-actions {
  position: relative; z-index: 2; min-width: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
}
.project-registry-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 6px 7px;
  border: 1px solid rgba(111,186,255,.4); border-radius: 8px;
  background: rgba(111,186,255,.07);
  color: #b9e1ff; font: 600 10px 'JetBrains Mono',monospace;
  text-decoration: none; letter-spacing: .04em;
}
.project-registry-actions a:hover,.project-registry-actions a:focus-visible {
  background: rgba(111,186,255,.18); color: #fff;
}
.project-registry-empty {
  text-align: center; color: #a4b5cb; padding: 30px 16px;
}
.project-registry-row[hidden],.project-registry-empty[hidden],
.stu-project-fallback[hidden] { display: none !important; }
.stu-project-fallback {
  margin-top: 16px; padding: 20px; border: 1px solid rgba(111,186,255,.28);
  border-radius: 14px; background: rgba(6,19,38,.88);
}
.stu-project-fallback p {
  font: 600 11px 'JetBrains Mono',monospace; color: #b1d4f1;
}
.stu-project-fallback ul {
  margin: 10px 0 0; padding-left: 22px;
  columns: 2; column-gap: 28px;
}
.stu-project-fallback li { margin: 7px 0; break-inside: avoid; }
.stu-project-fallback a { color: #95cbff; }

@media (max-width: 1080px) {
  .project-registry-columns,.project-registry-row {
    grid-template-columns: 28px minmax(0,calc(33.333% - 50px))
      minmax(0,1fr) 68px 83px minmax(60px,auto);
    gap: 8px;
  }
  .project-registry-columns { padding: 10px 12px; }
  .project-registry-row { padding: 0 12px; }
  /* Hidden semantic headings do not occupy extra horizontal space. */
}
@media (max-width: 820px) {
  .systems-featured-head { align-items: flex-start; gap: 12px; }
  .systems-featured-counter { font-size: 9px; }
  .systems-featured-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .systems-featured-grid > .system-card,.systems-featured-grid > .system-card--last-sector {
    grid-column: 1; min-height: 0;
  }
  .systems-featured-grid .system-card-banner { height: 175px; }
  .project-registry-header { padding: 18px; }
  .project-registry-tools { width: 100%; }
  .project-registry-columns { display: none; }

  /* Every mobile registry entry is now a project card:
     the complete transparent artwork is the FULL-WIDTH header, followed
     by two compact content rows. No tiny left-column thumbnails. */
  .project-registry-row {
    --registry-mobile-art-height: clamp(78px, 29.5cqi, 248px);
    --registry-band-height: calc(var(--registry-mobile-art-height) + 106px);
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: var(--registry-mobile-art-height) 56px 50px;
    gap: 0;
    padding: 0;
    border-bottom: 0;
    height: var(--registry-band-height); min-height: var(--registry-band-height);
  }
  .project-registry-media {
    top: 0; left: 0; width: 100%;
    height: var(--registry-mobile-art-height);
  }
  .project-registry-media-label {
    left: 43%; top: 50%; right: 8%;
    transform: translateY(-50%);
    font-size: clamp(10px, 2.25cqi, 15px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .project-registry-row[data-project-id="research"] .project-registry-media-label {
    font-size: clamp(9px, 2.05cqi, 14px);
  }
  .project-registry-number {
    position: absolute; z-index: 2;
    left: 11px; top: calc(var(--registry-mobile-art-height) - 23px);
    bottom: auto; transform: none; padding: 0; font-size: 11px;
  }
  /* The torn transparent banner already ends naturally.
     A second separator would recreate the unwanted parallel lines. */
  .project-registry-row::after { display: none; }
  .project-registry-details { display: contents; }
  .project-registry-info {
    grid-column: 1 / -1; grid-row: 2;
    align-self: start; min-width: 0;
    margin: 10px 13px 0;
  }
  .project-registry-description {
    font-size: 13px; line-height: 1.34;
    -webkit-line-clamp: 2;
  }
  .project-registry-meta {
    grid-column: 1; grid-row: 3;
    align-self: center;
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 3px 10px; min-width: 0;
    margin: 0 0 0 13px;
  }
  .project-registry-kind,.project-registry-state {
    font-size: 9px; line-height: 1.28;
    white-space: normal; overflow-wrap: anywhere;
    min-width: 0;
  }
  .project-registry-kind { color: #82b0d2; }
  .project-registry-actions {
    grid-column: 2; grid-row: 3;
    align-self: center; justify-self: end;
    justify-content: flex-end;
    margin: 0 11px 0 10px; z-index: 3;
  }
  .project-registry-actions a {
    min-height: 38px; padding: 7px 9px;
  }
  .project-registry-list { max-height: min(620px,72svh); }
  .stu-project-fallback ul { columns: 1; }
}
@media (max-width: 560px) {
  .project-registry-actions a { min-height: 38px; padding: 7px 8px; }
}
@media (max-width: 400px) {
  .systems-featured-grid .system-card-banner { height: 155px; }
  .systems-featured-grid .system-card-banner h3 { font-size: 17px; }
  .project-registry-description { font-size: 12px; }
  .project-registry-meta { gap: 3px 7px; }
  .project-registry-actions { margin-left: 6px; margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-registry-row { transition: none; }
}
/* Canonical project-page art for the Game and animated Ren Matrix portals.
   SVG remains a native <img> resource so its own CSS animation can run. */
.systems-featured-grid .system-card--books .system-card-banner-art {
  object-fit: cover;
  object-position: 50% 38%;
}
.systems-featured-grid .system-card--game .system-card-banner-art {
  object-fit: cover;
  object-position: 50% 48%;
}
.systems-featured-grid .system-card--game .system-card-banner::after {
  background: linear-gradient(180deg,rgba(3,10,22,.18) 0%,rgba(3,10,22,.18) 42%,rgba(3,10,22,.79) 100%);
}
.systems-featured-grid .system-card--coreui .system-card-banner {
  background: linear-gradient(110deg,#f8fbff 0%,#edf4ff 53%,#dce6fa 100%);
}
.systems-featured-grid .system-card--coreui .system-card-banner-art {
  inset: 5% 4% 5% auto;
  width: 45%;
  height: 90%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 10px rgba(75,112,229,.12));
}
.systems-featured-grid .system-card--coreui .system-card-banner::after {
  background: linear-gradient(90deg,rgba(248,251,255,.55) 0%,rgba(248,251,255,.14) 58%,transparent 100%);
}
.systems-featured-grid .system-card--coreui .system-card-banner h3 {
  max-width: 55%;
  color: #182c4d;
  text-shadow: 0 1px 3px rgba(255,255,255,.8);
}
.systems-featured-grid .system-card--coreui .system-card-meta {
  color: #29496f;
  text-shadow: none;
}
.systems-featured-grid .system-card--coreui .system-card-meta span:first-child {
  color: #26436d;
  background: rgba(255,255,255,.7);
  border-radius: 6px;
}
