/* serial experiments lain aesthetic */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: #050505;
  color: #00cc66;
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 30px 20px;
  min-height: 100vh;
  overflow-x: hidden;
}

/* CRT scanlines overlay */
#scanlines {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.08) 0px,
    rgba(0,0,0,0.08) 1px,
    transparent 1px,
    transparent 3px
  );
}

#container {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid #003322;
  padding: 32px 36px 24px;
  background: rgba(0, 10, 5, 0.7);
  position: relative;
}

/* ASCII art */
#ascii {
  font-size: 7px;
  line-height: 1.1;
  color: #006633;
  text-align: center;
  margin-bottom: 2px;
  letter-spacing: 0;
  overflow-x: auto;
  max-width: 100%;
}

@media (max-width: 600px) {
  body { padding: 16px 10px; }
  #container { padding: 20px 16px 18px; }
  h2 { font-size: 14px; }
  .blurb { font-size: 12px; }
  table.steps td { font-size: 12px; }
  .list li { font-size: 12px; }
}

@media (max-width: 400px) {
  #ascii { font-size: 5.5px; }
  .connector a, .dl-box a { padding: 8px 14px; font-size: 13px; }
}

.sub {
  text-align: center;
  font-size: 11px;
  color: #004422;
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* glitch divider */
hr.glitch {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00cc66, transparent);
  margin: 18px 0;
  opacity: 0.4;
}

/* blurb */
.blurb {
  text-align: center;
  color: #009955;
  font-size: 13px;
  padding: 0 6px;
}

.connector {
  text-align: center;
  margin: 18px 0 6px;
}

.connector a {
  color: #00ff88;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid #004422;
  padding: 8px 20px;
  display: inline-block;
  letter-spacing: 1px;
}

.connector a:hover {
  background: #003322;
  color: #66ffaa;
  border-color: #00cc66;
  text-shadow: 0 0 6px #00ff88;
}

/* headings */
h2 {
  font-size: 15px;
  font-weight: normal;
  color: #009955;
  margin: 14px 0 10px;
  letter-spacing: 1px;
}

h2::before {
  content: "";
}

/* steps table */
table.steps {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 6px;
}

table.steps td {
  padding: 6px 4px 6px 0;
  vertical-align: top;
  font-size: 13px;
}

table.steps td.n {
  width: 30px;
  color: #005533;
  font-family: "Lucida Console", monospace;
  vertical-align: top;
  padding-top: 8px;
}

.hl {
  color: #00ff88;
}

.file {
  color: #669966;
  font-style: italic;
}

/* ordered list */
.list {
  margin: 0 0 6px 20px;
  padding: 0;
}

.list li {
  margin-bottom: 6px;
  font-size: 13px;
}

/* download box */
.dl-box {
  text-align: center;
  margin: 22px 0 6px;
}

.dl-box a {
  color: #00ff88;
  font-size: 14px;
  text-decoration: none;
  border: 1px dashed #006644;
  padding: 10px 24px;
  display: inline-block;
  letter-spacing: 1px;
}

.dl-box a:hover {
  background: #003322;
  border-style: solid;
  border-color: #00cc66;
  text-shadow: 0 0 6px #00ff88;
}

.note {
  font-size: 11px;
  color: #004422;
  margin-top: 6px;
  font-style: italic;
}

/* footer */
#footer {
  text-align: center;
  margin-top: 4px;
}

#footer a {
  color: #007744;
  text-decoration: none;
  font-size: 13px;
}

#footer a:hover {
  color: #00ff88;
}

.cyber {
  font-size: 10px;
  color: #003322;
  margin-top: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.matrix {
  font-size: 14px;
  color: #005533;
  margin-bottom: 6px;
  font-family: "Lucida Console", monospace;
}

#cursor {
  color: #00cc66;
}

/* inline code style */
code, .code {
  background: rgba(0, 204, 102, 0.08);
  padding: 1px 5px;
  font-size: 12px;
}
