body {
  background: #050505;
  color: #00ff00;
  font-family: "Courier New", monospace;
  margin: 0;
}
header {
  padding: 20px;
  border-bottom: 1px solid #00ff00;
}
.logo {
  font-size: 18px;
  letter-spacing: 2px;
}
.doc {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}
.meta {
  font-size: 12px;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* layout */
.v-entry {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin: 50px 0;
  border-bottom: 1px solid rgba(0,255,0,0.1);
  padding-bottom: 50px;
}
.v-entry.left  { flex-direction: row; }
.v-entry.right { flex-direction: row-reverse; }
.v-entry.right .text { text-align: right; }

/* portrait */
.portrait-wrap {
  flex-shrink: 0;
}
.portrait {
  width: 90px;
  height: 90px;
  object-fit: contain;
  image-rendering: pixelated;
}
.square {
  width: 90px;
  height: 90px;
  animation: spin 6s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* text */
.text { max-width: 680px; }

.text h3 {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.tag {
  font-size: 11px;
  opacity: 0.5;
  font-weight: normal;
  margin-left: 8px;
  letter-spacing: 2px;
}

.stat {
  font-size: 11px;
  opacity: 0.55;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.text p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 10px;
  opacity: 0.85;
}

.ability {
  font-size: 12px;
  opacity: 0.75;
  border-left: 2px solid rgba(0,255,0,0.3);
  padding-left: 10px;
}
.v-entry.right .ability {
  border-left: none;
  border-right: 2px solid rgba(0,255,0,0.3);
  padding-left: 0;
  padding-right: 10px;
}

.ability-name {
  opacity: 1;
  font-weight: bold;
}

.note {
  font-size: 11px;
  opacity: 0.45;
  font-style: italic;
}

/* logs */
.log {
  margin-top: 60px;
  border-top: 1px solid #00ff00;
  padding-top: 20px;
}
.log h3 {
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.log p {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 8px;
}

.footer-text {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,255,0,0.2);
  opacity: 0.5;
  font-size: 12px;
  line-height: 1.8;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #00ff00; border-radius: 5px; box-shadow: 0 0 5px #00ff00; }
::-webkit-scrollbar-thumb:hover { background: #00cc00; }

/* scanlines */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,255,0,0.05), rgba(0,255,0,0.05) 1px,
    transparent 1px, transparent 3px
  );
  z-index: 999;
}

* { cursor: none !important; }
.custom-cursor {
  position: fixed;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2px #000) drop-shadow(0 0 4px #00ff00);
}

.logo, .logo:visited, .logo:hover, .logo:active {
  color: #00ff00;
  text-decoration: none;
}
.logo:hover { text-shadow: 0 0 10px #00ff00; cursor: pointer; }