.window-console {
    top: 2.75rem;
    left: 10vw;
    width: min(720px, calc(100% - 8rem));
    min-height: 360px;
}

.window-console .window-content {
    display: flex;
    padding: 0;
    background: #0c0c0c;
}

.console {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    min-height: 310px;
    padding: .8rem;
    color: #f2f2f2;
    background: #0c0c0c;
    font-family: Consolas, "Courier New", monospace;
    font-size: .95rem;
    line-height: 1.45;
    cursor: text;
}

.console-output {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-wrap: anywhere;
}

.console-output p,
.console-output p + p {
    margin: 0 0 .35rem;
}

.console-output strong {
    color: inherit;
}

.console-form {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.console-form span {
    flex: 0 0 auto;
}

.console-form input {
    flex: 1;
    min-width: 0;
    padding: 0;
    color: #f2f2f2;
    font: inherit;
    caret-color: #f2f2f2;
    background: transparent;
    border: 0;
    outline: 0;
}

@media (max-width: 980px) {
    .window-console {
        width: auto;
        min-height: 0;
    }
}
