html, body {
    margin: 0;
    height: 100%;
    background: #10261d;
    color: #f3ead2;
    font-family: system-ui, sans-serif;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    inset: auto 0 0 0;
    padding: 0.6rem 1rem;
    background: #7a1f1f;
    color: #fff;
}

/* The wire page: a developer's window onto the lines, not a screen a player sees. */
.wire {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    padding: 12px;
    gap: 8px;
    font: 13px/1.4 ui-monospace, Consolas, monospace;
}

.wire form {
    display: flex;
    gap: 8px;
}

.wire input {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    background: #0b1a14;
    color: inherit;
    border: 1px solid #3c5a4b;
    border-radius: 4px;
    font: inherit;
}

.wire button {
    padding: 6px 14px;
    background: #c9a24a;
    color: #1b1408;
    border: 0;
    border-radius: 4px;
    font: inherit;
    cursor: pointer;
}

.wire .state {
    color: #c9a24a;
}

.wire ol {
    flex: 1;
    margin: 0;
    padding: 8px;
    overflow: auto;
    list-style: none;
    background: #0b1a14;
    border: 1px solid #3c5a4b;
    border-radius: 4px;
}

.wire li {
    white-space: pre-wrap;
    word-break: break-all;
}

.wire li.said {
    color: #8fd0ff;
}

.wire li.note {
    color: #c9a24a;
}
