/** * Minimal login/register page matching DSH's black/white/blue aesthetic. * * The page is a single self-contained HTML document: * - Black/white text on a light background, blue accent buttons. * - Dark mode via prefers-color-scheme (standalone page, no shell tokens). * - Uses the DeepSeek Harness favicon (served from `/favicon.svg` by the * existing web frontend). * - Detects registration mode via `/api/auth/status`. * - Renders the optional slider puzzle: the piece is a plain `` dragged * with pointer events over the background, and the drop offset is reported * with the login attempt. Geometry comes from the server so nothing here * hardcodes a canvas size. */ import { CANVAS_HEIGHT, CANVAS_WIDTH } from './slider/challenge.ts' export const LOGIN_PAGE_HTML = ` DeepSeek Harness

请登录以继续

`