/* The VX Archive: a fan page as one would have been made, by hand, in 1998. */
[hidden] { display: none !important; }
body { margin: 0; background: #02020c url(img/stars.gif); color: #d8dcf0; font: 13px/1.5 Verdana, Tahoma, Geneva, sans-serif; }
a { color: #7fb2ff; } a:visited { color: #c58cff; } a:hover { color: #fff36b; }
.page { width: 780px; max-width: 98vw; margin: 0 auto; padding: 14px 0 30px; }
.logo { text-align: center; padding: 16px 0 6px; position: relative; }
.logo h1 { margin: 0; font: 900 92px/1 "Arial Black", Impact, sans-serif; letter-spacing: 6px;
  background: linear-gradient(#ffffff 0%, #c9d4ff 38%, #4a5a9a 52%, #e8ecff 62%, #8c9ce0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(3px 3px 0 #ff3fa0) drop-shadow(0 0 1px #000); }
.logo .tag { color: #ffd84a; font: bold 13px Verdana, sans-serif; letter-spacing: 3px; margin-top: 4px; }
.bat { position: absolute; top: 18px; left: -40px; width: 64px; image-rendering: pixelated; animation: fly 16s linear infinite; }
@keyframes fly { 0% { left: -70px; top: 30px; } 25% { top: 6px; } 50% { top: 40px; } 75% { top: 12px; } 100% { left: 800px; top: 30px; } }
.nav { text-align: center; margin: 10px 0; }
.nav a { display: inline-block; margin: 2px; padding: 3px 10px; background: #1d2550; color: #fff; text-decoration: none;
  border: 2px outset #6b78c8; font: bold 11px Verdana, sans-serif; }
.nav a:hover { border-style: inset; color: #ffd84a; }
marquee { background: #000; color: #7dff8c; border: 1px solid #2c3a7a; font: bold 12px "Courier New", monospace; padding: 3px 0; }
.box { background: #0c1030; border: 3px ridge #5865b0; margin: 16px 0; }
.box > h2 { margin: 0; padding: 4px 10px; font: bold 14px Verdana, sans-serif; color: #fff; letter-spacing: 2px;
  background: linear-gradient(90deg, #2a3aa0, #0c1030); border-bottom: 1px solid #5865b0; }
.box > .in { padding: 10px 14px; }
.new { color: #ff4f9d; font-weight: bold; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { visibility: hidden; } }
.news td { vertical-align: top; padding: 2px 8px 2px 0; } .news td:first-child { color: #ffd84a; white-space: nowrap; }
.game { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #36407a; }
.game:last-child { border-bottom: 0; }
.game img.shot { width: 320px; height: 240px; image-rendering: pixelated; border: 2px inset #6b78c8; flex: none; background: #000; }
.game h3 { margin: 0 0 4px; font: bold 18px Verdana, sans-serif; color: #fff; }
.game .meta { color: #8f9ac8; font-size: 11px; margin: 6px 0; }
.btn { display: inline-block; margin: 3px 4px 3px 0; padding: 3px 9px; background: #c0c0c0; color: #000 !important;
  border: 2px outset #fff; text-decoration: none; font: 11px Verdana, sans-serif; }
.btn:hover { border-style: inset; background: #d6d6d6; }
.btn.go { background: #ffd84a; font-weight: bold; }
pre, code { font: 12px "Courier New", monospace; color: #b4ffbd; }
pre { background: #000; border: 1px solid #2c3a7a; padding: 6px 8px; overflow-x: auto; }
table.keys { border-collapse: collapse; font-size: 11px; } table.keys td { border: 1px solid #36407a; padding: 2px 6px; }
.diagram { display: block; width: 100%; background: #fff; border: 2px inset #6b78c8; }
.center { text-align: center; }
.foot { text-align: center; color: #8f9ac8; font-size: 11px; margin-top: 20px; }
.counter { vertical-align: middle; image-rendering: pixelated; }
hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, #ff4f9d, #ffd84a, #7dff8c, #7fb2ff, transparent); margin: 18px 0; }
/* the play page */
.tv { margin: 10px auto; width: 704px; max-width: 96vw; padding: 26px 30px 40px; background: linear-gradient(#3a3a40, #1c1c20);
  border-radius: 26px; box-shadow: inset 0 2px 0 #66666e, 0 6px 0 #0a0a0c; position: relative; }
.tv .brand { position: absolute; bottom: 12px; left: 34px; font: bold 11px Verdana, sans-serif; color: #9a9aa6; letter-spacing: 3px; }
.tv .led { position: absolute; bottom: 15px; right: 40px; width: 8px; height: 8px; border-radius: 50%; background: #3f3; box-shadow: 0 0 6px #3f3; }
#screen { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #000; border-radius: 10px; overflow: hidden; }
#screen canvas { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
#menu { position: absolute; inset: 0; background: #000; }
#snow { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; opacity: .3; }

#pick { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
#osd { position: absolute; top: 6%; right: 7%; font: bold 34px "Courier New", monospace; color: #3dff5a; letter-spacing: 2px;
  text-shadow: 0 0 6px #1f9f30, 2px 2px 0 #031; pointer-events: none; }
#menu .pick { font: bold 16px Verdana, sans-serif; color: #ffd84a; letter-spacing: 3px; background: rgba(0,0,0,.75); padding: 2px 10px; }
#menu .games { display: flex; gap: 16px; }
#menu button.game { display: flex; flex-direction: column; align-items: center; background: #0c1030; border: 3px ridge #5865b0; color: #fff; padding: 8px; cursor: pointer; font: bold 13px Verdana, sans-serif; }
#menu button.game img { display: block; width: 184px; image-rendering: pixelated; margin-bottom: 6px; }
#menu button.game.sel, #menu button.game:hover { border-color: #ffd84a; }
#menu .hint { font-size: 11px; color: #c8d0f0; background: rgba(0,0,0,.75); padding: 2px 8px; }
#s { text-align: center; font: 11px "Courier New", monospace; color: #7dff8c; min-height: 1.4em; }
#err { color: #ff7a6a; white-space: pre-wrap; text-align: center; }
