/* Isolated Tech preview. Shared background, HOME control and footer stay intact. */
#nightshift-shell .section-screen.tech-screen {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 64px 0 28px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #9f82c955 transparent;
}
#nightshift-shell .tech-content { width: min(73vw, 964px); margin: 0; margin-left: calc((100vw - min(73vw, 964px)) / 2); }
#nightshift-shell .tech-eyebrow { display: block; margin: 0 0 13px; color: #ba9aef; font: 820 15px/15px "Segoe UI", Arial, sans-serif; letter-spacing: .13em; }
#nightshift-shell .tech-heading { margin: 0 0 38px; }
#nightshift-shell .tech-heading h1 { margin: 0; color: #fff5df; font: 820 42px/1 "Segoe UI", Arial, sans-serif; letter-spacing: -.045em; text-shadow: 0 0 22px #ffe9ae12; }
#nightshift-shell .tech-heading > p { max-width: 800px; margin: 0; color: #b6c1d0; font: 400 14px/1.65 "Segoe UI", Arial, sans-serif; }
#nightshift-shell .tech-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
#nightshift-shell .tech-project { position: relative; display: flex; flex-direction: column; min-width: 0; }
#nightshift-shell .tech-project-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 6px; color: #b89cde; font: 750 10px/1.4 "Segoe UI", Arial, sans-serif; letter-spacing: .13em; }
#nightshift-shell .tech-project-top svg { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: #9a87b6; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
#nightshift-shell .tech-project h2 { margin: 0 0 4px; padding: 0; color: #f7f3e9; font: 800 24px/1.2 "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; }
#nightshift-shell .tech-project-tagline { margin: 0 0 12px; color: #c2a971; font: 500 12px/1.45 "Segoe UI", Arial, sans-serif; }
#nightshift-shell .tech-project-description { margin: 0 0 15px; color: #bcc6d1; font: 400 14px/1.6 "Segoe UI", Arial, sans-serif; }
#nightshift-shell .tech-stack { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 14px; padding: 0; list-style: none; }
#nightshift-shell .tech-stack li { padding: 4px 7px; border: 1px solid #8e7caa25; background: #9480bc0a; color: #b2b9cb; font: 500 10px/1.3 Consolas, monospace; }
#nightshift-shell .tech-build { border-top: 1px solid #8292a525; margin-top: 0; }
#nightshift-shell .tech-build summary { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 14px; color: #c6addf; font: 600 11px/1.3 "Segoe UI", Arial, sans-serif; list-style: none; cursor: pointer; }
#nightshift-shell .tech-build summary::-webkit-details-marker { display: none; }
#nightshift-shell .tech-build summary > span { font-size: 18px; font-weight: 400; transition: transform .15s ease; }
#nightshift-shell .tech-build[open] summary > span { transform: rotate(45deg); }
#nightshift-shell .tech-build summary:hover { color: #efe2ff; }
#nightshift-shell .tech-build summary:focus-visible { outline: 2px solid #c6addf; outline-offset: 3px; }
#nightshift-shell .tech-build-content { padding: 2px 0 18px; }
#nightshift-shell .tech-build-content p { margin: 0 0 10px; color: #bdc7d3; font: 400 13px/1.65 "Segoe UI", Arial, sans-serif; }
#nightshift-shell .tech-lesson { display: block; padding-left: 10px; margin-top: 15px; border-left: 2px solid #9c7bb2; color: #c3afd3; font: 400 11px/1.6 "Segoe UI", Arial, sans-serif; }
#nightshift-shell .tech-closing { display: flex; justify-content: space-between; gap: 20px; padding: 18px 1px 0; color: #8f9baa; font: 400 11px/1.5 "Segoe UI", Arial, sans-serif; }
#nightshift-shell .tech-closing a { color: #c5a6eb; text-decoration: none; white-space: nowrap; }
#nightshift-shell .tech-closing a:hover { color: #efe2ff; text-decoration: underline; }
@media (max-width: 900px) {
  #nightshift-shell .tech-heading { margin-bottom: 28px; }
  #nightshift-shell .tech-heading h1 { font-size: 34px; }
  #nightshift-shell .tech-eyebrow { font-size: 14px; }
  #nightshift-shell .tech-project h2 { font-size: 21px; }
}
@media (max-width: 650px) {
  #nightshift-shell .page-frame .arcade-quote-footer__inner { display: flex !important; align-items: center !important; justify-content: center !important; flex-wrap: wrap !important; width: 100% !important; gap: 6px 8px !important; }
  #nightshift-shell .page-frame .arcade-quote-footer__inner > * { position: static !important; left: auto !important; top: auto !important; transform: none !important; }
  #nightshift-shell .page-frame .arcade-quote-copy { font-size: 8px !important; }
  #nightshift-shell .page-frame .arcade-quote-separator { font-size: 12px !important; }
  #nightshift-shell .section-screen.tech-screen { padding: 40px 0 24px !important; }
  #nightshift-shell .tech-content { width: 92vw; margin-left: 4vw; }
  #nightshift-shell .tech-projects { grid-template-columns: minmax(0, 1fr); }
  #nightshift-shell .tech-heading > p { font-size: 13px; }
  #nightshift-shell .tech-closing { flex-direction: column; gap: 8px; }
  #nightshift-shell .tech-build summary { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #nightshift-shell .tech-build summary > span { transition: none; }
}
