* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a120c;
}

body {
    touch-action: none;
    overscroll-behavior: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

#game {
    display: block;
    width: 100vw;
    height: 100vh;
    touch-action: none;
    cursor: pointer;
    outline: none;
}

#rotate-hint {
    display: none;
    position: fixed;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    padding: 7px 14px;
    border-radius: 10px;
    background: rgba(8, 16, 10, 0.72);
    border: 1px solid rgba(255, 233, 168, 0.45);
    color: #ffe9a8;
    font: 700 12px/1.2 system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0.4px;
    pointer-events: none;
    z-index: 10;
}

@media (orientation: portrait) and (pointer: coarse) {
    #rotate-hint {
        display: block;
    }
}
