:root{color-scheme:dark;font-family:Microsoft YaHei,system-ui,sans-serif;background:#0b0e20;color:#f8e8c6}*{box-sizing:border-box}body{margin:0}#game{height:100dvh;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at center,#292747,#0b0e20 72%)}#game canvas{display:block;touch-action:none;box-shadow:0 0 70px #0008}button,input,select{font:inherit}button,a,input,select{border:1px solid #746486;border-radius:8px;padding:9px 12px;color:inherit;background:#27233e}button,a,select{cursor:pointer}button:hover,a:hover{background:#423551}a{text-decoration:none}#editor{max-width:1050px;margin:auto;padding:24px}.tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.tools input[type=text]{width:135px}#editor canvas{width:min(100%,480px);height:auto;touch-action:none;border:1px solid #746486;border-radius:8px}output{display:block;color:#ffe1a0;line-height:1.6;min-height:2em}h1{font-family:Georgia,Songti SC,SimSun,serif}#game{background:radial-gradient(ellipse at center,#f8fbff,#dce9fc 78%)}#game canvas{box-shadow:0 0 55px #5f79a855}
