/* jsplinter.nl retro mode "1998" (operator 2026-11-19, mockup A "grey windows"; doc jsplinter-site/README.md § Retro mode).
   Our own late-90s homage: grey bevelled windows on a teal desk. Only CSS shapes and colours: no copied logos, icons,
   sounds or artwork. Everything is scoped to html[data-retro] (set by site_header()'s early script + retro.js), so this
   file does nothing for normal visits. The terminal tile keeps its own look; the extras (.rx) are added by retro.js. */
html[data-retro]{--r-face:#c3c3c3;--r-hi:#fff;--r-lo:#7b7b7b;--r-dk:#141414;--r-title:#1f3f6f;
  --bg:#0f7b7b;--dots:transparent;--card:#c3c3c3;--ink:#000;--soft:#303030;--edge:#7b7b7b;--shadow:transparent;
  --mint:#c3c3c3;--butter:#d7d7d7;--peach:#c3c3c3;--sky:#c3c3c3;--lilac:#c3c3c3;--teal:#c3c3c3;--hot:#1f3f6f;--on-hot:#fff;
  --bold:#1f3f6f;--on-bold:#fff;--cell:rgba(0,0,0,.12);--focus:#000}
html[data-retro] *{border-radius:0!important}
html[data-retro] body{background:#0f7b7b;font-family:Tahoma,Verdana,Arial,Helvetica,sans-serif;font-size:15px}
html[data-retro] body :is(h1,h2,h3,h4,.me,.lbl,.num b,.pt){font-family:Tahoma,Verdana,Arial,sans-serif!important;letter-spacing:0!important}
html[data-retro] header::before{background:#0f7b7b}
html[data-retro] a:not(.term a):not(.heatgrid a){color:#00007b}
html[data-retro] mark{background:var(--r-title);color:#fff}
/* windows: the menu bar and every tile except the terminal */
html[data-retro] .pill,html[data-retro] .t:not(.term),html[data-retro] .sbox{border:2px solid;border-color:#fff #141414 #141414 #fff;
  box-shadow:inset -1px -1px 0 #7b7b7b,inset 1px 1px 0 #dfdfdf;background:#c3c3c3;color:#000}
/* some tiles are see-through by design (flat, merged posts): in retro every window is solid grey */
html[data-retro] .t:not(.term){background:#c3c3c3!important;--bg:#e4e4e4}   /* inner boxes that use the page colour (lists, code) get light grey */
/* a plain title bar: the tile's top border, with its heading as the title and a small close box (decoration only) */
html[data-retro] .t:not(.term){position:relative;border-top:24px solid var(--r-title)!important}
html[data-retro] .t:not(.term)::before{content:attr(data-rtitle);position:absolute;top:-22px;left:6px;right:30px;overflow:hidden;
  white-space:nowrap;text-overflow:ellipsis;color:#fff;font:700 13px/20px Tahoma,Arial,sans-serif}
html[data-retro] .t:not(.term)::after{content:"x";position:absolute;top:-21px;right:4px;width:18px;height:16px;font:700 11px/13px Tahoma,Arial,sans-serif;
  text-align:center;color:#000;background:#c3c3c3;border:2px solid;border-color:#fff #141414 #141414 #fff}
/* section heads sit on the teal desk */
html[data-retro] .head,html[data-retro] .head h2{color:#fff}
html[data-retro] .head p{color:#e6fbfb}
/* other text that sits directly on the desk: the footer, the updates count line */
html[data-retro] footer,html[data-retro] footer a,html[data-retro] .count:not(.t .count),html[data-retro] .count:not(.t .count) :is(span,button,a){color:#fff!important}
/* links and buttons drawn on a dark or navy box: white text */
html[data-retro] :is(.more,.rss:not(.t .rss)){color:#fff!important}
html[data-retro] button[data-g=""]{color:#fff!important}   /* the homepage activity filter "All": a dark box */
html[data-retro] .hero h1{font-size:clamp(2.2rem,5vw,3.6rem)!important;letter-spacing:-.01em!important}
html[data-retro] .hero h1 *{background:none!important;color:var(--r-title)!important;box-shadow:none!important}
/* bevelled controls */
html[data-retro] :is(.btn,.f,.chip,.srch,.toggle,.menu,button.sub-t,.tag,.consent .f,.links a){border:2px solid!important;border-color:#fff #141414 #141414 #fff!important;
  box-shadow:inset -1px -1px 0 #7b7b7b,inset 1px 1px 0 #dfdfdf!important;background:#c3c3c3!important;color:#000!important;
  font-family:Tahoma,Arial,sans-serif!important;transform:none!important}
html[data-retro] :is(.btn,.f,.chip,.toggle,.srch):active,html[data-retro] .toggle[aria-pressed=true]{border-color:#141414 #fff #fff #141414!important;
  box-shadow:inset 1px 1px 0 #7b7b7b!important}
html[data-retro] :is(input,textarea,select):not(.term *):not(.term-dock *){border:2px solid!important;border-color:#7b7b7b #fff #fff #7b7b7b!important;background:#fff!important;color:#000!important}
html[data-retro] .sscrim:not([hidden]){backdrop-filter:none;background:rgba(0,40,40,.45)}

/* ---------- extras added by retro.js (.rx) ---------- */
.rx{display:none}
html[data-retro] .rx{display:block}
@keyframes rblink{50%{opacity:0}}
@keyframes rmarq{from{transform:translateX(100%)}to{transform:translateX(-100%)}}
.rblink{animation:rblink 1s steps(1) infinite}
@media (prefers-reduced-motion:reduce){.rblink,.rmarq span{animation:none!important}.rmarq span{transform:none!important}}
.rbevel{border:2px solid;border-color:#fff #141414 #141414 #fff;box-shadow:inset -1px -1px 0 #7b7b7b,inset 1px 1px 0 #dfdfdf;background:#c3c3c3;color:#000}
.rsunk{border:2px solid;border-color:#7b7b7b #fff #fff #7b7b7b;background:#fff;color:#000}
.ruc{display:flex;align-items:center;justify-content:center;gap:14px;padding:8px 12px;margin:0 0 14px;font:700 15px/1.2 Arial,Helvetica,sans-serif;color:#000;
  letter-spacing:.06em;background:repeating-linear-gradient(135deg,#ffd400 0 18px,#111 18px 36px);border:2px solid #000}
html[data-retro] .ruc{display:flex}
.ruc span{background:#ffd400;padding:3px 12px;border:2px solid #000}
.rmarq{overflow:hidden;white-space:nowrap;padding:4px 0;margin:0 auto 12px;font:700 14px Arial,Helvetica,sans-serif;background:#000;color:#ffd400;
  border:2px solid;border-color:#7b7b7b #fff #fff #7b7b7b}
.rmarq span{display:inline-block;animation:rmarq 22s linear infinite}
.rfootx{text-align:center;font:13px/1.8 Arial,Helvetica,sans-serif;margin:18px auto 0;color:#fff}
html[data-retro] .rfootx a{color:#fff!important;font-weight:700}
.rcount{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
.rodo{display:inline-flex;gap:2px;background:#000;padding:3px;border:2px solid;border-color:#777 #eee #eee #777}
.rodo b{display:inline-block;width:15px;text-align:center;font:700 17px/22px "Courier New",monospace;color:#7dff6a;background:#111;text-shadow:0 0 4px #3f3}
.rbadge{display:inline-block;padding:2px 8px;margin:4px;font:700 11px Arial,sans-serif;letter-spacing:.05em;background:#c3c3c3;color:#000;
  border:2px solid;border-color:#fff #141414 #141414 #fff}
/* the "connecting" dialog (also when retro is off: it is shown just before switching on) */
.rconn{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(0,0,0,.35)}
.rconn .rwin{width:min(420px,92vw);font:13px/1.45 Arial,Helvetica,sans-serif;border-radius:0}
.rconn .rbar-t{display:flex;justify-content:space-between;align-items:center;background:#1f3f6f;color:#fff;font-weight:700;padding:3px 4px 3px 8px}
.rconn .rbar-t button{width:20px;height:18px;padding:0;font:700 12px/1 Arial,sans-serif;cursor:pointer;border-radius:0}
.rconn .rbody{padding:14px 14px 12px;display:grid;grid-template-columns:44px 1fr;gap:12px}
.rconn .rmodem{width:40px;height:30px;position:relative;margin-top:2px}
.rconn .rmodem::before{content:"";position:absolute;inset:6px 0 0;background:#d9d9d9;border:2px solid;border-color:#fff #444 #444 #fff}
.rconn .rmodem i{position:absolute;bottom:4px;width:5px;height:4px;background:#2d2;box-shadow:0 0 4px #2f2}
.rconn .rmodem i:nth-child(1){left:6px}.rconn .rmodem i:nth-child(2){left:14px;animation:rblink .4s steps(1) infinite}.rconn .rmodem i:nth-child(3){left:22px;animation:rblink .7s steps(1) infinite}
.rconn .rstep{margin:0 0 8px;min-height:2.9em;color:#000}
.rconn .rprog{height:20px;padding:2px;display:flex;gap:2px;overflow:hidden}
.rconn .rprog b{flex:none;width:10px;background:#1f3f6f}
.rconn .rfoot{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.rbtn{font:13px Arial,Helvetica,sans-serif;padding:4px 16px;min-width:76px;cursor:pointer;border-radius:0}
@media (max-width:600px){.ruc span:not(:first-child){display:none}.ruc{padding:6px}}
