/* Outgrown Treasures, the garage sale game (/play/garage-sale/). Uses the site's cabinet (.cab), paper (.px),
   cards and chunky buttons from site.css. Felt sticker art from img/garage/. Palette from the design:
   peach #f6d9c3, cream #fff8ec, purple #5b2a6e, pink #f78fb3, teal #2a9d8f, gold #d9a441, green #58a05c. */
.gs-hero .ph-art img{width:min(270px,58vw)}
.gs-hero .phero-hills{z-index:0}
#gs-play .torn{padding-top:clamp(60px,7vw,90px);padding-bottom:clamp(170px,16vw,210px)}
.gs-cab,.gs-modal,#gs-print{--peach:#f6d9c3;--cream2:#fff8ec;--plum:#5b2a6e;--pink:#f78fb3;--teal:#2a9d8f;--gold:#d9a441;--leaf:#58a05c}
.gs-cab{position:relative;--peach:#f6d9c3;--cream2:#fff8ec;--plum:#5b2a6e;--pink:#f78fb3;--teal:#2a9d8f;--gold:#d9a441;--leaf:#58a05c}
.gs-cab .cab-top{gap:8px 18px}
.gs-cabtogs{display:flex;gap:8px}
.gs-noscript{font-weight:800}

/* the 7 steps, in the cabinet header */
.gs-steps{display:flex;flex-wrap:wrap;gap:5px;font-size:14px;letter-spacing:.3px}
.gs-steps li{display:flex;align-items:center;gap:5px;padding:2px 9px 2px 3px;border-radius:999px;background:rgba(255,255,255,.14);line-height:1.2}
.gs-steps li span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.22);font-size:13px}
.gs-steps li.done{background:var(--green);color:var(--navy)}.gs-steps li.done span{background:rgba(255,255,255,.55)}
.gs-steps li.done span::after{content:"✓";font-size:12px}.gs-steps li.done span{font-size:0}
.gs-steps li.now{background:var(--yellow);color:var(--navy)}.gs-steps li.now span{background:var(--navy);color:#fff}
.gs-bank{position:relative;font-size:16px;letter-spacing:.5px}.gs-bank b{font-size:clamp(24px,2.6vw,30px);color:var(--yellow);letter-spacing:0;margin:0 4px}
.gs-coin{position:absolute;right:30%;top:0;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff3b0,#f3c64a 55%,#c9932a);border:2px solid #8a5a12;animation:gscoin .9s ease-out forwards;pointer-events:none}
@keyframes gscoin{0%{transform:translateY(30px) scale(.6);opacity:0}30%{opacity:1}100%{transform:translateY(-34px) scale(1);opacity:0}}

/* the screen */
.gs-screen{background-color:var(--cream2);border-radius:18px;color:var(--navy);padding:clamp(12px,2vw,22px);min-height:560px;position:relative}
.gs-screen h2:focus,.gs-modal h2:focus{outline:none}
.gs-h{font-family:var(--display);font-weight:800;font-size:clamp(24px,2.6vw,32px);line-height:1.1;color:var(--plum)}
.gs-sub{font-size:18px;line-height:1.4}
.gs-small{font-size:16px}
.gs-hint{font-family:var(--voice);font-size:21px;line-height:1.2;color:var(--plum)}
.gs-count{font-size:19px}.gs-count b{font-family:var(--display);font-size:24px}
.gs-ic{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#fff;border:2px solid currentColor;font-size:16px;line-height:1;flex:none}
.gs-screen svg{width:22px;height:22px;vertical-align:-4px}

/* big screen: the scene on the left; Noodle, the controls and the info card on the right; the main button underneath */
.gs-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,310px);grid-template-areas:"stage tray" "card tray" "act act";grid-template-rows:auto 1fr auto;gap:12px 16px;align-items:start}
.gs-left,.gs-right{display:contents}
.gs-action .gs-coach{flex:1 1 320px;min-width:0;margin-right:auto;background:none;border:0;box-shadow:none;padding:0;display:flex;align-items:center;gap:8px}
.gs-action .gs-bubble{flex-direction:row;align-items:center;gap:8px;min-height:0;padding:6px 8px 6px 12px}
.gs-action .gs-bubble p{font-size:19px;max-height:5.2em;overflow:auto}
.gs-action .gs-bubble .gs-read{margin:0;align-self:center;flex:none}
.go-main{display:flex;flex-wrap:wrap;gap:10px 12px;justify-content:flex-end;align-items:center;flex:0 1 auto}
.go-main:has(.gs-haggle){flex:1 1 520px}
/* sale day: the bar is not pinned, it sits right under the yard with the news and the buttons */
.is-sale .gs-action{position:static;box-shadow:none;border:3px solid var(--navy);margin-top:0}
.is-sale .go-main{flex:1 1 100%}
.go-main .gs-status,.go-main .gs-dealline{flex:1 1 100%;margin:0;font-size:20px;line-height:1.3;font-weight:700;text-align:left}
.gs-dealline b{font-family:var(--display);color:var(--plum)}.gs-card{grid-area:card}.gs-stage{grid-area:stage;position:relative;min-width:0}.gs-tray{grid-area:tray}.gs-action{grid-area:act;display:flex;justify-content:flex-end;gap:12px}
.gs-layout .card{padding:14px;gap:8px;border-width:3px;box-shadow:0 5px 0 rgba(30,43,91,.18)}
.gs-tray{background-color:#fff}
.gs-card{background-color:var(--cream2)}
.gs-action .chunk{min-height:58px}

/* Noodle the coach */
.gs-coach{flex-direction:row;align-items:flex-end;gap:8px;background-color:var(--peach)}
.gs-coach img{width:clamp(54px,5vw,66px);height:auto;flex:none;filter:drop-shadow(0 4px 3px rgba(40,30,20,.25))}
.gs-bubble .gs-read{position:static;width:auto;height:40px;border-radius:999px;padding:0 12px 0 8px;gap:6px;font-family:var(--display);font-weight:800;font-size:15px;align-self:flex-start;margin-top:6px}
.gs-bubble{position:relative;background:#fff;border:3px solid var(--navy);border-radius:18px 18px 18px 4px;min-width:0;padding:10px 12px;flex:1;min-height:58px;display:flex;flex-direction:column}
.gs-bubble p{font-family:var(--voice);font-size:20px;line-height:1.2;flex:1}
.gs-read{flex:none;width:44px;height:44px;border-radius:50%;border:3px solid var(--navy);background:var(--butter);color:var(--navy);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 3px 0 var(--navy2)}
.gs-read:active{transform:translateY(2px);box-shadow:none}
.gs-pop{animation:gspop .35s ease-out}
@keyframes gspop{0%{transform:scale(.92)}60%{transform:scale(1.04)}100%{transform:scale(1)}}

/* stickers (toys) */
.toy{background:none;border:0;padding:0;cursor:pointer;color:inherit}
.gs-toy-img{width:100%;height:auto;display:block;filter:drop-shadow(0 5px 4px rgba(60,40,20,.3));-webkit-user-drag:none;user-select:none}
.gs-toy-img.sm{width:70px;flex:none}.gs-toy-img.xs{width:34px;display:inline-block}
.toy:focus-visible .gs-toy-img{transform:rotate(-4deg) scale(1.06)}@media (hover:hover){.toy:hover .gs-toy-img{transform:rotate(-4deg) scale(1.06)}}
.toy:focus-visible{outline:4px solid var(--plum);outline-offset:4px;border-radius:14px}
.gs-wiggle{animation:gswig .5s ease-in-out}
@keyframes gswig{25%{rotate:-8deg}50%{rotate:6deg}75%{rotate:-3deg}}
.gs-bounce{animation:gsbounce .45s ease-out}
@keyframes gsbounce{30%{transform:translateY(-8px) scale(1.05)}60%{transform:translateY(2px)}}
.gs-cond{display:inline-block;font-weight:800;font-size:15px;line-height:1.2;padding:3px 9px;border-radius:999px;border:2px solid var(--navy);background:#fff;white-space:nowrap}
.gs-cond::before{margin-right:4px}
.gs-cond.c-new{background:#d9f0dc}.gs-cond.c-new::before{content:"✦"}
.gs-cond.c-good{background:#dcecf7}.gs-cond.c-good::before{content:"●"}
.gs-cond.c-worn{background:#f8e3d0}.gs-cond.c-worn::before{content:"♥"}
.gs-mini{display:flex;align-items:center;gap:10px}.gs-mini b{display:block;font-size:19px;line-height:1.2}.gs-mini span{font-size:17px}

/* scenes */
.gs-scene{position:relative;border-radius:16px;overflow:hidden;border:3px solid var(--navy)}
.gs-scene > .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.gs-room,.gs-yard{aspect-ratio:3/2}
.gs-room{background:linear-gradient(#fde6ee 0 60%,#d9b48a 60% 100%)}
.gs-room.r-garage{background:linear-gradient(#dfe3e8 0 62%,#b9bcc2 62% 100%)}
.gs-room.r-closet{background:linear-gradient(#efe4d2 0 62%,#c9a77f 62% 100%)}
.gs-yard{background:linear-gradient(#cfeaf7 0 52%,#9fd18f 52% 100%)}

/* step 1: the room */
.gs-toy{position:absolute;width:14%;translate:-50% -50%;z-index:2}
.gs-tag{position:absolute;right:-6%;top:6%;width:44%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff6c8 0 30%,rgba(255,226,90,.0) 31%),conic-gradient(from 0deg,#ffd54a,#fff2a8,#ffd54a,#fff2a8,#ffd54a);border:3px solid #8a5a12;box-shadow:0 0 0 4px rgba(255,255,255,.6);animation:gsglint 2.4s ease-in-out infinite}
.gs-tag::after{content:"";position:absolute;inset:30%;border-radius:50%;background:#fff}
@keyframes gsglint{50%{transform:scale(1.15) rotate(20deg)}}
/* "Add to pile?" bubble next to the tapped toy */
.gs-toy.looking .gs-toy-img{filter:drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px var(--yellow))}
.gs-addpile{position:absolute;z-index:6;translate:-50% 0;font-family:var(--display);font-weight:800;font-size:clamp(16px,2vw,21px);line-height:1.1;white-space:nowrap;color:#fff;background:var(--red);border:3px solid var(--navy);border-radius:999px;padding:8px 16px;min-height:44px;box-shadow:0 5px 0 var(--navy2);cursor:pointer;animation:gsaddpop .3s ease-out both}
.gs-addpile.above{translate:-50% -100%}
.gs-addpile.l{translate:-18% 0}.gs-addpile.l.above{translate:-18% -100%}
.gs-addpile.r{translate:-82% 0}.gs-addpile.r.above{translate:-82% -100%}
.gs-addpile::after{content:"";position:absolute;left:50%;width:14px;height:14px;background:var(--red);border:3px solid var(--navy);rotate:45deg;margin-left:-7px}
.gs-addpile.l::after{left:18%}.gs-addpile.r::after{left:82%}
.gs-addpile.below::after{top:-9px;border-right:0;border-bottom:0}
.gs-addpile.above::after{bottom:-9px;border-left:0;border-top:0}
.gs-addpile:active{box-shadow:0 2px 0 var(--navy2);margin-top:3px}
@keyframes gsaddpop{0%{opacity:0;transform:scale(.6)}70%{transform:scale(1.08)}100%{opacity:1;transform:none}}
.gs-pile{position:absolute;left:50%;bottom:2%;width:34%;height:30%;translate:-50% 0;z-index:3}
.gs-pile::before{content:"";position:absolute;left:0;right:0;bottom:0;height:46%;border-radius:50%;background:repeating-linear-gradient(90deg,#f78fb3 0 12px,#fbc3d6 12px 24px);border:3px solid var(--navy);opacity:.95}
.gs-piled{position:absolute;width:26%;rotate:var(--r);z-index:1;background:none;border:0;padding:0;cursor:pointer}
.gs-piled img{width:100%;height:auto;filter:drop-shadow(0 3px 2px rgba(60,40,20,.3))}
.gs-pile-label{position:absolute;left:50%;bottom:-2px;translate:-50% 0;font-family:var(--mark);font-size:15px;background:#fff;border:2px solid var(--navy);border-radius:8px;padding:0 8px;white-space:nowrap;z-index:2}
.gs-memory{display:flex;flex-direction:column;gap:10px}
.gs-memory-top{display:flex;gap:10px;align-items:center}
.gs-memory h3{font-family:var(--display);font-weight:800;font-size:21px;line-height:1.15;margin-bottom:4px}.gs-memory h3 small{font-size:15px;font-weight:700}
.gs-memo{font-family:var(--voice);font-size:21px;line-height:1.25;background:#fff;border-left:5px solid var(--pink);padding:8px 10px;border-radius:6px}

/* step 2: sort */
.gs-sortroom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);gap:12px;padding:14px;background:var(--peach);align-items:stretch;min-height:340px}
.gs-bin{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;border:4px solid var(--navy);border-radius:18px;padding:12px 8px;font-family:var(--display);font-size:22px;color:var(--navy);cursor:pointer;box-shadow:0 6px 0 var(--navy2)}
.gs-bin.donate{background:#cde9e5}.gs-bin.sell{background:#fde0ea}
.gs-bin:active{transform:translateY(4px);box-shadow:0 2px 0 var(--navy2)}
.gs-bin-icon{width:56px;height:56px;border-radius:50%;background:#fff;border:3px solid var(--navy);display:flex;align-items:center;justify-content:center}
.gs-bin.donate .gs-bin-icon{color:var(--teal)}.gs-bin.sell .gs-bin-icon{color:#c2457a}
.gs-bin-icon svg{width:30px;height:30px}
.gs-bin em{font-style:normal;font-size:30px;line-height:1}
.gs-bin-toys{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;margin-top:4px}
.gs-sortpile{display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:10px}
.gs-sorttoy{width:clamp(78px,9vw,112px);display:flex;flex-direction:column;align-items:center;gap:4px;border-radius:14px;padding:6px 4px;border:3px solid transparent}
.gs-sorttoy .gs-cond{font-size:13px;padding:2px 6px}
.gs-sorttoy.picked{background:#fff;border-color:var(--plum);box-shadow:0 0 0 4px rgba(91,42,110,.25)}
.gs-binbtns,.gs-choices{display:flex;flex-wrap:wrap;gap:10px}
.gs-binbtns .chunk,.gs-choices .chunk{flex:1 1 140px;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.chunk.c-teal{background-color:var(--teal);color:#fff}@media (hover:hover){.chunk.c-teal:hover{color:#fff}}
.chunk.c-pink{background-color:var(--pink);color:var(--navy)}
.chunk.c-green{background-color:var(--leaf);color:#fff}@media (hover:hover){.chunk.c-green:hover{color:#fff}}
.chunk.c-teal:disabled,.chunk.c-pink:disabled,.chunk.c-green:disabled,.chunk.c-red:disabled{background-color:#E4DED0;color:#454C6B}
.gs-tray .tog,.gs-jar .tog{min-height:46px}

/* step 3: sticky notes */
.gs-pricetable{background:linear-gradient(#e9c79f,#d9ae7f);padding:18px 14px 24px;min-height:380px}
.gs-table-top{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:16px 12px}
.gs-pricespot{display:flex;flex-direction:column;align-items:center;gap:4px;position:relative}
.gs-pricetoy{width:min(132px,100%);border-radius:14px;border:3px solid transparent;padding:4px}
.gs-pricetoy.picked{background:rgba(255,255,255,.7);border-color:var(--plum)}
.gs-pricename{font-weight:800;font-size:15px;line-height:1.2;text-align:center}
.gs-nonote{display:flex;align-items:center;justify-content:center;width:56px;height:48px;border:3px dashed var(--navy);border-radius:6px;font-family:var(--display);font-weight:800;font-size:24px;background:rgba(255,255,255,.5)}
.gs-note{display:inline-flex;align-items:center;justify-content:center;min-width:56px;height:52px;padding:0 6px;font-family:var(--display);font-weight:800;font-size:26px;color:var(--navy);border-radius:3px;box-shadow:0 3px 0 rgba(30,43,91,.25),0 6px 8px rgba(40,30,20,.2);rotate:-3deg;position:relative;background:var(--nb)}
.gs-note::before{content:"";position:absolute;left:0;right:0;top:0;height:9px;background:rgba(0,0,0,.07)}
.gs-note.n1{--nb:#fff07a}.gs-note.n2{--nb:#ffc2d6}.gs-note.n3{--nb:#c6efc0}.gs-note.n5{--nb:#bfe0fa}.gs-note.n8{--nb:#ded0fa}.gs-note.n10{--nb:#ffd09a}
.gs-note.tiny{min-width:38px;height:32px;font-size:18px}
.gs-note.gold{--nb:#ffd84a;outline:3px solid #8a5a12}
.gs-pad{display:flex;flex-wrap:wrap;gap:12px;padding:6px 2px}
.gs-padnote{background:none;border:0;padding:4px;border-radius:8px;cursor:pointer;min-width:64px;min-height:60px}
.gs-padnote:nth-child(2n) .gs-note{rotate:4deg}
.gs-padnote.picked{background:var(--plum)}.gs-padnote.picked .gs-note{rotate:0deg;translate:0 -4px}
.gs-padnote:focus-visible,.gs-placed:focus-visible{outline:4px solid var(--plum);outline-offset:2px}
.gs-placed{background:none;border:0;padding:0;cursor:pointer}
.gs-stick{animation:gsstick .35s ease-out}
@keyframes gsstick{0%{transform:translateY(-14px) scale(1.2) rotate(8deg)}100%{transform:none}}
.gs-guide{display:flex;flex-direction:column;gap:8px}
.gs-guide-k{font-family:var(--mark);font-size:18px;color:var(--plum)}
.gs-guide ul{display:flex;flex-direction:column;gap:4px;font-size:18px}
.gs-guide li{display:flex;justify-content:space-between;border-bottom:2px dashed rgba(30,43,91,.25);padding:2px 0}

/* step 4 and 5: the yard. Back to front: the scene picture, the grounded sign, butterflies, the coach corner
   (Mia and Noodle), the big sale table with its cloth, the customer with a name tag, and their words. */
.gs-sign{position:absolute;left:3%;bottom:40%;width:15%;z-index:2;transform-origin:50% 100%}
.gs-sign.big{width:19%}
.gs-sign img{width:100%;height:auto;display:block;filter:drop-shadow(0 5px 4px rgba(40,30,20,.3))}
.gs-sign p{position:absolute;left:12%;right:12%;top:9%;height:44%;display:flex;align-items:center;justify-content:center;text-align:center;font-family:var(--mark);font-size:clamp(11px,1.5vw,20px);line-height:1;color:var(--navy);background:var(--sign);border-radius:6px;border:2px solid var(--navy)}
.gs-sign::after{content:"";position:absolute;left:30%;right:30%;bottom:-3%;height:8%;border-radius:50%;background:rgba(40,60,20,.25);z-index:-1}
.gs-flutter{animation:gsflutter .7s ease-in-out}
@keyframes gsflutter{25%{rotate:-5deg}60%{rotate:4deg}}
.gs-flags{position:absolute;left:24%;width:44%;bottom:57%;height:auto;z-index:2}
.gs-cheer{position:absolute;left:0;bottom:1%;width:21%;height:46%;z-index:4;pointer-events:none}
.gs-cheer .mia{position:absolute;left:30%;bottom:6%;height:94%;width:auto;filter:drop-shadow(0 5px 4px rgba(40,30,20,.3))}
.gs-cheer .nd{position:absolute;left:0;bottom:0;height:56%;width:auto;filter:drop-shadow(0 5px 4px rgba(40,30,20,.3));animation:gscheer 2.6s ease-in-out infinite;transform-origin:50% 100%}
@keyframes gscheer{0%,70%,100%{transform:none}80%{transform:translateY(-8%) rotate(-4deg)}90%{transform:translateY(0) rotate(3deg)}}
.gs-saletable{position:absolute;left:23%;right:20%;bottom:3%;z-index:3;display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));align-items:end;justify-items:center;gap:0 4px;padding:0 9% 8%}
/* the tabletop (the back row stands on it) and the cloth skirt hanging in front, with a scalloped edge */
.gs-saletable::before{content:"";position:absolute;left:0;right:0;top:42%;bottom:0;z-index:-1;background:#fdeef3;border:3px solid var(--navy);border-radius:14px 14px 4px 4px;box-shadow:0 8px 0 rgba(30,43,91,.28)}
.gs-saletable::after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:0;padding-bottom:calc(8% + 12px);z-index:-1;border-top:3px solid var(--navy);
  background:linear-gradient(#f7c9d8,#f7c9d8) top/100% calc(100% - 12px) no-repeat,radial-gradient(circle at 50% 0,#f7c9d8 0 9px,transparent 10px) bottom/22px 12px repeat-x}
.gs-yard.has-cloth .gs-saletable::before{background:repeating-conic-gradient(#f4b3b3 0 25%,#fff 0 50%) 0 0/30px 30px}
.gs-yard.has-cloth .gs-saletable::after{background:repeating-conic-gradient(#e86a6a 0 25%,#fff 0 50%) top/30px 30px,radial-gradient(circle at 50% 0,#e86a6a 0 9px,transparent 10px) bottom/22px 12px repeat-x;background-size:30px 30px,22px 12px;background-repeat:repeat,repeat-x}
.gs-tent{position:absolute;left:1.5%;bottom:calc(58% - 18px);font-family:var(--mark);font-size:clamp(12px,1.3vw,17px);background:#fff;color:#c2457a;border:3px solid var(--navy);border-radius:6px 6px 2px 2px;padding:1px 8px;rotate:-6deg;z-index:2}
.gs-cashbox{position:absolute;right:1%;bottom:calc(58% - 16px);width:clamp(44px,11%,80px);aspect-ratio:6/5;z-index:2}
.gs-tablespot{position:relative;width:100%;max-width:150px;display:flex;flex-direction:column;align-items:center;rotate:var(--r)}
.gs-tabletoy{display:block;width:100%;background:none;border:0;padding:0;cursor:pointer}
.gs-tabletoy .gs-toy-img{max-height:clamp(54px,11vw,140px);width:auto;max-width:100%;margin:0 auto}
.gs-tablespot .gs-note{margin-top:-12px;z-index:1}
.gs-tablespot.front{order:-1}
.gs-tablespot.front::after{content:"★ front";position:absolute;top:-8px;left:50%;translate:-50% 0;font-size:13px;font-weight:800;background:var(--yellow);border:2px solid var(--navy);border-radius:999px;padding:0 6px;white-space:nowrap}
.gs-tablespot.looking .gs-toy-img{filter:drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px var(--yellow))}
.gs-tablespot.looking::before{content:"";position:absolute;inset:-6% -4%;border:3px dashed var(--plum);border-radius:16px}
.gs-tablespot.sold .gs-tabletoy{opacity:.35}
.gs-soldtag{position:absolute;top:24%;left:50%;translate:-50% 0;rotate:-14deg;font-family:var(--display);font-weight:800;font-size:15px;color:#fff;background:#c2457a;border:2px solid var(--navy);border-radius:6px;padding:0 6px}
.gs-fly{position:absolute;width:30px;height:22px;z-index:2;animation:gsfly 18s linear infinite;pointer-events:none}
.gs-fly::before,.gs-fly::after{content:"";position:absolute;top:0;width:15px;height:20px;background:#f78fb3;border:2px solid var(--navy);border-radius:60% 60% 50% 50%;animation:gsflap .3s ease-in-out infinite alternate}
.gs-fly::before{left:0;transform-origin:100% 60%;rotate:-14deg}.gs-fly::after{right:0;transform-origin:0 60%;rotate:14deg}
@keyframes gsflap{to{scale:.45 1}}
.gs-fly.f1{top:14%;left:-6%}
.gs-fly.f2{top:30%;left:-6%;animation-delay:-6s}.gs-fly.f2::before,.gs-fly.f2::after{background:#ffe25a}
.gs-fly.f3{top:22%;left:-6%;animation-delay:-12s;animation-duration:21s}.gs-fly.f3::before,.gs-fly.f3::after{background:#9fd8f0}
@keyframes gsfly{0%{transform:translate(0,0)}25%{transform:translate(26vw,-26px)}50%{transform:translate(50vw,12px)}75%{transform:translate(68vw,-18px)}100%{transform:translate(100vw,0)}}
.gs-swatches{display:flex;flex-wrap:wrap;gap:8px}
.gs-swatch{display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:4px 14px 4px 6px;border:3px solid var(--navy);border-radius:999px;background:#fff;font-family:var(--display);font-weight:800;font-size:18px;color:var(--navy);cursor:pointer}
.gs-swatch span{width:34px;height:34px;border-radius:50%;background:var(--c);border:2px solid var(--navy)}
.gs-swatch[aria-pressed="true"]{background:var(--butter);box-shadow:0 0 0 4px var(--plum)}
.gs-swatch[aria-pressed="true"]::after{content:"✓";font-size:18px}

/* the customer and their words */
.gs-customer{position:absolute;right:0;bottom:0;height:76%;z-index:4}
.gs-customer.arrive{animation:gsin .7s cubic-bezier(.2,.9,.3,1.15)}
.gs-customer img{height:100%;width:auto;display:block;filter:drop-shadow(0 6px 5px rgba(40,30,20,.3))}
.gs-customer.leaving{animation:gsout .55s ease-in forwards}
.gs-nametag{position:absolute;left:50%;bottom:4%;translate:-50% 0;white-space:nowrap;font-family:var(--display);font-weight:800;font-size:clamp(12px,1.3vw,16px);color:var(--navy);background:#fff;border:3px solid var(--navy);border-radius:10px;padding:0 8px;box-shadow:0 3px 0 rgba(30,43,91,.3)}
@keyframes gsin{0%{transform:translateX(80%);opacity:0}60%{opacity:1}75%{transform:translateX(-3%)}100%{transform:none;opacity:1}}
@keyframes gsout{100%{transform:translateX(90%);opacity:0}}
.gs-speech{position:absolute;right:21%;top:3%;max-width:54%;z-index:5;background:#fff;border:3px solid var(--navy);border-radius:18px 18px 4px 18px;padding:8px 8px 8px 12px;display:flex;gap:6px;align-items:flex-start;box-shadow:0 5px 0 rgba(30,43,91,.2)}
.gs-speech p{font-size:18px;line-height:1.3;font-weight:700;flex:1}
.gs-speech.leo{right:auto;left:22%;border-radius:18px 18px 18px 4px;background:#fdf0f6}
.gs-custcard{display:flex;gap:10px;align-items:center;background:var(--peach);border:3px solid var(--navy);border-radius:14px;padding:8px}
.gs-custcard img{width:54px;height:auto;flex:none;background:#fff;border-radius:10px;border:2px solid var(--navy)}
.gs-custcard b{display:block;font-family:var(--display);font-size:21px;line-height:1.1}
.gs-custcard em{display:block;font-style:normal;font-weight:800;font-size:15px;color:var(--plum)}
.gs-custcard span{display:block;font-size:16px;line-height:1.3;margin-top:2px}.gs-custcard span i{font-style:normal;font-weight:800}
.gs-tillbar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--plum);color:#fff;border-radius:14px;padding:6px 16px;box-shadow:0 5px 0 #3b1a48}
.gs-tillbar span{font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:1px}
.gs-tillbar b{font-family:var(--display);font-size:clamp(40px,4vw,52px);line-height:1;color:var(--yellow);font-variant-numeric:tabular-nums}
.gs-status{font-size:18px;line-height:1.35;font-weight:700}
.is-sale .gs-coach img,.is-setup .gs-coach img{display:none}
@media (min-width:1021px){
  .gs-layout.is-setup{grid-template-areas:"stage tray" "card tray" "act act";grid-template-rows:auto 1fr auto}
  .gs-layout.is-sale{grid-template-areas:"stage tray" "act tray" "card tray";grid-template-rows:auto auto 1fr}
  .is-sale .gs-yard,.is-setup .gs-yard{aspect-ratio:4/3}
}

/* sale controls */
.gs-till{display:flex;align-items:baseline;justify-content:space-between;gap:10px;background:var(--plum);color:#fff;border-radius:12px;padding:6px 12px}
.gs-till span{font-weight:800;font-size:16px;letter-spacing:.5px}.gs-till b{font-family:var(--display);font-size:32px;line-height:1.1;color:var(--yellow)}
.gs-round{font-size:17px}
.gs-haggle{display:flex;flex-direction:column;gap:10px}
.gs-action .gs-haggle{flex-direction:row;flex-wrap:nowrap;align-items:stretch;width:100%}
.gs-action .gs-hbtn{flex:1 1 0;min-width:0;font-size:clamp(16px,1.6vw,20px);justify-content:center;text-align:center}
.gs-action .gs-hbtn.main{order:3;flex-grow:1.4}.gs-action .gs-hbtn.no{order:2}.gs-action .gs-hbtn.yes{order:1}
@media (max-width:640px){.gs-action .gs-haggle{flex-direction:column}.gs-action .gs-hbtn.main{order:1}.gs-action .gs-hbtn.no{order:2}.gs-action .gs-hbtn.yes{order:3}.gs-action .gs-hbtn{min-height:52px}}
.gs-hbtn{display:flex;align-items:center;gap:10px;min-height:58px;padding:6px 14px;border:4px solid var(--navy);border-radius:16px;font-family:var(--display);font-weight:800;font-size:20px;line-height:1.15;color:var(--navy);text-align:left;cursor:pointer;box-shadow:0 5px 0 var(--navy2)}
.gs-hbtn:active{transform:translateY(4px);box-shadow:0 1px 0 var(--navy2)}
.gs-hbtn.yes{background:#cfe8d2}.gs-hbtn.counter{background:var(--butter)}.gs-hbtn.no{background:#fbd8e4}
.gs-hbtn.main{font-size:22px;min-height:64px;background:var(--yellow);box-shadow:0 6px 0 var(--navy2)}
.gs-hbtn.yes.low{background:#E4DED0;color:#454C6B;border-color:#6B7190;box-shadow:0 4px 0 #6B7190;font-size:17px;min-height:50px}
.gs-other{background:none;border:0;padding:6px 4px;font-weight:800;font-size:16px;color:var(--plum);text-decoration:underline;text-underline-offset:3px;cursor:pointer;align-self:flex-start;min-height:44px}
.gs-round{display:flex;align-items:center;gap:8px;font-weight:700}
.gs-dots{display:inline-flex;gap:4px}.gs-dots i{width:14px;height:14px;border-radius:50%;border:2px solid var(--navy);background:#fff}.gs-dots i.on{background:var(--plum)}
.gs-react{position:absolute;left:50%;top:-4%;translate:-50% 0;display:flex;align-items:center;gap:4px;background:#fff;border:3px solid var(--navy);border-radius:999px;padding:2px 10px;white-space:nowrap;animation:gsreact 1.6s ease-out forwards;z-index:6}
.gs-react b{font-size:clamp(20px,2.4vw,30px);line-height:1}.gs-react em{font-style:normal;font-family:var(--display);font-weight:800;font-size:clamp(14px,1.4vw,18px)}
@keyframes gsreact{0%{transform:translateY(10px) scale(.6);opacity:0}15%{transform:none;opacity:1}80%{opacity:1}100%{transform:translateY(-12px);opacity:0}}
.gs-tillbar{position:relative}
.gs-tillbar .gs-coin{right:12%;top:auto;bottom:40%}
.gs-flaw{display:inline-block;margin-left:6px;font-weight:800;font-size:14px;color:#8a2c24;background:#fde3df;border:2px solid #8a2c24;border-radius:999px;padding:1px 8px}
.gs-given{font-weight:800;font-size:18px;background:#fff3c4;border:3px solid #8a5a12;border-radius:12px;padding:6px 10px}
.gs-lowball{display:flex;gap:8px;align-items:flex-start;font-weight:800;font-size:17px;background:#fff3c4;border:3px solid #8a5a12;border-radius:12px;padding:8px 10px}
.gs-chips{display:flex;flex-direction:column;gap:8px}
.gs-chips.row{flex-direction:row;flex-wrap:wrap}
.gs-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 12px;border:3px solid var(--navy);border-radius:14px;background:#fff;color:var(--navy);text-align:left;cursor:pointer;box-shadow:0 4px 0 var(--navy2);min-height:52px}
.gs-chip b{font-family:var(--display);font-size:24px;line-height:1}.gs-chip span{font-size:16px;line-height:1.3}
.gs-chip.sm{padding:4px;min-width:52px;align-items:center}
@media (hover:hover){.gs-chip:hover{background:var(--butter)}}
.gs-reprice{border:3px dashed var(--plum);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:6px;font-size:17px}

/* step 6: the Treasure Book */
.gs-modal{position:fixed;inset:0;z-index:60;background:rgba(20,29,68,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.gs-modal[hidden]{display:none}
.gs-modalbox{width:min(760px,100%);max-height:calc(100vh - 32px);overflow:auto;gap:14px;background-color:var(--cream2);color:var(--navy);animation:gspop .35s ease-out}
.gs-book-pages{display:grid;grid-template-columns:1fr 1fr;border:4px solid var(--plum);border-radius:14px;overflow:hidden;background:linear-gradient(90deg,#fffaf0 0 49%,#e5d3bd 49.5% 50.5%,#fffaf0 51%)}
.gs-book-left,.gs-book-right{padding:16px;position:relative;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;text-align:center}
.gs-book-left .gs-toy-img{width:min(180px,80%);position:relative;z-index:1;animation:gsreveal .9s ease-out}
.gs-book-k{font-family:var(--mark);font-size:18px;color:var(--plum)}
.gs-book-year{font-weight:800;font-size:16px;color:var(--plum)}
.gs-book-val{font-size:19px}.gs-book-val b{display:block;font-family:var(--display);font-size:44px;line-height:1;color:#8a5a12}
.gs-burst{position:absolute;left:50%;top:55%;width:220px;height:220px;translate:-50% -50%;background:repeating-conic-gradient(#ffe25a 0 10deg,transparent 10deg 20deg);border-radius:50%;opacity:.55;animation:gsspin 8s linear infinite;-webkit-mask:radial-gradient(circle,#000 30%,transparent 70%);mask:radial-gradient(circle,#000 30%,transparent 70%)}
@keyframes gsspin{to{rotate:360deg}}
@keyframes gsreveal{0%{transform:scale(.4) rotate(-20deg);opacity:0}70%{transform:scale(1.1)}100%{transform:none;opacity:1}}
.gs-choices.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gs-choice{display:flex;flex-direction:column;gap:6px;padding:12px;border:4px solid var(--navy);border-radius:16px;background:#fff;color:var(--navy);font-size:16px;line-height:1.35;text-align:left;cursor:pointer;box-shadow:0 5px 0 var(--navy2)}
.gs-choice b{font-family:var(--display);font-size:20px;line-height:1.15;color:var(--plum)}
@media (hover:hover){.gs-choice:hover{background:var(--butter)}}
.gs-choice:active{transform:translateY(4px);box-shadow:0 1px 0 var(--navy2)}

/* the Keep box */
.gs-keepbox{padding:14px;background:var(--peach);display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:12px;align-items:start}
.gs-keepimg{width:100%;height:auto}
.gs-keeplist{display:flex;flex-direction:column;gap:8px}
.gs-keeprow{flex-direction:row !important;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px !important}
.gs-keeprow b{flex:1;font-size:18px}
.gs-keepbtns{display:flex;gap:6px}
.gs-keepbtns .tog{min-height:48px;font-size:17px;display:inline-flex;align-items:center;gap:6px}
.gs-keepbtns .tog.on{background-color:var(--navy);color:#fff}

/* step 7: count and split */
.gs-till.big,.gs-scene.gs-till{flex-direction:column;align-items:center;justify-content:center;min-height:300px;background:var(--plum);color:#fff;text-align:center}
.gs-tillk{font-family:var(--mark);font-size:24px}
.gs-tillbig{font-family:var(--display);font-weight:800;font-size:clamp(60px,9vw,110px);line-height:1;color:var(--yellow);font-variant-numeric:tabular-nums}
.gs-jars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:24px 10px 16px;min-height:380px;align-items:end;background:linear-gradient(#fff8ec 0 70%,#e9c79f 70%)}
.gs-jar{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.gs-jarbtn{position:relative;width:min(150px,100%);background:none;border:0;padding:0;cursor:pointer;border-radius:16px}
.gs-jarbtn img{width:100%;height:auto;display:block;position:relative;filter:drop-shadow(0 5px 4px rgba(40,30,20,.25))}
.gs-jarfill{position:absolute;left:17%;right:17%;bottom:11%;height:calc(var(--f) * 62%);z-index:1;border-radius:4px 4px 14px 14px;background:radial-gradient(circle at 30% 40%,#fff3b0 0 20%,transparent 21%) 0 0/18px 14px,radial-gradient(circle at 70% 70%,#ffe07a 0 22%,transparent 23%) 0 0/18px 14px,#e9b83a;opacity:.9;transition:height .35s ease}
.gs-jarbtn:focus-visible{outline:4px solid var(--plum);outline-offset:3px}
.gs-jar b{font-family:var(--display);font-size:22px;line-height:1}
.gs-jarsum{font-family:var(--display);font-weight:800;font-size:30px;line-height:1}
.gs-jar em{font-style:normal;font-size:15px;line-height:1.25;min-height:2.5em}
.gs-jar.save b{color:#b8336a}.gs-jar.spend b{color:#1d6f66}.gs-jar.reinvest b{color:#8a5a12}
.gs-jar .tog{min-height:44px;font-size:15px}
p.gs-toplace{display:flex;align-items:center;gap:8px;font-size:19px;background:#fff3c4;border:3px solid #8a5a12;border-radius:12px;padding:6px 10px}
p.gs-toplace.done{background:#cfe8d2;border-color:var(--good)}
.gs-bucks{display:flex;flex-wrap:wrap;gap:6px}
.gs-buck{min-width:62px;min-height:48px;border:3px solid #1f5a2a;border-radius:8px;background:repeating-linear-gradient(90deg,#c9ecc0 0 6px,#bfe6b4 6px 12px);color:#123d1c;font-family:var(--display);font-weight:800;font-size:20px;cursor:pointer;box-shadow:0 3px 0 #1f5a2a}
.gs-buck.five{background:repeating-linear-gradient(90deg,#9fd890 0 6px,#93d083 6px 12px)}
.gs-buck.picked{outline:4px solid var(--plum);outline-offset:2px;translate:0 -3px}
.gs-goalk{font-family:var(--mark);font-size:17px;color:var(--plum)}
.gs-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.gs-goal{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;border:3px solid var(--navy);border-radius:12px;background:#fff;font-weight:800;font-size:14px;line-height:1.2;color:var(--navy);cursor:pointer;min-height:48px}
.gs-goal img{width:48px;height:48px;object-fit:contain}
.gs-goal.on{background:var(--butter);box-shadow:0 0 0 3px var(--plum)}

/* the day summary */
.gs-summary{padding:16px;background:var(--peach);display:flex;flex-direction:column;gap:12px}
.gs-starrows{display:flex;flex-direction:column;gap:8px}
.gs-starrows li{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"ic name stars" "ic tip tip";gap:0 10px;align-items:center;background:#fff;border:3px solid var(--navy);border-radius:14px;padding:8px 12px}
.gs-starrows .gs-ic{grid-area:ic;width:40px;height:40px;color:var(--plum)}
.gs-starrows b{grid-area:name;font-family:var(--display);font-size:21px}
.gs-starrows em{grid-area:tip;font-style:normal;font-size:16px}
.gs-stars{grid-area:stars;font-size:28px;letter-spacing:2px}
.gs-stars i,.gs-certrows i{font-style:normal;color:#d8cfbf}.gs-stars i.on,.gs-certrows i.on{color:#e8a91c;text-shadow:0 1px 0 #8a5a12}
.gs-shelf{display:flex;align-items:center;gap:8px;background:#fff;border:3px dashed var(--plum);border-radius:12px;padding:6px 10px}
.gs-shelf img{width:56px;height:auto}
.gs-notes ul{display:flex;flex-direction:column;gap:6px;font-size:17px;line-height:1.35}
.gs-notes li{background:#fff8d6;border-left:5px solid var(--gold);padding:6px 8px;border-radius:6px}

/* start screen */
.gs-start{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);grid-template-areas:"copy sign" "copy art";gap:12px 24px;align-items:start}
.gs-start-copy{grid-area:copy;display:flex;flex-direction:column;gap:14px}
.gs-start-copy h2{font-family:var(--display);font-weight:800;font-size:clamp(36px,5vw,60px);line-height:1;color:var(--plum)}
.gs-start-sign{grid-area:sign;position:relative;width:min(210px,70%);justify-self:center}
.gs-start-sign img{width:100%;height:auto}
.gs-start-sign p{position:absolute;left:12%;right:12%;top:9%;height:44%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--mark);font-size:clamp(16px,2vw,24px);line-height:1;text-align:center;background:var(--pink);border:2px solid var(--navy);border-radius:6px}
.gs-start-sign p small{font-size:.65em;margin-bottom:2px}
.gs-start-art{grid-area:art;display:flex;align-items:flex-end;justify-content:center;gap:0}
.gs-start-art .leo{width:42%;height:auto;margin-right:-6%;position:relative;z-index:1}
.gs-start-art .nd{width:58%;height:auto}
.gs-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;counter-reset:hw}
.gs-how li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;background:#fff;border:3px solid var(--navy);border-radius:14px;padding:8px;font-weight:800;font-size:16px;line-height:1.25;counter-increment:hw;position:relative}
.gs-how li::before{content:counter(hw);position:absolute;left:-8px;top:-8px;width:28px;height:28px;border-radius:50%;background:var(--plum);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--display)}
.gs-how img{width:64px;height:64px;object-fit:contain}
.gs-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gs-daybtn{cursor:pointer;text-align:left;gap:4px !important;padding:12px !important;background-color:#fff;box-shadow:0 6px 0 var(--navy2);min-height:120px}
@media (hover:hover){.gs-daybtn:hover{background-color:var(--butter)}}
.gs-daybtn:active{transform:translateY(4px);box-shadow:0 2px 0 var(--navy2)}
.gs-daybtn b{font-family:var(--display);font-size:20px;line-height:1.15;color:var(--plum)}
.gs-daybtn span{font-size:16px;line-height:1.3}
.gs-daybtn.locked{background-color:#E4DED0;color:#454C6B;border-color:#6B7190;box-shadow:0 5px 0 #6B7190;cursor:not-allowed}
.gs-daybtn.locked b{color:#454C6B}.gs-daybtn.locked b::before{content:"🔒 "}
.gs-beststars{font-style:normal;font-weight:800;font-size:15px;color:#8a5a12;margin-top:auto}

/* the certificate */
.gs-certwrap{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:18px;align-items:start}
.gs-cert{background:#fffaf0;color:var(--navy);border:10px double var(--gold);border-radius:12px;padding:clamp(18px,3vw,36px);text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;box-shadow:0 8px 0 rgba(30,43,91,.15)}
.gs-certlogo{width:min(180px,50%);height:auto}
.gs-certk{font-family:var(--mark);font-size:18px;color:var(--plum)}
.gs-cert h2{font-family:var(--display);font-weight:800;font-size:clamp(36px,5vw,56px);line-height:1;color:var(--plum)}
.gs-certname{font-family:var(--voice);font-size:clamp(30px,4vw,44px);line-height:1.1;min-width:60%;border-bottom:3px solid var(--navy);padding:0 10px}
.gs-cert > p{font-size:18px}
.gs-certrows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:6px}
.gs-certrows li{border:2px solid var(--navy);border-radius:10px;padding:6px;display:flex;flex-direction:column;align-items:center;background:#fff}
.gs-certrows b{font-family:var(--display);font-size:18px}.gs-certrows span{font-size:22px;letter-spacing:2px}.gs-certrows em{font-style:normal;font-size:14px}
.gs-certsum{font-size:17px}
.gs-certsign{display:flex;align-items:flex-end;gap:6px;align-self:flex-end}
.gs-certsign img{width:70px;height:auto}.gs-certsign span{font-family:var(--mark);font-size:22px;border-bottom:2px solid var(--navy)}
.gs-certui{gap:12px !important;background-color:#fff}
.gs-name{display:flex;flex-direction:column;gap:6px;font-weight:800;font-size:17px}
.gs-name input{font:inherit;font-size:20px;padding:8px 12px;min-height:50px;border:3px solid var(--navy);border-radius:12px;background:var(--cream2);color:var(--navy)}
#gs-print{display:none}
@media print{
  html.gs-printing body > *{display:none !important}
  html.gs-printing #gs-print{display:block !important;padding:20px}
  html.gs-printing #gs-print .gs-cert{box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* tablet: the scene on top, Noodle and the controls side by side */
@media (max-width:1020px){
  .gs-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"stage stage" "card tray" "act act";grid-template-rows:auto 1fr auto}
  .gs-layout.no-card{grid-template-areas:"stage stage" "tray tray" "act act"}
  .gs-layout.is-sale,.gs-layout.is-sale.no-card{grid-template-areas:"stage stage" "act act" "tray tray" "card card"}
  .gs-start{grid-template-columns:minmax(0,1fr) minmax(0,.6fr)}
  .gs-certwrap{grid-template-columns:minmax(0,1fr)}
  .gs-speech p{font-size:17px}
}
/* phone: one column, the main button stays at the bottom of the screen */
@media (max-width:640px){
  .gs-screen{padding:10px;min-height:0}
  .gs-layout,.gs-layout.no-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "tray" "card" "act";gap:10px}
  .gs-layout.is-sale,.gs-layout.is-sale.no-card{grid-template-areas:"stage" "act" "tray" "card"}
  .gs-action .gs-coach{flex-basis:100%}.go-main{flex:1 1 100%}.go-main .chunk{flex:1}
  .gs-action{justify-content:stretch}
  .gs-action .chunk{flex:1;font-size:21px;padding:8px 14px}
  .gs-coach img{width:58px}.gs-bubble p{font-size:19px}
  .gs-steps li{padding:2px}.gs-steps li:not(.now){font-size:0;gap:0}.gs-steps li.now{padding-right:9px}
  .gs-room{aspect-ratio:4/3}.gs-yard{aspect-ratio:1/1}
  .gs-toy{width:17%}
  .gs-pile{width:44%}
  .gs-sortroom{grid-template-columns:1fr 1fr;grid-template-areas:"don sell" "pile pile";min-height:0;padding:10px}
  .gs-bin.donate{grid-area:don}.gs-bin.sell{grid-area:sell}.gs-sortpile{grid-area:pile}
  .gs-bin{flex-direction:row;flex-wrap:wrap;justify-content:center;font-size:20px;padding:8px}
  .gs-bin-icon{width:42px;height:42px}
  .gs-table-top{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))}
  .gs-speech{position:relative;right:auto;left:auto;top:auto;max-width:none;margin-top:8px}
  .gs-speech.leo{left:auto}
  .gs-sign{width:20%;bottom:56%}.gs-sign.big{width:24%}
  .gs-saletable{left:2%;right:25%;padding:0 4% 9%}
  .gs-tabletoy .gs-toy-img{max-height:72px}
  .gs-tent,.gs-cashbox{display:none}
  .gs-cheer{display:none}
  .gs-customer{height:64%}
  .gs-book-pages{grid-template-columns:1fr;background:#fffaf0}
  .gs-choices.three{grid-template-columns:1fr}
  .gs-keepbox{grid-template-columns:1fr}.gs-keepimg{width:120px;justify-self:center}
  .gs-start{grid-template-columns:1fr;grid-template-areas:"sign" "copy"}
  .gs-start-art{display:none}
  .gs-how,.gs-days{grid-template-columns:1fr}
  .gs-how li{flex-direction:row;text-align:left}
  .gs-daybtn{min-height:0}
  .gs-jars{gap:4px;padding:10px 4px}
  .gs-jar b{font-size:19px}.gs-jarsum{font-size:24px}
  .gs-certrows{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .gs-addpile,.gs-tag,.gs-fly,.gs-fly::before,.gs-fly::after,.gs-burst,.gs-customer,.gs-customer.arrive,.gs-react,.gs-customer.leaving,.gs-cheer .nd,.gs-coin,.gs-pop,.gs-wiggle,.gs-bounce,.gs-stick,.gs-flutter,.gs-book-left .gs-toy-img,.gs-modalbox,.gs-speech{animation:none !important}
  .gs-jarfill{transition:none}
  .toy:hover .gs-toy-img{transform:none}
}

.gs-cashbox img{width:100%;height:auto;display:block;filter:drop-shadow(0 3px 2px rgba(40,30,20,.3))}
/* phone-friendly tap sizes for the small buttons */
.gs-cabtogs .tog{min-height:48px;font-size:16px}
.gs-bubble .gs-read{height:44px;font-size:16px}
.gs-jar .tog{font-size:16px}
.gs-goal{font-size:16px}
/* room scenes that have their own rug: the rug is the pile spot */
.gs-room.r-bedroom .gs-pile::before,.gs-room.r-garage .gs-pile::before,.gs-room.r-closet .gs-pile::before{opacity:0}
.gs-room.r-bedroom .gs-pile{bottom:5%;height:28%;width:40%}

/* 48px tap targets */
.gs-read{min-width:48px;min-height:48px}
.gs-bubble .gs-read{height:48px}
.gs-addpile{min-height:48px}
.gs-other{min-height:48px}
.gs-piled{min-width:48px;min-height:48px}
.gs-tabletoy{min-height:48px}
