/* mace_not_found — Winzer Run 404 mini game
   Scoped to .ce-not-found so it embeds cleanly on a normal page. */

.ce-not-found {
    color: #5f6368;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ce-not-found * {
    box-sizing: border-box;
}

.ce-not-found .nf-shell {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(24px, 7vw, 80px) 0;
}

.ce-not-found .nf-copy {
    width: min(100%, 580px);
    margin-bottom: clamp(46px, 9vh, 92px);
}

.ce-not-found .nf-copy h1,
.ce-not-found .nf-copy h2 {
    margin: 0;
    color: #202124;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.ce-not-found .nf-copy p {
    margin: 15px 0 0;
    font-size: 1rem;
    line-height: 1.55;
}

.ce-not-found .nf-game {
    position: relative;
    width: 100%;
    overflow: hidden;
    outline: none;
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ce-not-found .nf-canvas {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 260;
}

.ce-not-found .nf-hint {
    min-height: 1.5em;
    margin: 12px 0 0;
    text-align: center;
    font: 0.875rem/1.5 monospace;
    letter-spacing: 0.02em;
}

.ce-not-found .nf-hint kbd {
    border: 1px solid currentColor;
    border-radius: 2px;
    padding: 1px 5px;
    font: inherit;
}

.ce-not-found .nf-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 560px) {
    .ce-not-found .nf-hint {
        font-size: 0.8rem;
    }
    .ce-not-found .nf-hint kbd {
        display: none;
    }
}

@media (prefers-color-scheme: dark) {
    .ce-not-found {
        color: #bdc1c6;
    }
    .ce-not-found .nf-copy h1,
    .ce-not-found .nf-copy h2 {
        color: #e8eaed;
    }
}
