/* Built-in console (Ctrl+Shift+K). */

.activity-console {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    height: 40vh;
    min-height: 200px;
    background: rgba(12, 18, 28, 0.92);
    border-top: 2px solid #3aa7f0;
    font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #e6edf3;
}

.activity-console[hidden] {
    display: none;
}

.con-out {
    flex: 1;
    overflow-y: auto;
    padding: 8px 12px;
    white-space: pre-wrap;
}

.con-line.cmd { color: #7cc4ff; }
.con-line.ok { color: #7ee787; }
.con-line.err { color: #ff7b72; }
.con-line.dim { color: #9da7b3; }

.con-in {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.con-in span {
    color: #3aa7f0;
    font-weight: 700;
}

.con-in input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font: inherit;
}

.fps-counter {
    position: fixed;
    right: 12px;
    bottom: 72px;
    z-index: 30;
    padding: 2px 8px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.55);
    color: #7ee787;
    font: bold 13px ui-monospace, Consolas, monospace;
}

.fps-counter[hidden] {
    display: none;
}

