:root{font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#415035;background:#e9eedb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 50% 0,#f6f5df,transparent 75%),#e9eedb}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #b57628;outline-offset:3px}.game{max-width:420px;margin:auto;min-height:100svh;padding:18px 20px 20px;position:relative}nav{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;position:relative;z-index:1}nav a{color:#576446;text-decoration:none;font-size:24px;display:flex;align-items:center;gap:5px}nav a span{font-size:12px}.day{display:flex;align-items:center;gap:7px;color:#7f8467}.day i{height:7px;width:7px;border-radius:50%;background:#deb050}header{position:relative;height:153px;padding-top:22px;overflow:hidden}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.4px;color:#89946c;margin:0 0 4px;position:relative;z-index:1}h1{font-size:30px;letter-spacing:1px;margin:0;color:#3b5939;font-weight:800;position:relative;z-index:1}.subtitle{font-size:12px;color:#7f8866;margin:7px 0;position:relative;z-index:1}.farm{position:absolute;bottom:-1px;width:100%;height:115px;left:0;z-index:0}.score-card{background:#fffdf3;border:1px solid #fffef9;border-radius:18px;padding:14px 17px 13px;box-shadow:0 4px 12px #6573440b;position:relative}.score-line{display:flex;justify-content:space-between;align-items:center}.caption{font-size:11px;color:#949477;font-weight:600}.score-line p{margin:1px 0 10px;line-height:1.2}.score-line strong{font-size:27px;color:#45613b;font-variant-numeric:tabular-nums}.target{font-size:13px;color:#989b7d}.moves{display:flex;align-items:center;gap:9px;background:#edf1df;border-radius:12px;padding:9px 12px;margin-top:-4px}.moves strong{font-size:25px}.moves span{font-size:10px;max-width:20px;line-height:1.3}.moves.low{background:#fae7d5;color:#a55b36}.moves.low strong{color:#a55b36}.progress{height:7px;overflow:hidden;border-radius:10px;background:#ecebdc}#progress-fill{height:100%;width:0;border-radius:10px;background:linear-gradient(90deg,#90b85e,#5b943e);transition:width .3s ease}.plot{margin-top:17px}.plot-label{display:flex;justify-content:space-between;align-items:center;margin:0 3px 9px;font-size:11px;color:#8b9176}.plot-label span:first-child{font-weight:700;color:#637752}.plot-label span:last-child{font-size:10px}.board-wrap{position:relative;padding:9px;border:1px solid #d7ddbf;border-radius:18px;background:#cdd7b2;box-shadow:inset 0 2px 3px #75895513,0 5px 0 #b7c29833}#board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;touch-action:none;user-select:none;isolation:isolate}.tile{appearance:none;position:relative;border:0;border-radius:9px;padding:2px;aspect-ratio:1;min-width:0;background:#f9f6e7;box-shadow:0 2px 0 #9ba77e22;transition:background .15s;overflow:visible;touch-action:none}.tile:nth-child(2n){background:#f2f0de}.tile:hover{background:#fffcef}.piece{display:block;width:100%;height:100%;position:relative;pointer-events:none;will-change:transform}.piece svg{display:block;width:100%;height:100%;filter:drop-shadow(0 1px 1px #53613320)}.tile.selected{background:#ffe5a0;box-shadow:inset 0 0 0 2px #c3933c}.tile.hinted{animation:hint 1s infinite}.tile.swapping{z-index:4}.tile:focus-visible{z-index:5;outline-offset:0}.piece.clearing{animation:clear .25s ease forwards}.message{min-height:18px;font-size:11px;text-align:center;color:#798566;margin:16px 0 13px}.actions{display:flex;gap:10px}.actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:9px;border:1px solid #d3dcc1;border-radius:12px;background:#f8f8ec;color:#526f41;font-size:12px;font-weight:650;box-shadow:0 2px 0 #c9d2b432}.actions button:first-child{background:#688f4c;border-color:#688f4c;color:#fffef0;box-shadow:0 3px 0 #55763d}.actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}kbd{font-family:inherit;font-size:9px;opacity:.6;border:1px solid currentColor;padding:1px 3px;border-radius:3px}footer{text-align:center;color:#a1a88d;font-size:10px;letter-spacing:.5px;padding-top:16px}#points-pop{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);pointer-events:none;color:#fffceb;font-size:34px;font-weight:850;opacity:0;text-align:center;text-shadow:0 2px 1px #3c6635,0 0 12px #3c663599;z-index:8}#points-pop small{display:block;font-size:13px;white-space:nowrap}#points-pop.show{animation:points 850ms both}.result{position:absolute;inset:0;z-index:10;display:grid;place-items:center;border-radius:17px;background:#e7e9cbe8;backdrop-filter:blur(4px);padding:20px}.result[hidden]{display:none}.result-card{text-align:center}.result-card h2{margin:6px 0 12px;font-size:28px;color:#496e3a}.result-card p{font-size:12px;line-height:1.8;margin:0 0 10px}.result-card #result-eyebrow{font-size:10px;letter-spacing:3px;color:#87965f}.result-card #result-icon{font-size:44px;color:#d4ab43;text-shadow:0 3px #f9ebbc}.result-card button{min-height:44px;padding:10px 25px;background:#688f4c;color:#fff;border:0;border-radius:12px;margin-top:6px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes hint{50%{background:#ffe3a0;box-shadow:inset 0 0 0 2px #cba74f}}@keyframes clear{40%{transform:scale(1.18)}100%{transform:scale(.1);opacity:0}}@keyframes points{0%{opacity:0;transform:translate(-50%,0) scale(.7)}20%,60%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-100%)}}@media(min-width:600px){body{display:grid;place-items:center;padding:25px}.game{width:390px;min-height:790px;border:1px solid #dce3c8;border-radius:30px;background:#eff2df;box-shadow:0 20px 70px #54663c20}header{height:170px}}@media(max-height:760px) and (max-width:599px){.game{padding-top:12px}header{height:128px;padding-top:15px}.farm{height:93px;bottom:-4px}h1{font-size:28px}.score-card{padding-top:12px;padding-bottom:12px}.plot{margin-top:14px}.message{margin:13px 0 11px}footer{padding-top:13px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-height:760px) and (max-width:599px){.game{padding-bottom:12px}header{height:112px;padding-top:10px}.farm{height:76px}.score-card{padding:10px 15px}.score-line p{margin-bottom:8px}.plot{margin-top:11px}.plot-label{margin-bottom:7px}.message{margin:11px 0 10px}footer{padding-top:10px}}
