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

html {
  overflow-y: scroll;
}

body {
  background: #000000;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
  padding: 24px 16px;
}

a {
  color: #ffffff;
}

a:hover {
  color: #000000;
  background: #ffffff;
}

#ascii-header {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  line-height: 1.2;
  white-space: pre;
  margin-bottom: 10px;
  color: #ffffff;
  background: #000000;
  display: block;
  width: 100%;
}

#topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 6px;
}

#topbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

#topbar a {
  text-decoration: none;
  color: #888888;
  margin-right: 10px;
  font-size: 12px;
  white-space: nowrap;
}

#topbar a:hover {
  background: none;
}

#topbar a.active {
  text-decoration: underline;
  color: #ffffff;
}

button {
  background: none;
  border: 1px solid currentColor;
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  padding: 2px 8px;
  cursor: pointer;
}

button:hover {
  background: #ffffff;
  color: #000000;
}

.section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 11px;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid #333333;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.proj {
  list-style: none;
}

.proj li {
  padding: 5px 0;
  border-bottom: 1px solid #222222;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.proj li:last-child {
  border-bottom: none;
}

.proj .tag {
  color: #888888;
  font-size: 11px;
  flex-shrink: 0;
}

.proj .desc {
  color: #888888;
  font-size: 11px;
  display: block;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid #222222;
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  padding: 4px 0;
  vertical-align: top;
}

.info-table td:first-child {
  color: #888888;
  width: 180px;
  padding-right: 10px;
  white-space: nowrap;
  font-size: 11px;
}

.val {
  color: #ffffff;
  word-break: break-all;
}

.warn {
  color: #ff4444 !important;
}

.pre-wrap {
  white-space: pre-wrap;
  word-break: break-all;
  overflow: visible;
  max-height: none;
  margin: 0;
  font-family: "Courier New", monospace;
  font-size: 11px;
  background: #111111;
  padding: 10px;
  border: 1px solid #333333;
}

#footer {
  border-top: 1px solid #333333;
  padding-top: 8px;
  margin-top: 20px;
  font-size: 11px;
  color: #888888;
  display: flex;
  justify-content: space-between;
}

.dim {
  color: #888888;
}

.note {
  color: #888888;
  font-size: 11px;
  margin-bottom: 8px;
}

.text-small {
  font-size: 11px;
}

.mt-1 {
  margin-top: 6px;
}

.mt-2 {
  margin-top: 10px;
}

.no-margin {
  margin: 0;
}

@media (max-width: 550px) {
  .info-table td:first-child {
    white-space: normal;
    width: 120px;
  }

  body {
    padding: 16px 12px;
  }
}