:root{--paper:#fffaf0;--ink:#44392e;--mint:#e7f3dc;--green:#456f43;--coral:#be4e32;--line:#e3dac5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 ui-rounded,'PingFang SC','Microsoft YaHei',sans-serif}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{transition:transform .15s,background .2s,box-shadow .15s}button:active:not(:disabled){transform:translateY(3px);box-shadow:none}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #548249;outline-offset:4px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.chase-sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:#fff7e6;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.brand{font-size:30px;font-weight:600;letter-spacing:2px}.brand small{display:block;font-size:12px;font-weight:400;letter-spacing:1px;margin-top:5px;color:#7d715d}nav{display:grid;gap:9px;margin-top:40px}nav a{font-size:16px;padding:12px 14px;min-height:50px;border-radius:14px;color:#71644e}nav a.active{background:#e1eed6;color:#3e653b;box-shadow:inset 0 0 0 1px #c9ddb9}nav a:hover{background:#f1ead5}.sidebar-note{margin-top:auto;color:#6d7956;padding:25px 10px;font-size:15px}.sidebar-note>span{display:block;font-size:40px;margin-bottom:15px;color:#87a46a}.sidebar-note p{font-size:14px;line-height:1.8;color:#83765c}main{margin-left:220px;padding:0 36px 20px;max-width:1750px}header{height:76px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:14px;color:#83745b}header a{color:#5e7547}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 23px}.eyebrow{font-size:13px;letter-spacing:1px;color:#638151}.page-heading h1{font-size:33px;margin:8px 0;line-height:1.5;letter-spacing:0}.page-heading h1 span{color:#d6804d}.page-heading p{margin:0;color:#81725b;font-size:15px}.outline{background:#fffdf4;border:1px solid #d4d7b9;color:#557144;border-radius:20px;padding:10px 17px;min-height:44px;white-space:nowrap;font-size:15px}.primary{background:var(--coral);color:#fffdf4;border:1px solid #ab422b;border-radius:24px;padding:11px 23px;min-height:48px;box-shadow:0 4px 0 #983b26;font-weight:600;font-size:16px}.game-config{border:1px solid #d8dfc3;background:#f0f7e6;border-radius:20px;padding:20px 23px;display:flex;align-items:flex-start;gap:22px;flex-wrap:wrap;margin-bottom:22px}.game-config label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#63754c;flex:1;min-width:170px}.game-config label:first-child{flex:1.7}select{background:#fffdf4;color:#4f5e3b;border:1px solid #c7d4ad;border-radius:12px;padding:10px 12px;min-height:44px;max-width:100%;font-size:15px}.track-description{flex-basis:100%;display:flex;justify-content:space-between;gap:15px;font-size:13px;color:#7b7a5a;margin-top:-7px}.track-description b{font-weight:500;color:#67774e}.chase-world{position:relative;height:310px;overflow:hidden;border:2px solid #c6ddbf;border-radius:24px;background:linear-gradient(180deg,#def0ed,#f6f7da 70%,#cbdda9 70%);isolation:isolate;box-shadow:0 4px 0 #e0e8d0}.scene-info{display:flex;justify-content:space-between;gap:15px;position:absolute;top:17px;left:22px;right:22px;z-index:5;font-size:14px}.scene-sign{background:#fffdefd9;color:#668255;border:1px solid #d7e2b9;border-radius:18px;padding:5px 13px}#chase-distance{background:#fffaf0e6;color:#5f7447;border-radius:18px;padding:5px 13px}.sun{position:absolute;right:10%;top:35px;color:#e8bb56;font-size:65px;line-height:1;z-index:0;filter:drop-shadow(0 4px 0 #edcd82)}.cloud{width:95px;height:25px;background:#fffdf1;border-radius:30px;position:absolute;top:70px;left:11%;opacity:.9}.cloud:before,.cloud:after{content:'';position:absolute;border-radius:50%;background:#fffdf1}.cloud:before{width:40px;height:40px;left:15px;top:-20px}.cloud:after{width:55px;height:43px;right:9px;top:-15px}.cloud-two{top:90px;left:62%;transform:scale(.7)}.town{position:absolute;inset:0;z-index:1}.house{position:absolute;bottom:102px;width:105px;height:100px;background:#e8c7a0;border:2px solid #d8b58c;border-radius:7px 7px 0 0;box-shadow:inset 0 -7px 0 #d9b994}.house:before{content:'';position:absolute;top:-26px;left:-12px;width:126px;height:33px;background:#bbad8b;clip-path:polygon(20% 0,80% 0,100% 100%,0 100%);border-radius:10px 10px 4px 4px}.house i{position:absolute;left:17px;top:20px;width:26px;height:35px;background:linear-gradient(90deg,transparent 45%,#d6b891 47%,#d6b891 53%,transparent 55%),linear-gradient(0deg,#a2b5ae 46%,#d6b891 48%,#d6b891 53%,#a2b5ae 55%);border:3px solid #f5e8cc;border-radius:7px}.house b{position:absolute;right:18px;top:13px;font:30px Georgia;color:#957954}.house:after{content:'';position:absolute;bottom:0;left:61px;width:28px;height:42px;background:#a69575;border-radius:13px 13px 0 0}.h1{left:17%;height:87px;background:#eacfa9}.h2{left:43%;height:112px;background:#c9d7b5;border-color:#b7c99e}.h2:before{background:#92ad88}.h3{left:72%;height:76px;background:#e6c4b2}.h3:before{background:#c2917d}.tree{position:absolute;bottom:101px;height:73px;width:9px;background:#a08b64;border-radius:5px}.tree:before{content:'';position:absolute;top:-29px;left:-27px;width:64px;height:67px;background:#a7bd8c;border-radius:45% 52% 46% 50%;box-shadow:inset -9px -5px 0 #90ae73}.t1{left:8%}.t2{right:4%;transform:scale(.8);transform-origin:bottom}.road{position:absolute;bottom:0;width:100%;height:105px;border-top:8px solid #c1cd9d;background:#e3d8b7}.road-stripes{position:absolute;top:54px;height:6px;width:200%;background:repeating-linear-gradient(90deg,#fff4d3 0,#fff4d3 45px,transparent 45px,transparent 85px)}.running .road-stripes{animation:road-run 2s linear infinite}.runner{position:absolute;bottom:40px;width:86px;height:109px;z-index:4;transition:left .35s ease-out;transform:translateX(-50%)}.runner svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 4px 1px #766a4526)}.runner>span{position:absolute;top:110%;left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;padding:2px 10px;background:#fff9e4cc;border-radius:12px;color:#6f6c52}.police{left:12%}.thief{left:75%}.running .runner-body{animation:body-bounce .36s ease-in-out infinite}.running .leg{transform-box:fill-box;transform-origin:center top;animation:leg-run .36s ease-in-out infinite}.running .leg-b{animation-delay:-.18s}.running .thief .runner-body{animation-delay:-.1s}.scene-message{position:absolute;left:0;right:0;bottom:3px;text-align:center;color:#70694e;font-size:12px;line-height:1.6;z-index:6;pointer-events:none}#catch-celebration{position:absolute;right:21%;top:55px;color:#ba8045;font-size:27px;z-index:6;animation:celebrate .7s ease-out}#catch-celebration b{display:block;font-size:21px;color:#48683f;text-align:center}.won .thief{transform:translateX(-50%) rotate(5deg)}.won{border-color:#95b77d}.lost .thief{left:112%!important}.game-dashboard{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:23px 0 16px}.game-dashboard>div{padding:12px 16px;background:#fffdf5;border:1px solid #e7dfca;border-radius:15px;display:flex;flex-direction:column;gap:5px}.game-dashboard span{font-size:13px;color:#89795c}.game-dashboard b{font-size:18px;font-weight:600;color:#5a7044}.game-dashboard>div:last-child b,.game-dashboard>div:nth-child(4) b{font-size:15px}.progress-track{height:8px;background:#e6ebd6;border-radius:6px;overflow:hidden;margin-bottom:24px}.progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#9abc78,#659457);border-radius:6px;transition:width .2s}.typing-console{padding:22px;background:#fffdf5;border:2px solid #d4dfbf;border-radius:22px;box-shadow:0 4px 0 #e4e8d1}.console-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}.console-heading>div{display:flex;align-items:center;gap:14px}.console-heading b{font-size:18px}.console-heading span{font-size:13px;color:#77885c}#game-feedback{font-size:14px;color:#627c4a}#typing-notes{display:flex;gap:10px;overflow:hidden;padding:2px 2px 15px;min-height:106px}.typing-note{width:65px;min-width:65px;height:85px;border:1px solid #e3ddc9;border-radius:14px;background:#f7f5e9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;box-shadow:0 4px 0 #e6e1cc;color:#9a947b}.typing-note b{font-size:27px;font-weight:600;line-height:1.4}.typing-note small{font-size:12px}.typing-note.current{background:#dcebc8;color:#456e38;border:2px solid #8db374;box-shadow:0 4px 0 #afca93;min-width:75px;width:75px;transform:translateY(-2px)}.typing-note.current b{font-size:34px}.typing-input-label{display:block;font-size:13px;color:#8a7a60;margin:3px 0 8px}#typing-input{width:100%;min-height:48px;border:1px solid #ccd7b6;border-radius:12px;padding:11px 15px;background:#f8fbed;font-size:16px;color:#4e6740;caret-color:#5c8b4c}#typing-input:focus{outline:2px solid #89ad6f;outline-offset:2px;background:#fffef5}#typing-input:disabled{background:#f1eee0;cursor:default}#typing-input::placeholder{color:#827c65}.game-controls{display:flex;align-items:center;gap:12px;margin-top:20px;flex-wrap:wrap}.game-controls label{display:flex;align-items:center;gap:9px;font-size:13px;color:#6e7b52}.game-controls label:first-of-type{margin-left:auto}.game-controls select{font-size:14px;padding:8px 10px;min-height:42px}.game-controls input[type=range]{width:75px;accent-color:#749953}.difficulty-note{margin:18px 0 0;font-size:13px;line-height:1.8;color:#84765a}.all-notes-done{padding:24px 0;color:#5a7d42;font-size:19px}.typing-console.wrong{animation:wrong-shake .25s; border-color:#cc9375}.game-result{margin-top:24px;border:2px solid #bbd3a3;border-radius:22px;background:#ebf5dc;padding:28px;text-align:center;animation:celebrate .45s ease-out}.game-result>span{font-size:34px;color:#c19344}.game-result h2{font-size:25px;margin:8px 0 12px;color:#4e6b3b}.game-result p{font-size:16px;color:#718154}.game-result>div{display:flex;justify-content:center;gap:15px;margin-top:20px}.keyboard-hint{margin-top:30px}.keyboard-hint>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.keyboard-hint b{font-size:17px;font-weight:600}.keyboard-hint>div>span{font-size:13px;color:#8b7c60}#chase-keyboard{display:flex;height:100px;gap:4px;overflow-x:auto;padding-bottom:5px}#chase-keyboard button{flex:1;min-width:48px;border:1px solid #d4d2b9;border-radius:0 0 10px 10px;background:linear-gradient(90deg,#f0ecda,#fffdf2 15%,#fffdf2 85%,#eeead4);box-shadow:0 4px 0 #d9d3b9;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;padding:10px 3px;gap:8px}#chase-keyboard small{font-size:11px;color:#8b8469}#chase-keyboard b{font-size:16px;color:#6a7553}#chase-keyboard .target{background:#dbeac6;border-color:#92b471;box-shadow:0 4px 0 #adc88e}footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px 0 6px;font-size:12px;color:#8c7c60}dialog{width:570px;max-width:93vw;border:1px solid #dcd2b9;background:#fffaf0;color:#4e4433;border-radius:22px;padding:28px;box-shadow:0 20px 80px #4c3d2433}dialog h2{font-size:25px;margin-top:0}dialog p{font-size:16px;line-height:1.9;color:#7d6e53}dialog::backdrop{background:#40362666;backdrop-filter:blur(4px)}@keyframes body-bounce{50%{transform:translateY(-3px)}}@keyframes leg-run{50%{transform:rotate(20deg)}}@keyframes road-run{to{transform:translateX(-85px)}}@keyframes wrong-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes celebrate{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:1150px){.chase-sidebar{width:185px;padding:25px 16px}main{margin-left:185px;padding:0 25px 20px}.game-config{gap:15px;padding:18px}.game-config label{min-width:150px}.track-description{flex-wrap:wrap;gap:5px}.game-dashboard{grid-template-columns:repeat(3,1fr)}.game-controls label:first-of-type{margin-left:0}.console-heading{flex-wrap:wrap;gap:8px}.page-heading h1{font-size:30px}.game-dashboard>div{padding:11px 14px}.keyboard-hint>div:first-child{flex-wrap:wrap;gap:6px}}
@media(max-width:760px){.chase-sidebar{position:static;width:100%;padding:17px 18px 12px;display:block}.brand{font-size:27px}.brand small,.sidebar-note{display:none}nav{display:flex;gap:4px;margin-top:16px;overflow-x:auto;padding-bottom:4px}nav a{font-size:13px;white-space:nowrap;min-height:43px;padding:9px;flex-shrink:0}main{margin:0;padding:0 18px 16px}header{height:56px;font-size:12px}.page-heading{padding:22px 0 20px;gap:10px;align-items:flex-start}.eyebrow{font-size:12px}.page-heading h1{font-size:26px;line-height:1.5}.page-heading p{font-size:14px;line-height:1.8}.page-heading .outline{font-size:13px;padding:8px 12px;min-height:40px;flex-shrink:0}.game-config{padding:16px;gap:15px;border-radius:18px}.game-config label{min-width:120px;gap:7px;font-size:13px}.game-config label:first-child{flex-basis:100%}select{font-size:14px;padding:10px;min-height:44px}.track-description{font-size:12px;gap:6px;margin:0;line-height:1.8}.chase-world{height:280px;border-radius:20px}.scene-info{top:12px;left:10px;right:10px;font-size:12px;gap:10px}.scene-sign,#chase-distance{padding:5px 9px}.sun{top:53px;right:8%;font-size:46px}.cloud{transform:scale(.6);top:81px;left:7%}.cloud-two{transform:scale(.5);left:55%;top:110px}.house{width:74px;height:78px;bottom:95px}.house:before{width:90px;left:-10px;top:-21px;height:27px}.house i{left:10px;width:22px;height:29px;top:17px}.house b{right:8px;font-size:24px;top:12px}.house:after{left:44px;width:20px;height:32px}.h1{left:7%;height:66px}.h2{left:40%;height:92px}.h3{left:73%;height:62px}.t1{left:3%;bottom:94px;transform:scale(.7);transform-origin:bottom}.t2{right:1%;bottom:94px;transform:scale(.55)}.road{height:100px}.runner{width:68px;height:90px;bottom:39px}.runner>span{font-size:10px;top:110%;padding:2px 7px}.scene-message{font-size:11px;padding:0 10px;bottom:2px}.game-dashboard{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0 13px}.game-dashboard>div{padding:10px 11px;border-radius:13px}.game-dashboard span{font-size:12px}.game-dashboard b{font-size:17px}.game-dashboard>div:last-child,.game-dashboard>div:nth-child(4){grid-column:span 1}.game-dashboard>div:last-child b,.game-dashboard>div:nth-child(4) b{font-size:13px}.game-dashboard>div:nth-child(4){grid-column:span 2}.progress-track{margin-bottom:19px}.typing-console{padding:17px 13px;border-radius:19px}.console-heading{margin-bottom:16px}.console-heading b{font-size:17px}.console-heading>div{gap:14px}.console-heading span{font-size:12px}#game-feedback{font-size:13px;line-height:1.8}#typing-notes{gap:8px;min-height:95px}.typing-note{width:55px;min-width:55px;height:76px;border-radius:12px}.typing-note.current{width:62px;min-width:62px}.typing-note b{font-size:24px}.typing-note.current b{font-size:29px}.typing-note small{font-size:11px}.typing-input-label{font-size:12px;line-height:1.8}.game-controls{gap:9px;margin-top:17px}.game-controls .primary{width:100%;font-size:16px}.game-controls .outline{font-size:14px;flex:1;padding:9px 13px}.game-controls label{font-size:13px;margin-top:5px}.game-controls select{font-size:13px}.game-controls input[type=range]{width:75px}.difficulty-note{font-size:12px;line-height:1.9}.keyboard-hint{margin-top:25px}.keyboard-hint b{font-size:16px}.keyboard-hint>div>span{font-size:12px;line-height:1.8}#chase-keyboard{height:95px}#chase-keyboard button{min-width:48px}.game-result{padding:23px 18px}.game-result h2{font-size:23px}.game-result p{font-size:14px;line-height:1.9}.game-result>div{gap:10px;flex-wrap:wrap}.game-result .primary,.game-result .outline{font-size:15px}footer{font-size:12px;line-height:1.8;gap:6px}dialog{padding:23px}dialog h2{font-size:23px}dialog p{font-size:15px}#catch-celebration{top:71px;right:18%;font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.feedback-footer-link{color:#5f7d48;font-size:13px;text-decoration:underline;text-underline-offset:3px}
