.top-nav-bar {
    height: 60px;
    width: 100%;
    z-index: 100;
}

.game-page {

    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.game-area {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.ui-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.modal-layer {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    pointer-events: none; /* Let clicks pass through to map if no modal is active */
}

/* Ensure children (like the Settings box) still get clicks */
.modal-layer > * {
    pointer-events: auto;
}