:root{--ink:#3c443e;--muted:#85897c;--line:#dcded1;--paper:#f4efe5;--peach:#e78777}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px Arial,"PingFang SC",sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #bc735f;outline-offset:3px}header{max-width:1400px;margin:auto;padding:25px 36px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:11px}.brand{font-size:19px;font-weight:800}.brand small{font-size:9px;font-weight:400;margin-left:10px;color:var(--muted)}header>span{letter-spacing:2px;color:var(--muted)}main{max-width:1400px;margin:auto;padding:30px 36px}.intro{margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:1.7px}.intro .eyebrow{color:var(--muted)}h1{font-size:43px;font-weight:500;letter-spacing:-2px;margin:12px 0}h1 em{font-style:normal;color:#c67461}.intro>p:last-child{font-size:12px;color:var(--muted)}.layout{display:grid;grid-template-columns:200px minmax(300px,580px) 250px;gap:30px;justify-content:space-between;align-items:start}.story{padding-top:20px}.number{font:italic 55px Georgia;color:#c3bcb0}.story h2{font-size:26px;font-weight:500;margin:24px 0 8px}.english{font-size:9px;letter-spacing:3px;margin-bottom:36px}.rule{margin-bottom:25px}.rule b{font-size:12px;font-weight:500}.rule p,.tip p{font-size:12px;color:var(--muted);line-height:1.9}.stamp{font-size:11px;letter-spacing:3px;line-height:2;color:#b68a75;margin-top:38px}.machine{border:1px solid #d9dacb;border-radius:22px;overflow:hidden;background:#e9ebdf}.machine-head{display:flex;justify-content:space-between;padding:17px 19px;font-size:10px;color:#717f6f}.surface{position:relative}canvas{display:block;width:100%;height:auto;aspect-ratio:720/820;touch-action:none}.controls{display:flex;padding:12px;gap:10px}.controls button{flex:1;border:1px solid #cdd4c3;background:#f3f3e9;padding:12px;border-radius:12px;font-size:15px}.controls small{display:block;font-size:10px;margin-top:5px;opacity:.65}.controls .selected{background:#3e5749;color:#f4edce;border-color:#3e5749}#repel.selected{background:#b97161;border-color:#b97161}.score-card{background:#3e5146;color:#edf1d8;padding:24px;border-radius:20px}#score{font-size:57px;letter-spacing:-3px;display:block;margin:15px 0 10px;font-weight:500}.score-card>p:not(.eyebrow){font-size:11px;color:#c1cbb2}.stats{display:flex;justify-content:space-between;border-top:1px solid #ffffff25;margin-top:23px;padding-top:18px;font-size:10px;color:#c1cbb2}.stats b{display:block;font-weight:500;font-size:25px;color:#edf1d8;margin-top:7px}.health{padding:22px 2px}.health>div{display:flex;justify-content:space-between;font-size:11px}.health b{font-weight:500}#lives{color:#c27764;letter-spacing:3px}.health p{color:var(--muted);font-size:10px;line-height:1.8}.actions{display:flex;gap:10px}.actions button{flex:1;background:transparent;border:1px solid #cfd3c5;border-radius:10px;padding:13px 5px;font-size:12px}.tip{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.tip>span{font-size:12px}.keyboard{font-size:10px;color:var(--muted);line-height:2;margin:22px 0}.other{font-size:11px;color:#aa7563}#overlay{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:#ecede45c;backdrop-filter:blur(2px)}#overlay[hidden]{display:none}.welcome{background:#fcfbf3f5;border:1px solid white;box-shadow:0 20px 70px #637d491a;padding:30px 24px;border-radius:22px;text-align:center;max-width:345px}.icon{font-size:50px;color:#c67965}.welcome .eyebrow{font-size:8px;color:#a08e7b}.welcome h2{font-size:24px;font-weight:500}.welcome #message{font-size:12px;line-height:1.9;color:var(--muted)}.primary{border:0;background:#3e5749;color:#f4edce;border-radius:11px;padding:15px 24px;margin-top:8px}footer{display:flex;justify-content:space-between;margin-top:35px;border-top:1px solid var(--line);padding:22px 0;font-size:9px;letter-spacing:1.3px;color:var(--muted)}@media(max-width:1100px){.layout{grid-template-columns:minmax(300px,1fr) 230px;gap:23px}.story{display:none}}@media(max-width:650px){header{padding:18px 16px}.brand{font-size:16px}.brand small,header>span{display:none}main{padding:22px 14px}.intro{margin-bottom:20px}h1{font-size:30px}.intro>p:last-child{font-size:11px;line-height:1.7}.layout{display:flex;flex-direction:column;gap:20px}.machine,.dashboard{width:100%}.dashboard{display:grid;grid-template-columns:1fr 1fr;gap:14px}.score-card{padding:17px;grid-row:span 2}.health{padding:10px 0}.health>div{flex-direction:column;gap:12px}#score{font-size:40px}.stats{margin-top:14px;padding-top:13px}.stats b{font-size:20px}.tip{margin-top:0;grid-column:1/-1}.keyboard{margin:0}.other{align-self:center;line-height:1.8}.welcome{padding:20px;max-width:290px}.welcome h2{font-size:21px}.machine-head{padding:14px;font-size:9px}footer{font-size:7px;letter-spacing:.4px}}
