/* canvas em tela cheia, fundo navy do jogo, sem barras de rolagem */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0B1026;
}

#embed-html {
    width: 100%;
    height: 100%;
}

canvas {
    display: block;
    cursor: default;
    outline: none;
    touch-action: none;
}

/* celular em pe: o jogo e so na horizontal (no Android o primeiro toque ja trava em paisagem, em tela cheia) */
#rotate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: #0B1026;
    color: #F0E6D2;
    font-family: sans-serif;
    font-size: 20px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#rotate .phone {
    width: 46px;
    height: 80px;
    border: 4px solid #19D3FF;
    border-radius: 10px;
    margin-bottom: 24px;
    animation: rotate-phone 1.8s ease-in-out infinite;
}

@keyframes rotate-phone {
    0%, 20% { transform: rotate(0deg); }
    60%, 100% { transform: rotate(-90deg); }
}

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