.project-circuitgame-detail .project-panel::after {
  content: "logic circuit / dsl / nor";
  position: absolute;
  right: 28px;
  top: 28px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 43, 37, 0.18);
  background: rgba(255, 241, 236, 0.72);
  font: 600 0.78rem/1 var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(101, 34, 31, 0.92);
}

html[data-theme="dark"] .project-circuitgame-detail .project-panel::after {
  background: rgba(49, 24, 21, 0.72);
  color: rgba(255, 204, 193, 0.9);
  border-color: rgba(255, 214, 205, 0.14);
}

.project-circuitgame-detail .project-panel {
  background:
    linear-gradient(160deg, rgba(255, 247, 242, 0.84), rgba(255, 240, 236, 0.44)),
    var(--panel);
}

html[data-theme="dark"] .project-circuitgame-detail .project-panel {
  background:
    linear-gradient(160deg, rgba(77, 30, 26, 0.22), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.project-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 18px;
  color: var(--muted);
  font: 500 0.88rem/1.4 var(--font-ui);
}

.project-breadcrumbs a {
  text-decoration: none;
}

.circuit-sidecard {
  display: grid;
  align-content: start;
}

.circuit-side-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.circuit-side-grid div {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .circuit-side-grid div {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.circuit-side-grid span {
  display: block;
  color: var(--muted);
  font: 500 0.82rem/1.4 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.circuit-side-grid strong {
  display: block;
  margin-top: 5px;
  font: 700 1rem/1.4 var(--font-display);
}

.project-circuitgame-detail .notes-box,
.project-circuitgame-detail .meta-box {
  background: color-mix(in srgb, var(--surface) 92%, white 8%);
}

html[data-theme="dark"] .project-circuitgame-detail .notes-box,
html[data-theme="dark"] .project-circuitgame-detail .meta-box {
  background: rgba(255, 255, 255, 0.04);
}

.project-grid-secondary {
  margin-top: 18px;
}

.stacked-links {
  display: grid;
  justify-items: start;
}

@media (max-width: 900px) {
  .project-circuitgame-detail .project-panel::after {
    position: static;
    display: inline-flex;
    margin: 0 0 16px;
  }
}
