*{margin:0;padding:0;box-sizing:border-box}
html,body{width:100%;height:100%;}
body{overflow:hidden;background:#070b14;color:#eef4ff;font-family:Georgia,"Times New Roman",serif}
.game-screen{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#070b14}
.game-screen[hidden],.scene-screen[hidden]{display:none!important}
h1{margin:10px 0 8px;color:#d7dde8;font-family:"Trebuchet MS",Arial,sans-serif;font-size:32px;font-weight:bold;text-align:center;text-shadow:2px 2px 6px #000;letter-spacing:1.5px}
#contenedor{display:inline-block;background:#161b25;padding:20px;border-radius:10px}
canvas{display:block;border:2px solid #77808f}
#gameCanvas{width:100%;max-width:800px;height:auto;display:block;margin:0 auto}
.scene-screen{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 50% 20%,#17263b 0%,#0c1524 48%,#050912 100%)}
.scene-panel{width:min(760px,92vw);padding:42px 46px;border:1px solid rgba(190,205,225,.35);background:rgba(9,16,27,.92);box-shadow:0 24px 70px rgba(0,0,0,.5);text-align:center}
.scene-text{min-height:150px;color:#e5e9f0;font-size:21px;line-height:1.65;text-shadow:0 2px 5px #000;white-space:pre-line}
.scene-button{margin-top:18px;padding:11px 24px;border:1px solid #9eacbf;background:#151e2b;color:#edf2f8;font:700 13px "Trebuchet MS",Arial,sans-serif;letter-spacing:.08em;cursor:pointer}
.scene-button:hover{background:#202c3c}

.scene-kicker{
    margin-bottom:24px;
    color:#f0f4fa;
    font:700 20px/1.2 "Courier New",monospace;
    font-weight:700;
    letter-spacing:.18em;
    position:relative;
    top:30px;
    text-shadow:0 2px 6px rgba(0,0,0,.75);
}

@media(max-width:600px){
    .scene-kicker{
        top:20px;
        font-size:11px;
        letter-spacing:.12em;
    }
}

@media(orientation:landscape) and (max-height:600px){
    .scene-kicker{
        top:10px;
        font-size:10px;
        letter-spacing:.10em;
    }
}

@media(orientation:landscape) and (max-height:600px){
    .scene-kicker{
        transform:translateY(10px);
        font-size:10px;
        letter-spacing:.10em;
    }
}

@media(max-width:600px){h1{font-size:24px;margin:8px 0 6px;letter-spacing:1px}.scene-panel{padding:30px 24px}.scene-text{font-size:18px;line-height:1.55;min-height:170px}}
@media(orientation:landscape) and (max-height:600px){h1{font-size:20px;margin:5px 0}.scene-panel{padding:24px 30px}.scene-text{font-size:17px;min-height:120px}}
