/* exploit.golf: the shared frame every site sits in. Served on each host at /_sys/sys.css.
   A site sets --xg-acc to its own colour; everything else is the same black screen. Text face: DotGothic16 (SIL OFL). */
@font-face { font-family: "XgDot"; src: url("dot.woff2") format("woff2"); font-display: swap; }

:root { --xg-acc: #f9a8d4; --xg-bg: #000; --xg-fg: #f2f2f2; --xg-dim: #8c8c8c; --xg-line: #3a3a3a;
  --xg-dot: "XgDot", "MS Gothic", ui-monospace, monospace; --xg-code: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* scanlines over everything; clicks pass through */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; }
body::before { background: repeating-linear-gradient(to bottom, rgba(0,0,0,.22) 0 1px, rgba(0,0,0,0) 1px 4px); animation: xg-scan 2s steps(4) infinite; box-shadow: inset 0 0 9em rgba(0,0,0,.4); }
body::after { background: repeating-linear-gradient(to bottom, rgba(255,255,255,.022) 0 2px, rgba(0,0,0,0) 2px 4px); animation: xg-scan .8s steps(4) infinite; }
@keyframes xg-scan { from { background-position: 0 0; } to { background-position: 0 4px; } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }

::selection { background: var(--xg-acc); color: #000; }
* { scrollbar-width: thin; scrollbar-color: #fff transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #fff; }

/* the strip across the top of pages we write ourselves */
.xg-strip { display: flex; align-items: stretch; height: 40px; border-bottom: 1px solid #fff; background: #000; font-family: var(--xg-dot); font-size: 15px; }
.xg-strip a { display: flex; align-items: center; padding: 0 14px; color: #fff; text-decoration: none; }
.xg-strip a:hover { background: #fff; color: #000; }
.xg-strip a.xg-name { padding: 0 18px 0 16px; border-right: 1px solid #fff; font-family: var(--xg-code); font-weight: 600; letter-spacing: -.02em; }
.xg-strip a.xg-name b { color: var(--xg-acc); font-weight: 600; }
.xg-strip a.xg-name:hover b { color: #000; }
.xg-strip a.xg-here { background: var(--xg-acc); color: #000; }
.xg-strip .xg-gap { flex: 1; }
