*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,"PingFang SC",sans-serif;color:#63472d;background:#b8dda2}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible{outline:3px solid #ff8a3d;outline-offset:3px}.game{position:relative;isolation:isolate;max-width:520px;min-height:100svh;margin:auto;overflow:hidden;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 16px env(safe-area-inset-bottom)}.scene{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.game-top{display:flex;align-items:center;justify-content:space-between;padding:18px 4px 12px;text-shadow:0 2px 0 #fff}.game-top h1{font-size:24px;margin:0 0 5px;color:#a85224;letter-spacing:1px}.game-top span{display:inline-block;background:#fff4dce8;padding:5px 13px;border-radius:18px;font-size:12px;font-weight:700}.round{border:2px solid #fff5db;border-radius:50%;width:46px;height:46px;background:#ffb46a;color:#88522d;box-shadow:0 4px 0 #c48147;font-size:25px}.playfield{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:340px}.progress{display:flex;justify-content:space-between;gap:5px;background:#fff9e9ed;border-radius:16px;padding:10px 13px;font-size:11px;margin:8px 2px;color:#786139}.progress span:last-child{white-space:nowrap;color:#c46a29;font-weight:800}.board{position:relative;width:100%;aspect-ratio:1.04;margin:6px auto;filter:drop-shadow(0 9px 4px #566c3c33)}.tile{position:absolute;width:21%;aspect-ratio:1;border:2px solid #fff8de;border-radius:16%;background:#fff9e8;box-shadow:0 5px 0 #c7ad7d,0 7px 3px #52462840;padding:3px;transition:filter .18s,transform .12s;display:grid;place-items:center;overflow:hidden}.tile .art{display:block;width:100%;height:100%;border-radius:13%;background-image:url('images/gen/gptimg_1795624790_look.png');background-size:800% 1200%;background-repeat:no-repeat;pointer-events:none}.tile.blocked{filter:brightness(.68) saturate(.6)}.tile:not(.blocked):active{transform:scale(.92)}.tile.shake{animation:shake .24s}.storage{min-height:49px;display:flex;gap:8px;justify-content:center;align-items:center}.storage .tile{position:relative;width:44px;height:44px}.bottom{padding:5px 0 13px}.tools{display:flex;justify-content:center;gap:28px;margin:4px 0 16px}.tools button{position:relative;width:65px;height:70px;border-radius:23px;border:3px solid #fff0ce;background:#ffe3a9;color:#885332;box-shadow:0 4px 0 #ba8a55;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;font-weight:750}.tools i{font-size:26px}.tools b{position:absolute;right:-5px;top:-7px;border:2px solid #fff6de;background:#ff8a3d;color:white;border-radius:50%;width:23px;height:23px;line-height:18px}.tools .used{filter:grayscale(1);opacity:.65}.tray{height:70px;display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:10px 8px 12px;border:4px solid #c79050;border-radius:17px;background:#e6b97e;box-shadow:0 5px 0 #9c6c3b,inset 0 3px 3px #80563155}.slot{position:relative;border-radius:8px;background:#b98751;box-shadow:inset 0 2px 3px #79552e55;min-width:0}.slot .tile{inset:0;width:100%;height:100%;border-radius:9px;padding:1px;aspect-ratio:auto;box-shadow:0 3px 0 #b6a077}.tip{text-align:center;font-size:11px;color:#536331;text-shadow:0 1px #fff;margin:12px 0 0}.overlay{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;background:#40553655;backdrop-filter:blur(3px)}.overlay:empty{display:none}.panel{width:100%;text-align:center;border:4px solid #fff2cf;border-radius:30px;padding:26px 20px;background:#fff9e9;box-shadow:0 9px 0 #be955e,0 15px 40px #4a593b44}.panel h2{font-size:26px;color:#a35b28;margin:10px 0}.panel p{font-size:13px;line-height:1.8;color:#89745a}.primary,.secondary{display:block;width:100%;min-height:49px;border-radius:17px;font-weight:800;margin-top:13px}.primary{border:2px solid #ffe2af;color:#fff;background:#ff8a3d;box-shadow:0 4px 0 #d66b2a;font-size:18px}.secondary{border:2px solid #dfc597;background:#f4e8ca;color:#8b6437}.mascot{width:105px;height:96px;border-radius:28px;margin:auto;background-image:url('images/gen/gptimg_1795624790_look.png');background-size:360% 600%;background-position:72% 12%;animation:float 3s ease-in-out infinite}.toggle{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #eadbc2;background:none;padding:18px 6px;color:#785a37}.toggle b{color:#d87934}.toast{position:fixed;z-index:300;bottom:22%;left:50%;transform:translateX(-50%);border-radius:22px;background:#503d2eea;color:white;padding:12px 22px;font-size:13px;pointer-events:none;opacity:0;transition:opacity .15s;white-space:nowrap}.toast.show{opacity:1}.flying{position:fixed;z-index:200;pointer-events:none;margin:0}.spark{position:fixed;z-index:220;color:#ffb227;pointer-events:none;font-size:21px;text-shadow:0 1px #fff}.clearing{animation:clear .3s forwards}@keyframes clear{to{transform:translateY(-10px) scale(0);opacity:0}}@keyframes float{50%{transform:translateY(-7px)}96%{filter:brightness(1)}98%{filter:brightness(.88)}}@keyframes shake{25%,75%{transform:translateX(-4px)}50%{transform:translateX(4px)}}@media(min-height:820px){.game-top{padding-top:28px}.bottom{padding-bottom:25px}.playfield{justify-content:center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* This round's generated fruit sheet: four columns by three rows.
   Keep all existing control and tile boxes and interactions unchanged. */
.tile .art,.fruit-icon,.mascot{background-image:url('images/gen/gptimg_1795625771_look.png');background-size:400% 300%;background-repeat:no-repeat}
.fruit-icon{display:inline-block;width:26px;height:26px;flex-shrink:0;pointer-events:none;font-style:normal}
.fruit-apple{background-position:0% 0%}.fruit-banana{background-position:33.333% 0%}.fruit-grape{background-position:66.667% 0%}.fruit-orange{background-position:33.333% 50%}.fruit-cherry{background-position:66.667% 50%}
.round .fruit-icon{vertical-align:middle}
.mascot{background-position:0% 0%}
.spark.fruit-icon{width:21px;height:21px}
