/* The finale preview (preview.html): the stage filling the frame, a replay button over it. */
/* sizes include padding, as on the game page (the arena is exactly 1280×720) */
* { box-sizing: border-box; font-variant-ligatures: none; }
html, body.preview { margin: 0; height: 100%; background: #0d0a12; overflow: hidden; }
/* the game's 1280×720 stage, scaled to fit the frame (bars around it when the shape differs) */
.preview-stage {
    position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px;
    transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
    overflow: hidden;
}
/* a preview has no battle to sum up */
.preview-stage .draw-result-meta { display: none; }
.preview-host, .preview-host .draw-arena { width: 1280px; height: 720px; border: 0; }
.preview-replay {
    position: absolute; right: 12px; bottom: 12px; z-index: 50;
    padding: 8px 14px; border: 2px solid #9c6f12; border-radius: 6px;
    background: #2a2133; color: #f5c542; font: 16px 'Pixelify Sans', monospace; cursor: pointer;
}
.preview-replay:hover { background: #3a2d46; }
