:root{--ink:#44352c;--green:#386955;--rose:#d88575;--paper:#fffdf6;--line:#eadfcd;--gold:#eac76e;color-scheme:light}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 12% 0,#fff0c7,transparent 50%),#f8f4e9;font-family:ui-rounded,'Trebuchet MS',Arial,sans-serif}html,body,button,a,dialog,dialog *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button,select{font:inherit;color:inherit}button,a,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:13px;background:var(--paper);min-height:46px;padding:11px 16px;font-weight:800;-webkit-appearance:none;appearance:none}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #765d9a;outline-offset:3px}body.pointer button:focus,body.pointer a:focus{outline:none}a{color:inherit}.shell{width:min(1120px,100%);margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:12px}header a{text-decoration:none;font-size:13px;font-weight:800}.brand{font-size:24px;font-weight:900}.brand span{color:#8660a7}.tools{display:flex;gap:7px}.tools button{width:45px;padding:8px;font-size:23px}.heading{margin:34px 0 24px;text-align:center}.eyebrow{font-size:10px;font-weight:900;letter-spacing:2px;color:#8b7964}h1{font-size:clamp(28px,5vw,47px);letter-spacing:-1.5px;margin:10px 0}h1 em{color:#a3654d;font-style:normal}.heading>p:last-child{font-size:14px;color:#887866;margin:10px 0}.shop{background:var(--paper);border:6px solid var(--paper);border-radius:27px;box-shadow:0 18px 45px #68523a18;overflow:hidden}.awning{background:repeating-linear-gradient(90deg,#66846c 0 50px,#eef1d8 50px 100px);padding:28px 20px 18px;text-align:center;position:relative;box-shadow:0 5px 0 #425e4530}.awning:after{content:'';position:absolute;bottom:-11px;left:0;right:0;height:22px;background:radial-gradient(circle at 25px 0,#66846c 24px,transparent 25px) 0 0/100px 22px repeat-x,radial-gradient(circle at 75px 0,#eef1d8 24px,transparent 25px) 0 0/100px 22px repeat-x}.awning>span{display:block;width:max-content;max-width:100%;margin:auto;background:var(--paper);border:2px solid #6c8565;border-radius:18px;padding:11px 24px;font-size:24px;letter-spacing:-.5px;font-weight:900;box-shadow:0 3px 0 #475b3d18}.awning small{display:inline-block;background:#fffbe4;padding:4px 12px;font-size:11px;font-weight:800;border-radius:0 0 10px 10px}.scoreboard{display:flex;justify-content:space-between;gap:12px;padding:24px 25px 13px;font-size:15px;font-weight:800}.scoreboard small{font-size:11px;color:#8f806a}progress{display:block;width:calc(100% - 48px);height:5px;margin:auto;border:0;appearance:none;-webkit-appearance:none;background:#eee7d5}progress::-webkit-progress-bar{background:#eee7d5}progress::-webkit-progress-value{background:#bb9b4e;border-radius:10px}progress::-moz-progress-bar{background:#bb9b4e}.decorations{text-align:center;min-height:32px;padding:12px 12px 0;color:#9d8564;font-size:11px;font-weight:700}.customer-row{display:flex;align-items:center;gap:20px;padding:18px 30px}.customer-face{width:100px;height:100px;flex-shrink:0;display:grid;place-items:center;background:#f6e7d0;border-radius:50% 50% 38% 42%;font-size:70px;border:5px solid #f9eedc;animation:arrive .4s ease-out}.speech{flex:1;border:1px solid #e3dcc7;border-radius:20px;background:white;padding:16px 22px;position:relative}.speech:before{content:'';position:absolute;left:-9px;top:32px;width:15px;height:15px;background:white;transform:rotate(45deg);border-left:1px solid #e3dcc7;border-bottom:1px solid #e3dcc7}.customer-name{font-size:11px;color:#9c8064;font-weight:900;text-transform:uppercase;letter-spacing:1px}h2{font-size:20px;letter-spacing:-.5px;margin:8px 0 12px}.shopping-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:9px}.shopping-list li{padding:7px 10px;background:#f8f3e6;border-radius:10px;font-size:14px;font-weight:800}.shopping-list li.ready{background:#e9f1df;color:#507343}.stages{display:flex;justify-content:center;gap:7px;margin:5px 15px 20px}.stages>span{font-size:11px;font-weight:900;border:1px solid #eee5d3;background:#f9f5ea;padding:7px 17px;border-radius:20px;color:#a1947e}.stages>.current{color:#315c48;background:#e9efdd;border-color:#b8c8a3}.stages>.done{color:#668251}.shop-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;padding:0 25px 20px}.shelf-area{border-radius:20px;background:#f2e6d0;padding:18px 16px 0;border:1px solid #e9d6b7;overflow:hidden}.section-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-label h2{font-size:16px;margin:0 0 16px}.section-label>span{font-size:10px;color:#a48b68;margin-bottom:16px}.shelves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}.product{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;background:#fff9ec;border:1px solid #e6d6b7;border-radius:15px;box-shadow:0 5px #c6a47555;padding:12px 5px 10px}.product .product-icon{font-size:48px;filter:drop-shadow(0 3px 1px #a77c4418);line-height:1.3}.product strong{font-size:12px;margin:4px 0}.product .price{font-size:12px;color:#63824d;padding:3px 9px;background:#eff2db;border-radius:15px}.product .stock{font-size:9px;color:#a58a68;margin-top:5px}.shelf-foot{text-align:center;font-size:8px;letter-spacing:1.6px;font-weight:900;color:#a1845b;border-top:6px solid #c9ac82;margin:20px -16px 0;padding:9px;background:#e6d4b3}.basket-area{border:2px dashed #dfcda6;border-radius:20px;padding:20px;display:flex;flex-direction:column;background:#fffcf3}.basket-area h2{font-size:18px;margin:0}.basket-area h2>span{float:right}.small{font-size:12px;line-height:1.6;color:#917e68}.bag{flex:1;min-height:120px;padding:10px 0}.bag-empty{display:grid;place-items:center;min-height:130px;font-size:12px;color:#ab997c;text-align:center;line-height:1.7}.bag-row{display:flex;gap:7px;align-items:center;padding:9px 0;border-bottom:1px dashed #e6dcc8;font-size:13px;font-weight:700}.bag-row>span:first-child{font-size:25px}.bag-row strong{margin-left:auto}.bag-row button{padding:4px;min-height:35px;min-width:35px;font-size:20px}.primary{display:block;width:100%;background:var(--green);border-color:var(--green);color:white;min-height:49px;margin-top:12px}.message{margin:0;padding:14px 25px;min-height:50px;text-align:center;background:#f7f2e4;color:#6c7359;font-size:13px;font-weight:800}.message.good{background:#eaf3df;color:#477143}.till{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:5px 30px 25px;align-items:center}.receipt{background:white;border-top:6px solid #d3bc93;padding:24px 20px;box-shadow:0 5px 14px #5e4a3010;border-radius:3px 3px 13px 13px}.receipt .eyebrow{font-size:8px}.receipt h2{font-size:22px}.receipt-line{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px dashed #e2dacb;font-size:13px}.receipt-total{display:flex;justify-content:space-between;margin-top:18px;font-weight:900;font-size:19px}.bill-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bill-choices button{font-size:19px;min-height:62px}.bill-choices .wrong{background:#fff1de;border-color:#d2ad76}.help,.text-button{background:transparent;border:0;margin-top:14px;font-size:12px;padding:8px}.text-button{text-decoration:underline}.hint{font-size:13px;line-height:1.6;padding:12px 16px;background:#fff1ca;border-radius:12px;color:#7e6339;white-space:pre-line}.cashier{max-width:760px;padding:0 25px 25px;margin:auto;text-align:center}.payment-card{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;background:#edf2e4;border-radius:18px;padding:12px 18px}.payment-card>span{font-size:36px}.payment-card h2{font-size:21px;margin:0}.payment-card p{font-size:12px;margin:0}.money-bank{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:18px 0}.play-money{min-width:62px;min-height:62px;display:flex;align-items:center;justify-content:center;font-size:15px;border:3px double #c39b45;border-radius:50%;background:linear-gradient(135deg,#f9e7a6,#eac165);box-shadow:0 3px #d6b260;padding:8px}.play-money.note{border-radius:9px;min-width:85px;background:linear-gradient(130deg,#e1edcf,#b1cca1);border-color:#92ac7e;box-shadow:0 3px #9ab587}.change-tray{background:#f0e8d8;border:2px solid #ded0b9;border-radius:18px;padding:15px;text-align:left}.change-tray>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;font-weight:900;letter-spacing:1px;color:#92806b}.change-tray strong{font-size:21px;letter-spacing:0;color:var(--ink)}.tray{display:flex;gap:7px;min-height:68px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:10px}.tray .play-money{min-height:43px;min-width:43px;font-size:12px;box-shadow:none}.tray-actions{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:8px}.tray-actions button{font-size:11px;min-height:36px;padding:8px 12px}.thanks{text-align:center;padding:8px 25px 28px;max-width:580px;margin:auto}.thanks-icon{font-size:65px;margin:12px 0}.thanks h2{font-size:29px}.thanks p{line-height:1.6}.reward{display:inline-block;background:#fff0bf;color:#96702b;border-radius:25px;padding:7px 20px;font-size:20px;font-weight:900}footer{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 3px;font-size:12px;color:#8c7c63}footer button{border:0;background:transparent;font-size:12px;padding:8px}.footnote{text-align:center;margin:0}.exit{display:block;text-align:center;font-size:12px;margin-top:20px}dialog{position:fixed;inset:auto;margin:0;left:calc(var(--dialog-left,0px) + var(--dialog-width,100vw)/2);top:calc(var(--dialog-top,0px) + var(--dialog-height,100dvh)/2);transform:translate(-50%,-50%);width:min(490px,calc(var(--dialog-width,100vw) - 28px));max-width:calc(var(--dialog-width,100vw) - 28px);max-height:calc(var(--dialog-height,100dvh) - 28px);overflow:auto;overscroll-behavior:contain;border:0;border-radius:26px;background:var(--paper);padding:28px;color:var(--ink);box-shadow:0 20px 70px #4b392a38}dialog::backdrop{background:#51463599;backdrop-filter:blur(5px)}dialog h2{font-size:29px}dialog h2:focus{outline:none}dialog p{font-size:14px;line-height:1.6}dialog label,legend{font-size:12px;font-weight:900}dialog select{font-size:16px;width:100%;display:block;padding:11px;border:1px solid #d7c9b4;border-radius:12px;margin:8px 0 19px;background:white}fieldset{border:0;padding:0;margin:0}legend{margin-bottom:9px}.shop-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.shop-choice{font-size:10px;padding:9px 6px;min-width:0;line-height:1.5}.shop-choice span{display:block;font-size:26px}.shop-choice[aria-pressed=true]{background:#e9edda;border:2px solid #8da17b}.instructions{padding-left:23px;font-size:14px;line-height:1.7}.instructions li{margin:12px 0}body[data-theme='1']{--green:#96708a;background:radial-gradient(ellipse at 15% 0,#fde4d6,transparent 60%),#f9f0f5}body[data-theme='1'] .awning{background:repeating-linear-gradient(90deg,#c792a6 0 50px,#fae7d3 50px 100px)}body[data-theme='2']{--green:#506682;background:radial-gradient(ellipse at 10% 0,#dfdced,transparent 65%),#ecf1f3}body[data-theme='2'] .awning{background:repeating-linear-gradient(90deg,#7e8fa9 0 50px,#e7e4f0 50px 100px)}.fly-item{position:fixed;z-index:50;font-size:36px;pointer-events:none;animation:fly .6s ease-in forwards}@keyframes fly{to{transform:translate(var(--dx),var(--dy)) scale(.25);opacity:0}}@keyframes arrive{from{transform:translateX(-30px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes happy{50%{transform:translateY(-5px) rotate(4deg)}}.cheer{animation:happy .4s 2}[hidden]{display:none!important}@media(max-width:650px){.shell{padding:12px 10px}.brand{font-size:19px}header a{font-size:11px}.tools button{width:39px;min-height:40px;font-size:21px}.heading{margin:25px 0 20px}h1{font-size:30px}.heading .eyebrow{font-size:9px;letter-spacing:1.6px}.heading>p:last-child{font-size:12px}.shop{border-width:4px;border-radius:21px}.awning{padding:18px 10px 12px}.awning>span{font-size:21px;padding:10px 20px}.scoreboard{padding:23px 13px 12px;font-size:12px}.scoreboard small{display:none}.customer-row{padding:14px 14px;gap:12px}.customer-face{width:66px;height:76px;font-size:49px;border-width:3px}.speech{padding:12px}.speech h2{font-size:17px;margin:5px 0 9px}.customer-name{font-size:9px}.shopping-list{gap:5px}.shopping-list li{font-size:11px;padding:6px 8px}.shop-grid{grid-template-columns:1fr;padding:0 13px 15px;gap:14px}.shelf-area{padding:13px 12px 0}.section-label h2{font-size:15px;margin-bottom:12px}.section-label>span{font-size:9px}.shelves{gap:13px 8px}.product{padding:7px 4px}.product .product-icon{font-size:38px}.product strong{font-size:11px}.product .price{font-size:11px}.shelf-foot{margin:17px -12px 0;padding:7px}.basket-area{padding:16px}.bag{min-height:58px;padding:3px 0}.bag-empty{min-height:60px}.basket-area .small{font-size:10px;margin:7px 0}.bag-row{padding:6px 0}.basket-area>.primary{margin-top:8px}.till{grid-template-columns:1fr;padding:0 15px 18px;gap:12px}.receipt{padding:15px 18px}.receipt h2{font-size:20px}.receipt-line{padding:7px 0}.receipt .small{margin-bottom:0}.checkout-area h2{font-size:19px}.bill-choices button{min-height:53px}.cashier{padding:0 14px 20px}.cashier>h2{font-size:20px}.cashier .small{font-size:11px}.money-bank{gap:8px}.play-money{min-height:55px;min-width:55px;font-size:13px}.play-money.note{min-width:73px}.payment-card{padding:11px}.payment-card h2{font-size:18px}.message{padding:12px 15px;font-size:12px}.thanks h2{font-size:25px}.thanks p{font-size:14px}footer{font-size:10px}footer button{font-size:11px}.footnote{font-size:10px}dialog{padding:23px}dialog h2{font-size:26px}dialog .hint{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.fly-item{display:none}}
.shop[data-upgrade='1'] .decorations{background:linear-gradient(90deg,transparent,#eff3d7,transparent)}
.shop[data-upgrade='2'] .decorations,.shop[data-upgrade='3'] .decorations,.shop[data-upgrade='4'] .decorations{background:linear-gradient(90deg,#fae6cf,#f3dfdf,#e7efdc);font-size:13px;letter-spacing:1px}
.shop[data-upgrade='3'] .awning>span,.shop[data-upgrade='4'] .awning>span{border-color:#c69b39;box-shadow:0 0 0 3px #f9e3a3}
