* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background: #1a1a2e;
    font-family: 'Segoe UI', 'Inter', system-ui, sans-serif;
}

#gameRoot {
    width: 100%;
    height: 100%;
    position: relative;
}

.game-stage {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.button-image {
    cursor: pointer;
    transition: transform 0.1s ease;
}
.button-image:active {
    transform: scale(0.96);
}

.sprite-layer {
    position: absolute;
    pointer-events: none;
}

.name-input {
    position: absolute;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #fff9c4;
    font-weight: bold;
    text-align: center;
    font-family: inherit;
    outline: none;
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
    top: 20%;
    z-index: 20;
}