/* src/core/hudhost/hudhost.css */
/* Shared runtime/user-facing HUD layout. Module-specific panels provide their own content styles. */

.cfg-hud-root {
    position: fixed;
    inset: 0;
    /* Keep runtime HUDs below the Configurator shell/menu. */
    z-index: 9998;
    pointer-events: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cfg-hud-zone {
    position: absolute;
    box-sizing: border-box;
    pointer-events: none;
    display: flex;
    gap: 12px;
}

.cfg-hud-zone-left {
    left: 0;
    top: 0;
    bottom: 0;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
}

.cfg-hud-zone-right {
    right: 0;
    top: 0;
    bottom: 0;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
}

.cfg-hud-zone-top {
    left: 24px;
    right: 24px;
    top: 18px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
}

.cfg-hud-zone-bottom {
    left: 24px;
    right: 24px;
    bottom: 18px;
    align-items: flex-end;
    justify-content: center;
    flex-direction: row;
}

.cfg-hud-zone-floating {
    inset: 0;
    align-items: flex-start;
    justify-content: flex-start;
}

.cfg-hud-panel {
    pointer-events: auto;
    box-sizing: border-box;
}

.cfg-hud-zone-left > .cfg-hud-panel,
.cfg-hud-zone-right > .cfg-hud-panel {
    height: 100%;
    min-height: 0;
}
