:root{font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB",sans-serif;color:#3c5848;background:#faf8ef;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100svh;background:radial-gradient(ellipse at 12% 4%,#e9eddb88,transparent 35%),radial-gradient(ellipse at 91% 90%,#f0e2ca55,transparent 33%),#faf8ef}.game{width:min(1248px,100%);margin:auto;padding:43px 42px 40px}.heading{text-align:center;margin-bottom:29px}.title-wrap{display:inline-flex;align-items:center;position:relative}h1{font-size:clamp(40px,4.5vw,57px);letter-spacing:.18em;line-height:1.35;margin:0;padding-left:.18em;font-weight:900;color:#3c5c48;transform:rotate(-2deg);text-shadow:2px 3px 0 #dce4ce}.title-dot{position:absolute;width:10px;height:10px;right:-14px;bottom:11px;background:#dbab69;border-radius:50%;transform:rotate(20deg)}.title-doodle{position:absolute;width:71px;height:74px;left:-89px;top:-5px;transform:rotate(-12deg)}.heading p{font-size:14px;letter-spacing:.09em;color:#7e8877;line-height:1.8;margin:18px 0 0}.playground{position:relative;width:100%;height:clamp(430px,calc(100svh - 245px),700px);max-height:770px;border:8px solid #fffdf6;border-radius:30px;box-shadow:0 8px 0 #dedfcd,0 18px 50px #606f4f0c;background:#cbdcca;isolation:isolate}canvas{display:block;width:100%;height:100%;border-radius:22px;touch-action:none;cursor:crosshair;outline:none;-webkit-tap-highlight-color:transparent}canvas:focus-visible{outline:3px solid #7f9e7b;outline-offset:7px}.tools{position:absolute;top:18px;right:18px;display:flex;gap:8px}.icon-button{border:1px solid #cdd8c6;background:#fffdf3ed;color:#627e65;border-radius:15px;width:42px;height:42px;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 0 #536d4d13;transition:transform .16s,background .16s;-webkit-tap-highlight-color:transparent}.icon-button:hover{background:#fffef9;transform:translateY(-2px)}.icon-button:active{transform:translateY(1px)}.icon-button:focus-visible{outline:3px solid #668b69;outline-offset:3px}.icon-button svg{width:21px;height:21px}.sound-on{display:none}[aria-pressed="true"] .sound-on{display:initial}[aria-pressed="true"] .sound-off{display:none}.corner-knot{position:absolute;width:65px;height:61px;bottom:-24px;left:-25px;pointer-events:none}.victory{position:absolute;bottom:21px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:13px;background:#fffdf3f0;border:1px solid #fffdf3;padding:7px 14px 7px 7px;border-radius:50px;box-shadow:0 5px 20px #3c58481c;animation:pop .38s cubic-bezier(.2,1.6,.5,1)}.victory[hidden]{display:none}.victory-seal{width:58px;height:58px}.victory-seal svg{width:100%;height:100%}.again{border:0;box-shadow:none;background:#e9efdf;width:42px;height:42px;border-radius:50%}@keyframes pop{from{opacity:0;translate:0 20px;scale:.7}to{opacity:1;translate:0 0;scale:1}}@media(min-width:1600px){.game{padding-top:54px}.heading{margin-bottom:34px}}@media(max-width:650px){.game{padding:29px 15px 27px}.heading{margin-bottom:22px}h1{font-size:42px}.title-doodle{width:50px;left:-61px;top:-13px}.heading p{font-size:12px;letter-spacing:.015em;margin-top:16px}.playground{height:calc(100svh - 175px);min-height:280px;max-height:850px;border-width:6px;border-radius:25px}canvas{border-radius:19px}.tools{top:13px;right:12px;gap:7px}.icon-button{width:38px;height:38px;border-radius:13px}.corner-knot{width:49px;left:-17px;bottom:-26px}.victory{bottom:18px}}@media(prefers-reduced-motion:reduce){.victory{animation:none}.icon-button{transition:none}}
@media(max-width:360px){.title-doodle{width:39px;left:-44px;top:-9px}h1{font-size:38px}.heading p{font-size:11px;letter-spacing:0}}

