/* View: blockhead-runner — Page-specific styles */

.game-page {
    height: 100%;
    margin: 0;
    background: #0e0e10;
    color: #e7e7eb;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

#wrap {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
}

#game {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background: #15151a;
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    border-radius: 12px;
}

.hud {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    display: flex;
    gap: 16px;
    align-items: center;
    font-weight: 600;
}

.pill {
    background: #1f1f26;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px #2c2c36;
}

.btnbar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
}

.game-page button {
    background: #242430;
    color: #e7e7eb;
    border: 1px solid #30303a;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.game-page button:hover {
    filter: brightness(1.15);
}

.mobile {
    display: none;
}

@media (max-width: 900px) {
    .mobile {
        display: flex;
        gap: 10px;
        position: fixed;
        left: 12px;
        bottom: 12px;
    }
    .mobile button {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        font-size: 16px;
    }
}

.game-page a {
    color: #7dd3fc;
    text-decoration: none;
}
