* { box-sizing: border-box; }

body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: 'Courier New', monospace;
}

canvas { display: block; }

#ui {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 100;
}

.wordmark {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.panel {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 16px;
    width: 180px;
    backdrop-filter: blur(12px);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
}

.label {
    color: rgba(255,255,255,0.35);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.stat-row span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.leo  { color: #00ff88 !important; }
.meo  { color: #00bbff !important; }
.geo  { color: #ff6600 !important; }

.divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 12px 0;
}

.filters {
    display: flex;
    gap: 6px;
}

.filter-btn {
    flex: 1;
    padding: 5px 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 3px;
    background: transparent;
    color: rgba(255,255,255,0.3);
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-btn.active.leo { border-color: #00ff88; color: #00ff88; }
.filter-btn.active.meo { border-color: #00bbff; color: #00bbff; }
.filter-btn.active.geo { border-color: #ff6600; color: #ff6600; }

#pause-btn {
    width: 100%;
    padding: 7px 0;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 3px;
    color: rgba(255,255,255,0.5);
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.15s;
}

#pause-btn:hover {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
}

#inspector {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 100;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 16px;
    width: 220px;
    backdrop-filter: blur(12px);
}

#inspector.hidden { display: none; }

#watermark {
    position: absolute;
    bottom: 24px;
    left: 24px;
    height: 36px;
    opacity: 0.5;
    z-index: 100;
    pointer-events: none;
}

.inspector-header {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

#inspector-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

.inspector-grid {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 6px 8px;
    font-size: 12px;
}

.inspector-grid span:nth-child(even) {
    color: #fff;
    font-weight: 500;
}
