:root{--paper:#111715;--ink:#e9eee3;--muted:#87918b;--line:#ffffff12;--green:#c8d89b;--lime:#dce99d;--white:#17201c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#111715;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,svg:focus-visible{outline:2px solid #c8d89b;outline-offset:4px}a{color:inherit;text-decoration:none}.topbar{height:76px;padding:0 36px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:32px;background:#141b18}.brand{font-size:17px;font-weight:650;display:flex;align-items:center;gap:11px;letter-spacing:1px}.brand-icon{border:1px solid #819575;color:#cfddb8;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:21px}.brand small{display:block;font-size:7px;letter-spacing:2px;margin-top:3px;font-weight:400;color:#899c88}.nav-link{margin-left:auto;font-size:11px;color:#b6c1b4}.edition{font-size:8px;color:#738279;letter-spacing:1px}.top-status{font-size:9px;color:#a4b396;letter-spacing:1px}.live-dot{width:5px;height:5px;border-radius:50%;background:#b4ce8c;display:inline-block;box-shadow:0 0 8px #b4ce8c55;margin-right:6px}main{max-width:1800px;margin:auto}.experiment{display:grid;grid-template-columns:minmax(0,1fr) 292px;min-height:700px;height:calc(100svh - 76px);max-height:1080px;background:#1a231f;border-bottom:1px solid var(--line)}.stage-column{position:relative;overflow:hidden;min-width:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 55% 34%,#3b443b 0,#222e27 42%,#131b17 80%)}.panel-top{position:absolute;inset:30px 32px auto;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.eyebrow{font-size:8px;letter-spacing:2px;font-weight:500;color:#a6b795;margin:0 0 13px}h1{font-size:30px;line-height:1.3;letter-spacing:1px;margin:0 0 10px;font-weight:550}h1 span{color:#c8d89b}.lead{font-size:10px;color:#8f9c8f;line-height:1.9;margin:0}#session-status{align-self:flex-start;margin-top:8px;border:1px solid #adbd8729;border-radius:20px;padding:7px 11px;font-size:8px;color:#abb99d;letter-spacing:1px}.stage{position:relative;flex:1;min-height:0;overflow:hidden;isolation:isolate}.scene-light{position:absolute;inset:0;background:linear-gradient(114deg,transparent 15%,#d7e6be05 30%,#d7e6be08 35%,transparent 60%);pointer-events:none}.scene-floor{position:absolute;left:-50%;right:-50%;height:50%;bottom:-28%;background-image:linear-gradient(#93b99714 1px,transparent 1px),linear-gradient(90deg,#93b99714 1px,transparent 1px);background-size:72px 72px;transform:perspective(450px) rotateX(55deg);mask-image:linear-gradient(transparent,#000);pointer-events:none}.subject-shadow{position:absolute;bottom:38px;left:55%;transform:translateX(-50%);width:360px;height:30px;filter:blur(18px);background:#070d09;opacity:.8}.character-wrap{position:absolute;left:15%;right:5%;top:50px;bottom:25px;display:flex;align-items:flex-end;justify-content:center}#back-svg{display:block;max-width:100%;height:100%;width:auto;aspect-ratio:5/6;touch-action:none;user-select:none;cursor:none;filter:drop-shadow(16px 10px 20px #08120a35)}.stage-label{position:absolute;top:175px;left:32px;font-size:8px;letter-spacing:2px;color:#6e8374;line-height:2;z-index:2;pointer-events:none}.stage-label strong{font-weight:400;font-size:9px;letter-spacing:0;color:#a2b39c}.axis-label{position:absolute;right:25px;top:166px;writing-mode:vertical-rl;letter-spacing:2px;font-size:7px;color:#708677;z-index:2;pointer-events:none}.feedback{position:absolute;bottom:95px;left:55%;transform:translateX(-50%);white-space:nowrap;border:1px solid #c6d6ae33;background:#121d15d9;padding:12px 23px;border-radius:6px;font-size:13px;box-shadow:0 6px 22px #0003;pointer-events:none;z-index:3;color:#e8ead9;backdrop-filter:blur(12px);transition:background .2s}.feedback:before{content:'“';color:#b5c995;margin-right:8px}.feedback:after{content:'”';color:#b5c995;margin-left:8px}.feedback.hit{background:#a7be6ad9;border-color:#d8e8a9;color:#152311}.feedback.hit:before,.feedback.hit:after{color:#314927}.stage-bottom{position:absolute;bottom:22px;left:32px;right:25px;display:flex;justify-content:space-between;font-size:8px;color:#859a87;z-index:2;gap:15px;pointer-events:none}.stage-bottom b{border:1px solid #92a78a30;padding:6px 9px;border-radius:4px;margin-right:8px;color:#c5d0b9;font-weight:400}.hud{position:absolute;bottom:100px;left:32px;width:152px;padding:16px 0;z-index:2;pointer-events:none}.hud-heading{font-size:9px;color:#bac9aa}.hud-heading>span:last-child{display:block;font-size:6px;letter-spacing:2px;color:#71866e;margin-top:7px}.metric{margin:18px 0}.metric-row{display:flex;justify-content:space-between;font-size:9px;color:#9eafa0}.metric-row output{font-size:10px;font-family:monospace;color:#e0e9ce}.track{height:3px;background:#ffffff10;margin-top:8px;overflow:hidden}.track span{height:100%;display:block;transition:width .15s;background:#879d71}.metric:nth-child(2) .track span{background:#adbfa4}.metric:nth-child(3) .track span{background:#d3de9a}.hud-disclaimer{font-size:7px;color:#687e6c;margin-top:25px;line-height:1.8}.controls{padding:26px 22px 20px;background:linear-gradient(150deg,#1d2822,#141c18);border-left:1px solid #b2c69e15;overflow:auto;scrollbar-width:thin;scrollbar-color:#455243 transparent}.section-heading{display:flex;align-items:center;gap:9px}.step{font-size:8px;color:#bacc9d;border:1px solid #7f987445;width:22px;height:22px;display:grid;place-items:center;border-radius:4px}.section-heading h2{font-size:14px;margin:0;font-weight:500;letter-spacing:1px}.tiny{margin-left:auto;font-size:7px;letter-spacing:1.5px;color:#6e8473}.equipment-intro{font-size:9px;color:#7e9281;margin:11px 0 19px}.tools{display:flex;flex-direction:column;gap:8px}.tool{display:flex;align-items:center;gap:13px;width:100%;height:77px;text-align:left;border:1px solid #aec49618;background:linear-gradient(105deg,#34433733,#1b261c20);border-radius:7px;padding:5px 12px 5px 4px;color:#b8c7b0;position:relative;transition:border-color .2s,background .2s}.tool:hover{background:#41573b44;border-color:#a9c58266}.tool[aria-pressed=true]{background:linear-gradient(100deg,#a8c1742e,#5b774529);border-color:#b5ce8188;color:#e7efcd;box-shadow:inset 0 0 20px #bcda7c06}.tool[aria-pressed=true]:after{content:'✓';position:absolute;right:10px;top:10px;color:#c0d991;font-size:10px}.tool .icon{width:77px;height:65px;display:block;flex-shrink:0;overflow:hidden;filter:drop-shadow(2px 5px 4px #0005);transition:transform .2s}.tool:hover .icon{transform:translateY(-2px) rotate(-3deg)}.tool .name{font-size:12px;display:block;letter-spacing:.4px}.tool .tool-class{display:block;font-size:7px;color:#8a9f80;margin-top:7px;letter-spacing:1px}.tool .number{font-family:monospace;font-size:7px;position:absolute;left:7px;top:7px;color:#788e6e}.tool-detail{padding:17px 0 15px;border-bottom:1px solid #c7d5b017;min-height:105px}.detail-label{display:block;color:#6e866e;font-size:7px;letter-spacing:2px;margin-bottom:9px}#tool-quote{font-size:10px;line-height:1.75;color:#9bab96;display:block}.attributes{display:flex;justify-content:space-between;margin-top:13px;font-size:8px;color:#7e967c}.attributes b{font-size:8px;letter-spacing:1px;color:#b2c786;margin-left:4px}.patience{padding:17px 0;margin:0 0 6px}.patience>div{display:flex;justify-content:space-between;font-size:10px;color:#afbea3}#hearts{color:#b7ca89;letter-spacing:2px}.patience p{font-size:8px;color:#7f947b;margin:9px 0 0}.primary{border:1px solid #cddca770;border-radius:5px;background:linear-gradient(#c6d9a0,#adc28a);color:#20321a;padding:13px 12px;width:100%;display:flex;justify-content:space-between;font-size:11px;transition:filter .2s;font-weight:600}.primary:hover{filter:brightness(1.1)}.text-button{display:block;width:100%;border:0;background:transparent;color:#8ba080;font-size:9px;padding:12px}.footnote{font-size:7px;color:#657a64;line-height:1.7;text-align:center;margin:2px 0 0}.notes{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:35px;padding:60px 40px 50px;background:#111815}.notes-title .eyebrow{font-size:8px;letter-spacing:1px}.notes h2{font-size:22px;line-height:1.55;margin:14px 0}.notes-title>span{font-size:10px;color:var(--muted)}.notes article{padding-left:23px;border-left:1px solid var(--line);padding-top:8px}.note-number{font-size:9px;color:#8a9c76;letter-spacing:1px}.notes h3{font-size:13px;margin:19px 0 12px}.notes article p{font-size:11px;line-height:1.9;color:#89988c;margin-bottom:14px}.notes article a{font-size:9px;color:#a6bc86;border-bottom:1px solid #b4bfa433}footer{border-top:1px solid var(--line);margin:0 40px;padding:24px 0;display:flex;justify-content:space-between;color:#738377;font-size:9px}.trail{animation:fade 2s forwards}@keyframes fade{0%,25%{opacity:.65}100%{opacity:0}}@media(min-width:1400px){.experiment{grid-template-columns:minmax(0,1fr) 330px}.controls{padding:30px}.tool{height:84px}.tool .icon{width:88px;height:75px}.panel-top{inset:35px 40px auto}h1{font-size:36px}.hud{left:40px;width:180px}.stage-label,.stage-bottom{left:40px}}@media(max-width:950px){.topbar{padding:0 22px}.edition{display:none}.experiment{grid-template-columns:minmax(0,1fr) 248px}.controls{padding:23px 17px}.panel-top{inset:25px 22px auto}h1{font-size:23px}#session-status{display:none}.character-wrap{left:7%;right:0;top:70px}.hud{left:22px;bottom:90px;width:130px;padding:14px;background:#12201899;backdrop-filter:blur(7px);border:1px solid #a8bc8f15;border-radius:6px}.hud-disclaimer{display:none}.stage-label{left:22px;top:145px}.feedback{left:58%;bottom:65px;font-size:11px;padding:10px 13px}.stage-bottom{left:22px;font-size:7px}.stage-bottom #location{display:none}.axis-label{right:14px}.tool{height:75px;gap:8px}.tool .icon{width:68px;height:61px}.tool .name{font-size:11px}.notes{gap:20px;padding:40px 24px}.notes article{padding-left:15px}}@media(max-width:650px){.topbar{height:65px;padding:0 16px;gap:15px}.brand{font-size:15px}.brand small{font-size:6px}.brand-icon{width:31px;height:31px;font-size:18px}.top-status{display:none}.nav-link{font-size:10px}.experiment{height:auto;min-height:0;grid-template-columns:minmax(0,1fr) 114px}.stage-column{height:650px;min-height:650px}.panel-top{inset:22px 14px auto}.eyebrow{font-size:6px;letter-spacing:1px}h1{font-size:20px;line-height:1.6;max-width:190px}.lead{font-size:8px;max-width:160px}.character-wrap{left:-12%;right:-12%;top:115px;bottom:70px}#back-svg{width:100%;height:100%;max-width:none}.stage-label{top:132px;left:14px;font-size:6px}.stage-label strong{font-size:7px}.axis-label{display:none}.hud{bottom:98px;left:12px;width:105px;padding:10px;background:#0c1817a3}.hud-heading{font-size:8px}.hud-heading>span:last-child{font-size:5px;letter-spacing:1px}.metric{margin:11px 0}.metric-row{font-size:7px}.metric-row output{font-size:8px}.track{margin-top:6px;height:2px}.feedback{left:50%;bottom:51px;font-size:9px;padding:9px 8px;max-width:95%;white-space:normal;width:max-content;text-align:center}.feedback:before,.feedback:after{display:none}.stage-bottom{bottom:23px;left:12px;right:10px;font-size:7px}.stage-bottom b{display:none}.controls{padding:20px 8px 12px;height:650px;border-left:1px solid #aabc8b20}.section-heading{gap:0}.section-heading h2{font-size:11px;margin:auto;letter-spacing:1px}.section-heading .step,.tiny,.equipment-intro{display:none}.tools{gap:6px;margin-top:16px}.tool{height:76px;display:flex;flex-direction:column;gap:0;padding:2px 0 7px;justify-content:flex-end;text-align:center;border-radius:5px}.tool .icon{width:57px;height:49px}.tool .name{font-size:9px}.tool .tool-class,.number{display:none}.tool[aria-pressed=true]:after{right:4px;top:3px;font-size:8px}.tool-detail{padding:11px 2px;min-height:0;border:0}.detail-label{display:none}#tool-quote{font-size:7px;line-height:1.7}.attributes{display:none}.patience{padding:9px 0;margin:0}.patience>div{display:block;text-align:center;font-size:8px}#hearts{display:block;font-size:9px;letter-spacing:0;margin-top:5px}.patience p{display:none}.primary{padding:10px 4px;font-size:8px;line-height:1.5;justify-content:center}.primary>span{display:none}.text-button{padding:10px 0;font-size:7px}.controls .footnote{display:none}.notes{grid-template-columns:1fr;gap:26px;padding:34px 22px}.notes-title h2 br{display:none}.notes-title h2{font-size:22px}.notes article{padding-left:16px}.notes h3{margin-top:13px}.notes article p{font-size:12px}footer{margin:0 22px;gap:15px;flex-wrap:wrap;font-size:8px}footer span:last-child{display:none}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.trail{animation-duration:.5s}*{transition:none!important}}
/* Close-up camera and equipment cursor. Crop the character artwork before drawing effects. */
.character-wrap{left:18%;right:7%;top:145px;bottom:65px;align-items:center}
#back-svg{width:100%;height:100%;aspect-ratio:370/322;overflow:visible;cursor:default}
#back-svg.over-back{cursor:none}
#cursor{filter:drop-shadow(3px 6px 3px #100d0866)}
#cursor-pose{transform-origin:0 0}
#cursor.scratching #cursor-pose{animation:tool-scratch .19s ease-in-out infinite alternate}
#cursor[data-tool="1"].scratching #cursor-pose{animation:tool-scratch .16s ease-in-out infinite alternate}
#cursor[data-tool="2"].scratching #cursor-pose{animation:claw-scratch .13s ease-in-out infinite alternate}
#cursor[data-tool="3"].scratching #cursor-pose{animation:rake-scratch .22s ease-in-out infinite alternate}
#cursor[data-tool="4"].scratching #cursor-pose{animation:nail-scratch .12s ease-in-out infinite alternate}
#cursor.scratching #cursor-ring{opacity:.18}
.contact-shadow{filter:blur(3px)}
.skin-glow{filter:blur(7px)}
.scratch-effect{animation:effect-life .7s linear forwards}
.particle{animation:particle-float .7s ease-out forwards}
.slash-burst{animation:slash-flash .3s ease-out forwards}
.sweet-spot-effect{animation:effect-life .9s ease-out forwards}
.hit-ring{transform-box:fill-box;transform-origin:center;animation:hit-expand .7s ease-out forwards}
.hit-label{animation:hit-rise .9s ease-out forwards;paint-order:stroke;stroke:#324921;stroke-width:.7px}
.trail[data-tool="2"]{filter:drop-shadow(0 0 1px #c9b4ff66)}
.trail[data-tool="4"]{filter:drop-shadow(0 0 1px #cdeefa66)}
@keyframes tool-scratch{from{transform:rotate(-5deg) translateY(-1px)}to{transform:rotate(4deg) translateY(2px)}}
@keyframes claw-scratch{from{transform:rotate(-8deg) translateY(-2px)}to{transform:rotate(5deg) translateY(3px)}}
@keyframes rake-scratch{from{transform:rotate(-3deg) translateY(-2px)}to{transform:rotate(3deg) translateY(3px)}}
@keyframes nail-scratch{from{transform:rotate(-4deg)}to{transform:rotate(5deg) translateY(1px)}}
@keyframes effect-life{0%,30%{opacity:.9}100%{opacity:0}}
@keyframes particle-float{from{opacity:.8;transform:translate(0,0)}to{opacity:0;transform:translate(var(--drift,0px),-17px)}}
@keyframes slash-flash{from{opacity:.8;transform:translateY(2px)}to{opacity:0;transform:translateY(-7px)}}
@keyframes hit-expand{from{transform:scale(.5);opacity:.9}to{transform:scale(2.5);opacity:0}}
@keyframes hit-rise{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-18px)}}
@media(max-width:950px){.character-wrap{left:0;right:0;top:170px;bottom:85px}.hud{bottom:98px}.feedback{bottom:59px}}
@media(max-width:650px){.character-wrap{left:-32%;right:-32%;top:175px;bottom:145px}#back-svg{width:100%;height:100%;max-width:none}.hud{bottom:75px}.feedback{bottom:48px}.stage-label{top:135px}.stage-bottom{bottom:22px}}
@media(prefers-reduced-motion:reduce){#cursor.scratching #cursor-pose{animation:none!important}.particle,.hit-ring,.hit-label,.slash-burst{animation:none!important}.scratch-effect,.sweet-spot-effect{animation-duration:.3s!important}}
#back-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(14px 10px 18px #06100944)}
#back-svg{position:relative;z-index:1;filter:none}
.character-wrap{align-items:stretch}
.subject-shadow{display:none}
.controls>#reset{margin-top:6px}
.controls .footnote{margin-top:12px}
.controls .tools{margin-top:20px}
.tool .number,.tool .tool-class{display:none}
.tool .name{font-size:12px}
.hud-heading>span:last-child{display:none}
@media(max-width:650px){.controls .tools{margin-top:16px}.tool .name{font-size:9px}}
/* Pure scratch view. */
.topbar{height:64px}
.experiment{height:calc(100svh - 64px);max-height:none;min-height:660px}
.character-wrap{top:35px;bottom:80px}
.feedback,.feedback.hit{background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;padding:0;color:#f0eee0;text-shadow:0 2px 4px #071209;bottom:40px;font-size:16px}
.feedback:before,.feedback:after{display:none}
.stage-bottom{bottom:16px}
.stage-bottom #location{display:none}
.stage-bottom #gesture-hint{font-size:9px;color:#96a58e}
.stage-bottom b{display:none}
.hud{bottom:95px}
.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}
#cursor-ring{display:none}
#cursor.scratching #cursor-pose,#cursor[data-tool].scratching #cursor-pose{animation:scrape-contact .13s ease-in-out infinite alternate}
#cursor[data-tool="3"].scratching #cursor-pose{animation:scrape-contact .18s ease-in-out infinite alternate}
#cursor[data-tool="4"].scratching #cursor-pose{animation:scrape-contact .10s ease-in-out infinite alternate}
.scratch-contact{animation:scratch-contact-fade .5s ease-out forwards}
@keyframes scrape-contact{from{transform:translateY(-2px) scaleY(.99)}to{transform:translateY(3px) scaleY(1.01)}}
@keyframes scratch-contact-fade{0%,25%{opacity:.75}100%{opacity:0}}
@media(max-width:950px){.character-wrap{top:35px;bottom:80px}.feedback{bottom:43px}.hud{background:none;border:0;backdrop-filter:none;padding:0}}
@media(max-width:650px){.topbar{height:60px}.experiment{height:calc(100svh - 60px);min-height:650px}.stage-column,.controls{height:100%;min-height:0}.character-wrap{top:25px;bottom:145px}.hud{bottom:88px;left:12px;width:105px;padding:0}.feedback{font-size:13px;bottom:41px}.stage-bottom{bottom:16px}}
@media(prefers-reduced-motion:reduce){#cursor.scratching #cursor-pose,#cursor[data-tool].scratching #cursor-pose{animation:none}.scratch-contact{animation-duration:.2s}}

/* Feeling and patience stay in the upper corners of the back scene. */
.stage .hud{top:26px;bottom:auto;left:30px;width:190px;padding:0;background:none;border:0;backdrop-filter:none;z-index:3}
.stage .hud-heading{font-size:19px;font-weight:600;color:#e6edda;text-shadow:0 2px 5px #071209}
.stage .metric{margin:18px 0}
.stage .metric-row{font-size:14px;color:#c2cfb9;text-shadow:0 2px 5px #071209}
.stage .metric-row output{font-size:17px}
.stage .track{height:4px;margin-top:9px}
.stage .patience{position:absolute;top:26px;right:28px;width:205px;padding:0;margin:0;z-index:3;pointer-events:none;text-align:right;text-shadow:0 2px 5px #071209}
.stage .patience>div{display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-size:19px;font-weight:600;color:#e6edda}
.stage #hearts{font-size:23px;letter-spacing:3px;white-space:nowrap}
.stage .patience p{display:block;font-size:12px;line-height:1.6;margin-top:12px;color:#aabb9d}
@media(max-width:950px){.stage .hud{left:20px;width:160px}.stage .hud-heading,.stage .patience>div{font-size:17px}.stage .patience{right:20px;width:175px}.stage #hearts{font-size:20px;letter-spacing:2px}}
@media(max-width:650px){.stage .hud{top:20px;left:12px;width:118px}.stage .hud-heading{font-size:14px}.stage .metric{margin:12px 0}.stage .metric-row{font-size:10px}.stage .metric-row output{font-size:12px}.stage .track{height:3px;margin-top:6px}.stage .patience{top:20px;right:12px;width:122px}.stage .patience>div{font-size:14px;gap:8px}.stage #hearts{font-size:16px;letter-spacing:0;margin:0}.stage .patience p{font-size:10px;margin-top:9px}.character-wrap{top:145px;bottom:95px}}
