.terminal {
    font-family: var(--font-code);
}

/* xterm.js puts the class "terminal" on its own root element too, so the
   container rules for .terminal also reach it. Reset what matters (T19). */
.terminal .xterm {
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    border-radius: 0;
    box-shadow: none;
    animation: none;
    background-color: var(--terminal-bg-color);
}

.xterm-overlay {
    font-family: var(--font-code);
    border-radius: 15px;
    font-size: xx-large;
    color: black;
    background: white;
    opacity: 0.75;
    padding: 0.2em 0.5em 0.2em 0.5em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
    transition: opacity 180ms ease-in;
}