:root{font-family:ui-rounded,'Trebuchet MS',system-ui,sans-serif;color:#2d4037;background:#f6f3e8;line-height:1.42;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button{font:inherit;font-weight:750;color:#2d4037;border:2px solid #ced8c9;background:#fffefa;border-radius:14px;min-height:48px;min-width:48px;padding:.55rem .85rem;cursor:pointer;touch-action:manipulation}button:hover{border-color:#527655;background:#fff}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,[tabindex="-1"]:focus{outline:3px solid #a34e26;outline-offset:3px}button:disabled{opacity:.5;cursor:default}.topbar{background:#fffefa;border-bottom:1px solid #dce0cf;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem max(1rem,env(safe-area-inset-left));flex-wrap:wrap}.brand{color:inherit;text-decoration:none;display:flex;gap:.6rem;align-items:center;min-height:48px}.brand h1{font-size:1.25rem;line-height:1.1;margin:0}.brand small,.eyebrow{font-size:.68rem;letter-spacing:.12em;font-weight:800;color:#537351}.header-actions,.play-nav,.controls,.finish-actions{display:flex;gap:.5rem;flex-wrap:wrap}main{max-width:1100px;margin:auto;padding:1rem max(1rem,env(safe-area-inset-left)) 2rem}.welcome{background:#dcebd6 url('assets/meadow.svg') center bottom/cover;border-radius:28px;padding:2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:300px;overflow:hidden}.welcome h2{font-size:clamp(2.1rem,5vw,3.7rem);line-height:1.05;margin:.2em 0}.welcome p{max-width:32rem}.hero-pictures{display:flex;align-items:end;min-width:40%;max-width:46%;align-self:end}.hero-pictures img{width:36%;height:160px;object-fit:contain;filter:drop-shadow(0 8px 2px #42603925)}.hero-pictures img:nth-child(2){height:120px}.home-tools{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:1rem 0}.size-picker{display:flex;background:#e4e8da;padding:4px;border-radius:16px;gap:4px}.size-picker button{background:transparent;border-color:transparent;line-height:1.2}.size-picker button[aria-pressed=true]{background:#fffefa;border-color:#63835f;box-shadow:0 2px 0 #aebea5}.size-picker span{font-size:.8rem;display:block;font-weight:500}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:1rem 0}.cards button{text-align:left;display:flex;flex-direction:column;min-height:240px;justify-content:end;gap:.25rem;padding:1rem;border-color:#d1d9bd;background:#f0f4df;box-shadow:0 5px 0 #dce3cc}.cards button:nth-child(2){background:#fbefd7;border-color:#e2d1a6}.cards button:nth-child(3){background:#f2e8ee;border-color:#dccccf}.cards button:nth-child(4){background:#e1edf0;border-color:#bdd0d4}.cards strong{font-size:1.3rem}.cards button>span:last-child{font-weight:500;font-size:.9rem}.card-picture{height:130px;display:flex;align-items:center;justify-content:center;gap:.35rem;margin-bottom:.7rem}.card-picture img{width:70%;height:100%;object-fit:contain}.card-picture img+img{width:30%;height:45px}.moving-card img{width:28%;height:55px}.two-rugs i{display:flex;gap:1px;border-radius:10px;padding:8px;background:#dfbd75;width:50%;height:75px;align-items:center}.two-rugs i+i{background:#b8a5cd}.two-rugs img,.two-rugs img+img{width:45%;height:45px}.hide-card>img{width:35%;height:50px}.hide-card i{font-size:3rem;font-style:normal;text-align:center;background:repeating-linear-gradient(45deg,#87abb1 0 8px,#a2c2c5 8px 16px);border:3px solid #5d878f;border-radius:15px 15px 3px 3px;width:95px;height:85px;color:#244f58}.note{color:#5e6e60}.play-nav{margin-bottom:.75rem}.play-nav button{font-size:.9rem}.task-heading{margin-bottom:.75rem}.task-heading .eyebrow{margin:.2rem 0}#prompt{font-size:clamp(1.45rem,3.5vw,2.1rem);margin:.2rem 0;line-height:1.15}#instruction{margin:.3rem 0;font-size:1rem}.board{background:#dce9ce url('assets/meadow.svg') center top/100% auto no-repeat;border:2px solid #b8caa5;border-radius:22px;padding:1rem;display:grid;gap:.85rem;overflow:hidden}.scene-group{border-radius:18px;padding:.6rem;background:#fffefaE8}.scene-title{display:flex;align-items:center;justify-content:space-between;gap:.4rem;font-weight:800;margin:0 0 .5rem}.scene-title button{font-size:.85rem}.items{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;min-height:52px}.basket{border:3px solid #b2925e;background:repeating-linear-gradient(0deg,#f7ead1 0 10px,#f1dfbd 10px 13px);border-radius:8px 8px 22px 22px;padding:.65rem}.snack{background:#fffaf0;border:2px solid #cbaa68;width:54px;height:54px;padding:5px;position:relative;flex:none}.snack img,.selection img{width:100%;height:100%;object-fit:contain}.snack.selected,.plate.selected{outline:4px solid #ae5427;outline-offset:2px}.plates{display:grid;grid-template-columns:repeat(var(--columns,5),minmax(0,1fr));gap:.65rem;align-items:end}.plate{min-height:146px;min-width:0;display:flex;align-items:center;flex-direction:column;gap:.1rem;justify-content:end;background:transparent;border-color:transparent;border-radius:14px;padding:.4rem}.plate img.friend{width:82px;height:69px;object-fit:contain;max-width:100%;filter:drop-shadow(0 3px 1px #55734918)}.friend-name{font-size:.8rem}.dish{display:flex;align-items:center;justify-content:center;flex:none;border:3px solid #7e9ca2;border-radius:50%;background:radial-gradient(ellipse,#f8fbf5 50%,#d1e0db 52% 69%,#f8fbf5 71%);width:65px;height:47px}.dish img{width:39px;height:39px;object-fit:contain}.plate.empty .dish{border-style:dashed}.plate.served .dish{border-color:#5b845c}.plate.needs-one .dish{box-shadow:0 0 0 4px #8cac6770;border-color:#47763a}.plate:hover{background:#fffffa90}.tap-hint{box-shadow:0 0 0 3px #87a96880;border-color:#51793e}.rugs{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.rug{display:flex;gap:.5rem;align-items:center;justify-content:center;flex-wrap:wrap;padding:.8rem;border-radius:14px;background:repeating-linear-gradient(0deg,#f6dda3 0 12px,#f0d39a 12px 15px);border:3px solid #bc974e;min-height:160px}.rug:nth-child(2){background:repeating-linear-gradient(0deg,#ded1ea 0 12px,#d7c8e5 12px 15px);border-color:#9c87b0}.rug strong{width:100%}.rug .items{width:100%;justify-content:center}.rug button[data-place]{width:100%}.selection{display:flex;align-items:center;gap:.6rem;min-height:34px;margin:.45rem 0;font-size:.92rem;font-weight:750}.selection img{height:28px;width:28px}.feedback{min-height:1.5em;font-size:1.03rem;font-weight:750;margin:.65rem 0}.controls{margin:.35rem 0;align-items:center}.primary{background:#476d46;color:#fff;border-color:#476d46}.primary:hover{background:#365a36;color:#fff}.finish{display:flex;gap:1rem;align-items:center;padding:.85rem;background:#efe4bd;border:2px solid #dccc99;border-radius:18px}.finish strong{display:block;margin-bottom:.5rem}.finish img{width:85px;height:80px;object-fit:contain}.finish-actions button{font-size:.9rem}.together{margin-top:1rem;background:#fffefa;border-radius:14px;padding:.4rem .8rem}summary{cursor:pointer;font-weight:700;min-height:44px;padding:.5rem}.setting{display:block;padding:.7rem 0;min-height:48px}.setting input{width:24px;height:24px;vertical-align:middle;margin-right:.4rem}footer{text-align:center;color:#5b6e60;padding:1rem;font-size:.85rem}.counting{outline:4px solid #b66a29;outline-offset:2px;border-radius:12px}.move-field{height:175px;position:relative;margin:.5rem 0}.move-token{position:absolute;width:50px;height:50px;left:calc(var(--x)*19% + 1%);top:calc(var(--y)*85px);transition:left .9s ease,top .9s ease}.move-token img,.still-token img{width:100%;height:100%;object-fit:contain}.move-token.moving{animation:shift-snack .9s ease both}.move-token.entering{animation:come-in .9s ease both}.move-token.leaving{animation:go-out .9s ease both}.side-basket{display:flex;justify-content:space-between;align-items:center;border:2px solid #b2925e;background:#f5e5c7;border-radius:12px;padding:.5rem;min-height:56px;gap:.5rem}.side-snack{width:40px;height:40px;object-fit:contain}.still-token{display:inline-flex;width:44px;height:44px;flex:none}.whole-reminder{text-align:center;font-size:1.1rem;font-weight:600}.whole-reminder strong{font-size:1.45rem}.hide-parts{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.hide-part{padding:.65rem;background:#fffefa;border:2px solid #c9d4bc;border-radius:14px}.hide-part .items{margin-top:.5rem;min-height:80px;justify-content:center}.cloth{background:repeating-linear-gradient(45deg,#d0e2df 0 9px,#c4d9d6 9px 18px);border-color:#759d9d}.cloth.covered{background:repeating-linear-gradient(45deg,#91b5b5 0 9px,#a5c6c2 9px 18px)}.cloth-question{font-size:3.3rem;line-height:1;color:#274d4f}.guess-tray{background:#fff9e5;border:2px dashed #b59d54;border-radius:14px;padding:.75rem}.guess-tray p{font-size:.85rem;margin:.5rem 0 0}.counter{width:36px;height:36px;border-radius:50%;background:#efc45b;border:3px solid #b38b32;box-shadow:inset 0 0 0 3px #f8d97d;flex:none}.empty-space{font-size:.85rem;color:#63745f;min-height:40px;display:flex;align-items:center}.frame-wrap{display:flex;gap:.6rem;align-items:center;font-size:.8rem}.ten-frame{display:grid;grid-template-columns:repeat(5,22px);gap:3px}.ten-frame i{display:block;width:22px;height:22px;border:1px solid #66835e;border-radius:3px;background:#fffefa}.ten-frame i.filled:after{content:'';display:block;border-radius:50%;background:#597b4a;width:14px;height:14px;margin:3px}.saved-picnics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.saved-card{display:flex;flex-direction:column;gap:.5rem;padding:1rem}.mini-rugs{display:flex;width:100%;gap:.5rem}.mini-rugs>span{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;padding:.6rem;background:#f2dba2;border:2px solid #c6a267;border-radius:10px;min-height:75px;width:50%}.mini-rugs>span+span{background:#dfd3e9;border-color:#aa91b8}.mini-rugs i{width:13px;height:13px;border-radius:50%;background:#c76540}.empty-book{grid-column:1/-1;padding:1.5rem;background:#e6ecd9;border-radius:20px;text-align:center}.empty-book img{width:130px;height:100px;object-fit:contain}.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}[hidden]{display:none!important}
@keyframes shift-snack{from{transform:translateY(-10px);filter:drop-shadow(0 5px 2px #45644440)}to{transform:translateY(0)}}@keyframes come-in{from{transform:translate(30px,100px);opacity:.6}to{transform:translate(0);opacity:1}}@keyframes go-out{from{transform:translate(0);opacity:1}to{transform:translate(30px,100px);opacity:0}}
@media(min-width:700px){.mode-picnic{grid-template-columns:1fr 250px;align-items:center}.mode-rugs{grid-template-columns:1fr 250px;align-items:center}.mode-picnic .plates{grid-template-columns:repeat(var(--columns,5),minmax(0,1fr))}.mode-picnic .basket{align-self:stretch}.mode-rugs .basket{align-self:stretch}.mode-rugs .basket .items{align-content:start}.mode-rugs .frame-wrap,.mode-picnic .frame-wrap{grid-column:1/-1}}
@media(max-width:700px){main{padding-top:.65rem}.topbar{padding:.45rem .8rem;gap:.5rem}.brand h1{font-size:1.15rem}.brand small{font-size:.6rem}.header-actions{gap:.35rem}.header-actions button{padding:.4rem .55rem;font-size:.85rem}.welcome{padding:1.2rem;min-height:255px;position:relative;align-items:start}.welcome h2{font-size:2rem}.welcome p{max-width:210px;font-size:.9rem}.hero-pictures{position:absolute;bottom:8px;right:8px;width:160px;min-width:0;max-width:48%}.hero-pictures img{height:105px;width:36%}.hero-pictures img:nth-child(2){height:80px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.cards button{min-height:203px;padding:.75rem}.cards strong{font-size:1.1rem;line-height:1.15}.cards button>span:last-child{font-size:.82rem}.card-picture{height:90px;margin-bottom:.5rem}.card-picture>img{height:85px}.card-picture img+img{height:38px}.home-tools{gap:.5rem}.home-tools>button{font-size:.85rem}.size-picker button{padding:.45rem .6rem;font-size:.9rem}.board{padding:.65rem;gap:.65rem}.plates{grid-template-columns:repeat(var(--columns,5),minmax(0,1fr));gap:.25rem}.plate{min-height:111px;padding:.15rem;gap:0}.plate img.friend{width:55px;height:50px}.friend-name{font-size:.65rem}.dish{width:47px;height:36px;border-width:2px}.dish img{width:30px;height:30px}.controls button{padding:.5rem .65rem;font-size:.9rem}.play-nav{gap:.4rem;margin-bottom:.5rem}.play-nav button{padding:.45rem .65rem}.snack{width:48px;height:48px}.rugs{gap:.5rem}.rug{padding:.5rem;min-height:145px}.rug .snack{width:48px;height:48px}.rug .items{gap:.35rem}.rug strong{font-size:.9rem}.finish{gap:.5rem;padding:.65rem;align-items:start}.finish img{width:55px;height:65px}.finish-actions{gap:.4rem}.finish-actions button{padding:.4rem .6rem;font-size:.85rem}.saved-picnics{grid-template-columns:repeat(2,minmax(0,1fr))}.saved-card{padding:.65rem;font-size:.9rem}.mini-rugs{gap:.25rem}.mini-rugs>span{padding:.3rem;gap:3px}.move-token{width:43px;height:43px}.move-field{height:140px}.move-token{top:calc(var(--y)*70px)}.hide-part{padding:.5rem}.hide-parts{gap:.5rem}.hide-part .items{gap:.35rem}.still-token{height:35px;width:35px}.counter{width:30px;height:30px}.guess-tray .items{gap:.4rem}}
@media(max-width:360px){.plates{grid-template-columns:repeat(3,minmax(0,1fr))}.plate{min-height:110px}.plate img.friend{width:65px;height:51px}.friend-name{font-size:.75rem}.dish{width:56px}.brand img{width:32px;height:32px}.brand h1{font-size:1rem}.header-actions button{font-size:.8rem}.welcome{min-height:270px}.hero-pictures{width:140px;max-width:48%}.welcome p{max-width:180px}.size-picker button{font-size:.85rem}.cards strong{font-size:1rem}.rugs{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rug{min-width:0;min-height:130px;padding:.4rem}.rug .items{gap:.25rem}.rug strong{font-size:.85rem}.rug button[data-place]{padding:.35rem;font-size:.82rem}.saved-picnics{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.hint-dish{display:inline-block;width:29px;height:22px;border:2px dashed #6b8a79;border-radius:50%;background:#f6faf0;flex:none}.move-field{--row:85px}.move-token{top:calc(var(--y)*var(--row))}.move-token.moving{animation:track-snack .9s ease both}@keyframes track-snack{from{left:calc(var(--fx)*19% + 1%);top:calc(var(--fy)*var(--row))}to{left:calc(var(--x)*19% + 1%);top:calc(var(--y)*var(--row))}}
@media(max-width:700px){.welcome{padding-bottom:95px;min-height:300px}.welcome p{max-width:270px}.hero-pictures{bottom:6px}.plate img.friend{height:63px;width:76px}.plate{min-height:124px}.dish{width:55px;height:40px}.move-field{--row:70px}}
@media(max-width:360px){.plates{grid-template-columns:repeat(min(var(--columns,3),3),minmax(0,1fr))}}

.hint-rug{display:inline-block;width:27px;height:22px;border:2px solid #a88e51;border-radius:4px;background:#f0d38d;flex:none}

@media(min-width:700px){.mode-rugs{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:700px){.mode-rugs .basket{padding:.45rem .6rem}.mode-rugs .basket .scene-title{margin-bottom:.3rem}.mode-rugs .rugs{min-width:0}.mode-rugs .rug{min-width:0}.mode-rugs .rug .items{align-content:center}.mode-rugs .rug button[data-place]{margin-top:auto}}

.think{background:#fffdf3;border:2px solid #c5d1b8;border-radius:14px;padding:.3rem .7rem;margin:.6rem 0}.think small{font-weight:500}.think p{font-size:.85rem;margin:.25rem 0 .6rem}.prediction-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.4rem 0}.prediction-choices button{display:flex;flex-direction:column;align-items:center;padding:.45rem;font-size:.85rem}.prediction-choices svg{width:100%;max-width:110px;height:76px}.prediction-choices [aria-pressed=true]{border:3px solid #a34e26;background:#fff2d5}.prediction-reflection{background:#f5ecd2;border:2px solid #d5c596;border-radius:14px;padding:.75rem;margin:.7rem 0}.prediction-reflection p{font-size:.9rem;margin:.4rem 0}#turn-context{background:#edf2e6;border:1px solid #becfb2;border-radius:12px;padding:.75rem}

.reflection-idea{display:block;float:right;width:100px;margin:0 0 .4rem .5rem}.reflection-idea svg{width:100%;height:76px}.prediction-reflection:after{content:"";display:block;clear:both}
/* Larger text wraps guests into another row instead of narrowing their targets. */
@media(max-width:700px){.plates{grid-template-columns:repeat(auto-fit,minmax(max(48px,2.4rem),1fr))}.friend-name{overflow-wrap:anywhere;text-align:center}}
