.ms-stage {
    --ms-gap: clamp(10px, 2vmin, 18px);
    display: flex;
    justify-content: center;
    padding: var(--ms-gap);
}

.ms-frame {
    line-height: 0;
    border-radius: calc(var(--radius-xl, 24px) * var(--ms-scale, 1));
    box-shadow: 0 0 calc(60px * var(--ms-scale, 1)) rgba(0, 0, 0, 0.55);
}

.ms-frame canvas {
    --ms-page-bottom: #0d1420;
    display: block;
    background: var(--ms-page-bottom);
    border-radius: inherit;
    cursor: crosshair;
    /* Keep touch drags on the game instead of handing them to page scrolling. */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.ms-a11y {
    /* These controls must stay hidden even without the site's shared CSS. */
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ms-a11y :focus-visible {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    margin: 0 auto;
    max-width: calc(100vw - 24px);
    width: max-content;
    height: auto;
    z-index: 60;
    padding: 8px 14px;
    background: #0d1420;
    color: #eaf2f8;
    border: 2px solid #ffcc4d;
    border-radius: 8px;
    font: inherit;
}

.ms-seo{max-width:46rem;margin:0 auto;padding:1rem 0 2.5rem}
.ms-seo h1{font-size:1.75rem;line-height:1.2;margin:0 0 0.75rem}
.ms-seo h2{font-size:1.25rem;margin:1.75rem 0 0.5rem}
.ms-seo h3{font-size:1rem;margin:1.1rem 0 0.25rem}
.ms-seo p,.ms-seo li{color:var(--muted);line-height:1.6}
.ms-seo ul{padding-left:1.25rem;margin:0.25rem 0}
.ms-seo li{margin:0.25rem 0}
.ms-seo a{color:var(--brand)}

#btn-again:focus-visible { position: static; padding: 0; border: 0; margin: 0; }
.ms-frame canvas:focus-visible {
    outline: calc(2px * var(--ms-scale, 1)) solid #dac8a16b;
    outline-offset: calc(4px * var(--ms-scale, 1));
}
