/* About is the shared visual reference for every card surface. */
#nightshift-shell .info-screen .about-block,
#nightshift-shell .tech-screen .tech-project {
  box-sizing: border-box !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(128, 142, 169, .17) !important;
  border-radius: 0 !important;
  background: rgba(6,13,25,.88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .015) !important;
  backdrop-filter: blur(4px) !important;
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}
#nightshift-shell .info-screen > .about-board,
#nightshift-shell .tech-screen .tech-projects {
  width: calc(min(73vw, 964px) + 80px) !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
#nightshift-shell .tech-screen .tech-heading {
  margin-bottom: var(--tech-title-card-gap, 38px);
}
#nightshift-shell .tech-screen .tech-project:nth-child(odd) {
  min-height: var(--tech-about-card-odd, 347.5px);
}
#nightshift-shell .tech-screen .tech-project:nth-child(even) {
  min-height: var(--tech-about-card-even, 347.5px);
}
@media (max-width: 900px) {
  #nightshift-shell .tech-screen .tech-heading {
    margin-bottom: var(--tech-title-card-gap, 28px);
  }
}
@media (max-width: 650px) {
  #nightshift-shell .info-screen > .about-board,
  #nightshift-shell .tech-screen .tech-projects {
    width: 92vw !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* About cards use the same clear dark surface as the Projects & Apps card. */
#nightshift-shell .info-screen .about-block {
  background: rgba(6,13,25,.88) !important;
  backdrop-filter: none !important;
}

/* Align About card grid with the Tech Projects and Hardware card width. */
@media (min-width: 651px) {
  #nightshift-shell .info-screen > .about-board {
    width: min(73vw, 964px) !important;
  }
}


/* Match every outer card line to the Password Generator and Hardware cards. */
#nightshift-shell .games-screen .featured-machine,
#nightshift-shell .info-screen .about-block,
#nightshift-tech-projects .nsd-server,
#nightshift-tech-projects .nsd-support,
#nightshift-tech-projects .nsd-inventory {
  border: 1px solid #899ab140 !important;
}
#nightshift-shell .info-screen .about-block,
#nightshift-tech-projects .nsd-server,
#nightshift-tech-projects .nsd-support,
#nightshift-tech-projects .nsd-inventory {
  box-shadow: none !important;
}


/* Preserve the Games card tint with the same 83% surface opacity. */
#nightshift-shell .games-screen .featured-machine {
  background: linear-gradient(135deg,rgba(13,15,21,.83),rgba(11,13,30,.83)) !important;
}
