* {
    font-family: "Source Code Pro", monospace;
    font-size: 100%;
    line-height: 1.2rem;
}

:root {
    font-size: 1rem;
}

body, html {
    margin: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--solarized-scheme3);
    color: var(--solarized-scheme02);
}

#terminal {
    background: var(--solarized-scheme3);
    max-width: 100ch;
}

#output {
    margin: 0.5rem 0.5rem 3.5rem;
    padding: 0 0 1rem;
}

#output .output-intro {
    margin: 0 0 -1.2rem;
}

#output .command::before {
    content: "> ";
    color: var(--solarized-scheme01);
    font-weight: normal;
}
#output .command {
    background: var(--solarized-scheme2);
    font-weight: bold;
    margin-top: 2.4rem;
}

#output #still-loading {
    margin-top: 2.4rem;
}

#output .output-block {
    margin: 2.4rem 0 0;
}

#output a {
    color: var(--solarized-orange);
    text-decoration: underline;
}
#output a::after {
    content: '\29c9';
}
#output a.donate {
    color: var(--solarized-base3);
    background: var(--solarized-orange);
}

#output p {
    margin: 1.2rem 0 0;
}

#output h1, #output h2, #output h3, #output h4, #output h5, #output h6 {
    margin: 1.2rem 0 -1.2rem;
    font-weight: normal;
    font-style: normal;
}

#output table {
    border-spacing: 0;
    margin: 1.2rem 0 0;
}

#output table th {
    text-align: left;
    font-weight: bold;
    padding-bottom: 0;
    padding-left: 2ch;
    padding-right: 0;
    padding-top: 0;
}

#output table th[align=right] {
    text-align: right;
}

#output table td {
    padding-bottom: 0;
    padding-left: 2ch;
    padding-right: 0;
    padding-top: 0;
}

#output table th:nth-child(1), #output table td:nth-child(1) {
    padding: 0;
}

#output table tbody tr:nth-child(odd) {
    background: var(--solarized-scheme2);
}

#output h1 {
    font-weight: bold;
    color: var(--solarized-scheme3);
    background: var(--solarized-scheme02);
}

#output h2 {
    font-weight: bold;
}

#output h3 {
    font-style: italic;
}

#output ul {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.2rem;
    padding-bottom: 0;
    padding-left: 2ch;
    padding-right: 0;
    padding-top: 0;
}

#output ol {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.2rem;
    padding-bottom: 0;
    padding-left: 4ch;
    padding-right: 0;
    padding-top: 0;
}

#output ul > li {
    list-style: none;
    margin: 0;
    text-indent: -2ch;
}

#output ul > li::before {
    content: "* ";
}

#output code {
    border: none;
    color: var(--solarized-blue);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

#output code.temp-link {
    text-decoration-style: dashed;
}

#output .error {
    color: var(--solarized-base3);
    background: var(--solarized-red);
}

#output .error code, #output .error a {
    color: inherit;
}

#output .thing-box {
    background: var(--solarized-scheme01);
    box-shadow: var(--solarized-scheme2) 2ch 1rem;
    color: var(--solarized-base3);
    max-width: 50ch;
}

#output .thing-box a, #output .thing-box code {
    color: var(--solarized-base3);
}

#output .thing-box > * {
    padding-left: 1ch;
    padding-right: 1ch;
}

#output .thing-box.npc {
    background: var(--solarized-green);
}

#output .thing-box.place {
    background: var(--solarized-violet);
}

#prompt-form {
    background: linear-gradient(rgb(0,0,0,0), var(--solarized-scheme3) 1.0rem 100%);
    color: var(--solarized-scheme01);
    padding: 1.4rem 0.5rem 0.5rem;
    position: fixed;
    white-space: nowrap;
    bottom: 0;
    width: 100%;
    max-width: 100ch;
    box-sizing: border-box;
}

#prompt-form::before {
    content: ">";
}

#prompt {
    background: var(--solarized-scheme2);
    border: none;
    color: var(--solarized-scheme02);
    font-weight: bold;
    height: 1.2rem;
    margin-bottom: 0;
    margin-left: 1ch;
    margin-right: 0;
    margin-top: 0;
    padding: 0;
    width: calc(100% - 2ch);
}

#prompt:focus {
    outline: none;
}

ul.autocomplete-list {
    background: var(--solarized-scheme2);
    bottom: 0.5rem;
    left: 0;
    margin-bottom: 1.2rem;
    margin-left: 2ch;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 1ch;
    padding-right: 1ch;
    padding-top: 0;
    position: absolute;
}

li.autocomplete-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

li.autocomplete-item .autocomplete-item-description {
    color: var(--solarized-scheme00);
    float: right;
    margin-left: 2ch;
}

li.autocomplete-item mark.autocomplete-item-highlight {
    background: var(--solarized-scheme1);
}

li.autocomplete-item.autocomplete-item-selected {
    background: var(--solarized-scheme03);
    color: var(--solarized-scheme2);
}

li.autocomplete-item.autocomplete-item-selected .autocomplete-item-description {
    color: var(--solarized-scheme0);
}

li.autocomplete-item.autocomplete-item-selected mark.autocomplete-item-highlight {
    background: var(--solarized-scheme02);
    color: var(--solarized-scheme2);
}

.logo-tiny {
    display: block;
    white-space: pre;
}
.logo-small {
    display: none;
    white-space: pre;
}
.logo-medium {
    display: none;
    white-space: pre;
}
.logo-large {
    display: none;
    white-space: pre;
}

@media (min-width: 30ch) {
    .logo-tiny {
        display: none;
    }
    .logo-small {
        display: block;
    }
}

@media (min-width: 50ch) {
    .logo-small {
        display: none;
    }
    .logo-medium {
        display: block;
    }
}

@media (min-width: 80ch) {
    .logo-medium {
        display: none;
    }
    .logo-large {
        display: block;
    }
}
