:root{
  --bg: #0b0d0f;
  --bg-2: #101317;
  --ink: #e6e6e6;
  --muted: #a4a8ad;
  --accent: #39ff14;
  --accent-2: #ff2e88;
  --warn: #ffb000;
  --shadow: rgba(0,0,0,0.6);
  color-scheme: dark;
}

*{ box-sizing: border-box; }
html, body { height: 100%; max-width: 100%; overflow-x: hidden; }
body{
  margin: 0;
  background: radial-gradient(1200px 800px at 30% 10%, #12161c 0%, var(--bg) 55%) fixed;
  color: var(--ink);
  font: 16px/1.6 "Lucida Console","Courier New",monospace;
  letter-spacing: 0.15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 12px;
  height: 12px;
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  background: linear-gradient(180deg, rgba(57,255,20,0.85), rgba(57,255,20,0.65));
  border-radius: 10px;
  border: 3px solid #0f1317;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover{
  background: linear-gradient(180deg, rgb(251, 80, 154), rgba(255, 0, 166, 0.7));
}

.page{
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

.crt{
  position: relative;
  isolation: isolate;
}
.crt::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%);
  background-size: 100% 4px;
  opacity: 0.18;
  mix-blend-mode: multiply;
}
.crt::after{
  content: "";
  position: fixed;
  inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.03), rgba(0,0,255,0.06));
  opacity: 0.25;
  filter: blur(0.2px);
}

.site-header{
  padding: 28px 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0)) ,
    linear-gradient(160deg, rgba(57,255,20,0.06), rgba(255,46,136,0.03));
  box-shadow: 0 8px 24px var(--shadow);
}

.logo-wrap{ overflow-x: hidden; }
.logo{
  margin: 0;
  display: block;
  white-space: pre;
  font-family: "Lucida Console","Courier New",monospace;
  font-size: clamp(8px, 1.8vw, 14px);
  color: var(--ink);
  text-shadow:
    0 0 6px rgba(57,255,20,0.25),
    0 0 18px rgba(255,46,136,0.15);
  line-height: 1.05;
}

.glitch{
  position: relative;
  animation: jitter 5s infinite steps(1,end);
}
@keyframes jitter{
  0%, 92%, 100% { filter: none; }
  93% { transform: translate(0.6px,-0.4px); }
  94% { transform: translate(-0.6px,0.4px); }
  95% { text-shadow: -1px 0 var(--accent-2), 1px 0 #07f; }
  96% { text-shadow: 1px 0 var(--accent-2), -1px 0 #07f; }
  97% { text-shadow: -2px 0 var(--accent-2), 2px 0 #07f; }
  98% { text-shadow: 0 0 10px rgba(57,255,20,0.35); }
  99% { transform: translate(0,0); }
}

.nav{
  display: flex;
  gap: 14px;
  padding: 6px 0 0;
}
.nav a{
  color: var(--ink);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0));
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.35);
  transition: 80ms ease;
}
.nav a:hover{
  color: var(--accent);
  border-color: rgba(57,255,20,0.35);
  text-shadow: 0 0 6px rgba(57,255,20,0.35);
}

.hero{
  padding: 20px 16px 0;
  color: var(--muted);
}

.panel{
  padding: 18px 16px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background-image:
    radial-gradient(900px 200px at 60% -10%, rgba(255,255,255,0.04), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.panel-title{
  margin: 0 0 8px;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: lowercase;
  text-shadow: 0 0 6px rgba(57,255,20,0.35);
}

.entry{
  margin: 14px 0 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(16,19,23,0.8), rgba(10,13,15,0.9));
  box-shadow: 0 3px 14px rgba(0,0,0,0.45);
}
.entry h3{
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--ink);
}
.entry p{ margin: 6px 0; }
.entry .aside{
  color: var(--warn);
  opacity: 0.9;
}

.evidence-list{
  list-style: square;
  padding-left: 20px;
}
.evidence-list li{
  margin: 10px 0 12px;
}

.note{
  margin: 8px 0 0;
  padding: 8px;
  background: #0f1317;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  overflow-x: auto;
}

.whisper{ color: #b9bdc2; font-style: italic; }

.site-footer{
  margin: 24px 0 40px;
  padding: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

a{ color: var(--accent); }
a:hover{
  text-shadow: 0 0 6px rgba(57,255,20,0.35);
}

@media (min-width: 720px){
  .site-header{ padding: 32px 36px 8px; }
  .hero, .panel, .site-footer{ padding-left: 36px; padding-right: 36px; }
  .entry{ padding: 14px 16px; }
}
