:root                                           { color-scheme: dark;
                                                  --green: #8ae234;
                                                  --red: #ff5555;
                                                  --rule: #333; }
body                                            { font-family: monospace;
                                                  font-size: 10pt;
                                                  color: #ddd;
                                                  background-color: #111;
                                                  line-height: 1.4;
                                                  display: flex;
                                                  flex-direction: column;
                                                  min-height: 100vh;
                                                  width: min(85rem, 96%);
                                                  margin: 0 auto;
                                                  padding: 2rem 0; }

a                                               { color: yellow;
                                                  text-decoration: none;
                                                  transition: color 0.2s ease; }
a:hover                                         { text-decoration: underline; }

h1, h2, h3                                      { font-weight: 700;
                                                  color: #fff;
                                                  margin-top: 0; }

body > table:first-of-type                      { width: 100%;
                                                  margin-bottom: 0.5rem;
                                                  border-collapse: collapse; }
body > table:first-of-type td:first-child       { width: 1%;
                                                  padding-right: 0.75rem; }
body > table:first-of-type h1                   { font-size: 1.5em;
                                                  display: inline;
                                                  margin: 0 0.5rem 0 0; }
body > table:first-of-type img                  { border-radius: 4px;
                                                  display: block; }
.desc                                           { color: #a7a7a7; }
td > .desc:first-child                          { font-size: 1.5em;
                                                  font-weight: 700;
                                                  color: #fff; }

tr.url td                                       { color: var(--green);
                                                  padding-top: 0.35rem; }
tr.url td a                                     { color: #ddd;
                                                  font-weight: bold; }
tr.url td a:hover                               { color: yellow; }

body > table:first-of-type tr:last-child td     { padding-top: 0.5rem;
                                                  color: #666; }

hr                                              { border: 0;
                                                  border-bottom: 1px solid var(--rule);
                                                  margin: 1rem 0 2rem 0;
                                                  width: 100%; }

#content                                        { flex: 1;
                                                  overflow-x: auto; }
#content h2                                     { font-size: 1.3em;
                                                  margin-bottom: 1rem;
                                                  padding-bottom: 0.5rem;
                                                  border-bottom: 1px solid #444; }
#content p                                      { margin-bottom: 1em; }
#content pre                                    { overflow-x: auto; }

#content table[id]                              { width: 100%;
                                                  border-collapse: collapse;
                                                  text-align: left;
                                                  margin-bottom: 2.5rem; }
#content table[id] thead td                     { font-weight: bold;
                                                  color: #fff;
                                                  padding-bottom: 0.75rem;
                                                  border-bottom: 1px solid #444; }
#content table[id] tbody td                     { padding: 0.6rem 0.2rem;
                                                  border-bottom: 1px dashed var(--rule); }
#content table[id] tbody tr:last-child td       { border-bottom: none; }
#content table[id] tbody tr:hover td            { background-color: #1a1a1a; }

table#log tbody td:nth-child(5)                 { color: var(--green); }
table#log tbody td:nth-child(6)                 { color: var(--red); }

.num                                            { text-align: right; }

#blob                                           { background-color: #161616;
                                                  border: 1px solid #282828;
                                                  border-radius: 4px;
                                                  padding: 1.5rem;
                                                  margin-top: 0; }

a.line                                          { color: #555;
                                                  text-decoration: none;
                                                  margin-right: 1.5em;
                                                  display: inline-block;
                                                  user-select: none; }
a.line:hover                                    { color: var(--green);
                                                  text-decoration: none; }

.i                                              { color: var(--green); }
.d                                              { color: var(--red); }
.h                                              { color: #00cccc; }
a.i:hover, a.d:hover, a.h:hover                 { text-decoration: none; }

@media (max-width: 768px) {
        body                                    { padding: 1.5rem 0; }

        #blob                                   { padding: 1rem; }
}

@media (max-width: 480px) {
        body                                    { font-size: 9.5pt; }

        #blob                                   { padding: 0.8rem; }
}
