:root {
    --hud-bg: rgba(20, 20, 20, 0.65);
    --hud-text: #eaeaea;
    --panel-bg: rgba(255, 255, 255, 0.95);
    --panel-text: #111;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #f6f6f6;
    color: #111;
}

#canvas {
    display: block;
    width: 100%;
    height: 100vh;
    cursor: grab;
}

#hud {
    position: fixed;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 12px;
    background: var(--hud-bg);
    color: var(--hud-text);
    border-radius: 8px;
    z-index: 40;
    font-size: 13px;
}

#infoPanel {
    position: fixed;
    top: 54px;
    right: 8px;
    width: 300px;
    max-height: calc(100vh - 64px);
    overflow: auto;
    padding: 12px;
    background: var(--panel-bg);
    color: var(--panel-text);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 40;
    font-size: 13px;
}

#infoPanel h3 {
    margin: 0 0 8px 0;
    font-size: 15px;
}

.statItem {
    display: inline-flex;
    min-width: 100px;
    gap: 10px;
    align-items: center;
}
