@charset "UTF-8";
.restore-box{margin-top:24px;text-align:left;border-top:1px solid #aeb997;padding-top:18px}.restore-box label{display:block;font-weight:bold}.restore-box p,#save-result{font-size:13px;line-height:1.5}.restore-box input{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;font:inherit;font-size:12px;color:#244a40}.restore-box input::file-selector-button{min-height:44px;padding:9px;margin-right:6px;border:1px solid #476a50;border-radius:8px;background:#dfebcf;color:#244a40;font:inherit;cursor:pointer}.restore-box input:focus-visible{outline:3px solid #153e3c;outline-offset:2px}#save-result{overflow-wrap:anywhere}
.collection-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.collection-bar .quiet-note{flex:1;min-width:130px;line-height:1.5}.collection-slot{border:1px solid #91aa92;border-radius:12px;padding:10px;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;text-align:left;min-width:0}.collection-slot legend{font-weight:bold;padding:0 6px}.collection-choice{min-height:58px;padding:9px;border:2px solid #94ac97;border-radius:10px;background:#fff8e8;color:#244a40;overflow-wrap:anywhere}.collection-choice small{display:block;font-size:11px;line-height:1.4;margin-top:4px}.collection-choice[aria-pressed="true"]{border-color:#254e42;background:#cce0b9;box-shadow:inset 0 0 0 1px #254e42}.collection-choice[aria-pressed="true"] span:before{content:"✓ "}.collection-choice:disabled{opacity:.6;border-style:dashed}.collection-choice:focus-visible{outline:3px solid #153e3c;outline-offset:2px}.modal-tools{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}dialog{max-height:calc(100svh - 32px);overflow-y:auto;overscroll-behavior:contain}#collection-save-note{font-size:12px;line-height:1.4}
:root{color-scheme:dark;--ink:#183f3b;--cream:#fff3d9;--peach:#f7b18e;--sage:#b5ce9e;--sky:#153e3c;font-family:ui-rounded,"Trebuchet MS",Arial,sans-serif;background:var(--sky);color:var(--cream)}
*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 50% 18%,#2e6259 0,transparent 65%),#153e3c}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ffe78c;outline-offset:4px}button:disabled{cursor:default}button{touch-action:manipulation}a{color:inherit}.sprite{position:absolute;width:0;height:0;overflow:hidden}.game-shell{max-width:520px;margin:0 auto;padding:18px 24px max(22px,env(safe-area-inset-bottom));padding-top:max(16px,env(safe-area-inset-top))}.topbar{display:flex;align-items:center;justify-content:space-between}.wordmark{text-decoration:none;font-family:Georgia,serif;font-weight:bold;font-size:23px;letter-spacing:-1px}.wordmark span{font:9px "Trebuchet MS",sans-serif;text-transform:uppercase;letter-spacing:1.4px;margin-left:10px;vertical-align:middle;color:#d0dcca}.tools{display:flex;gap:8px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid #759185;background:#244e47;color:var(--cream);font-weight:bold;font-size:18px}.hero{text-align:center;margin-top:25px}.eyebrow{font-size:9px;letter-spacing:2.5px;font-weight:bold;color:#c1d3b3}h1{font:normal 53px/.95 Georgia,serif;letter-spacing:-2.7px;margin:12px 0 10px;position:relative}h1 em{color:var(--peach);font-weight:normal}.title-star{display:inline-block;font-size:25px;color:#edd18d;vertical-align:top;margin:0 0 0 6px}.tagline{font-size:13px;color:#d1ddc5;margin:0}.porch{margin:4px -13px -5px;position:relative}.porch>svg{width:100%;display:block}.prank-bubble{position:absolute;right:3%;top:15%;font-size:10px;transform:rotate(4deg);background:#f7e1b9;color:#224b43;padding:7px 10px;border-radius:10px 10px 0 10px;box-shadow:0 3px 0 #183e3b40}.score-strip{display:flex;align-items:center;justify-content:space-around;padding:14px 0 12px}.score-strip>div{display:flex;flex-direction:column;align-items:center;width:33.33%}.stat-label{font-size:9px;letter-spacing:1px;color:#c6d5c0}.score-strip strong{font:normal 29px Georgia,serif;margin-top:4px;font-variant-numeric:tabular-nums}.moves-stat{border-left:1px solid #4b7266;border-right:1px solid #4b7266}.moves-stat strong{color:var(--peach)}.board-frame{position:relative;padding:9px;border:1px solid #efd4a5;border-radius:22px;background:#e7d4b3;box-shadow:0 7px 0 #0c2926,0 12px 24px #072a284d}.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:4px;border-radius:14px;background:#b9b59a;touch-action:pan-y;user-select:none}.tile{position:relative;display:grid;place-items:center;aspect-ratio:1;border:0;border-radius:12px;padding:5px;background:#fcf0d6;box-shadow:0 3px 0 #8f927b;transition:transform .15s,background .15s,opacity .18s;min-width:0;touch-action:none}.tile svg{width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 2px 0 #193d3b12)}.tile[data-kind="0"]{background:#f9e0d1}.tile[data-kind="1"]{background:#f6e6bb}.tile[data-kind="2"]{background:#e0e8c5}.tile[data-kind="3"]{background:#dfebdf}.tile[data-kind="4"]{background:#ebe0e5}.tile:hover{filter:brightness(1.04)}.tile.selected{outline:3px solid #fff;outline-offset:-2px;box-shadow:0 0 0 3px #345e4f;transform:translateY(-3px);z-index:1}.tile.hinted{animation:nudge .65s ease-in-out 3;outline:3px dashed #355d49;outline-offset:-4px}.tile.clearing{transform:scale(.25) rotate(12deg);opacity:0}.tile.invalid{animation:shake .3s}.tile.locked{filter:saturate(.6)}.lock{position:absolute;inset:auto 0 0;background:#284c45e8;border-radius:0 0 10px 10px;font-size:10px;color:#fff4d8;padding:2px;pointer-events:none}.float-score{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);font-size:42px;font-weight:bold;color:#fff5c1;text-shadow:0 3px #224c43,0 0 9px #183e3b;pointer-events:none;opacity:0}.float-score.pop{animation:points .7s ease-out}.message{min-height:40px;margin:13px 0 0;text-align:center;font-size:12px;line-height:1.5;color:#e8e6cc}.reward-card{display:flex;align-items:center;gap:12px;background:#254d43;border:1px solid #668471;border-radius:14px;padding:12px 14px}.reward-icon{font-size:29px;color:#f4bd7d}.reward-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.reward-copy>span:first-child{font-size:13px;font-weight:bold}.reward-copy>span:nth-child(2){font-size:10px;color:#c8d7bf}progress{appearance:none;width:100%;height:5px;overflow:hidden;border:0;border-radius:3px;background:#173c35;margin-top:3px}progress::-webkit-progress-bar{background:#173c35}progress::-webkit-progress-value{background:#eeb889;border-radius:3px}progress::-moz-progress-bar{background:#eeb889;border-radius:3px}.bottom-actions{display:flex;justify-content:space-between;align-items:center;margin:8px 0 0;gap:8px}.text-button{border:0;background:transparent;color:#f0cd9e;padding:12px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.quiet-note{font-size:10px;color:#c9d4bd}footer{display:flex;align-items:center;flex-direction:column;gap:5px;margin-top:18px;font-size:10px;color:#c7d1bd}footer .text-button{font-size:10px;padding:7px 0}dialog{background:#fff1d7;color:#244a40;border:2px solid #eed1a6;border-radius:26px;padding:25px;max-width:370px;width:calc(100% - 32px);text-align:center;box-shadow:0 20px 80px #001e23aa}dialog::backdrop{background:#0b292ade;backdrop-filter:blur(5px)}dialog h2{font:32px/1.1 Georgia,serif;letter-spacing:-1px;margin:8px 0 14px}dialog p,dialog li{font-size:14px;line-height:1.65}dialog ul{text-align:left;padding-left:20px}dialog .text-button{color:#365f50}.modal-flower{font-size:40px;color:#b96c4c}.primary{display:block;width:100%;border:0;border-radius:14px;padding:15px 18px;margin-top:20px;background:#2f6551;color:#fff5df;box-shadow:0 4px #1c493c;font-weight:bold}.primary:active{transform:translateY(2px);box-shadow:0 2px #1c493c}.modal-score{font:54px Georgia,serif;color:#a9573e;display:block;margin:14px 0}.hidden{display:none!important}.paused .board{visibility:hidden}.paused .board-frame:after{content:"The garden is taking a breather.";position:absolute;inset:40% 12px auto;text-align:center;color:#244a40;font-family:Georgia,serif;font-size:22px}#raccoon-art.pranking{animation:nudge .5s 2;transform-origin:435px 150px}#reward-art{animation:reveal .6s ease-out}
@keyframes points{0%{opacity:0;transform:translate(-50%,-20%) scale(.7)}25%{opacity:1;transform:translate(-50%,-50%) scale(1)}80%{opacity:1}100%{opacity:0;transform:translate(-50%,-100%)}}@keyframes shake{25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}@keyframes nudge{50%{transform:translateY(-5px) rotate(3deg)}}@keyframes reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:800px){.game-shell{max-width:490px;padding-top:25px}.hero{margin-top:20px}body:before,body:after{content:"✦";position:fixed;color:#365d50;font-size:100px;top:32%;left:12%;transform:rotate(12deg);pointer-events:none}body:after{left:auto;right:12%;top:62%;font-size:65px}}
@media(max-width:370px){.game-shell{padding-left:12px;padding-right:12px}.hero{margin-top:18px}h1{font-size:45px}.board-frame{padding:7px}.board{gap:4px}.tile{padding:4px;border-radius:9px}.wordmark span{font-size:8px;letter-spacing:.8px}.stat-label{font-size:8px}.prank-bubble{font-size:9px}.tagline{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.float-score.pop{opacity:1}#reward-art{animation:none}}
.icon-button{width:44px;height:44px}.text-button{min-height:44px}.eyebrow,.stat-label{font-size:10px}footer{font-size:11px}
@media(max-width:370px){.game-shell{padding-left:10px;padding-right:10px}.porch{margin-left:0;margin-right:0}.board-frame{padding:5px}.board{padding:2px;gap:3px}.stat-label{font-size:9px}}

/* Illustrated evening art: controls and board dimensions stay independent. */
.porch{margin:6px -13px -5px;isolation:isolate}.porch-illustration{overflow:visible;border-radius:22px}.prank-bubble{top:7%;right:1%;font-size:10px;border:1px solid #fff1c7a0;box-shadow:0 3px 10px #082b2866;z-index:2}.porch-collectible{filter:drop-shadow(0 2px 1px #183f3b88)}#raccoon-art.raccoon-mischief{opacity:0}#raccoon-art.raccoon-mischief.pranking{opacity:1;animation:raccoon-glimmer 1.1s both;transform-origin:440px 125px}@keyframes raccoon-glimmer{0%,100%{opacity:0;transform:scale(.6)}35%,65%{opacity:1;transform:scale(1)}}@media(max-width:370px){.porch{margin-left:0;margin-right:0}.prank-bubble{font-size:9px}}@media(prefers-reduced-motion:reduce){#raccoon-art.raccoon-mischief.pranking{animation:none;opacity:0}}

/* Ceramic tile and collection art, reviewed at small size. */
/* Graphics-only overrides: append after current game CSS for a review.
   Grid and border-box hit sizes are retained. The first draft's 1px border
   consumed icon content space; this final draft restores border:0 and paints
   that edge with an inset shadow instead. No kind/motion/state changes. */
.board-frame{
  border-color:#f2cea0;
  background:
    repeating-linear-gradient(3deg,transparent 0 12px,#70452812 13px 14px,transparent 15px 31px),
    linear-gradient(110deg,#edc495 0%,#c99165 24%,#dfb081 50%,#b98057 78%,#e8b98a 100%);
  box-shadow:inset 0 2px 0 #fff0d4b3,inset 0 -3px 0 #875638,0 6px 0 #704b39,0 9px 0 #123a32,0 14px 22px #071f2947;
}
.board{
  background:linear-gradient(145deg,#8b977c,#afaf8c 60%,#818e74);
  box-shadow:inset 0 2px 7px #314b465c,inset 0 -1px 0 #e6dbb082;
}
.tile{
  border:0;
  background:linear-gradient(145deg,#fff8e7 0%,#f4e9ca 54%,#e7d8b7 100%);
  box-shadow:inset 0 0 0 1px #fff9e6b8,inset 0 2px 0 #fffdf5,inset 0 -2px 1px #b6a7875e,0 3px 0 #777b62,0 4px 3px #43564940;
}
.tile[data-kind="0"]{background:linear-gradient(145deg,#fff1df,#f4d9c8 60%,#dfbaa9)}
.tile[data-kind="1"]{background:linear-gradient(145deg,#fff7d9,#f2e0ae 60%,#dbc78f)}
.tile[data-kind="2"]{background:linear-gradient(145deg,#f0f4d8,#d9e4ba 60%,#bbcda0)}
.tile[data-kind="3"]{background:linear-gradient(145deg,#f0f6e9,#d9e9df 60%,#b6d0c6)}
.tile[data-kind="4"]{background:linear-gradient(145deg,#fbefee,#e9d9e3 60%,#cbb9cc)}
.tile svg{filter:drop-shadow(0 1.5px 0 #51413529)}
.tile.selected{box-shadow:inset 0 0 0 1px #fff8dc,inset 0 2px 0 #fffdf5,0 0 0 3px #244b3e,0 5px 0 #777b62}
.tile.hinted{outline-color:#264a38}
.tile:focus-visible{outline:3px solid #173e34;outline-offset:-4px}
.tile.locked{filter:saturate(.6)}

/* Visual layer only; inherits the existing two-column grid and >=58px controls. */
.reward-card{
  background:linear-gradient(135deg,#315b4d,#244b40);
  border-color:#8caa87;
  box-shadow:inset 0 1px 0 #d4deb32b,0 3px 0 #0e30294d;
}
.reward-icon{color:#f4c68b;text-shadow:0 2px 0 #153c32}
.collection-slot{
  background:linear-gradient(150deg,#fff9e9,#f4e8cf);
  border-color:#acb99a;
  box-shadow:inset 0 1px 0 #fffdf6,0 2px 0 #cbbfa24d;
}
.collection-slot legend{color:#244a40}
.collection-choice{
  background:linear-gradient(145deg,#fffdf2,#f5ead4);
  color:#244a40;
  border-color:#9daf92;
  box-shadow:inset 0 1px 0 #fffdf8,0 2px 0 #c8bfa366;
}
.collection-choice[aria-pressed="true"]{
  color:#214735;
  background:linear-gradient(145deg,#deedcb,#c6dbad);
  border-color:#356049;
  box-shadow:inset 0 0 0 1px #356049,0 2px 0 #9baa82;
}
.collection-choice:disabled{
  opacity:1;
  color:#695f51;
  background:#ece2d2;
  border-color:#baae99;
  border-style:dashed;
  box-shadow:none;
}
.collection-choice:focus-visible{outline:3px solid #153e3c;outline-offset:2px}
dialog{box-shadow:inset 0 2px 0 #fffdf4,0 20px 80px #001e23aa}
.round-mode{padding:10px 12px;border:1px solid #f0ce90;border-radius:12px;color:#fff0cb;text-align:center;font-size:13px}
.replay-choice{border:1px solid #9bb299;border-radius:12px;padding:12px;margin-top:16px;background:#eef0d8}
.replay-choice button{width:100%;min-height:48px;border:2px solid #38634f;border-radius:10px;background:#f8f2df;color:#214c3e;font-weight:bold;padding:10px}
.replay-choice p{font-size:13px;line-height:1.45;margin:10px 0 0}
#rest-porch{display:block;width:100%;min-height:48px;margin-top:10px;padding:10px;font-size:14px}
.round-summary{padding:18px 20px}
.round-summary .modal-flower{display:none}
.round-summary h2{font-size:26px;line-height:1.12;margin:4px 0 10px}
.round-summary .modal-score{font-size:38px;margin:8px 0}
.round-summary p{font-size:13px;line-height:1.45;margin:10px 0}
.round-summary .quiet-note{font-size:12px;color:#365349}
.round-summary .replay-choice{padding:10px;margin-top:12px}
.round-summary .replay-choice p{font-size:12px;margin:7px 0}
.round-summary details{font-size:12px;margin-top:8px;text-align:left}
.round-summary summary{cursor:pointer;min-height:44px;padding:12px 0}
.round-summary .primary{margin-top:6px;min-height:48px}
.round-summary #rest-porch{margin-top:4px;font-size:13px}
